summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-04-13 17:45:53 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-04-13 17:45:53 +0000
commit90bf4faaa2a01e3d45cb987518d9e4a16088c5e7 (patch)
tree246ed312128b9454a53a6e250d6ec154b27fab23 /net-dns/ldapdns
parentoggvorbis -> vorbis (diff)
downloadgentoo-2-90bf4faaa2a01e3d45cb987518d9e4a16088c5e7.tar.gz
gentoo-2-90bf4faaa2a01e3d45cb987518d9e4a16088c5e7.tar.bz2
gentoo-2-90bf4faaa2a01e3d45cb987518d9e4a16088c5e7.zip
Use enewuser/enewgroup instead of useradd. Thanks to Diego in bug 84730.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-dns/ldapdns')
-rw-r--r--net-dns/ldapdns/ChangeLog5
-rw-r--r--net-dns/ldapdns/Manifest20
-rw-r--r--net-dns/ldapdns/ldapdns-2.05.ebuild12
3 files changed, 13 insertions, 24 deletions
diff --git a/net-dns/ldapdns/ChangeLog b/net-dns/ldapdns/ChangeLog
index 72bef1cf739d..9a03567977b0 100644
--- a/net-dns/ldapdns/ChangeLog
+++ b/net-dns/ldapdns/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/ldapdns
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ldapdns/ChangeLog,v 1.11 2005/03/03 18:21:08 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ldapdns/ChangeLog,v 1.12 2005/04/13 17:45:53 ka0ttic Exp $
+
+ 13 Apr 2005; Aaron Walker <ka0ttic@gentoo.org> ldapdns-2.05.ebuild:
+ Use enewuser/enewgroup instead of useradd. Thanks to Diego in bug 84730.
03 Mar 2005; Ciaran McCreesh <ciaranm@gentoo.org> ldapdns-2.05.ebuild:
Dependency update: sys-apps/daemontools -> sys-process/daemontools.
diff --git a/net-dns/ldapdns/Manifest b/net-dns/ldapdns/Manifest
index 0d838df8300e..0c33f6a65103 100644
--- a/net-dns/ldapdns/Manifest
+++ b/net-dns/ldapdns/Manifest
@@ -1,18 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 c76ab2e2a4f1d3328cb49f40bcafe478 ldapdns-2.05.ebuild 1109
-MD5 48a449e5ae871657bfa5843b1334a635 ChangeLog 1320
-MD5 80f8122e9b9d4289312277eebf2ef2f7 ldapdns-2.04.ebuild 1108
MD5 fd0730f2812fb85dfa0f0e324431862f ldapdns-2.03.ebuild 1109
+MD5 ab39af3df72c792d93a299afe2b4417b ldapdns-2.05.ebuild 1027
+MD5 80f8122e9b9d4289312277eebf2ef2f7 ldapdns-2.04.ebuild 1108
+MD5 e26e67b01374076ddfec9c1ddd3f7031 ChangeLog 1466
MD5 2c3158204cfb4b9c36b8bc78e8421b16 metadata.xml 223
-MD5 ec37ba5cecd0875e155be6aaf955726e files/digest-ldapdns-2.05 64
-MD5 c6ce7d541758b912a1c8fe354c3e40be files/digest-ldapdns-2.04 64
MD5 87c558c39b51b905f9272fd860140816 files/digest-ldapdns-2.03 63
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFCJ1W/LLFUmVNQ7rkRAmkqAKCu1VMCYr0QHimn+qxmXSQJz1JEAgCdGg7s
-xjch29IavE0c5KvL1GYt5nM=
-=67fq
------END PGP SIGNATURE-----
+MD5 c6ce7d541758b912a1c8fe354c3e40be files/digest-ldapdns-2.04 64
+MD5 ec37ba5cecd0875e155be6aaf955726e files/digest-ldapdns-2.05 64
diff --git a/net-dns/ldapdns/ldapdns-2.05.ebuild b/net-dns/ldapdns/ldapdns-2.05.ebuild
index baa1ee00edcb..054d4ca9106c 100644
--- a/net-dns/ldapdns/ldapdns-2.05.ebuild
+++ b/net-dns/ldapdns/ldapdns-2.05.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/ldapdns/ldapdns-2.05.ebuild,v 1.5 2005/03/03 18:21:08 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ldapdns/ldapdns-2.05.ebuild,v 1.6 2005/04/13 17:45:53 ka0ttic Exp $
DESCRIPTION="A tiny, fast authoritative nameserver that queries LDAP and can be updated instantly"
SRC_URI="http://www.nimh.org/dl/${P}.tar.gz"
@@ -33,13 +33,9 @@ src_install() {
}
pkg_postinst() {
-
- groupadd &>/dev/null nofiles
-
- id &>/dev/null ldapdns || \
- useradd -g nofiles -d /nonexistent -s /bin/false ldapdns
- id &>/dev/null dnslog || \
- useradd -g nofiles -d /nonexistent -s /bin/false dnslog
+ enewgroup nofiles
+ enewuser ldapdns -1 /bin/false /nonexistent nofiles
+ enewuser dnslog -1 /bin/false /nonexistent nofiles
einfo "Read the readme.configure and use ldapdns-conf to setup"
}