diff options
author | Eray Aslan <eras@gentoo.org> | 2012-07-28 09:00:34 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2012-07-28 09:00:34 +0000 |
commit | 8ddcbe88abda56ad09a3ff6732cd8f72a4238922 (patch) | |
tree | d43e983dd21e571bb260e108e79f8aacac3f0853 /mail-mta | |
parent | Version bump for Rails 3.0.16, bug 428254. (diff) | |
download | historical-8ddcbe88abda56ad09a3ff6732cd8f72a4238922.tar.gz historical-8ddcbe88abda56ad09a3ff6732cd8f72a4238922.tar.bz2 historical-8ddcbe88abda56ad09a3ff6732cd8f72a4238922.zip |
Version bump
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/nullmailer/ChangeLog | 7 | ||||
-rw-r--r-- | mail-mta/nullmailer/Manifest | 59 | ||||
-rw-r--r-- | mail-mta/nullmailer/nullmailer-1.11.ebuild | 122 |
3 files changed, 159 insertions, 29 deletions
diff --git a/mail-mta/nullmailer/ChangeLog b/mail-mta/nullmailer/ChangeLog index 5c0d5297286a..401be90d2bde 100644 --- a/mail-mta/nullmailer/ChangeLog +++ b/mail-mta/nullmailer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-mta/nullmailer # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.49 2012/06/12 21:26:19 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/ChangeLog,v 1.50 2012/07/28 09:00:34 eras Exp $ + +*nullmailer-1.11 (28 Jul 2012) + + 28 Jul 2012; Eray Aslan <eras@gentoo.org> +nullmailer-1.11.ebuild: + Version bump *nullmailer-1.10-r1 (12 Jun 2012) diff --git a/mail-mta/nullmailer/Manifest b/mail-mta/nullmailer/Manifest index 65c4c3c7e38c..f85cd8a28940 100644 --- a/mail-mta/nullmailer/Manifest +++ b/mail-mta/nullmailer/Manifest @@ -1,35 +1,38 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX init.d-nullmailer 1221 RMD160 9e793a57acc9f2123c75e5a27f4b6123ce1d171a SHA1 154b3c92512151d6d4f9dc63125536c44e207f1e SHA256 279dd0519b62b57b4f5f6a7bcbfcd8337dd3d5e6e785de1d443f2005def64d72 -AUX init.d-nullmailer-r1 1220 RMD160 a410c17c4c39962957c5864b6a09f5d0d2159fd3 SHA1 43db6a5addb1726c630a5ca1522f575d35270452 SHA256 53647c3756bdff6b3753f91f1aed61649f35294ae06e757b613ab58b5ca55c85 -AUX nullmailer-1.10-fix-sendmail.patch 3316 RMD160 053b9b072883de7fa746c8c8e6a8bd805fbc9174 SHA1 053f421d935836ffeedbca6565a4e17212c93427 SHA256 18b306f565326813c785acb88303656d966118cfaeea2a5422e89deab42c8b14 -AUX remotes.sample-1.04 540 RMD160 41a6f50c7d0cd0423be8d2e485e07148504316f7 SHA1 8aecf00f27f705a28e9c45c2e9807a3a4f4f309a SHA256 d9f756d9a2b21e7f7166c1b29a34c4dda1eb1ab0c57168ded3d0ed225cf692ee -DIST nullmailer-1.05.tar.gz 176800 RMD160 20bd31670be76297a9798282db6186156d4f5124 SHA1 93cc8924cd96bf8a79285ff32bf5b0894de0a9e5 SHA256 90356ed2bd95eef09ed04713fdef1f81c1ab95e02eee333a96a8e3eb230cac2f -DIST nullmailer-1.06.tar.gz 180380 RMD160 a534c9db53f3534e760407dcef6a6b36fdc3bf1b SHA1 4dbede45c727fd32601a90d8332cb9dcff124f0f SHA256 aa5813dae985c412fcb2e185c3dcfac64f581bcf4ce5d480437409c53c16a2bd -DIST nullmailer-1.10.tar.gz 201324 RMD160 ffd824acf7ac4c068bad6816038129031936d8d6 SHA1 801515726cdf19deb018c61eb4bb2744bbe1b3dc SHA256 eda85acf95ccac886271c2d9d471b3e245288aa6597c925372e429defb7f75b7 -DIST nullmailer_1.04-1.diff.gz 47284 RMD160 0f6ba5985d6b47678f35b090a635630646dbbd14 SHA1 61525c2b5d9297c2a976c7107e1d16dab43d2259 SHA256 daa2a9388e8fa2a93401b9ee060a7f56f2f8e820af57aeba82a8abde838fcd75 -DIST nullmailer_1.10-1.debian.tar.gz 32950 RMD160 7c2194cf3c4a6dd3da9d68485a0dfc4f55602aa9 SHA1 168ead6ab0cf52699d1c016ad39cd38feffa3039 SHA256 97adc0ef257b8185100208d8c4b00b298843683a95c2e04011f424f49873fa03 -EBUILD nullmailer-1.05.ebuild 3993 RMD160 f5cd01f40a61a1e5b51480259aec7ef135e63b39 SHA1 94dc56e3fee5a3acddae859c4509f3ddb7ae2f4c SHA256 a85c5dc0b67d0e8fe68b74a0d40ac7d6478712acbf1d8d894a8bb542768274f7 -EBUILD nullmailer-1.06.ebuild 3987 RMD160 cb4ba9938d6015ed4075e317e3aec46a87eab907 SHA1 ee9056135f650ad86364ab0179c559d1cc355f25 SHA256 784a8132a6e61cba13532a048d2a9423f468bdfa93698616a9df08aaa7a8af83 -EBUILD nullmailer-1.10-r1.ebuild 3870 RMD160 493a6bf7e448448a5def0d94570878b728155945 SHA1 f4e15fdcf9be9ad8abd32bb977b25f3f53b1ace9 SHA256 d7298c431cb22bb9875c4b38adace3beba6f8a5a9670c7c1e9571715ded4f1a7 -EBUILD nullmailer-1.10.ebuild 3805 RMD160 95ca46d81927b4320bff66e65577dcda3ec46d5b SHA1 c0dd95b8d0637cf4bb680ec7f8409dd3139308fa SHA256 0e9c72f06e9adbf295f9a29d6e72ca512ed31b51e2147f6252ad500e07ceb0a1 -MISC ChangeLog 10042 RMD160 4ac1d782aa36c8fe42098872cdc3f833af2c590c SHA1 2dc00e428adfd0d06c0ee9ad868b000b0f4429b0 SHA256 6eca1300941edcea99ccc1e3c6ab0e0b9873a4086cd77f26d7323adfee001caf -MISC metadata.xml 280 RMD160 9f5cd4ae71c9c7e45161110dd38d67f6604cd7b8 SHA1 4b9a055d510dca2f97d61f7df74fcefbc0cc0a2c SHA256 1e7cf6dbb378d12f4d6569350ba23c49aa55a855240b78b5487532028b0ff540 +AUX init.d-nullmailer 1221 SHA256 279dd0519b62b57b4f5f6a7bcbfcd8337dd3d5e6e785de1d443f2005def64d72 SHA512 1e0c29b6c63633001aced2e9db4ddba02bdcbec61571f5d48455c4d6a6b2e15580771ec93c27deb80d8b552a783df5405c1fa1724f7d9c2278e55cfcec802fa4 WHIRLPOOL c2ec918ad31dc14effabb831b4bd4413de3a0349eaed116e75c09c34c643fedba1d10526dcdb24835e56995e3a77a75e30ac0bf3b351b337891109807c6b488d +AUX init.d-nullmailer-r1 1220 SHA256 53647c3756bdff6b3753f91f1aed61649f35294ae06e757b613ab58b5ca55c85 SHA512 174d0e33f9cfd4c34d937f64b74084ca56b6c600d55a4ddee24c42b8b1f6c69d73d3126bfd943ce47c8121751a3cf331cea4bd2f703e610d3c7f1835510782d4 WHIRLPOOL 4d0acdf85725b74b356af4d4346ae73d21f53682b649f9fbbde111e0725cdd4d29ac81cca54f7b2bab5e0d93002db5ef6d9427a0bcf9e7ab41673776792a7cc3 +AUX nullmailer-1.10-fix-sendmail.patch 3316 SHA256 18b306f565326813c785acb88303656d966118cfaeea2a5422e89deab42c8b14 SHA512 fed13c06564295c644eba8b4d635a677bc45bcf95d96110d182128b0787adba63d07a935c5d861dfe934b22316b1d2bafa8dd7553e4771ad96b1bd7fe8f47c7b WHIRLPOOL 6da7b6363e0a9215e48853a0e58ffe23fc7679462e2d674ec20485bc06533c2fb80d79b6cea82f09214d31efa510b64f5ac292259671adc726272e2d0f11c7f2 +AUX remotes.sample-1.04 540 SHA256 d9f756d9a2b21e7f7166c1b29a34c4dda1eb1ab0c57168ded3d0ed225cf692ee SHA512 ea0e75253804d792cab14d672ef88ccfc93b2d47c7e936e9de10b130a3270f5ca16b019ef71fc13f74ddd1fe12272060ae6664357b1dc019b9c93950bc0a583e WHIRLPOOL ed2af783ae2648cf23ce73523d47e462f809694b19c31055e2d0419da750ebff1c2403b1defad56b21c1d3a95d863f1880f391f52d1a30057d588ac1263371fa +DIST nullmailer-1.05.tar.gz 176800 SHA256 90356ed2bd95eef09ed04713fdef1f81c1ab95e02eee333a96a8e3eb230cac2f +DIST nullmailer-1.06.tar.gz 180380 SHA256 aa5813dae985c412fcb2e185c3dcfac64f581bcf4ce5d480437409c53c16a2bd +DIST nullmailer-1.10.tar.gz 201324 SHA256 eda85acf95ccac886271c2d9d471b3e245288aa6597c925372e429defb7f75b7 SHA512 6691e262757c2ab335faef71cffaab7f633d67ee17bc623c1605bf5966b141b73686cecb5aafc433550a57cea86f67bec3f32b6d66041bdf618e88e38a911534 WHIRLPOOL 9da4dbc883672db4ec2ea5d65baa0f8c3d7628a5961cb3650d178366bf48b531728525d0cac9e6074e61a45ef6f64d8b7deaeda3e5d484782aad7cf364312e56 +DIST nullmailer-1.11.tar.gz 203239 SHA256 bf61c839b5f0927e0998c6183f229fa644f97165d3d5402adc59369b2bdaf25e SHA512 419798e6910e554e7d679a18e900555b52e061d3e085c0e958cc1e6b0c132840c285b669ad890baa3bd6191a371b88cec1e10aeaa49cd1c6cde33d881812fbeb WHIRLPOOL d05b0a1969135c8b83ee45494d96e3d13d431d55310b3f04d2fb6c71cffc0490a9fcbfa61ff4040f366e2d0372da35c5d2b331e520eadeb918bf557951daa494 +DIST nullmailer_1.04-1.diff.gz 47284 SHA256 daa2a9388e8fa2a93401b9ee060a7f56f2f8e820af57aeba82a8abde838fcd75 +DIST nullmailer_1.10-1.debian.tar.gz 32950 SHA256 97adc0ef257b8185100208d8c4b00b298843683a95c2e04011f424f49873fa03 SHA512 d17d72a47b19e14527b2644c25a1e891587ccac367e61985d5a1cdd5471fde98d25d0d9e89ca0630a63e709c2e8c2f8c99827a686a1203cc50b0a1d1e6bd9b57 WHIRLPOOL 5d5aab6ca815e594f30529d00dcf3ffb9dcb2b0a4ebc23164ce1477bf0b3c2316ab50ef7fed1d5eca2668f8476f552e2ddb829b9181e7a3061e2bdd8babe93a2 +DIST nullmailer_1.11-1.debian.tar.gz 33187 SHA256 86d64b37220c4e92680509152b20d08c2702ad313350b8e65dd1d754bd1b76c9 SHA512 67bdb686bc62ff924c2d4b1aac2f528d51e4d7b0d72df438b3197d7a8b3fd6a875be7eb681e092c024ed3d47ba5ed5e5b0bca4f4d07200ca4bbbdbe8fea4c2c9 WHIRLPOOL c2661a17fcf6686825079063d55500a4095b6bc6938729247fc1ef78c2476e352ee9101d56f8d082d537d2e8cab99e5e12eee6195d5c1c891f41f327fde79121 +EBUILD nullmailer-1.05.ebuild 3993 SHA256 a85c5dc0b67d0e8fe68b74a0d40ac7d6478712acbf1d8d894a8bb542768274f7 SHA512 d0315102b94088097e8cf9d1559f92f99759cf4cd9bb800cfbecb7fcf5694f94ebbf5960ad87aa371a8027831a5cf757beaa3317c509f0531dce4e290131792f WHIRLPOOL 1bb86318dd7f4a6801431af1d332693c35f795c37a77c1955c9c63606ea537a352863639d343eecd21ed64aee62482aa4f01be2f78cd2b9f703f492b305920e6 +EBUILD nullmailer-1.06.ebuild 3987 SHA256 784a8132a6e61cba13532a048d2a9423f468bdfa93698616a9df08aaa7a8af83 SHA512 1f6e9b709c19da81afa1fe85499abed0a9d1f55a3b8e235f8a5428134818039ea47958e1e16fa3944c7972b54c21a49c106cf159ba3a4f888fc47003bfa1c01f WHIRLPOOL 654bcb5817589a8edacf235969564273ea998d1a82bf3c4ae503f5b8f6a92e7a2f13383297afd4c12570095658ae1a706670a0368bc8af5ab4c45b6484ac10d0 +EBUILD nullmailer-1.10-r1.ebuild 3870 SHA256 d7298c431cb22bb9875c4b38adace3beba6f8a5a9670c7c1e9571715ded4f1a7 SHA512 d8892bc44bddfc4540a35078ce2d8c4390fb3e85ec35621aa7aefd4c58d0520cb93de43e58b8bc72657cd96c52821599be627552eab1ee95d6b43c96525158f7 WHIRLPOOL f5a116bfbd23aeb13eff9cb55c651c927bfbdfaccd7aa03303e59df84cab61b9340eadae9569848a436de85641e205ff49128004a6c810cd4b9f2cb8a86df029 +EBUILD nullmailer-1.10.ebuild 3805 SHA256 0e9c72f06e9adbf295f9a29d6e72ca512ed31b51e2147f6252ad500e07ceb0a1 SHA512 8f72383d693758deec62b2c4e636b3d2201063fbbddd4c22f163d58e4218a618ee4e98d867b0221412b68b0397b71c22a8583ea8517920f0a0c367b2838cf098 WHIRLPOOL 01cd086814650b0eaf60f6545ecdb8d499b4a4cb4cb5f53b044121cd0b4b987ca7caf1c373a22c7ce26bdd2889ef74c77f1308609da15ccc921f19caecdbd231 +EBUILD nullmailer-1.11.ebuild 3899 SHA256 4d2b7d6df9d0932981dabcd04cc2131e9bda7b7f2de68809977c1701466d0879 SHA512 dc591254093ac0131e8f449510cbde496f0c988542eababa64d1c137eb3c65631b16c6b5c3e753870bec04bde2ba70fca57472ecb4c0b4d7da1e16053f17bda6 WHIRLPOOL 5ca69378eb598a30093a68303aff44f7ebc99ec8cc20c18c2398d54c1e43638a4b5679e539508e0ed4099a13934cdbfa88d6d9513147974be62dc4e52551db5d +MISC ChangeLog 10159 SHA256 b1f63fdc62c7e6d063db7a47ee1983f0d46d98406d0f910020471862a3201ed0 SHA512 04b11a65289d327a90df35637a7767396a013b3c926c86c1d5dbc8c1fdb50ee840abdd23be6acbeae7c65a7514326587bbb2a39439f44bea0413db3b55e3ab7b WHIRLPOOL 9a4662da6683f8d7813d0625ed9b04d39680b2a83ffbc6bf14a4e838415501ae9c550667db40f4e7b7b5394e87a711f31f566b0dfd5103212a5b3c0051cc4994 +MISC metadata.xml 280 SHA256 1e7cf6dbb378d12f4d6569350ba23c49aa55a855240b78b5487532028b0ff540 SHA512 64fcd3cea4082dd07b14f6c43de22c264c343936c21c51a1c4ff314f107758953846468961f0f7dfda81b218782cd2c2686be5f61c171feb793e4d33c3aca027 WHIRLPOOL e2d2fc3dfa4d934ee598f98f92d10dfe233b06de83f2621c209c344f872806bbf724af3151b46b104b607541f5c01b327b21144269d554d143eeb33c3e722b79 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJP17QBAAoJEHfx8XVYajsfMCAP/3WYQ/U9PrIgl+IDi+juYZbb -e39zjOe5U3NaB9ky3uaelnP1biNXJ4zqJGPvyMJyQHlQ6TWvqZSGRq2I8Rn+gOpg -Du6HUJwwZ9u1PZr5a/03TiSeyZu4kcul4vFwH4fNdbdp6GE3f1Z0YJnVOUxuIgsa -qnzTizteCkb55Rjamd8tIQBMvxEhhlPWIpoOEV3ci9evdAnBadgyQOdkwty84XqH -5eGBJURBvwbz6mkwFimmzXBczCiIbvvFvuA4DVngTQWLDipCOjoxnxFFdarrQRzn -dx/UJME1sv1/N9Ht/P3TtbGMpLWFdUzuZbXf3tOijSS6vZc054G2zNkLCkp2tFYN -eJTFGIf2mPLxgpEVBdnCv0p6j+jFtvy5qO1nBKvSrKKSrDbI3sXMJrwkbarlgIF/ -3bEqYM5xVoW5kn3ugyLpFDT9fMX/52WCvF1uSmavYMjQuQgbs+A74IXsOSCZCQD6 -0HjsWJB5GbmZMlHvXiVda0dDUtcRffjbuuDwFbdxI+rEVil1lxV1d3cy0TsXviKj -9EmR2aosl5mEAOFuPPDZYClwMsjHP7p88JffUlBitgyo3aj9a1Pn9qdN8//+P1hr -Acc/WSXlMinVGeTbb6xiFOKzc6Xx4gQDOTSfPYeXwcn6CFcwSmCPBQd99PTsW2Ai -e7qwrnqKkG08gVniSqAT -=7+ku +iQIcBAEBCAAGBQJQE6pBAAoJEHfx8XVYajsf8zIQAJBZPDH92gGrzFdeUnUsRHrh +BL5Ah+CpO78UWlSy7lWoLxRAv8UWtMmpBgUyzUQIGOu1hd3X0myxAKSK8AudFQja +04RnHP3glalYl6GO/X6d74vQma/y3LQAD3vWizrWJIJMBnP3CS2AwpoPg+ZkJ3tJ +0TdMJcUj7LS35S74okB/AdQUzoxXuVHAcCdHrhwGciNWA4sJCNZynQFhq5WefuUc +sqZK5vyfcmrnnkRRgqEO4iRtqdBJszUm6kUWIZk0vqW6iSoeaYU8/EmJuoF0mC2M +r/FDtUNxR746bBrt5OrbcvjGrc6GE2RkwAVE+mrmbSBTviLhTY2UzQ6gITca463S +9AByBq0LcfjVA53IUthVI3Vk8c6vK4dINoV+cG/4YRA4m5+LuO1tbRmGjsUKd/9S +P7ervGtR5n3WojZ3PIPt7HAuV1CMTOOkCAP0foKwiA+EfoJm7RWlJ0Tpcg3sYzKM +sRpSltxzEZoDsnUoXkiy3JqsJwuY/Zso34R/7+vsMOuHTu/T7pcbCZa/H0GMEyDE +w9mCvJtCsR7ZIlEOUoX8AR2sPhZqvT85xVRpwfoOAtyc8Mci78BUadLX4T+dvzXe +dmqu/lpta7lmnz2ys0dvk4EhT1ec1VD82IhtIDGEkdKkJaAnF25e9AJK78mxFc4y +tT806RUrJvOjVQMWSuBc +=iSML -----END PGP SIGNATURE----- diff --git a/mail-mta/nullmailer/nullmailer-1.11.ebuild b/mail-mta/nullmailer/nullmailer-1.11.ebuild new file mode 100644 index 000000000000..d7593b867857 --- /dev/null +++ b/mail-mta/nullmailer/nullmailer-1.11.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.11.ebuild,v 1.1 2012/07/28 09:00:34 eras Exp $ + +EAPI=4 +inherit eutils flag-o-matic autotools user multilib + +MY_P="${P/_rc/RC}" +S=${WORKDIR}/${MY_P} +DEBIAN_PV=1.11 +DEBIAN_PR="1" +DEBIAN_P="${PN}-${DEBIAN_PV}" +DEBIAN_PF="${DEBIAN_P/-/_}-${DEBIAN_PR}" +DEBIAN_SRC="${DEBIAN_PF}.debian.tar.gz" +DESCRIPTION="Simple relay-only local mail transport agent" +SRC_URI="http://untroubled.org/${PN}/archive/${MY_P}.tar.gz + mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}" +HOMEPAGE="http://untroubled.org/nullmailer/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="ssl" + +DEPEND="sys-apps/groff + ssl? ( net-libs/gnutls )" +RDEPEND="virtual/shadow + virtual/logger + ssl? ( net-libs/gnutls ) + !mail-mta/courier + !mail-mta/esmtp + !mail-mta/exim + !mail-mta/mini-qmail + !mail-mta/msmtp + !mail-mta/nbsmtp + !mail-mta/netqmail + !mail-mta/postfix + !mail-mta/qmail-ldap + !mail-mta/sendmail + !mail-mta/ssmtp" + +src_prepare() { + sed -i -e 's/nullmailer-1.10/nullmailer-1.11/g' \ + "${WORKDIR}"/debian/patches/*.diff || die + EPATCH_OPTS="-d ${S} -p1" \ + epatch "${DISTDIR}"/${DEBIAN_SRC} + # why revert? Ask Robin when he is back! + EPATCH_OPTS="-d ${WORKDIR} -p0 -R" \ + epatch "${WORKDIR}"/debian/patches/02_ipv6.diff + # 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" + eautoreconf +} + +pkg_setup() { + enewgroup nullmail 88 + enewuser nullmail 88 -1 /var/nullmailer nullmail +} + +src_configure() { + # Note that we pass a different directory below due to bugs in the makefile! + econf \ + --localstatedir=/var \ + $(use_enable ssl tls) +} + +src_install () { + einstall localstatedir="${D}"/var/nullmailer + dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README TODO + # A small bit of sample config + insinto /etc/nullmailer + newins "${FILESDIR}"/remotes.sample-1.04 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/$(get_libdir) + dosym /usr/sbin/sendmail usr/$(get_libdir)/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 + newinitd "${FILESDIR}"/init.d-nullmailer-r1 nullmailer +} + +pkg_postinst() { + [ ! -e "${ROOT}"/var/nullmailer/trigger ] && mkfifo "${ROOT}"/var/nullmailer/trigger + chown nullmail:nullmail "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue,trigger} + chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue} + chmod 660 "${ROOT}"/var/nullmailer/trigger + + elog "To create an initial setup, please do:" + elog "emerge --config =${CATEGORY}/${PF}" + echo + elog "To start nullmailer at boot you may use either the nullmailer init.d" + elog "script, or emerge sys-process/supervise-scripts, enable the" + elog "svscan init.d script and create the following link:" + elog "ln -fs /var/nullmailer/service /service/nullmailer" + echo +} + +pkg_config() { + if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then + einfo "Setting /etc/nullmailer/me" + /bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me + fi + if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then + einfo "Setting /etc/nullmailer/defaultdomain" + /bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain + fi +} |