summaryrefslogtreecommitdiff
path: root/security/tor-devel
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2006-06-22 14:15:00 +0000
committerJohan van Selst <johans@FreeBSD.org>2006-06-22 14:15:00 +0000
commit0b420ce732d9485e150712f5ff43b2a37ec4d7f0 (patch)
treed384cf65f06340aa67b5e52b938d50c8af23a8b7 /security/tor-devel
parent- Update to version 1.0.1 (diff)
- Update to 1.1.21
- Fix uid/gid at 256 (as security/tor uses) PR: 98784 Submitted by: Fabian Keil, Peter Thoenen (maintainer) Approved by: flz (mentor)
Notes
Notes: svn path=/head/; revision=166035
Diffstat (limited to 'security/tor-devel')
-rw-r--r--security/tor-devel/Makefile2
-rw-r--r--security/tor-devel/distinfo6
-rw-r--r--security/tor-devel/pkg-install6
3 files changed, 8 insertions, 6 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile
index 7e9a65595d08..5bcfc3913717 100644
--- a/security/tor-devel/Makefile
+++ b/security/tor-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tor
-PORTVERSION= 0.1.1.20
+PORTVERSION= 0.1.1.21
CATEGORIES= security net
MASTER_SITES= http://tor.eff.org/dist/ \
http://mirror.onionland.org/dist/
diff --git a/security/tor-devel/distinfo b/security/tor-devel/distinfo
index 998c80895a6b..eade7f003777 100644
--- a/security/tor-devel/distinfo
+++ b/security/tor-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (tor-0.1.1.20.tar.gz) = 51aac1749ff2549e8f3e1a172dc66992
-SHA256 (tor-0.1.1.20.tar.gz) = b251fd9079a40345beb5b67bcdf30c3292ee9220d2d062d583b89f3526015138
-SIZE (tor-0.1.1.20.tar.gz) = 828833
+MD5 (tor-0.1.1.21.tar.gz) = 7eea8dbb215d771d275fb42a06f38e76
+SHA256 (tor-0.1.1.21.tar.gz) = 3b8449c1488ef82857b42144cf919a3c6cf1aacd165065904d8e62bc9a8b4437
+SIZE (tor-0.1.1.21.tar.gz) = 833839
diff --git a/security/tor-devel/pkg-install b/security/tor-devel/pkg-install
index f144a64b7449..f6f1cae43445 100644
--- a/security/tor-devel/pkg-install
+++ b/security/tor-devel/pkg-install
@@ -10,12 +10,14 @@ TOR_GROUP=${TOR_GROUP:-_tor}
case $2 in
PRE-INSTALL)
USER=${TOR_USER}
+ UID="256"
GROUP=${TOR_GROUP}
+ GID="256"
if pw group show "${GROUP}" 2>/dev/null; then
echo "You already have a group \"${GROUP}\", so I will use it."
else
- if pw groupadd ${GROUP} ; then
+ if pw groupadd ${GROUP} -g ${GID}; then
echo "Added group \"${GROUP}\"."
else
echo "Adding group \"${GROUP}\" failed..."
@@ -26,7 +28,7 @@ PRE-INSTALL)
if pw user show "${USER}" 2>/dev/null; then
echo "You already have a user \"${USER}\", so I will use it."
else
- if pw useradd ${USER} -g ${GROUP} -h - \
+ if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
-d /var/db/tor -c "Tor Daemon" -s /bin/sh
then
echo "Added user \"${USER}\"."