diff options
author | Thilo Bangert <bangert@gentoo.org> | 2008-06-26 08:16:38 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2008-06-26 08:16:38 +0000 |
commit | 32146e69148d19b91363019c4d31bdaa294408cd (patch) | |
tree | b89c178a1b70149cce566c80a77f6ec35aea620d /mail-mta/nullmailer | |
parent | remove bindnow-flags - as per bug #226939 - thanks flameeyes (diff) | |
download | historical-32146e69148d19b91363019c4d31bdaa294408cd.tar.gz historical-32146e69148d19b91363019c4d31bdaa294408cd.tar.bz2 historical-32146e69148d19b91363019c4d31bdaa294408cd.zip |
remove old and obsolete versions
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'mail-mta/nullmailer')
-rw-r--r-- | mail-mta/nullmailer/ChangeLog | 7 | ||||
-rw-r--r-- | mail-mta/nullmailer/Manifest | 8 | ||||
-rw-r--r-- | mail-mta/nullmailer/nullmailer-1.00-r2.ebuild | 126 | ||||
-rw-r--r-- | mail-mta/nullmailer/nullmailer-1.02-r1.ebuild | 141 | ||||
-rw-r--r-- | mail-mta/nullmailer/nullmailer-1.02-r2.ebuild | 139 | ||||
-rw-r--r-- | mail-mta/nullmailer/nullmailer-1.02.ebuild | 142 |
6 files changed, 7 insertions, 556 deletions
diff --git a/mail-mta/nullmailer/ChangeLog b/mail-mta/nullmailer/ChangeLog index c579df307884..9524937ee105 100644 --- a/mail-mta/nullmailer/ChangeLog +++ b/mail-mta/nullmailer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-mta/nullmailer # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.29 2008/02/29 20:40:37 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.30 2008/06/26 08:16:38 bangert Exp $ + + 26 Jun 2008; Thilo Bangert <bangert@gentoo.org> -nullmailer-1.00-r2.ebuild, + -nullmailer-1.02.ebuild, -nullmailer-1.02-r1.ebuild, + -nullmailer-1.02-r2.ebuild, ChangeLog: + remove old and obsolete versions 28 Feb 2008; Thilo Bangert <bangert@gentoo.org> ChangeLog, nullmailer-1.04.ebuild: diff --git a/mail-mta/nullmailer/Manifest b/mail-mta/nullmailer/Manifest index 5482280cb980..69a670cfe3eb 100644 --- a/mail-mta/nullmailer/Manifest +++ b/mail-mta/nullmailer/Manifest @@ -6,15 +6,9 @@ AUX nullmailer-1.00-syslog.patch 10047 RMD160 c27eecec6a1f0e1017217d4baaa9dfe6a5 AUX remotes.sample 444 RMD160 00d2f8ccade03f6ba9cca2f3f0a157f42e3b8b98 SHA1 1cc94a1191f4bf20e1bd437fda70b5d40c127f8e SHA256 c3c6b0efc100142ecbe65b9af3e20900f9b21449619f35ef3ba2334dd0888b1f AUX remotes.sample-1.04 540 RMD160 41a6f50c7d0cd0423be8d2e485e07148504316f7 SHA1 8aecf00f27f705a28e9c45c2e9807a3a4f4f309a SHA256 d9f756d9a2b21e7f7166c1b29a34c4dda1eb1ab0c57168ded3d0ed225cf692ee DIST nullmailer-1.00.tar.gz 170605 RMD160 cd45934be7a8a9391f31452fe56b6166cb730306 SHA1 e17b524b857b0a2eaf97df78e040f6e804764f4d SHA256 1ebb63f010a46dce9559b1025f76e74741429071cd2d4f380a63a5ced3ce8340 -DIST nullmailer-1.02.tar.gz 171591 RMD160 5be509670c0524bec7d7e664901f88f0872536bf SHA1 eeb94fb0fdcf0944c8a1590d12f0572ae95d0dda SHA256 a35298470ba5e0f7f14d17f4a2e76039413b214c7b80921fa9a00598ecf6243d DIST nullmailer-1.04.tar.gz 176867 RMD160 13deaf37a392dfd7b57ac61b50d496dfdb9c362f SHA1 f3815fec726a776be050a6be59b91e696779f5a9 SHA256 364b7888720469d1494c6084a8de7cd39cfc8f841f3be02dfc417e111572fe8b -DIST nullmailer_1.02-1.diff.gz 21242 RMD160 152b8336e7f041cf0ad3f7058e1e81b8a99dcb1e SHA1 c9d71aa155204b2184181a8e10792698b24a2aaa SHA256 a19b36e872880757626c7151d6e0d942ccd2d462929fe873f2d9be5eed18a07a DIST nullmailer_1.04-1.diff.gz 47284 RMD160 0f6ba5985d6b47678f35b090a635630646dbbd14 SHA1 61525c2b5d9297c2a976c7107e1d16dab43d2259 SHA256 daa2a9388e8fa2a93401b9ee060a7f56f2f8e820af57aeba82a8abde838fcd75 -EBUILD nullmailer-1.00-r2.ebuild 3979 RMD160 99644d8e3cd3685ad7e66112601f3a83d9068913 SHA1 0dd815a251d911d02562a20ece6110a49ba41882 SHA256 6fa400931206dab3ad842f3df7e72ea5e795a8b8f2e6571acd552a91229643f8 EBUILD nullmailer-1.00.ebuild 4027 RMD160 cf8c4fa7e574a4d549bf0b09e0b9368e096b74d3 SHA1 81c8197502ce4dc75d80279b23e00b34f733118d SHA256 df574a30e49e4c228d55670d0ee03089035b97f667cf97f2a8f3375d08309216 -EBUILD nullmailer-1.02-r1.ebuild 4565 RMD160 364eb57304c93892ba5001a6ef63ca4a47ce250b SHA1 77b9cec60649fa67dbcf8785bf28e2c03f1d1be1 SHA256 ed1cbfc64a023516a3f4e4d186b38136723657db40180b09dfd430ad25bb0dc4 -EBUILD nullmailer-1.02-r2.ebuild 4496 RMD160 909b674354de0250c4833e26c2c960d4dc670593 SHA1 9ced9f8e334c8c9232866a090ef92ad7bdcfeb00 SHA256 94bdea1429e87c12f7fa4d1597956d7ffb0bb6e820240bb5bc69965ee31ccd37 -EBUILD nullmailer-1.02.ebuild 4622 RMD160 2d59e43dcc80efabf2ccdf0287c573ab338e8241 SHA1 4a7631038df3eaea997d2587cd8247031b770d2e SHA256 bd87174b5b0a2f3f0f6b80b1810f4687d9c4c81c35fde24d1bbac0cdec4e15c0 EBUILD nullmailer-1.04.ebuild 3733 RMD160 dea5c6ba70fb89f69d38cf7f85bd4bf9c5704cd9 SHA1 b0e75ada7b4b79a3d337e18a4d12020901481c55 SHA256 6cf1c8cd11fa48bf4156b8181a37105d9e8b9d3ff5303c03bb6015f35c8fc16c -MISC ChangeLog 7296 RMD160 23cf2810ac46eb69a990257e2711ad1e0ddac74c SHA1 50330331e8e6f611d313d3aa2c391a421262934e SHA256 d73a694391be14a0da217163a36c433a62239908d82ab9a3b56002d804f8bede +MISC ChangeLog 7506 RMD160 a8852bf2c37ac9cb5bedd85e634c2bbee85c4b37 SHA1 4c1a06e91ca608674bba0fc0b866c71702977e35 SHA256 c75caf66485859392f145554cb10eb3190da742025d3516f37e2f754b55d6bcb MISC metadata.xml 392 RMD160 2ab4e8534884a8d887e0e619b5a2685b7a8b1a06 SHA1 e53462014fe3598699f7a86ceef1f28ec1f1c104 SHA256 bd4f44a5482232a527b27507b0d18e88358193360752722a0bd1aedef85a4732 diff --git a/mail-mta/nullmailer/nullmailer-1.00-r2.ebuild b/mail-mta/nullmailer/nullmailer-1.00-r2.ebuild deleted file mode 100644 index faf3f43a41d3..000000000000 --- a/mail-mta/nullmailer/nullmailer-1.00-r2.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.00-r2.ebuild,v 1.5 2007/10/28 14:05:21 phreak Exp $ - -inherit eutils flag-o-matic mailer - -MY_P="${P/_rc/RC}" -S=${WORKDIR}/${MY_P} -DESCRIPTION="Simple relay-only local mail transport agent" -SRC_URI="http://untroubled.org/${PN}/${MY_P}.tar.gz" -HOMEPAGE="http://untroubled.org/${PN}/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ~ppc" -IUSE="mailwrapper" - -DEPEND="virtual/libc - sys-apps/groff" -RDEPEND="virtual/libc - >=sys-process/supervise-scripts-3.2 - >=sys-process/daemontools-0.76-r1 - sys-apps/shadow - virtual/logger" -PROVIDE="virtual/mta" - -NULLMAILER_GROUP_NAME=nullmail -NULLMAILER_GROUP_GID=88 -NULLMAILER_USER_NAME=nullmail -NULLMAILER_USER_UID=88 -NULLMAILER_USER_SHELL=-1 -NULLMAILER_USER_GROUPS=nullmail -NULLMAILER_USER_HOME=/var/nullmailer - -setupuser() { - enewgroup ${NULLMAILER_GROUP_NAME} ${NULLMAILER_GROUP_GID} - enewuser ${NULLMAILER_USER_NAME} ${NULLMAILER_USER_UID} ${NULLMAILER_USER_SHELL} ${NULLMAILER_USER_HOME} ${NULLMAILER_USER_GROUPS} -} - -src_unpack() { - unpack ${MY_P}.tar.gz - EPATCH_OPTS="-d ${S} -p0" \ - epatch "${FILESDIR}/${P}-smtp-auth.patch" || die "SMTP auth patch failed" - EPATCH_OPTS="-d ${S} -p1" \ - epatch "${FILESDIR}/${P}-syslog.patch" || die "syslog patch failed" - EPATCH_OPTS="-d ${S} -p0" \ - epatch "${FILESDIR}/${P}-gcc34-fix.patch" || die "GCC-3.4 patch failed" -} - -pkg_setup() { - setupuser -} - -src_compile() { - append-ldflags $(bindnow-flags) - # Note that we pass a different directory below due to bugs in the makefile! - econf --localstatedir=/var || die "econf failed" - emake || die "emake failed" -} - -src_install () { - einstall localstatedir=${D}/var/nullmailer || die "einstall failed" - if use mailwrapper; then - mv ${D}/usr/sbin/sendmail ${D}/usr/sbin/sendmail.nullmailer - mv ${D}/usr/bin/mailq ${D}/usr/bin/mailq.nullmailer - insinto /etc/mail - doins ${FILESDIR}/mailer.conf - mailer_install_conf - fi - dodoc AUTHORS BUGS COPYING HOWTO INSTALL NEWS README YEAR2000 TODO ChangeLog - # A small bit of sample config - insinto /etc/nullmailer - newins ${FILESDIR}/remotes.sample remotes - # daemontools stuff - dodir /var/nullmailer/service{,/log} - insinto /var/nullmailer/service - newins scripts/nullmailer.run run - fperms 700 /var/nullmailer/service/run - insinto /var/nullmailer/service/log - newins scripts/nullmailer-log.run run - fperms 700 /var/nullmailer/service/log/run - # usablity - dodir /usr/lib - dosym /usr/sbin/sendmail usr/lib/sendmail - # permissions stuff - keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue} - fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue} - fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq - fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq - fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger} - fperms 660 /var/nullmailer/trigger - msg_mailerconf -} - -pkg_config() { - [ ! -s /etc/nullmailer/me ] && /bin/hostname --fqdn >/etc/nullmailer/me - [ ! -s /etc/nullmailer/defaultdomain ] && /bin/hostname --domain >/etc/nullmailer/defaultdomain - msg_svscan - msg_mailerconf -} - -msg_svscan() { - elog "To start nullmailer at boot you have to enable the /etc/init.d/svscan rc file" - elog "and create the following link :" - elog "ln -fs /var/nullmailer/service /service/nullmailer" -} -msg_mailerconf() { - use mailwrapper && \ - ewarn "Please ensure you have selected nullmailer in your /etc/mailer.conf" -} - -pkg_postinst() { - setupuser - # Do this again for good measure - [ ! -e /var/nullmailer/trigger ] && mkfifo /var/nullmailer/trigger - chown nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger} - chmod 770 /var/log/nullmailer /var/nullmailer/{tmp,queue} - chmod 660 /var/nullmailer/trigger - - use mailwrapper && dosym /usr/sbin/sendmail /usr/bin/mailq - - elog "To create an initial setup, please do:" - elog "emerge --config =${CATEGORY}/${PF}" - msg_svscan - msg_mailerconf -} diff --git a/mail-mta/nullmailer/nullmailer-1.02-r1.ebuild b/mail-mta/nullmailer/nullmailer-1.02-r1.ebuild deleted file mode 100644 index 2fa61717bc1e..000000000000 --- a/mail-mta/nullmailer/nullmailer-1.02-r1.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.02-r1.ebuild,v 1.5 2007/10/28 14:05:21 phreak Exp $ - -inherit eutils flag-o-matic - -MY_P="${P/_rc/RC}" -S=${WORKDIR}/${MY_P} -DEBIAN_PV="1" -DEBIAN_SRC="${MY_P/-/_}-${DEBIAN_PV}.diff.gz" -DESCRIPTION="Simple relay-only local mail transport agent" -SRC_URI="http://untroubled.org/${PN}/${MY_P}.tar.gz - mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}" -HOMEPAGE="http://untroubled.org/nullmailer/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="mailwrapper" - -DEPEND="virtual/libc - sys-apps/groff" -RDEPEND="!mailwrapper? ( !virtual/mta ) - mailwrapper? ( >=net-mail/mailwrapper-0.2 ) - virtual/libc - >=sys-process/supervise-scripts-3.2 - >=sys-process/daemontools-0.76-r1 - sys-apps/shadow - virtual/logger" -PROVIDE="virtual/mta" - -NULLMAILER_GROUP_NAME=nullmail -NULLMAILER_GROUP_GID=88 -NULLMAILER_USER_NAME=nullmail -NULLMAILER_USER_UID=88 -NULLMAILER_USER_SHELL=-1 -NULLMAILER_USER_GROUPS=nullmail -NULLMAILER_USER_HOME=/var/nullmailer - -setupuser() { - enewgroup ${NULLMAILER_GROUP_NAME} ${NULLMAILER_GROUP_GID} - enewuser ${NULLMAILER_USER_NAME} ${NULLMAILER_USER_UID} ${NULLMAILER_USER_SHELL} ${NULLMAILER_USER_HOME} ${NULLMAILER_USER_GROUPS} -} - -src_unpack() { - unpack ${MY_P}.tar.gz - EPATCH_OPTS="-d ${S} -p1" \ - epatch ${DISTDIR}/${DEBIAN_SRC} - EPATCH_OPTS="-d ${S} -p1" \ - epatch ${S}/debian/patches/03ipv6.diff || die "IPV6 patch failed" - EPATCH_OPTS="-d ${S} -p1" \ - epatch ${S}/debian/patches/05syslog.diff || die "daemon/syslog patch failed" - # this fixes the debian daemon/syslog to actually compile - sed -i.orig \ - -e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \ - ${S}/src/Makefile.am || die "Sed failed" -} - -pkg_setup() { - setupuser -} - -src_compile() { - append-ldflags $(bindnow-flags) - # Note that we pass a different directory below due to bugs in the makefile! - econf --localstatedir=/var || die "econf failed" - emake || die "emake failed" -} - -src_install () { - einstall localstatedir=${D}/var/nullmailer || die "einstall failed" - local mailqloc=/usr/bin/mailq - if use mailwrapper; then - mv ${D}/usr/sbin/sendmail ${D}/usr/sbin/sendmail.nullmailer - mailqloc=/usr/bin/mailq.nullmailer - mv ${D}/usr/bin/mailq ${D}/usr/bin/mailq.nullmailer - insinto /etc/mail - doins ${FILESDIR}/mailer.conf - fi - dodoc AUTHORS BUGS COPYING HOWTO INSTALL NEWS README YEAR2000 TODO ChangeLog - # A small bit of sample config - insinto /etc/nullmailer - newins ${FILESDIR}/remotes.sample remotes - # daemontools stuff - dodir /var/nullmailer/service{,/log} - insinto /var/nullmailer/service - newins scripts/nullmailer.run run - fperms 700 /var/nullmailer/service/run - insinto /var/nullmailer/service/log - newins scripts/nullmailer-log.run run - fperms 700 /var/nullmailer/service/log/run - # usablity - dodir /usr/lib - dosym /usr/sbin/sendmail usr/lib/sendmail - # permissions stuff - keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue} - fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue} - fowners nullmail:nullmail /usr/sbin/nullmailer-queue ${mailqloc} - fperms 4711 /usr/sbin/nullmailer-queue ${mailqloc} - fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger} - fperms 660 /var/nullmailer/trigger - msg_mailerconf - newinitd ${FILESDIR}/init.d-nullmailer nullmailer -} - -pkg_config() { - [ ! -s /etc/nullmailer/me ] && /bin/hostname --fqdn >/etc/nullmailer/me - [ ! -s /etc/nullmailer/defaultdomain ] && /bin/hostname --domain >/etc/nullmailer/defaultdomain - msg_svscan - msg_mailerconf -} - -msg_svscan() { - elog "To start nullmailer at boot you have to enable the /etc/init.d/svscan rc file" - elog "and create the following link :" - elog "ln -fs /var/nullmailer/service /service/nullmailer" - elog "As an alternative, we also provide an init.d script." - elog - elog "If the nullmailer service is already running, please restart it now," - elog "using 'svc-restart nullmailer' or the init.d script." - elog -} - -msg_mailerconf() { - use mailwrapper && \ - ewarn "Please ensure you have selected nullmailer in your /etc/mail/mailer.conf" -} - -pkg_postinst() { - setupuser - # Do this again for good measure - [ ! -e /var/nullmailer/trigger ] && mkfifo /var/nullmailer/trigger - chown nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger} - chmod 770 /var/log/nullmailer /var/nullmailer/{tmp,queue} - chmod 660 /var/nullmailer/trigger - - elog "To create an initial setup, please do:" - elog "emerge --config =${CATEGORY}/${PF}" - msg_svscan - msg_mailerconf -} diff --git a/mail-mta/nullmailer/nullmailer-1.02-r2.ebuild b/mail-mta/nullmailer/nullmailer-1.02-r2.ebuild deleted file mode 100644 index 3231f475c026..000000000000 --- a/mail-mta/nullmailer/nullmailer-1.02-r2.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.02-r2.ebuild,v 1.5 2007/10/28 14:05:21 phreak Exp $ - -inherit eutils flag-o-matic mailer - -MY_P="${P/_rc/RC}" -S=${WORKDIR}/${MY_P} -DEBIAN_PV="1" -DEBIAN_SRC="${MY_P/-/_}-${DEBIAN_PV}.diff.gz" -DESCRIPTION="Simple relay-only local mail transport agent" -SRC_URI="http://untroubled.org/${PN}/${MY_P}.tar.gz - mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}" -HOMEPAGE="http://untroubled.org/nullmailer/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc ~amd64" - -DEPEND="virtual/libc - sys-apps/groff" -RDEPEND="virtual/libc - >=sys-process/supervise-scripts-3.2 - >=sys-process/daemontools-0.76-r1 - sys-apps/shadow - virtual/logger" -PROVIDE="virtual/mta" - -NULLMAILER_GROUP_NAME=nullmail -NULLMAILER_GROUP_GID=88 -NULLMAILER_USER_NAME=nullmail -NULLMAILER_USER_UID=88 -NULLMAILER_USER_SHELL=-1 -NULLMAILER_USER_GROUPS=nullmail -NULLMAILER_USER_HOME=/var/nullmailer - -setupuser() { - enewgroup ${NULLMAILER_GROUP_NAME} ${NULLMAILER_GROUP_GID} - enewuser ${NULLMAILER_USER_NAME} ${NULLMAILER_USER_UID} ${NULLMAILER_USER_SHELL} ${NULLMAILER_USER_HOME} ${NULLMAILER_USER_GROUPS} -} - -src_unpack() { - unpack ${MY_P}.tar.gz - EPATCH_OPTS="-d ${S} -p1" \ - epatch ${DISTDIR}/${DEBIAN_SRC} - EPATCH_OPTS="-d ${S} -p1" \ - epatch ${S}/debian/patches/03ipv6.diff || die "IPV6 patch failed" - EPATCH_OPTS="-d ${S} -p1" \ - epatch ${S}/debian/patches/05syslog.diff || die "daemon/syslog patch failed" - # this fixes the debian daemon/syslog to actually compile - sed -i.orig \ - -e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \ - ${S}/src/Makefile.am || die "Sed failed" -} - -pkg_setup() { - setupuser -} - -src_compile() { - append-ldflags $(bindnow-flags) - # Note that we pass a different directory below due to bugs in the makefile! - econf --localstatedir=/var || die "econf failed" - emake || die "emake failed" -} - -src_install () { - einstall localstatedir=${D}/var/nullmailer || die "einstall failed" - local mailqloc=/usr/bin/mailq - if use mailwrapper; then - mv ${D}/usr/sbin/sendmail ${D}/usr/sbin/sendmail.nullmailer - mailqloc=/usr/bin/mailq.nullmailer - mv ${D}/usr/bin/mailq ${D}/usr/bin/mailq.nullmailer - insinto /etc/mail - doins ${FILESDIR}/mailer.conf - mailer_install_conf - fi - dodoc AUTHORS BUGS COPYING HOWTO INSTALL NEWS README YEAR2000 TODO ChangeLog - # A small bit of sample config - insinto /etc/nullmailer - newins ${FILESDIR}/remotes.sample remotes - # daemontools stuff - dodir /var/nullmailer/service{,/log} - insinto /var/nullmailer/service - newins scripts/nullmailer.run run - fperms 700 /var/nullmailer/service/run - insinto /var/nullmailer/service/log - newins scripts/nullmailer-log.run run - fperms 700 /var/nullmailer/service/log/run - # usablity - dodir /usr/lib - dosym /usr/sbin/sendmail usr/lib/sendmail - # permissions stuff - keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue} - fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue} - fowners nullmail:nullmail /usr/sbin/nullmailer-queue ${mailqloc} - fperms 4711 /usr/sbin/nullmailer-queue ${mailqloc} - fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger} - fperms 660 /var/nullmailer/trigger - msg_mailerconf - newinitd ${FILESDIR}/init.d-nullmailer nullmailer -} - -pkg_config() { - [ ! -s /etc/nullmailer/me ] && /bin/hostname --fqdn >/etc/nullmailer/me - [ ! -s /etc/nullmailer/defaultdomain ] && /bin/hostname --domain >/etc/nullmailer/defaultdomain - msg_svscan - msg_mailerconf -} - -msg_svscan() { - elog "To start nullmailer at boot you have to enable the /etc/init.d/svscan rc file" - elog "and create the following link :" - elog "ln -fs /var/nullmailer/service /service/nullmailer" - elog "As an alternative, we also provide an init.d script." - elog - elog "If the nullmailer service is already running, please restart it now," - elog "using 'svc-restart nullmailer' or the init.d script." - elog -} - -msg_mailerconf() { - use mailwrapper && \ - ewarn "Please ensure you have selected nullmailer in your /etc/mail/mailer.conf" -} - -pkg_postinst() { - setupuser - # Do this again for good measure - [ ! -e /var/nullmailer/trigger ] && mkfifo /var/nullmailer/trigger - chown nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger} - chmod 770 /var/log/nullmailer /var/nullmailer/{tmp,queue} - chmod 660 /var/nullmailer/trigger - - elog "To create an initial setup, please do:" - elog "emerge --config =${CATEGORY}/${PF}" - msg_svscan - msg_mailerconf -} diff --git a/mail-mta/nullmailer/nullmailer-1.02.ebuild b/mail-mta/nullmailer/nullmailer-1.02.ebuild deleted file mode 100644 index f308b6add58c..000000000000 --- a/mail-mta/nullmailer/nullmailer-1.02.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.02.ebuild,v 1.6 2007/10/28 14:05:21 phreak Exp $ - -inherit eutils flag-o-matic - -MY_P="${P/_rc/RC}" -S=${WORKDIR}/${MY_P} -DEBIAN_PV="1" -DEBIAN_SRC="${MY_P/-/_}-${DEBIAN_PV}.diff.gz" -DESCRIPTION="Simple relay-only local mail transport agent" -SRC_URI="http://untroubled.org/${PN}/${MY_P}.tar.gz - mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}" -HOMEPAGE="http://untroubled.org/nullmailer/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="mailwrapper" - -DEPEND="virtual/libc - sys-apps/groff" -RDEPEND="!mailwrapper? ( !virtual/mta ) - mailwrapper? ( >=net-mail/mailwrapper-0.2 ) - virtual/libc - >=sys-process/supervise-scripts-3.2 - >=sys-process/daemontools-0.76-r1 - sys-apps/shadow - virtual/logger" -PROVIDE="virtual/mta" - -NULLMAILER_GROUP_NAME=nullmail -NULLMAILER_GROUP_GID=88 -NULLMAILER_USER_NAME=nullmail -NULLMAILER_USER_UID=88 -NULLMAILER_USER_SHELL=-1 -NULLMAILER_USER_GROUPS=nullmail -NULLMAILER_USER_HOME=/var/nullmailer - -setupuser() { - enewgroup ${NULLMAILER_GROUP_NAME} ${NULLMAILER_GROUP_GID} - enewuser ${NULLMAILER_USER_NAME} ${NULLMAILER_USER_UID} ${NULLMAILER_USER_SHELL} ${NULLMAILER_USER_HOME} ${NULLMAILER_USER_GROUPS} -} - -src_unpack() { - unpack ${MY_P}.tar.gz - EPATCH_OPTS="-d ${S} -p1" \ - epatch ${DISTDIR}/${DEBIAN_SRC} - EPATCH_OPTS="-d ${S} -p1" \ - epatch ${S}/debian/patches/03ipv6.diff || die "IPV6 patch failed" - EPATCH_OPTS="-d ${S} -p1" \ - epatch ${S}/debian/patches/05syslog.diff || die "daemon/syslog patch failed" - # this fixes the debian daemon/syslog to actually compile - sed -i.orig \ - -e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \ - ${S}/src/Makefile.am || die "Sed failed" -} - -pkg_setup() { - setupuser -} - -src_compile() { - append-ldflags $(bindnow-flags) - # Note that we pass a different directory below due to bugs in the makefile! - econf --localstatedir=/var || die "econf failed" - emake || die "emake failed" -} - -src_install () { - einstall localstatedir=${D}/var/nullmailer || die "einstall failed" - local mailqloc=/usr/bin/mailq - if use mailwrapper; then - mv ${D}/usr/sbin/sendmail ${D}/usr/sbin/sendmail.nullmailer - mailqloc=/usr/bin/mailq.nullmailer - mv ${D}/usr/bin/mailq ${D}/usr/bin/mailq.nullmailer - insinto /etc/mail - doins ${FILESDIR}/mailer.conf - fi - dodoc AUTHORS BUGS COPYING HOWTO INSTALL NEWS README YEAR2000 TODO ChangeLog - # A small bit of sample config - insinto /etc/nullmailer - newins ${FILESDIR}/remotes.sample remotes - # daemontools stuff - dodir /var/nullmailer/service{,/log} - insinto /var/nullmailer/service - newins scripts/nullmailer.run run - fperms 700 /var/nullmailer/service/run - insinto /var/nullmailer/service/log - newins scripts/nullmailer-log.run run - fperms 700 /var/nullmailer/service/log/run - # usablity - dodir /usr/lib - dosym /usr/sbin/sendmail usr/lib/sendmail - # permissions stuff - keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue} - fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue} - fowners nullmail:nullmail /usr/sbin/nullmailer-queue ${mailqloc} - fperms 4711 /usr/sbin/nullmailer-queue ${mailqloc} - fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger} - fperms 660 /var/nullmailer/trigger - msg_mailerconf - newinitd ${FILESDIR}/init.d-nullmailer nullmailer -} - -pkg_config() { - [ ! -s /etc/nullmailer/me ] && /bin/hostname --fqdn >/etc/nullmailer/me - [ ! -s /etc/nullmailer/defaultdomain ] && /bin/hostname --domain >/etc/nullmailer/defaultdomain - msg_svscan - msg_mailerconf -} - -msg_svscan() { - elog "To start nullmailer at boot you have to enable the /etc/init.d/svscan rc file" - elog "and create the following link :" - elog "ln -fs /var/nullmailer/service /service/nullmailer" - elog - elog "If the nullmailer service is already running, please restart it now," - elog "using 'svc-restart nullmailer' or the init.d script." - elog - elog "As an alternative, we also provide an init.d script." -} -msg_mailerconf() { - use mailwrapper && \ - ewarn "Please ensure you have selected nullmailer in your /etc/mail/mailer.conf" -} - -pkg_postinst() { - setupuser - # Do this again for good measure - [ ! -e /var/nullmailer/trigger ] && mkfifo /var/nullmailer/trigger - chown nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger} - chmod 770 /var/log/nullmailer /var/nullmailer/{tmp,queue} - chmod 660 /var/nullmailer/trigger - - use mailwrapper && dosym /usr/sbin/sendmail /usr/bin/mailq - - elog "To create an initial setup, please do:" - elog "emerge --config =${CATEGORY}/${PF}" - msg_svscan - msg_mailerconf -} |