diff options
author | Maik Schreiber <blizzy@gentoo.org> | 2002-11-02 17:09:07 +0000 |
---|---|---|
committer | Maik Schreiber <blizzy@gentoo.org> | 2002-11-02 17:09:07 +0000 |
commit | 7a685e4653e6478f80da0025216d104db074cf39 (patch) | |
tree | d8f01e2f88d5aef50fd7c330ea18f7da10b99fda /net-ftp/proftpd | |
parent | new version (diff) | |
download | gentoo-2-7a685e4653e6478f80da0025216d104db074cf39.tar.gz gentoo-2-7a685e4653e6478f80da0025216d104db074cf39.tar.bz2 gentoo-2-7a685e4653e6478f80da0025216d104db074cf39.zip |
changed to "proftpd" instead of nobody/nogroup
Diffstat (limited to 'net-ftp/proftpd')
-rw-r--r-- | net-ftp/proftpd/proftpd-1.2.5-r1.ebuild | 8 | ||||
-rw-r--r-- | net-ftp/proftpd/proftpd-1.2.6_rc1-r1.ebuild | 8 |
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 +} |