aboutsummaryrefslogtreecommitdiff
path: root/security/stunnel
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2007-08-28 10:01:00 +0000
committerPeter Pentchev <roam@FreeBSD.org>2007-08-28 10:01:00 +0000
commit4afa9507f49f307bb740222bd83f75e252e8a80c (patch)
treede88b3e30e8090e934a5ae6ea4e79020c40642cd /security/stunnel
parent040d1b21b96c11cd68e32b6329d848d5e5968d44 (diff)
downloadports-4afa9507f49f307bb740222bd83f75e252e8a80c.tar.gz
ports-4afa9507f49f307bb740222bd83f75e252e8a80c.zip
Notes
Diffstat (limited to 'security/stunnel')
-rw-r--r--security/stunnel/Makefile1
-rw-r--r--security/stunnel/pkg-install4
2 files changed, 3 insertions, 2 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile
index f3b053e90b08..c4ddbda14fa6 100644
--- a/security/stunnel/Makefile
+++ b/security/stunnel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= stunnel
PORTVERSION= 4.20
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.stunnel.org/download/stunnel/src/ \
ftp://stunnel.mirt.net/stunnel/ \
diff --git a/security/stunnel/pkg-install b/security/stunnel/pkg-install
index 2753471a8467..1fd776379bbf 100644
--- a/security/stunnel/pkg-install
+++ b/security/stunnel/pkg-install
@@ -16,7 +16,7 @@ POST-INSTALL)
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 -g 341 -n ${GROUP} ; then
echo "Added group \"${GROUP}\"."
else
echo "Adding group \"${GROUP}\" failed..."
@@ -27,7 +27,7 @@ POST-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 -u 341 -n ${USER} -g ${GROUP} -h - \
-d /nonexistent -c "stunnel Daemon" -s /sbin/nologin
then
echo "Added user \"${USER}\"."