diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-05-15 20:56:01 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-05-15 20:56:01 +0000 |
commit | 6686ef6b48d97e4dbe3e1df7a936ee4368bbcd1d (patch) | |
tree | 255854566022d3e2831d2ec3b258fb04a7902b45 | |
parent | New version (diff) | |
download | historical-6686ef6b48d97e4dbe3e1df7a936ee4368bbcd1d.tar.gz historical-6686ef6b48d97e4dbe3e1df7a936ee4368bbcd1d.tar.bz2 historical-6686ef6b48d97e4dbe3e1df7a936ee4368bbcd1d.zip |
cleanup
52 files changed, 34 insertions, 2803 deletions
diff --git a/net-mail/cyrus-imapd/Manifest b/net-mail/cyrus-imapd/Manifest new file mode 100644 index 000000000000..fdf52046ced7 --- /dev/null +++ b/net-mail/cyrus-imapd/Manifest @@ -0,0 +1,17 @@ +MD5 9ecb4c3096bec278cb55be046313e91a ChangeLog 4850 +MD5 e2494a6bb94bf802cd1b0d0a8dc4ef0e cyrus-imapd-2.1.11-r1.ebuild 6299 +MD5 c26714aa036de2bd0e7c8a39433f32c1 cyrus-imapd-2.1.12.ebuild 6850 +MD5 e2c00049c69e3eca58d5a635dd3fd6dc files/configure.diff 6285 +MD5 419f3372b21d1eea29593634a57bc134 files/cyrus-imapd-2.1.12-includepath.patch 2721 +MD5 24cfd296507c04e376368f15665041d1 files/cyrus-imapd-2.1.12-libwrap.patch 494 +MD5 0e719522fa5fdeeb6299875a7ab67f36 files/cyrus.conf 1340 +MD5 49f1642ca5d96db10f40a7c37a52dbd8 files/cyrus.rc6_2 631 +MD5 8ef2ff8ab18c79ca0fc96e0ec58e084a files/cyrus_2.conf 1340 +MD5 a73606d0350e6883a11a4c525af59551 files/digest-cyrus-imapd-2.1.12 71 +MD5 074362acae4027842361a769407b8645 files/digest-cyrus-imapd-2.1.11-r1 71 +MD5 cbd00df5ef9288b1c830d95fa5e5831f files/gentestcrt.sh 8799 +MD5 a26c1601811d0fd0cc3da0bae6d76693 files/imap-overflow.diff 871 +MD5 df60f59cb6da75d7ca5e71a0d1ad52e7 files/imapd_2.conf 765 +MD5 374ae77d5cbb38777c1416e60b12c1d6 files/libsieve-overflow.diff 1898 +MD5 959399de17330ea5f52ef56cb6c5ffcd files/master.8.diff 1280 +MD5 f4074e463596703804133990ab7b00fd files/pam.d-imap 209 diff --git a/net-mail/cyrus-imapd/cyrus-imapd-2.1.11.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-2.1.11.ebuild deleted file mode 100644 index c2d9ea788518..000000000000 --- a/net-mail/cyrus-imapd/cyrus-imapd-2.1.11.ebuild +++ /dev/null @@ -1,191 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.1.11.ebuild,v 1.5 2003/02/13 14:27:34 vapier Exp $ - -DESCRIPTION="The Cyrus IMAP Server" -HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/" -SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 -ppc -sparc " - -PROVIDE="virtual/imapd" -DEPEND="virtual/glibc - afs? ( >=net-fs/openafs-1.2.2 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - kerberos? ( >=app-crypt/kth-krb-1.2 ) - >=sys-libs/db-3.2 - >=sys-libs/pam-0.75 - >=dev-libs/cyrus-sasl-2.1.2 - >=sys-apps/tcp-wrappers-7.6 - net-mail/mailbase" - -pkg_setup() { - if ! grep -q ^cyrus: /etc/passwd ; then - useradd -c cyrus -d /usr/cyrus -g mail -s /bin/false -u 96 cyrus \ - || die "problem adding user cyrus" - fi -} - -src_unpack() { - - unpack ${A} - cd ${S} - patch -p1 < ${FILESDIR}/configure.diff || die "patch failed" - -} - -src_compile() { - local myconf - - use afs && myconf="--with-afs" \ - || myconf="--without-afs" - - use snmp && myconf="${myconf} --with-ucdsnmp=/usr" \ - || myconf="${myconf} --without-ucdsnmp" - - use ssl && myconf="${myconf} --with-openssl=/usr" \ - || myconf="${myconf} --without-openssl" - - use kerberos && myconf="${myconf} --with-krb=/usr/athena --with-auth=krb --enable-gssapi" \ - || myconf="${myconf} --without-krb --with-auth=unix --disable-gssapi" - - econf \ - --enable-listext \ - --with-cyrus-group=mail \ - --enable-netscapehack \ - --with-com_err=yes \ - --without-perl \ - --disable-cyradm \ - --with-libwrap=/usr \ - ${myconf} - - # make depends break with -f... in CFLAGS - make depend CFLAGS="" || die "make depend problem" - - make || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die - - # Remove the developer stuff (-> dev-libs/cyrus-imap-devel) - rm -rf ${D}usr/include ${D}usr/lib - - # Rename the master from cyrus to cyrusmaster (postfix has a master too) - mv ${D}usr/cyrus/bin/master ${D}usr/cyrus/bin/cyrusmaster - - # Fix manpage stuff - rm -rf ${D}usr/man - - # master is renamed to cyrusmaster because postfix has a master too - mv man/master.8 man/cyrusmaster.8 - patch man/cyrusmaster.8 ${FILESDIR}/master.8.diff || die "error patching master.8" - - doman man/*.? - - # remove man-pages from packet net-mail/cyrus-imapd-admin - rm ${D}usr/share/man/man1/installsieve.1.gz ${D}usr/share/man/man1/sieveshell.1.gz - - dodir /etc - cp ${FILESDIR}/imapd_2.conf ${D}etc/imapd.conf - cp ${FILESDIR}/cyrus_2.conf ${D}etc/cyrus.conf - dodir /etc/pam.d - cp ${FILESDIR}/pam.d-imap ${D}etc/pam.d/imap - - dodir /var - mkdir -m 0750 ${D}var/imap - chown -R cyrus.mail ${D}var/imap - mkdir -m 0755 ${D}var/imap/db - chown -R cyrus.mail ${D}var/imap/db - mkdir -m 0755 ${D}var/imap/log - chown -R cyrus.mail ${D}var/imap/log - mkdir -m 0755 ${D}var/imap/msg - chown -R cyrus.mail ${D}var/imap/msg - mkdir -m 0755 ${D}var/imap/user - chown -R cyrus.mail ${D}var/imap/user - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/user/$i ; \ - chown -R cyrus.mail ${D}var/imap/user/$i - done - mkdir -m 0755 ${D}var/imap/proc - chown -R cyrus.mail ${D}var/imap/proc - mkdir -m 0755 ${D}var/imap/quota - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/quota/$i ; \ - chown -R cyrus.mail ${D}var/imap/quota/$i - done - mkdir -m 0755 ${D}var/imap/sieve - chown -R cyrus.mail ${D}var/imap/sieve - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/sieve/$i ; \ - chown -R cyrus.mail ${D}var/imap/sieve/$i ; done - mkdir -m 0755 ${D}var/imap/socket - chown -R cyrus.mail ${D}var/imap/socket - - mkdir ${D}var/spool - mkdir -m 0750 ${D}var/spool/imap - chown -R cyrus.mail ${D}var/spool/imap - mkdir -m 0755 ${D}var/spool/imap/stage. - chown -R cyrus.mail ${D}var/spool/imap/stage. - # For hashimapspool - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/spool/imap/$i ; \ - chown -R cyrus.mail ${D}var/spool/imap/$i ; done - - - dodoc COPYRIGHT README* - dohtml doc/*.html doc/murder.png - cp doc/cyrusv2.mc ${D}usr/share/doc/${PF}/html - cp -r contrib tools ${D}usr/share/doc/${PF} - - # Remove the CVS directories - find 2>/dev/null ${D}usr/share/doc/ -type d -name CVS -exec rm -rf '{}' \; - - exeinto /etc/init.d ; newexe ${FILESDIR}/cyrus.rc6_2 cyrus - - if [ "'use ssl'" ]; then - # from mod_ssl - echo "Generating self-signed test certificate" - echo "(Ignore any message from the yes command below)" - mkdir certs - cd certs - yes "" | ${FILESDIR}/gentestcrt.sh >/dev/null 2>&1 - mkdir ${D}etc/cyrusimapd - cp server.crt server.key ${D}etc/cyrusimapd - chown cyrus.root ${D}etc/cyrusimapd/server.crt ${D}etc/cyrusimapd/server.key - chmod 0400 ${D}etc/cyrusimapd/server.crt ${D}etc/cyrusimapd/server.key - fi -} - -pkg_postinst() { - ewarn "If you change the fs-type of /var/imap or" - ewarn "/var/spool/imap you should read step 9 of" - ewarn "/usr/share/doc/${P}/html/install-configure.html." - echo "" - - if df -T /var/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/imap/user/* and /var/imap/quota/* to synchronous" - ewarn "updates." - chattr +S /var/imap/user /var/imap/user/* /var/imap/quota /var/imap/quota/* - echo "" - fi - - if df -T /var/spool/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/spool/imap/* to synchronous updates." - chattr +S /var/spool/imap /var/spool/imap/* - echo "" - fi - - ewarn "If the queue directory of the mail daemon resides on an ext2" - ewarn "or ext3 partition you need to set it manually to update" - ewarn "synchronously. E.g. 'chattr +S /var/spool/mqueue'." - echo "" - - einfo "For correct logging with syslog add" - einfo "\tlocal6.* /var/log/imapd.log" - einfo "\tauth.debug /var/log/auth.log" - einfo "to /etc/syslog.conf." - echo "" - - ewarn "You have to add user cyrus to the sasldb2. Do this with:" - ewarn "\tsaslpasswd2 cyrus" -} diff --git a/net-mail/cyrus-imapd/cyrus-imapd-2.1.5-r2.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-2.1.5-r2.ebuild deleted file mode 100644 index 8b2e008a4ddd..000000000000 --- a/net-mail/cyrus-imapd/cyrus-imapd-2.1.5-r2.ebuild +++ /dev/null @@ -1,218 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.1.5-r2.ebuild,v 1.7 2003/03/11 21:11:46 seemant Exp $ - -IUSE="ssl perl snmp afs" - -inherit perl-module -inherit perl-post - -S=${WORKDIR}/${P} -DESCRIPTION="The Cyrus IMAP Server" -HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/" -SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 -ppc -sparc " - -PROVIDE="virtual/imapd" -RDEPEND="virtual/glibc - afs? ( >=net-fs/openafs-1.2.2 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - perl? ( >=dev-lang/perl-5.6.1 ) - >=sys-libs/db-3.2 - >=sys-libs/pam-0.75 - >=dev-libs/cyrus-sasl-2.1.2 - >=sys-apps/tcp-wrappers-7.6" -DEPEND="virtual/glibc - afs? ( >=net-fs/openafs-1.2.2 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - perl? ( >=dev-lang/perl-5.6.1 ) - >=sys-libs/db-3.2 - >=sys-libs/pam-0.75 - >=dev-libs/cyrus-sasl-2.1.2 - >=sys-apps/tcp-wrappers-7.6 - net-mail/mailbase" - - -# recommended: flex, maybe: net-snmp, postfix, perl?, afs, inn, tcl (cyradm) - -pkg_setup() { - - if ! grep -q ^cyrus: /etc/passwd ; then - useradd -c cyrus -d /usr/cyrus -g mail -s /bin/false -u 96 cyrus \ - || die "problem adding user cyrus" - fi -} - -src_unpack() { - - unpack ${A} - cd ${WORKDIR} - patch -p0 < ${FILESDIR}/e2fsprogs-et.diff -} - -src_compile() { - - local myconf - - use afs || myconf="--without-afs" - use snmp || myconf="${myconf} --without-ucdsnmp" - use ssl || myconf="${myconf} --without-openssl" - use perl || myconf="${myconf} --without-perl --disable-cyradm" - - - ./configure \ - --prefix=/usr \ - --without-krb \ - --without-gssapi \ - --enable-listext \ - --disable-cyradm \ - --with-cyrus-group=mail \ - --enable-shared \ - --enable-netscapehack \ - --with-com_err=yes \ - --host=${CHOST} ${myconf} || die "bad ./configure" - - # make depends break with -f... in CFLAGS - make depend CFLAGS="" || die "make depend problem" - - make || die "compile problem" - -} - -src_install () { - # remove perl subdirs from beeing installed - sed "s:SUBDIRS = imap sieve:SUBDIRS =:" ${S}/perl/Makefile > ${S}/perl/Makefile.install - mv ${S}/perl/Makefile ${S}/perl/Makefile.orig - mv ${S}/perl/Makefile.install ${S}/perl/Makefile - - emake DESTDIR=${D} install || die - - # Remove the developer stuff (-> dev-libs/cyrus-imap-devel) - rm -rf ${D}usr/include ${D}usr/lib - - # Remove the manpages (wrong place) - rm -rf ${D}usr/man - - mkdir ${D}etc - cp ${FILESDIR}/imapd.conf ${D}etc/imapd.conf - cp ${FILESDIR}/cyrus.conf ${D}etc/cyrus.conf - mkdir ${D}etc/pam.d - cp ${FILESDIR}/pam.d-imap ${D}etc/pam.d/imap - - mkdir ${D}var ${D}var/log - touch ${D}var/log/imapd.log - touch ${D}var/log/auth.log - - mkdir -m 0750 ${D}var/imap - chown -R cyrus.mail ${D}var/imap - mkdir -m 0755 ${D}var/imap/db - chown -R cyrus.mail ${D}var/imap/db - mkdir -m 0755 ${D}var/imap/log - chown -R cyrus.mail ${D}var/imap/log - mkdir -m 0755 ${D}var/imap/msg - chown -R cyrus.mail ${D}var/imap/msg - mkdir -m 0755 ${D}var/imap/user - chown -R cyrus.mail ${D}var/imap/user - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/user/$i ; \ - chown -R cyrus.mail ${D}var/imap/user/$i ; done - mkdir -m 0755 ${D}var/imap/proc - chown -R cyrus.mail ${D}var/imap/proc - mkdir -m 0755 ${D}var/imap/quota - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/quota/$i ; \ - chown -R cyrus.mail ${D}var/imap/quota/$i ; done - mkdir -m 0755 ${D}var/imap/sieve - chown -R cyrus.mail ${D}var/imap/sieve - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/sieve/$i ; \ - chown -R cyrus.mail ${D}var/imap/sieve/$i ; done - mkdir -m 0755 ${D}var/imap/socket - chown -R cyrus.mail ${D}var/imap/socket - - mkdir ${D}var/spool - mkdir -m 0750 ${D}var/spool/imap - chown -R cyrus.mail ${D}var/spool/imap - mkdir -m 0755 ${D}var/spool/imap/stage. - chown -R cyrus.mail ${D}var/spool/imap/stage. - # For hashimapspool - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/spool/imap/$i ; \ - chown -R cyrus.mail ${D}var/spool/imap/$i ; done - - - doman man/*.? - # remove man-pages from packet net-mail/cyrus-imapd-admin - rm ${D}usr/share/man/man1/installsieve.1.gz ${D}usr/share/man/man1/sieveshell.1.gz - - dodoc COPYRIGHT README* - dohtml doc/*.html doc/murder.png - cp doc/cyrusv2.mc ${D}usr/share/doc/${PF}/html - - cp -r contrib tools ${D}usr/share/doc/${PF} - # Remove the CVS directories - find 2>/dev/null ${D}usr/share/doc/ -type d -name CVS -exec rm -rf '{}' \; - - exeinto /etc/init.d ; newexe ${FILESDIR}/cyrus.rc6 cyrus - - if use perl ; then - export DESTDIR=${D} - cd ${S}/perl/imap - perl-module_src_prep - perl-module_src_compile - perl-module_src_test - perl-module_src_install - cd ${S}/perl/sieve/acap - perl-module_src_prep - perl-module_src_compile - perl-module_src_test - perl-module_src_install - cd ${S}/perl/sieve/managesieve - perl-module_src_prep - perl-module_src_compile - perl-module_src_test - perl-module_src_install - fi - -} - -pkg_postinst() { - perl-post_pkg_postinst - - ewarn "If you change the fs-type of /var/imap or" - ewarn "/var/spool/imap you should read step 9 of" - ewarn "/usr/share/doc/${P}/html/install-configure.html." - echo "" - - if df -T /var/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/imap/user/* and /var/imap/quota/* to synchronous" - ewarn "updates." - chattr +S /var/imap/user /var/imap/user/* /var/imap/quota /var/imap/quota/* - echo "" - fi - - if df -T /var/spool/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/spool/imap/* to synchronous updates." - chattr +S /var/spool/imap /var/spool/imap/* - echo "" - fi - - ewarn "If the queue directory of the mail daemon resides on an ext2" - ewarn "or ext3 partition you need to set it manually to update" - ewarn "synchronously. E.g. 'chattr +S /var/spool/mqueue'." - echo "" - - einfo "For correct logging add" - einfo "\tlocal6.* /var/log/imapd.log" - einfo "\tauth.debug /var/log/auth.log" - einfo "to /etc/syslog.conf." - echo - - if [ "'use ssl'" ]; then - ewarn "WARNING: Read the section about SSL and TLS of" - ewarn "/usr/share/doc/${P}/html/install-configure.html." - ewarn "about installing the needed keys." - fi -} - diff --git a/net-mail/cyrus-imapd/cyrus-imapd-2.1.9-r1.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-2.1.9-r1.ebuild deleted file mode 100644 index b67a4dfd60c9..000000000000 --- a/net-mail/cyrus-imapd/cyrus-imapd-2.1.9-r1.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.1.9-r1.ebuild,v 1.9 2003/02/13 14:27:52 vapier Exp $ - -S=${WORKDIR}/${P} - -DESCRIPTION="The Cyrus IMAP Server" -HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/" -SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 -ppc -sparc " - -PROVIDE="virtual/imapd" -DEPEND="virtual/glibc - afs? ( >=net-fs/openafs-1.2.2 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - kerberos? ( >=app-crypt/krb5-1.2.5 ) - >=sys-libs/db-3.2 - >=sys-libs/pam-0.75 - >=dev-libs/cyrus-sasl-2.1.2 - >=sys-apps/tcp-wrappers-7.6 - net-mail/mailbase" - -pkg_setup() { - - if ! grep -q ^cyrus: /etc/passwd ; then - useradd -c cyrus -d /usr/cyrus -g mail -s /bin/false -u 96 cyrus \ - || die "problem adding user cyrus" - fi -} - -src_unpack() { - - unpack ${A} - cd ${S} - patch < ${FILESDIR}/config.diff || die "patch failed" - -} - -src_compile() { - - local myconf - - use afs && myconf="--with-afs" \ - || myconf="--without-afs" - - use snmp && myconf="${myconf} --with-ucdsnmp=/usr" \ - || myconf="${myconf} --without-ucdsnmp" - - use ssl && myconf="${myconf} --with-openssl=/usr" \ - || myconf="${myconf} --without-openssl" - - use kerberos && myconf="${myconf} --with-krb --with-auth=krb --enable-gssapi" \ - || myconf="${myconf} --without-krb --with-auth=unix --disable-gssapi" - - econf \ - --enable-listext \ - --with-cyrus-group=mail \ - --enable-netscapehack \ - --with-com_err=yes \ - --without-perl \ - --disable-cyradm \ - ${myconf} || die "bad ./configure" - - # make depends break with -f... in CFLAGS - make depend CFLAGS="" || die "make depend problem" - - make || die "compile problem" - -} - -src_install () { - - # Install! - make DESTDIR=${D} install || die - - # Remove the developer stuff (-> dev-libs/cyrus-imap-devel) - rm -rf ${D}usr/include ${D}usr/lib - - # Rename the master from cyrus to cyrusmaster (postfix has a master too) - mv ${D}usr/cyrus/bin/master ${D}usr/cyrus/bin/cyrusmaster - - # Fix manpage stuff - rm -rf ${D}usr/man - - # master is renamed to cyrusmaster because postfix has a master too - mv man/master.8 man/cyrusmaster.8 - patch man/cyrusmaster.8 ${FILESDIR}/master.8.diff || die "error patching master.8" - - doman man/*.? - - # remove man-pages from packet net-mail/cyrus-imapd-admin - rm ${D}usr/share/man/man1/installsieve.1.gz ${D}usr/share/man/man1/sieveshell.1.gz - - mkdir ${D}etc - cp ${FILESDIR}/imapd_2.conf ${D}etc/imapd.conf - cp ${FILESDIR}/cyrus_2.conf ${D}etc/cyrus.conf - mkdir ${D}etc/pam.d - cp ${FILESDIR}/pam.d-imap ${D}etc/pam.d/imap - - mkdir ${D}var - mkdir -m 0750 ${D}var/imap - chown -R cyrus.mail ${D}var/imap - mkdir -m 0755 ${D}var/imap/db - chown -R cyrus.mail ${D}var/imap/db - mkdir -m 0755 ${D}var/imap/log - chown -R cyrus.mail ${D}var/imap/log - mkdir -m 0755 ${D}var/imap/msg - chown -R cyrus.mail ${D}var/imap/msg - mkdir -m 0755 ${D}var/imap/user - chown -R cyrus.mail ${D}var/imap/user - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/user/$i ; \ - chown -R cyrus.mail ${D}var/imap/user/$i ; done - mkdir -m 0755 ${D}var/imap/proc - chown -R cyrus.mail ${D}var/imap/proc - mkdir -m 0755 ${D}var/imap/quota - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/quota/$i ; \ - chown -R cyrus.mail ${D}var/imap/quota/$i ; done - mkdir -m 0755 ${D}var/imap/sieve - chown -R cyrus.mail ${D}var/imap/sieve - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/sieve/$i ; \ - chown -R cyrus.mail ${D}var/imap/sieve/$i ; done - mkdir -m 0755 ${D}var/imap/socket - chown -R cyrus.mail ${D}var/imap/socket - - mkdir ${D}var/spool - mkdir -m 0750 ${D}var/spool/imap - chown -R cyrus.mail ${D}var/spool/imap - mkdir -m 0755 ${D}var/spool/imap/stage. - chown -R cyrus.mail ${D}var/spool/imap/stage. - # For hashimapspool - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/spool/imap/$i ; \ - chown -R cyrus.mail ${D}var/spool/imap/$i ; done - - - dodoc COPYRIGHT README* - dohtml doc/*.html doc/murder.png - cp doc/cyrusv2.mc ${D}usr/share/doc/${PF}/html - cp -r contrib tools ${D}usr/share/doc/${PF} - - # Remove the CVS directories - find 2>/dev/null ${D}usr/share/doc/ -type d -name CVS -exec rm -rf '{}' \; - - exeinto /etc/init.d ; newexe ${FILESDIR}/cyrus.rc6_2 cyrus - - if [ "'use ssl'" ]; then - # from mod_ssl - echo "Generating self-signed test certificate" - echo "(Ignore any message from the yes command below)" - mkdir certs - cd certs - yes "" | ${FILESDIR}/gentestcrt.sh >/dev/null 2>&1 - mkdir ${D}etc/cyrusimapd - cp server.crt server.key ${D}etc/cyrusimapd - chown cyrus.root ${D}etc/cyrusimapd/server.crt ${D}etc/cyrusimapd/server.key - chmod 0400 ${D}etc/cyrusimapd/server.crt ${D}etc/cyrusimapd/server.key - fi - -} - -pkg_postinst() { - ewarn "If you change the fs-type of /var/imap or" - ewarn "/var/spool/imap you should read step 9 of" - ewarn "/usr/share/doc/${P}/html/install-configure.html." - echo "" - - if df -T /var/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/imap/user/* and /var/imap/quota/* to synchronous" - ewarn "updates." - chattr +S /var/imap/user /var/imap/user/* /var/imap/quota /var/imap/quota/* - echo "" - fi - - if df -T /var/spool/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/spool/imap/* to synchronous updates." - chattr +S /var/spool/imap /var/spool/imap/* - echo "" - fi - - ewarn "If the queue directory of the mail daemon resides on an ext2" - ewarn "or ext3 partition you need to set it manually to update" - ewarn "synchronously. E.g. 'chattr +S /var/spool/mqueue'." - echo "" - - einfo "For correct logging with syslog add" - einfo "\tlocal6.* /var/log/imapd.log" - einfo "\tauth.debug /var/log/auth.log" - einfo "to /etc/syslog.conf." - echo "" - - ewarn "You have to add user cyrus to the sasldb2. Do this with:" - ewarn "\tsaslpasswd2 cyrus" -} diff --git a/net-mail/cyrus-imapd/cyrus-imapd-2.1.9-r2.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-2.1.9-r2.ebuild deleted file mode 100644 index 49daa8255b91..000000000000 --- a/net-mail/cyrus-imapd/cyrus-imapd-2.1.9-r2.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.1.9-r2.ebuild,v 1.4 2003/02/13 14:27:58 vapier Exp $ - -DESCRIPTION="The Cyrus IMAP Server" -HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/" -SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86 -ppc -sparc " - -PROVIDE="virtual/imapd" -DEPEND="virtual/glibc - afs? ( >=net-fs/openafs-1.2.2 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - kerberos? ( >=app-crypt/krb5-1.2.5 ) - >=sys-libs/db-3.2 - >=sys-libs/pam-0.75 - >=dev-libs/cyrus-sasl-2.1.2 - >=sys-apps/tcp-wrappers-7.6 - net-mail/mailbase" - -pkg_setup() { - if ! grep -q ^cyrus: /etc/passwd ; then - useradd -c cyrus -d /usr/cyrus -g mail -s /bin/false -u 96 cyrus \ - || die "problem adding user cyrus" - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - patch < ${FILESDIR}/config.diff || die "patch failed" - - cp configure configure.orig - sed -e "s:-ldes:-ldes425:" \ - < configure.orig > configure || die "patch failed" -} - -src_compile() { - local myconf - - use afs && myconf="--with-afs" \ - || myconf="--without-afs" - - use snmp && myconf="${myconf} --with-ucdsnmp=/usr" \ - || myconf="${myconf} --without-ucdsnmp" - - use ssl && myconf="${myconf} --with-openssl=/usr" \ - || myconf="${myconf} --without-openssl" - - use kerberos && myconf="${myconf} --with-krb --with-auth=krb --enable-gssapi" \ - || myconf="${myconf} --without-krb --with-auth=unix --disable-gssapi" - - econf \ - --enable-listext \ - --with-cyrus-group=mail \ - --enable-netscapehack \ - --with-com_err=yes \ - --without-perl \ - --disable-cyradm \ - ${myconf} - - # make depends break with -f... in CFLAGS - make depend CFLAGS="" || die "make depend problem" - - make || die "compile problem" -} - -src_install() { - make DESTDIR=${D} install || die - - # Remove the developer stuff (-> dev-libs/cyrus-imap-devel) - rm -rf ${D}usr/include ${D}usr/lib - - # Rename the master from cyrus to cyrusmaster (postfix has a master too) - mv ${D}usr/cyrus/bin/master ${D}usr/cyrus/bin/cyrusmaster - - # Fix manpage stuff - rm -rf ${D}usr/man - - # master is renamed to cyrusmaster because postfix has a master too - mv man/master.8 man/cyrusmaster.8 - patch man/cyrusmaster.8 ${FILESDIR}/master.8.diff || die "error patching master.8" - - doman man/*.? - - # remove man-pages from packet net-mail/cyrus-imapd-admin - rm ${D}usr/share/man/man1/installsieve.1.gz ${D}usr/share/man/man1/sieveshell.1.gz - - dodir /etc - cp ${FILESDIR}/imapd_2.conf ${D}etc/imapd.conf - cp ${FILESDIR}/cyrus_2.conf ${D}etc/cyrus.conf - dodir /etc/pam.d - cp ${FILESDIR}/pam.d-imap ${D}etc/pam.d/imap - - dodir /var - mkdir -m 0750 ${D}var/imap - chown -R cyrus.mail ${D}var/imap - mkdir -m 0755 ${D}var/imap/db - chown -R cyrus.mail ${D}var/imap/db - mkdir -m 0755 ${D}var/imap/log - chown -R cyrus.mail ${D}var/imap/log - mkdir -m 0755 ${D}var/imap/msg - chown -R cyrus.mail ${D}var/imap/msg - mkdir -m 0755 ${D}var/imap/user - chown -R cyrus.mail ${D}var/imap/user - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/user/$i ; \ - chown -R cyrus.mail ${D}var/imap/user/$i - done - mkdir -m 0755 ${D}var/imap/proc - chown -R cyrus.mail ${D}var/imap/proc - mkdir -m 0755 ${D}var/imap/quota - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/quota/$i ; \ - chown -R cyrus.mail ${D}var/imap/quota/$i - done - mkdir -m 0755 ${D}var/imap/sieve - chown -R cyrus.mail ${D}var/imap/sieve - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/sieve/$i ; \ - chown -R cyrus.mail ${D}var/imap/sieve/$i ; done - mkdir -m 0755 ${D}var/imap/socket - chown -R cyrus.mail ${D}var/imap/socket - - mkdir ${D}var/spool - mkdir -m 0750 ${D}var/spool/imap - chown -R cyrus.mail ${D}var/spool/imap - mkdir -m 0755 ${D}var/spool/imap/stage. - chown -R cyrus.mail ${D}var/spool/imap/stage. - # For hashimapspool - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/spool/imap/$i ; \ - chown -R cyrus.mail ${D}var/spool/imap/$i ; done - - - dodoc COPYRIGHT README* - dohtml doc/*.html doc/murder.png - cp doc/cyrusv2.mc ${D}usr/share/doc/${PF}/html - cp -r contrib tools ${D}usr/share/doc/${PF} - - # Remove the CVS directories - find 2>/dev/null ${D}usr/share/doc/ -type d -name CVS -exec rm -rf '{}' \; - - exeinto /etc/init.d ; newexe ${FILESDIR}/cyrus.rc6_2 cyrus - - if [ "'use ssl'" ]; then - # from mod_ssl - echo "Generating self-signed test certificate" - echo "(Ignore any message from the yes command below)" - mkdir certs - cd certs - yes "" | ${FILESDIR}/gentestcrt.sh >/dev/null 2>&1 - mkdir ${D}etc/cyrusimapd - cp server.crt server.key ${D}etc/cyrusimapd - chown cyrus.root ${D}etc/cyrusimapd/server.crt ${D}etc/cyrusimapd/server.key - chmod 0400 ${D}etc/cyrusimapd/server.crt ${D}etc/cyrusimapd/server.key - fi -} - -pkg_postinst() { - ewarn "If you change the fs-type of /var/imap or" - ewarn "/var/spool/imap you should read step 9 of" - ewarn "/usr/share/doc/${P}/html/install-configure.html." - echo "" - - if df -T /var/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/imap/user/* and /var/imap/quota/* to synchronous" - ewarn "updates." - chattr +S /var/imap/user /var/imap/user/* /var/imap/quota /var/imap/quota/* - echo "" - fi - - if df -T /var/spool/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/spool/imap/* to synchronous updates." - chattr +S /var/spool/imap /var/spool/imap/* - echo "" - fi - - ewarn "If the queue directory of the mail daemon resides on an ext2" - ewarn "or ext3 partition you need to set it manually to update" - ewarn "synchronously. E.g. 'chattr +S /var/spool/mqueue'." - echo "" - - einfo "For correct logging with syslog add" - einfo "\tlocal6.* /var/log/imapd.log" - einfo "\tauth.debug /var/log/auth.log" - einfo "to /etc/syslog.conf." - echo "" - - ewarn "You have to add user cyrus to the sasldb2. Do this with:" - ewarn "\tsaslpasswd2 cyrus" -} diff --git a/net-mail/cyrus-imapd/cyrus-imapd-2.1.9.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-2.1.9.ebuild deleted file mode 100644 index c0c5669f6ac4..000000000000 --- a/net-mail/cyrus-imapd/cyrus-imapd-2.1.9.ebuild +++ /dev/null @@ -1,202 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.1.9.ebuild,v 1.11 2003/03/11 21:11:46 seemant Exp $ - -inherit perl-module - -DESCRIPTION="The Cyrus IMAP Server" -HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/" -SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 -ppc -sparc " -IUSE="ssl kerberos perl snmp afs" - -PROVIDE="virtual/imapd" -DEPEND="virtual/glibc - afs? ( >=net-fs/openafs-1.2.2 ) - snmp? ( >=net-analyzer/ucd-snmp-4.2.3 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - perl? ( >=dev-lang/perl-5.6.1 ) - kerberos? ( >=app-crypt/krb5-1.2.5 ) - >=sys-libs/db-3.2 - >=sys-libs/pam-0.75 - >=dev-libs/cyrus-sasl-2.1.2 - >=sys-apps/tcp-wrappers-7.6 - net-mail/mailbase" - -# recommended: flex, maybe: net-snmp, postfix, perl?, afs, inn, tcl (cyradm) - -pkg_setup() { - if ! grep -q ^cyrus: /etc/passwd ; then - useradd -c cyrus -d /usr/cyrus -g mail -s /bin/false -u 96 cyrus \ - || die "problem adding user cyrus" - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - patch < ${FILESDIR}/config.diff || die "patch failed" -} - -src_compile() { - local myconf - - use afs && myconf="--with-afs" \ - || myconf="--without-afs" - - use snmp && myconf="${myconf} --with-ucdsnmp=/usr" \ - || myconf="${myconf} --without-ucdsnmp" - - use ssl && myconf="${myconf} --with-openssl=/usr" \ - || myconf="${myconf} --without-openssl" - - use perl && myconf="${myconf} --with-perl --enable-cyradm" \ - || myconf="${myconf} --without-perl --disable-cyradm" - - use kerberos && myconf="${myconf} --with-krb --with-auth=krb" \ - || myconf="${myconf} --without-krb --with-auth=unix" - - econf \ - --enable-listext \ - --with-cyrus-group=mail \ - --enable-netscapehack \ - --with-com_err=yes \ - ${myconf} - - # make depends break with -f... in CFLAGS - make depend CFLAGS="" || die "make depend problem" - - make || die "compile problem" -} - -src_install() { - # remove perl subdirs from beeing installed - sed "s:SUBDIRS = imap sieve:SUBDIRS =:" ${S}/perl/Makefile > ${S}/perl/Makefile.install - mv ${S}/perl/Makefile ${S}/perl/Makefile.orig - mv ${S}/perl/Makefile.install ${S}/perl/Makefile - - # Install! - make DESTDIR=${D} install || die - - # Fix manpage stuff - rm -rf ${D}usr/man - doman man/*.? - - dodir /etc - cp ${FILESDIR}/imapd.conf ${D}etc/imapd.conf - cp ${FILESDIR}/cyrus.conf ${D}etc/cyrus.conf - dodir /etc/pam.d - cp ${FILESDIR}/pam.d-imap ${D}etc/pam.d/imap - - dodir /var ${D}var/log - touch ${D}var/log/imapd.log - touch ${D}var/log/auth.log - - mkdir -m 0750 ${D}var/imap - chown -R cyrus.mail ${D}var/imap - mkdir -m 0755 ${D}var/imap/db - chown -R cyrus.mail ${D}var/imap/db - mkdir -m 0755 ${D}var/imap/log - chown -R cyrus.mail ${D}var/imap/log - mkdir -m 0755 ${D}var/imap/msg - chown -R cyrus.mail ${D}var/imap/msg - mkdir -m 0755 ${D}var/imap/user - chown -R cyrus.mail ${D}var/imap/user - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/user/$i ; \ - chown -R cyrus.mail ${D}var/imap/user/$i ; done - mkdir -m 0755 ${D}var/imap/proc - chown -R cyrus.mail ${D}var/imap/proc - mkdir -m 0755 ${D}var/imap/quota - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/quota/$i ; \ - chown -R cyrus.mail ${D}var/imap/quota/$i ; done - mkdir -m 0755 ${D}var/imap/sieve - chown -R cyrus.mail ${D}var/imap/sieve - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/imap/sieve/$i ; \ - chown -R cyrus.mail ${D}var/imap/sieve/$i ; done - mkdir -m 0755 ${D}var/imap/socket - chown -R cyrus.mail ${D}var/imap/socket - - dodir /var/spool - mkdir -m 0750 ${D}var/spool/imap - chown -R cyrus.mail ${D}var/spool/imap - mkdir -m 0755 ${D}var/spool/imap/stage. - chown -R cyrus.mail ${D}var/spool/imap/stage. - # For hashimapspool - for i in a b c d e f g h i j k l m n o p q r s t u v w x y z ; do mkdir -m 0755 ${D}var/spool/imap/$i ; \ - chown -R cyrus.mail ${D}var/spool/imap/$i ; done - - - dodoc COPYRIGHT README* - dohtml doc/*.html doc/murder.png - cp doc/cyrusv2.mc ${D}usr/share/doc/${PF}/html - cp -r contrib tools ${D}usr/share/doc/${PF} - - # Remove the CVS directories - find 2>/dev/null ${D}usr/share/doc/ -type d -name CVS -exec rm -rf '{}' \; - - exeinto /etc/init.d ; newexe ${FILESDIR}/cyrus.rc6 cyrus - - if use perl ; then - export DESTDIR=${D} - cd ${S}/perl/imap - perl-module_src_prep - perl-module_src_compile - perl-module_src_test - perl-module_src_install - cd ${S}/perl/sieve/acap - perl-module_src_prep - perl-module_src_compile - perl-module_src_test - perl-module_src_install - cd ${S}/perl/sieve/acap/managesieve - perl-module_src_prep - perl-module_src_compile - perl-module_src_test - perl-module_src_install - fi - - # remove empty log files installed by default - rm ${D}/var/log/{auth,imapd}.log - -} - -pkg_postinst() { - ewarn "If you change the fs-type of /var/imap or" - ewarn "/var/spool/imap you should read step 9 of" - ewarn "/usr/share/doc/${P}/html/install-configure.html." - echo "" - - if df -T /var/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/imap/user/* and /var/imap/quota/* to synchronous" - ewarn "updates." - chattr +S /var/imap/user /var/imap/user/* /var/imap/quota /var/imap/quota/* - echo "" - fi - - if df -T /var/spool/imap | grep -q ' ext[23] ' ; then - ewarn "Setting /var/spool/imap/* to synchronous updates." - chattr +S /var/spool/imap /var/spool/imap/* - echo "" - fi - - ewarn "If the queue directory of the mail daemon resides on an ext2" - ewarn "or ext3 partition you need to set it manually to update" - ewarn "synchronously. E.g. 'chattr +S /var/spool/mqueue'." - echo "" - - einfo "For correct logging add" - einfo "\tlocal6.* /var/log/imapd.log" - einfo "\tauth.debug /var/log/auth.log" - einfo "to /etc/syslog.conf." - echo "" - - if [ "'use ssl'" ]; then - ewarn "Read the section about SSL and TLS of" - ewarn "/usr/share/doc/${P}/html/install-configure.html." - ewarn "about installing the needed keys." - fi -} - diff --git a/net-mail/cyrus-imapd/files/config.diff b/net-mail/cyrus-imapd/files/config.diff deleted file mode 100644 index 49ac51c55e66..000000000000 --- a/net-mail/cyrus-imapd/files/config.diff +++ /dev/null @@ -1,14 +0,0 @@ ---- configure Tue Sep 10 15:30:44 2002 -+++ configure.modified Tue Sep 10 15:30:34 2002 -@@ -4036,9 +4036,9 @@ - - - ;; -- *) OPENSSL_INC="-I${with_openssl}/include" -+ *) OPENSSL_INC="" - OPENSSL_LIB="-L${with_openssl}/lib" -- CPPFLAGS="${CPPFLAGS} ${OPENSSL_INC}" -+ CPPFLAGS="${CPPFLAGS}" - LDFLAGS="${LDFLAGS} ${OPENSSL_LIB}" - LIBS="${LIBS} -lssl -lcrypto";; - esac diff --git a/net-mail/cyrus-imapd/files/cyrus.rc6 b/net-mail/cyrus-imapd/files/cyrus.rc6 deleted file mode 100644 index 1b9fe5718ebb..000000000000 --- a/net-mail/cyrus-imapd/files/cyrus.rc6 +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/cyrus.rc6,v 1.2 2003/02/14 23:02:56 vapier Exp $ - -depend() { - need net - after saslauthd -} - -start() { - ebegin "Starting Cyrus imapd" - start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/cyrus.pid --exec /usr/cyrus/bin/master - eend $? -} - -stop() { - ebegin "Stopping Cyrus imapd" - start-stop-daemon --stop --quiet --pidfile /var/run/cyrus.pid - rm /var/run/cyrus.pid - eend $? -} diff --git a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.11 b/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.11 deleted file mode 100644 index b65aec333d9e..000000000000 --- a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.11 +++ /dev/null @@ -1 +0,0 @@ -MD5 5742500ce1f6c655d1a49273d8b46261 cyrus-imapd-2.1.11.tar.gz 1646196 diff --git a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.12 b/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.12 deleted file mode 100644 index a1facafbb82d..000000000000 --- a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.12 +++ /dev/null @@ -1 +0,0 @@ -MD5 dc3355d0170509ccebd9788ed2daad39 cyrus-imapd-2.1.12.tar.gz 1664202 diff --git a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.5-r2 b/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.5-r2 deleted file mode 100644 index 0ef6f5ee45b9..000000000000 --- a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.5-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 86eb126e818f998cf7ff2e1fe1a09cb3 cyrus-imapd-2.1.5.tar.gz 1627592 diff --git a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.9 b/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.9 deleted file mode 100644 index 4613b3ff368d..000000000000 --- a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.9 +++ /dev/null @@ -1 +0,0 @@ -MD5 09e9a5ad1d20c0650b3787b951d2e86f cyrus-imapd-2.1.9.tar.gz 1633031 diff --git a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.9-r1 b/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.9-r1 deleted file mode 100644 index 4613b3ff368d..000000000000 --- a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.9-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 09e9a5ad1d20c0650b3787b951d2e86f cyrus-imapd-2.1.9.tar.gz 1633031 diff --git a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.9-r2 b/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.9-r2 deleted file mode 100644 index 4613b3ff368d..000000000000 --- a/net-mail/cyrus-imapd/files/digest-cyrus-imapd-2.1.9-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 09e9a5ad1d20c0650b3787b951d2e86f cyrus-imapd-2.1.9.tar.gz 1633031 diff --git a/net-mail/cyrus-imapd/files/imapd.conf b/net-mail/cyrus-imapd/files/imapd.conf deleted file mode 100644 index 84a58bd8647a..000000000000 --- a/net-mail/cyrus-imapd/files/imapd.conf +++ /dev/null @@ -1,22 +0,0 @@ -# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/imapd.conf,v 1.1 2002/07/13 21:56:06 raker Exp $ -# -# Don't forget to use chattr +S (if you are using ext[23]) -# when you change these directories (read the docs). -configdirectory: /var/imap -partition-default: /var/spool/imap -sievedir: /var/imap/sieve - -# Don't use an everyday user as admin. -admins: cyrus - -hashimapspool: yes -allowanonymouslogin: no -allowplaintext: no - -# Use this if sieve-scripts could be in ~user/.sieve. -#sieveusehomedir: yes - -# Use saslauthd if you want to use pam for imap. -# But be warned: login with DIGEST-MD5 or CRAM-MD5 -# is not possible using pam. -#sasl_pwcheck_method: saslauthd diff --git a/net-mail/fetchmail/Manifest b/net-mail/fetchmail/Manifest index 6f55927a0264..bbd7c2df34ca 100644 --- a/net-mail/fetchmail/Manifest +++ b/net-mail/fetchmail/Manifest @@ -1,17 +1,13 @@ -MD5 3153e54df9fb507dc7ae0bd8be50fb4c ChangeLog 5383 -MD5 90d4a4ecf8b547ecec843fc2ec9c8315 fetchmail-6.2.2.ebuild 1788 -MD5 99d40ddff2edffdce93d5bd7d9bb42ec fetchmail-6.2.2-r1.ebuild 1984 +MD5 888192613c9923b973b03ec5cbfec9d9 ChangeLog 5383 MD5 d7a2a5454208f393dcfbf0c9ebad98c9 fetchmail-5.9.14.ebuild 1941 -MD5 d6495f128b17c6db763d2643fffd4381 fetchmail-6.2.2-r2.ebuild 1947 MD5 64bf477646087eebe46e8acd9e3c3dac fetchmail-6.2.1-r1.ebuild 1789 -MD5 f6bb533591550f2f5978892a3e0a6fc6 files/conf.d-fetchmail 359 +MD5 71e6bdc8a05311118f8c32cdecf2e64a fetchmail-6.2.2-r2.ebuild 2053 MD5 1dd80e46bd5b02949ba0686086a37570 files/configure-5.9.14.diff 2046 -MD5 72af1b79f1e6aab29edbdefdcce8c1c7 files/digest-fetchmail-6.2.2 68 MD5 83f3d182af36573e8d7264ee440445ee files/digest-fetchmail-5.9.14 68 -MD5 72af1b79f1e6aab29edbdefdcce8c1c7 files/digest-fetchmail-6.2.2-r1 68 -MD5 74bad5b4190b32597543a61ed0c7ec7a files/fetchmail-6.2.2-multiple-return-path.diff 1142 +MD5 5b0a50b0a0193afbcb7eff9ac3d5fcb7 files/digest-fetchmail-6.2.1-r1 68 MD5 c9baecd4bea485a075f696462c9ab6cc files/fetchmail 581 MD5 19b3a189b664bb1fb0a228c1b2bcd5f2 files/fetchmail-6.1.0-gentoo.diff 542 -MD5 72af1b79f1e6aab29edbdefdcce8c1c7 files/digest-fetchmail-6.2.2-r2 68 MD5 c162c209d65c11b6cbdd7c33fd411b90 files/fetchmail-6.2.0-gentoo.diff 1544 -MD5 5b0a50b0a0193afbcb7eff9ac3d5fcb7 files/digest-fetchmail-6.2.1-r1 68 +MD5 f6bb533591550f2f5978892a3e0a6fc6 files/conf.d-fetchmail 359 +MD5 72af1b79f1e6aab29edbdefdcce8c1c7 files/digest-fetchmail-6.2.2-r2 68 +MD5 74bad5b4190b32597543a61ed0c7ec7a files/fetchmail-6.2.2-multiple-return-path.diff 1142 diff --git a/net-mail/fetchmail/fetchmail-6.2.2-r1.ebuild b/net-mail/fetchmail/fetchmail-6.2.2-r1.ebuild deleted file mode 100644 index 9d15eabec6a1..000000000000 --- a/net-mail/fetchmail/fetchmail-6.2.2-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.2.2-r1.ebuild,v 1.2 2003/03/31 19:56:18 avenj Exp $ - -inherit eutils - -DESCRIPTION="Fetchmail is a full-featured remote-mail retrieval and forwarding utility" -HOMEPAGE="http://www.catb.org/~esr/fetchmail/" -SRC_URI="http://www.catb.org/~esr/fetchmail/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2 public-domain" -KEYWORDS="x86 ~alpha" -IUSE="ssl nls ipv6" - -DEPEND="virtual/glibc - ssl? ( >=dev-libs/openssl-0.9.6 ) - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/fetchmail-6.2.0-gentoo.diff || die -} - -src_compile() { - local myconf - use ssl && myconf="${myconf} --with-ssl=/usr" - use nls || myconf="${myconf} --disable-nls" - use ipv6 && myconf="${myconf} --enable-inet6" - econf \ - --enable-RPA \ - --enable-NTLM \ - --enable-SDPS \ - ${myconf} || die "Configuration failed." - emake || die "Compilation failed." -} - -src_install() { - einstall || die - - dohtml *.html - - dodoc FAQ FEATURES ABOUT-NLS NEWS NOTES README \ - README.NTLM README.SSL TODO COPYING MANIFEST - - doman ${D}/usr/share/man/*.1 - rm -f ${D}/usr/share/man/*.1 - - exeinto /etc/init.d - doexe ${FILESDIR}/fetchmail - - insinto /etc/conf.d - newins ${FILESDIR}/conf.d-fetchmail fetchmail - - docinto contrib - local f - for f in contrib/* - do - [ -f "${f}" ] && dodoc "${f}" - done -} - -pkg_postinst() { - if ! python -c "import Tkinter" >/dev/null 2>&1 - then - einfo - einfo "You will not be able to use fetchmailconf(1), because you" - einfo "don't seem to have Python with tkinter support." - einfo - einfo "If you want to be able to use fetchmailconf(1), do the following:" - einfo " 1. Include 'tcltk' in USE variable in your /etc/make.conf." - einfo " 2. (Re-)merge Python." - einfo - fi - - einfo "Please see /etc/conf.d/fetchmail if you want to adjust" - einfo "the polling delay used by the fetchmail init script." -} diff --git a/net-mail/fetchmail/fetchmail-6.2.2.ebuild b/net-mail/fetchmail/fetchmail-6.2.2.ebuild deleted file mode 100644 index 3002b721b8ff..000000000000 --- a/net-mail/fetchmail/fetchmail-6.2.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.2.2.ebuild,v 1.2 2003/03/26 00:37:35 drobbins Exp $ - -inherit eutils - -DESCRIPTION="Fetchmail is a full-featured remote-mail retrieval and forwarding utility" -HOMEPAGE="http://www.catb.org/~esr/fetchmail/" -SRC_URI="http://www.catb.org/~esr/fetchmail/${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2 public-domain" -KEYWORDS="x86 ~alpha" -IUSE="ssl nls ipv6" - -DEPEND="virtual/glibc - ssl? ( >=dev-libs/openssl-0.9.6 ) - nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/fetchmail-6.2.0-gentoo.diff || die -} - -src_compile() { - local myconf - use ssl && myconf="${myconf} --with-ssl=/usr" - use nls || myconf="${myconf} --disable-nls" - use ipv6 && myconf="${myconf} --enable-inet6" - econf \ - --enable-RPA \ - --enable-NTLM \ - --enable-SDPS \ - ${myconf} || die "Configuration failed." - emake || die "Compilation failed." -} - -src_install() { - einstall || die - - dohtml *.html - - dodoc FAQ FEATURES ABOUT-NLS NEWS NOTES README \ - README.NTLM README.SSL TODO COPYING MANIFEST - - doman ${D}/usr/share/man/*.1 - rm -f ${D}/usr/share/man/*.1 - - exeinto /etc/init.d - doexe ${FILESDIR}/fetchmail - - docinto contrib - local f - for f in contrib/* - do - [ -f "${f}" ] && dodoc "${f}" - done -} - -pkg_postinst() { - if ! python -c "import Tkinter" >/dev/null 2>&1 - then - einfo - einfo "You will not be able to use fetchmailconf(1), because you" - einfo "don't seem to have Python with tkinter support." - einfo - einfo "If you want to be able to use fetchmailconf(1), do the following:" - einfo " 1. Include 'tcltk' in USE variable in your /etc/make.conf." - einfo " 2. (Re-)merge Python." - einfo - fi -} diff --git a/net-mail/fetchmail/files/digest-fetchmail-6.2.2 b/net-mail/fetchmail/files/digest-fetchmail-6.2.2 deleted file mode 100644 index a1f977811cec..000000000000 --- a/net-mail/fetchmail/files/digest-fetchmail-6.2.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 b3544890a2452b5b04c709c65109c43a fetchmail-6.2.2.tar.gz 1205198 diff --git a/net-mail/fetchmail/files/digest-fetchmail-6.2.2-r1 b/net-mail/fetchmail/files/digest-fetchmail-6.2.2-r1 deleted file mode 100644 index a1f977811cec..000000000000 --- a/net-mail/fetchmail/files/digest-fetchmail-6.2.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b3544890a2452b5b04c709c65109c43a fetchmail-6.2.2.tar.gz 1205198 diff --git a/net-mail/mailman/Manifest b/net-mail/mailman/Manifest index 64a90dc8cf46..b3d120168951 100644 --- a/net-mail/mailman/Manifest +++ b/net-mail/mailman/Manifest @@ -1,15 +1,7 @@ -MD5 ea28f9c1907e2ce2ded3f9322ff2e38d mailman-2.0.12.ebuild 2083 -MD5 ce6937efe1b9b2c81907050e31e34378 mailman-2.1.1-r1.ebuild 2712 -MD5 56d0300c139c8e9d0db16c662ca92f59 mailman-2.1.1.ebuild 2482 -MD5 a7700a2cb6070e1977b8f9ef790c67ad mailman-2.1.ebuild 2489 -MD5 ddc361a8f2c9e4ae26324c5846665cef mailman-2.1.1-r2.ebuild 2713 MD5 04c7220a7f0eb8ce7d7da969992b1c87 ChangeLog 1486 +MD5 ddc361a8f2c9e4ae26324c5846665cef mailman-2.1.1-r2.ebuild 2713 MD5 648adfcb9a609c3b9977421a2b8eb606 mailman-2.1.1-r3.ebuild 2867 MD5 9e00a0641afbe041944feb97bfb5f80d files/README.gentoo 1370 -MD5 55be2eab933580039c9feb4796c3bcf9 files/digest-mailman-2.0.12 63 -MD5 2172743b0a9160821702fe304a875392 files/digest-mailman-2.1 61 -MD5 3163b3164584897610113805a484fd2d files/digest-mailman-2.1.1 63 -MD5 3163b3164584897610113805a484fd2d files/digest-mailman-2.1.1-r1 63 MD5 fe71ab4dfe5cf773c56053a21ce6a7d6 files/mailman.conf 410 MD5 4e8df002cf51ad9f2f2195c26246aaba files/mailman.rc 559 MD5 3163b3164584897610113805a484fd2d files/digest-mailman-2.1.1-r2 63 diff --git a/net-mail/mailman/files/digest-mailman-2.0.12 b/net-mail/mailman/files/digest-mailman-2.0.12 deleted file mode 100644 index b978380555de..000000000000 --- a/net-mail/mailman/files/digest-mailman-2.0.12 +++ /dev/null @@ -1 +0,0 @@ -MD5 94999f0954ff91e880a2102717c0474e mailman-2.0.12.tgz 415993 diff --git a/net-mail/mailman/files/digest-mailman-2.1 b/net-mail/mailman/files/digest-mailman-2.1 deleted file mode 100644 index 143990dab9b5..000000000000 --- a/net-mail/mailman/files/digest-mailman-2.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 d486abaa1404e2fe93d72d3cdd9c84af mailman-2.1.tgz 5466418 diff --git a/net-mail/mailman/files/digest-mailman-2.1.1 b/net-mail/mailman/files/digest-mailman-2.1.1 deleted file mode 100644 index 16cd1f01a87b..000000000000 --- a/net-mail/mailman/files/digest-mailman-2.1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 7f7cdc52a40a17a2c7ee91c5f4dd675d mailman-2.1.1.tgz 5473754 diff --git a/net-mail/mailman/files/digest-mailman-2.1.1-r1 b/net-mail/mailman/files/digest-mailman-2.1.1-r1 deleted file mode 100644 index 16cd1f01a87b..000000000000 --- a/net-mail/mailman/files/digest-mailman-2.1.1-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 7f7cdc52a40a17a2c7ee91c5f4dd675d mailman-2.1.1.tgz 5473754 diff --git a/net-mail/mailman/mailman-2.0.12.ebuild b/net-mail/mailman/mailman-2.0.12.ebuild deleted file mode 100644 index e542437da44b..000000000000 --- a/net-mail/mailman/mailman-2.0.12.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.0.12.ebuild,v 1.9 2003/02/13 14:33:42 vapier Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="GNU Mailman, the mailing list server with webinterface" -SRC_URI="ftp://ftp.gnu.org/gnu/mailman/mailman-2.0.12.tgz" -HOMEPAGE="http://www.list.org/" - -SLOT="O" -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc " - -DEPEND=">=dev-lang/python-1.5.2 - virtual/mta - net-www/apache" - -INSTALLDIR="/var/mailman" -APACHEGID="81" -MAILGID="65534" - -pkg_setup() { - if ! grep -q ^mailman: /etc/group ; then - groupadd -g 280 mailman || die "problem adding group mailman" - fi - if ! grep -q ^mailman: /etc/passwd ; then - useradd -u 280 -g mailman -G cron -s /bin/bash \ - -d ${INSTALLDIR} -c "mailman" mailman - fi - mkdir -p ${INSTALLDIR} - chown mailman.mailman ${INSTALLDIR} - chmod 2775 ${INSTALLDIR} -} - -src_compile() { - cd ${S} - ./configure \ - --prefix=${INSTALLDIR} \ - --with-mail-gid=${MAILGID} \ - --with-cgi-gid=${APACHEGID} - make || die -} - -src_install () { - ID=${D}${INSTALLDIR} - cd ${S} - mkdir -p ${ID} - chown -R mailman.mailman ${ID} - chmod 2775 ${ID} - make prefix=${ID} var_prefix=${ID} doinstall || die - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mailman.conf - - dodoc ${FILESDIR}/README.gentoo - dodoc ACK* BUGS FAQ NEWS README* TODO UPGRADING -} - -pkg_postinst() { - cd ${INSTALLDIR} - bin/update - bin/check_perms -f - einfo - einfo "Please read /usr/share/doc/${P}/README.gentoo.gz for additional" - einfo "Setup information, mailman will NOT run unless you follow" - einfo "those instructions!" -} - -pkg_config() { - einfo "Updating apache config" - einfo "added: \"Include conf/addon-modules/mailman.conf\"" - einfo "to ${ROOT}/etc/apache/conf/apache.conf" - echo "Include conf/addon-modules/mailman.conf" \ - >> ${ROOT}/etc/apache/conf/apache.conf -} diff --git a/net-mail/mailman/mailman-2.1.1-r1.ebuild b/net-mail/mailman/mailman-2.1.1-r1.ebuild deleted file mode 100644 index 271c40ca30ec..000000000000 --- a/net-mail/mailman/mailman-2.1.1-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.1-r1.ebuild,v 1.1 2003/04/18 22:44:25 mholzer Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="GNU Mailman, the mailing list server with webinterface" -SRC_URI="mirror://gnu/${PN}/${P}.tgz" -HOMEPAGE="http://www.list.org/" - -SLOT="O" -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc " - -DEPEND=">=dev-lang/python-1.5.2 - virtual/mta - net-www/apache" - -INSTALLDIR="/var/mailman" -APACHEGID="81" -MAILGID="65534" - -pkg_setup() { - if ! grep -q ^mailman: /etc/group ; then - groupadd -g 280 mailman || die "problem adding group mailman" - fi - if ! grep -q ^mailman: /etc/passwd ; then - useradd -u 280 -g mailman -G cron -s /bin/bash \ - -d ${INSTALLDIR} -c "mailman" mailman - fi - mkdir -p ${INSTALLDIR} - chown mailman.mailman ${INSTALLDIR} - chmod 2775 ${INSTALLDIR} -} - -src_compile() { - cd ${S} - ./configure \ - --prefix=${INSTALLDIR} \ - --with-mail-gid=${MAILGID} \ - --with-cgi-gid=${APACHEGID} - make || die -} - -src_install () { - ID=${D}${INSTALLDIR} - cd ${S} - mkdir -p ${ID} - chown -R mailman.mailman ${ID} - chmod 2775 ${ID} - make prefix=${ID} var_prefix=${ID} doinstall || die - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mailman.conf - - dodoc ${FILESDIR}/README.gentoo - dodoc ACK* BUGS FAQ NEWS README* TODO UPGRADING - dodoc contrib/README.check_perms_grsecurity contrib/mm-handler.readme - dodoc contrib/virtusertable contrib/mailman.mc - - cp contrib/*.py contrib/majordomo2mailman.pl contrib/auto \ - contrib/mm-handler* ${D}/var/mailman/bin - - # Save the old config into the new package as CONFIG_PROTECT - # doesn't work for this package. - if [ -f ${ROOT}/var/mailman/Mailman/mm_cfg.py ]; then - rm ${D}/var/mailman/Mailman/mm_cfg.py - cp ${ROOT}/var/mailman/Mailman/mm_cfg.py \ - ${D}/var/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved." - einfo "A new config has been installed as mm_cfg.py.dist" - fi - - exeinto /etc/init.d - newexe ${FILESDIR}/mailman.rc mailman - } - -pkg_postinst() { - cd ${INSTALLDIR} - bin/update - bin/check_perms -f - einfo - einfo "Please read /usr/share/doc/${PF}/README.gentoo.gz for additional" - einfo "Setup information, mailman will NOT run unless you follow" - einfo "those instructions!" -} - -pkg_config() { - einfo "Updating apache config" - einfo "added: \"Include conf/addon-modules/mailman.conf\"" - einfo "to ${ROOT}/etc/apache/conf/apache.conf" - echo "Include conf/addon-modules/mailman.conf" \ - >> ${ROOT}/etc/apache/conf/apache.conf -} diff --git a/net-mail/mailman/mailman-2.1.1.ebuild b/net-mail/mailman/mailman-2.1.1.ebuild deleted file mode 100644 index ef94dd4502d5..000000000000 --- a/net-mail/mailman/mailman-2.1.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.1.ebuild,v 1.1 2003/02/17 08:39:30 aliz Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="GNU Mailman, the mailing list server with webinterface" -SRC_URI="mirror://gnu/mailman/${P}.tgz" -HOMEPAGE="http://www.list.org/" - -SLOT="O" -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc " - -DEPEND=">=dev-lang/python-1.5.2 - virtual/mta - net-www/apache" - -INSTALLDIR="/var/mailman" -APACHEGID="81" -MAILGID="65534" - -pkg_setup() { - if ! grep -q ^mailman: /etc/group ; then - groupadd -g 280 mailman || die "problem adding group mailman" - fi - if ! grep -q ^mailman: /etc/passwd ; then - useradd -u 280 -g mailman -G cron -s /bin/bash \ - -d ${INSTALLDIR} -c "mailman" mailman - fi - mkdir -p ${INSTALLDIR} - chown mailman.mailman ${INSTALLDIR} - chmod 2775 ${INSTALLDIR} -} - -src_compile() { - cd ${S} - ./configure \ - --prefix=${INSTALLDIR} \ - --with-mail-gid=${MAILGID} \ - --with-cgi-gid=${APACHEGID} - make || die -} - -src_install () { - ID=${D}${INSTALLDIR} - cd ${S} - mkdir -p ${ID} - chown -R mailman.mailman ${ID} - chmod 2775 ${ID} - make prefix=${ID} var_prefix=${ID} doinstall || die - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mailman.conf - - dodoc ${FILESDIR}/README.gentoo - dodoc ACK* BUGS FAQ NEWS README* TODO UPGRADING - # Save the old config into the new package as CONFIG_PROTECT - # doesn't work for this package. - if [ -f ${ROOT}/var/mailman/Mailman/mm_cfg.py ]; then - rm ${D}/var/mailman/Mailman/mm_cfg.py - cp ${ROOT}/var/mailman/Mailman/mm_cfg.py \ - ${D}/var/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved." - einfo "A new config has been installed as mm_cfg.py.dist" - fi - - exeinto /etc/init.d - newexe ${FILESDIR}/mailman.rc mailman - } - -pkg_postinst() { - cd ${INSTALLDIR} - bin/update - bin/check_perms -f - einfo - einfo "Please read /usr/share/doc/${P}/README.gentoo.gz for additional" - einfo "Setup information, mailman will NOT run unless you follow" - einfo "those instructions!" -} - -pkg_config() { - einfo "Updating apache config" - einfo "added: \"Include conf/addon-modules/mailman.conf\"" - einfo "to ${ROOT}/etc/apache/conf/apache.conf" - echo "Include conf/addon-modules/mailman.conf" \ - >> ${ROOT}/etc/apache/conf/apache.conf -} diff --git a/net-mail/mailman/mailman-2.1.ebuild b/net-mail/mailman/mailman-2.1.ebuild deleted file mode 100644 index 729135906ea2..000000000000 --- a/net-mail/mailman/mailman-2.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailman/mailman-2.1.ebuild,v 1.3 2003/02/13 14:33:48 vapier Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="GNU Mailman, the mailing list server with webinterface" -SRC_URI="mirror://gnu/mailman/mailman-2.1.tgz" -HOMEPAGE="http://www.list.org/" - -SLOT="O" -LICENSE="GPL-2" -KEYWORDS="~x86 ~sparc " - -DEPEND=">=dev-lang/python-1.5.2 - virtual/mta - net-www/apache" - -INSTALLDIR="/var/mailman" -APACHEGID="81" -MAILGID="65534" - -pkg_setup() { - if ! grep -q ^mailman: /etc/group ; then - groupadd -g 280 mailman || die "problem adding group mailman" - fi - if ! grep -q ^mailman: /etc/passwd ; then - useradd -u 280 -g mailman -G cron -s /bin/bash \ - -d ${INSTALLDIR} -c "mailman" mailman - fi - mkdir -p ${INSTALLDIR} - chown mailman.mailman ${INSTALLDIR} - chmod 2775 ${INSTALLDIR} -} - -src_compile() { - cd ${S} - ./configure \ - --prefix=${INSTALLDIR} \ - --with-mail-gid=${MAILGID} \ - --with-cgi-gid=${APACHEGID} - make || die -} - -src_install () { - ID=${D}${INSTALLDIR} - cd ${S} - mkdir -p ${ID} - chown -R mailman.mailman ${ID} - chmod 2775 ${ID} - make prefix=${ID} var_prefix=${ID} doinstall || die - insinto /etc/apache/conf/addon-modules - doins ${FILESDIR}/mailman.conf - - dodoc ${FILESDIR}/README.gentoo - dodoc ACK* BUGS FAQ NEWS README* TODO UPGRADING - # Save the old config into the new package as CONFIG_PROTECT - # doesn't work for this package. - if [ -f ${ROOT}/var/mailman/Mailman/mm_cfg.py ]; then - rm ${D}/var/mailman/Mailman/mm_cfg.py - cp ${ROOT}/var/mailman/Mailman/mm_cfg.py \ - ${D}/var/mailman/Mailman/mm_cfg.py - einfo "Your old config has been saved." - einfo "A new config has been installed as mm_cfg.py.dist" - fi - - exeinto /etc/init.d - newexe ${FILESDIR}/mailman.rc mailman - } - -pkg_postinst() { - cd ${INSTALLDIR} - bin/update - bin/check_perms -f - einfo - einfo "Please read /usr/share/doc/${P}/README.gentoo.gz for additional" - einfo "Setup information, mailman will NOT run unless you follow" - einfo "those instructions!" -} - -pkg_config() { - einfo "Updating apache config" - einfo "added: \"Include conf/addon-modules/mailman.conf\"" - einfo "to ${ROOT}/etc/apache/conf/apache.conf" - echo "Include conf/addon-modules/mailman.conf" \ - >> ${ROOT}/etc/apache/conf/apache.conf -} diff --git a/net-mail/qmail-scanner/Manifest b/net-mail/qmail-scanner/Manifest new file mode 100644 index 000000000000..879e414d3e02 --- /dev/null +++ b/net-mail/qmail-scanner/Manifest @@ -0,0 +1,5 @@ +MD5 ad7f17def896f49d73f79ac9a39f5200 ChangeLog 1495 +MD5 48909ffbdce4f89d0bcbe54f2bb6c11d qmail-scanner-1.16.ebuild 2773 +MD5 fc085a869188e3c4cb27dfaf2a2c19fb qmail-scanner-1.16-r1.ebuild 2786 +MD5 21cbccfc2015bf74d509a5b329ef4b30 files/digest-qmail-scanner-1.16 67 +MD5 21cbccfc2015bf74d509a5b329ef4b30 files/digest-qmail-scanner-1.16-r1 67 diff --git a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.13 b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.13 deleted file mode 100644 index f2bef7c26abf..000000000000 --- a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.13 +++ /dev/null @@ -1 +0,0 @@ -MD5 45c4e2cb1c07bf7849b29a6f3a3f1524 qmail-scanner-1.13.tgz 126048 diff --git a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.14 b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.14 deleted file mode 100644 index e4037b4d9cbb..000000000000 --- a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.14 +++ /dev/null @@ -1 +0,0 @@ -MD5 cee9cea651a614793ec1b642c3fa782c qmail-scanner-1.14.tgz 113087 diff --git a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.15 b/net-mail/qmail-scanner/files/digest-qmail-scanner-1.15 deleted file mode 100644 index 4540e222ea88..000000000000 --- a/net-mail/qmail-scanner/files/digest-qmail-scanner-1.15 +++ /dev/null @@ -1 +0,0 @@ -MD5 3d81a80d6ae5f25377a2828e9b0a60d0 qmail-scanner-1.15.tgz 144287 diff --git a/net-mail/qmail-scanner/qmail-scanner-1.13.ebuild b/net-mail/qmail-scanner/qmail-scanner-1.13.ebuild deleted file mode 100644 index 9281ac8663ab..000000000000 --- a/net-mail/qmail-scanner/qmail-scanner-1.13.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/qmail-scanner-1.13.ebuild,v 1.5 2003/03/11 21:11:46 seemant Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="E-Mail virus scanner for qmail." -HOMEPAGE="http://qmail-scanner.sourceforge.net/" -SRC_URI="mirror://sourceforge/qmail-scanner/${P}.tgz" - - -DEPEND=">=dev-lang/perl-5.6.1-r1 - >=dev-perl/Time-HiRes-01.20 - >=net-mail/tnef-1.1.1 - >=net-mail/f-prot-3.12a - >=net-mail/maildrop-1.3.9 - >=dev-perl/DB_File-1.803 - >=net-mail/qmail-1.03-r8 - >=app-arch/unzip-5.42-r1" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc " - -src_compile () { - yes | PATH=${PATH}:/opt/f-prot ./configure \ - --domain localhost \ - || die "./configure failed!" -} - -src_install () { - - # Create Directory Structure - diropts -m 755 -o qmailq -g qmail - dodir /var/spool/qmailscan - dodir /var/spool/qmailscan/quarantine - dodir /var/spool/qmailscan/quarantine/tmp - dodir /var/spool/qmailscan/quarantine/new - dodir /var/spool/qmailscan/quarantine/cur - dodir /var/spool/qmailscan/working - dodir /var/spool/qmailscan/working/tmp - dodir /var/spool/qmailscan/working/new - dodir /var/spool/qmailscan/working/cur - dodir /var/spool/qmailscan/archive - dodir /var/spool/qmailscan/archive/tmp - dodir /var/spool/qmailscan/archive/new - dodir /var/spool/qmailscan/archive/cur - - # Install standard quarantine attachments file - insinto /var/spool/qmailscan - insopts -m 644 -o qmailq -g qmail - doins quarantine-attachments.txt - - # Install qmail-scanner script - insinto /var/qmail/bin - insopts -m 4755 -o qmailq -g qmail - doins qmail-scanner-queue.pl - - # Install documentation - dodoc README CHANGES COPYING - dohtml README.html -} - -pkg_postinst () { - # Setup perlscanner + Version Info - /var/qmail/bin/qmail-scanner-queue.pl -z - /var/qmail/bin/qmail-scanner-queue.pl -g - - einfo - einfo "NOTICE:" - einfo "Set QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl" - einfo "in your /etc/tcp.smtp file to activate qmail-scanner." - einfo -} diff --git a/net-mail/qmail-scanner/qmail-scanner-1.14.ebuild b/net-mail/qmail-scanner/qmail-scanner-1.14.ebuild deleted file mode 100644 index e3479fcb4de0..000000000000 --- a/net-mail/qmail-scanner/qmail-scanner-1.14.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/qmail-scanner-1.14.ebuild,v 1.5 2003/03/11 21:11:46 seemant Exp $ - -S=${WORKDIR}/${P} - -DESCRIPTION="E-Mail virus scanner for qmail." -HOMEPAGE="http://qmail-scanner.sourceforge.net/" -SRC_URI="mirror://sourceforge/qmail-scanner/${P}.tgz" - -DEPEND=">=dev-lang/perl-5.6.1-r1 - >=dev-perl/Time-HiRes-01.20 - >=net-mail/tnef-1.1.1 - >=net-mail/f-prot-3.12a - >=net-mail/maildrop-1.3.9 - >=dev-perl/DB_File-1.803 - >=net-mail/qmail-1.03-r8 - >=app-arch/unzip-5.42-r1" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc " - -src_compile () { - yes | PATH=${PATH}:/opt/f-prot ./configure \ - --domain localhost \ - || die "./configure failed!" -} - -src_install () { - - # Create Directory Structure - diropts -m 755 -o qmailq -g qmail - dodir /var/spool/qmailscan - dodir /var/spool/qmailscan/quarantine - dodir /var/spool/qmailscan/quarantine/tmp - dodir /var/spool/qmailscan/quarantine/new - dodir /var/spool/qmailscan/quarantine/cur - dodir /var/spool/qmailscan/working - dodir /var/spool/qmailscan/working/tmp - dodir /var/spool/qmailscan/working/new - dodir /var/spool/qmailscan/working/cur - dodir /var/spool/qmailscan/archive - dodir /var/spool/qmailscan/archive/tmp - dodir /var/spool/qmailscan/archive/new - dodir /var/spool/qmailscan/archive/cur - - # Install standard quarantine attachments file - insinto /var/spool/qmailscan - insopts -m 644 -o qmailq -g qmail - doins quarantine-attachments.txt - - # Install qmail-scanner script - insinto /var/qmail/bin - insopts -m 4755 -o qmailq -g qmail - doins qmail-scanner-queue.pl - - # Install documentation - dodoc README CHANGES COPYING - dohtml README.html -} - -pkg_postinst () { - # Setup perlscanner + Version Info - /var/qmail/bin/qmail-scanner-queue.pl -z - /var/qmail/bin/qmail-scanner-queue.pl -g - - einfo - einfo "NOTICE:" - einfo "Set QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl" - einfo "in your /etc/tcp.smtp file to activate qmail-scanner." - einfo -} diff --git a/net-mail/qmail-scanner/qmail-scanner-1.15.ebuild b/net-mail/qmail-scanner/qmail-scanner-1.15.ebuild deleted file mode 100644 index 704f9f15c684..000000000000 --- a/net-mail/qmail-scanner/qmail-scanner-1.15.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/qmail-scanner/qmail-scanner-1.15.ebuild,v 1.4 2003/03/11 21:11:46 seemant Exp $ - -S=${WORKDIR}/${P} - -DESCRIPTION="E-Mail virus scanner for qmail." -HOMEPAGE="http://qmail-scanner.sourceforge.net/" -SRC_URI="mirror://sourceforge/qmail-scanner/${P}.tgz" - -DEPEND=">=dev-lang/perl-5.6.1-r1 - >=dev-perl/Time-HiRes-01.20-r2 - >=net-mail/tnef-1.1.1 - >=net-mail/f-prot-3.12a - >=net-mail/maildrop-1.3.9 - >=dev-perl/DB_File-1.803-r2 - >=net-mail/qmail-1.03-r8 - >=app-arch/unzip-5.42-r1" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc " - -src_compile () { - yes | PATH=${PATH}:/opt/f-prot ./configure \ - --domain localhost \ - || die "./configure failed!" -} - -src_install () { - - # Create Directory Structure - diropts -m 755 -o qmailq -g qmail - dodir /var/spool/qmailscan - dodir /var/spool/qmailscan/quarantine - dodir /var/spool/qmailscan/quarantine/tmp - dodir /var/spool/qmailscan/quarantine/new - dodir /var/spool/qmailscan/quarantine/cur - dodir /var/spool/qmailscan/working - dodir /var/spool/qmailscan/working/tmp - dodir /var/spool/qmailscan/working/new - dodir /var/spool/qmailscan/working/cur - dodir /var/spool/qmailscan/archive - dodir /var/spool/qmailscan/archive/tmp - dodir /var/spool/qmailscan/archive/new - dodir /var/spool/qmailscan/archive/cur - - # Install standard quarantine attachments file - insinto /var/spool/qmailscan - insopts -m 644 -o qmailq -g qmail - doins quarantine-attachments.txt - - # Install qmail-scanner script - insinto /var/qmail/bin - insopts -m 4755 -o qmailq -g qmail - doins qmail-scanner-queue.pl - - # Install documentation - dodoc README CHANGES COPYING - dohtml README.html -} - -pkg_postinst () { - # Setup perlscanner + Version Info - /var/qmail/bin/qmail-scanner-queue.pl -z - /var/qmail/bin/qmail-scanner-queue.pl -g - - einfo - einfo "NOTICE:" - einfo "Set QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl" - einfo "in your /etc/tcp.smtp file to activate qmail-scanner." - einfo -} diff --git a/net-mail/sylpheed-claws/Manifest b/net-mail/sylpheed-claws/Manifest index 8f77d3dda125..e24901bc3c4a 100644 --- a/net-mail/sylpheed-claws/Manifest +++ b/net-mail/sylpheed-claws/Manifest @@ -1,13 +1,5 @@ MD5 503bfdc97d09935bfb5b52db23a4f91e ChangeLog 7139 -MD5 f188ed738134483b13f02d372fc3f989 sylpheed-claws-0.8.10.ebuild 2969 -MD5 fe08678ef24238451f3dbea35373c0a3 sylpheed-claws-0.8.3.ebuild 2420 -MD5 86cce6758d9d573d1db9be492a4878b4 sylpheed-claws-0.8.5.ebuild 2427 -MD5 e18887479104375d398b8c00f4feb19d sylpheed-claws-0.8.9.ebuild 2968 MD5 20cd68ce8142f70ab136e0d6caf97df8 sylpheed-claws-0.8.11.ebuild 2967 -MD5 b4d907a0109e66616c29fdd680b41ddb files/digest-sylpheed-claws-0.8.10 74 -MD5 fb49dd1866171e99e948a98de76facc4 files/digest-sylpheed-claws-0.8.3 145 -MD5 5428a3e9eacf8c8150d2400f8e18d6e0 files/digest-sylpheed-claws-0.8.5 145 -MD5 b35846d194c1c363757d4996965ca5b2 files/digest-sylpheed-claws-0.8.9 73 MD5 8ffce40266d03c127db2008db3082630 files/procmime.patch 975 MD5 debd84fa61847ff672e179bcb7845e2b files/sylpheed-0.8.3claws32-dillo.patch 9123 MD5 8b029fc7176a8bad264d1676bd83984b files/digest-sylpheed-claws-0.8.11 74 diff --git a/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.10 b/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.10 deleted file mode 100644 index fdd93790de58..000000000000 --- a/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.10 +++ /dev/null @@ -1 +0,0 @@ -MD5 08645275c58d63929f2a6224dc684d05 sylpheed-0.8.10claws.tar.bz2 1825609 diff --git a/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.3 b/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.3 deleted file mode 100644 index 9f34ef36344a..000000000000 --- a/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 0a605ce1db550512ac652a371e6d46fd sylpheed-0.8.3claws.tar.bz2 1738643 -MD5 0aefb7655f3e882205dc02770b0a7cac sylpheed-gentoo-extra.tar.bz2 3389 diff --git a/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.5 b/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.5 deleted file mode 100644 index 085f11a3075e..000000000000 --- a/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.5 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 aec1d9d47ed128d82858c8692269bd07 sylpheed-0.8.5claws.tar.bz2 1751323 -MD5 0aefb7655f3e882205dc02770b0a7cac sylpheed-gentoo-extra.tar.bz2 3389 diff --git a/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.9 b/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.9 deleted file mode 100644 index 6f4111374452..000000000000 --- a/net-mail/sylpheed-claws/files/digest-sylpheed-claws-0.8.9 +++ /dev/null @@ -1 +0,0 @@ -MD5 c32f8a445b219694e827e7d370d6d487 sylpheed-0.8.9claws.tar.bz2 1900077 diff --git a/net-mail/sylpheed-claws/sylpheed-claws-0.8.10.ebuild b/net-mail/sylpheed-claws/sylpheed-claws-0.8.10.ebuild deleted file mode 100644 index b70606f5c126..000000000000 --- a/net-mail/sylpheed-claws/sylpheed-claws-0.8.10.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/sylpheed-claws/sylpheed-claws-0.8.10.ebuild,v 1.2 2003/04/22 23:31:19 vladimir Exp $ - -IUSE="nls gnome xface gtkhtml crypt spell imlib ssl ldap ipv6 pda" - -inherit eutils - -MY_P="sylpheed-${PV}claws" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Bleeding edge version of Sylpheed" -SRC_URI="mirror://sourceforge/sylpheed-claws/${MY_P}.tar.bz2" -HOMEPAGE="http://sylpheed-claws.sf.net" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa" - -DEPEND="=x11-libs/gtk+-1.2* - pda? ( >=app-misc/jpilot-0.99 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - ldap? ( >=net-nds/openldap-2.0.7 ) - crypt? ( =app-crypt/gpgme-0.3.14 ) - gnome? ( >=media-libs/gdk-pixbuf-0.16 ) - imlib? ( >=media-libs/imlib-1.9.10 ) - spell? ( virtual/aspell-dict ) - xface? ( >=media-libs/compface-1.4 ) - gtkhtml? ( net-www/dillo ) - x11-misc/shared-mime-info" - -RDEPEND="nls? ( sys-devel/gettext )" - -PROVIDE="virtual/sylpheed" - -src_unpack() { - unpack ${A} - - # This patch allows for dillo web browser to be embeedded - if use gtkhtml - then - cd ${S} - epatch ${FILESDIR}/sylpheed-0.8.3claws32-dillo.patch - fi - - # Change package name to sylpheed-claws ... - for i in `find ${S}/ -name 'configure*'` - do - cp $i ${i}.orig - sed -e "s/PACKAGE\=sylpheed/PACKAGE\=sylpheed-claws/" \ - ${i}.orig > ${i} - done - - # use shared-mime-info - cd ${S}/src - epatch ${FILESDIR}/procmime.patch -} - -src_compile() { - local myconf - - use gnome \ - && myconf="${myconf} --enable-gdk-pixbuf" \ - || myconf="${myconf} --disable-gdk-pixbuf" - - use imlib \ - && myconf="${myconf} --enable-imlib" \ - || myconf="${myconf} --disable-imlib" - - use spell \ - && myconf="${myconf} --enable-aspell" \ - || myconf="${myconf} --disable-aspell" - - use ldap && myconf="${myconf} --enable-ldap" - - use ssl && myconf="${myconf} --enable-openssl" - - use crypt && myconf="${myconf} --enable-gpgme" - - use ipv6 && myconf="${myconf} --enable-ipv6" - - use pda && myconf="${myconf} --enable-jpilot" - - use nls || myconf="${myconf} --disable-nls" - - echo ${myconf} - - econf \ - --program-suffix=-claws \ - --enable-spamassassin-plugin \ - ${myconf} || die "./configure failed" - - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - local menuentry="/usr/share/gnome/apps/Internet/sylpheed.desktop" - use gnome \ - && { - dosed "s/Sylpheed/Sylpheed Claws/" ${menuentry} - dosed "s/sylpheed/sylpheed-claws/" ${menuentry} - mv ${D}${menuentry} ${D}${menuentry/sylpheed/sylpheed-claws} - } \ - || rm -rf ${D}/usr/share/gnome - - mv ${D}/usr/share/pixmaps/sylpheed.png \ - ${D}/usr/share/pixmaps/sylpheed-claws.png - - dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO* -} - -pkg_postinst() { - einfo "A new plugin scheme has been implemented and a spamassassin plugin" - einfo "now comes with sylpheed-claws. For info on these please read the" - einfo "Changelog" -} diff --git a/net-mail/sylpheed-claws/sylpheed-claws-0.8.3.ebuild b/net-mail/sylpheed-claws/sylpheed-claws-0.8.3.ebuild deleted file mode 100644 index 199dfeb3cadd..000000000000 --- a/net-mail/sylpheed-claws/sylpheed-claws-0.8.3.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/sylpheed-claws/sylpheed-claws-0.8.3.ebuild,v 1.7 2003/04/22 23:31:19 vladimir Exp $ - -IUSE="nls gnome xface gtkhtml crypt spell imlib ssl ldap ipv6 pda" - - -MY_P="sylpheed-${PV}claws" -S=${WORKDIR}/${MY_P} -S2=${WORKDIR}/gentoo-extra -DESCRIPTION="Bleeding edge version of Sylpheed" -SRC_URI="mirror://sourceforge/sylpheed-claws/${MY_P}.tar.bz2 - mirror://gentoo/sylpheed-gentoo-extra.tar.bz2" -HOMEPAGE="http://sylpheed-claws.sf.net" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc " - -DEPEND="=x11-libs/gtk+-1.2* - pda? ( >=app-misc/jpilot-0.99 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - ldap? ( >=net-nds/openldap-2.0.7 ) - crypt? ( >=app-crypt/gpgme-0.3.14 ) - gnome? ( >=media-libs/gdk-pixbuf-0.16 ) - imlib? ( >=media-libs/imlib-1.9.10 ) - spell? ( virtual/aspell-dict ) - xface? ( >=media-libs/compface-1.4 ) - gtkhtml? ( net-www/dillo )" - -RDEPEND="${DEPEND} - nls? ( sys-devel/gettext )" - -PROVIDE="virtual/sylpheed" - -src_unpack() { - - unpack ${A} - - # This patch allows for dillo web browser to be embeedded - if use gtkhtml - then - cd ${S} - patch -p1 < ${S2}/${PN}-0.8.1-gentoo.patch || die - fi -} - -src_compile() { - local myconf - - use ssl && myconf="${myconf} --enable-ssl" - - use crypt && myconf="${myconf} --enable-gpgme" - - use gnome && \ - myconf="${myconf} --enable-gdk-pixbuf" || \ - myconf="${myconf} --disable-gdk-pixbuf" - - use imlib && \ - myconf="${myconf} --enable-imlib" || \ - myconf="${myconf} --disable-imlib" - - use ldap && myconf="${myconf} --enable-ldap" - - use spell \ - && myconf="${myconf} --enable-aspell" \ - || myconf="${myconf} --disable-aspell" - - use ipv6 && myconf="${myconf} --enable-ipv6" - - use pda && myconf="${myconf} --enable-jpilot" - - use nls || myconf="${myconf} --disable-nls" - - econf \ - --program-suffix=-claws \ - ${myconf} || die "./configure failed" - - for i in `find . -name Makefile` ; do - cp $i ${i}.orig - sed "s/PACKAGE = sylpheed/PACKAGE = sylpheed-claws/" \ - < ${i}.orig \ - > ${i} - done - cp sylpheed.desktop sylpheed.desktop.orig - sed "s/sylpheed.png/sylpheed-claws.png/" \ - < sylpheed.desktop.orig - > sylpheed.desktop - - emake || die -} - -src_install () { - make DESTDIR=${D} install || die - - use gnome || rm -rf ${D}/usr/share/gnome - - mv ${D}/usr/share/pixmaps/sylpheed.png \ - ${D}/usr/share/pixmaps/sylpheed-claws.png -} diff --git a/net-mail/sylpheed-claws/sylpheed-claws-0.8.5.ebuild b/net-mail/sylpheed-claws/sylpheed-claws-0.8.5.ebuild deleted file mode 100644 index ed61ef396d1e..000000000000 --- a/net-mail/sylpheed-claws/sylpheed-claws-0.8.5.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/sylpheed-claws/sylpheed-claws-0.8.5.ebuild,v 1.10 2003/04/22 23:31:19 vladimir Exp $ - -IUSE="nls gnome xface gtkhtml crypt spell imlib ssl ldap ipv6 pda" - - -MY_P="sylpheed-${PV}claws" -S=${WORKDIR}/${MY_P} -S2=${WORKDIR}/gentoo-extra -DESCRIPTION="Bleeding edge version of Sylpheed" -SRC_URI="mirror://sourceforge/sylpheed-claws/${MY_P}.tar.bz2" -HOMEPAGE="http://sylpheed-claws.sf.net" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc" - -DEPEND="=x11-libs/gtk+-1.2* - pda? ( >=app-misc/jpilot-0.99 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - ldap? ( >=net-nds/openldap-2.0.7 ) - crypt? ( =app-crypt/gpgme-0.3.14 ) - gnome? ( >=media-libs/gdk-pixbuf-0.16 ) - imlib? ( >=media-libs/imlib-1.9.10 ) - spell? ( virtual/aspell-dict ) - xface? ( >=media-libs/compface-1.4 ) - gtkhtml? ( net-www/dillo )" - -RDEPEND="nls? ( sys-devel/gettext )" - -PROVIDE="virtual/sylpheed" - -src_unpack() { - - unpack ${A} - - # This patch allows for dillo web browser to be embeedded - if use gtkhtml - then - cd ${S} - patch -p1 < ${FILESDIR}/sylpheed-0.8.3claws32-dillo.patch || die - fi -} - -src_compile() { - local myconf - - use ssl && myconf="${myconf} --enable-ssl" - - use crypt && myconf="${myconf} --enable-gpgme" - - use gnome && \ - myconf="${myconf} --enable-gdk-pixbuf" || \ - myconf="${myconf} --disable-gdk-pixbuf" - - use imlib && \ - myconf="${myconf} --enable-imlib" || \ - myconf="${myconf} --disable-imlib" - - use ldap && myconf="${myconf} --enable-ldap" - - use spell \ - && myconf="${myconf} --enable-aspell" \ - || myconf="${myconf} --disable-aspell" - - use ipv6 && myconf="${myconf} --enable-ipv6" - - use pda && myconf="${myconf} --enable-jpilot" - - use nls || myconf="${myconf} --disable-nls" - - econf \ - --program-suffix=-claws \ - ${myconf} || die "./configure failed" - - for i in `find . -name Makefile` ; do - cp $i ${i}.orig - sed "s/PACKAGE = sylpheed/PACKAGE = sylpheed-claws/" \ - < ${i}.orig \ - > ${i} - done - cp sylpheed.desktop sylpheed.desktop.orig - sed "s/sylpheed.png/sylpheed-claws.png/" \ - < sylpheed.desktop.orig - > sylpheed.desktop - - emake || die -} - -src_install () { - make DESTDIR=${D} install || die - - use gnome || rm -rf ${D}/usr/share/gnome - - mv ${D}/usr/share/pixmaps/sylpheed.png \ - ${D}/usr/share/pixmaps/sylpheed-claws.png - - dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO* -} diff --git a/net-mail/sylpheed-claws/sylpheed-claws-0.8.9.ebuild b/net-mail/sylpheed-claws/sylpheed-claws-0.8.9.ebuild deleted file mode 100644 index abd1eb985bc2..000000000000 --- a/net-mail/sylpheed-claws/sylpheed-claws-0.8.9.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/sylpheed-claws/sylpheed-claws-0.8.9.ebuild,v 1.8 2003/04/22 23:31:19 vladimir Exp $ - -IUSE="nls gnome xface gtkhtml crypt spell imlib ssl ldap ipv6 pda" - -inherit eutils - -MY_P="sylpheed-${PV}claws" -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="Bleeding edge version of Sylpheed" -SRC_URI="mirror://sourceforge/sylpheed-claws/${MY_P}.tar.bz2" -HOMEPAGE="http://sylpheed-claws.sf.net" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa" - -DEPEND="=x11-libs/gtk+-1.2* - pda? ( >=app-misc/jpilot-0.99 ) - ssl? ( >=dev-libs/openssl-0.9.6b ) - ldap? ( >=net-nds/openldap-2.0.7 ) - crypt? ( =app-crypt/gpgme-0.3.14 ) - gnome? ( >=media-libs/gdk-pixbuf-0.16 ) - imlib? ( >=media-libs/imlib-1.9.10 ) - spell? ( virtual/aspell-dict ) - xface? ( >=media-libs/compface-1.4 ) - gtkhtml? ( net-www/dillo ) - x11-misc/shared-mime-info" - -RDEPEND="nls? ( sys-devel/gettext )" - -PROVIDE="virtual/sylpheed" - -src_unpack() { - unpack ${A} - - # This patch allows for dillo web browser to be embeedded - if use gtkhtml - then - cd ${S} - epatch ${FILESDIR}/sylpheed-0.8.3claws32-dillo.patch - fi - - # Change package name to sylpheed-claws ... - for i in `find ${S}/ -name 'configure*'` - do - cp $i ${i}.orig - sed -e "s/PACKAGE\=sylpheed/PACKAGE\=sylpheed-claws/" \ - ${i}.orig > ${i} - done - - # use shared-mime-info - cd ${S}/src - epatch ${FILESDIR}/procmime.patch -} - -src_compile() { - local myconf - - use gnome \ - && myconf="${myconf} --enable-gdk-pixbuf" \ - || myconf="${myconf} --disable-gdk-pixbuf" - - use imlib \ - && myconf="${myconf} --enable-imlib" \ - || myconf="${myconf} --disable-imlib" - - use spell \ - && myconf="${myconf} --enable-aspell" \ - || myconf="${myconf} --disable-aspell" - - use ldap && myconf="${myconf} --enable-ldap" - - use ssl && myconf="${myconf} --enable-openssl" - - use crypt && myconf="${myconf} --enable-gpgme" - - use ipv6 && myconf="${myconf} --enable-ipv6" - - use pda && myconf="${myconf} --enable-jpilot" - - use nls || myconf="${myconf} --disable-nls" - - echo ${myconf} - - econf \ - --program-suffix=-claws \ - --enable-spamassassin-plugin \ - ${myconf} || die "./configure failed" - - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - local menuentry="/usr/share/gnome/apps/Internet/sylpheed.desktop" - use gnome \ - && { - dosed "s/Sylpheed/Sylpheed Claws/" ${menuentry} - dosed "s/sylpheed/sylpheed-claws/" ${menuentry} - mv ${D}${menuentry} ${D}${menuentry/sylpheed/sylpheed-claws} - } \ - || rm -rf ${D}/usr/share/gnome - - mv ${D}/usr/share/pixmaps/sylpheed.png \ - ${D}/usr/share/pixmaps/sylpheed-claws.png - - dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO* -} - -pkg_postinst() { - einfo "A new plugin scheme has been implemented and a spamassassin plugin" - einfo "now comes with sylpheed-claws. For info on these please read the" - einfo "Changelog" -} diff --git a/net-mail/vpopmail/Manifest b/net-mail/vpopmail/Manifest new file mode 100644 index 000000000000..2dbb41f784d9 --- /dev/null +++ b/net-mail/vpopmail/Manifest @@ -0,0 +1,5 @@ +MD5 f97b704e6e990a08f8876556345425a3 ChangeLog 2095 +MD5 f8c674748391f00d1bee16c065a3fcd0 vpopmail-5.2.1-r5.ebuild 5932 +MD5 78bfb4b023bf0ac233ceea999da2ab0a files/vpopmail.conf 417 +MD5 9aeca181f86314f09d9cfe99ebe8b7d0 files/vpopmail.diff 2101 +MD5 d388c60820d1ce87e90cbc46a89c6a77 files/digest-vpopmail-5.2.1-r5 327 diff --git a/net-mail/vpopmail/files/digest-vpopmail-5.2.1-r2 b/net-mail/vpopmail/files/digest-vpopmail-5.2.1-r2 deleted file mode 100644 index a6a45f2be1e6..000000000000 --- a/net-mail/vpopmail/files/digest-vpopmail-5.2.1-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 1e299a467db955c95c2966c7aa0ef6e5 vpopmail-5.2.1.tar.gz 273353 -MD5 9d12d36935643050617a76c5104c4d28 vpopmail-5.2.1-mysql.diff 5211 diff --git a/net-mail/vpopmail/files/digest-vpopmail-5.2.1-r3 b/net-mail/vpopmail/files/digest-vpopmail-5.2.1-r3 deleted file mode 100644 index a6a45f2be1e6..000000000000 --- a/net-mail/vpopmail/files/digest-vpopmail-5.2.1-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 1e299a467db955c95c2966c7aa0ef6e5 vpopmail-5.2.1.tar.gz 273353 -MD5 9d12d36935643050617a76c5104c4d28 vpopmail-5.2.1-mysql.diff 5211 diff --git a/net-mail/vpopmail/files/digest-vpopmail-5.2.1-r4 b/net-mail/vpopmail/files/digest-vpopmail-5.2.1-r4 deleted file mode 100644 index a6a45f2be1e6..000000000000 --- a/net-mail/vpopmail/files/digest-vpopmail-5.2.1-r4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 1e299a467db955c95c2966c7aa0ef6e5 vpopmail-5.2.1.tar.gz 273353 -MD5 9d12d36935643050617a76c5104c4d28 vpopmail-5.2.1-mysql.diff 5211 diff --git a/net-mail/vpopmail/vpopmail-5.2.1-r2.ebuild b/net-mail/vpopmail/vpopmail-5.2.1-r2.ebuild deleted file mode 100644 index 00626148c192..000000000000 --- a/net-mail/vpopmail/vpopmail-5.2.1-r2.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/vpopmail/vpopmail-5.2.1-r2.ebuild,v 1.13 2003/02/13 14:43:48 vapier Exp $ - -# TODO: all ldap, sybase support -HOMEPAGE="http://www.inter7.com/vpopmail" -DESCRIPTION="A collection of programs to manage virtual email domains and accounts on your Qmail or Postfix mail servers." -SRC_URI="http://www.inter7.com/vpopmail/${P}.tar.gz - http://gentoo.twobit.net/misc/vpopmail-5.2.1-mysql.diff" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc " -IUSE="mysql" - -DEPEND="sys-apps/sed - sys-apps/ucspi-tcp - mysql? ( =dev-db/mysql-3.23* )" -RDEPEND="net-mail/qmail - virtual/cron - mysql? ( =dev-db/mysql-3.23* )" - -# Define vpopmail home dir in /etc/password if different -VPOP_DEFAULT_HOME="/var/vpopmail" -VPOP_HOME="$VPOP_DEFAULT_HOME" - -# This makes sure the variable is set, and that it isn't null. -vpopmail_set_homedir() { - VPOP_HOME=`grep vpopmail /etc/passwd | cut -d: -f6` - if [ -z "$VPOP_HOME" ]; then - echo -ne "\a" - eerror "vpopmail's home directory is null in /etc/passwd" - eerror "You probably want to check that out." - eerror "Continuing with default." - sleep 1; echo -ne "\a"; sleep 1; echo -ne "\a" - VPOP_HOME="/var/vpopmail" - else - einfo "Setting VPOP_HOME to: $VPOP_HOME" - fi -} - -pkg_setup() { - if [ -z `getent group vpopmail` ]; then - (groupadd -g 89 vpopmail 2>/dev/null || groupadd vpopmail ) || die "problem adding vpopmail group" - fi - if [ -z `getent passwd vpopmail` ]; then - useradd -g vpopmail -u 89 -d ${VPOP_DEFAULT_HOME} -c "vpopmail_directory" -s /bin/false -m vpopmail || \ - useradd -g vpopmail -u `getent group vpopmail | awk -F":" '{ print $3 }'` -d ${VPOP_DEFAULT_HOME} -c "vpopmail_directory" \ - -s /bin/false -m vpopmail || die "problem adding vpopmail user" - fi -} - -src_unpack() { - - cd ${WORKDIR} - unpack ${P}.tar.gz - cd ${S} - - if [ "`use mysql`" ]; then - einfo "Applying MySQL patch..." - # Thanks to Nicholas Jones (carpaski@gentoo.org) - patch < ${DISTDIR}/vpopmail-5.2.1-mysql.diff - fi - - # Thanks to Vadim Berezniker (vadim@berezniker.com) - # This patch backports a bug fix from the devel version re: logons - patch -p1 < ${FILESDIR}/vpopmail.diff - -} - -src_compile() { - vpopmail_set_homedir - - use mysql && \ - myopts="${myopts} --enable-mysql=y \ - --enable-libs=/usr/include/mysql \ - --enable-sqllibdir=/usr/lib/mysql \ - --enable-mysql-logging=y \ - --enable-auth-logging=y \ - --enable-valias=y \ - --enable-mysql-replication=n" - - # the configure script tries to force root and make directories not using ${D} - sed -e '1282,1289d' -e '1560,1567d' -e '2349d' -e '2107d' -e '2342d' configure > configure.new - mv --force configure.new configure - chmod u+x configure - - econf ${myopts} --sbindir=/usr/sbin \ - --bindir=/usr/bin \ - --sysconfdir=${VPOP_HOME}/etc \ - --enable-qmaildir=/var/qmail \ - --enable-qmail-newu=/var/qmail/bin/qmail-newu \ - --enable-qmail-inject=/var/qmail/bin/qmail-inject \ - --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh \ - --enable-vpopuser=vpopmail \ - --enable-many-domains=y \ - --enable-vpopgroup=vpopmail \ - --enable-file-locking=y \ - --enable-file-sync=y \ - --enable-md5-passwords=y \ - --enable-clear-passwd=y \ - --enable-defaultquota=30000000,1000C \ - --enable-roaming-users=y --enable-relay-clear-minutes=60 \ - --enable-tcprules-prog=/usr/bin/tcprules --enable-tcpserver-file=/etc/tcp.smtp \ - --enable-logging=y \ - --enable-log-name=vpopmail - - [ "`use mysql`" ] && echo '#define MYSQL_PASSWORD_FILE "/etc/vpopmail.conf"' >> config.h - - emake || die "Make failed." - -} - -src_install () { - vpopmail_set_homedir - - make DESTDIR=${D} install-strip || die - - # Install documentation. - dodoc AUTHORS ChangeLog COPYING FAQ INSTALL NEWS TODO - dodoc README README.* RELEASE.NOTES UPGRADE.* - dodoc doc/doc_html/* doc/man_html/* - rm -rf ${D}/${VPOP_HOME}/doc - dosym /usr/share/doc/${PVR}/ ${VPOP_HOME}/doc - chown vpopmail.vpopmail ${D}/${VPOP_HOME}/doc - - # Create symlink in /usr/bin for executables - dodir /usr/bin/ - for item in `ls -1 ${D}${VPOP_HOME}/bin`; do dosym ${VPOP_HOME}/bin/${item} usr/bin/${item} ; done - - # Create /etc/vpopmail.conf - [ "`use mysql`" ] && dodir /etc && cp ${FILESDIR}/vpopmail.conf ${D}/etc/ - - # Configure b0rked. We'll do this manually - echo "-I${VPOP_HOME}/include" > ${D}/${VPOP_HOME}/etc/inc_deps - if [ "`use mysql`" ]; then - echo "-L${VPOP_HOME}/lib -lvpopmail -L/usr/lib/mysql -lmysqlclient -lz" > ${D}/${VPOP_HOME}/etc/lib_deps - else - echo "-L${VPOP_HOME}/lib -lvpopmail" > ${D}/${VPOP_HOME}/etc/lib_deps - fi -} - -pkg_preinst() { - vpopmail_set_homedir - - # Keep DATA - touch ${VPOP_HOME}/domains/.keep - - # This is a workaround until portage handles binary packages+users better. - pkg_setup -} - -pkg_postinst() { - einfo "Performing post-installation routines for ${P}." - echo "40 * * * * /usr/bin/clearopensmtp 2>&1 > /dev/null" >> /var/spool/cron/crontabs/root - - if [ "`use mysql`" ]; then - einfo "" - einfo "You have 'mysql' turned on in your USE" - einfo "Vpopmail needs a VALID MySQL USER. Let's call it 'vpopmail'" - einfo "You MUST add it and then specify its passwd in the /etc/vpopmail.conf file" - einfo "" - einfo "First log into mysql as your mysql root user and pass. Then:" - einfo "> create database vpopmail;" - einfo "> use mysql;" - einfo "> grant select, insert, update, delete, create, drop on vpopmail.* to" - einfo " vpopmail@localhost identified by 'your password';" - einfo "> flush privileges;" - einfo "" - fi -} - -pkg_postrm() { - - vpopmail_set_homedir - - sed "/^40.*\/usr\/bin\/clearopensmtp.*null$/d" /var/spool/cron/crontabs/root > /var/spool/cron/crontabs/root.new - mv --force /var/spool/cron/crontabs/root.new /var/spool/cron/crontabs/root - einfo "The vpopmail DATA will NOT be removed automatically." - einfo "You can delete them manually by removing the ${VPOP_HOME} directory." - -} diff --git a/net-mail/vpopmail/vpopmail-5.2.1-r3.ebuild b/net-mail/vpopmail/vpopmail-5.2.1-r3.ebuild deleted file mode 100644 index d86feada6676..000000000000 --- a/net-mail/vpopmail/vpopmail-5.2.1-r3.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/vpopmail/vpopmail-5.2.1-r3.ebuild,v 1.2 2003/02/13 14:43:54 vapier Exp $ - -inherit eutils - -# TODO: all ldap, sybase support -HOMEPAGE="http://www.inter7.com/vpopmail" -DESCRIPTION="A collection of programs to manage virtual email domains and accounts on your Qmail or Postfix mail servers." -SRC_URI="http://www.inter7.com/vpopmail/${P}.tar.gz - mysql? ( http://gentoo.twobit.net/misc/vpopmail-5.2.1-mysql.diff )" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc" -IUSE="mysql" - -DEPEND="sys-apps/sed - sys-apps/ucspi-tcp - mysql? ( =dev-db/mysql-3.23* )" -RDEPEND="net-mail/qmail - virtual/cron - mysql? ( =dev-db/mysql-3.23* )" - -# Define vpopmail home dir in /etc/password if different -VPOP_DEFAULT_HOME="/var/vpopmail" -VPOP_HOME="$VPOP_DEFAULT_HOME" - -# This makes sure the variable is set, and that it isn't null. -vpopmail_set_homedir() { - VPOP_HOME=`grep vpopmail /etc/passwd | cut -d: -f6` - if [ -z "$VPOP_HOME" ]; then - echo -ne "\a" - eerror "vpopmail's home directory is null in /etc/passwd" - eerror "You probably want to check that out." - eerror "Continuing with default." - sleep 1; echo -ne "\a"; sleep 1; echo -ne "\a" - VPOP_HOME="/var/vpopmail" - else - einfo "Setting VPOP_HOME to: $VPOP_HOME" - fi -} - -pkg_setup() { - if [ -z `getent group vpopmail` ]; then - (groupadd -g 89 vpopmail 2>/dev/null || groupadd vpopmail ) || die "problem adding vpopmail group" - fi - if [ -z `getent passwd vpopmail` ]; then - useradd -g vpopmail -u 89 -d ${VPOP_DEFAULT_HOME} -c "vpopmail_directory" -s /bin/false -m vpopmail || \ - useradd -g vpopmail -u `getent group vpopmail | awk -F":" '{ print $3 }'` -d ${VPOP_DEFAULT_HOME} -c "vpopmail_directory" \ - -s /bin/false -m vpopmail || die "problem adding vpopmail user" - fi -} - -src_unpack() { - - cd ${WORKDIR} - unpack ${P}.tar.gz - cd ${S} - - if [ "`use mysql`" ]; then - einfo "Applying MySQL patch..." - # Thanks to Nicholas Jones (carpaski@gentoo.org) - epatch ${DISTDIR}/vpopmail-5.2.1-mysql.diff - fi - - # Thanks to Vadim Berezniker (vadim@berezniker.com) - # This patch backports a bug fix from the devel version re: logons - epatch ${FILESDIR}/vpopmail.diff - -} - -src_compile() { - vpopmail_set_homedir - - use mysql && \ - myopts="${myopts} --enable-mysql=y \ - --enable-libs=/usr/include/mysql \ - --enable-sqllibdir=/usr/lib/mysql \ - --enable-mysql-logging=y \ - --enable-auth-logging=y \ - --enable-valias=y \ - --enable-mysql-replication=n" - - # the configure script tries to force root and make directories not using ${D} - sed -e '1282,1289d' -e '1560,1567d' -e '2349d' -e '2107d' -e '2342d' configure > configure.new - mv --force configure.new configure - chmod u+x configure - - econf ${myopts} --sbindir=/usr/sbin \ - --bindir=/usr/bin \ - --sysconfdir=${VPOP_HOME}/etc \ - --enable-qmaildir=/var/qmail \ - --enable-qmail-newu=/var/qmail/bin/qmail-newu \ - --enable-qmail-inject=/var/qmail/bin/qmail-inject \ - --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh \ - --enable-vpopuser=vpopmail \ - --enable-many-domains=y \ - --enable-vpopgroup=vpopmail \ - --enable-file-locking=y \ - --enable-file-sync=y \ - --enable-md5-passwords=y \ - --enable-clear-passwd=y \ - --enable-defaultquota=30000000,1000C \ - --enable-roaming-users=y --enable-relay-clear-minutes=60 \ - --enable-tcprules-prog=/usr/bin/tcprules --enable-tcpserver-file=/etc/tcp.smtp \ - --enable-logging=y \ - --enable-log-name=vpopmail - - [ "`use mysql`" ] && echo '#define MYSQL_PASSWORD_FILE "/etc/vpopmail.conf"' >> config.h - - emake || die "Make failed." - -} - -src_install () { - vpopmail_set_homedir - - make DESTDIR=${D} install-strip || die - - # Install documentation. - dodoc AUTHORS ChangeLog COPYING FAQ INSTALL NEWS TODO - dodoc README README.* RELEASE.NOTES UPGRADE.* - dodoc doc/doc_html/* doc/man_html/* - rm -rf ${D}/${VPOP_HOME}/doc - dosym /usr/share/doc/${PVR}/ ${VPOP_HOME}/doc - chown vpopmail.vpopmail ${D}/${VPOP_HOME}/doc - - # Create symlink in /usr/bin for executables - dodir /usr/bin/ - for item in `ls -1 ${D}${VPOP_HOME}/bin`; do dosym ${VPOP_HOME}/bin/${item} usr/bin/${item} ; done - - # Create /etc/vpopmail.conf - [ "`use mysql`" ] && dodir /etc && cp ${FILESDIR}/vpopmail.conf ${D}/etc/ - - # Configure b0rked. We'll do this manually - echo "-I${VPOP_HOME}/include" > ${D}/${VPOP_HOME}/etc/inc_deps - if [ "`use mysql`" ]; then - echo "-L${VPOP_HOME}/lib -lvpopmail -L/usr/lib/mysql -lmysqlclient -lz" > ${D}/${VPOP_HOME}/etc/lib_deps - else - echo "-L${VPOP_HOME}/lib -lvpopmail" > ${D}/${VPOP_HOME}/etc/lib_deps - fi -} - -pkg_preinst() { - vpopmail_set_homedir - - # Keep DATA - touch ${VPOP_HOME}/domains/.keep - - # This is a workaround until portage handles binary packages+users better. - pkg_setup -} - -pkg_postinst() { - einfo "Performing post-installation routines for ${P}." - echo "40 * * * * /usr/bin/clearopensmtp 2>&1 > /dev/null" >> /var/spool/cron/crontabs/root - - if [ "`use mysql`" ]; then - einfo "" - einfo "You have 'mysql' turned on in your USE" - einfo "Vpopmail needs a VALID MySQL USER. Let's call it 'vpopmail'" - einfo "You MUST add it and then specify its passwd in the /etc/vpopmail.conf file" - einfo "" - einfo "First log into mysql as your mysql root user and pass. Then:" - einfo "> create database vpopmail;" - einfo "> use mysql;" - einfo "> grant select, insert, update, delete, create, drop on vpopmail.* to" - einfo " vpopmail@localhost identified by 'your password';" - einfo "> flush privileges;" - einfo "" - fi -} - -pkg_postrm() { - - vpopmail_set_homedir - - sed "/^40.*\/usr\/bin\/clearopensmtp.*null$/d" /var/spool/cron/crontabs/root > /var/spool/cron/crontabs/root.new - mv --force /var/spool/cron/crontabs/root.new /var/spool/cron/crontabs/root - einfo "The vpopmail DATA will NOT be removed automatically." - einfo "You can delete them manually by removing the ${VPOP_HOME} directory." - -} diff --git a/net-mail/vpopmail/vpopmail-5.2.1-r4.ebuild b/net-mail/vpopmail/vpopmail-5.2.1-r4.ebuild deleted file mode 100644 index 2135ef1e42a6..000000000000 --- a/net-mail/vpopmail/vpopmail-5.2.1-r4.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/vpopmail/vpopmail-5.2.1-r4.ebuild,v 1.2 2003/02/13 14:44:00 vapier Exp $ - -inherit eutils - -# TODO: all ldap, sybase support -HOMEPAGE="http://www.inter7.com/vpopmail" -DESCRIPTION="A collection of programs to manage virtual email domains and accounts on your Qmail or Postfix mail servers." -SRC_URI="http://www.inter7.com/vpopmail/${P}.tar.gz - mysql? ( http://gentoo.twobit.net/misc/vpopmail-5.2.1-mysql.diff )" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 sparc" -IUSE="mysql" -DEPEND="sys-apps/sed - sys-apps/ucspi-tcp - mysql? ( =dev-db/mysql-3.23* )" -RDEPEND="net-mail/qmail - virtual/cron - mysql? ( =dev-db/mysql-3.23* )" - -# Define vpopmail home dir in /etc/password if different -VPOP_DEFAULT_HOME="/var/vpopmail" -VPOP_HOME="$VPOP_DEFAULT_HOME" - -# This makes sure the variable is set, and that it isn't null. -vpopmail_set_homedir() { - VPOP_HOME=`grep vpopmail /etc/passwd | cut -d: -f6` - if [ -z "$VPOP_HOME" ]; then - echo -ne "\a" - eerror "vpopmail's home directory is null in /etc/passwd" - eerror "You probably want to check that out." - eerror "Continuing with default." - sleep 1; echo -ne "\a"; sleep 1; echo -ne "\a" - VPOP_HOME="/var/vpopmail" - else - einfo "Setting VPOP_HOME to: $VPOP_HOME" - fi -} - -pkg_setup() { - if [ -z `getent group vpopmail` ]; then - (groupadd -g 89 vpopmail 2>/dev/null || groupadd vpopmail ) || die "problem adding vpopmail group" - fi - if [ -z `getent passwd vpopmail` ]; then - useradd -g vpopmail -u 89 -d ${VPOP_DEFAULT_HOME} -c "vpopmail_directory" -s /bin/false -m vpopmail || \ - useradd -g vpopmail -u `getent group vpopmail | awk -F":" '{ print $3 }'` -d ${VPOP_DEFAULT_HOME} -c "vpopmail_directory" \ - -s /bin/false -m vpopmail || die "problem adding vpopmail user" - fi -} - -src_unpack() { - - cd ${WORKDIR} - unpack ${P}.tar.gz - cd ${S} - - if [ "`use mysql`" ]; then - einfo "Applying MySQL patch..." - # Thanks to Nicholas Jones (carpaski@gentoo.org) - epatch ${DISTDIR}/vpopmail-5.2.1-mysql.diff - fi - - # Thanks to Vadim Berezniker (vadim@berezniker.com) - # This patch backports a bug fix from the devel version re: logons - epatch ${FILESDIR}/vpopmail.diff - -} - -src_compile() { - vpopmail_set_homedir - - use mysql && myopts="${myopts} --enable-mysql=y \ - --enable-libs=/usr/include/mysql \ - --enable-sqllibdir=/usr/lib/mysql \ - --enable-mysql-logging=y \ - --enable-auth-logging=y \ - --enable-valias=y \ - --enable-mysql-replication=n" \ - || myopts="${myopts} --enable-mysql=n" - - # the configure script tries to force root and make directories not using ${D} - sed -e '1282,1289d' -e '1560,1567d' -e '2349d' -e '2107d' -e '2342d' configure > configure.new - mv --force configure.new configure - chmod u+x configure - - econf ${myopts} --sbindir=/usr/sbin \ - --bindir=/usr/bin \ - --sysconfdir=${VPOP_HOME}/etc \ - --enable-qmaildir=/var/qmail \ - --enable-qmail-newu=/var/qmail/bin/qmail-newu \ - --enable-qmail-inject=/var/qmail/bin/qmail-inject \ - --enable-qmail-newmrh=/var/qmail/bin/qmail-newmrh \ - --enable-vpopuser=vpopmail \ - --enable-many-domains=y \ - --enable-vpopgroup=vpopmail \ - --enable-file-locking=y \ - --enable-file-sync=y \ - --enable-md5-passwords=y \ - --enable-clear-passwd=y \ - --enable-defaultquota=30000000,1000C \ - --enable-roaming-users=y --enable-relay-clear-minutes=60 \ - --enable-tcprules-prog=/usr/bin/tcprules --enable-tcpserver-file=/etc/tcp.smtp \ - --enable-logging=y \ - --enable-log-name=vpopmail - - [ "`use mysql`" ] && echo '#define MYSQL_PASSWORD_FILE "/etc/vpopmail.conf"' >> config.h - - emake || die "Make failed." - -} - -src_install () { - vpopmail_set_homedir - - make DESTDIR=${D} install-strip || die - - # Install documentation. - dodoc AUTHORS ChangeLog COPYING FAQ INSTALL NEWS TODO - dodoc README README.* RELEASE.NOTES UPGRADE.* - dodoc doc/doc_html/* doc/man_html/* - rm -rf ${D}/${VPOP_HOME}/doc - dosym /usr/share/doc/${PVR}/ ${VPOP_HOME}/doc - chown vpopmail.vpopmail ${D}/${VPOP_HOME}/doc - - # Create symlink in /usr/bin for executables - dodir /usr/bin/ - for item in `ls -1 ${D}${VPOP_HOME}/bin`; do dosym ${VPOP_HOME}/bin/${item} usr/bin/${item} ; done - - # Create /etc/vpopmail.conf - [ "`use mysql`" ] && dodir /etc && cp ${FILESDIR}/vpopmail.conf ${D}/etc/ - - # Configure b0rked. We'll do this manually - echo "-I${VPOP_HOME}/include" > ${D}/${VPOP_HOME}/etc/inc_deps - if [ "`use mysql`" ]; then - echo "-L${VPOP_HOME}/lib -lvpopmail -L/usr/lib/mysql -lmysqlclient -lz" > ${D}/${VPOP_HOME}/etc/lib_deps - else - echo "-L${VPOP_HOME}/lib -lvpopmail" > ${D}/${VPOP_HOME}/etc/lib_deps - fi -} - -pkg_preinst() { - vpopmail_set_homedir - - # Keep DATA - touch ${VPOP_HOME}/domains/.keep - - # This is a workaround until portage handles binary packages+users better. - pkg_setup -} - -pkg_postinst() { - einfo "Performing post-installation routines for ${P}." - echo "40 * * * * /usr/bin/clearopensmtp 2>&1 > /dev/null" >> /var/spool/cron/crontabs/root - - if [ "`use mysql`" ]; then - einfo "" - einfo "You have 'mysql' turned on in your USE" - einfo "Vpopmail needs a VALID MySQL USER. Let's call it 'vpopmail'" - einfo "You MUST add it and then specify its passwd in the /etc/vpopmail.conf file" - einfo "" - einfo "First log into mysql as your mysql root user and pass. Then:" - einfo "> create database vpopmail;" - einfo "> use mysql;" - einfo "> grant select, insert, update, delete, create, drop on vpopmail.* to" - einfo " vpopmail@localhost identified by 'your password';" - einfo "> flush privileges;" - einfo "" - fi -} - -pkg_postrm() { - - vpopmail_set_homedir - - sed "/^40.*\/usr\/bin\/clearopensmtp.*null$/d" /var/spool/cron/crontabs/root > /var/spool/cron/crontabs/root.new - mv --force /var/spool/cron/crontabs/root.new /var/spool/cron/crontabs/root - einfo "The vpopmail DATA will NOT be removed automatically." - einfo "You can delete them manually by removing the ${VPOP_HOME} directory." - -} |