summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-process/audit/ChangeLog14
-rw-r--r--sys-process/audit/Manifest44
-rw-r--r--sys-process/audit/audit-1.7.17.ebuild132
-rw-r--r--sys-process/audit/audit-1.7.4.ebuild131
-rw-r--r--sys-process/audit/audit-2.1.3.ebuild177
-rw-r--r--sys-process/audit/audit-2.2.2.ebuild189
-rw-r--r--sys-process/audit/audit-2.4.1.ebuild (renamed from sys-process/audit/audit-2.2.2-r1.ebuild)134
-rw-r--r--sys-process/audit/files/audit-1.5.4-build.patch13
-rw-r--r--sys-process/audit/files/audit-1.5.4-swig-gcc-attribute.patch11
-rw-r--r--sys-process/audit/files/audit-1.6.8-subdirs-fix.patch12
-rw-r--r--sys-process/audit/files/audit-1.7.4-glibc212.patch13
-rw-r--r--sys-process/audit/files/audit-1.7.4-python.patch12
-rw-r--r--sys-process/audit/files/audit-2.4.1-python.patch22
-rw-r--r--sys-process/audit/files/auditd-init.d-1.2.358
14 files changed, 117 insertions, 845 deletions
diff --git a/sys-process/audit/ChangeLog b/sys-process/audit/ChangeLog
index 555ab3607921..0085033b2b44 100644
--- a/sys-process/audit/ChangeLog
+++ b/sys-process/audit/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-process/audit
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.104 2014/09/15 08:24:25 ago Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.105 2015/03/21 13:19:16 polynomial-c Exp $
+
+*audit-2.4.1 (21 Mar 2015)
+
+ 21 Mar 2015; Lars Wendler <polynomial-c@gentoo.org> -audit-1.7.4.ebuild,
+ -audit-1.7.17.ebuild, -audit-2.1.3.ebuild, -audit-2.2.2.ebuild,
+ -audit-2.2.2-r1.ebuild, +audit-2.4.1.ebuild, -files/auditd-init.d-1.2.3,
+ -files/audit-1.5.4-build.patch, -files/audit-1.5.4-swig-gcc-attribute.patch,
+ -files/audit-1.6.8-subdirs-fix.patch, -files/audit-1.7.4-glibc212.patch,
+ -files/audit-1.7.4-python.patch, +files/audit-2.4.1-python.patch:
+ Version bump. Removed old.
15 Sep 2014; Agostino Sarubbo <ago@gentoo.org> audit-2.2.2-r2.ebuild:
Stable for sparc, wrt bug #512012
diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
index 5de8497ac77f..b6adb9339ce8 100644
--- a/sys-process/audit/Manifest
+++ b/sys-process/audit/Manifest
@@ -1,57 +1,47 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX audit-1.5.4-build.patch 292 SHA256 ef286820b8d34efa8aa04a8cd0344a78eeb0fa50a6ad12f94427bd01dea53534 SHA512 65003015643fe1fdffba3e0cf4065d733de2da85ddc0c3c9e190e87664b29f65bcf3c5563724f172bde77c141e0aef2465859d762b257449681c8622e19ac25e WHIRLPOOL a49c7252cb2f8295998bdc488ca3ecc3a5c8ea2e0a61710af3d9165318f23c202fd2eef84b7b7d91270f2d59233f4e21d6d6767614dd635f135f376fbed80976
-AUX audit-1.5.4-swig-gcc-attribute.patch 434 SHA256 0da2225a8bd1f3f83a2e8c54d1c2fe97f9917be6b0a4ed116baa8f06f1800818 SHA512 d39078024e85f0cd9a88bb33bae6053316acee47e8cbfcb391a37a8da40866719903009340a52d650af7a6ae3c2e957189434fa4095f9aa3131e23ab61111c5a WHIRLPOOL 8688a6467e2c1809e89c6ca37b97f50e1e0e624ad751949b46fd14a5c1a6c48321633207910e70d799479743819db5ac6ae4c638b4631aef6205a80f9a386588
-AUX audit-1.6.8-subdirs-fix.patch 548 SHA256 26b3ce2f56ce792924be534a43e4c455b9067898642419a1411c4048f1da6c47 SHA512 d74377fa3b8a2c2036b2fe107922848a653fd76673b424d2f0fee3427e36451632642cd2b45090156a5b2a663df21dfb0933efec0b2f39faf5c07ff80370f5b6 WHIRLPOOL 7f1b855be168657b781fa802082b72a652dd5e03e4a1f4d1d7dc1c3fa08a6f17cf18f37f9405ed6ac82b92060649832d1dfd9bfd1f11ec5e0716e8f3c6fb6357
AUX audit-1.7.17-python.patch 448 SHA256 9d29b2c67484c64cbf2e940a084d5f4c2bcbaca85a78f5c697ea20cc7ed2cb87 SHA512 ed816ca60294109ff3ef825081a4042d592a1841a597ec5514ed6f6696331a3aeafc9147ca1f5648df65c2fedc32a966825d9444a1634388aa06cc320ab2542f WHIRLPOOL 685f661e79b2f6facd7d3a6c603a8c8c5ef5de7d37f4dcab310c23cddf239ca3a2fb3c0622cb308e32678c6f16ed34e81bf6b5a8e4b391e01bf69790bee97512
AUX audit-1.7.18-as-needed.patch 2346 SHA256 d83311d4b1e109712a32771943c7da72be939633d0fe0ba33c99a405fc6a0f14 SHA512 e30bb39c97d4fb92594b0dcc0b8160bbf5af7096ef261c1f5e2786d2ebe6f764806c9cf18dc2ab2156057cf8a12c259faa804c98d58a4a90ac3d1a081979567a WHIRLPOOL 508e582f9feaca11d5b74b12601961959d40f4dcd0dfe002a5af47f5e3b3cb4d79037ab67d715687cc946feb859e4a2453712f34055cf7a8cca75d47935d4baf
AUX audit-1.7.18-missing_headers.patch 381 SHA256 9bcd61e976bfb422f199b6553a1dfa745f99979fa2295b53fd8163b171d1e487 SHA512 c115ecd19f15b2b20fb233f6304ff112b85b96bbca32a8274e5215d8622be71e8ed997ca630e4a3dda3436475a0af565d51163348c09c0721d6c9ce7324e0288 WHIRLPOOL 7b138cf18929ddfaacd0e7cc256f565865076d7d68724292e6769bb7ac32a836ae315454c71f701049c300e06c582a4aa5deb4815be4c5dd2a07c053c1fd4c3d
-AUX audit-1.7.4-glibc212.patch 316 SHA256 248eaa9e69ab50d766a05bf4ba26efbee84396fb34e321d562dc47a7a95f4e28 SHA512 d3cc26592be19fc4780d21098f7e904fb0ee9cede6ed6c280ee422f75ed597a17f87ed8e350ad89d44fe0351a271469b0a94aa0d991f46ac655d64077f2b22d4 WHIRLPOOL a6f3d44c77bfa2b1c1e13de694f9218fc237d3d950d6068a6fe03e74ef0e02bb677e6de14d8c27000a419089df9ff4706631a104e0ddf551f18c37d6b56285ab
-AUX audit-1.7.4-python.patch 456 SHA256 c457c9f35956ebdb960bbf9288bf2c0acfaf224a87a0ec7d243d1566e783f018 SHA512 0aab718c9bae642b8ef6ed49438065787104f9938b7fb17b631184c46f384546c663f727caceac89718695c7dec3f6f0086a70d599335bdbe6ceaabb0dac3cce WHIRLPOOL 3ba3ac94daee63e0c67bc2a4178fb5c0ec1d3e8be719693e5082c33de40f8645ba19d45d43498a7d16f498e2faa1abc4a751a2cb71a02f33fbfc40ee3c838ace
AUX audit-2.0.5-python.patch 891 SHA256 b5d82e670f9ac8c6640ba1155a77e0f6b6f93acd90efb89747aca636d7b68022 SHA512 1fc4013f0e1b00c2cf75e02fffad611a93f37a8f0cf4a258326a4705649e73a039c0af7540cec1beee2a32f28af7850b7cfd6c3827d1195fd1163468c4dc31c0 WHIRLPOOL 707ec56175859e9d2065a9cb04257a8355eeb3d6c129cd7fcfa38ba79b983b878c722ca2f7ae17e85f7288f90f144efb407bd85793b3731e0f9899d79970a0bf
AUX audit-2.1.3-ia64-compile-fix.patch 7173 SHA256 af8f2764b5675fb364901dd6ce9477655b1bde9de9a9436c1a7e40793a0ad560 SHA512 be1f0fd8933e962b11818bace04a14f89afd40c20d9e3ecc839c210fc946e851bb8ba0ce0eae9267023397f77c5a1a3c8b574b9285c0351f534a24f5c9a2a512 WHIRLPOOL f6a7a3b740f39485874a874bbfdea85e087fdcde817a91526e37cddbb85d6e4536add47179021fc7245bafb74b7ad4f3286de55108cb950aee2e1d7217ef19e3
AUX audit-2.1.3-python.patch 1353 SHA256 de214516fc107d8bfb19fcaf39d87776d9655a153e8e8b993a725f34dbe91ce5 SHA512 01e071c4219e1ea186207be883e08811021465cf18cdc2d18dcd1c61be372f2061b7f18f104dfb21ae94d363153f81133e768ddac8953703198bcda257f827eb WHIRLPOOL 4555e5b2f00a7470bb52a0813fcadf85e334f181f68414011629e95b7143bc07c83e94aa814bd4b6fc91a3add1b18444d97b24ecb7590e1884d663cf9bcf6203
+AUX audit-2.4.1-python.patch 989 SHA256 10350ab6fce228b5ccd502988cb93c961423cd60c28a89f70d7837d2d2fdb653 SHA512 434f80e5268b052a509f066465e4beaef0adfbce2d1642e8a0c93349187d28d720a978ddc8804817ceea955b473ca2546622c63acc50be284536ba4a1463f428 WHIRLPOOL f86bf7447502d1e7ed0128b610b6e7b360def906e6c7f7e7c4cb5a5b4d6ed4e02667897ab695a519e4fa0f1f3e80c936e906a106f0ef100e6a1aa3c1f9a82ae5
AUX audit.rules 997 SHA256 adc4779fd55919ca32b2de0d955779b7950a159c449a46ea7c0c6654a9049ee9 SHA512 40faae01d054a6770c53456c591af18d7e1f7cdbc79e114f31749e60fb56b0e27c5ec59a3c4561867673d1dc7c51897251ff680e74af7a5cdd3570d1c9b590c4 WHIRLPOOL 4995601b927c217d4f1a855be2fa76a5b89bee2d27ad24bba6cc08237a05923406481d78cd54ff0ee49a7e30d38f53369e25a7c638af0e0ba2f14d3bb35e554d
AUX audit.rules-2.1.3 1126 SHA256 8bf7f9cac7d2a47d3ff51d2a2b227588820831b5ef7c2e3d058b097d4d65eeb0 SHA512 be4a064ab9b9edfc02df3c2d3a29c4e8ffd031ce10adcf274a548ecd414b95b2aeebc54cf5aef9c04dcc121adea7b8fe63b7d153cd80f552e5f0605459a83901 WHIRLPOOL 7295ba3bc78394f4882f24fa8f3acd62fbd08543e618a260a308b2b8b350ced41d7fa9ce19a791fb0bb879a09dd4153a6e869f64ab927c7d4e2683e5f47b36d5
AUX audit.rules.stop.post 573 SHA256 4c2e0be1a63b6800396e31153a899d4e3f2db1cee41b4dd271064dc97521edfe SHA512 a2cb699892aef006b102613b3b96ea24533437cd0927933f5520cccf28a088beef74a0ffcc74d402d4a4882fac2e59714ff537e310990956a6f56aacacaf13fd WHIRLPOOL bc13f844437980cd7d0ee4e8a1f0ad6a5e1ec1be8cd5159adb761c1f64c99f73dff6541a265e1b06fbce53988714ffbb2b0b61f91eb1fcbf081fbdeb30e8148d
AUX audit.rules.stop.pre 547 SHA256 ec2c402d3d2b886c680259145696ad46c451dd1aed533906fdac69e30123c35f SHA512 8f0746b215a6ef1207beea2f3f73d536cfc0df58bfa55362c27c8b7ba56bf23eba2ebcf897f68b65b998c9fb090ea5d21b1d5dabc05cf0ac6e07c83f8459792d WHIRLPOOL a0563754ab170d22e78a2148afb006c55a243c809e8349a84cdafc7120446c4659bb5525338c5765a95f565ec61802cd91c308686cef3707a098bf78ab3f7ac9
AUX auditd-conf.d-1.2.3 686 SHA256 5e0ffdc1c446bb906d25c977b0e9adb813610a15dc4d60b52d25026816adb602 SHA512 640f6d73bb44c5718e35ef8cf1898157f36b850d6a570dd1a8b454b2679dde3fbf4ac19f1908d28df5ac762a545132fec12a02ace9b80e629f8378971efad966 WHIRLPOOL 70deb75e07456496d82cd3f5991bd32090567e76f52f9b47faa2c6df2200dedc2f85545949f64934390d32865e9b54b2ec64ece9ae7c343fc940b44361ba3bc7
AUX auditd-conf.d-2.1.3 853 SHA256 f64186229238dd589b1fa5f72503000628b8f4f6655bdc3105b2fdbb17f6458f SHA512 3a47f7e091dc60f563d9be0027a4d1723485e7235178ffef544d39dd69de98a6283537a5649f9e2e5703a43202f77c7ff26608a653ad9d283f04bb2058fe1f45 WHIRLPOOL 29d16ead845aff5f9aac396697af2d7dd80ab39fa70fa35cc41187e9a9b43dddc0c0fdd469ffdf66a72ec1602b4faedde8158d911e95025701514c024fc6e3d9
-AUX auditd-init.d-1.2.3 1136 SHA256 fd5e01b4aa83d848a2e97832b0ff0610610b7857ec7f0201f0f7cbeff8eec725 SHA512 c2f52296a8c1b48aa2afacb034f809bc234ad9903830011b7b2d816c34ededd36125da9206a8ea7e0fd68b9513c2f64a6f55e3b8b8c7d0a75b4a1c3e418921b3 WHIRLPOOL 634b5640abcb9dd489265f5d2601c7ad19e68afd168e264bf518a0c22e00000790fd4fbd7889552465e6149578660c3c0b4784c951c142c35aae1405362a7e0f
AUX auditd-init.d-1.7.17 1229 SHA256 1976ffb5182d54bb441ba7e6d1b0db263bc244a7f0b8ba6802dfe29be1984b56 SHA512 33e874541dbf2f6febde203420810c0b542ae1cb0b68eaf6c319f467186ccf1b57745c3df9629a99b59cc681747713f3202ecb7fad374ec7baaea566f1b67bb9 WHIRLPOOL bfcec7cb1ef31a8d766c3cccf88b6e702dde5db9a0ed1136d752ce2e02ed9439f01465509d1eec89ed4868d71d27af8d495c4e48a1b5ed08cdaa7f10c9657c8a
AUX auditd-init.d-2.1.3 2341 SHA256 5a280585adb9b2d4fa2742b5e94c4eb1517fe4c5d8d79c7ec349fe11d19af6a5 SHA512 9d4c98a34ff2039b84e648ae7bb4811ee237a29b11f811fb81d4223fdf2e56041e713f2f05793b34503478d17f17fd4390515f26921e998db1033deddd8e35c1 WHIRLPOOL 928f543daf45631c8747d75593a4a2029dd59d634386406e16c9c989192f09c811119e4cfaa59c2d9e11cae21ee5cff50465146fe55db98b35a667d9e0e92c04
-DIST audit-1.7.17.tar.gz 1565919 SHA256 da0f2135ca6fe221adfd7a6e2372038a52e5ee1d001f8e2752d2cf016a9f24af SHA512 aabae92788d4386ebe8891b58d0d0a75768b1b8a4f2ca545b8f685ee4223a3c87e4e356b54eb98bd71318e985eabdb2c23de33695c34d20d4b2689afd29204de WHIRLPOOL be1451c417652061bd67539031ae42db82f08c30216347f748228b72b6b10c7afd9986c91f4f699c47cc22c0304079e85e15c174d0477ad46213d70f891bbdc2
DIST audit-1.7.18.tar.gz 1566698 SHA256 c3e9e7df9e0776c3f90acfde7432ed362ff3ae5c40488391789bc8262f97f17c SHA512 15d27602dcb8d5a0dac2eb299a96d4d34b36fd303c90bd1cee6d6151bc1c6b83f09e7437029bee54f4435afd1386be0a1351bde1fb705ac24749b9e31c75919f WHIRLPOOL fc38a5668fdd72c11269000f384abb1d783bbec36c20df9bd266a4dfccd0363d9616bff46c708882c3b66520d141f298346add3637ae1a5db5e646a7bd1db539
-DIST audit-1.7.4.tar.gz 840298 SHA256 db5412852aa36ee25eb174e4f4a4676cc2d0b93cbe41a740eebf903b49b4d593 SHA512 89c99d0f9caebd3285535b3237e23499216a80e571175e16169ee0154e1581e885c1b3ee0c11a97b16db6569d6b91b05edfb3371f03b199ec52a510074834060 WHIRLPOOL 7ad1a63ce5b21a983bb6c36ab845d2cca22935d5b62343e00fb91c43d6e4c7eb18333bacdda0bacc32e0e340c8b70db39ff117edb686878bf82787723fc4c6cf
DIST audit-2.0.5.tar.gz 810519 SHA256 1ef85e606a0fda21596577f5c205c0df7eb56d7cffbb84aeeeb72ce44e61a83b SHA512 5e5e7f6af79792aa4f8577b6a5975440167b19e35d555c7c60c51d0af20f6bfeafb78a89f8b546efe9b9c79296ee5872fa0056f34a61650c66f34ceedc8b15c4 WHIRLPOOL d5ec4d00555858f8d8e5d42400ce0775b9db1d7fc1efc995dbfb45fc59c34d2b0268879d2fd35b60af3b07498e166b2afc6dbbc23f5943a50e1da9898d7aeb4b
DIST audit-2.1.3.tar.gz 833647 SHA256 1c61858d8ed299128aa6bd8e85bac758bfe33e61358d259e52acb7d961fee90e SHA512 0f5c02ee3eb35687e85cfea0cae2bc11c35d2de5c44347f8f3cde4d268aeef215547cfb4b577afffc737ce5944219f46b4594ac122479d8b2e185efe3cdb069b WHIRLPOOL c83ac2bf929f524c4bc34ffcd503db9687a2c8affe3b5bb0a908e40ba8e98beced6fee6f3212db7267cf11cef3dbd13915a1ee09334f2cf58a686a1acfff0946
DIST audit-2.2.2.tar.gz 907066 SHA256 8bc2b45a5f08f5df6cebcd5543f24b7e68e28b64da4b23f08de2c6616384302b SHA512 98d83162e69816611dfac3d3ecc19235403ea5809d7a5cd9f13444c2085f03e46657802addb58ee31c251749f89417926ae40bcd99a77d64f062712830fde9bb WHIRLPOOL f127d3b9645d4e679a83767d688b83c7d59d4a35a166bc9f5038df89852768b695bc0c30e26fea0930aa29fed4583aa5218a42d5898d2a7c542e04cf58b9a9e9
-EBUILD audit-1.7.17.ebuild 3491 SHA256 68b02ea9e54e67b4f06e10341ba267df69efd50a777605095a5ffb534eaa160b SHA512 482bf8e98a602aea3b4a1681ecc99f113e93539fd7533ce8581fcc0d72322b97bd443b1ca22af022d42ded2f3cfb5f95c2e6b7a277d46104fb36bf79bf499fe1 WHIRLPOOL 34f3d8a2fbf6e82738cbc64c18d57d4b3a9a8f741a4aa6c58bb9da883cf2793ac0f80500ba9425f89bfee895f4d51580408570421c3e50339a0b0b110900aabc
+DIST audit-2.4.1.tar.gz 942147 SHA256 059346fa0e922faf4dcc054382b21f4845cd8c4942e82cfd0d4cd52bd2b03026 SHA512 4ca29ee2c784861f75f9e05f5c4dfc3d3ebb9d51e454e8a069ef4d08db3754fb19189714935351e70b26ed44347a266ae6c31e68361d5e9efd89f657f91dbd50 WHIRLPOOL 49ecfdd2363eb8bcf25d40b36bf228c8bd31611804b284dde004d42a250a39c387bd0abff223cf4041f62805d5bb189a19375f5806385344ca219d823d267f2e
EBUILD audit-1.7.18.ebuild 3491 SHA256 ef678f9bb88c2f1dd949cdf3bd92207b4d0f5bd295fde08baf425e66d550c0e6 SHA512 7da7d063fd9802567f3758b887d40d8ece6343845cb48b02d01b2231cdafe1fc770b2d2b8a6404a5cfa17518af30531ccb18648b57f2d93e758b06402d2f1a56 WHIRLPOOL 21f393e0c8c1b48d80528275a2c0b36ed1b3da261eb7cea09ea1fb4d6d9dabf335a9584c811929360acba7c784a0d265246f0bb3075daf1efd41c54cdbc73dd3
-EBUILD audit-1.7.4.ebuild 3394 SHA256 0cdf6975cefd382655936486a8c4b1bf7805e28e3aa45c9264bc92304afbd685 SHA512 153b3479b228675a950564f7f38f734692a4611059ef11b2e0c7a8b1c55acfb8f06fe58ec0e3d36757c91e7e33586336cf1907348a29ce0ddd647b44f681cb3a WHIRLPOOL 37a274d499950c9381d3f5de90f35b84aa2143350898bd214630b58f5f41aff19f3b74f2e7be537f325c542d3f226e77fffa711bf8568c5d16f1d4218784781c
EBUILD audit-2.0.5.ebuild 4468 SHA256 af5a547f8a131e00050baf000232da2d742029199356d76db195a68e850c1152 SHA512 99837c530ca5a5f35e241f4c3b70e4bfe45a74e91d2181356f417b3f0fc72a1fdf8172c7d52c5b7322a1d59cb351d6ce3d69e623778ca77005cd01e0c86cb7a4 WHIRLPOOL e9554be479f1b11c6d466a4c11b54aa6d39df4c6617934d70ffc410d6006b4b4a6ea980a316dde91cbdb4b91ebb1190c17825df14b04e104a583b57e0a3cc1d9
EBUILD audit-2.1.3-r1.ebuild 4974 SHA256 5fef4673e77a4a04837756ade173b97c42b18e6f4097736e67bd3d1cd1ebbd46 SHA512 b0669cd7fc48e360e71cc5049447eed028ae904bc6088008cf74b480c9783cbe98e6717f871ffbf470adb9ae9c61c4fda884316cec724729a9672da07a125994 WHIRLPOOL d8bab3e763e47a6dcc83f67fc95a7ed075bdacda98a448f2ae404e60cb2ad7fa0c72881053d11f5080c9f1fd7d55a27581b8870ecd06b5140bee51985c613a21
-EBUILD audit-2.1.3.ebuild 4503 SHA256 a921ad2e649cc25d513c3e1d66411751e15c544979ffc44c9ee589cd98bf7df1 SHA512 0e0c4a43220a8f898f7a590c0e9469839cf2f422da755678db24d39aa82247100973a80437a169af7f16f8af716e0a162c5e9346736e2bb2bacb1548b9ae7b3c WHIRLPOOL b400d245780b7b0f5a75b46fbc8c83949133f8cfe991058ff158072290618ef14bd495edb7f7e427ebbd1c63f8ed49c14150db56d87cb9b99f0a1a4adbeb0102
-EBUILD audit-2.2.2-r1.ebuild 4990 SHA256 ed4c8ff9ec28ce2906d3480666ddd2bdd63223831124bca9a9ef0cfa3ddf1a66 SHA512 a181eee779d9ddb57fdd9227c60b0c2dbd9a86656b02db532d68ccdb66049f841d2269838674acae9341df86a22aa7b8dfef1790e19021e08edbdf9042e0477d WHIRLPOOL 62ef929562c3fe92c3a98fb36b7e6ea21c6162db2ab9facd08db82420872d0b5e31f207fc6f6c6a5619ea1588031b82cc0841ba2fa9e752bec04968c90b0246c
EBUILD audit-2.2.2-r2.ebuild 5283 SHA256 b1dc406f7661159c69927b733e88a480ce68253ee81ef014b0f674634c89ab51 SHA512 0d381a4c5a23cdef40d6f678904fb67b8ad66da83f1c116e62082d34cd533b2c079f1ca0eabd15883331d83e40ae7ce49081d0275b9152250d010b7d424d91d0 WHIRLPOOL 9de06f6596438091acbbbf8e39840554ba761e291203b73fedc4c7243d72048b1b5d30a922ffe9b5ac03171e1116bd2c5d55b5e7aced27cfa50813adacce97b7
-EBUILD audit-2.2.2.ebuild 4984 SHA256 626ead30abf4b0671c31f489cb3f9cb1fe1907ffdf099e33baf9c3175e29f635 SHA512 2f4a72a219139fe6bd28dc3d7b9089ee1be9b6a5eae0d30d5c6843b9de885a11f29d4ac85a84925745ce1142e1bbc2febf1e09478bf5d13877716da4e135b44b WHIRLPOOL 1bfb1ca2c08a190690299e62aa8b12728aa061df825a84575666646e1a01922c216faf92648b74c283496d475780aba4a51e6f0119be32028e5793152352a98f
-MISC ChangeLog 16263 SHA256 738185f4e832964c54a49b81efd53a9d4c2e953543e3a24f597139bf2ba16a91 SHA512 cea304c1cb0a302eb2c269def7d92817112ae5c8724f2fd4a4db5b8f0da015c1e6483046f1b49a088a46ad2e76879587fd60c6af8a4860c46fae81913d0c42cc WHIRLPOOL a129df27ce9340cdf45e606856dbd903b76b9b3757bfbd07b98826da2cf3ffae7f6ac12f313ec6d9312d6c0bbed8982db358b9c553751a5147c40ac994960ce5
+EBUILD audit-2.4.1.ebuild 4963 SHA256 97081357902a61c387e0707e709a184ed302586f4f948cb82c25e823a2b32372 SHA512 27a47385f5f9aa5ea224d03e3d9079e4d0f84fafdf45af6e8db68d2af95af2e145b134f6585ca7e4c1b38ff0e6f2a9c013be51cbf0b8281f029e70429937ccd3 WHIRLPOOL a554cedcf9797230ada2f0e90851b5a96ac8f9a3950faf4b2397cf275ee5e14bad098150c6d3d04dd348d68f7a41ae346705f91e9b58d5480fd4f380791d91e3
+MISC ChangeLog 16768 SHA256 98fc19b6d85b71cb855c83fac5d00f025a934de0bf48b71c90e072131ccfc81c SHA512 6e2a3244327144ae6b2bdcbdcc9b2484e2096ca352c675176e8f8d53fe001f966b21c5ba6db9c2efd88b8a71da77b39cc104d55f6384aa0558522baea65c8731 WHIRLPOOL 252b9173784049454c9d70ee01f20358eee383a85f52e16801b5c6332887078df7500a5956c1c3cf23fa13abc669568fe450b5aa548f4ab31a21417c44f03e2a
MISC metadata.xml 208 SHA256 474aad89b28273a47e9d612283399fab63cd9ada8b3c4fa65b16250128abf342 SHA512 761ae3cffc33d4832cd02525e53fa449295e779fac539a6c11d746001689e781939e059c8a444365b42b291e295d5d1620d67af401c2c80c568be8ef596d147d WHIRLPOOL 060c71b4ace40817c787afb38b4919804322e09983dba790fbdcf0c3021a7bfa94ed0f1f4fb5db8893d0c68aebdec378ed055f420501bd7df0f03eec50e220aa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJUFqI6AAoJELp701BxlEWfrf4QAL7xTPwrg8yWZrCyNLuLxtEZ
-uypoLdHDfdsppNxdefrFWYQsCz0v9NMDlHRcWJxdkojoFSMXN7NPo/CYpm8stp6c
-Xhlji2rLGxDGp9xXay9y1nHg1r9pp/n/ZimoK0vAmLfdbv64A1IpxA73c3eqTF5W
-lyGX+vPbxRzpv3NGWB9SXex1EuteebXI8fAT9/ophkVVVkef6aitIlDXerdTUAb4
-h82SmLFIDTpoVJCrQNX6USfmxBr506CIA16rvjMk/QYddopu0RM5KFCvQadTmPXu
-O7UVql/c1oabEfGLl9izVyU0p87WOEiU0mcXKZ4tyR//C14e7u4f/bUxiXlqrNK3
-KWF5jcNeG+1YKRurRspwW1PA1Oc21eXw8Kczlmy8SUm5A+MCF3dz2Cs8KR1vPF8D
-ci9UNgLhDg15fmkJ6j/sENwBzrSVXmbDyTt6OXCIvjaJaHET89A6mHOtVQWr3sAw
-9CQD5czbF+1lNb1aCfKyiwexa5iBpdYz+FqegVzqgI32Aeb1rjjv0g+zzIfhfZbq
-Yw/UAzWle2nXzZxjMYqzEz1NR2mMLIMWMQiPP1YH+KNxq3RES13fbkfNx1ay7rMJ
-Xn4X1zQKxt3k3Z7e2X9eZrKJH7MyCbH1pJ7ecToFi3FBFBuYRTLcLvlQdyyz1qip
-liz2tQL/y1E6ugfh/Ow1
-=RImR
+iQIcBAEBCAAGBQJVDW/VAAoJEPiazRVxLXTF6JwP/2qVpM2OOysNlHDpZebdJIPk
+NQIgo53Lj2+bQDdSUPuQqrUMrcvmH2ed5swZyAmIDaq/dAAqHFoIftsFF1zlf/iV
+2GP7VPmkINsEEV+qBv3wTsZVGNVUQyphJ0/H2lCrStbPduIvAIWalFfM52ESqXf1
+WdW2ezS3nYbes1gSPwwMaaEPmkIk0jMfwlF3AMZG8uQ4UEKp2Mlt6od6SX79NkX4
+7W+9Dl3Kxl7YeUpsxMXVLlTHA9KM422bA4ujoAMh2x1SJeA63oX6fK96q5xzorhK
+WAHrYnT2HYa4+7DcwVOCKceVdKaP1RqBMzESPzjA01lo7jW7or/JWastmL+cZeeW
+sJb9breTl8+0e+E4HzAH0aXVhrw2gVS/fFv6L84lVodChCnUJSepbWrSV+W70C04
+lQCeTVBZWRtY3UGXngc9DpYakCVGo7NV68Q93TpuT5u8J6R96MJ75Yxm+uZiar3o
+EI78Oh1X+fsFH4fU8jeRKOzqZ1h3hOrZT32FA1AfnlZ9cvGDPRuoYtOd62hkVin5
+DboDqrqGvCDhaUwydjmFLnI6JMZPRnRd5D4FJnApJZe5GESovx/ZebluWdfddVEm
+Zn+ImI8ucSknuZ38KGOzDXov4s2WDWCWmLjF9CtSvrzs1vk/E7CxIvJ4vgSLQn4D
+Uhb1tQNP+1ddxkZ25USg
+=/YC+
-----END PGP SIGNATURE-----
diff --git a/sys-process/audit/audit-1.7.17.ebuild b/sys-process/audit/audit-1.7.17.ebuild
deleted file mode 100644
index b423dff51248..000000000000
--- a/sys-process/audit/audit-1.7.17.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.7.17.ebuild,v 1.7 2012/12/18 21:57:17 robbat2 Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-
-inherit autotools eutils multilib toolchain-funcs python eutils
-
-DESCRIPTION="Userspace utilities for storing and processing auditing records"
-HOMEPAGE="http://people.redhat.com/sgrubb/audit/"
-SRC_URI="http://people.redhat.com/sgrubb/audit/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="ldap"
-# Testcases are pretty useless as they are built for RedHat users/groups and
-# kernels.
-RESTRICT="test"
-
-RDEPEND="ldap? ( net-nds/openldap )"
-DEPEND="${RDEPEND}
- dev-lang/swig
- >=sys-kernel/linux-headers-2.6.23"
-# Do not use os-headers as this is linux specific
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- # Old patch applies fine
- #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch
-
- # Applied by upstream
- #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch
-
- # Do not build GUI tools
- sed -i \
- -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \
- "${S}"/configure.ac
- sed -i \
- -e 's,system-config-audit,,g' \
- -e '/^SUBDIRS/s,\\$,,g' \
- "${S}"/Makefile.am
- rm -rf "${S}"/system-config-audit
-
- # Probably goes away in 1.6.9
- #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch
-
- if ! use ldap; then
- sed -i \
- -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \
- "${S}"/configure.ac
- sed -i \
- -e '/^SUBDIRS/s,zos-remote,,g' \
- "${S}"/audisp/plugins/Makefile.am
- fi
-
- # Don't build static version of Python module.
- epatch "${FILESDIR}"/${PN}-1.7.17-python.patch
- # bug #405887
- epatch "${FILESDIR}"/audit-1.7.18-as-needed.patch
- epatch "${FILESDIR}"/audit-1.7.18-missing_headers.patch
-
- # Regenerate autotooling
- eautoreconf
-
- # Disable byte-compilation of Python modules.
- echo "#!/bin/sh" > py-compile
-
- # Bug 352198: Avoid parallel build fail
- cd "${S}"/src/mt
- [[ ! -s private.h ]] && ln -s ../../lib/private.h .
-}
-
-src_configure() {
- #append-flags -D'__attribute__(x)='
- econf --sbindir=/sbin --without-prelude
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog README* THANKS TODO
- docinto contrib
- dodoc contrib/*
- docinto contrib/plugin
- dodoc contrib/plugin/*
-
- newinitd "${FILESDIR}"/auditd-init.d-1.7.17 auditd
- newconfd "${FILESDIR}"/auditd-conf.d-1.2.3 auditd
-
- # things like shadow use this so we need to be in /
- dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die
- gen_usr_ldscript libaudit.so libauparse.so
-
- # remove RedHat garbage
- rm -r "${D}"/etc/{rc.d,sysconfig} || die
-
- # Gentoo rules
- insinto /etc/audit/
- doins "${FILESDIR}"/audit.rules*
-
- # audit logs go here
- keepdir /var/log/audit/
-
- # Security
- lockdown_perms "${D}"
-
- # Don't install .la files in Python directories.
- python_clean_installation_image
-}
-
-pkg_postinst() {
- lockdown_perms "${ROOT}"
- python_mod_optimize audit.py
-}
-
-pkg_postrm() {
- python_mod_cleanup audit.py
-}
-
-lockdown_perms() {
- # upstream wants these to have restrictive perms
- basedir="$1"
- chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null
- chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null
- chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null
-}
diff --git a/sys-process/audit/audit-1.7.4.ebuild b/sys-process/audit/audit-1.7.4.ebuild
deleted file mode 100644
index 6d56388c6afc..000000000000
--- a/sys-process/audit/audit-1.7.4.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.7.4.ebuild,v 1.12 2012/05/21 23:23:36 vapier Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-
-inherit autotools eutils multilib toolchain-funcs python eutils
-
-DESCRIPTION="Userspace utilities for storing and processing auditing records"
-HOMEPAGE="http://people.redhat.com/sgrubb/audit/"
-SRC_URI="http://people.redhat.com/sgrubb/audit/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 hppa ia64 ~mips ppc ~ppc64 sparc x86"
-IUSE="ldap"
-# Testcases are pretty useless as they are built for RedHat users/groups and
-# kernels.
-RESTRICT="test"
-
-RDEPEND="ldap? ( net-nds/openldap )"
-DEPEND="${RDEPEND}
- dev-lang/swig
- >=sys-kernel/linux-headers-2.6.23"
-# Do not use os-headers as this is linux specific
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- # Old patch applies fine
- #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch
-
- # Applied by upstream
- #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch
-
- # Do not build GUI tools
- sed -i \
- -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \
- "${S}"/configure.ac
- sed -i \
- -e 's,system-config-audit,,g' \
- -e '/^SUBDIRS/s,\\$,,g' \
- "${S}"/Makefile.am
- rm -rf "${S}"/system-config-audit
-
- # Probably goes away in 1.6.9
- EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch
-
- if ! use ldap; then
- sed -i \
- -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \
- "${S}"/configure.ac
- sed -i \
- -e '/^SUBDIRS/s,zos-remote,,g' \
- "${S}"/audisp/plugins/Makefile.am
- fi
-
- epatch "${FILESDIR}"/${P}-glibc212.patch
-
- # Don't build static version of Python module.
- epatch "${FILESDIR}"/${P}-python.patch
-
- # Regenerate autotooling
- eautoreconf
-
- # Disable byte-compilation of Python modules.
- echo "#!/bin/sh" > py-compile
-
- # Bug 352198: Avoid parallel build fail
- cd "${S}"/src/mt
- [[ ! -s private.h ]] && ln -s ../../lib/private.h .
-}
-
-src_configure() {
- #append-flags -D'__attribute__(x)='
- econf --sbindir=/sbin --without-prelude
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc AUTHORS ChangeLog README* THANKS TODO
- docinto contrib
- dodoc contrib/*
- docinto contrib/plugin
- dodoc contrib/plugin/*
-
- newinitd "${FILESDIR}"/auditd-init.d-1.2.3 auditd
- newconfd "${FILESDIR}"/auditd-conf.d-1.2.3 auditd
-
- # things like shadow use this so we need to be in /
- dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die
- gen_usr_ldscript libaudit.so libauparse.so
-
- # remove RedHat garbage
- rm -r "${D}"/etc/{rc.d,sysconfig} || die
-
- # Gentoo rules
- insinto /etc/audit/
- doins "${FILESDIR}"/audit.rules*
-
- # audit logs go here
- keepdir /var/log/audit/
-
- # Security
- lockdown_perms "${D}"
-
- # Don't install .la files in Python directories.
- python_clean_installation_image
-}
-
-pkg_postinst() {
- lockdown_perms "${ROOT}"
- python_mod_optimize audit.py
-}
-
-pkg_postrm() {
- python_mod_cleanup audit.py
-}
-
-lockdown_perms() {
- # upstream wants these to have restrictive perms
- basedir="$1"
- chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null
- chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null
- chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null
-}
diff --git a/sys-process/audit/audit-2.1.3.ebuild b/sys-process/audit/audit-2.1.3.ebuild
deleted file mode 100644
index 14883d5f684c..000000000000
--- a/sys-process/audit/audit-2.1.3.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.1.3.ebuild,v 1.5 2012/12/18 19:27:31 robbat2 Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
-
-inherit autotools multilib toolchain-funcs python linux-info eutils
-
-DESCRIPTION="Userspace utilities for storing and processing auditing records"
-HOMEPAGE="http://people.redhat.com/sgrubb/audit/"
-SRC_URI="http://people.redhat.com/sgrubb/audit/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="ldap prelude"
-# Testcases are pretty useless as they are built for RedHat users/groups and
-# kernels.
-RESTRICT="test"
-
-RDEPEND="ldap? ( net-nds/openldap )
- prelude? ( dev-libs/libprelude )
- sys-libs/libcap-ng"
-DEPEND="${RDEPEND}
- dev-lang/swig
- >=sys-kernel/linux-headers-2.6.34"
-# Do not use os-headers as this is linux specific
-
-CONFIG_CHECK="~AUDIT"
-
-pkg_setup() {
- linux-info_pkg_setup
- python_pkg_setup
- PYTHON_DIRS="bindings/python swig"
-}
-
-src_prepare() {
- # Old patch applies fine
- #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch
-
- # Applied by upstream
- #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch
-
- # Do not build GUI tools
- sed -i \
- -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \
- "${S}"/configure.ac || die
- sed -i \
- -e 's,system-config-audit,,g' \
- "${S}"/Makefile.am || die
- rm -rf "${S}"/system-config-audit
-
- # Probably goes away in 1.6.9
- #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch
-
- if ! use ldap; then
- sed -i \
- -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \
- "${S}"/configure.ac || die
- sed -i \
- -e '/^SUBDIRS/s,zos-remote,,g' \
- "${S}"/audisp/plugins/Makefile.am || die
- fi
-
- # Don't build static version of Python module.
- epatch "${FILESDIR}"/${PN}-2.1.3-python.patch
-
- # Python bindings are built/installed manually.
- sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am
- sed -e "/^SUBDIRS =/s/ swig//" -i Makefile.am
-
- # Regenerate autotooling
- eautoreconf
-
- # Disable byte-compilation of Python modules.
- echo "#!/bin/sh" > py-compile
-
- # Bug 352198: Avoid parallel build fail
- cd "${S}"/src/mt
- [[ ! -s private.h ]] && ln -s ../../lib/private.h .
-}
-
-src_configure() {
- #append-flags -D'__attribute__(x)='
- econf --sbindir=/sbin $(use_with prelude)
-}
-
-src_compile() {
- default
-
- python_copy_sources ${PYTHON_DIRS}
-
- building() {
- emake \
- PYTHON_VERSION="$(python_get_version)" \
- pyexecdir="$(python_get_sitedir)"
- }
- local dir
- for dir in ${PYTHON_DIRS}; do
- python_execute_function -s --source-dir ${dir} building
- done
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- installation() {
- emake \
- DESTDIR="${D}" \
- PYTHON_VERSION="$(python_get_version)" \
- pyexecdir="$(python_get_sitedir)" \
- install
- }
- local dir
- for dir in ${PYTHON_DIRS}; do
- python_execute_function -s --source-dir ${dir} installation
- done
-
- dodoc AUTHORS ChangeLog README* THANKS TODO
- docinto contrib
- dodoc contrib/*
- docinto contrib/plugin
- dodoc contrib/plugin/*
-
- newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd
- newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd
-
- # things like shadow use this so we need to be in /
- dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die
- gen_usr_ldscript libaudit.so libauparse.so
-
- # remove RedHat garbage
- rm -r "${D}"/etc/{rc.d,sysconfig} || die
-
- # Gentoo rules
- insinto /etc/audit/
- newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules
- doins "${FILESDIR}"/audit.rules.stop*
-
- # audit logs go here
- keepdir /var/log/audit/
-
- # Security
- lockdown_perms "${D}"
-
- # Don't install .la files in Python directories.
- python_clean_installation_image
-}
-
-pkg_preinst() {
- default
- # Preserve from the audit-1 series
- preserve_old_lib /$(get_libdir)/libau{dit,parse}.so.0
-}
-
-pkg_postinst() {
- lockdown_perms "${ROOT}"
- python_mod_optimize audit.py
- # Preserve from the audit-1 series
- preserve_old_lib_notify /$(get_libdir)/libau{dit,parse}.so.0
-}
-
-pkg_postrm() {
- python_mod_cleanup audit.py
-}
-
-lockdown_perms() {
- # upstream wants these to have restrictive perms
- basedir="$1"
- chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null
- chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null
- chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null
-}
diff --git a/sys-process/audit/audit-2.2.2.ebuild b/sys-process/audit/audit-2.2.2.ebuild
deleted file mode 100644
index 035e76346aee..000000000000
--- a/sys-process/audit/audit-2.2.2.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.2.2.ebuild,v 1.5 2013/03/03 10:25:39 vapier Exp $
-
-EAPI="5"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
-
-inherit autotools multilib toolchain-funcs python linux-info eutils
-
-DESCRIPTION="Userspace utilities for storing and processing auditing records"
-HOMEPAGE="http://people.redhat.com/sgrubb/audit/"
-SRC_URI="http://people.redhat.com/sgrubb/audit/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="ldap prelude python"
-# Testcases are pretty useless as they are built for RedHat users/groups and
-# kernels.
-RESTRICT="test"
-
-RDEPEND="ldap? ( net-nds/openldap )
- prelude? ( dev-libs/libprelude )
- sys-libs/libcap-ng"
-DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
- >=sys-kernel/linux-headers-2.6.34"
-# Do not use os-headers as this is linux specific
-
-CONFIG_CHECK="~AUDIT"
-PYTHON_DIRS="bindings/python swig"
-
-pkg_setup() {
- linux-info_pkg_setup
- use python && python_pkg_setup
-}
-
-src_prepare() {
- # Old patch applies fine
- #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch
-
- # Applied by upstream
- #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch
-
- # Do not build GUI tools
- sed -i \
- -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \
- "${S}"/configure.ac || die
- sed -i \
- -e 's,system-config-audit,,g' \
- "${S}"/Makefile.am || die
- rm -rf "${S}"/system-config-audit
-
- # Probably goes away in 1.6.9
- #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch
-
- if ! use ldap; then
- sed -i \
- -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \
- "${S}"/configure.ac || die
- sed -i \
- -e '/^SUBDIRS/s,zos-remote,,g' \
- "${S}"/audisp/plugins/Makefile.am || die
- fi
-
- # Don't build static version of Python module.
- epatch "${FILESDIR}"/${PN}-2.1.3-python.patch
-
- # glibc/kernel upstreams suck with both defining ia64_fpreg
- # This patch is a horribly workaround that is only valid as long as you
- # don't need the OTHER definitions in fpu.h.
- epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch
-
- # Python bindings are built/installed manually.
- sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am
- sed -e "/^SUBDIRS .*=/s/ swig//" -i Makefile.am
-
- # Regenerate autotooling
- eautoreconf
-
- # Disable byte-compilation of Python modules.
- echo "#!/bin/sh" > py-compile
-
- # Bug 352198: Avoid parallel build fail
- cd "${S}"/src/mt
- [[ ! -s private.h ]] && ln -s ../../lib/private.h .
-}
-
-src_configure() {
- #append-flags -D'__attribute__(x)='
- econf --sbindir=/sbin $(use_with prelude)
-}
-
-src_compile_python() {
- python_copy_sources ${PYTHON_DIRS}
-
- building() {
- emake \
- PYTHON_VERSION="$(python_get_version)" \
- pyexecdir="$(python_get_sitedir)"
- }
- local dir
- for dir in ${PYTHON_DIRS}; do
- python_execute_function -s --source-dir ${dir} building
- done
-}
-
-src_compile() {
- default
- use python && src_compile_python
-}
-
-src_install_python() {
- installation() {
- emake \
- DESTDIR="${D}" \
- PYTHON_VERSION="$(python_get_version)" \
- pyexecdir="$(python_get_sitedir)" \
- install
- }
- local dir
- for dir in ${PYTHON_DIRS}; do
- python_execute_function -s --source-dir ${dir} installation
- done
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- use python && src_install_python
-
- dodoc AUTHORS ChangeLog README* THANKS TODO
- docinto contrib
- dodoc contrib/{*.rules,avc_snap,skeleton.c}
- docinto contrib/plugin
- dodoc contrib/plugin/*
-
- newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd
- newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd
-
- # things like shadow use this so we need to be in /
- gen_usr_ldscript -a audit auparse
-
- [ -f "${D}"/sbin/audisp-remote ] && \
- dodir /usr/sbin && \
- mv "${D}"/{sbin,usr/sbin}/audisp-remote || die
-
- # remove RedHat garbage
- rm -r "${D}"/etc/{rc.d,sysconfig} || die
-
- # Gentoo rules
- insinto /etc/audit/
- newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules
- doins "${FILESDIR}"/audit.rules.stop*
-
- # audit logs go here
- keepdir /var/log/audit/
-
- # Security
- lockdown_perms "${D}"
-
- # Don't install .la files in Python directories.
- use python && python_clean_installation_image
-}
-
-pkg_preinst() {
- # Preserve from the audit-1 series
- preserve_old_lib /$(get_libdir)/libau{dit,parse}.so.0
-}
-
-pkg_postinst() {
- lockdown_perms "${ROOT}"
- use python && python_mod_optimize audit.py
- # Preserve from the audit-1 series
- preserve_old_lib_notify /$(get_libdir)/libau{dit,parse}.so.0
-}
-
-pkg_postrm() {
- use python && python_mod_cleanup audit.py
-}
-
-lockdown_perms() {
- # upstream wants these to have restrictive perms
- basedir="$1"
- chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null
- chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null
- chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null
-}
diff --git a/sys-process/audit/audit-2.2.2-r1.ebuild b/sys-process/audit/audit-2.4.1.ebuild
index ff563fb71e3d..8e6c592c66db 100644
--- a/sys-process/audit/audit-2.2.2-r1.ebuild
+++ b/sys-process/audit/audit-2.4.1.ebuild
@@ -1,13 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.2.2-r1.ebuild,v 1.2 2014/05/29 01:30:00 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.4.1.ebuild,v 1.1 2015/03/21 13:19:16 polynomial-c Exp $
EAPI="5"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
-inherit autotools multilib toolchain-funcs python linux-info eutils systemd
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools multilib multilib-minimal toolchain-funcs python-r1 linux-info eutils systemd
DESCRIPTION="Userspace utilities for storing and processing auditing records"
HOMEPAGE="http://people.redhat.com/sgrubb/audit/"
@@ -16,34 +15,28 @@ SRC_URI="http://people.redhat.com/sgrubb/audit/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="ldap prelude python"
+IUSE="ldap python"
# Testcases are pretty useless as they are built for RedHat users/groups and
# kernels.
RESTRICT="test"
RDEPEND="ldap? ( net-nds/openldap )
- prelude? ( dev-libs/libprelude )
sys-libs/libcap-ng"
DEPEND="${RDEPEND}
- python? ( dev-lang/swig )
+ python? ( ${PYTHON_DEPS}
+ dev-lang/swig )
>=sys-kernel/linux-headers-2.6.34"
# Do not use os-headers as this is linux specific
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
CONFIG_CHECK="~AUDIT"
-PYTHON_DIRS="bindings/python swig"
pkg_setup() {
linux-info_pkg_setup
- use python && python_pkg_setup
}
src_prepare() {
- # Old patch applies fine
- #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch
-
- # Applied by upstream
- #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch
-
# Do not build GUI tools
sed -i \
-e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \
@@ -53,9 +46,6 @@ src_prepare() {
"${S}"/Makefile.am || die
rm -rf "${S}"/system-config-audit
- # Probably goes away in 1.6.9
- #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch
-
if ! use ldap; then
sed -i \
-e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \
@@ -66,7 +56,7 @@ src_prepare() {
fi
# Don't build static version of Python module.
- epatch "${FILESDIR}"/${PN}-2.1.3-python.patch
+ epatch "${FILESDIR}"/${PN}-2.4.1-python.patch
# glibc/kernel upstreams suck with both defining ia64_fpreg
# This patch is a horribly workaround that is only valid as long as you
@@ -80,59 +70,76 @@ src_prepare() {
# Regenerate autotooling
eautoreconf
- # Disable byte-compilation of Python modules.
- echo "#!/bin/sh" > py-compile
-
# Bug 352198: Avoid parallel build fail
cd "${S}"/src/mt
[[ ! -s private.h ]] && ln -s ../../lib/private.h .
}
-src_configure() {
+multilib_src_configure() {
+ local ECONF_SOURCE=${S}
#append-flags -D'__attribute__(x)='
econf \
--sbindir=/sbin \
--enable-systemd \
- $(use_with prelude)
-}
+ --without-python
-src_compile_python() {
- python_copy_sources ${PYTHON_DIRS}
-
- building() {
- emake \
- PYTHON_VERSION="$(python_get_version)" \
- pyexecdir="$(python_get_sitedir)"
- }
- local dir
- for dir in ${PYTHON_DIRS}; do
- python_execute_function -s --source-dir ${dir} building
- done
-}
+ if multilib_is_native_abi; then
+ python_configure() {
+ mkdir -p "${BUILD_DIR}" || die
+ cd "${BUILD_DIR}" || die
+ econf --with-python
+ }
-src_compile() {
- default
- use python && src_compile_python
+ use python && python_foreach_impl python_configure
+ fi
}
-src_install_python() {
- installation() {
- emake \
- DESTDIR="${D}" \
- PYTHON_VERSION="$(python_get_version)" \
- pyexecdir="$(python_get_sitedir)" \
- install
- }
- local dir
- for dir in ${PYTHON_DIRS}; do
- python_execute_function -s --source-dir ${dir} installation
- done
+multilib_src_compile() {
+ if multilib_is_native_abi; then
+ default
+
+ python_compile() {
+ emake -C "${BUILD_DIR}"/swig \
+ VPATH="${native_build}/lib" \
+ LIBS="${native_build}/lib/libaudit.la"
+ emake -C "${BUILD_DIR}"/bindings/python \
+ VPATH="${S}/bindings/python:${native_build}/bindings/python" \
+ auparse_la_LIBADD="${native_build}/auparse/libauparse.la ${native_build}/lib/libaudit.la"
+ }
+
+ local native_build=${BUILD_DIR}
+ use python && python_foreach_impl python_compile
+ else
+ emake -C lib
+ emake -C auparse
+ fi
}
-src_install() {
- emake DESTDIR="${D}" initdir="$(systemd_get_unitdir)" install || die
- use python && src_install_python
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ emake DESTDIR="${D}" initdir="$(systemd_get_unitdir)" install
+
+ python_install() {
+ emake -C "${BUILD_DIR}"/swig \
+ VPATH="${native_build}/lib" \
+ DESTDIR="${D}" install
+ emake -C "${BUILD_DIR}"/bindings/python \
+ VPATH="${S}/bindings/python:${native_build}/bindings/python" \
+ DESTDIR="${D}" install
+ }
+
+ local native_build=${BUILD_DIR}
+ use python && python_foreach_impl python_install
+
+ # things like shadow use this so we need to be in /
+ gen_usr_ldscript -a audit auparse
+ else
+ emake -C lib DESTDIR="${D}" install
+ emake -C auparse DESTDIR="${D}" install
+ fi
+}
+multilib_src_install_all() {
dodoc AUTHORS ChangeLog README* THANKS TODO
docinto contrib
dodoc contrib/{*.rules,avc_snap,skeleton.c}
@@ -142,9 +149,6 @@ src_install() {
newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd
newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd
- # things like shadow use this so we need to be in /
- gen_usr_ldscript -a audit auparse
-
[ -f "${D}"/sbin/audisp-remote ] && \
dodir /usr/sbin && \
mv "${D}"/{sbin,usr/sbin}/audisp-remote || die
@@ -160,8 +164,7 @@ src_install() {
# Security
lockdown_perms "${D}"
- # Don't install .la files in Python directories.
- use python && python_clean_installation_image
+ prune_libtool_files --modules
}
pkg_preinst() {
@@ -171,15 +174,10 @@ pkg_preinst() {
pkg_postinst() {
lockdown_perms "${ROOT}"
- use python && python_mod_optimize audit.py
# Preserve from the audit-1 series
preserve_old_lib_notify /$(get_libdir)/libau{dit,parse}.so.0
}
-pkg_postrm() {
- use python && python_mod_cleanup audit.py
-}
-
lockdown_perms() {
# upstream wants these to have restrictive perms
basedir="$1"
diff --git a/sys-process/audit/files/audit-1.5.4-build.patch b/sys-process/audit/files/audit-1.5.4-build.patch
deleted file mode 100644
index 1eda6c86e162..000000000000
--- a/sys-process/audit/files/audit-1.5.4-build.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-http://bugs.gentoo.org/184563
-
---- auparse/test/Makefile.am
-+++ auparse/test/Makefile.am
-@@ -23,7 +23,7 @@
- check_PROGRAMS = auparse_test
- check_SCRIPTS = auparse_test.py
-
--INCLUDES = -I..
-+INCLUDES = -I.. -I../../lib
-
- auparse_test_SOURCES = auparse_test.c
- auparse_test_LDFLAGS = -static
diff --git a/sys-process/audit/files/audit-1.5.4-swig-gcc-attribute.patch b/sys-process/audit/files/audit-1.5.4-swig-gcc-attribute.patch
deleted file mode 100644
index 9d00f1c52093..000000000000
--- a/sys-process/audit/files/audit-1.5.4-swig-gcc-attribute.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nuar --exclude '*~' audit-1.5.4.orig/swig/auditswig.i audit-1.5.4/swig/auditswig.i
---- audit-1.5.4.orig/swig/auditswig.i 2007-06-14 08:17:00.000000000 -0700
-+++ audit-1.5.4/swig/auditswig.i 2007-07-14 23:43:41.790390709 -0700
-@@ -26,6 +26,7 @@
- %define __signed__
- signed
- %enddef
-+#define __attribute(x) /*nothing*/
- %include "/usr/include/asm/types.h"
- %include "/usr/include/linux/audit.h"
- #define __extension__ /*nothing*/
diff --git a/sys-process/audit/files/audit-1.6.8-subdirs-fix.patch b/sys-process/audit/files/audit-1.6.8-subdirs-fix.patch
deleted file mode 100644
index 662e376b40ed..000000000000
--- a/sys-process/audit/files/audit-1.6.8-subdirs-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- audit-1.6.8/Makefile.am.orig 2008-02-20 14:33:51.034127088 -0800
-+++ audit-1.6.8/Makefile.am 2008-02-20 14:33:57.640162864 -0800
-@@ -21,8 +21,7 @@
- # Rickard E. (Rik) Faith <faith@redhat.com>
- #
-
--SUBDIRS = lib auparse src/mt src audisp tools swig bindings init.d
-- docs
-+SUBDIRS = lib auparse src/mt src audisp tools swig bindings init.d docs
- EXTRA_DIST = ChangeLog AUTHORS NEWS README README-install audit.spec \
- contrib/capp.rules contrib/nispom.rules contrib/lspp.rules \
- contrib/skeleton.c contrib/avc_snap contrib/avc_syslog \
diff --git a/sys-process/audit/files/audit-1.7.4-glibc212.patch b/sys-process/audit/files/audit-1.7.4-glibc212.patch
deleted file mode 100644
index e167849e9e33..000000000000
--- a/sys-process/audit/files/audit-1.7.4-glibc212.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-http://bugs.gentoo.org/334147
-
---- lib/libaudit.c
-+++ lib/libaudit.c
-@@ -36,6 +36,8 @@
- #include <sys/utsname.h>
- #include <fcntl.h> /* O_NOFOLLOW needs gnu defined */
- #include <limits.h> /* for PATH_MAX */
-+#include <sys/types.h>
-+#include <sys/stat.h> /* S_ISREG */
-
- #include "libaudit.h"
- #include "private.h"
diff --git a/sys-process/audit/files/audit-1.7.4-python.patch b/sys-process/audit/files/audit-1.7.4-python.patch
deleted file mode 100644
index 32fca2ab1e4c..000000000000
--- a/sys-process/audit/files/audit-1.7.4-python.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- swig/Makefile.am
-+++ swig/Makefile.am
-@@ -27,7 +27,8 @@
- LIBS = $(top_builddir)/lib/libaudit.la
- python_PYTHON = audit.py
- pyexec_LTLIBRARIES = _audit.la
--_audit_la_LDFLAGS = -module -avoid-version
-+_audit_la_CFLAGS = -shared
-+_audit_la_LDFLAGS = -module -avoid-version -shared
- _audit_la_HEADERS: $(top_builddir)/config.h
- _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la
- nodist__audit_la_SOURCES = audit_wrap.c
diff --git a/sys-process/audit/files/audit-2.4.1-python.patch b/sys-process/audit/files/audit-2.4.1-python.patch
new file mode 100644
index 000000000000..6c27396ef323
--- /dev/null
+++ b/sys-process/audit/files/audit-2.4.1-python.patch
@@ -0,0 +1,22 @@
+--- audit-2.4.1/bindings/python/Makefile.am
++++ audit-2.4.1/bindings/python/Makefile.am
+@@ -27,5 +27,6 @@
+
+ auparse_la_SOURCES = auparse_python.c
+ auparse_la_CPPFLAGS = -I$(top_srcdir)/auparse $(AM_CPPFLAGS) -I@PYINCLUDEDIR@ -fno-strict-aliasing
+-auparse_la_LDFLAGS = -module -avoid-version -Wl,-z,relro
++auparse_la_CFLAGS = -shared
++auparse_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro
+ auparse_la_LIBADD = ${top_builddir}/auparse/libauparse.la ${top_builddir}/lib/libaudit.la
+--- audit-2.4.1/swig/Makefile.am
++++ audit-2.4.1/swig/Makefile.am
+@@ -27,7 +27,8 @@
+ pyexec_PYTHON = audit.py
+ pyexec_LTLIBRARIES = _audit.la
+ pyexec_SOLIBRARIES = _audit.so
+-_audit_la_LDFLAGS = -module -avoid-version -Wl,-z,relro
++_audit_la_CFLAGS = -shared
++_audit_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro
+ _audit_la_HEADERS: $(top_builddir)/config.h
+ _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la
+ nodist__audit_la_SOURCES = audit_wrap.c
diff --git a/sys-process/audit/files/auditd-init.d-1.2.3 b/sys-process/audit/files/auditd-init.d-1.2.3
deleted file mode 100644
index 862a6bea9177..000000000000
--- a/sys-process/audit/files/auditd-init.d-1.2.3
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/files/auditd-init.d-1.2.3,v 1.1 2006/06/22 07:41:46 robbat2 Exp $
-
-start_auditd() {
- ebegin "Starting auditd"
- start-stop-daemon \
- --start --quiet --pidfile /var/run/auditd.pid \
- --exec /sbin/auditd -- ${EXTRAOPTIONS}
- local ret=$?
- eend $ret
- return $ret
-}
-
-stop_auditd() {
- ebegin "Stopping auditd"
- start-stop-daemon \
- --stop --quiet --pidfile /var/run/auditd.pid
- local ret=$?
- eend $ret
- return $ret
-}
-
-
-loadfile() {
- local rules="$1"
- if [ -n "${rules}" -a -f "${rules}" ]; then
- einfo "Loading audit rules from ${rules}"
- /sbin/auditctl -R "${rules}" 1>/dev/null
- return $?
- else
- return 0
- fi
-}
-
-start() {
- start_auditd
- local ret=$?
- if [ $ret -eq 0 ]; then
- loadfile "${RULEFILE_STARTUP}"
- fi
- return $ret
-}
-
-stop() {
- loadfile "${RULEFILE_STOP_PRE}"
- stop_auditd
- local ret=$?
- loadfile "${RULEFILE_STOP_POST}"
- return $ret
-}
-
-# This is a special case, we do not want to touch the rules at all
-restart() {
- stop_auditd
- start_auditd
-}