summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp')
-rw-r--r--net-ftp/proftpd/proftpd-1.2.5-r1.ebuild8
-rw-r--r--net-ftp/proftpd/proftpd-1.2.6_rc1-r1.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild b/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild
index f0a2652fd1b3..c9feb870facb 100644
--- a/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild
+++ b/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild,v 1.9 2002/10/05 05:39:18 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild,v 1.10 2002/11/02 17:09:07 blizzy Exp $
IUSE="ldap pam postgres mysql"
@@ -92,3 +92,9 @@ src_install() {
exeinto /etc/init.d ; newexe ${FILESDIR}/proftpd.rc6 proftpd
}
+
+pkg_postinst() {
+ groupadd proftpd &>/dev/null
+ id proftpd &>/dev/null || \
+ useradd -g proftpd -d /home/ftp -s /bin/false proftpd
+}
diff --git a/net-ftp/proftpd/proftpd-1.2.6_rc1-r1.ebuild b/net-ftp/proftpd/proftpd-1.2.6_rc1-r1.ebuild
index 66a5d45eed2e..90b7660e5560 100644
--- a/net-ftp/proftpd/proftpd-1.2.6_rc1-r1.ebuild
+++ b/net-ftp/proftpd/proftpd-1.2.6_rc1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.6_rc1-r1.ebuild,v 1.6 2002/11/02 16:35:16 blizzy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.6_rc1-r1.ebuild,v 1.7 2002/11/02 17:09:07 blizzy Exp $
IUSE="ldap pam postgres mysql"
@@ -98,3 +98,9 @@ src_install() {
exeinto /etc/init.d ; newexe ${FILESDIR}/proftpd.rc6 proftpd
}
+
+pkg_postinst() {
+ groupadd proftpd &>/dev/null
+ id proftpd &>/dev/null || \
+ useradd -g proftpd -d /home/ftp -s /bin/false proftpd
+}