summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-11-14 07:57:49 +0000
committerMike Frysinger <vapier@gentoo.org>2007-11-14 07:57:49 +0000
commit34addc908b5086010804b1815f96b925f3f464d7 (patch)
tree1b948b9666234d96bbe3133bdca58c2e91bb9aee /net-mail
parentstable x86, security bug 198983 (diff)
downloadhistorical-34addc908b5086010804b1815f96b925f3f464d7.tar.gz
historical-34addc908b5086010804b1815f96b925f3f464d7.tar.bz2
historical-34addc908b5086010804b1815f96b925f3f464d7.zip
Move mail user/group and postmaster user here from baselayout.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mailbase/ChangeLog7
-rw-r--r--net-mail/mailbase/Manifest24
-rw-r--r--net-mail/mailbase/mailbase-1.ebuild51
3 files changed, 44 insertions, 38 deletions
diff --git a/net-mail/mailbase/ChangeLog b/net-mail/mailbase/ChangeLog
index a49faf8afdbc..e877c62d14ac 100644
--- a/net-mail/mailbase/ChangeLog
+++ b/net-mail/mailbase/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/mailbase
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/ChangeLog,v 1.73 2007/06/17 19:41:28 ferdy Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/ChangeLog,v 1.74 2007/11/14 07:57:49 vapier Exp $
+
+ 14 Nov 2007; Mike Frysinger <vapier@gentoo.org> mailbase-1.ebuild:
+ Move mail user/group and postmaster user here from baselayout.
17 Jun 2007; Fernando J. Pereda <ferdy@gentoo.org> mailbase-1.ebuild:
Don't mix ewarn and echo as per bug #182348
diff --git a/net-mail/mailbase/Manifest b/net-mail/mailbase/Manifest
index bc12efbbd4ff..6b13ce4e6da6 100644
--- a/net-mail/mailbase/Manifest
+++ b/net-mail/mailbase/Manifest
@@ -21,14 +21,14 @@ EBUILD mailbase-0.00-r6.ebuild 894 RMD160 96b3119624f302e877a6c22a340f8c01652f85
MD5 397bfabe8705f3efd96529d314203590 mailbase-0.00-r6.ebuild 894
RMD160 96b3119624f302e877a6c22a340f8c01652f8567 mailbase-0.00-r6.ebuild 894
SHA256 15a49316fa12d94373db14521b06a123b7ff6c75299879114852e2e00a1b7c70 mailbase-0.00-r6.ebuild 894
-EBUILD mailbase-1.ebuild 1705 RMD160 34370b023fc64a068507dcdd81971a23c493cc0e SHA1 1177dffc0923b284800edfb4d3e4ddbd334d8fbc SHA256 0af62deb77cf320ee889fc2d570a439e844f112e7f30b2ba350a0e163dcb21bc
-MD5 596f05004c5e029842a0dcb511fee692 mailbase-1.ebuild 1705
-RMD160 34370b023fc64a068507dcdd81971a23c493cc0e mailbase-1.ebuild 1705
-SHA256 0af62deb77cf320ee889fc2d570a439e844f112e7f30b2ba350a0e163dcb21bc mailbase-1.ebuild 1705
-MISC ChangeLog 8441 RMD160 e182159c03308e436a9890232be6062edd3ce1bb SHA1 d89ba749c3b6e687d8e091c14401118c7f0b17a1 SHA256 d683eef13153ccc2b321fc9c1fc6f59cf2ed5c8fa68682103d03c99c425bdf98
-MD5 fbc532af1bc69ba2f6cb8b7efcdc678c ChangeLog 8441
-RMD160 e182159c03308e436a9890232be6062edd3ce1bb ChangeLog 8441
-SHA256 d683eef13153ccc2b321fc9c1fc6f59cf2ed5c8fa68682103d03c99c425bdf98 ChangeLog 8441
+EBUILD mailbase-1.ebuild 1704 RMD160 3f7b706757c4012d2201a0d81a96a4f9d327df8a SHA1 8474d12f85010f5495c54d09f9e87d6af2e152c4 SHA256 a3d7cde680a38b43ba07402681fe62c80c7f86047d1ede62e287348524d47316
+MD5 8264f00393ca9ee3ad2e1f8de10791a5 mailbase-1.ebuild 1704
+RMD160 3f7b706757c4012d2201a0d81a96a4f9d327df8a mailbase-1.ebuild 1704
+SHA256 a3d7cde680a38b43ba07402681fe62c80c7f86047d1ede62e287348524d47316 mailbase-1.ebuild 1704
+MISC ChangeLog 8577 RMD160 40b9a7637ff661a70e4f175d83ef0c9bf304b366 SHA1 a967aa2521c062dc62f4efffac28a6419c6818e4 SHA256 c2d3f73c9cfb22fb9456f5d5d6dc4a950e7c4b687f77400e9fad32e56bb72fbe
+MD5 fe55e72a4bf00bfaeeba842ada7c2ada ChangeLog 8577
+RMD160 40b9a7637ff661a70e4f175d83ef0c9bf304b366 ChangeLog 8577
+SHA256 c2d3f73c9cfb22fb9456f5d5d6dc4a950e7c4b687f77400e9fad32e56bb72fbe ChangeLog 8577
MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 metadata.xml 161
@@ -40,9 +40,9 @@ MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-mailbase-1 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-mailbase-1 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-mailbase-1 0
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFGdY52ViELBEf1JB0RApKbAJ9lxBX1mk+GBgK1WGX36/uRenvd1wCfd6C7
-3pOecrtXYY/YjObGgWKNyOo=
-=u/7b
+iD8DBQFHOqqkp/wUKkr7RBoRAuLYAJ0fIqjfAtSIfgu9aaKxxTnJ45RogQCg1D93
+ygdHRW2SSzI141U2zhUgSTc=
+=Su7R
-----END PGP SIGNATURE-----
diff --git a/net-mail/mailbase/mailbase-1.ebuild b/net-mail/mailbase/mailbase-1.ebuild
index 46895179154f..7ac0df58b181 100644
--- a/net-mail/mailbase/mailbase-1.ebuild
+++ b/net-mail/mailbase/mailbase-1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-1.ebuild,v 1.18 2007/06/17 19:41:28 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-1.ebuild,v 1.19 2007/11/14 07:57:49 vapier Exp $
+
+inherit pam eutils
DESCRIPTION="MTA layout package"
SRC_URI=""
@@ -15,41 +17,42 @@ RDEPEND="pam? ( virtual/pam )"
S=${WORKDIR}
-get_permissions_oct() {
- if [[ ${USERLAND} = GNU ]] ; then
- stat -c%a "${ROOT}$1"
- elif [[ ${USERLAND} = BSD ]] ; then
- stat -f%p "${ROOT}$1" | cut -c 3-
- fi
+pkg_setup() {
+ enewgroup mail 12
+ enewuser mail 8 -1 /var/spool/mail mail
+ enewuser postmaster 14 -1 /var/spool/mail
}
src_install() {
dodir /etc/mail
insinto /etc/mail
- doins ${FILESDIR}/aliases
- insinto /etc/
- doins ${FILESDIR}/mailcap
+ doins "${FILESDIR}"/aliases || die
+ insinto /etc
+ doins "${FILESDIR}"/mailcap || die
keepdir /var/spool/mail
fowners root:mail /var/spool/mail
fperms 0775 /var/spool/mail
dosym /var/spool/mail /var/mail
- if use pam;
- then
- insinto /etc/pam.d/
-
- # pop file and its symlinks
- newins ${FILESDIR}/common-pamd-include pop
- dosym /etc/pam.d/pop /etc/pam.d/pop3
- dosym /etc/pam.d/pop /etc/pam.d/pop3s
- dosym /etc/pam.d/pop /etc/pam.d/pops
+ newpamd "${FILESDIR}"/common-pamd-include pop
+ newpamd "${FILESDIR}"/common-pamd-include imap
+ if use pam ; then
+ local p
+ for p in pop3 pop3s pops ; do
+ dosym pop /etc/pam.d/${p} || die
+ done
+ for p in imap4 imap4s imaps ; do
+ dosym imap /etc/pam.d/${p} || die
+ done
+ fi
+}
- # imap file and its symlinks
- newins ${FILESDIR}/common-pamd-include imap
- dosym /etc/pam.d/imap /etc/pam.d/imap4
- dosym /etc/pam.d/imap /etc/pam.d/imap4s
- dosym /etc/pam.d/imap /etc/pam.d/imaps
+get_permissions_oct() {
+ if [[ ${USERLAND} = GNU ]] ; then
+ stat -c%a "${ROOT}$1"
+ elif [[ ${USERLAND} = BSD ]] ; then
+ stat -f%p "${ROOT}$1" | cut -c 3-
fi
}