diff options
author | bf <bf@FreeBSD.org> | 2011-05-08 12:34:15 +0800 |
---|---|---|
committer | bf <bf@FreeBSD.org> | 2011-05-08 12:34:15 +0800 |
commit | 73e2251391ef9b3874ded3e3568d09a7b6b8ab39 (patch) | |
tree | 1824a37181cf2532c50e1e8a201a2a11cf0568a8 /security/tor/Makefile | |
parent | 0c9ba9bc9130cca5b12ea15628456b5874b888df (diff) | |
download | freebsd-ports-gnome-73e2251391ef9b3874ded3e3568d09a7b6b8ab39.tar.gz freebsd-ports-gnome-73e2251391ef9b3874ded3e3568d09a7b6b8ab39.tar.zst freebsd-ports-gnome-73e2251391ef9b3874ded3e3568d09a7b6b8ab39.zip |
- update tor-devel to 0.2.3.1-alpha
- remove [de]install scripts from both
tor ports in favor of GROUPS/USERS
- fix mistakes in the _tor uid entry
introduced in the GROUPS/USERS changes
Diffstat (limited to 'security/tor/Makefile')
-rw-r--r-- | security/tor/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/security/tor/Makefile b/security/tor/Makefile index 86ac848bdb04..d8608c1402f0 100644 --- a/security/tor/Makefile +++ b/security/tor/Makefile @@ -46,6 +46,9 @@ OPTIONS= BUFFREELISTS "freelists for buffer RAM" on \ USE_RC_SUBR= tor SUB_FILES= pkg-message +GROUPS = _tor +USERS= _tor + CONFLICTS= tor-devel-[0-9]* MANCOMPRESSED= no @@ -111,17 +114,14 @@ post-configure: @${FIND} -X ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -e \ "s|-lpthread|${PTHREAD_LIBS}|g" -pre-su-install: - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ - ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - post-install: ${MKDIR} /var/run/tor - ${CHOWN} _tor:_tor /var/run/tor + ${CHOWN} -R _tor:_tor /var/run/tor ${TOUCH} /var/log/tor ${CHOWN} _tor:_tor /var/log/tor ${MKDIR} /var/db/tor/data - ${CHOWN} _tor:_tor /var/db/tor + ${CHOWN} -R _tor:_tor /var/db/tor + ${CHMOD} -R 700 /var/db/tor ${CAT} ${PKGMESSAGE} check regression-test test: build |