diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2006-06-06 13:51:27 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2006-06-06 13:51:27 +0000 |
commit | b7942faa73616e025885a1a53aeedbc8bbbe22c0 (patch) | |
tree | 6e2cc36ee2bed13a365d40568a73029ead739a3c /net-im/jabber-base | |
parent | maintainer takeover, version bump (diff) | |
download | gentoo-2-b7942faa73616e025885a1a53aeedbc8bbbe22c0.tar.gz gentoo-2-b7942faa73616e025885a1a53aeedbc8bbbe22c0.tar.bz2 gentoo-2-b7942faa73616e025885a1a53aeedbc8bbbe22c0.zip |
We can not use fowners & fperms convenience wrappers in pkg_postinst. These will not work; failure is silent. Bug #135764.
(Portage version: 2.1_rc4-r2)
Diffstat (limited to 'net-im/jabber-base')
-rw-r--r-- | net-im/jabber-base/ChangeLog | 9 | ||||
-rw-r--r-- | net-im/jabber-base/files/digest-jabber-base-0.00 | 1 | ||||
-rw-r--r-- | net-im/jabber-base/files/digest-jabber-base-0.01 | 1 | ||||
-rw-r--r-- | net-im/jabber-base/jabber-base-0.01.ebuild | 51 | ||||
-rw-r--r-- | net-im/jabber-base/metadata.xml | 2 |
5 files changed, 62 insertions, 2 deletions
diff --git a/net-im/jabber-base/ChangeLog b/net-im/jabber-base/ChangeLog index 1bea851ea15f..37a43df3fa60 100644 --- a/net-im/jabber-base/ChangeLog +++ b/net-im/jabber-base/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-im/jabber-base # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-base/ChangeLog,v 1.8 2006/04/08 21:06:46 ferdy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-base/ChangeLog,v 1.9 2006/06/06 13:51:27 chainsaw Exp $ + +*jabber-base-0.01 (06 Jun 2006) + + 06 Jun 2006; Tony Vroon <chainsaw@gentoo.org> metadata.xml, + +jabber-base-0.01.ebuild: + We can not use fowners & fperms convenience wrappers in pkg_postinst. These + will not work; failure is silent. 08 Apr 2006; Fernando J. Pereda <ferdy@gentoo.org> jabber-base-0.00.ebuild: diff --git a/net-im/jabber-base/files/digest-jabber-base-0.00 b/net-im/jabber-base/files/digest-jabber-base-0.00 index e69de29bb2d1..8b137891791f 100644 --- a/net-im/jabber-base/files/digest-jabber-base-0.00 +++ b/net-im/jabber-base/files/digest-jabber-base-0.00 @@ -0,0 +1 @@ + diff --git a/net-im/jabber-base/files/digest-jabber-base-0.01 b/net-im/jabber-base/files/digest-jabber-base-0.01 new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/net-im/jabber-base/files/digest-jabber-base-0.01 @@ -0,0 +1 @@ + diff --git a/net-im/jabber-base/jabber-base-0.01.ebuild b/net-im/jabber-base/jabber-base-0.01.ebuild new file mode 100644 index 000000000000..161b65348f6f --- /dev/null +++ b/net-im/jabber-base/jabber-base-0.01.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/jabber-base/jabber-base-0.01.ebuild,v 1.1 2006/06/06 13:51:27 chainsaw Exp $ + +inherit eutils + +DESCRIPTION="Jabber servers and transports layout package" +SRC_URI="" +HOMEPAGE="http://www.gentoo.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="" + +S="${WORKDIR}" + +#Info for people working in jabber related packages + +#/etc/jabber/ for configuration files +#/var/run/jabber/ for the pid files +#/var/spool/jabber/ for the flat files databases (actually there must be a ewarn +#at end of ebuild telling user to creat /var/spool/jabber/JID, as some transports fail to start if +#the directory is not there, even if they have permissions to creat it) +#/var/log/jabber/ for the log files + +#for the python based transports with no install script: +#they must inherit python, run python_version() and be installed in: +#/usr/lib/python${PYVER}/site-packages/$package-name + +#the user should be the one created here username=group=jabber + + +src_install() { + keepdir /etc/jabber + keepdir /var/run/jabber + keepdir /var/spool/jabber + keepdir /var/log/jabber +} + +pkg_postinst() { + # Users should not be created in src_install see bug #124680 + # Add our default jabber group and user + enewgroup jabber + enewuser jabber -1 -1 -1 jabber + # We can't use fowners & fperms convenience wrappers as we are outside the sandbox + chown jabber:jabber /etc/jabber /var/log/jabber /var/spool/jabber /var/run/jabber + chmod 770 /etc/jabber /var/log/jabber /var/spool/jabber /var/run/jabber +} diff --git a/net-im/jabber-base/metadata.xml b/net-im/jabber-base/metadata.xml index 4d017f3b9817..3c4008ea7825 100644 --- a/net-im/jabber-base/metadata.xml +++ b/net-im/jabber-base/metadata.xml @@ -3,7 +3,7 @@ <pkgmetadata> <herd>net-im</herd> <maintainer> - <email>humpback@gentoo.org</email> + <email>chainsaw@gentoo.org</email> </maintainer> <longdescription>Package that creats the users and directory's for jabber related packages. See ebuild for more info </longdescription> |