Annotation of pkgsrc/net/tor/Makefile, Revision 1.115.2.1
1.115.2.1! bsiegert 1: # $NetBSD$
1.1 jschauma 2:
1.115.2.1! bsiegert 3: DISTNAME= tor-0.2.9.9
1.1 jschauma 4: CATEGORIES= net security
1.49 jschauma 5: MASTER_SITES= http://www.torproject.org/dist/
1.1 jschauma 6:
1.114 leot 7: MAINTAINER= reezer@reezer.org
1.49 jschauma 8: HOMEPAGE= http://www.torproject.org/
1.1 jschauma 9: COMMENT= Anonymizing overlay network for TCP
1.64 obache 10: LICENSE= modified-bsd
1.1 jschauma 11:
1.6 jschauma 12: .include "../../mk/bsd.prefs.mk"
13:
1.79 drochner 14: USE_LANGUAGES= c99
1.1 jschauma 15: USE_PKGLOCALEDIR= yes
1.107 wiz 16: # https://trac.torproject.org/projects/tor/ticket/17818
17: USE_TOOLS+= gmake
1.1 jschauma 18: GNU_CONFIGURE= yes
1.6 jschauma 19:
1.46 obache 20: CONFIGURE_ENV+= CPP=${CPP:Q}
1.79 drochner 21: CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
1.46 obache 22:
23: TEST_TARGET= check
24:
1.6 jschauma 25: TOR_USER?= tor
26: TOR_GROUP?= tor
1.103 bsiegert 27: PKG_GECOS.${TOR_USER}= Torifier
28: PKG_HOME.${TOR_USER}= ${VARBASE}/chroot/tor
1.46 obache 29: BUILD_DEFS+= VARBASE
1.47 obache 30: PKG_SYSCONFSUBDIR= tor
1.6 jschauma 31:
1.42 jlam 32: PKG_GROUPS_VARS+= TOR_GROUP
1.79 drochner 33: PKG_USERS_VARS= TOR_USER
1.42 jlam 34:
1.30 rillig 35: RCD_SCRIPTS= tor
1.45 obache 36: RCD_SCRIPT_SRC.tor= ${FILESDIR}/tor.in
1.6 jschauma 37: PKG_GROUPS= ${TOR_GROUP}
1.95 jperkin 38: PKG_USERS= ${TOR_USER}:${TOR_GROUP}
1.6 jschauma 39: USER_GROUP= ${TOR_USER} ${TOR_GROUP}
40:
1.95 jperkin 41: OWN_DIRS_PERMS+= ${PKG_HOME.${TOR_USER}} ${USER_GROUP} 0700
1.1 jschauma 42:
1.79 drochner 43: CONFIGURE_ARGS+= --localstatedir=${VARBASE}
1.1 jschauma 44:
45: CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \
1.47 obache 46: ${PKG_SYSCONFDIR}/torrc
1.1 jschauma 47:
1.95 jperkin 48: FILES_SUBST+= PKG_HOME=${PKG_HOME.${TOR_USER}}
1.79 drochner 49: FILES_SUBST+= TOR_USER=${TOR_USER} TOR_GROUP=${TOR_GROUP}
1.5 jschauma 50:
1.66 obache 51: INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples
52:
1.35 tv 53: CHECK_PORTABILITY_SKIP+=contrib/*
54:
1.54 wiz 55: .if !empty(PKGSRC_COMPILER:Mmipspro)
56: CFLAGS+= -c99
57: .endif
58:
1.106 wiz 59: BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0
1.15 drochner 60: .include "../../devel/libevent/buildlink3.mk"
1.9 jschauma 61: .include "../../devel/zlib/buildlink3.mk"
1.106 wiz 62: BUILDLINK_API_DEPENDS.openssl+= openssl>=1.0
1.54 wiz 63: .include "../../security/openssl/buildlink3.mk"
1.48 bjs 64: .include "../../mk/pthread.buildlink3.mk"
65:
66: ## We include this after other b3.mk files since we use PTHREAD_TYPE.
67: ##
68: .include "options.mk"
69:
1.1 jschauma 70: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>