We can not use fowners & fperms convenience wrappers in pkg_postinst. These will...
authorTony Vroon <chainsaw@gentoo.org>
Tue, 6 Jun 2006 13:51:27 +0000 (13:51 +0000)
committerTony Vroon <chainsaw@gentoo.org>
Tue, 6 Jun 2006 13:51:27 +0000 (13:51 +0000)
Package-Manager: portage-2.1_rc4-r2

net-im/jabber-base/ChangeLog
net-im/jabber-base/Manifest
net-im/jabber-base/files/digest-jabber-base-0.00
net-im/jabber-base/files/digest-jabber-base-0.01 [new file with mode: 0644]
net-im/jabber-base/jabber-base-0.01.ebuild [new file with mode: 0644]
net-im/jabber-base/metadata.xml

index 1bea851ea15f85b9541cf3867bb698f069e62ef8..37a43df3fa6082c520544dce6065bfd358f7eaa5 100644 (file)
@@ -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:
index 284f472a36f784f2351fbe125dcf284b6020250b..75425b33d348c26489a092d500b46a79fc2c5362 100644 (file)
@@ -1,14 +1,32 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 1f2c44c95646a3ec51e4a7f34405c9c1 ChangeLog 1218
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-jabber-base-0.00 0
+EBUILD jabber-base-0.00.ebuild 1559 RMD160 582f9d1146da49a9c14340887fb481a0a4a5b204 SHA1 9694535e93ac72e5b7f3f4b4b9859c90acc0c45a SHA256 9eb999bfbd758ff1dcb675f7448ac560a6bcd6cafdd9ab647ef7235ba203c8cd
 MD5 1b770665eaea9ca5b90d81c73ce67d6f jabber-base-0.00.ebuild 1559
-MD5 37399c926e906a6c4f78e435569a3e1f metadata.xml 361
+RMD160 582f9d1146da49a9c14340887fb481a0a4a5b204 jabber-base-0.00.ebuild 1559
+SHA256 9eb999bfbd758ff1dcb675f7448ac560a6bcd6cafdd9ab647ef7235ba203c8cd jabber-base-0.00.ebuild 1559
+EBUILD jabber-base-0.01.ebuild 1648 RMD160 60c42eef5211ddd15c02c9fb9f8f899f8453e1d0 SHA1 9b113e3e703968704a3209662db83d293e7d04d2 SHA256 a1d5950be32f5351cde214fa2a347a79d1c09366f0cd4bb1d2596fe6d982f615
+MD5 ee61ea49a518f715b688b3affce0d023 jabber-base-0.01.ebuild 1648
+RMD160 60c42eef5211ddd15c02c9fb9f8f899f8453e1d0 jabber-base-0.01.ebuild 1648
+SHA256 a1d5950be32f5351cde214fa2a347a79d1c09366f0cd4bb1d2596fe6d982f615 jabber-base-0.01.ebuild 1648
+MISC ChangeLog 1459 RMD160 b9d8e8f34a1e260165b1178b78c27275ff84e90a SHA1 21f7e80bf9deff5c1178244c571fb8f1bc4f9848 SHA256 0e6b4f40c6794d6a07cf7dfdd1ebf8409cf626e33377e128f6bc11c7b703bd23
+MD5 68b38bd0cf29b676c19a912460deed69 ChangeLog 1459
+RMD160 b9d8e8f34a1e260165b1178b78c27275ff84e90a ChangeLog 1459
+SHA256 0e6b4f40c6794d6a07cf7dfdd1ebf8409cf626e33377e128f6bc11c7b703bd23 ChangeLog 1459
+MISC metadata.xml 361 RMD160 9b19b62ab07bbe45d79ff874f1b2c100a5901837 SHA1 f1e2b713fa605589c64ba14e4bea89c68bcf42d3 SHA256 42b3a55b583d9e0c90fa8d68dccf2ec3b89a0bfad4d4f3917bb2bd7244edfdc7
+MD5 2cabbaa8cf0ea4a0bb100d4aa5a5f8ab metadata.xml 361
+RMD160 9b19b62ab07bbe45d79ff874f1b2c100a5901837 metadata.xml 361
+SHA256 42b3a55b583d9e0c90fa8d68dccf2ec3b89a0bfad4d4f3917bb2bd7244edfdc7 metadata.xml 361
+MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-jabber-base-0.00 1
+RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-jabber-base-0.00 1
+SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-jabber-base-0.00 1
+MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-jabber-base-0.01 1
+RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-jabber-base-0.01 1
+SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-jabber-base-0.01 1
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
+Version: GnuPG v1.4.3-ecc0.1.6 (GNU/Linux)
 
-iD8DBQFEOCX3ViELBEf1JB0RAqNxAJwIFKzVf+FKce0zPuFYl+1cBJhzZgCdF4tn
-/gztzA3pCb/57pxrB+D7FcQ=
-=sqm/
+iD8DBQFEhYhjp5vW4rUFj5oRAjhJAJ9byvRlLMWUEoiPvx4IjIkf5nQnGQCeJrFI
+Xu82K+xAOATtSTCw8guyc58=
+=PXbB
 -----END PGP SIGNATURE-----
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..8b137891791fe96927ad78e64b0aad7bded08bdc 100644 (file)
@@ -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 (file)
index 0000000..8b13789
--- /dev/null
@@ -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 (file)
index 0000000..161b653
--- /dev/null
@@ -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
+}
index 4d017f3b9817dcba2572685a7cfafa38e92d52b4..3c4008ea7825d68c2892c63073d58be470a541c0 100644 (file)
@@ -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>