summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaik Schreiber <blizzy@gentoo.org>2002-11-02 17:09:07 +0000
committerMaik Schreiber <blizzy@gentoo.org>2002-11-02 17:09:07 +0000
commite48045d9297b842d71279e782e14675af49e3738 (patch)
treea068d1bf610105b9293e291b8a52dd62d3dc45e4 /net-ftp/proftpd/proftpd-1.2.5-r1.ebuild
parentnew version (diff)
downloadhistorical-e48045d9297b842d71279e782e14675af49e3738.tar.gz
historical-e48045d9297b842d71279e782e14675af49e3738.tar.bz2
historical-e48045d9297b842d71279e782e14675af49e3738.zip
changed to "proftpd" instead of nobody/nogroup
Diffstat (limited to 'net-ftp/proftpd/proftpd-1.2.5-r1.ebuild')
-rw-r--r--net-ftp/proftpd/proftpd-1.2.5-r1.ebuild8
1 files changed, 7 insertions, 1 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
+}