40cd81b771
* Fix peer communication vulnerability (no known exploits) reported by Ben Hawkes
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
# $NetBSD: Makefile.common,v 1.5 2014/07/11 10:10:10 wiz Exp $
|
|
#
|
|
# used by net/transmission/Makefile
|
|
# used by net/transmission-gtk/Makefile
|
|
# used by net/transmission-qt/Makefile
|
|
|
|
DISTNAME= transmission-2.84
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://download.m0k.org/transmission/files/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
HOMEPAGE= http://www.transmissionbt.com/
|
|
COMMENT= Free, lightweight BitTorrent client
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config intltool msgfmt
|
|
EXTRACT_USING= bsdtar
|
|
|
|
# optionally, gnu-gpl-v3 instead of gnu-gpl-v2
|
|
LICENSE= gnu-gpl-v2 AND mit
|
|
|
|
PATCHDIR= ${.CURDIR}/../../net/transmission/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../net/transmission/distinfo
|
|
|
|
GNU_CONFIGURE= yes
|
|
LDFLAGS+= ${BUILDLINK_LDADD.getopt} ${BUILDLINK_LDADD.gettext}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly)
|
|
CPPFLAGS+= -DBSD
|
|
.endif
|
|
.if !empty(OPSYS:MDarwin)
|
|
LDFLAGS+= -framework CoreFoundation
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10
|
|
.include "../../devel/libevent/buildlink3.mk"
|
|
ALL_ENV+= "OPENSSL_CFLAGS=-I${SSLBASE}/include"
|
|
ALL_ENV+= "OPENSSL_LIBS=-L${SSLBASE}/lib -lcrypto -lssl"
|
|
.include "../../devel/libgetopt/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|