diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2007-01-06 01:07:35 +0000 |
---|---|---|
committer | Fernando J. Pereda <ferdy@gentoo.org> | 2007-01-06 01:07:35 +0000 |
commit | e227311c2719c966212bdfb4d92f6a569bc8339e (patch) | |
tree | 53f2a3744a1a5ea2d34c37c521270b4bae5ced0a /net-mail/mailbase | |
parent | QA: Removed unused versions. (diff) | |
download | gentoo-2-e227311c2719c966212bdfb4d92f6a569bc8339e.tar.gz gentoo-2-e227311c2719c966212bdfb4d92f6a569bc8339e.tar.bz2 gentoo-2-e227311c2719c966212bdfb4d92f6a569bc8339e.zip |
QA: Clean unused versions.
(Portage version: 2.1.1-r2)
(Signed Manifest commit)
Diffstat (limited to 'net-mail/mailbase')
-rw-r--r-- | net-mail/mailbase/Manifest | 53 | ||||
-rw-r--r-- | net-mail/mailbase/files/digest-mailbase-0.00-r4 | 1 | ||||
-rw-r--r-- | net-mail/mailbase/files/digest-mailbase-0.00-r5 | 1 | ||||
-rw-r--r-- | net-mail/mailbase/files/digest-mailbase-0.00-r7 | 1 | ||||
-rw-r--r-- | net-mail/mailbase/files/digest-mailbase-0.00-r8 | 1 | ||||
-rw-r--r-- | net-mail/mailbase/files/digest-mailbase-0.00-r9 | 1 | ||||
-rw-r--r-- | net-mail/mailbase/mailbase-0.00-r4.ebuild | 36 | ||||
-rw-r--r-- | net-mail/mailbase/mailbase-0.00-r5.ebuild | 39 | ||||
-rw-r--r-- | net-mail/mailbase/mailbase-0.00-r7.ebuild | 82 | ||||
-rw-r--r-- | net-mail/mailbase/mailbase-0.00-r8.ebuild | 96 | ||||
-rw-r--r-- | net-mail/mailbase/mailbase-0.00-r9.ebuild | 98 |
11 files changed, 14 insertions, 395 deletions
diff --git a/net-mail/mailbase/Manifest b/net-mail/mailbase/Manifest index 4bc00040ad63..c64a25139bc5 100644 --- a/net-mail/mailbase/Manifest +++ b/net-mail/mailbase/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX aliases 809 RMD160 ebca326bf7ed746a545f2bfa8f2839a5ecf1debb SHA1 7d8d134e21df6bea63518953dfa97fc0aab32f3c SHA256 41fffc461dfa6a8c36564698b4d9eaabaf280dbc446b3e7f3af4820930e687d6 MD5 a5623a262865054bd43c914e740a2e52 files/aliases 809 RMD160 ebca326bf7ed746a545f2bfa8f2839a5ecf1debb files/aliases 809 @@ -14,60 +17,32 @@ AUX mailcap 2235 RMD160 cb84573fec9e1c78f43a8eed2f9a0898c3817097 SHA1 f640500221 MD5 df65e6e407e866c7e6721e79f731ae6a files/mailcap 2235 RMD160 cb84573fec9e1c78f43a8eed2f9a0898c3817097 files/mailcap 2235 SHA256 99dcf0c43b9aa26625a8ff7e375e13f85cc0d677a93e90da62a868d8a2162cda files/mailcap 2235 -EBUILD mailbase-0.00-r4.ebuild 773 RMD160 a5ea5424643b5db91be04f5c3a2446bb7637dc2a SHA1 359b004d3097f4893edcf58ef1ba62885d01169f SHA256 80481c2616542e0278488f99c4b78706a6bd9b68862fe2b70ab5ef1064dc11a4 -MD5 78fc96c16b9dc1d4902c62927e664ce9 mailbase-0.00-r4.ebuild 773 -RMD160 a5ea5424643b5db91be04f5c3a2446bb7637dc2a mailbase-0.00-r4.ebuild 773 -SHA256 80481c2616542e0278488f99c4b78706a6bd9b68862fe2b70ab5ef1064dc11a4 mailbase-0.00-r4.ebuild 773 -EBUILD mailbase-0.00-r5.ebuild 877 RMD160 737702258dd45a5a20feff4d4eb395c42f00176b SHA1 e047aac56f0683d1155cdd1197b552852495f8b8 SHA256 c42836baf2213c57eb4ced56972096ea18a930063ba61595497bf858f3016e6a -MD5 f224d58950c57b4f07888966ad00cd9a mailbase-0.00-r5.ebuild 877 -RMD160 737702258dd45a5a20feff4d4eb395c42f00176b mailbase-0.00-r5.ebuild 877 -SHA256 c42836baf2213c57eb4ced56972096ea18a930063ba61595497bf858f3016e6a mailbase-0.00-r5.ebuild 877 EBUILD mailbase-0.00-r6.ebuild 902 RMD160 2a0887fe87b21bf866960e13b0993277635a00a1 SHA1 82ee57841dc4f24b1825e3633d076c5840af46f3 SHA256 85b9ef182cab5b47f93ee6817eee55734b82bb12c04bafb21f1ccd25212ddcbe MD5 d70889cf9ee474b30325789a31c253a9 mailbase-0.00-r6.ebuild 902 RMD160 2a0887fe87b21bf866960e13b0993277635a00a1 mailbase-0.00-r6.ebuild 902 SHA256 85b9ef182cab5b47f93ee6817eee55734b82bb12c04bafb21f1ccd25212ddcbe mailbase-0.00-r6.ebuild 902 -EBUILD mailbase-0.00-r7.ebuild 1922 RMD160 eda26cf43d04e212de1c999d1cd4cf20bd9a7975 SHA1 85d129164dfda26634eebfbcb395e0e95405e1b5 SHA256 16de1b102a85d24595022614c4965f1e4c6d23b4750f8948b0831fc98c659b00 -MD5 a5d2b893cb09235e3c253d9d0c50f3fa mailbase-0.00-r7.ebuild 1922 -RMD160 eda26cf43d04e212de1c999d1cd4cf20bd9a7975 mailbase-0.00-r7.ebuild 1922 -SHA256 16de1b102a85d24595022614c4965f1e4c6d23b4750f8948b0831fc98c659b00 mailbase-0.00-r7.ebuild 1922 -EBUILD mailbase-0.00-r8.ebuild 2262 RMD160 ef75115dad9223c5695b3b7b11fd6d582fb6788e SHA1 b59cb82a6b0c319acba7d69fd0a637004430942f SHA256 b918b1e2793be534145b63fe001db72e5f42200a13eefc58c6b89a0170ee9fab -MD5 9199352cf76278406a943618dd4a54ef mailbase-0.00-r8.ebuild 2262 -RMD160 ef75115dad9223c5695b3b7b11fd6d582fb6788e mailbase-0.00-r8.ebuild 2262 -SHA256 b918b1e2793be534145b63fe001db72e5f42200a13eefc58c6b89a0170ee9fab mailbase-0.00-r8.ebuild 2262 -EBUILD mailbase-0.00-r9.ebuild 2428 RMD160 b734bb2f144b1de2fe198b6382219ce6fc4202eb SHA1 6affc809f00161ef1b9afc158d34b36c57dc5bd1 SHA256 84c751531ad0770ab4ee17552c707463bac0ed986d5694df4c3481088c327337 -MD5 49503f6e00aba90637484ef6fd9af542 mailbase-0.00-r9.ebuild 2428 -RMD160 b734bb2f144b1de2fe198b6382219ce6fc4202eb mailbase-0.00-r9.ebuild 2428 -SHA256 84c751531ad0770ab4ee17552c707463bac0ed986d5694df4c3481088c327337 mailbase-0.00-r9.ebuild 2428 EBUILD mailbase-1.ebuild 1560 RMD160 7eba9df1a63a254a81b270b1b93b3248e9b34e8e SHA1 befc2e205fd4961101dc61f2c5bc16ff8d387879 SHA256 ab1a8a531c1eafb93acdc5ad99a4569370fb544e0c0d1b3c8a1a4bfa655c13ca MD5 a5548bfbccd47cbc45bff692e91af614 mailbase-1.ebuild 1560 RMD160 7eba9df1a63a254a81b270b1b93b3248e9b34e8e mailbase-1.ebuild 1560 SHA256 ab1a8a531c1eafb93acdc5ad99a4569370fb544e0c0d1b3c8a1a4bfa655c13ca mailbase-1.ebuild 1560 -MISC ChangeLog 7816 RMD160 cce8f08d737b40c0278cb753e37f36d68d1e3543 SHA1 f05b76d30dc4952c90a37cb8c9b833318704ae17 SHA256 7e3f4da6ed6c389a28aa8817367d74e897efd1af69e505e574dae42fb0b0a52e -MD5 fb986c1cbf543ade6f219a091f3dc73e ChangeLog 7816 -RMD160 cce8f08d737b40c0278cb753e37f36d68d1e3543 ChangeLog 7816 -SHA256 7e3f4da6ed6c389a28aa8817367d74e897efd1af69e505e574dae42fb0b0a52e ChangeLog 7816 +MISC ChangeLog 8032 RMD160 bc789b9269d00e5a43ce77899c3782a09cc2bf33 SHA1 84c5b4b6262184a44950fb64a3f7c48dacf69357 SHA256 6e5827c39322d3cf653058ff3ed9a6077fe6aa218019fd67a558ed5c291025a0 +MD5 96bd38fd1a905e1447cbcbb1a749f9dc ChangeLog 8032 +RMD160 bc789b9269d00e5a43ce77899c3782a09cc2bf33 ChangeLog 8032 +SHA256 6e5827c39322d3cf653058ff3ed9a6077fe6aa218019fd67a558ed5c291025a0 ChangeLog 8032 MISC metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 SHA1 a1fecd2f7b169d621b88c6ccab9d758209fc8f19 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 RMD160 273e570423fa3cd9d3f15f7967a43307c8ee9661 metadata.xml 161 SHA256 4ebf9a8f60040bfb95f13790c1d146a49c69f791f9c421e02a5d96fd6fcb2b32 metadata.xml 161 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-mailbase-0.00-r4 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-mailbase-0.00-r4 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-mailbase-0.00-r4 1 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-mailbase-0.00-r5 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-mailbase-0.00-r5 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-mailbase-0.00-r5 1 MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-mailbase-0.00-r6 1 RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-mailbase-0.00-r6 1 SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-mailbase-0.00-r6 1 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-mailbase-0.00-r7 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-mailbase-0.00-r7 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-mailbase-0.00-r7 1 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-mailbase-0.00-r8 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-mailbase-0.00-r8 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-mailbase-0.00-r8 1 -MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-mailbase-0.00-r9 1 -RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-mailbase-0.00-r9 1 -SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-mailbase-0.00-r9 1 MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-mailbase-1 1 RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-mailbase-1 1 SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-mailbase-1 1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2.2 (GNU/Linux) + +iD8DBQFFnvZUViELBEf1JB0RArp+AJ4umKsrMrcEz+lwK+utkMd3pR3FHACeOmBY +Vt0iRhYwXtaPzrjDZPpd+38= +=X6/8 +-----END PGP SIGNATURE----- diff --git a/net-mail/mailbase/files/digest-mailbase-0.00-r4 b/net-mail/mailbase/files/digest-mailbase-0.00-r4 deleted file mode 100644 index 8b137891791f..000000000000 --- a/net-mail/mailbase/files/digest-mailbase-0.00-r4 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/net-mail/mailbase/files/digest-mailbase-0.00-r5 b/net-mail/mailbase/files/digest-mailbase-0.00-r5 deleted file mode 100644 index 8b137891791f..000000000000 --- a/net-mail/mailbase/files/digest-mailbase-0.00-r5 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/net-mail/mailbase/files/digest-mailbase-0.00-r7 b/net-mail/mailbase/files/digest-mailbase-0.00-r7 deleted file mode 100644 index 8b137891791f..000000000000 --- a/net-mail/mailbase/files/digest-mailbase-0.00-r7 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/net-mail/mailbase/files/digest-mailbase-0.00-r8 b/net-mail/mailbase/files/digest-mailbase-0.00-r8 deleted file mode 100644 index 8b137891791f..000000000000 --- a/net-mail/mailbase/files/digest-mailbase-0.00-r8 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/net-mail/mailbase/files/digest-mailbase-0.00-r9 b/net-mail/mailbase/files/digest-mailbase-0.00-r9 deleted file mode 100644 index 8b137891791f..000000000000 --- a/net-mail/mailbase/files/digest-mailbase-0.00-r9 +++ /dev/null @@ -1 +0,0 @@ - diff --git a/net-mail/mailbase/mailbase-0.00-r4.ebuild b/net-mail/mailbase/mailbase-0.00-r4.ebuild deleted file mode 100644 index d548abaac44b..000000000000 --- a/net-mail/mailbase/mailbase-0.00-r4.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-0.00-r4.ebuild,v 1.18 2005/01/18 13:26:24 kumba Exp $ - -S=${WORKDIR} -DESCRIPTION="MTA layout package" -SRC_URI="" -HOMEPAGE="http://www.gentoo.org/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc alpha hppa mips" -IUSE="" - -DEPEND="" -RDEPEND="" - -src_install() { - dodir /etc/mail - insinto /etc/mail - doins ${FILESDIR}/aliases - insinto /etc/ - doins ${FILESDIR}/mailcap - - keepdir /var/spool/mail - chown root:mail ${D}/var/spool/mail - dosym /var/spool/mail /var/mail -} - -pkg_postinst() { - if [ ! -d ${ROOT}/var/spool/mail ] - then - mkdir -p ${ROOT}/var/spool/mail - chown root:mail ${ROOT}/var/spool/mail - fi -} diff --git a/net-mail/mailbase/mailbase-0.00-r5.ebuild b/net-mail/mailbase/mailbase-0.00-r5.ebuild deleted file mode 100644 index 2b3c2e8a1489..000000000000 --- a/net-mail/mailbase/mailbase-0.00-r5.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-0.00-r5.ebuild,v 1.18 2005/01/18 13:26:24 kumba Exp $ - -S="${WORKDIR}" -DESCRIPTION="MTA layout package" -SRC_URI="" -HOMEPAGE="http://www.gentoo.org/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc alpha hppa amd64 mips ia64" -IUSE="" - -DEPEND="" - -src_install() { - dodir /etc/mail - insinto /etc/mail - doins ${FILESDIR}/aliases - insinto /etc/ - doins ${FILESDIR}/mailcap - - keepdir /var/spool/mail - fowners root:mail /var/spool/mail - fperms 1777 /var/spool/mail - dosym /var/spool/mail /var/mail -} - -pkg_postinst() { - if [ ! -d ${ROOT}/var/spool/mail ] - then - mkdir -p ${ROOT}/var/spool/mail - fi - - # Always set these to close bug #8029. - chown root:mail ${ROOT}/var/spool/mail - chmod 1777 ${ROOT}/var/spool/mail -} diff --git a/net-mail/mailbase/mailbase-0.00-r7.ebuild b/net-mail/mailbase/mailbase-0.00-r7.ebuild deleted file mode 100644 index 4ec47b09860c..000000000000 --- a/net-mail/mailbase/mailbase-0.00-r7.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-0.00-r7.ebuild,v 1.2 2005/02/10 23:02:29 ferdy Exp $ - -DESCRIPTION="MTA layout package" -SRC_URI="" -HOMEPAGE="http://www.gentoo.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390 ~ppc-macos" -IUSE="" - -DEPEND="" - -S=${WORKDIR} - -pkg_setup() { - local filestoremove=0; - local lineorig=`head -n 1 ${FILESDIR}/common-pamd` - local lineold="" - - einfo "Checking for possible file collisions..." - - for i in pop pop3 pop3s pops imap imap4 imap4s imaps; - do - if [[ -e ${ROOT}/etc/pam.d/${i} ]] - then - lineold="`head -n 1 ${ROOT}/etc/pam.d/${i}`" - - if [[ "${lineorig}" != "${lineold}" ]] - then - ewarn "${ROOT}/etc/pam.d/${i} exists and wasn't provided by mailbase" - (( filestoremove++ )) - fi - fi - done - - if [[ filestoremove -gt 0 ]] - then - echo - einfo "Those files listed above have to be removed in order to" - einfo " install this version of mailbase." - echo - ewarn "If you edited them, remember to backup and when restoring make" - ewarn " sure the first line in each file is:" - einfo ${lineorig} - die "Can't be installed, files will collide" - else - einfo "... everything looks ok" - fi -} - -src_install() { - dodir /etc/mail - insinto /etc/mail - doins ${FILESDIR}/aliases - insinto /etc/ - doins ${FILESDIR}/mailcap - - keepdir /var/spool/mail - fowners root:mail /var/spool/mail - fperms 0775 /var/spool/mail - dosym /var/spool/mail /var/mail - - dodir /etc/pam.d/ - for i in pop pop3 pop3d pops imap imap4 imap4s imaps; - do - cp ${FILESDIR}/common-pamd ${D}/etc/pam.d/${i} - done -} - -pkg_postinst() { - if [ ! -d ${ROOT}/var/spool/mail ] - then - mkdir -p ${ROOT}/var/spool/mail - fi - - # Always set these to close bug #8029. - chown root:mail ${ROOT}/var/spool/mail - chmod 0775 ${ROOT}/var/spool/mail -} diff --git a/net-mail/mailbase/mailbase-0.00-r8.ebuild b/net-mail/mailbase/mailbase-0.00-r8.ebuild deleted file mode 100644 index 475f31411e00..000000000000 --- a/net-mail/mailbase/mailbase-0.00-r8.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-0.00-r8.ebuild,v 1.11 2005/04/06 19:01:01 corsair Exp $ - -DESCRIPTION="MTA layout package" -SRC_URI="" -HOMEPAGE="http://www.gentoo.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~ppc-macos s390 sparc x86" -IUSE="pam" - -DEPEND="" - -S=${WORKDIR} - -pkg_setup() { - if use pam; - then - local filestoremove=0; - local lineorig=`head -n 1 ${FILESDIR}/common-pamd` - local lineold="" - - einfo "Checking for possible file collisions..." - - for i in pop pop3 pop3s pops imap imap4 imap4s imaps; - do - if [[ -e ${ROOT}/etc/pam.d/${i} ]] - then - lineold="`head -n 1 ${ROOT}/etc/pam.d/${i}`" - - if [[ "${lineorig}" != "${lineold}" ]] - then - ewarn "${ROOT}/etc/pam.d/${i} exists and wasn't provided by mailbase" - (( filestoremove++ )) - fi - fi - done - - if [[ filestoremove -gt 0 ]] - then - echo - einfo "Those files listed above have to be removed in order to" - einfo " install this version of mailbase." - echo - ewarn "If you edited them, remember to backup and when restoring make" - ewarn " sure the first line in each file is:" - einfo ${lineorig} - die "Can't be installed, files will collide" - else - einfo "... everything looks ok" - fi - fi -} - -src_install() { - dodir /etc/mail - insinto /etc/mail - doins ${FILESDIR}/aliases - insinto /etc/ - doins ${FILESDIR}/mailcap - - 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 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 - - # imap file and its symlinks - newins ${FILESDIR}/common-pamd 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 - fi -} - -pkg_postinst() { - if [ ! -d ${ROOT}/var/spool/mail ] - then - mkdir -p ${ROOT}/var/spool/mail - fi - - # Always set these to close bug #8029. - chown root:mail ${ROOT}/var/spool/mail - chmod 0775 ${ROOT}/var/spool/mail -} diff --git a/net-mail/mailbase/mailbase-0.00-r9.ebuild b/net-mail/mailbase/mailbase-0.00-r9.ebuild deleted file mode 100644 index 4cc95881f42d..000000000000 --- a/net-mail/mailbase/mailbase-0.00-r9.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-0.00-r9.ebuild,v 1.11 2005/07/29 21:01:36 matsuu Exp $ - -DESCRIPTION="MTA layout package" -SRC_URI="" -HOMEPAGE="http://www.gentoo.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ~ppc-macos ppc64 s390 sh sparc x86" -IUSE="pam" - -DEPEND="" - -S=${WORKDIR} - -pkg_setup() { - if use pam; - then - local filestoremove=0; - local lineorig=`head -n 1 ${FILESDIR}/common-pamd` - local lineold="" - - einfo "Checking for possible file collisions..." - - for i in pop pop3 pop3s pops imap imap4 imap4s imaps; - do - if [[ -e ${ROOT}/etc/pam.d/${i} ]] - then - lineold="`head -n 1 ${ROOT}/etc/pam.d/${i}`" - - if [[ "${lineorig}" != "${lineold}" ]] - then - ewarn "${ROOT}/etc/pam.d/${i} exists and wasn't provided by mailbase" - (( filestoremove++ )) - fi - fi - done - - if [[ filestoremove -gt 0 ]] - then - echo - einfo "Those files listed above have to be removed in order to" - einfo " install this version of mailbase." - echo - ewarn "If you edited them, remember to backup and when restoring make" - ewarn " sure the first line in each file is:" - einfo ${lineorig} - die "Can't be installed, files will collide" - else - einfo "... everything looks ok" - fi - fi -} - -src_install() { - dodir /etc/mail - insinto /etc/mail - doins ${FILESDIR}/aliases - insinto /etc/ - doins ${FILESDIR}/mailcap - - 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 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 - - # imap file and its symlinks - newins ${FILESDIR}/common-pamd 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 - fi -} - -pkg_postinst() { - if [ "$(stat -c%a ${ROOT}/var/spool/mail/)" != "775" ] ; then - echo - ewarn - ewarn "Your ${ROOT}/var/spool/mail/ directory permissions differ from" - ewarn " those which mailbase set when you first installed it (0775)." - ewarn " If you did not change them on purpose, consider running:" - ewarn - echo -e "\tchmod 0775 ${ROOT}/var/spool/mail/" - echo - fi -} |