summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2006-07-18 16:30:41 +0000
committerLance Albertson <ramereth@gentoo.org>2006-07-18 16:30:41 +0000
commit9e3d94fe8a5df2e587f6c4fa0a13185a677303b6 (patch)
tree2ded7bc53d78c766c609dedb2c6b2378ec127850 /net-analyzer
parentfix bug 138690 and 138731, clean out old ebuild (diff)
downloadgentoo-2-9e3d94fe8a5df2e587f6c4fa0a13185a677303b6.tar.gz
gentoo-2-9e3d94fe8a5df2e587f6c4fa0a13185a677303b6.tar.bz2
gentoo-2-9e3d94fe8a5df2e587f6c4fa0a13185a677303b6.zip
fix bug 138690 and 138731, clean out old ebuild
(Portage version: 2.1-r1) (Unsigned Manifest commit)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nagios-plugins/Manifest84
-rw-r--r--net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.31
-rw-r--r--net-analyzer/nagios-plugins/nagios-plugins-1.4.3.ebuild115
3 files changed, 46 insertions, 154 deletions
diff --git a/net-analyzer/nagios-plugins/Manifest b/net-analyzer/nagios-plugins/Manifest
index ad49df1de8a2..6c5034782830 100644
--- a/net-analyzer/nagios-plugins/Manifest
+++ b/net-analyzer/nagios-plugins/Manifest
@@ -1,71 +1,79 @@
-AUX check_swap.c.patch 2212 RMD160 ef5e3c1af55ec0b3acb31ec75c530664ee84e428 SHA1 1e74bf575a8c70943f6d8b73089b91258121a1a0 SHA256 2409f9dfe74a4b527b4c3f4c47c4cd6c40361f64104f420e3893402b731ab785 size 2212
+AUX check_swap.c.patch 2212 RMD160 ef5e3c1af55ec0b3acb31ec75c530664ee84e428 SHA1 1e74bf575a8c70943f6d8b73089b91258121a1a0 SHA256 2409f9dfe74a4b527b4c3f4c47c4cd6c40361f64104f420e3893402b731ab785
MD5 c8c25561d4871462ea03dc0490ced91b files/check_swap.c.patch 2212
RMD160 ef5e3c1af55ec0b3acb31ec75c530664ee84e428 files/check_swap.c.patch 2212
SHA256 2409f9dfe74a4b527b4c3f4c47c4cd6c40361f64104f420e3893402b731ab785 files/check_swap.c.patch 2212
-AUX install-opts-fix.diff 3168 RMD160 814911175ce77f70c64bc7caaefa97c38e6a526d SHA1 83cdd0e75ee73a94ebc0ae9924c7eef15b55c50e SHA256 5f6010e959fdc7ab4b1720bf674f85c8e4881c1da1e3076b3a587b0d93755e83 size 3168
+AUX install-opts-fix.diff 3168 RMD160 814911175ce77f70c64bc7caaefa97c38e6a526d SHA1 83cdd0e75ee73a94ebc0ae9924c7eef15b55c50e SHA256 5f6010e959fdc7ab4b1720bf674f85c8e4881c1da1e3076b3a587b0d93755e83
MD5 acb0b2b914b27b67b9a33807b1e6838e files/install-opts-fix.diff 3168
RMD160 814911175ce77f70c64bc7caaefa97c38e6a526d files/install-opts-fix.diff 3168
SHA256 5f6010e959fdc7ab4b1720bf674f85c8e4881c1da1e3076b3a587b0d93755e83 files/install-opts-fix.diff 3168
-AUX nagios-plugins-1.4-noradius.patch 666 RMD160 5c1d6d73b39a5e1bf763dfa40a094a602a92e233 SHA1 6a5335d3e52e8202379f2186dd7a3c621e597fd9 SHA256 65dcc040bef18f6706a0534e29c04003920757b193010b07ff8740551c4c0865 size 666
+AUX nagios-plugins-1.4-autoconf-fix.patch 375 RMD160 1efc5680a1528ab2e8dcb53dac54ce7fbb1e6817 SHA1 6a8567c6f2891c75901d56c6d752779410c9ef92 SHA256 953cb9b89dcf3119a58f1c8f0cdbd23a6cc8125629629c903a6701c62423fdec
+MD5 913ba522e807f771d6bf7418191fe60a files/nagios-plugins-1.4-autoconf-fix.patch 375
+RMD160 1efc5680a1528ab2e8dcb53dac54ce7fbb1e6817 files/nagios-plugins-1.4-autoconf-fix.patch 375
+SHA256 953cb9b89dcf3119a58f1c8f0cdbd23a6cc8125629629c903a6701c62423fdec files/nagios-plugins-1.4-autoconf-fix.patch 375
+AUX nagios-plugins-1.4-noradius.patch 666 RMD160 5c1d6d73b39a5e1bf763dfa40a094a602a92e233 SHA1 6a5335d3e52e8202379f2186dd7a3c621e597fd9 SHA256 65dcc040bef18f6706a0534e29c04003920757b193010b07ff8740551c4c0865
MD5 73ee36e67ff5948e0db8c99963a9e89f files/nagios-plugins-1.4-noradius.patch 666
RMD160 5c1d6d73b39a5e1bf763dfa40a094a602a92e233 files/nagios-plugins-1.4-noradius.patch 666
SHA256 65dcc040bef18f6706a0534e29c04003920757b193010b07ff8740551c4c0865 files/nagios-plugins-1.4-noradius.patch 666
-AUX nagios-plugins-noradius.patch 2661 RMD160 6b5cd77be1503721d512a0c67c182e98e3d788cf SHA1 1ed08b006a6073d2ec9794548cb4abdb5a59dba7 SHA256 91172235c0389e52093bee548771228bc14ab95b81d95f4d0d6ac55ea54fa006 size 2661
+AUX nagios-plugins-1.4.3-check_disk-fix.patch 2122 RMD160 36c5bda03e34f64683a1189ac9c5342f65caf66a SHA1 76529afde252a4fa36e4c894395144eed8e70d04 SHA256 e16fae6bc3a76609aeed40d63d14f07bd2778f7630b3aa509d9b5a2ec3d32dce
+MD5 5680f1f4259ac7f3c7b66c8f053ba5dd files/nagios-plugins-1.4.3-check_disk-fix.patch 2122
+RMD160 36c5bda03e34f64683a1189ac9c5342f65caf66a files/nagios-plugins-1.4.3-check_disk-fix.patch 2122
+SHA256 e16fae6bc3a76609aeed40d63d14f07bd2778f7630b3aa509d9b5a2ec3d32dce files/nagios-plugins-1.4.3-check_disk-fix.patch 2122
+AUX nagios-plugins-noradius.patch 2661 RMD160 6b5cd77be1503721d512a0c67c182e98e3d788cf SHA1 1ed08b006a6073d2ec9794548cb4abdb5a59dba7 SHA256 91172235c0389e52093bee548771228bc14ab95b81d95f4d0d6ac55ea54fa006
MD5 ee71da291efd7427bd9786591a98df34 files/nagios-plugins-noradius.patch 2661
RMD160 6b5cd77be1503721d512a0c67c182e98e3d788cf files/nagios-plugins-noradius.patch 2661
SHA256 91172235c0389e52093bee548771228bc14ab95b81d95f4d0d6ac55ea54fa006 files/nagios-plugins-noradius.patch 2661
-DIST nagios-plugins-1.3.1.tar.gz 532516 size 532516
-DIST nagios-plugins-1.4.1.tar.gz 967552 size 967552
-DIST nagios-plugins-1.4.2.tar.gz 971447 size 971447
-DIST nagios-plugins-1.4.3.tar.gz 1257775 size 1257775
-DIST nagios-plugins-1.4.tar.gz 972810 size 972810
-EBUILD nagios-plugins-1.3.1-r1.ebuild 3261 RMD160 3d9794c2a55509a3b463c05150f655c5a93edfef SHA1 bec5204b2f9ac3ceca95f203ef16cd4c240e169f SHA256 5485582578ee27c41291884cd5c0e1f2ec26d9d5cbb0119e47acac0a53750307 size 3261
+DIST nagios-plugins-1.3.1.tar.gz 532516
+DIST nagios-plugins-1.4.1.tar.gz 967552 RMD160 fe02a63fe99635552376736ab445957d374fb38b SHA1 a0da111905a2af8a31c044c14527b173acace9f1 SHA256 e64a4fdad256f5b2a3717390e4195e642f3985fdc8d74998ad231a6a30cfcb9b
+DIST nagios-plugins-1.4.2.tar.gz 971447 RMD160 93d747bb445e4e59cdb72ef210feb052b7855cac SHA1 d12238c75c0bbb0c7cb8e81585effe5375b9ced4 SHA256 a329b3e1c7daf79dc002eacc44af9d4706555342b7d20227cc8eb3139767e652
+DIST nagios-plugins-1.4.3.tar.gz 1257775 RMD160 bc1d4f8cddd481775c514758a462fe533e01e846 SHA1 c26fc2f31d7579c3a8174dcd1965046c4b1c8d37 SHA256 e1178d639bef1b45a7bddb61899217122840382ee180594f0262fb4a1e6a8c70
+DIST nagios-plugins-1.4.tar.gz 972810 RMD160 e50c16b07754b146483cdeecb04ab86b03f1c84d SHA1 10b030431aeda1c9219040d6e1d44647b159af43 SHA256 ea01cfa18151ac7e23bd6ede54b6ee2438185b35df6bb1130c68ba765df04831
+EBUILD nagios-plugins-1.3.1-r1.ebuild 3261 RMD160 3d9794c2a55509a3b463c05150f655c5a93edfef SHA1 bec5204b2f9ac3ceca95f203ef16cd4c240e169f SHA256 5485582578ee27c41291884cd5c0e1f2ec26d9d5cbb0119e47acac0a53750307
MD5 167afaeaa89ede0c04d49c15d14da5cf nagios-plugins-1.3.1-r1.ebuild 3261
RMD160 3d9794c2a55509a3b463c05150f655c5a93edfef nagios-plugins-1.3.1-r1.ebuild 3261
SHA256 5485582578ee27c41291884cd5c0e1f2ec26d9d5cbb0119e47acac0a53750307 nagios-plugins-1.3.1-r1.ebuild 3261
-EBUILD nagios-plugins-1.4.1.ebuild 3389 RMD160 9bbbc82650cde9494e093c54ba84c8307d02a418 SHA1 8a75b261c1a205fe38906fdb97bf9ab2b3fb06f3 SHA256 fb097e5acb1bd539df983cd813852906a5047520c38fcbb63c72f6763687e97b size 3389
+EBUILD nagios-plugins-1.4.1.ebuild 3389 RMD160 9bbbc82650cde9494e093c54ba84c8307d02a418 SHA1 8a75b261c1a205fe38906fdb97bf9ab2b3fb06f3 SHA256 fb097e5acb1bd539df983cd813852906a5047520c38fcbb63c72f6763687e97b
MD5 ab6ad22bb9885073de498171427e71ed nagios-plugins-1.4.1.ebuild 3389
RMD160 9bbbc82650cde9494e093c54ba84c8307d02a418 nagios-plugins-1.4.1.ebuild 3389
SHA256 fb097e5acb1bd539df983cd813852906a5047520c38fcbb63c72f6763687e97b nagios-plugins-1.4.1.ebuild 3389
-EBUILD nagios-plugins-1.4.2-r1.ebuild 3448 RMD160 53ea2ce4ee763c09eaf111f4643bf1a81caf439a SHA1 f0e3eaf107d21c7fe09e1beab44ec79b31737ed3 SHA256 adf6ef7a11fd94a3a66f20d1a6d919d3e4c7a447b5e8cd9b9c704968dffe7973 size 3448
+EBUILD nagios-plugins-1.4.2-r1.ebuild 3448 RMD160 53ea2ce4ee763c09eaf111f4643bf1a81caf439a SHA1 f0e3eaf107d21c7fe09e1beab44ec79b31737ed3 SHA256 adf6ef7a11fd94a3a66f20d1a6d919d3e4c7a447b5e8cd9b9c704968dffe7973
MD5 c2c6e9f19c3e8cba6f50a39a21e1d408 nagios-plugins-1.4.2-r1.ebuild 3448
RMD160 53ea2ce4ee763c09eaf111f4643bf1a81caf439a nagios-plugins-1.4.2-r1.ebuild 3448
SHA256 adf6ef7a11fd94a3a66f20d1a6d919d3e4c7a447b5e8cd9b9c704968dffe7973 nagios-plugins-1.4.2-r1.ebuild 3448
-EBUILD nagios-plugins-1.4.2.ebuild 3393 RMD160 2711d84ec62905514c9885794071cb409e4e6ed2 SHA1 691c7b44fe04c68bbf7c5dfaf085b2d079bf4f28 SHA256 4dd52604d4be05770c68275d89560fe09a2718fbc1a21ee95b506be717242707 size 3393
+EBUILD nagios-plugins-1.4.2.ebuild 3393 RMD160 2711d84ec62905514c9885794071cb409e4e6ed2 SHA1 691c7b44fe04c68bbf7c5dfaf085b2d079bf4f28 SHA256 4dd52604d4be05770c68275d89560fe09a2718fbc1a21ee95b506be717242707
MD5 3229392bf51b56c2bf28ff11e1882468 nagios-plugins-1.4.2.ebuild 3393
RMD160 2711d84ec62905514c9885794071cb409e4e6ed2 nagios-plugins-1.4.2.ebuild 3393
SHA256 4dd52604d4be05770c68275d89560fe09a2718fbc1a21ee95b506be717242707 nagios-plugins-1.4.2.ebuild 3393
-EBUILD nagios-plugins-1.4.3.ebuild 3473 RMD160 11eed459f11402ca2dfea6da0b9f4fae32e1c282 SHA1 73077bc8fcdd10acaaa8e5b86f6a1ffd4c478f9e SHA256 810a5d594450c708895bce04d46881d05201b955ea4149afca581a19ec6acc39 size 3473
-MD5 1ed9f2d0fce6e42ba2f63ad59081e5e7 nagios-plugins-1.4.3.ebuild 3473
-RMD160 11eed459f11402ca2dfea6da0b9f4fae32e1c282 nagios-plugins-1.4.3.ebuild 3473
-SHA256 810a5d594450c708895bce04d46881d05201b955ea4149afca581a19ec6acc39 nagios-plugins-1.4.3.ebuild 3473
-EBUILD nagios-plugins-1.4.ebuild 3280 RMD160 068b6f58e3288712184f6cfd3733a43b06c5bd30 SHA1 81055ab9d2efdb05d0917ede379f9f7e7e1f947c SHA256 2f008dc80969d66a6a84e42e5ff0aeb1409116a04acae37eca1f00902011cc8f size 3280
+EBUILD nagios-plugins-1.4.3-r1.ebuild 3685 RMD160 76960b9b3b0c4cb2dea2a142a6944f9132157a60 SHA1 e999e4ccfb1e8dc2b5a7fcbfc4607dba711d9f93 SHA256 0e6e7295fe306120f6b373e306e27cd37d825d798eb1bfa3aa9797d0920c5b16
+MD5 1379badb8d1c09d259a46509ca2ad934 nagios-plugins-1.4.3-r1.ebuild 3685
+RMD160 76960b9b3b0c4cb2dea2a142a6944f9132157a60 nagios-plugins-1.4.3-r1.ebuild 3685
+SHA256 0e6e7295fe306120f6b373e306e27cd37d825d798eb1bfa3aa9797d0920c5b16 nagios-plugins-1.4.3-r1.ebuild 3685
+EBUILD nagios-plugins-1.4.ebuild 3280 RMD160 068b6f58e3288712184f6cfd3733a43b06c5bd30 SHA1 81055ab9d2efdb05d0917ede379f9f7e7e1f947c SHA256 2f008dc80969d66a6a84e42e5ff0aeb1409116a04acae37eca1f00902011cc8f
MD5 ecd66c546a55d930384711d03d9af94c nagios-plugins-1.4.ebuild 3280
RMD160 068b6f58e3288712184f6cfd3733a43b06c5bd30 nagios-plugins-1.4.ebuild 3280
SHA256 2f008dc80969d66a6a84e42e5ff0aeb1409116a04acae37eca1f00902011cc8f nagios-plugins-1.4.ebuild 3280
-MISC ChangeLog 8516 RMD160 47c2c4c51a844ddd0d2fba5f195027b1577b4d4b SHA1 c4d795b3744952cc65309c45076a80c0de9025de SHA256 2ba06a949a19d324378adc07bb2be54e3cabc17ff13e323ba57f2ce88079d53b size 8516
-MD5 4cf9a54befec64d95dd7b64d47b96b81 ChangeLog 8516
-RMD160 47c2c4c51a844ddd0d2fba5f195027b1577b4d4b ChangeLog 8516
-SHA256 2ba06a949a19d324378adc07bb2be54e3cabc17ff13e323ba57f2ce88079d53b ChangeLog 8516
-MISC metadata.xml 371 RMD160 8cd19aa36cd4f4615a30bbcdb0429b7dc0b7430f SHA1 32ad1225f75741bdb533609eef9004f5941dd839 SHA256 af0d4f06a9c915ebb24d136adae1ab0d3525db2a2ccd247aff558b1358bf43a1 size 371
+MISC ChangeLog 8876 RMD160 7c00d87862f5197168499c69c21e3749ac884746 SHA1 63ffb749f7c7e9d43e6f45451d523ba76ebc718b SHA256 e96b96c248f5d75d75793eeffc95efe9d2f1bc52bdd5d6fd8d0b720e704e5ed6
+MD5 063b5756239e5a1f8056cbb8813c2bfe ChangeLog 8876
+RMD160 7c00d87862f5197168499c69c21e3749ac884746 ChangeLog 8876
+SHA256 e96b96c248f5d75d75793eeffc95efe9d2f1bc52bdd5d6fd8d0b720e704e5ed6 ChangeLog 8876
+MISC metadata.xml 371 RMD160 8cd19aa36cd4f4615a30bbcdb0429b7dc0b7430f SHA1 32ad1225f75741bdb533609eef9004f5941dd839 SHA256 af0d4f06a9c915ebb24d136adae1ab0d3525db2a2ccd247aff558b1358bf43a1
MD5 5db356dad10986a73f73a0335265ad92 metadata.xml 371
RMD160 8cd19aa36cd4f4615a30bbcdb0429b7dc0b7430f metadata.xml 371
SHA256 af0d4f06a9c915ebb24d136adae1ab0d3525db2a2ccd247aff558b1358bf43a1 metadata.xml 371
MD5 39af7074b023625d9a75730bd6932437 files/digest-nagios-plugins-1.3.1-r1 72
RMD160 ea83370c229608adcd49dc30702fbff952d14b70 files/digest-nagios-plugins-1.3.1-r1 72
SHA256 4a064169cf020cfdb47008c9a9e5feb6ad69aa91959d2205c244d95501b38a32 files/digest-nagios-plugins-1.3.1-r1 72
-MD5 639ea6f5791cdf3ad540489c66d1f356 files/digest-nagios-plugins-1.4 70
-RMD160 ca7d81aceac40553cedeadb082732d50eceea1d0 files/digest-nagios-plugins-1.4 70
-SHA256 363db88d71ec8451d53cc8410104c2e0688b29585d7356f56155858f5196d2f8 files/digest-nagios-plugins-1.4 70
-MD5 da07ad1aeef96a19b0a44da14dac23ca files/digest-nagios-plugins-1.4.1 72
-RMD160 2a1a0562f282b15a5ab5b1b01b6b3ed456a6fc04 files/digest-nagios-plugins-1.4.1 72
-SHA256 cdc55c6a044f580a9f791a5149f51afabfbc3ab46377d77adb008f5d16e3d752 files/digest-nagios-plugins-1.4.1 72
-MD5 64ead1ebbfd3bdb60ac19dc617dd96bf files/digest-nagios-plugins-1.4.2 72
-RMD160 a0abd1cb3e380f09c2aa9212df8843e11d69a192 files/digest-nagios-plugins-1.4.2 72
-SHA256 9c358ee8e4b9b2a914956fbbc2cd2a0e20ebbfa540317554aa4102132f1fcd76 files/digest-nagios-plugins-1.4.2 72
-MD5 64ead1ebbfd3bdb60ac19dc617dd96bf files/digest-nagios-plugins-1.4.2-r1 72
-RMD160 a0abd1cb3e380f09c2aa9212df8843e11d69a192 files/digest-nagios-plugins-1.4.2-r1 72
-SHA256 9c358ee8e4b9b2a914956fbbc2cd2a0e20ebbfa540317554aa4102132f1fcd76 files/digest-nagios-plugins-1.4.2-r1 72
-MD5 2684e00e63a5ff25efe54a69a32d4e27 files/digest-nagios-plugins-1.4.3 73
-RMD160 3bb6fbfff950b5a1899d5aef4adf12453aaa04f5 files/digest-nagios-plugins-1.4.3 73
-SHA256 70c87f9f6555f0c0d94ae83dacaf15e2ea24483a5bce30cb6bf1dcd33f2850f6 files/digest-nagios-plugins-1.4.3 73
+MD5 0ee9fbcb3ea5dd0aa52d78e7a94ffa5a files/digest-nagios-plugins-1.4 256
+RMD160 071957de72e4d957437194386d663a6d8e9d84e5 files/digest-nagios-plugins-1.4 256
+SHA256 4a729a255becef90bdc41a6679907c2d4931a2c793564c599c7dd9246ac3d0fa files/digest-nagios-plugins-1.4 256
+MD5 97e730aa41156bc2bd49ec79e44114a2 files/digest-nagios-plugins-1.4.1 262
+RMD160 7888a0c118872cd82ce4f954c62301aaadfe45b0 files/digest-nagios-plugins-1.4.1 262
+SHA256 5d60b904dcec0d98b93e033f152ad833554b4ac868d313b3b208300b85dc7a69 files/digest-nagios-plugins-1.4.1 262
+MD5 f9010211b0e43cb5f57ac0056c7d40bb files/digest-nagios-plugins-1.4.2 262
+RMD160 5c7abc2550ce37fd939e70a1120bba9a4dde916a files/digest-nagios-plugins-1.4.2 262
+SHA256 36a8c29ac7a540fbed42806003285c59585c88e3d994eba8f065788d84b51062 files/digest-nagios-plugins-1.4.2 262
+MD5 f9010211b0e43cb5f57ac0056c7d40bb files/digest-nagios-plugins-1.4.2-r1 262
+RMD160 5c7abc2550ce37fd939e70a1120bba9a4dde916a files/digest-nagios-plugins-1.4.2-r1 262
+SHA256 36a8c29ac7a540fbed42806003285c59585c88e3d994eba8f065788d84b51062 files/digest-nagios-plugins-1.4.2-r1 262
+MD5 14609c0043bbaa5758ec7e0d8b493852 files/digest-nagios-plugins-1.4.3-r1 265
+RMD160 99dbce32bafd79a2ac02e52eb46ddcc1d4cdb278 files/digest-nagios-plugins-1.4.3-r1 265
+SHA256 af133333dcdd11e4751e725017e70417f8a3b6201a675abe7a471695f6030601 files/digest-nagios-plugins-1.4.3-r1 265
diff --git a/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.3 b/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.3
deleted file mode 100644
index 3342a6b7ec82..000000000000
--- a/net-analyzer/nagios-plugins/files/digest-nagios-plugins-1.4.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2c40fc69d51cc979e85150870a1daa93 nagios-plugins-1.4.3.tar.gz 1257775
diff --git a/net-analyzer/nagios-plugins/nagios-plugins-1.4.3.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-1.4.3.ebuild
deleted file mode 100644
index 3cdc83708c92..000000000000
--- a/net-analyzer/nagios-plugins/nagios-plugins-1.4.3.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-plugins/nagios-plugins-1.4.3.ebuild,v 1.2 2006/05/15 23:52:12 robbat2 Exp $
-
-inherit eutils
-
-DESCRIPTION="Nagios $PV plugins - Pack of plugins to make Nagios work properly"
-HOMEPAGE="http://www.nagios.org/"
-SRC_URI="mirror://sourceforge/nagiosplug/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="ssl samba mysql postgres ldap snmp nagios-dns nagios-ntp nagios-ping
-nagios-ssh nagios-game ups ipv6 radius"
-
-DEPEND="ldap? ( >=net-nds/openldap-2.0.25 )
- mysql? ( >=dev-db/mysql-3.23.52-r1 )
- postgres? ( >=dev-db/postgresql-7.2 )
- ssl? ( >=dev-libs/openssl-0.9.6g )
- radius? ( >=net-dialup/radiusclient-0.3.2 )"
-
-RESTRICT="test"
-
-RDEPEND="${DEPEND}
- >=dev-lang/perl-5.6.1-r7
- samba? ( >=net-fs/samba-2.2.5-r1 )
- snmp? ( >=dev-perl/Net-SNMP-4.0.1-r1
- >=net-analyzer/net-snmp-5.0.6
- )
- mysql? ( dev-perl/DBI
- dev-perl/DBD-mysql )
- nagios-dns? ( >=net-dns/bind-tools-9.2.2_rc1 )
- nagios-ntp? ( >=net-misc/ntp-4.1.1a )
- nagios-ping? ( >=net-analyzer/fping-2.4_beta2-r1 )
- nagios-ssh? ( >=net-misc/openssh-3.5_p1 )
- ups? ( >=sys-power/nut-1.4 )
- !sparc? ( nagios-game? ( >=games-util/qstat-2.6 ) )"
-
-pkg_setup() {
- enewgroup nagios
- enewuser nagios -1 /bin/bash /dev/null nagios
-}
-
-src_unpack() {
- unpack ${A}
- if ! use radius; then
- EPATCH_OPTS="-p0 -d ${S}" epatch ${FILESDIR}/nagios-plugins-1.4-noradius.patch
- fi
- if ! use radius; then
- export WANT_AUTOCONF=2.58
- export WANT_AUTMAKE=1.8
- cd ${S}
- aclocal -I m4 || die "Failed to run aclocal"
- autoconf || die "Failed to run autoconf"
- automake || die "Failed to run automake"
- libtoolize --copy --force
- fi
-}
-
-src_compile() {
-
- econf \
- $(use_with mysql) \
- $(use_with postgres) \
- $(use_with ssl openssl) \
- $(use_with ipv6) \
- --host=${CHOST} \
- --prefix=/usr/nagios \
- --with-nagios-user=nagios \
- --sysconfdir=/etc/nagios \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man || die "econf failed"
-
- # fix problem with additional -
- sed -i -e 's:/bin/ps -axwo:/bin/ps axwo:g' config.h || die "sed failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- mv ${S}/contrib/check_compaq_insight.pl ${S}/contrib/check_compaq_insight.pl.msg
- chmod +x ${S}/contrib/*.pl
-
- sed -i -e '1s;#!.*;#!/usr/bin/perl -w;' ${S}/contrib/*.pl || die "sed failed"
- sed -i -e '30s/use lib utils.pm;/use utils;/' \
- ${S}/plugins-scripts/check_file_age.pl || die "sed failed"
-
- dodoc ABOUT-NLS ACKNOWLEDGEMENTS AUTHORS BUGS CHANGES CODING COPYING \
- Changelog FAQ INSTALL LEGAL NEWS README REQUIREMENTS SUPPORT
-
- make DESTDIR="${D}" install || die "make install failed"
-
- if use mysql || use postgres; then
- dodir /usr/nagios/libexec
- exeinto /usr/nagios/libexec
- doexe ${S}/contrib/check_nagios_db.pl
- fi
-
- dodir /usr/nagios/libexec/
- mv ${S}/contrib ${D}/usr/nagios/libexec/contrib
-
- chown -R nagios:nagios ${D}/usr/nagios/libexec || die "Failed Chown of ${D}usr/nagios/libexec"
-
- chmod -R o-rwx ${D}/usr/nagios/libexec || "Failed Chmod of ${D}usr/nagios/libexec"
-}
-
-pkg_postinst() {
- einfo "This ebuild has a number of USE flags which determines what nagios is able to monitor."
- einfo "Depending on what you want to monitor with nagios, some or all of these USE"
- einfo "flags need to be set for nagios to function correctly."
- echo
- einfo "contrib plugins are installed into /usr/nagios/libexec/contrib"
-}
-