| @@ -1,16 +1,16 @@ | | | @@ -1,16 +1,16 @@ |
1 | # $NetBSD: Makefile,v 1.120 2017/05/14 16:03:23 leot Exp $ | | 1 | # $NetBSD: Makefile,v 1.121 2017/05/17 07:13:37 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= tor-0.3.0.6 | | 3 | DISTNAME= tor-0.3.0.7 |
4 | CATEGORIES= net security | | 4 | CATEGORIES= net security |
5 | MASTER_SITES= http://www.torproject.org/dist/ | | 5 | MASTER_SITES= http://www.torproject.org/dist/ |
6 | | | 6 | |
7 | MAINTAINER= reezer@reezer.org | | 7 | MAINTAINER= reezer@reezer.org |
8 | HOMEPAGE= http://www.torproject.org/ | | 8 | HOMEPAGE= http://www.torproject.org/ |
9 | COMMENT= Anonymizing overlay network for TCP | | 9 | COMMENT= Anonymizing overlay network for TCP |
10 | LICENSE= modified-bsd | | 10 | LICENSE= modified-bsd |
11 | | | 11 | |
12 | USE_LANGUAGES= c99 | | 12 | USE_LANGUAGES= c99 |
13 | USE_PKGLOCALEDIR= yes | | 13 | USE_PKGLOCALEDIR= yes |
14 | GNU_CONFIGURE= yes | | 14 | GNU_CONFIGURE= yes |
15 | | | 15 | |
16 | CONFIGURE_ENV+= CPP=${CPP:Q} | | 16 | CONFIGURE_ENV+= CPP=${CPP:Q} |
| @@ -31,28 +31,28 @@ PKG_USERS_VARS= TOR_USER | | | @@ -31,28 +31,28 @@ PKG_USERS_VARS= TOR_USER |
31 | RCD_SCRIPTS= tor | | 31 | RCD_SCRIPTS= tor |
32 | RCD_SCRIPT_SRC.tor= ${FILESDIR}/tor.in | | 32 | RCD_SCRIPT_SRC.tor= ${FILESDIR}/tor.in |
33 | PKG_GROUPS= ${TOR_GROUP} | | 33 | PKG_GROUPS= ${TOR_GROUP} |
34 | PKG_USERS= ${TOR_USER}:${TOR_GROUP} | | 34 | PKG_USERS= ${TOR_USER}:${TOR_GROUP} |
35 | USER_GROUP= ${TOR_USER} ${TOR_GROUP} | | 35 | USER_GROUP= ${TOR_USER} ${TOR_GROUP} |
36 | | | 36 | |
37 | OWN_DIRS_PERMS+= ${PKG_HOME.${TOR_USER}} ${USER_GROUP} 0700 | | 37 | OWN_DIRS_PERMS+= ${PKG_HOME.${TOR_USER}} ${USER_GROUP} 0700 |
38 | | | 38 | |
39 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | | 39 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} |
40 | | | 40 | |
41 | CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \ | | 41 | CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \ |
42 | ${PKG_SYSCONFDIR}/torrc | | 42 | ${PKG_SYSCONFDIR}/torrc |
43 | | | 43 | |
44 | PRINT_PLIST_AWK+= /^man\/man/ { $$0 = "$${PLIST.doc}" $$0 } | | 44 | PRINT_PLIST_AWK+= /^man\/man/ { $$0 = "$${PLIST.doc}" $$0 } |
45 | PRINT_PLIST_AWK+= /^share\/doc/ { $$0 = "$${PLIST.doc}" $$0 } | | 45 | PRINT_PLIST_AWK+= /^share\/doc/ { $$0 = "$${PLIST.doc}" $$0 } |
46 | | | 46 | |
47 | FILES_SUBST+= PKG_HOME=${PKG_HOME.${TOR_USER}} | | 47 | FILES_SUBST+= PKG_HOME=${PKG_HOME.${TOR_USER}} |
48 | FILES_SUBST+= TOR_USER=${TOR_USER} TOR_GROUP=${TOR_GROUP} | | 48 | FILES_SUBST+= TOR_USER=${TOR_USER} TOR_GROUP=${TOR_GROUP} |
49 | | | 49 | |
50 | INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples | | 50 | INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples |
51 | | | 51 | |
52 | CHECK_PORTABILITY_SKIP+=contrib/* | | 52 | CHECK_PORTABILITY_SKIP+=contrib/* |
53 | | | 53 | |
54 | .include "../../mk/bsd.prefs.mk" | | 54 | .include "../../mk/bsd.prefs.mk" |
55 | | | 55 | |
56 | .if !empty(PKGSRC_COMPILER:Mmipspro) | | 56 | .if !empty(PKGSRC_COMPILER:Mmipspro) |
57 | CFLAGS+= -c99 | | 57 | CFLAGS+= -c99 |
58 | .endif | | 58 | .endif |