diff options
author | José María Alonso <nimiux@gentoo.org> | 2015-06-28 12:28:53 +0000 |
---|---|---|
committer | José María Alonso <nimiux@gentoo.org> | 2015-06-28 12:28:53 +0000 |
commit | f6f8f4bd066538b0dfa200cae7e5bff8bca150f2 (patch) | |
tree | dc165b977d53b17781e6a800c7bce543adece43e /app-admin | |
parent | Add ~x86 keyword wrt bug #553424 (diff) | |
download | historical-f6f8f4bd066538b0dfa200cae7e5bff8bca150f2.tar.gz historical-f6f8f4bd066538b0dfa200cae7e5bff8bca150f2.tar.bz2 historical-f6f8f4bd066538b0dfa200cae7e5bff8bca150f2.zip |
Drop old
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0xF253DB15
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/logrotate/ChangeLog | 9 | ||||
-rw-r--r-- | app-admin/logrotate/Manifest | 35 | ||||
-rw-r--r-- | app-admin/logrotate/files/logrotate-3.8.7-atomic-create.patch | 45 | ||||
-rw-r--r-- | app-admin/logrotate/files/logrotate-3.8.7-datehack.patch | 12 | ||||
-rw-r--r-- | app-admin/logrotate/files/logrotate-3.8.7-fbsd.patch | 57 | ||||
-rw-r--r-- | app-admin/logrotate/files/logrotate-3.8.7-ignore-hidden.patch | 14 | ||||
-rw-r--r-- | app-admin/logrotate/files/logrotate-3.8.7-noasprintf.patch | 55 | ||||
-rw-r--r-- | app-admin/logrotate/logrotate-3.8.7.ebuild | 72 |
8 files changed, 22 insertions, 277 deletions
diff --git a/app-admin/logrotate/ChangeLog b/app-admin/logrotate/ChangeLog index 5144701cf0f1..fa3b4a432057 100644 --- a/app-admin/logrotate/ChangeLog +++ b/app-admin/logrotate/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-admin/logrotate # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.210 2015/06/28 12:14:25 nimiux Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.211 2015/06/28 12:28:49 nimiux Exp $ + + 28 Jun 2015; Chema Alonso <nimiux@gentoo.org> -logrotate-3.8.7.ebuild, + -files/logrotate-3.8.7-atomic-create.patch, + -files/logrotate-3.8.7-datehack.patch, -files/logrotate-3.8.7-fbsd.patch, + -files/logrotate-3.8.7-ignore-hidden.patch, + -files/logrotate-3.8.7-noasprintf.patch: + Drop old *logrotate-3.9.1 (28 Jun 2015) diff --git a/app-admin/logrotate/Manifest b/app-admin/logrotate/Manifest index de43581b6a6f..0560c81c7ec0 100644 --- a/app-admin/logrotate/Manifest +++ b/app-admin/logrotate/Manifest @@ -1,11 +1,6 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX logrotate-3.8.7-atomic-create.patch 1350 SHA256 b6ff26737a6c5f83a87d11b241cb1d439cdda59df0fabbcc95504e717ca3f3ec SHA512 4e7a45ae8b33ae38e368491fd4ab9fb0138bebbbe47ffddb1e2832a59cd59cdff07147d73c5a14414b4f6b11203c6db454a6259f016c7b0a890d82df7ce41ae9 WHIRLPOOL a277c2c4a17380ebe369b6f0313d82f34fd295fb05822c8c5d6b8eb109c3fc19fcc8786c79a54d6bf8fca7bbb6b632ad6b61fae2dff45ab2853aca8affd8f95d -AUX logrotate-3.8.7-datehack.patch 437 SHA256 f8a6efbb9ad66339c5be50b36472bc3f15eb26bc2fe37f96a77e8efddc087ab3 SHA512 03563c553513b867321b8e3a776a0e8c203bf7f331314cbfd084f93ca1ea79d1a11abad85b09e797c79c04790208a11f17841ba4c9be296e3d9e216a320dfbb2 WHIRLPOOL 08f407c2c5d98e9457ee667a7d0bebcebb623754600b01f8a47b8081a016d7decfd557930e58dbeade79ccbe8976185ef05c155f6857211642a15ac02c8c0e11 -AUX logrotate-3.8.7-fbsd.patch 1408 SHA256 3c6139593557d033c4adcd757b24c5c877affe458ada62df114ef8e6d9d17d33 SHA512 daaf49e7ef3adfc7f55538e76eeac41ac515e2324da7c8ea7b068b182c73781cfecf70f08fdc53b67f2f5bfe33ffb1fb85cbc70a1b3d317b295ecaed31450159 WHIRLPOOL 855d8650e23cebd7a857448ec4ae97a4388a253b9f4b8686218685fc628aa7069ac88fe0dd49998092f20735d4ea9967898d5c7b5da00c31c7a2efc5666dc60d -AUX logrotate-3.8.7-ignore-hidden.patch 548 SHA256 a1df19c1b887918bc4adc19069e160f261c894d4167f3dffec2b8cd4202d0c23 SHA512 5c4ea381d5dc5fa0af968f14acedf767721d5c2671ddf6f876c487fb79ef65e1c64a762c32905335bb2fd5844985fcc504357db9a3dd17c7270a7b88b04998fa WHIRLPOOL 23a4df07778d1bb01ff127e7e2c18b588d88a8699901881adef01eb3cd5f25187ac917f608e6ff99d18b06d936cfd9a92d568ce52451906ab837ca9b4590c2df -AUX logrotate-3.8.7-noasprintf.patch 1264 SHA256 7307ca47518ec7a87fce3323ab3acc2c00e764e865ab72d11fb4947fb516fc50 SHA512 bc952f603d2202ff0760aea8262362a671be756fbf8c86aeffffff2d4d33537fa1e834b83f9d8e156cc905b6c0c9b480bb4ac2a86db833693b4d625de48bb613 WHIRLPOOL f0ff217a0dbd3edcd11b38ca5e0bb5a33978facc0698a626a369eb18785ca490107cad6ae5baf69357978bf5d27485306f8b819e93804dbdc5430a468b6d2752 AUX logrotate-3.8.8-Werror.patch 233 SHA256 20bc7fd2fa0e3c5dae9bace37659d81c6d14f71096352d6f61e0fee0b23f6055 SHA512 1910ef21d753566faebbf406b14dd7637652edd3e603efa373e64c73e728ade21e186b6d75c6e6e07792cf73520bf275400ca7475f3d70192064ad0aac7c5112 WHIRLPOOL 9e7df0912cc7d42edfc7681892eb45f4a017154397f5176d9fd14161c890d912dcf7920220a68471c30ec6feda66355a1a72b27efa03686bfb957d5de4587cc2 AUX logrotate-3.8.8-atomic-create.patch 1350 SHA256 9127c084f1dd28d876ad9cffa20327857a8caf40961de4b9cf809e2fd84f2154 SHA512 81fa128bd462715774a3de90d38b59f7293be59deb8d4c1dbdfb2607fb626ae1b42d1377c4bcae640f6ec44ba69e6c57fb03ec379fb0d2b64a01cf7362966148 WHIRLPOOL 4cdbfaf2e09d36a49d44ca79eaaa95da0f98eca7139f673d21f6abfdc62b0fa3fc8ac08259f2fc5901cae0461c66a46f6213ce7d59abeecf7399fd0da9fc52d8 AUX logrotate-3.8.8-fbsd.patch 1401 SHA256 bb6a6fdc6b776935bb0709f10c1d499cfc42dfcf0f0c72118207e096cf5ef04f SHA512 3736ebb7cfd7e314fabe3738a0fa3fd779fe3a69d7d5859d0d5b2cc79fdd8595afae6c4ab7148798d6c8eb27f02bc3058a4bfbe191391a721a19d5889c8e8d22 WHIRLPOOL b2bb108763214407b18c9a9fb0596fb96d06364a9b467622a6e7275e6495ca7969d330600b538367fc4dc021e850462e0929483dd548de5678bafe57af4e86bf @@ -22,31 +17,29 @@ AUX logrotate-3.9.1-fbsd.patch 1393 SHA256 543a7e7118f66cda16446d5bfd7abdae1c72e AUX logrotate-3.9.1-ignore-hidden.patch 551 SHA256 3f04aa2ff9ff85cf0486c40f6a81c28ed3eed8c4d31c30de1d86100db4564a9f SHA512 8a2060b4f3a92f7920090b4d02b4f66b7320c068936028f07dfefc0411b0f78b1477565cef627ce131d2cd5e98ead04b7d0289c4961e68da36a69a81d8b40acb WHIRLPOOL 56fe4edda60adf4d1dd106ab45d8e2aa79c941384cc44fde928314a772be58f3204573f6c3f8ee0cfdcbf2ec08c3dc2c99bd2a90822d903f1f492a118d722f88 AUX logrotate-3.9.1-noasprintf.patch 1263 SHA256 edc5f3db12c27c3353cfe1764c10d3b97581f249096e61f875440e429afc778a SHA512 c84be7ef011fe09a2fae67fa918080c1b0c098f0000e6cacdfcc34311f17c0131e68bc1e337559391ae7272fd326ac7ba6ba1cca20f99a9cc51367ac35a924e6 WHIRLPOOL 0d702f6c92483791e9fe2b5128e324fcda7c5ee825c46fab4405b5752f836bce00aaaf8ec9a284a5214aa2e10a4818bfb2e8cd9a4e2bce6f0836ec1c543dd3ea AUX logrotate.conf 858 SHA256 9f01dc19ce200abcf53bae2e69003b3b33a33c5e00be651f5c33e232165f8926 SHA512 0d733fd44ba8effa99d72ff0098d39dd5048dfcfc8c410e85c8d0906b8e05c866e5035d1b7fb170f0f66906083d2e4aee8d3fe2146e85357bb82f1494307ad82 WHIRLPOOL 0c46378c56e83abe3292e12716d3e10ce82965863735be06a14ca5fdcedecc5b6a2c22a0ba5bc51d03d4703ebbf550ec6752c973b74f7a080278ff427363d4d7 -DIST logrotate-3.8.7.tar.gz 58898 SHA256 f6ba691f40e30e640efa2752c1f9499a3f9738257660994de70a45fe00d12b64 SHA512 6c0dc106e2a9e9d2cd7ac12af869bc152db7d046a1c6d1b75810fb2fc7a7f382b3c3f1dc54b9fb9a9eee248c1c66a9f5ce86804f15b49ac0210313c231b49e7f WHIRLPOOL 6ba7fd7eca8435575c96a5534fe9dbe098235ee2319f2ab8e279d94fa6de3ea0e53cd78eeabd643e4da049f585df9a901681b61d0d339131f45fe580aa0eb198 DIST logrotate-3.8.8.tar.gz 72014 SHA256 46a1510ef4a1f4359edd5f361112cfd1523942e85ff28e6cbb0c81bad1829d0f SHA512 2b7b5fe587b3a5cbe98b8035a541b5e272e6e4c40669f65ff6c43d1524b686eca9abc0b93bc00c8eb6da4d189f14a9b79905fcc0fadb914276d884ad7493bb4b WHIRLPOOL b145d51cdcf0214e4f4b6a97aed7b9e1375c2848efecbc16181eaa6e1105ac8892c57248c89b92eb080d6cd6b23958085f39a894df7f5dce0bea6516e2d583c4 DIST logrotate-3.8.9.tar.gz 77408 SHA256 700ed7ce9072a1cca324779a74797dfaefdae37ac50a817134b947c4ded1dfa7 SHA512 342533f321a1d77c0ca389fd0a393377ba73f10654aae163cbd35f8d5df25673f1aa6e44d0af42be5419d152a7dae11024d9005076bce0a3b3dad1f0e12b9c0d WHIRLPOOL 005621b5dc7f6954e505876eece76e3adf03b9b89b724e5c28b845c8af3ebb8e978d20e3a82c8a503c32bfd8758517625207e23518d6d08068e237c22fe7212d DIST logrotate-3.9.1.tar.gz 79061 SHA256 022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545 SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 WHIRLPOOL 9b3558bb03c6c95f8f386ea75ca09bfda802ae4c45b9ef8408692e3aa7a2ee57447cf15ce04d0289946b9cae2266acb5509d8151d15ac6ea0ad9113aeb32dc17 -EBUILD logrotate-3.8.7.ebuild 1849 SHA256 116d9d98db5e808f4a15a85f80843bb322534f2b09aad38e700b49e9a205dc95 SHA512 ee3d564aee262200c1ed35f8cec1d7817d6f8e1baaf7c4f68744f16bdd36b1183950958b203383987aac2ecb2ccf914c40c7c15f9242d0f6169b8c3520f0a90f WHIRLPOOL 7588c0fb1b9bfed3460b2af1363325180945fd7a56ef1086ca956068854b69ef443b7a9c890f4925d7f30b77ed72cef2f417d7507faf7ecaef3e1f48ad21e799 EBUILD logrotate-3.8.8.ebuild 1869 SHA256 4b3bef44e807701b031911599add90da2930405273e9dd47376fb43308e7ba95 SHA512 daf99a58996f293df91a2c691101fcdc7c64ed687e47bf98f43654bf4622854ef7669b87e15be8866850dbdb5b92b06124f17ffa3bdad1b3ae5ae80e8ba712c0 WHIRLPOOL ac534b3b0636b057684681097dc0ec2c4b3828677be4d5451ab8915db719e9b4231931c8a6834c267c8f4ebe2a43b83ab0718ee081b2bc0846a2d9c096c1571d EBUILD logrotate-3.8.9-r1.ebuild 1922 SHA256 2dbf8a1da5eb04f227d029a31454ccad96c73730342f42999458ffaba9147d6e SHA512 cf7db7ab14b5f6e776e39448c86d31377d9d781cac2721fab5b5f1943ecfdd7db7c2f83c83af9320eb51d8430dd66e4ac86fe53a80424541ba2171b1456c2a1a WHIRLPOOL 7a424b2e0c0a186b0e06867b838cd6d7760b12aca8b29af480cd7b4ccb0d55b702ec2a64c5f6b9e8c1036fabd43fd678b80e610fba304bf48d42de226ad4d1bc EBUILD logrotate-3.8.9.ebuild 1919 SHA256 07cf01b012249257941425844e310fdddc4d565f278ddafc107555bb3da1a14d SHA512 5c7409f0922e7c27848c28355c99e2c7af5ef6a11661f90214234ced58fae4ef7235558d381619ce0da99c98a26f8496db08ff33164dad8319a66ae318dba32c WHIRLPOOL cd6e99ab3dfad6c00a87d355dfc4c2c31d38316584d02375cae12948d423b273e35c60eb53bce40099d716071cbd7a16cebb55446450d29916533cde3ee6882b EBUILD logrotate-3.9.1.ebuild 1926 SHA256 013c45d87b05a9e4a8780288e50776e5ad6f6ea7e350cab165540e387338d221 SHA512 b43694fbc0fb4c4f5f2ec49640d06e8eb923f99285d9632b832037f5085f4359738966e4e042c63ec6bc596a929a15593fdb4db12d7cd15e20c9e6180c7962eb WHIRLPOOL 95a387b554e978cfae12e0b5ac45ac2928b556c9237b1629cc2bb6373da95e84e9c4190c53f090f65b0b4e57b0911b8182a1313b7eb3079d79b3ac1e50c6dcd9 -MISC ChangeLog 30830 SHA256 c6d876cca103da1bb611b5117a7f472d0dd53dae48a86bb53bab9fc05a587463 SHA512 a32657745de57a9067f33769fc63c6ac2126bce4cd9e77601b4f31505573c34742bf72d9f7c40699f6482d7b9d498c6e002787439e8ae12eab2bc7da13986e9b WHIRLPOOL 6dfa418d11873834660c53c934dcbbd8e8eda4b816dbd31ca2aac0e470c8cbe7c2adf646c44e6eb57cb414a73c3a2baf03fdd35d4973c461b2c8c20c4048c342 +MISC ChangeLog 31126 SHA256 dad2d3593e35737ccf24cd34eba3d3cc29439c73d8346dad3da43aece2c23634 SHA512 4fb3d2945bee7028907563e9385b47ffeca3ff5fa19a72997e1b808264c00414a44b33bc4b26f4f545633e4b88acaffdeab094c1321733d0711c8fad55293205 WHIRLPOOL 42f75bc51a73e3ec7b3c811c3d1df198be11f26163874d0de09b61c8d5ef7cceab52b0f959c6ae7d928723a35a439e1b99308bbe3a64a277a67a8b1b4167c387 MISC metadata.xml 1021 SHA256 38ee9077db5b0f3223b2ea558b0c86fcb6c76fe2f1892c26d10d3b88c7e7b64f SHA512 dad453f4151ca9454c4374c6b4521e861b6adaa7352f147b0809e80ac2b6cafc51db04eca428754b48bde9caa2f54ed84d0b383c496c45684c0510be0a4ef575 WHIRLPOOL c260e541af2a735ec5bce0bf38eb060f002daa3ab4b41bd9c1dc3187c3ab669bed34a1bf5f4fe0713f80588bed6c703968302baf67022faf7fd80bfe07dda113 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVj+XdAAoJEH/rgyzyU9sVb3QQAIXFDtAmappP1Ym/7u8dHzx7 -FojZRwnzs3pMik3FOHi+x3RMdDTZ3ZJyXeizfYd5nXw6DvGztJxnSJ62ozCHBm1y -cxsXnkeLP/M+0zv2BxV6UiW93Blns6+dx/ZP+xhxWg4vLwSH3hck/+EVrZOerjnw -PFsV4wDK7g6UkoHG0eLc78dzT9oAS3xErCIN6ZVMeZtnr8THM13OYVuVIM389C1u -7igYagTfz6aYT+NxYUnhAG8CNcxJD2Owf1XaFQ135qsbPYDflTaLh3sMC83z6GM0 -NtDSd+XMzsqobteQPm0woACZnbMG7xIy2OjgiAunjGSRYlf29DwRPUR94EZ4awj5 -N1MqDdTl6Jd3AiP+P5EGpdKmzRJtfq2v827SnVF8M4ahr0PaZDa4U8nOLNcX3//Q -wik1GRM+4im2WhQN/GVbkKi7AsMyx8Frj8dOvJlZLnXjWC4wH2TLDbFucVhDdAQj -jEAAerGD/pqTU04+CKBIqGS+LQWCRwnN4x6xeYPJUP7+xSz5rw+KtvWmld1D3JcV -fvFH2qW1fD1By5xrwoVO+dgFOAFaCL9LXW3R05s3p8TjCw4cu7TI1VQV2DgwDZsb -wAOANdwyUl1V92xsjpPjzYynKotbe8kHwGB8lih6B2dRMIyk6DuC9uJg71R2j5Xi -PjDuaPv+lJ8fhYIbToyJ -=tw5q +iQIcBAEBCAAGBQJVj+k8AAoJEH/rgyzyU9sVs1gQAKkWknrhyg4e3n5ijn6E52Rg +0WWclXauRtYfzQF95pBTawo0EhJd94OVttNE6yvqsohpAYFvbOZlRbcqq5mVfd3A +bZNmeLhxHc83Q1B3GLF7hkNg7HI847y+FJoLMZozyMktwrWurLi+l5YteMMbh1Cq +4H8ayae2f30aqRzaRDvmrOqgqF84R3yE0Nxmb7/k9lxN/if9qvsUaAkgp4OtNBuF +2Ql+9z98sSSsv9d04uCvMUJjuWliS0wOfbWqb2gwYX/WJgqASCJkSbdLTVhLnJHU +yAU6M4J70DwKE2RiHUZgN4uw1DMwthXu4rrlL1TockqAyzz/nqWX/TJcsio4fsuK +3qds3zcLljf7F/4hOXw1GXExjPn4iCLvvFeG6jfQBmoUrPQcEqthas97BM7BHQ29 +d8/c3hKMwmcxYVjqW8a/Xj/ys7OvqETrd9CB32ISW7RkE6Ls95Y9cH3YCme0AKN9 +TjU9IR6Ms+vLwfEcS3AO9zeWPBbtKbG2+CU7Lp7WlAB/qAHjfsVeC8K2KhLOOPDj +ZNPHuzf5C5ozjy1VgutmZ2lAW03wkvo70xdwDt9cQetIOJGyLVvEyHNfAWjF3nKf +6EatsWTk9YvwGOjZq18qTjLpOFkeWdBrVtjDKXf0qemZGMgewBh5+Mzy/c6A2cTV +N6fYVT7MiG+cxh8LZN48 +=TD0k -----END PGP SIGNATURE----- diff --git a/app-admin/logrotate/files/logrotate-3.8.7-atomic-create.patch b/app-admin/logrotate/files/logrotate-3.8.7-atomic-create.patch deleted file mode 100644 index c5f1979ebb70..000000000000 --- a/app-admin/logrotate/files/logrotate-3.8.7-atomic-create.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -Nuar a/logrotate.c b/logrotate.c ---- a/logrotate.c 2013-10-26 18:07:54.809999410 +0200 -+++ b/logrotate.c 2013-10-26 18:16:08.539999396 +0200 -@@ -304,15 +304,20 @@ - int createOutputFile(char *fileName, int flags, struct stat *sb, acl_type acl, int force_mode) - { - int fd; -- struct stat sb_create; -- int acl_set = 0; -- -- fd = open(fileName, (flags | O_EXCL | O_NOFOLLOW), -- (S_IRUSR | S_IWUSR) & sb->st_mode); -+ int acl_set = 0; -+ struct stat sb_create; -+ char template[PATH_MAX + 1]; -+ char *fname; -+ mode_t umask_value; -+ snprintf(template, PATH_MAX, "%s/logrotate_temp.XXXXXX", ourDirName(fileName)); -+ umask_value = umask(0000); -+ fname = mktemp(template); -+ fd = open(fname, (flags | O_EXCL | O_NOFOLLOW), (S_IRUSR | S_IWUSR) & sb->st_mode); -+ umask(umask_value); - - if (fd < 0) { -- message(MESS_ERROR, "error creating output file %s: %s\n", -- fileName, strerror(errno)); -+ message(MESS_ERROR, "error creating unique temp file: %s\n", -+ strerror(errno)); - return -1; - } - if (fchmod(fd, (S_IRUSR | S_IWUSR) & sb->st_mode)) { -@@ -363,6 +368,13 @@ - } - } - -+ if (rename(template, fileName)) { -+ message(MESS_ERROR, "error renaming temp file to %s: %s\n", -+ fileName, strerror(errno)); -+ close(fd); -+ return -1; -+ } -+ - return fd; - } - diff --git a/app-admin/logrotate/files/logrotate-3.8.7-datehack.patch b/app-admin/logrotate/files/logrotate-3.8.7-datehack.patch deleted file mode 100644 index 7cb11734e304..000000000000 --- a/app-admin/logrotate/files/logrotate-3.8.7-datehack.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nuar a/logrotate.c b/logrotate.c ---- a/logrotate.c 2013-10-10 10:43:36.000000000 +0200 -+++ b/logrotate.c 2013-10-26 17:56:06.549999428 +0200 -@@ -2046,7 +2046,7 @@ - } - - /* Hack to hide earlier bug */ -- if ((year != 1900) && (year < 1996 || year > 2100)) { -+ if ((year != 1900) && (year < 1970 || year > 2100)) { - message(MESS_ERROR, - "bad year %d for file %s in state file %s\n", year, - argv[0], stateFilename); diff --git a/app-admin/logrotate/files/logrotate-3.8.7-fbsd.patch b/app-admin/logrotate/files/logrotate-3.8.7-fbsd.patch deleted file mode 100644 index 345f46cd53fd..000000000000 --- a/app-admin/logrotate/files/logrotate-3.8.7-fbsd.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2013-10-26 18:05:54.729999413 +0200 -+++ b/config.c 2013-10-26 18:07:19.179999410 +0200 -@@ -1,6 +1,6 @@ - #include <sys/queue.h> - /* Alloca is defined in stdlib.h in NetBSD */ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) - #include <alloca.h> - #endif - #include <limits.h> -@@ -24,6 +24,10 @@ - #include <fnmatch.h> - #include <sys/mman.h> - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include <sys/param.h> -+#endif -+ - #include "basenames.h" - #include "log.h" - #include "logrotate.h" -diff -Nuar a/logrotate.c b/logrotate.c ---- a/logrotate.c 2013-10-26 18:05:29.789999413 +0200 -+++ b/logrotate.c 2013-10-26 18:07:54.809999410 +0200 -@@ -1,6 +1,6 @@ - #include <sys/queue.h> - /* alloca() is defined in stdlib.h in NetBSD */ --#ifndef __NetBSD__ -+#if !defined(__NetBSD__) && !defined(__FreeBSD__) - #include <alloca.h> - #endif - #include <limits.h> -@@ -43,6 +43,10 @@ - - static acl_type prev_acl = NULL; - -+#if !defined(PATH_MAX) && defined(__FreeBSD__) -+#include <sys/param.h> -+#endif -+ - #include "basenames.h" - #include "log.h" - #include "logrotate.h" -diff -Nuar a/Makefile b/Makefile ---- a/Makefile 2013-06-10 13:29:16.000000000 +0200 -+++ b/Makefile 2013-10-26 18:06:42.569999411 +0200 -@@ -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.8.7-ignore-hidden.patch b/app-admin/logrotate/files/logrotate-3.8.7-ignore-hidden.patch deleted file mode 100644 index c12e66a829c2..000000000000 --- a/app-admin/logrotate/files/logrotate-3.8.7-ignore-hidden.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2013-07-31 13:34:31.000000000 +0200 -+++ b/config.c 2013-10-26 17:57:58.309999425 +0200 -@@ -255,7 +255,9 @@ - char *pattern; - - /* 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.8.7-noasprintf.patch b/app-admin/logrotate/files/logrotate-3.8.7-noasprintf.patch deleted file mode 100644 index 53ce5a0f2c94..000000000000 --- a/app-admin/logrotate/files/logrotate-3.8.7-noasprintf.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -Nuar a/config.c b/config.c ---- a/config.c 2013-10-26 18:07:19.179999410 +0200 -+++ b/config.c 2013-10-26 18:12:21.599999402 +0200 -@@ -49,39 +49,6 @@ - #include "asprintf.c" - #endif - --#if !defined(asprintf) && !defined(_FORTIFY_SOURCE) --#include <stdarg.h> -- --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(strndup) - char *strndup(const char *s, size_t n) - { -diff -Nuar a/logrotate.h b/logrotate.h ---- a/logrotate.h 2013-06-10 13:29:16.000000000 +0200 -+++ b/logrotate.h 2013-10-26 18:12:37.429999402 +0200 -@@ -67,8 +67,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/logrotate-3.8.7.ebuild b/app-admin/logrotate/logrotate-3.8.7.ebuild deleted file mode 100644 index ef9c2f693179..000000000000 --- a/app-admin/logrotate/logrotate-3.8.7.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.7.ebuild,v 1.14 2014/11/02 07:47:21 swift Exp $ - -EAPI=5 - -inherit eutils toolchain-funcs flag-o-matic - -DESCRIPTION="Rotates, compresses, and mails system logs" -HOMEPAGE="https://fedorahosted.org/logrotate/" -SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${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 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 ) -" -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-datehack.patch \ - "${FILESDIR}"/${P}-ignore-hidden.patch \ - "${FILESDIR}"/${P}-fbsd.patch \ - "${FILESDIR}"/${P}-noasprintf.patch \ - "${FILESDIR}"/${P}-atomic-create.patch -} - -src_compile() { - local myconf - myconf="CC=$(tc-getCC)" - use selinux && myconf="${myconf} WITH_SELINUX=yes" - use acl && myconf="${myconf} WITH_ACL=yes" - emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}" -} - -src_install() { - insinto /usr - dosbin logrotate - doman logrotate.8 - dodoc CHANGES examples/logrotate* - - exeinto /etc/cron.daily - newexe "${S}"/examples/logrotate.cron "${PN}" - - insinto /etc - doins "${FILESDIR}"/logrotate.conf - - keepdir /etc/logrotate.d -} - -pkg_postinst() { - 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 -} |