summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-08-05 15:31:55 +0000
committerEray Aslan <eras@gentoo.org>2012-08-05 15:31:55 +0000
commiteb2c75a1cb075b5d2a0e2e872403acb7fba37e29 (patch)
treeb726a9711d7736ca15bc68dda6a8818c6dd924e9 /mail-filter/milter-regex
parentarm stable, bug #418589 (diff)
downloadhistorical-eb2c75a1cb075b5d2a0e2e872403acb7fba37e29.tar.gz
historical-eb2c75a1cb075b5d2a0e2e872403acb7fba37e29.tar.bz2
historical-eb2c75a1cb075b5d2a0e2e872403acb7fba37e29.zip
Version bump. Respect CC - bug #429934
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'mail-filter/milter-regex')
-rw-r--r--mail-filter/milter-regex/ChangeLog8
-rw-r--r--mail-filter/milter-regex/Manifest47
-rw-r--r--mail-filter/milter-regex/files/milter-regex-1.9-gentoo.patch38
-rw-r--r--mail-filter/milter-regex/milter-regex-1.9.ebuild62
4 files changed, 137 insertions, 18 deletions
diff --git a/mail-filter/milter-regex/ChangeLog b/mail-filter/milter-regex/ChangeLog
index dd0d5b0a31bc..20cdd08d3a3c 100644
--- a/mail-filter/milter-regex/ChangeLog
+++ b/mail-filter/milter-regex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/milter-regex
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/milter-regex/ChangeLog,v 1.11 2012/06/04 23:54:25 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/milter-regex/ChangeLog,v 1.12 2012/08/05 15:31:54 eras Exp $
+
+*milter-regex-1.9 (05 Aug 2012)
+
+ 05 Aug 2012; Eray Aslan <eras@gentoo.org> +milter-regex-1.9.ebuild,
+ +files/milter-regex-1.9-gentoo.patch:
+ Version bump. Respect CC - bug #429934
04 Jun 2012; Zac Medico <zmedico@gentoo.org> milter-regex-1.7-r2.ebuild,
milter-regex-1.8.ebuild:
diff --git a/mail-filter/milter-regex/Manifest b/mail-filter/milter-regex/Manifest
index 7df0ea8c9c45..5e811856a27b 100644
--- a/mail-filter/milter-regex/Manifest
+++ b/mail-filter/milter-regex/Manifest
@@ -1,23 +1,36 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX milter-regex-1.7-gentoo.patch 1489 RMD160 4f7c5b88f59ff176e9524a6d1d713d5bac1b0ffc SHA1 a7fc8354d8d8286012d14572cfbf8c2760dc8f00 SHA256 9bbfd44ac27041421a3e8887db49057386628c52ac60fea4a9344493c560b209
-AUX milter-regex-1.7-rules.patch 351 RMD160 ab1cd7404c555b78be8d5b7e0b04bccbe1dd539d SHA1 e757096c4404ae3fcd36bbe1f619628b73537403 SHA256 8319e51b061a12d13b49fdb602e232d229fe25d418cddbe9e96c6001753724ae
-AUX milter-regex-1.7-yacc.patch 428 RMD160 81e6fa5aec57c9824989ef61af0eefad66b45a34 SHA1 927e217aed49d9e4bf52e23325759387a5190d25 SHA256 a2f40699187e9a075f6a306b1051fb71adfd430a0c3d1d2e65f8170f12535d05
-AUX milter-regex-1.8-gentoo.patch 4222 RMD160 ce478f3fcc556a58a82c772ea19aab48fd7bf2f7 SHA1 0bb5518cb72ae733122831b95a0f9501ed5f8019 SHA256 f6b475d7640e9f8ba70907f44daa2bc74f080020af35399c648b7bb5bccbeb17
-AUX milter-regex-1.8-rules.patch 450 RMD160 f451867c2f4b39207269a5cec140ed11312a81bb SHA1 cd63ffd7f190bc2daf1ea8f7fbf99a67a0af8b4a SHA256 96454430f7ae9b3bb6460d3ee9a4121cec17488214ad0074233d8c568befe893
-AUX milter-regex-conf 177 RMD160 aac67efe1fa295755d85fe313a504bab70ed5dad SHA1 46760523a139d2ab80b9e27a4c7248a28387cee6 SHA256 e26c4c6a876dd8c3c5a15e6093feec5da7e44b396636c96d2b4441f555a8a150
-AUX milter-regex-init 964 RMD160 01d87fac14c32e763ce64ab1fd969d9a9e1570d1 SHA1 357c0283b08cf69ed14e40e78c795cd163179a26 SHA256 3aa5c796e3b4c96378395aacb6defe489fc1018aa5544680508dd59525aa1145
-DIST milter-regex-1.7.tar.gz 19321 RMD160 66868b21eb095f203ef8391e99744506d7ee3cc4 SHA1 de337bc12dade1ed4b715657c4317040f08ef902 SHA256 ca64e51c67a27962e2d258a0f69f832ffd56b5270dbe4440f960f457c74bbce6
-DIST milter-regex-1.8.tar.gz 19545 RMD160 41f7248b3f15bd4cef8cb45c20ad3d8d8e4a0ce1 SHA1 d87dacd492be59a4a7a9d4441b3a59595d008833 SHA256 6399ab230618a419c42b117e37fdb2def3c6e1ce368341df5105cd505f377c2e
-EBUILD milter-regex-1.7-r2.ebuild 1898 RMD160 557976bd2c6a01c4984283d01250afdd8eeec23b SHA1 6912750a3073535ed28eb4e9a9987873f9e62a89 SHA256 df733b01b45bece60d5052b706d1ed321e4c7bea3a222fca7a7f90cbd0791ac0
-EBUILD milter-regex-1.8.ebuild 1857 RMD160 0400ea2330b0a3518440c0271c3b6fd86cd50107 SHA1 7f0b84b7aa37b5ad7b09875209dc006982acb4eb SHA256 10f66553ace194c35ccbb3f991d3609ce083bb21aceb181f966aab7802c95fa1
-MISC ChangeLog 2073 RMD160 2730a71b9be9798012e50fde8014f4a1bce835d9 SHA1 3aebd7c7b1c9b423fa97b4dc056835d6b095efff SHA256 44cae69e69fe4e24d7617b3f6305012827401bae02f58d4600341602a3d35d9f
-MISC metadata.xml 400 RMD160 513a4da7d64aaf887f4136a49b96580fbd39af88 SHA1 77f2e62c71cb55641d57d77c3f33967bf0a40af4 SHA256 0d5b1d38e713aa4cf31874a75d2667f4805b0af1641e24b2a323486fd5d89283
+AUX milter-regex-1.7-gentoo.patch 1489 SHA256 9bbfd44ac27041421a3e8887db49057386628c52ac60fea4a9344493c560b209 SHA512 a6df75632ae3411ff2dd0b515e8137b3dbd4efcfdb8defa7aa6a85ff1e9dfd0ab9f67b080903092b1878268427f9bee6cc6be2ef774baa89f7d44f3a6e1c7659 WHIRLPOOL 92df594a2bd15ac4d0730cf39379322bdc6a46082f60756aa49fcef50a18bc492f790c735745b869c5764f95561f2b622c38d9521d52ebe0a62817ad8a8c6001
+AUX milter-regex-1.7-rules.patch 351 SHA256 8319e51b061a12d13b49fdb602e232d229fe25d418cddbe9e96c6001753724ae SHA512 71d9ce6b24ac4c816de5efea6909bbe347474c1e8230bb3e50881ca55bac5c24c61868d992d19b2013c5d03d96df929207b3c3fd50db028810eb05eebc6f0e28 WHIRLPOOL 788f1464f8fa56589cc26d827495481258e2a03653f565e11abde1c226bc81e839eee41d34ef6e95fc711565cf901ba6be7c07b2c83e390d963b227fd9cb9643
+AUX milter-regex-1.7-yacc.patch 428 SHA256 a2f40699187e9a075f6a306b1051fb71adfd430a0c3d1d2e65f8170f12535d05 SHA512 32050dae0dad98fb5bbc0165a3890cc6f3e9af8b8e84ca5f7344bc9e2704d9e56cad9380affbc978eada31bd23375b5fbd388b4922a2716d0e3e61e91ceb577f WHIRLPOOL 820bb0c14a9d1ae59b943a110c332b7e5baf92b4631117da39fb19e17ccaf4ab5afc615dc43e5ad12fa963754352a19fa711719daaf6834350532acb11674315
+AUX milter-regex-1.8-gentoo.patch 4222 SHA256 f6b475d7640e9f8ba70907f44daa2bc74f080020af35399c648b7bb5bccbeb17 SHA512 aea66c83b4dcd17030c16c42cf2f773be4b3dff054774435790b043a14bda025d01be8efe4ea30c9634113ec9a673547f5f1a5375863961023628ae98d80ec5f WHIRLPOOL 2d909575371d5fe41df1c2341753f4d08cb0060cb847a2e952e598d5bb30f16b6db5cd4adacd22b9e1bcc5890e523af9a017c6fa7c201a340595d26bdad75bd0
+AUX milter-regex-1.8-rules.patch 450 SHA256 96454430f7ae9b3bb6460d3ee9a4121cec17488214ad0074233d8c568befe893 SHA512 4b1358789d2d64d432fdf3a0c0ad8ce4b43ece3ada124b5aab0cbfb7d351c0a738917ab56bc318802e216b16e40d41a621aec8c3e2fa84f7bc75a0409d12cfc9 WHIRLPOOL 4f589316a217bf4d8a444451b886de3d1610090de84c6d4da91684f69bb14d6ef603eefff2885b0374e0ec01c2aa97f5068755518e938bf04d8366ea818434fd
+AUX milter-regex-1.9-gentoo.patch 1074 SHA256 4e7c6d3e1eddc6c423a136b223fc380632226ced0a917125417946ed725881f5 SHA512 d7311e3da08aeb39b2706c110c67a1aaf3f114aeb3fe94a73f8c10a8327e1865cb911f992a887fb518a6c500a4bae5d4e8c39955820436b21dab8f3820dd27cc WHIRLPOOL 4b3c5a06b4c634d01f39a58525ed59e9df10d5f7452ed67e53b38b5fc14468e8cb4b94a957af0b74a01f27f2ea61959ed54312d9845443cf8e83644b6254f333
+AUX milter-regex-conf 177 SHA256 e26c4c6a876dd8c3c5a15e6093feec5da7e44b396636c96d2b4441f555a8a150 SHA512 b4fa346684bf2184021adad76c44fbf38e3127299792d5a3b0f0052019a6046deaab19b56bee2b44b7f4fced9c309f440cf4be18f8190d661fc08bedaadbc2e8 WHIRLPOOL c45cd63389ad11c5130c2d1a5ff425aa884052a7d722675b02176477492a2dd02c08f3a0afa1763403abd36a5cbf20f9741c6ade90c69911ec8eb12f4e876161
+AUX milter-regex-init 964 SHA256 3aa5c796e3b4c96378395aacb6defe489fc1018aa5544680508dd59525aa1145 SHA512 b6265c06e6f9723a7142abf9b6fb2aa2155c30079c7b5e322bdc9da61cfb3f6ca700471b0bf2cc34c88c315f101a03d6bb3ebf02aacdc12efaccf95cd99e4847 WHIRLPOOL 470aad316d5b46186061fa33d8d0fa34aaf5a384577d2e482361f1f43c19b53ec98268b1e445ea431e8776916ae0765dab34390147ed0e0ae11ea511fd7db00e
+DIST milter-regex-1.7.tar.gz 19321 SHA256 ca64e51c67a27962e2d258a0f69f832ffd56b5270dbe4440f960f457c74bbce6
+DIST milter-regex-1.8.tar.gz 19545 SHA256 6399ab230618a419c42b117e37fdb2def3c6e1ce368341df5105cd505f377c2e SHA512 0fec535926a85fd81d2d07e6d61594d76b1d254793ee1f1d02e6a2f22fc9e4600ec73233d0d9d1847b36d5585ec202d7c4dd1883349b2a686e9fd7bf1c6e78a3 WHIRLPOOL 2b795608f19417b747f8bfdb151c27eb1af019e513fcf198d0948a9a73c4b59a46abc82654e3748e3b91c452e3fc45d0edfab03f9e9efce759cd82a88ca25f3a
+DIST milter-regex-1.9.tar.gz 19880 SHA256 6a708b0ff31d9f6db0e5b96915354c15f65ca09a730c599970b37e30699b18e4 SHA512 55cb97eba01220eb57c29498a090152c05d259abbe6f771e47a67499e7c2a1d4121ec9d0bce84cc8b6490bcd20dea8eaaba753e61f1ce9002edd8440b13f7148 WHIRLPOOL a8c1d75c016f32ec357e80498b7de5a89da50cf8a32bcbfd9e0467c829870c468beb6b12f138a352f518ff26a3f95c83ed25892670bf1a7f76f2b728cf626f30
+EBUILD milter-regex-1.7-r2.ebuild 1898 SHA256 df733b01b45bece60d5052b706d1ed321e4c7bea3a222fca7a7f90cbd0791ac0 SHA512 ec9f4ece8bd7eddb92ad1e2799fcce2ba8f10d2620b204c9e0de6c30a76bc6510ae1946e64d11e3236a2da13327d4454f9c988465179250a3ac7515f49e92b5b WHIRLPOOL c86ccb1440057a072018e4de3b96064dc21ea16851d7277a468bcc9967fb9b19d0befe7077baac2864e546fe9071a4f96d6fc958f2953b03192160efe0396025
+EBUILD milter-regex-1.8.ebuild 1857 SHA256 10f66553ace194c35ccbb3f991d3609ce083bb21aceb181f966aab7802c95fa1 SHA512 0b7f7433b0b1e82966bee1faa1231acd76bbc85e15a039cdc31b64fbf44edc5f70e06a5b0aa9bd4b328cc7b872230de40e639c27583dd587e7e32e2bacf0f74e WHIRLPOOL 3679795cceb24e7191017cb71f749beb93302435e04190acd312ef599f7295cc7106fcdddfa1bbebbfaeef9557ec6e40828e809709de6c9abb1766f54e28e19b
+EBUILD milter-regex-1.9.ebuild 1792 SHA256 79ef7ec2ce6aad2a42b609327ce8ac63c8b32f18723c794358adcff8d84da6b3 SHA512 85c7d1a417e20ca5e08e6ef12c36fc905841a6320509e78c86710f5631f484cb72d6a45b2ef66e65673f82bf29b4c0dba46906bd5db568e97c5417a4019fd1bc WHIRLPOOL a1861825beef9892586de052b68bfcda2f5fbc123f4a0a378e66f982fd327c2cd8f708ce2fd1c4ae5a82238581d143ba63e1defddc85fb0279610b505d7b513d
+MISC ChangeLog 2255 SHA256 d8bdbddce999cb36008333f6c3cc417d655d102dcbf6768d7de2173b1d9fda82 SHA512 0757a14507340475e5b15176b0c86b70451fb73b18d51762be96fa5a3a1635546583c6b710d3229c50471eaf70ba8adcc25f38fa3396e68ebd76a74d02cbdfef WHIRLPOOL 15059bb07040167c947bfde8fdfd9d8dd65f3283ab0fcc6d40d4758b4b96287d0ffaba642a4090c50093ef666768c3afbe633f3a10803407634b245e5ae09712
+MISC metadata.xml 400 SHA256 0d5b1d38e713aa4cf31874a75d2667f4805b0af1641e24b2a323486fd5d89283 SHA512 f0532f2502b2663b8a1a46db7c11d1a022d4c7ef6ce2cd46ac8510dbbd95598326e1c2b4a6fe5b5638d98c4a7d803be20537e1bbdc621c8ae4e9dd4fc4f2d40a WHIRLPOOL be63219458f2ef1bb770c2484dcb59ddce9e2e7b96b0a00b11d655524679f9f550764eec90d883818bfc95b618893a9f0faf0ecd5f58e7bb51284670dffe7a6a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk/NSrcACgkQ/ejvha5XGaMbhwCg6/MMLt0O5SvFt907CBUDqTKm
-+dAAn3KSmp5j39HMwT3gC24xK1baGy/3
-=qZBj
+iQIcBAEBCAAGBQJQHpH6AAoJEHfx8XVYajsfq9gP/2BfGoMKRnrrr2IFeCjiKuOX
+S86HqaPCKbKb1gx8PYAjED3UbPRXpRVWGL4qavlK88Ho9IvG8YdxXiA6h8ZMFYM/
+TO1tsc0tjW5a5/mVu2WYJt4vimw9Tlu8AUaW5g77EGdZnT4WKpGju1ISLNQgayn9
+NfMwd+0lPbLew6TnecfvdGy8jOTqU8SuK/8HBRb/AebXJeo+XprErchTw4wLFn90
+6ql0RZ7LgAKsE0rQObzinSUTVO3Fv3sPi3AVPbS0thXrqCducAg+E9PE4rhab20U
+W/ZAhroGJ51rdfDATAzNGOtum8gB9pvsGeGlrcqbwPHHpakliZrYYOZwXQHIq0sC
+nbaXt1bV6gmDxZ2YRFFHuQztGrfk9eTHKTq38q8y+WZJuPx2N0hXAaqFX5bzRkkg
++AC9AKwt3a1YwmrYdQqBclun5sjCyWSndhummotqHPAlMSNm1W7w+qHJqZibvKLb
+oIfT1gMIKMENBITWlTg63gEZ/eOCpFUQZ0Ew7Efo86P19096bHK9YrxZJVUovxPU
+ExXeg7lNL0VQ6Hk4Uy2eex3JHVIWcx5z9IKUIF3FpEn4ydymo7f5E4mXXwtT6oJc
+qDLMOHsKoVJHWG35wKU7eHIYSOjseD/vUAbRbckpauh+vDrgd041dMcZ3Zt4PSYc
+CVwDTB2yy6CVnezRv0os
+=cGEH
-----END PGP SIGNATURE-----
diff --git a/mail-filter/milter-regex/files/milter-regex-1.9-gentoo.patch b/mail-filter/milter-regex/files/milter-regex-1.9-gentoo.patch
new file mode 100644
index 000000000000..38ba17af0d88
--- /dev/null
+++ b/mail-filter/milter-regex/files/milter-regex-1.9-gentoo.patch
@@ -0,0 +1,38 @@
+--- Makefile.linux 2011-07-16 16:51:34.000000000 +0300
++++ Makefile.linux 2012-08-05 18:15:30.906378968 +0300
+@@ -6,28 +6,27 @@
+ # see milter-regex.init for an init script for RedHat/Fedora
+ # (contributed by admin@2ka.mipt.ru)
+
+-CFLAGS= -g
+-LDFLAGS= -L/usr/lib/libmilter -lmilter -lpthread
++LIBS= -lmilter -lpthread
+
+ all: milter-regex milter-regex.cat8
+
+ milter-regex: milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o
+- gcc -o milter-regex milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o $(LDFLAGS)
++ $(CC) $(LDFLAGS) -o milter-regex milter-regex.o eval.o strlcat.o strlcpy.o y.tab.o $(LIBS)
+
+ milter-regex.o: milter-regex.c eval.h
+- gcc $(CFLAGS) -c milter-regex.c
++ $(CC) $(CFLAGS) -c milter-regex.c
+
+ eval.o: eval.c eval.h
+- gcc $(CFLAGS) -c eval.c
++ $(CC) $(CFLAGS) -c eval.c
+
+ strlcat.o: strlcat.c
+- gcc $(CFLAGS) -c strlcat.c
++ $(CC) $(CFLAGS) -c strlcat.c
+
+ strlcpy.o: strlcpy.c
+- gcc $(CFLAGS) -c strlcpy.c
++ $(CC) $(CFLAGS) -c strlcpy.c
+
+ y.tab.o: y.tab.c
+- gcc $(CFLAGS) -c y.tab.c
++ $(CC) $(CFLAGS) -c y.tab.c
+
+ y.tab.c: parse.y
+ yacc -d parse.y
diff --git a/mail-filter/milter-regex/milter-regex-1.9.ebuild b/mail-filter/milter-regex/milter-regex-1.9.ebuild
new file mode 100644
index 000000000000..54f119b7cb50
--- /dev/null
+++ b/mail-filter/milter-regex/milter-regex-1.9.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/milter-regex/milter-regex-1.9.ebuild,v 1.1 2012/08/05 15:31:55 eras Exp $
+
+EAPI=4
+
+inherit eutils user
+
+DESCRIPTION="A milter-based regular expression filter"
+HOMEPAGE="http://www.benzedrine.cx/milter-regex.html"
+SRC_URI="http://www.benzedrine.cx/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )"
+DEPEND="${RDEPEND}
+ virtual/yacc"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" -f Makefile.linux milter-regex || die "emake failed"
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe milter-regex
+
+ keepdir /var/run/milter-regex
+
+ insinto /etc/mail
+ newins rules milter-regex.conf
+
+ newconfd "${FILESDIR}"/milter-regex-conf milter-regex
+ newinitd "${FILESDIR}"/milter-regex-init milter-regex
+
+ doman *.8
+}
+
+pkg_preinst() {
+ enewgroup milter
+ # mail-milter/spamass-milter creates milter user with this home directory
+ # For consistency reasons, milter user must be created here with this home directory
+ # even though this package doesn't need a home directory for this user (#280571)
+ enewuser milter -1 -1 /var/lib/milter milter
+
+ fowners milter:milter /var/run/milter-regex
+}
+
+pkg_postinst() {
+ elog "If you're using Sendmail, you'll need to add this to your sendmail.mc:"
+ elog " INPUT_MAIL_FILTER(\`milter-regex', \`S=unix:/var/run/milter-regex/milter-regex.sock, T=S:30s;R:2m')"
+ elog
+ elog "If you are using Postfix, you'll need to add this to your main.cf:"
+ elog " smtpd_milters = unix:/var/run/milter-regex/milter-regex.sock"
+ elog " non_smtpd_milters = unix:/var/run/milter-regex/milter-regex.sock"
+}