summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-08-23 13:07:45 +0000
committerSven Wegener <swegener@gentoo.org>2005-08-23 13:07:45 +0000
commit1039ef7af3373be2bd40e8975abaee0cba601cac (patch)
tree9186f780b9e61da0bd2d70a3ed0ea59621febc6f
parentUse -1 instead of /bin/false on enewuser call. Removed || die where not needed. (diff)
downloadgentoo-2-1039ef7af3373be2bd40e8975abaee0cba601cac.tar.gz
gentoo-2-1039ef7af3373be2bd40e8975abaee0cba601cac.tar.bz2
gentoo-2-1039ef7af3373be2bd40e8975abaee0cba601cac.zip
Change shell from /bin/false to -1 for bug #103421.
(Portage version: 2.0.51.22-r2)
-rw-r--r--net-irc/srvx/ChangeLog5
-rw-r--r--net-irc/srvx/srvx-1.3.0.2005_p9.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/net-irc/srvx/ChangeLog b/net-irc/srvx/ChangeLog
index b6e0dcb1152d..958055bc78f4 100644
--- a/net-irc/srvx/ChangeLog
+++ b/net-irc/srvx/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-irc/srvx
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/srvx/ChangeLog,v 1.7 2005/02/17 02:36:09 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/srvx/ChangeLog,v 1.8 2005/08/23 13:07:45 swegener Exp $
+
+ 23 Aug 2005; Sven Wegener <swegener@gentoo.org> srvx-1.3.0.2005_p9.ebuild:
+ Change shell from /bin/false to -1 for bug #103421.
17 Feb 2005; Sven Wegener <swegener@gentoo.org>
-srvx-1.3.0.2005_p6.ebuild, -srvx-1.3_p84.ebuild:
diff --git a/net-irc/srvx/srvx-1.3.0.2005_p9.ebuild b/net-irc/srvx/srvx-1.3.0.2005_p9.ebuild
index 07e8e08c9a75..1b217a8a97e7 100644
--- a/net-irc/srvx/srvx-1.3.0.2005_p9.ebuild
+++ b/net-irc/srvx/srvx-1.3.0.2005_p9.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-irc/srvx/srvx-1.3.0.2005_p9.ebuild,v 1.1 2005/01/30 13:31:46 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/srvx/srvx-1.3.0.2005_p9.ebuild,v 1.2 2005/08/23 13:07:45 swegener Exp $
inherit eutils
@@ -21,7 +21,7 @@ DEPEND=">=sys-devel/automake-1.8
>=sys-devel/autoconf-2.59"
RDEPEND=""
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}"/${MY_P}
src_compile() {
local PROTOCOL="p10" MALLOC="system" DEBUG=""
@@ -65,16 +65,16 @@ src_install() {
docs/{access-levels,cookies,helpserv,ircd-modes}.txt \
|| die "dodoc failed"
- newinitd ${FILESDIR}/srvx.init.d srvx || die "newinitd failed"
- newconfd ${FILESDIR}/srvx.conf.d srvx || die "newconfd failed"
+ newinitd "${FILESDIR}"/srvx.init.d srvx || die "newinitd failed"
+ newconfd "${FILESDIR}"/srvx.conf.d srvx || die "newconfd failed"
}
pkg_setup() {
enewgroup srvx
- enewuser srvx -1 /bin/false /var/lib/srvx srvx
+ enewuser srvx -1 -1 /var/lib/srvx srvx
}
pkg_postinst() {
- chown -R srvx:srvx ${ROOT}/etc/srvx ${ROOT}/var/lib/srvx
- chmod 0700 ${ROOT}/etc/srvx ${ROOT}/var/lib/srvx
+ chown -R srvx:srvx "${ROOT}"/etc/srvx "${ROOT}"/var/lib/srvx
+ chmod 0700 "${ROOT}"/etc/srvx "${ROOT}"/var/lib/srvx
}