From 254e40d874465a4f19da3f49681e9424968ca597 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 29 Apr 2016 09:49:33 +0000 Subject: testing/milter-greylist: adjust socket permissions. Drop unneeded patch. --- testing/milter-greylist/APKBUILD | 12 ++++-------- testing/milter-greylist/milter-greylist-conf.patch | 2 +- .../milter-greylist/milter-greylist-no-sockaddr-length.patch | 11 ----------- 3 files changed, 5 insertions(+), 20 deletions(-) delete mode 100644 testing/milter-greylist/milter-greylist-no-sockaddr-length.patch diff --git a/testing/milter-greylist/APKBUILD b/testing/milter-greylist/APKBUILD index 6e8ba0ed6..48f76b53a 100644 --- a/testing/milter-greylist/APKBUILD +++ b/testing/milter-greylist/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=milter-greylist pkgver=4.5.16 -pkgrel=2 +pkgrel=3 pkgdesc="Stand-alone milter written in C that implements the greylist filtering method" url="http://hcpnet.free.fr/milter-greylist" arch="all" @@ -16,7 +16,6 @@ pkgusers="smmsp" pkggroups="smmsp" source="ftp://ftp.espci.fr/pub/milter-greylist/$pkgname-$pkgver.tgz milter-greylist-conf.patch - milter-greylist-no-sockaddr-length.patch " builddir="$srcdir"/$pkgname-$pkgver @@ -63,11 +62,8 @@ package() { } md5sums="dead8ceb27b0b471025bedabd742ce14 milter-greylist-4.5.16.tgz -bbecf43a626a81f3383e7b9d21042290 milter-greylist-conf.patch -811a2d1328cef175c6f71ed82e29e17f milter-greylist-no-sockaddr-length.patch" +141e3b79fcea533cdd9ae57f2d731f24 milter-greylist-conf.patch" sha256sums="a820616fc6052a74c646bf55b1f44c5931fc87758df8cdbd5b61af6032cc6eb1 milter-greylist-4.5.16.tgz -c0abf2a935f58f7aa8e2f49c272a9fd7c99b6464c2ff00706d1c475b5917db1a milter-greylist-conf.patch -09c979e88f09f5014b382ec9c4a3dd0a7c5a918fd04210a20a13334b35f9c69a milter-greylist-no-sockaddr-length.patch" +973788cd06c96d7e9c02d9ccfc1dd62f85c3ef635b44873755575033b7a97336 milter-greylist-conf.patch" sha512sums="0627ac09f74fd9fde7d990afd055f12e9f82c1e1edfc38aaa03b56328c6eeaf091c3e80258d75929fa114a33ee5a418baf0c8ad9f6c76be77aeba1942f0d6cbc milter-greylist-4.5.16.tgz -e48bab52eb6fe8a8123ddc56753fb0fa5243bd07272cf2440269cd348f96f6f6a33163e49d9b009a5ff6181a212f9d5d25354d7ddd787603bcde84eda29e4d9c milter-greylist-conf.patch -0dbd7c02630dbf2ae36a7a55db7c10cc1b10b36fb390c51d33be4478c751c747cbb710323429fe9834a2ae2710ea02a104cc1f87ac37d23e83771bc5b6303522 milter-greylist-no-sockaddr-length.patch" +4057061fae24a8d008c6a8aed82018a4bb9f6e9ce72a13d9369d54b192e9a6e99b0e72db8905aa182879c9522b87a92844d0be92773843773508a21e42dbd447 milter-greylist-conf.patch" diff --git a/testing/milter-greylist/milter-greylist-conf.patch b/testing/milter-greylist/milter-greylist-conf.patch index 975b3fe7a..d241393d5 100644 --- a/testing/milter-greylist/milter-greylist-conf.patch +++ b/testing/milter-greylist/milter-greylist-conf.patch @@ -8,7 +8,7 @@ -socket "/var/milter-greylist/milter-greylist.sock" -dumpfile "/var/milter-greylist/greylist.db" 600 +pidfile "/var/run/milter-greylist/milter-greylist.pid" -+socket "/var/run/milter-greylist/milter-greylist.sock" ++socket "/var/run/milter-greylist/milter-greylist.sock" 660 +dumpfile "/var/lib/milter-greylist/greylist.db" 600 dumpfreq 1 user "smmsp" diff --git a/testing/milter-greylist/milter-greylist-no-sockaddr-length.patch b/testing/milter-greylist/milter-greylist-no-sockaddr-length.patch deleted file mode 100644 index 4ca9c1ad2..000000000 --- a/testing/milter-greylist/milter-greylist-no-sockaddr-length.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/config.h -+++ b/config.h -@@ -74,7 +74,7 @@ - #define HAVE_RES_NINIT 1 - - /* sa_len field in struct sockaddr */ --#define HAVE_SA_LEN /**/ -+#undef HAVE_SA_LEN - - /* Define to 1 if you have the `select' function. */ - #define HAVE_SELECT 1 -- cgit v1.2.3