From bd7908c6630f38067350d396ac5d18c3cc2434a0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 29 Oct 2017 11:22:34 +0000 Subject: gentoo resync : 29.10.2017 --- app-admin/logrotate/Manifest | 14 +--- .../logrotate/files/logrotate-3.11.0-Werror.patch | 12 --- .../logrotate/files/logrotate-3.11.0-fbsd.patch | 57 ------------- .../files/logrotate-3.11.0-ignore-hidden.patch | 14 ---- .../logrotate/files/logrotate-3.11.0-lfs.patch | 11 --- .../files/logrotate-3.11.0-noasprintf.patch | 55 ------------ .../logrotate/files/logrotate-3.12.2-fbsd.patch | 36 -------- .../files/logrotate-3.12.2-ignore-hidden.patch | 14 ---- app-admin/logrotate/logrotate-3.11.0.ebuild | 88 ------------------- app-admin/logrotate/logrotate-3.12.2.ebuild | 83 ------------------ app-admin/logrotate/logrotate-3.12.3-r1.ebuild | 2 +- app-admin/logrotate/logrotate-3.12.3.ebuild | 98 ---------------------- 12 files changed, 2 insertions(+), 482 deletions(-) delete mode 100644 app-admin/logrotate/files/logrotate-3.11.0-Werror.patch delete mode 100644 app-admin/logrotate/files/logrotate-3.11.0-fbsd.patch delete mode 100644 app-admin/logrotate/files/logrotate-3.11.0-ignore-hidden.patch delete mode 100644 app-admin/logrotate/files/logrotate-3.11.0-lfs.patch delete mode 100644 app-admin/logrotate/files/logrotate-3.11.0-noasprintf.patch delete mode 100644 app-admin/logrotate/files/logrotate-3.12.2-fbsd.patch delete mode 100644 app-admin/logrotate/files/logrotate-3.12.2-ignore-hidden.patch delete mode 100644 app-admin/logrotate/logrotate-3.11.0.ebuild delete mode 100644 app-admin/logrotate/logrotate-3.12.2.ebuild delete mode 100644 app-admin/logrotate/logrotate-3.12.3.ebuild (limited to 'app-admin/logrotate') diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index 7d8cf83e1934..d480f7ac8123 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,10 +1,3 @@ -AUX logrotate-3.11.0-Werror.patch 468 SHA256 633ec5e7d0d44e490d4fc2f71ccb7742ee44087143f2a175077c5ea71c3bf3e8 SHA512 a846e9d3778a33622d7daccbd5880cadf2201ec3914c9f47c0c67c1786edd720a33c140f18f7259024e13e1f5cedcd447deb9cfb0d70882fb52332bfffe3c42e WHIRLPOOL ed64892d93334eeaee8ad244227f396a23c8d005177d32952b2575cef5efc6c52ef23d6e0d3ce889c5a652e4b511df11857a7fd717efb54ee9240da117b6c6e6 -AUX logrotate-3.11.0-fbsd.patch 1421 SHA256 04bd0e7a2fd75d41a424d35b31dbbcc3e25ed44c3cac7bc5b2ae5db643a06b27 SHA512 dd552c5879cc9cc120a7ff953d1934278a9976a46e84c010bb135e1988dd12cadfe7cb5e2f5067d5b882dc521713fb2a024cb61ad0216cdb33297f356bc0307e WHIRLPOOL 4d6556b6f72e7843e910ba8519c6e8f0986fbb516e8d7700e4feac337cc6e8cb1f802302e0bb228c5597aaefd41a752174871cc027da740bc775f51d5339c1c0 -AUX logrotate-3.11.0-ignore-hidden.patch 548 SHA256 56fca1f490e9a9f13f110297a8988e59800b10b9d06b4f284f76dbaba4ad717e SHA512 a86caa30b787abc1328652e590dd73633a38830739ff6c6c9f5d43fb2919e53383ec8091f5e0d6af475d13fd68bd1e636cd43cd5adf377c22ff2ea694ba32cf1 WHIRLPOOL 5164d9048e9f147197077e73933a219d8074bd57bd2835e997cba12ba7e815f87495d46bc6c6bf9f54957f4f501fb24284a75aef9bac0d1c84cee9c94e5beb1e -AUX logrotate-3.11.0-lfs.patch 346 SHA256 ad8cfab537560d663afa954e654592c9f139aefc9848f08619212ee46ab074f4 SHA512 cdffb9f1481bb8777319423c9617898b50712129a80d721fef8c243a030248a70540d2db0d421e8e974bc6623d8739d1a50da8b65894cdc385dd8d741c2710e1 WHIRLPOOL 82fec61a2bd484cbcc18cea898197923ea8cfea86039bdb2bef7effa9635f6287d06e879bccf11b22f770cb1b93542756e2f11d9f8564f35966f69e6fea9f3d4 -AUX logrotate-3.11.0-noasprintf.patch 1274 SHA256 8a84f7c46b117f0c9705333e50c9a2c3173b62b6fb2a86b3752d9cb597a84c8d SHA512 d673aa820cd95b744deb24b1c5ccbc82f22d5f6220028a0b96c7abc3190cfc5f85fed1f8bba7fd98b8b3ff458fccb08c2adb80046151088bc0797f814de2a9f5 WHIRLPOOL 573505eea80a433d47d83cde1e252d704a1e543b149816a75854de7042dd417af31d2848c04e0a225e16b6d00cae3d6b673a336cf018ee2438bb3102a1244705 -AUX logrotate-3.12.2-fbsd.patch 855 SHA256 127c90627ba4dc79d0120d3a86b8e7696b89546cb164230f12466113d874141b SHA512 3e54314ce32735bd70fe46792c073fd5eb345a77e40eae4b9c899671cc8b7dd8d6f1042a28f05364431fc730a3dbe924d19d6eacbb387c6384268a397dd9ac85 WHIRLPOOL b734147fad23c8a0d16aaee33910995ce11310497616a390c74415d66e74ab6508b65e144e5c692fba635f5c0882106d8dd72b99ec941439e589e2712efdf155 -AUX logrotate-3.12.2-ignore-hidden.patch 542 SHA256 35488583344d963ea1c19a798bc9f8d9c174395f299d1a81a65680e47c36362b SHA512 86d7335dda9b913928eb14dc39a120e14f3796fc30516fbfb5424c575520802edb84224bf5673084be7e983f9e2d856d80d58fa4200a0a43a9624d41dc20a206 WHIRLPOOL a711fbb2fe8ee74123ecbca4202ff8cac60bdb8c0fc197aa8dc96e101cad32d8e1b85bc378bfd8d0fd831753e39f7c9a177db194d9d2450bee2e29f09af37f86 AUX logrotate-3.12.3-fbsd.patch 855 SHA256 127c90627ba4dc79d0120d3a86b8e7696b89546cb164230f12466113d874141b SHA512 3e54314ce32735bd70fe46792c073fd5eb345a77e40eae4b9c899671cc8b7dd8d6f1042a28f05364431fc730a3dbe924d19d6eacbb387c6384268a397dd9ac85 WHIRLPOOL b734147fad23c8a0d16aaee33910995ce11310497616a390c74415d66e74ab6508b65e144e5c692fba635f5c0882106d8dd72b99ec941439e589e2712efdf155 AUX logrotate-3.12.3-ignore-hidden.patch 542 SHA256 35488583344d963ea1c19a798bc9f8d9c174395f299d1a81a65680e47c36362b SHA512 86d7335dda9b913928eb14dc39a120e14f3796fc30516fbfb5424c575520802edb84224bf5673084be7e983f9e2d856d80d58fa4200a0a43a9624d41dc20a206 WHIRLPOOL a711fbb2fe8ee74123ecbca4202ff8cac60bdb8c0fc197aa8dc96e101cad32d8e1b85bc378bfd8d0fd831753e39f7c9a177db194d9d2450bee2e29f09af37f86 AUX logrotate-3.13.0-fbsd.patch 855 SHA256 22618ce2fcf3555f4922ea98e90bac7846a840fe4da76d1c14d66614b13b21b0 SHA512 5343814545554392f1ee1be5b35866ebce0d8f2f580cb7807940e3a5b2092025f1b9619fa0ff3bdf4b99aada4c46a602d6c34c6e3c1e42b15ce51cf9d879a3ed WHIRLPOOL e78ea306458781dd88f3efbea57bc1d42f761aa5b98a286608be661a2904d91fbf53475740304e5a5f9f47bb361d87588c829900f90c2b7764fad2b066dac0ad @@ -16,16 +9,11 @@ AUX logrotate-3.9.1-ignore-hidden.patch 551 SHA256 3f04aa2ff9ff85cf0486c40f6a81c AUX logrotate-3.9.1-noasprintf.patch 1263 SHA256 edc5f3db12c27c3353cfe1764c10d3b97581f249096e61f875440e429afc778a SHA512 c84be7ef011fe09a2fae67fa918080c1b0c098f0000e6cacdfcc34311f17c0131e68bc1e337559391ae7272fd326ac7ba6ba1cca20f99a9cc51367ac35a924e6 WHIRLPOOL 0d702f6c92483791e9fe2b5128e324fcda7c5ee825c46fab4405b5752f836bce00aaaf8ec9a284a5214aa2e10a4818bfb2e8cd9a4e2bce6f0836ec1c543dd3ea AUX logrotate.conf 743 SHA256 9144148139ab9aaaaa5b02d3f88e44b6dfd23b8ddd6c86d2f543eb5ad566f775 SHA512 c0357a432a4619392895d8180db3c593239a96f62aba7cfd981c76e9d1dfd9d93d63860655025b1e9473374c2a51068028c3a3f316cb5cbb71562ca4a61d8d24 WHIRLPOOL b2cd43773242adc78b2b322679db16946a5db95d56591a6e53316660937f7696f51b66fb8c106f7e2b98fc119070397f986ecfd1563409749801a5331c058357 AUX logrotate.tmpfiles 16 SHA256 5624b71671928b2d5a076c32172b65b679b8502aae66b2840fc252fb09504209 SHA512 f51852b1d5708a8fc48c6fcfd2fc4f34f3cd88d9119c607c0cb47f0cc0dc7370bd3399a9ebf781943cdd16a25bb4db0d81337140fc179faa72e18a848f3d8c36 WHIRLPOOL 6fc46fb539199e992112081a3d8d24bd6bf50597b268a08b36eb86158f513ead488cdcec23eec88750c79767f6a7f8024d17909e5d14888f9b1634eaaece00b7 -DIST logrotate-3.11.0.tar.gz 176488 SHA256 7dcb440ed2f1937459e1e06f841c6af1e564b77b2df8009147b56c8649197910 SHA512 67ceb2e18c175a5935c81e7699af7a5e6625cef50a3f52e993d49d6c10d9c433f6c7354a8dd05cb35ab28e4393d1db198f2e46e5f6eafd3e6f040b6518438cc1 WHIRLPOOL 0a581aa5922386b84a7c40a9490364287f4e162f7180fd0e15bf191694294168b663947c7081e92755406fe4f0b3b8792b6f0c5f0e646afa5505a17995a86858 -DIST logrotate-3.12.2.tar.gz 202700 SHA256 754777ada2ef2f34378e8f6025cdb0c0725e212f12195d59971c42df0ae0597f SHA512 ba8c3d7c7134b9ab5968c0dc8a1c5d24d7287a3204e1c6eed080b537d6a0ed7765a47c69b3067493304994e3f4238dc0173b593e4628316bfadf3decd002da16 WHIRLPOOL a299bc2bd50ab36acdd4ab747a479c5b94e84ac92bf55b71a8a8a7d4e1b55eb909dce94c22a5fdadda946dc783376923de5f46729084e21b54811489ce97c482 DIST logrotate-3.12.3.tar.gz 202991 SHA256 435a3f9a534a37e11657532a090f6bf521d8696bdf9cb799a360c1750ba3aea9 SHA512 ab700a50736c7ce8a6e5b9dc2504919c6d3e6ae48a7f112f6980253df5c6bab7fc507c82a0cd961d73ed1312c930da46d96d9f27046996644e0759c84c6a1ae9 WHIRLPOOL ceadd2a748850f0035702156b9a566bf3a38749edf823062f1c867e60cac1c7b40d770d6c923eed79972ce58394b3220e16e40e97e192a6a7046cf09c5fcbf77 DIST logrotate-3.13.0.tar.gz 213726 SHA256 2ea33f69176dd2668fb85307210d7ed0411ff2a0429e4a0a2d881e740160e4b0 SHA512 3dec2fcdd674d3337b71fd70339cb5e3dd06b4bc24bee191356a30c2a211a290ae7747e63b90581e32a6d6d1f73cf62d5b0ee5a91aa05bad4d6ee403a35d9e76 WHIRLPOOL 952c5eda18870876ea5109d4c5ae7ac1048d3ea07c89b4a0320a48baa8170fbc200f5b4a1cc193da0f6b0e1ef8dbdcdb82f74f23d4f12e5a19bb98650c1e7d5a DIST logrotate-3.9.1.tar.gz 79061 SHA256 022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545 SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 WHIRLPOOL 9b3558bb03c6c95f8f386ea75ca09bfda802ae4c45b9ef8408692e3aa7a2ee57447cf15ce04d0289946b9cae2266acb5509d8151d15ac6ea0ad9113aeb32dc17 -EBUILD logrotate-3.11.0.ebuild 2005 SHA256 101653a12e2243dd4253abbc24becfeef0d2bae5037ae848a1f4848bec4a163e SHA512 eb0392730a076565c459a2645b6497b86d3a86d0096661eb468b00cbb909ffbed7db762adb866a9cbfca40ff339d90ce0c970404b718b8f8a4d084dbf51a1ddf WHIRLPOOL 0317478d7fc84c7d1716d2b449298b382a2349a5ed746c458a9e47a129fdbe9d4e7ec330bc36c07e9be0ae2ca041518424f1ce7ef3333e547667947eec5f6c12 -EBUILD logrotate-3.12.2.ebuild 1903 SHA256 d909fdef412279a0147a2f9d02986cafea2c4bd63936ab0fa0538ecad797483e SHA512 78ae7250c4c26ff7f702746535bace0f34b68d2ceb9d6cc3744975d1842781bb2037fa520b873806659db2e5acb8b58ec14996865be82e62d1d892acdae3b134 WHIRLPOOL 728c71c61e3ac0830ea100d891bcaf7fa8c9cf75e7c8f455862442d31a0f83b459d50ef54101a31745c84d6f491473404ded5c9372cf551a8499eff60893a49a -EBUILD logrotate-3.12.3-r1.ebuild 2487 SHA256 e1871fe019ac5de8ef40c4e4b33e6e2a2b14ff52f39fd7969b3e547551dba63c SHA512 b085e9bbc3a21814f7d12bdbd37b38094527e04253bd64e5a90ecf366b58b1a9aae98752508f0f59a2fcf09f548bfa5c7e65436c4ce80918eee78df978ad34cc WHIRLPOOL 90c109fdf4396b723ecee00ebb676b0d8718d7fe9f72bdb5a87782355c411cfe72af86994c7564cd16c6f26397f2724eb63bcd04e3f767c5e318e59340681416 +EBUILD logrotate-3.12.3-r1.ebuild 2485 SHA256 2863ca598d152971453f9d3b47c64c9859e7427afab3602f9a3a7dcb40238df0 SHA512 46b79b611ba2e3533e1c068b3422b3507e2f505d5562810f91699f936be43b99a4456603e5c9298f30dc2eae5633e391319516babfd038520a0de58e03513ab4 WHIRLPOOL 3c4e9ccf4da2ae3e2d468a178cd9370be0c570edfc3473d8ff00c09973f17afe46f447826f5f51de10dd67a8820ad996be97a8d8bbcaaaea51762be87b4a62c6 EBUILD logrotate-3.12.3-r2.ebuild 2552 SHA256 55c7d7cd58624e29f040d575fe0d695bf66af60dfa735efd24416e2306e07140 SHA512 b3f3b5d0264bb75c717608be706eccf33d97996f38c5ca152e1797f9dfbdfc40add7065fa614a715d0a30d431dd484e34a8b48138b80d99bcdd546b597264436 WHIRLPOOL db532413f8a7aa375b952c7451a482f362ff2aa93316f62dacbc75274e692e6be19088b28305973b610eaed3bae4578998720213c8e33bd252f529cdbc02c754 -EBUILD logrotate-3.12.3.ebuild 2479 SHA256 f5bc883c099160493f924e3b72aa304eac5d23248f21137876b1f774a24539e8 SHA512 4e0b4b99277ee692318a6d6f4358a5463f11c339cc1e610040a9a436b412d5f8ba22ededee3453a4dc6dccd66067ee04931a39d3b27f08189592c2366f0c0365 WHIRLPOOL 9d71a14ec8ba93fa742d20d1275e757236b37413947248614fdbcf723a49dbaf700e20145e6523ac759d637a795355af1f636227db0803b04f994bbbedaafaf3 EBUILD logrotate-3.13.0.ebuild 2552 SHA256 55c7d7cd58624e29f040d575fe0d695bf66af60dfa735efd24416e2306e07140 SHA512 b3f3b5d0264bb75c717608be706eccf33d97996f38c5ca152e1797f9dfbdfc40add7065fa614a715d0a30d431dd484e34a8b48138b80d99bcdd546b597264436 WHIRLPOOL db532413f8a7aa375b952c7451a482f362ff2aa93316f62dacbc75274e692e6be19088b28305973b610eaed3bae4578998720213c8e33bd252f529cdbc02c754 EBUILD logrotate-3.9.1.ebuild 1767 SHA256 72213fbfa0a0f182e8ac774e29a8763a17b394c1b4e33e7cac664c7bccbcc96a SHA512 ed808392727749efb6d20a410810f6eb9cb364db2e11460f4c2940abd0fb1d7430b75102f2fcabcaf64e8818da39323010d2a5d223df49c705a6171acf541a03 WHIRLPOOL 245d8f38775b0a9296cc41c0af04e6aca66a7722c2eafbe6814b2a865cc4bd1237f5ef1aa146089882112144db8292d1e706323ec63d2b018ba9bac06147cb37 MISC ChangeLog 11318 SHA256 38d98af46e97c9519c8e99cf7bf71b7c27b1814b35870579057d068c54fc14c7 SHA512 d2992032a405e2c185966f44f50a1a92c0138f8e847b55402a620f144ecedf58a23381c0ae42b12d344cf18eeab833a786ed35401a29c0c45aa2b67664ba8c51 WHIRLPOOL 66cb04fb922ba81fc9bcf4cd200c6d236d5a758f872da2e55bb09981571b914adca5c40e2597b4dea1ef994ce36782aac590adc5d6aa149b1adc08f36b1ea5dc diff --git a/app-admin/logrotate/files/logrotate-3.11.0-Werror.patch b/app-admin/logrotate/files/logrotate-3.11.0-Werror.patch deleted file mode 100644 index 43c0ebaeb189..000000000000 --- a/app-admin/logrotate/files/logrotate-3.11.0-Werror.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nuar a/Makefile.am b/Makefile.am ---- a/Makefile.am 2016-11-30 13:05:55.000000000 +0100 -+++ b/Makefile.am 2016-12-02 23:46:15.288908073 +0100 -@@ -8,7 +8,7 @@ - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # --AM_CFLAGS = -Wall -Werror -+AM_CFLAGS = -Wall - sbin_PROGRAMS = logrotate - logrotate_SOURCES = basenames.c config.c log.c logrotate.c \ - basenames.h config.h log.h logrotate.h queue.h diff --git a/app-admin/logrotate/files/logrotate-3.11.0-fbsd.patch b/app-admin/logrotate/files/logrotate-3.11.0-fbsd.patch deleted file mode 100644 index f5aa65272b88..000000000000 --- a/app-admin/logrotate/files/logrotate-3.11.0-fbsd.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2016-12-02 23:33:36.768905615 +0100 -+++ b/config.c 2016-12-02 23:36:15.568906130 +0100 -@@ -1,6 +1,6 @@ - #include "queue.h" - /* Alloca is defined in stdlib.h in NetBSD */ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) - #include - #endif - #include -@@ -24,6 +24,10 @@ - #include - #include - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "basenames.h" - #include "log.h" - #include "logrotate.h" -diff -Nuar a/logrotate.c b/logrotate.c ---- a/logrotate.c 2016-11-30 14:07:15.000000000 +0100 -+++ b/logrotate.c 2016-12-02 23:36:44.218906223 +0100 -@@ -1,6 +1,6 @@ - #include "queue.h" - /* alloca() is defined in stdlib.h in NetBSD */ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) - #include - #endif - #include -@@ -26,6 +26,10 @@ - #include - #endif - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "basenames.h" - #include "log.h" - #include "logrotate.h" -diff -Nuar a/Makefile.legacy b/Makefile.legacy ---- a/Makefile.legacy 2016-11-30 13:05:55.000000000 +0100 -+++ b/Makefile.legacy 2016-12-02 23:37:33.938906384 +0100 -@@ -22,7 +22,9 @@ - - ifeq ($(WITH_ACL),yes) - CFLAGS += -DWITH_ACL -+ifneq ($(OS_NAME),FreeBSD) - LOADLIBES += -lacl -+endif - # See pretest - TEST_ACL=1 - else diff --git a/app-admin/logrotate/files/logrotate-3.11.0-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.11.0-ignore-hidden.patch deleted file mode 100644 index 104f202efd27..000000000000 --- a/app-admin/logrotate/files/logrotate-3.11.0-ignore-hidden.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2016-11-30 13:05:55.000000000 +0100 -+++ b/config.c 2016-12-02 23:33:36.768905615 +0100 -@@ -383,7 +383,9 @@ - int i; - - /* Check if fname is '.' or '..'; if so, return false */ -- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2]))) -+ /* Don't include 'hidden' files either; this breaks Gentoo -+ portage config file management http://bugs.gentoo.org/87683 */ -+ if (fname[0] == '.') - return 0; - - /* Check if fname is ending in a taboo-extension; if so, return false */ diff --git a/app-admin/logrotate/files/logrotate-3.11.0-lfs.patch b/app-admin/logrotate/files/logrotate-3.11.0-lfs.patch deleted file mode 100644 index 9cd5745e846a..000000000000 --- a/app-admin/logrotate/files/logrotate-3.11.0-lfs.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Nuar a/configure.ac b/configure.ac ---- a/configure.ac 2016-12-02 14:08:40.000000000 +0100 -+++ b/configure.ac 2016-12-02 23:48:03.878908425 +0100 -@@ -12,6 +12,7 @@ - AC_PROG_CC_STDC - AC_STRUCT_ST_BLKSIZE - AC_STRUCT_ST_BLOCKS -+AC_SYS_LARGEFILE - - dnl Use 64-bit file offsets on 32-bit systems (defines C macros if necessary) - AC_SYS_LARGEFILE diff --git a/app-admin/logrotate/files/logrotate-3.11.0-noasprintf.patch b/app-admin/logrotate/files/logrotate-3.11.0-noasprintf.patch deleted file mode 100644 index 36733a25d03b..000000000000 --- a/app-admin/logrotate/files/logrotate-3.11.0-noasprintf.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2016-12-02 23:36:15.568906130 +0100 -+++ b/config.c 2016-12-02 23:41:17.438907108 +0100 -@@ -49,39 +49,6 @@ - #include "asprintf.c" - #endif - --#if !defined(HAVE_ASPRINTF) && !defined(_FORTIFY_SOURCE) --#include -- --int asprintf(char **string_ptr, const char *format, ...) --{ -- va_list arg; -- char *str; -- int size; -- int rv; -- -- va_start(arg, format); -- size = vsnprintf(NULL, 0, format, arg); -- size++; -- va_start(arg, format); -- str = malloc(size); -- if (str == NULL) { -- va_end(arg); -- /* -- * Strictly speaking, GNU asprintf doesn't do this, -- * but the caller isn't checking the return value. -- */ -- fprintf(stderr, "failed to allocate memory\\n"); -- exit(1); -- } -- rv = vsnprintf(str, size, format, arg); -- va_end(arg); -- -- *string_ptr = str; -- return (rv); --} -- --#endif -- - #if !defined(HAVE_STRNDUP) - char *strndup(const char *s, size_t n) - { -diff -Nuar a/logrotate.h b/logrotate.h ---- a/logrotate.h 2016-11-30 13:05:55.000000000 +0100 -+++ b/logrotate.h 2016-12-02 23:40:54.518907034 +0100 -@@ -82,8 +82,5 @@ - extern int debug; - - int readAllConfigPaths(const char **paths); --#if !defined(asprintf) && !defined(_FORTIFY_SOURCE) --int asprintf(char **string_ptr, const char *format, ...); --#endif - - #endif diff --git a/app-admin/logrotate/files/logrotate-3.12.2-fbsd.patch b/app-admin/logrotate/files/logrotate-3.12.2-fbsd.patch deleted file mode 100644 index 67a60e3af177..000000000000 --- a/app-admin/logrotate/files/logrotate-3.12.2-fbsd.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2017-04-22 23:46:08.201991730 +0200 -+++ b/config.c 2017-04-22 23:49:43.021996055 +0200 -@@ -25,6 +25,10 @@ - #include - #include - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "log.h" - #include "logrotate.h" - -diff -Nuar a/logrotate.c b/logrotate.c ---- a/logrotate.c 2017-04-21 10:52:10.000000000 +0200 -+++ b/logrotate.c 2017-04-22 23:50:20.691996814 +0200 -@@ -1,6 +1,6 @@ - #include "queue.h" - /* alloca() is defined in stdlib.h in NetBSD */ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) - #include - #endif - #include -@@ -27,6 +27,10 @@ - #include - #endif - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include -+#endif -+ - #include "log.h" - #include "logrotate.h" - diff --git a/app-admin/logrotate/files/logrotate-3.12.2-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.12.2-ignore-hidden.patch deleted file mode 100644 index 0bbb91dcb4fc..000000000000 --- a/app-admin/logrotate/files/logrotate-3.12.2-ignore-hidden.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2017-04-18 14:57:02.000000000 +0200 -+++ b/config.c 2017-04-22 23:46:08.201991730 +0200 -@@ -389,7 +389,9 @@ - int i; - - /* Check if fname is '.' or '..'; if so, return false */ -- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2]))) -+ /* Don't include 'hidden' files either; this breaks Gentoo -+ portage config file management http://bugs.gentoo.org/87683 */ -+ if (fname[0] == '.') - return 0; - - /* Check if fname is ending in a taboo-extension; if so, return false */ diff --git a/app-admin/logrotate/logrotate-3.11.0.ebuild b/app-admin/logrotate/logrotate-3.11.0.ebuild deleted file mode 100644 index 2570ecbb1bf9..000000000000 --- a/app-admin/logrotate/logrotate-3.11.0.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools eutils toolchain-funcs flag-o-matic - -DESCRIPTION="Rotates, compresses, and mails system logs" -HOMEPAGE="https://github.com/logrotate/logrotate" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" -IUSE="acl +cron selinux" - -CDEPEND=" - >=dev-libs/popt-1.5 - selinux? ( - sys-libs/libselinux - ) - acl? ( virtual/acl )" - -DEPEND="${CDEPEND} - >=sys-apps/sed-4" - -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-logrotate ) - cron? ( virtual/cron )" - -install_cron_file() { - sed -i 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.cron || die - exeinto /etc/cron.daily - newexe "${S}"/examples/logrotate.cron "${PN}" -} - -PATCHES=( - "${FILESDIR}/${P}-ignore-hidden.patch" - "${FILESDIR}/${P}-fbsd.patch" - "${FILESDIR}/${P}-noasprintf.patch" - "${FILESDIR}/${P}-Werror.patch" - "${FILESDIR}/${P}-lfs.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf $(use_with acl) $(use_with selinux) -} - -src_compile() { - emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}" -} - -src_test() { - emake test -} - -src_install() { - insinto /usr - dobin logrotate - doman logrotate.8 - dodoc ChangeLog.md examples/logrotate* - - insinto /etc - doins "${FILESDIR}"/logrotate.conf - - use cron && install_cron_file - - keepdir /etc/logrotate.d -} - -pkg_postinst() { - elog "The ${PN} binary is now installed under /usr/bin. Please" - elog "update your links" - elog - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog "If you wish to have logrotate e-mail you updates, please" - elog "emerge virtual/mailx and configure logrotate in" - elog "/etc/logrotate.conf appropriately" - elog - elog "Additionally, /etc/logrotate.conf may need to be modified" - elog "for your particular needs. See man logrotate for details." - fi -} diff --git a/app-admin/logrotate/logrotate-3.12.2.ebuild b/app-admin/logrotate/logrotate-3.12.2.ebuild deleted file mode 100644 index 15b0107f6562..000000000000 --- a/app-admin/logrotate/logrotate-3.12.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools eutils toolchain-funcs flag-o-matic - -DESCRIPTION="Rotates, compresses, and mails system logs" -HOMEPAGE="https://github.com/logrotate/logrotate" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" -IUSE="acl +cron selinux" - -CDEPEND=" - >=dev-libs/popt-1.5 - selinux? ( sys-libs/libselinux ) - acl? ( virtual/acl )" - -DEPEND="${CDEPEND} - >=sys-apps/sed-4" - -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-logrotate ) - cron? ( virtual/cron )" - -install_cron_file() { - sed -i 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.cron || die - exeinto /etc/cron.daily - newexe "${S}"/examples/logrotate.cron "${PN}" -} - -PATCHES=( - "${FILESDIR}/${P}-ignore-hidden.patch" - "${FILESDIR}/${P}-fbsd.patch" -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf $(use_with acl) $(use_with selinux) -} - -src_compile() { - emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}" -} - -src_test() { - emake test -} - -src_install() { - insinto /usr - dobin logrotate - doman logrotate.8 - dodoc ChangeLog.md examples/logrotate* - - insinto /etc - doins "${FILESDIR}"/logrotate.conf - - use cron && install_cron_file - - keepdir /etc/logrotate.d -} - -pkg_postinst() { - elog "The ${PN} binary is now installed under /usr/bin. Please" - elog "update your links" - elog - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog "If you wish to have logrotate e-mail you updates, please" - elog "emerge virtual/mailx and configure logrotate in" - elog "/etc/logrotate.conf appropriately" - elog - elog "Additionally, /etc/logrotate.conf may need to be modified" - elog "for your particular needs. See man logrotate for details." - fi -} diff --git a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild b/app-admin/logrotate/logrotate-3.12.3-r1.ebuild index b5f5d4e95d90..81b5ffc20c50 100644 --- a/app-admin/logrotate/logrotate-3.12.3-r1.ebuild +++ b/app-admin/logrotate/logrotate-3.12.3-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz -> $ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="acl +cron selinux" CDEPEND=" diff --git a/app-admin/logrotate/logrotate-3.12.3.ebuild b/app-admin/logrotate/logrotate-3.12.3.ebuild deleted file mode 100644 index 34807c80e888..000000000000 --- a/app-admin/logrotate/logrotate-3.12.3.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit systemd - -DESCRIPTION="Rotates, compresses, and mails system logs" -HOMEPAGE="https://github.com/logrotate/logrotate" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" -IUSE="acl +cron selinux bzip2" - -CDEPEND=" - >=dev-libs/popt-1.5 - selinux? ( sys-libs/libselinux ) - acl? ( virtual/acl )" - -DEPEND="${CDEPEND} - >=sys-apps/sed-4" - -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-logrotate ) - cron? ( virtual/cron ) - bzip2? ( app-arch/bzip2 )" - -STATEFILE="/var/lib/misc/logrotate.status" -OLDSTATEFILE="/var/lib/logrotate.status" - -move_old_state_file() { - elog "logrotate state file is now located at ${STATEFILE}" - elog "See bug #357275" - if [[ -e "${OLDSTATEFILE}" ]] ; then - elog "Moving your current state file to new location: ${STATEFILE}" - mv -n "${OLDSTATEFILE}" "${STATEFILE}" - fi -} - -install_cron_file() { - exeinto /etc/cron.daily - newexe "${S}"/examples/logrotate.cron "${PN}" -} - -PATCHES=( - "${FILESDIR}/${P}-ignore-hidden.patch" - "${FILESDIR}/${P}-fbsd.patch" -) - -src_prepare() { - default - sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.{cron,service} || die -} - -src_configure() { - if use bzip2 ; then - compressconf="--with-compress-command=/bin/bzip2 --with-uncompress-command=/bin/bunzip2 --with-compress-extension=.bz2" - fi - econf $(use_with acl) $(use_with selinux) ${compressconf} --with-state-file-path="${STATEFILE}" -} - -src_test() { - emake test -} - -src_install() { - insinto /usr - dobin logrotate - doman logrotate.8 - dodoc ChangeLog.md examples/logrotate-default - - insinto /etc - doins "${FILESDIR}"/logrotate.conf - - use cron && install_cron_file - - systemd_dounit examples/logrotate.{service,timer} - - keepdir /etc/logrotate.d -} - -pkg_postinst() { - elog "The ${PN} binary is now installed under /usr/bin. Please" - elog "update your links" - elog - move_old_state_file - elog - if [[ -z ${REPLACING_VERSIONS} ]] ; then - elog "If you wish to have logrotate e-mail you updates, please" - elog "emerge virtual/mailx and configure logrotate in" - elog "/etc/logrotate.conf appropriately" - elog - elog "Additionally, /etc/logrotate.conf may need to be modified" - elog "for your particular needs. See man logrotate for details." - fi -} -- cgit v1.2.3