parent
523db11adc
commit
07bfbb0ac1
@ -1,18 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST mktwpol-0.1.5.tar.gz 31101 SHA256 4ea6b935d0a8998f875657acabb06a75eadceaaf2ff054b211a9c18ee30f1939 SHA512 70d96cdba80f33921b108a66aad07dfa057f852adb3cf28c1acaeacd538591295274ab23b436551d3e71bfe20f3d42cf0bb4e8917cca6507c8b55fb91869ae61 WHIRLPOOL 43f0cf684cdfdda365aedf052346bacb587df8ad90a1e484462af8c1a1ad033ee4e6b204021c6302df6da43ead207169e70f1eb88aef8fd0cac6856efdd3017b
|
||||
EBUILD mktwpol-0.1.5.ebuild 1024 SHA256 8898b0b633ed554ac44afc7a8e8a0644177bb60668cd5bd989ede2dae370b5fc SHA512 54866c5f2a14c322287ece8d46a5916c29445da606d4ceaef38ed56485daa6f6173bd60b85cb719c70555fb234861c85ac5151a715de6846c917a93f45894dc6 WHIRLPOOL 8e106c00cc10da331d13a4fc2ead4c188e9de88d08422cce0b01b79e9da0eda4767c00dbcbaf5b8b5af7125b10d8dda9db302b67f79bffbf29d4f8e35bd2f517
|
||||
MISC ChangeLog 692 SHA256 c4198980217b1cc7cdc8f25ada9936f3dca9bcbd5263e5c248ec96bcf81e0175 SHA512 81f8e893088d4b701d8e351105e09387c2890721603286e8b34b1e2703217d88e05b4368b823777eac721a1d83e81cb7cd266e01c74d8ea157448920075daa5a WHIRLPOOL a89eb41ea61206ce0f1126b831dbc3b3fa815a2e649f75a4b733ecd4a4b9516bda105ebaa58cb98b44339fd5d1eb15f22cc5e2267b231b4d485873e1e06bd73a
|
||||
DIST mktwpol-0.2.0.tar.gz 41786 SHA256 f388d3c1a8d82e9612653ed1bc38ed548fae1f8c007476a86927ca478a31ad9f SHA512 66e8760763af033483eeb9a893ca3a7fa4f9f6edbe09b0b93981ec93515c8d7835654ce8dd4ab29b75e1c3e9c16151ceca670187375a1a897fb149dc27e80ef1 WHIRLPOOL 22eb74fce3996dd85e9a99268fbfc7af03c6997c4f36131d1a054ea65c4e7690ffb1185e85ff424304f875dec056ec146e34f989c53469149f4da0dc43378440
|
||||
EBUILD mktwpol-0.2.0.ebuild 901 SHA256 6df5ac79f3528338e93edac7998a3e9397dcf32e16843db4bb881c24ba7c4c47 SHA512 6190d98c45eb13a58bdf56928936bb07c0068200ac7d3182403d770af030f07723d5a6ca589825fa8be5d3a5e70dd6cb0ce84d342ae03e38a937aec042e02b6b WHIRLPOOL 9feb9e7ed0305277f862166063a8656af4469143442229190cdf842822aedefedede19fa9643b0b0f337daed5115d9e33dcc8e9017bf090e643b6e4919025c04
|
||||
MISC ChangeLog 892 SHA256 fb41cd3fd95c692e7e5f79f8749cd912cf0083b7c020b87c632c8855e24bee93 SHA512 d603ab2e264f477f62be67cb43acbe797ee10981750b7c53ea46dba759ef882f8fca8cdcfe2c0338fa4c25ea23e582578e704b49a208b8cbf12d018d6c741fd1 WHIRLPOOL 5b703e9791d5e2f589e132c81a76cbfcb23fb8ab2c633e0c49596b8cdb7700d6c7701853ad8d9212907b0aef60d87af14470424eb76b3dc82afd61189353b464
|
||||
MISC metadata.xml 1804 SHA256 433145b7f9667bcbbec605c9be947baccfcc496053ccb7d84a7eb234e8fbd901 SHA512 b384ca38b60c374f8b037b9221576ee6900ff98b75b87e60d60891ad1559e8e21e13d87c933469f6e3ec403598fbac3c0759b3432d3c49fb64b60d12c040333f WHIRLPOOL 8e92b73a583c53b7f1cba24fed57c7393e8c9e29085565ad8d00a7bdbf299a936d71a1644f9f75c79c2ef897aed9c6605d933f1ae576c10a807e78044587d95d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJSOX/zAAoJEA2sAkrWKOU2dCYH/3/VuHCjLjQpF2nB46M82RvU
|
||||
c2g3AQR+3kQ4Tjb4wIYPXNortm4LptYrhGLirsGH0qB94deRddG54iz9LUhvtw0X
|
||||
8Aq+F2axD03VfpEOTc09KaMYszyOIrOU88fATAUMMFbGdhvVd+jhyct6Xcf32VIO
|
||||
WWH3GkLl9ROPAJdn4gk8WfXbC4aZJI7or3ms8FjS64DA9q3BuwOeZuEIwrCo3pQU
|
||||
LqE788V7xmGSq4yRih+fJad/ZLD4pub1nDosdBFypHZC3tWuy3dxdVzrwQQpiZv2
|
||||
lcHAa+rpI+tpn0xJkbhA3lSRc9pxGvJtBYQWlO01Xef0PAFhDj7A3XNVe96sAGk=
|
||||
=Eck4
|
||||
iQEcBAEBCAAGBQJSQqAsAAoJEA2sAkrWKOU2xf0H/2shvAoAiX9LC/BeSWF5x63k
|
||||
LRkbCnoBsJofuAzzQsv3pcqrC/smKF8P3gypk4rdkWYzrNgQukiMQZXw5x8e8Rnh
|
||||
vvZKGcACr4SWNanVkCUofX1EkZxun7ua6tPmtywP3ANQf+vYEMnsZ/Fq2xwxhMjd
|
||||
JXB21I3jun24Czf0e8NmLWeVcXgL/vatI5RqffhaayX8/iLW3fG/ClNss6hpNxE8
|
||||
R/x8wtaJLzt7Md+/8H2HggP8u1FK0FEW1iTD9A4uqCmfKzhd+Y5ddy21fSeCXO/V
|
||||
Sfp3CxvkskZv9NVE62dLXNOwUKlc3X9RPGLj81JrFZgvonmioAh0CWcr5YKKhqY=
|
||||
=+DTh
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,27 +1,30 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX tripwire 466 SHA256 b6eb7eeedcdf70ae9ddba2f192efde2a169abbb95fc63f5151c2475376fcc066 SHA512 82390b290e8ff88f664dc593010e98201a9fc348bd9bf354fc56ea43283b0c162a1727694fd045ca8ffcfac4f8b4b2c41106e827facbfd1228203c9be9a6c63b WHIRLPOOL 8ca09be11cfbf4a2a4d78f8a3ed4aae133a7a002d55be5117769aa04de74bbfc1ad8a6b412017d1e0adf3c27f27431d6cc5c6e122a10510e07c0150cae72e2d2
|
||||
AUX tripwire-2.4.2.2-buildnum.patch 230 SHA256 820535353f2b0b4003929b7db4478412a4552fb69d11c46260d6d373faa98d53 SHA512 2b88c9366d2e922f8c18d128d92c2c8cdab2f8b5871d1666e27afabd0c5fc58bc218d662d9c71b64f93ce3ef238eee0a3ffb7b9bba227f2914ba72e680dbb360 WHIRLPOOL a8c7a65771840975c1bdcbe5355ef1c0200850ce6cf5189d02f2bcf2500c3ba08b5283bf17766a878f972b2d0047a0d82b3a3fca2ae386eb1c4ea57bbfca39ff
|
||||
AUX tripwire-2.4.2.2-fix-configure.patch 400 SHA256 424f2806f1dcdfdae945248127b9d699d59aed73c232a21abcde797e26337121 SHA512 d4e4964e6d61efe7181a71eef3447d1ce50cec9377c11bde52ce9a2926624e9a82821fc9426c9dbf5e6ccafb402b9494ec99a7172f75cfdf374a277b46f4a79b WHIRLPOOL 0eb027efa7029ba8dfd23afab852ee871411ad5a370e6257c2e2fbaa4192e21fff6691431e9f04d9560ccf9f8f00ed456bc74acbe017ed5244dfdbebf5de706a
|
||||
AUX tripwire-2.4.2.2-gcc-4.7.patch 790 SHA256 4d86f4db8361bec19cffef6986af68f61c4062e273ebd13f0f082bd513a2cacc SHA512 e05bbe96371e1c21a14ec72c6d2ced7a9f39da43cf8ac59c8ee6a8da58b86727d42e0311a8a924c39816cfdb8334f405543c77b423e7be47488e6a47a75c2ceb WHIRLPOOL 704099d31c20254da591dcca93591ddc262b6185a21c4945af6853cd510fb630c053379b123a713d6c550ab284f551c58553e1b1b846d34a5cde83c03dad8379
|
||||
AUX tripwire-2.4.2.2-twpol-GENERIC.patch 613 SHA256 714c235ed24704ae522e64b5aa1faf2a5bf861fd8562748c3c8d8165ac1ab080 SHA512 15551e6d9e0895e7a5c37d267e0de4b06ade55bba772ec18c4c7ebd19bc76ae6ae88d2ad62d8ab3f5dd4059c688d771253b285725159082844faee9ea4b1d53b WHIRLPOOL f7c9b019380231b26268b670ef58cc66a77367eb898ed0ca27d10820fd506db91afcefdc3d3957fc18d82bc7a458aa2226f0b90851d4015a318bfd3c62fe1a2c
|
||||
AUX tripwire.cron 315 SHA256 be7a322661616b558124d7c1124f742a20d9c83119648a1e1f83156015f634d0 SHA512 a4c0046135681d4cbb899d7bc40b7747d1e903f64d6c683aa6d7205a49deacdd5ee2da572ef4d99269dbf8a60a64be2d0b8ecd7385305ac9bc4d89bdae9c7977 WHIRLPOOL 3212d1d6240ef99f1b6046804979035ea5659d9329bb2c89e3a705c06658d7b3e67e4b517aa918d39fb2e9ae1c3e8b14087e01f772de125d24b4f5b973658aec
|
||||
AUX tripwire.txt 8401 SHA256 6fdb25e5f862eb1d68d3d30fda73613f57ad572a97e2914b3054c3422f9c263f SHA512 2b905a9bb446fa41bfd41ce240e4f956f42f408b8247ad7c7d62f9f7a4e407e77e6fb467432930f7c227f9b8e1d560ffb1902385946206e341f9e39fd62d6c5b WHIRLPOOL 026092664fe6ce0f1edcba4263f55926f483d5f028c5c1dc8bb28a927de0aff1f2ef54c8bb0f793ab1aa418a09e7c638df05f80f3e42ee5ab7ae0481eb333d3e
|
||||
AUX tripwire.txt 11492 SHA256 532a53633dca25ff96b13518e13c81744c191f4ec7ec28d46d8d865f74d77ee6 SHA512 ec53b2f71fb33f227628e1160a72fecf4a1aca7ee58b750945e7c0d0ce756a37666a02fe9e8ec235055fe6d28e1d20e77a449ae229f5d5d2349eaffe07827d47 WHIRLPOOL b00973d96255889bd8084c6f8d3a1718acb3bfdf41897b2de7839972fdf41f1146a6ed49ea9b999d060f75b13ed84b68123f1523fe5de8779d2c8a465c6e8960
|
||||
AUX twcfg.txt 604 SHA256 31d7d51cf90ee95627e27732524a3ba2b90f074ceda23d0035c52d2b02d90846 SHA512 c8a568638d5a18bb9508ee6f70aea815b8bfdb9efbf7823cdad59890a617bbe941454f6f4622e38e4ac4622e1d611c9fc085d73aec5a23b5c13ae7f1d783b388 WHIRLPOOL a290ac4d1e421890b99c9b4b78088a5ae5abd52d85c0e96e2398f89a97d8f0a2b958b3a7d0f1c8a2a7df0bc8e7cf8d71fbeb3d4557619f554a787d3718b4aa6e
|
||||
AUX twinstall.sh 10100 SHA256 edc9c96dee54c1564de52ca5e755bfdac42a35d5b821a97d4342d6121ffe433d SHA512 6cc728e87f45cec8459f948d9ac00a7c8b8520d8c4b77b3c65fce20818899c663763f8eb13da66bef56f047d58334a2c44ba8abb528ca8dbddf768dfc101725d WHIRLPOOL 9435b7eb226c14423387cd1e4b1f426f68a77fe5323046e7e8db86b47ad902a6192cf794e7b5c7a19bb8e81b38050546c30bcde54008afbfe44b5365c82cebc1
|
||||
DIST tripwire-2.4.2.2-src.tar.bz2 716616 SHA256 e09a7bdca9302e704cc62067399e0b584488f825b0e58c82ad6d54cd2e899fad SHA512 be39757aac7b74d4deac6c5048d0964d839a32f8f2a0d1878c4246888c4d59e35a503413595178c7af3a0da80725d0b36c21026dc734e1f760c9affda017bbbb WHIRLPOOL beb99e1ae055947a4b94a45f51492bcc453def5a41188f853ff3285a85ef8e2921274b86b095b77dbcdc8f549358f6216996a75ba391247e17bf7a29c78849c5
|
||||
DIST twpol.txt.gz 7586 SHA256 22a815584d8586dc5fd737749ca53435088d5867355bb6b73ec152b2ef53b5fe SHA512 70fd91a5b32d0a8f8272a0462e6e2af9090f8917de2f2c4357cc71e175d49bba5a64e40ab94ba12986ddeec6132f7cb3a034fb665fa43b8377b548ba877e478e WHIRLPOOL de7ad93c1927c2cd4d7be35668bdfcce6055e8cfadf1e76425b8e62b7847c6c139aaff54b0c5b874d506cb0ef3a8c5e125adf7391bcc6b0aebd84ea9c93713ab
|
||||
EBUILD tripwire-2.4.2.2-r1.ebuild 2381 SHA256 79be65afd466c3a1577f865f1385c5545916623dc7d75c35dd3f2f50486fb3ee SHA512 35dff5bb072bd78968bddfa0eb5db8cdd39a46607ea1dbc194a87ef5019c22984a28bb8a7cfdf15c621acb0e2daf6f40498bb272a8da302543eaa87f5396b975 WHIRLPOOL 9b5831a688fc523ed53658abcdcc153d3f90e3255812d6a837169946485f78c1337ea6ce6776824e792b8280044070a2fd1b2050ccc773bc22ead4aa1d3eac99
|
||||
EBUILD tripwire-2.4.2.2-r2.ebuild 2532 SHA256 42e6ce53633dd981c7421a264665d7c02691eaadba1d874eba0c874a2a958444 SHA512 80d0debf47ecb1c1aa6acdbabd1f769a8fdf02690e4bb2a4f58f5c49ce2224d51b50c0cc10ba283601e80a17086f0a7433fb88b2d8f2e426b95c9984affc6b8d WHIRLPOOL e058c5baeb4b164434ddaf9273614489a2fc97e26064ef662fe4c4ef2a25d93c5045ca8a58cc8acbddf46c66fbebee73476f5ef1d7de9441d79bc03ab6f2a573
|
||||
EBUILD tripwire-2.4.2.2.ebuild 2335 SHA256 e6efe3768196fbdfb1493c57811bfa2cd5432cfd6b24ce18a040011711df5597 SHA512 92f3fa637d4d88b0f547b530fe8b5247667a0381031e1db003730bd38b33cb98ef3804dc13f2a99599e0ddb94ffb4a1e6a981d9bbf224b70a1198327b3294267 WHIRLPOOL 66e45daa633d302e05d75dee71dd00a9e78f32c1ade62fefd51a57768a7f90d8019b1670f5ea0a68185bf8f3dbad6ca1574b6f81c6724e4c6b292180cc453285
|
||||
MISC ChangeLog 8731 SHA256 135992cd50819fc4768a968200fe4a5caf5bc5a96897ff7b4a1b3ef6853f2ac3 SHA512 072ee41b60fc7e8ef4b200e0d4e693c9fdf7cb2fd3c6c2a49a924d3b5346d3ceaa31a2bfa8f65d316c1e947d32256060aa320d9859143d9a960b747a6c7f2d3e WHIRLPOOL aea8e02ea3708a461c398a711314d347aace2d9faed42bac1b780a0aca5ee0865d44fd25aeac5b04339352dfbcaa03638a927d3ddba7779c9a1031fa9a84a94f
|
||||
MISC metadata.xml 1250 SHA256 e3e05bfb67d14433daa80421f303882100e792cd4d93e12ac283d934fadb9b4a SHA512 ba633655658888cefe688560581bcfc9cd0cb92f072c05a4e510e143aa86f299e2b094690c37787a05f4bc15957cdc0833438ebca928cef1a96e14048b21d6f9 WHIRLPOOL 016140bbdbfc0b45c09adb30d54769da3087cf0168710306aaae34ba87a9b01d9135810f0d08edcf4760ce801b2519133ce3f38990469a11ae15be4ff8e3875e
|
||||
MISC ChangeLog 9054 SHA256 6177f32b882581f166ccb7fbbbad2eb173b303390d9cc4b30dde771772d0fc6d SHA512 7d9e902bf217711791c246e9b4529ee3465e3e73877349f04ea7d308078ff23b7d19797ae959f51b9d3b8af5a8ee31de9dcdfe34f3a2d211233d187a1ff6a820 WHIRLPOOL 11e2f56e90f8050700f2d0bf2751a2de62e95c4d0086fa8bc8c8d40143166e4b1b5de8ab3730445ba41ebb9c22db1fdadee5d89f61a5ced6dbe5830823c3fdcd
|
||||
MISC metadata.xml 1389 SHA256 eb082326672693e86d883ebbd02b0e71f963084a31ecf710bc4cd702e38636f3 SHA512 884ebda129ba69d3bccf3d066ceb300788731e2c9456492e725cd31549cb3d49d55fca4a38f5e1d4a41953e42a0b443c49f7f505b8bcd38ddfd223221e11b49e WHIRLPOOL ac9565917ddf69698f463f8a7a17868bc61b65ee1b019084cf8edb6e8028d0ec5b9223f15b168a9a584bba43927f8185f0013b83e4b28ebe91b543a7f9bc2654
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJSJgC8AAoJEA2sAkrWKOU2Zl8H/iiGUjVT1WsChMrSnkgcK0cy
|
||||
K8qDfgpLyfU9GCf9Mgy4rjMHvb0WK32eEkngFhd4roIVKe6C+Px2m/+j/IlHHbXz
|
||||
PN5wNp/0XFrVAitPUXNIWT3nAAtUfqC0R9TFTybql07JpfHivq/b4cvy3agVTAAp
|
||||
R5iLt7IF94dMhwM7Fn2nVu1H6iu8pnZ9baF5LH+6NLPFHfVWi8Jwc/HAPbKYjDOy
|
||||
RIDQbGpJ2DwXt78PSVrHx6ZrikCcpUzqS+y0l5cecwIn4tE6vaFgLJq52TYpcOVW
|
||||
s+/vgcgo39XLXGZoZMENRtIIhNrGqsGamwylJXkUfxsX4Dkq0etxs2xXUdls12g=
|
||||
=P0ru
|
||||
iQEcBAEBCAAGBQJSQqL7AAoJEA2sAkrWKOU2EHAH/2rnsXrkTbeukM+6AiaX86Iy
|
||||
KK0FsIbx2+wRjE2TR0PoL3CAQUCdl1X2LYjSNXb904c/xRzH0S8r7JEUgXzHnxKv
|
||||
yBkc0ClJFnXYy4U4cVex1hHt4XjMI8oGX0PVFfW3KwnqvOfk5yY21DccJ6ryHl4W
|
||||
XaBtYL54PiWVLbnjp0ObJgWLuf4gF2k9jMcrP+/zylRw4EJg3zb/J8ZNufTPd97r
|
||||
QVTdUZ0at5SE1PZUg0m2eX4wOyLwgKeIinUC9/dpCnv3owsII8plmn8EtnbZaEKO
|
||||
OExiL0W32LEMmX2sO6gOQ390ZKJmBU55FW5da224KSq7HSJs4OSgS0bybsa3gHo=
|
||||
=8ndV
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
HOST_NAME=`uname -n`
|
||||
if [ ! -e /var/lib/tripwire/${HOST_NAME}.twd ] ; then
|
||||
echo "**** Error: Tripwire database for ${HOST_NAME} not found. ****"
|
||||
echo "**** Check tripwire.txt file for instructions or install ****"
|
||||
echo "**** app-admin/mktwpol package (if you used the \"setup\" ****"
|
||||
echo "**** USE flag, this has been done for you already. ****"
|
||||
else
|
||||
test -f /etc/tripwire/tw.cfg && /usr/sbin/tripwire --check --quiet
|
||||
fi
|
@ -0,0 +1,25 @@
|
||||
--- a/policy/twpol-GENERIC.txt 2011-11-21 11:06:56.000000000 -0500
|
||||
+++ b/policy/twpol-GENERIC.txt 2013-09-11 08:13:34.000000000 -0400
|
||||
@@ -55,14 +55,14 @@
|
||||
##############################################################################
|
||||
|
||||
@@section GLOBAL
|
||||
-TWROOT=;
|
||||
-TWBIN=;
|
||||
-TWPOL=;
|
||||
-TWDB=;
|
||||
-TWSKEY=;
|
||||
-TWLKEY=;
|
||||
-TWREPORT=;
|
||||
-HOSTNAME=;
|
||||
+#TWROOT=;
|
||||
+TWBIN=/usr/sbin;
|
||||
+TWPOL=/etc/tripwire;
|
||||
+TWDB=/var/lib/tripwire/YOUR_HOSTNAME.twd;
|
||||
+TWSKEY=/etc/tripwire;
|
||||
+TWLKEY=/etc/tripwire;
|
||||
+TWREPORT=/var/lib/tripwire/report;
|
||||
+#HOSTNAME=;
|
||||
|
||||
@@section FS
|
||||
SEC_CRIT = $(IgnoreNone)-SHa ; # Critical files that cannot change
|
@ -1,82 +1,272 @@
|
||||
Introduction
|
||||
Tripwire v2.3 software ensures the integrity of critical system files and directories by identifying all changes made to specified system files and directories. Configure Tripwire software to monitor your system in the way that is best for you.
|
||||
tripwire.txt v. 11 Sept 2013
|
||||
|
||||
Tripwire software works by comparing files and directories against a baseline. It generates the baseline by taking a "snapshot" of specified files and directories in a known secure state. Tripwire software then compares the current system against the baseline and reports any modifications, additions, or deletions. Use Tripwire software for system security, intrusion detection, damage assessment, and recovery forensics.
|
||||
Introduction to Tripwire, with Gentoo-specific installation information
|
||||
|
||||
To install Tripwire v2.3
|
||||
1. Locate the RPM directory on the CD.
|
||||
2. Locate the Tripwire RPM.
|
||||
3. Type rpm -i "name"
|
||||
4. After installing the Tripwire binary RPM, follow these Post-Installation instructions.
|
||||
5. We recommend you read the Release Notes and README file.
|
||||
Tripwire software can monitor the integrity of critical system files and
|
||||
directories by identifying specified changes made to selected system
|
||||
files and directories. Configure Tripwire software to monitor your
|
||||
system in the way that is best for you.
|
||||
|
||||
Post-Installation Instructions
|
||||
The Tripwire binary RPM installs the basic program files needed to run the software. However, this installation does not complete custom configurations that Tripwire 2.3 needs to perform correctly. After you unpack the RPM, you must:
|
||||
1. Run the configuration script: /etc/tripwire/twinstall.sh to sign these files. This script walks you through the processes of setting passphrases and signing the Tripwire policy and configuration files.
|
||||
Note: Once encoded and signed, the configuration file should not be renamed or moved.
|
||||
2. Initialize the Tripwire database file. (/usr/sbin/tripwire--init)
|
||||
3. Run the first integrity check. (/usr/sbin/tripwire--check)
|
||||
4. Edit the configuration file (twcfg.txt) with a text editor, if desired.
|
||||
5. Edit the policy file (twpol.txt) with a text editor, if desired.
|
||||
Tripwire software works by comparing files and directories against a
|
||||
defined baseline, stored in a tripwire-created database. Tripwire
|
||||
generates the baseline by taking a "snapshot" of specified files and
|
||||
directories. Tripwire software then compares the current system against
|
||||
the baseline and reports modifications, additions, or deletions. Use
|
||||
Tripwire software for system security, intrusion detection, damage
|
||||
assessment, and recovery forensics.
|
||||
|
||||
Note: If you plan to modify the policy file, we recommend you do so before running the configuration script. If you modify the policy file after running the configuration script, you must re-run the configuration file before initializing the database file.
|
||||
|
||||
To set-up Tripwire Configuration
|
||||
|
||||
The Tripwire tarball installs the basic program files needed to run the
|
||||
software. However, this installation does not prepare the configuration
|
||||
files that Tripwire needs to perform correctly. After you install the
|
||||
tripwire executable files and example configuration, you must:
|
||||
|
||||
1. Review and perhaps edit the plain-text tripwire configuration file
|
||||
(/etc/tripwire/twcfg.txt) with a text editor, if desired.
|
||||
|
||||
2. Either run a configuration script (twsetup.sh from Gentoo's mktwpol
|
||||
package, or tripwire-setup-keyfiles from Red Hat, or deprecated
|
||||
twinstall.sh, also from Red Hat), or run the program `twadmin` with
|
||||
the correct command line switches to make key files and encrypt/sign
|
||||
the tripwire configuration file.
|
||||
|
||||
Make site key file
|
||||
------------------
|
||||
`twadmin --generate-keys -S /etc/tripwire/site.key`
|
||||
|
||||
Make local key file
|
||||
-------------------
|
||||
`twadmin --generate-keys -L /etc/tripwire/$HOSTNAME-local.key`
|
||||
|
||||
Make mandatory signed tripwire configuration file (tw.cfg)
|
||||
----------------------------------------------------------
|
||||
`twadmin --create-cfgfile -S /etc/tripwire/site.key /etc/tripwire/twcfg.txt`
|
||||
|
||||
Note: Once encrypted/signed, the configuration file, tw.cfg, must not be
|
||||
renamed or moved. The plain-text tripwire configuration file (twcfg.txt)
|
||||
should be deleted. It can be recreated with `twadmin --print-cfgfile`
|
||||
|
||||
3. Make a plain-text policy file. The use of the name twpol.txt is
|
||||
common, but the name of this file is not defined or used by Tripwire,
|
||||
other than preparation of the encrypted/signed policy file.
|
||||
|
||||
To make the plain-text policy file, either run a policy file generator
|
||||
(for example, mktwpol.sh from Gentoo's mktwpol package), or edit the
|
||||
plain-text policy file (twpol-GENERIC.txt, or twpol.txt, or similar)
|
||||
with a text editor. The plain-text policy file should not refer to
|
||||
any non-existent file or directory.
|
||||
|
||||
If you edit twpol-GENERIC.txt to act as your plain-text policy file,
|
||||
provide your system's HOSTNAME at line 61. If you don't provide
|
||||
the correct HOSTNAME, a tripwire inspection of the target computer's
|
||||
filesystem will fail to check the tripwire database file for changes.
|
||||
|
||||
TWDB=/var/lib/tripwire/YOUR_HOSTNAME.twd;
|
||||
|
||||
4. Convert the plain-text policy file into the encrypted/signed form
|
||||
that tripwire will refer to as it examines the files on the target
|
||||
computer's filesystem. The default filename for the encrypted/signed
|
||||
policy file is defined in the tripwire configuration file (tw.cfg)
|
||||
and is usually tw.pol. The encryption/signing of plain-text twpol.txt
|
||||
is done with yet another `twadmin` command line.
|
||||
|
||||
Make mandatory encrypted/signed system inspection policy file
|
||||
--------------------------------------------------------------
|
||||
`twadmin -m P -c /etc/tripwire/tw.cfg /etc/tripwire/twpol.txt`
|
||||
|
||||
Note: If you modify the plain-text policy file after running the
|
||||
configuration script, you must re-sign the plain-text policy file before
|
||||
initializing the database file. Tripwire baseline database creation and
|
||||
inspections refer to the encrypted/signed policy file, not to the
|
||||
plain-text policy file.
|
||||
|
||||
Note: The plain-text tripwire policy file (twpol.txt) should be deleted.
|
||||
It can be recreated with `twadmin --print-polfile`
|
||||
|
||||
5. Initialize the Tripwire database file.
|
||||
|
||||
Record current file attributes in the tripwire database
|
||||
-------------------------------------------------------
|
||||
`tripwire --init -c /etc/tripwire/tw.cfg`
|
||||
|
||||
Note: Tripwire might issue some "Warning: File system error" errors,
|
||||
and appear to hang. But as long as it follows with "### Continuing...",
|
||||
it is still working.
|
||||
|
||||
6. Run the first integrity check.
|
||||
|
||||
`tripwire --check -c /etc/tripwire/tw.cfg`
|
||||
|
||||
Note: The use of "-c /etc/tripwire/tw.cfg" is not required if Tripwire
|
||||
uses the default tripwire configuration directory and file names. If
|
||||
you defer to tripwire default filenames, then updating a text policy
|
||||
file into a tripwire database, and running an integrity check, can be
|
||||
done with these commands:
|
||||
|
||||
`twadmin --create-polfile /etc/tripwire/twpol.txt`
|
||||
`tripwire --init`
|
||||
`tripwire --check`
|
||||
|
||||
Modifying the Policy File
|
||||
You can specify how Tripwire software checks your system in the Tripwire policy file (twpol.txt). A default policy file is included in the Tripwire software installation. We recommend you tailor this policy file to fit your particular system. Tailoring the policy file greatly increases Tripwire software's ability to ensure the integrity of your system.
|
||||
|
||||
Locate the default policy file at /etc/tripwire/twpol.txt. An example policy file (located at /usr/doc/tripwire-VER#-REL#/policyguide.txt) is included to help you learn the policy language. Read the sample policy file and the comments in the sample policy file to learn the policy language.
|
||||
How Tripwire software checks your system is specified in the Tripwire
|
||||
plain-text policy file (twpol.txt). A default policy file is included in
|
||||
the Tripwire software installation. This policy file should be tailored
|
||||
to fit your particular system. Tailoring the policy file is necessary
|
||||
to take advantage of Tripwire software's ability to monitor changes on
|
||||
your system.
|
||||
|
||||
The plain-text policy file is usually located at /etc/tripwire/twpol.txt.
|
||||
An example policy file (located at /etc/tripwire/twpol-GENERIC.txt, or
|
||||
at /usr/share/doc/tripwire-VER#-REL#/policyguide.txt) is included to
|
||||
help you learn the policy language. Read the sample policy files and
|
||||
the comments in the sample policy file to learn the policy language.
|
||||
|
||||
After you modify the plain-text policy file, don't forget!
|
||||
|
||||
encrypt/sign using `twadmin --create-polfile /etc/tripwire/twpol.txt`
|
||||
|
||||
After you modify the policy file, follow the Post-Installation Instructions (run the configuration script). This script signs the modified policy file and renames it to tw.pol. This is the active policy file that runs as part of the Tripwire software.
|
||||
|
||||
Selecting Passphrases
|
||||
Tripwire files are signed or encrypted using site or local keys. These keys are protected by passphrases. When selecting passphrases, the following recommendations apply:
|
||||
Use at least eight alphanumeric and symbolic characters for each passphrase. The maximum length of a passphrase is 1023 characters. Quotes should not be used as passphrase characters.
|
||||
|
||||
Assign a unique passphrase for the site key. The site key passphrase protects the site key, which is used to sign Tripwire software configuration and policy files. Assign a unique passphrase for the local key. The local key signs Tripwire database files. The local key may sign the Tripwire report files also.
|
||||
Tripwire files are encrypted/signed using site or local keys. These keys
|
||||
are protected by passphrases. When selecting passphrases, the following
|
||||
recommendations apply:
|
||||
|
||||
Use at least eight alphanumeric and symbolic characters for each
|
||||
passphrase. The maximum length of a passphrase is 1023 characters.
|
||||
Quotes should not be used as passphrase characters.
|
||||
|
||||
Store the passphrases in a secure location. There is no way to remove encryption from a signed file if you forget your passphrase. If you forget the passphrases, the files are unusable. In that case you must reinitialize the baseline database.
|
||||
Assign a unique passphrase for the site key. The site key passphrase
|
||||
protects the site key, which is used to sign Tripwire software
|
||||
configuration and policy files. Assign a unique passphrase for the local
|
||||
key. The local key signs the Tripwire baseline database file. The local
|
||||
key may sign the Tripwire report files also.
|
||||
|
||||
Store the passphrases in a secure location. There is no way to remove
|
||||
encryption from a signed file if you forget your passphrase and lost the
|
||||
key files. If you forget the passphrases, the files are unusable. In
|
||||
that case you must create new key files and the baseline database.
|
||||
|
||||
|
||||
Initializing the Database
|
||||
|
||||
In Database Initialization mode, Tripwire software builds a database of
|
||||
filesystem objects based on the rules in the policy file. This database
|
||||
serves as the baseline for integrity checks. The syntax for Database
|
||||
Initialization mode is:
|
||||
|
||||
`tripwire --init -c /etc/tripwire/tw.cfg`
|
||||
|
||||
Initializing the Database
|
||||
In Database Initialization mode, Tripwire software builds a database of filesystem objects based on the rules in the policy file. This database serves as the baseline for integrity checks. The syntax for Database Initialization mode is:
|
||||
tripwire --init
|
||||
|
||||
Running an Integrity Check
|
||||
The Integrity Check mode compares the current file system objects with their properties recorded in the Tripwire database. Violations are printed to stdout. The report file is saved and can later be accessed by twprint. An email option enables you to send email. The syntax for Integrity Check mode is:
|
||||
tripwire --check
|
||||
|
||||
The Integrity Check mode compares the current file system objects with
|
||||
their properties recorded in the Tripwire database. Violations are
|
||||
printed to stdout. The report file is saved and can later be accessed by
|
||||
twprint. An email option enables you to send email. The syntax for
|
||||
Integrity Check mode is:
|
||||
|
||||
`tripwire --check -c /etc/tripwire/tw.cfg`
|
||||
|
||||
|
||||
Printing Reports - twprint Print Report Mode
|
||||
The twprint --print-report mode prints the contents of a Tripwire report. If you do not specify a report with the --twrfile or -r command-line argument, the default report file specified by the configuration file REPORTFILE variable is used.
|
||||
Example: On a machine named LIGHTHOUSE, the command would be:
|
||||
./twprint -m r --twrfile LIGHTHOUSE-19990622-021212.twr
|
||||
|
||||
The twprint --print-report mode prints the contents of a Tripwire
|
||||
report. If you do not specify a report with the --twrfile or -r
|
||||
command-line argument, the default report file specified by the
|
||||
configuration file REPORTFILE variable is used.
|
||||
|
||||
Example: On a machine named LIGHTHOUSE, the command could be:
|
||||
|
||||
`twprint -m r --twrfile LIGHTHOUSE-19990622-021212.twr`
|
||||
|
||||
|
||||
Updating the Database after an Integrity Check
|
||||
Database Update mode enables you to update the Tripwire database after an integrity check if you determine that the violations discovered are valid. This update process saves time by enabling you to update the database without having to re-initialize it. It also enables selective updating, which cannot be done through re-initialization. The syntax for Database Update mode is:
|
||||
tripwire --update
|
||||
|
||||
Database Update mode enables you to update the Tripwire database after
|
||||
an integrity check if you determine that the violations discovered are
|
||||
valid. This update process saves time by enabling you to update the
|
||||
database without having to re-initialize it. It also enables selective
|
||||
updating, which cannot be done through re-initialization. The syntax for
|
||||
Database Update mode is:
|
||||
|
||||
`tripwire --update`
|
||||
|
||||
|
||||
Updating the Policy File
|
||||
Change the way that Tripwire software scans the system by changing the rules in the policy file. You can then update the database without a complete re-initialization. This saves a significant amount of time and preserves security by keeping the policy file synchronized with the database it uses. The syntax for Policy Update mode is:
|
||||
tripwire --update-policy
|
||||
|
||||
Change the way that Tripwire software scans the system by changing the
|
||||
rules in the policy file. You can then update the database without a
|
||||
complete re-initialization. This saves a significant amount of time and
|
||||
preserves security by keeping the policy file synchronized with the
|
||||
database it uses. The syntax for Policy Update mode is:
|
||||
|
||||
`tripwire --update-policy`
|
||||
|
||||
|
||||
Testing email functions
|
||||
Test mode tests the software's email notification system, using the settings currently specified in the configuration file. The syntax for Email Test Reporting mode is:
|
||||
tripwire --test
|
||||
|
||||
Test mode tests the software's email notification system, using the
|
||||
settings currently specified in the configuration file. The syntax for
|
||||
Email Test Reporting mode is:
|
||||
|
||||
`tripwire --test`
|
||||
|
||||
|
||||
Tripwire Components
|
||||
The policy file begins as a text file containing comments, rules, directives, and variables. These dictate the way Tripwire software checks your system. Each rule in the policy file specifies a system object to be monitored. Rules also describe which changes to the object to report, and which to ignore.
|
||||
|
||||
System objects are the files and directories you wish to monitor. Each object is identified by an object name. A property refers to a single characteristic of an object that Tripwire software can monitor. Directives control conditional processing of sets of rules in a policy file. During installation, the text policy file is encrypted and renamed, and becomes the active policy file.
|
||||
The policy file begins as a text file containing comments, rules,
|
||||
directives, and variables. These dictate the way Tripwire software
|
||||
checks your system. Each rule in the policy file specifies a system
|
||||
object to be monitored. Rules also describe which changes to the object
|
||||
to report, and which to ignore.
|
||||
|
||||
The database file is an important component of Tripwire software. When first installed, Tripwire software uses the policy file rules to create the database file. The database file is a baseline "snapshot" of the system in a known secure state. Tripwire software compares this baseline against the current system to determine what changes have occurred. This is an integrity check.
|
||||
System objects are the files and directories you wish to monitor. Each
|
||||
object is identified by an object name. A property refers to a single
|
||||
characteristic of an object that Tripwire software can monitor.
|
||||
Directives control conditional processing of sets of rules in a policy
|
||||
file. During installation, the text policy file is encrypted/signed and
|
||||
renamed, and becomes the active policy file.
|
||||
|
||||
When you perform an integrity check, Tripwire software produces report files. Report files summarize any changes that violated the policy file rules during the integrity check. You can view the report file in a variety of formats, at varying levels of detail.
|
||||
The database file is an important component of Tripwire software. When
|
||||
first installed, Tripwire software uses the policy file rules to create
|
||||
the database file. The database file is a baseline "snapshot" of the
|
||||
system in a known secure state. Tripwire software compares this baseline
|
||||
against the current system to determine what changes have occurred. This
|
||||
is an integrity check.
|
||||
|
||||
When you perform an integrity check, Tripwire software produces report
|
||||
files. Report files summarize any changes that violated the policy file
|
||||
rules during the integrity check. You can view the report file in a
|
||||
variety of formats, at varying levels of detail.
|
||||
|
||||
The Tripwire configuration file stores system-specific information, such
|
||||
as the location of Tripwire data files. Tripwire software generates some
|
||||
of the configuration file information during installation. The system
|
||||
administrator can change parameters in the configuration file at any
|
||||
time. The configuration file variables POLFILE, DBFILE, REPORTFILE,
|
||||
SITEKEYFILE, and LOCALKEYFILE specify where the policy file, database
|
||||
file, report files, and site and local key files reside. These variables
|
||||
must be defined or the configuration file is invalid. If any of these
|
||||
variables are undefined, an error occurs on execution of Tripwire
|
||||
software and the program exits.
|
||||
|
||||
The Tripwire configuration file stores system-specific information, such as the location of Tripwire data files. Tripwire software generates some of the configuration file information during installation. The system administrator can change parameters in the configuration file at any time. The configuration file variables POLFILE, DBFILE, REPORTFILE, SITEKEYFILE, and LOCALKEYFILE specify where the policy file, database file, report files, and site and local key files reside. These variables must be defined or the configuration file is invalid. If any of these variables are undefined, an error occurs on execution of Tripwire software and the program exits.
|
||||
|
||||
Tripwire Help
|
||||
All Tripwire commands support the help arguments. Example: To get help with Create Configuration File mode, type: ./twadmin --help --create-cfgfile
|
||||
|
||||
-? Display usage and version information
|
||||
--help Display all command modes
|
||||
--help all Display help for all command modes
|
||||
--help [mode] Display help for current command mode
|
||||
--version Display version information
|
||||
All Tripwire commands support the help arguments.
|
||||
|
||||
Example: To get help with Create Configuration File mode, type:
|
||||
|
||||
`twadmin --help --create-cfgfile`
|
||||
|
||||
-? Display usage and version information
|
||||
--help Display all command modes
|
||||
--help all Display help for all command modes
|
||||
--help [mode] Display help for current command mode
|
||||
--version Display version information
|
||||
|
||||
We recommend you read the Tripwire Release Notes and README file.
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/tripwire/tripwire-2.4.2.2-r2.ebuild,v 1.1 2013/09/25 08:45:54 nimiux Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Open Source File Integrity Checker and IDS"
|
||||
HOMEPAGE="http://www.tripwire.org/"
|
||||
SRC_URI="mirror://sourceforge/tripwire/tripwire-${PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="ssl static setup"
|
||||
|
||||
DEPEND="sys-devel/automake
|
||||
sys-devel/autoconf
|
||||
ssl? ( dev-libs/openssl )"
|
||||
RDEPEND="virtual/cron
|
||||
virtual/mta
|
||||
ssl? ( dev-libs/openssl )"
|
||||
PDEPEND="setup? ( app-admin/mktwpol )"
|
||||
|
||||
S="${WORKDIR}"/tripwire-"${PV}"-src
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/"${P}"-fix-configure.patch
|
||||
epatch "${FILESDIR}"/"${P}"-buildnum.patch
|
||||
epatch "${FILESDIR}"/"${P}"-gcc-4.7.patch
|
||||
epatch "${FILESDIR}"/"${P}"-twpol-GENERIC.patch
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# tripwire can be sensitive to compiler optimisation.
|
||||
# see #32613, #45823, and others.
|
||||
# -taviso@gentoo.org
|
||||
strip-flags
|
||||
append-cppflags -DCONFIG_DIR='"\"/etc/tripwire\""' -fno-strict-aliasing
|
||||
econf $(use_enable ssl openssl) $(use_enable static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin "${S}"/bin/{siggen,tripwire,twadmin,twprint}
|
||||
doman "${S}"/man/man{4/*.4,5/*.5,8/*.8}
|
||||
dodir /etc/tripwire /var/lib/tripwire{,/report}
|
||||
keepdir /var/lib/tripwire{,/report}
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
doexe "${FILESDIR}"/tripwire
|
||||
|
||||
dodoc ChangeLog policy/policyguide.txt TRADEMARK \
|
||||
"${FILESDIR}"/tripwire.txt
|
||||
|
||||
insinto /etc/tripwire
|
||||
doins "${FILESDIR}"/twcfg.txt policy/twpol-GENERIC.txt
|
||||
|
||||
fperms 750 /etc/cron.daily/tripwire
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "Tripwire needs to be configured before its first run. You can"
|
||||
elog "do this by manually editing the twpol-GENERIC.txt file shipped with"
|
||||
elog "the package to suit your needs. A quickstart guide is provided"
|
||||
elog "in tripwire.txt file to help you with this."
|
||||
elog "To configure tripwire automatically, you can use the twsetup.sh"
|
||||
elog "script provided by the app-admin/mktwpol package. This package is"
|
||||
elog "installed for you if you append \"setup\" to your USE flags."
|
||||
else
|
||||
elog "Maintenance of tripwire policy files as packages are added"
|
||||
elog "and deleted from your system can be automated by the mktwpol.sh"
|
||||
elog "script provided by the app-admin/mktwpol package. This package"
|
||||
elog "is installed for you if you append \"setup\" to your USE flags"
|
||||
fi
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-28.0.ebuild,v 1.1 2013/09/25 07:07:59 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
VALA_MIN_API_VERSION="0.16"
|
||||
|
||||
inherit eutils gnome2 vala
|
||||
|
||||
DESCRIPTION="Simple backup tool using duplicity back-end"
|
||||
HOMEPAGE="https://launchpad.net/deja-dup/"
|
||||
SRC_URI="http://launchpad.net/${PN}/28/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nautilus"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/libsecret[vala]
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpeas
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
|
||||
>=app-backup/duplicity-0.6.21
|
||||
dev-libs/dbus-glib
|
||||
|
||||
nautilus? ( gnome-base/nautilus )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/dconf
|
||||
gnome-base/gvfs[fuse]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
$(vala_depend)
|
||||
dev-perl/Locale-gettext
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
DOCS="NEWS AUTHORS"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_with nautilus)
|
||||
--without-ccpanel
|
||||
--without-unity
|
||||
--disable-schemas-compile
|
||||
--disable-static"
|
||||
|
||||
vala_src_prepare
|
||||
gnome2_src_prepare
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
# ChangeLog for app-emulation/docker
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/ChangeLog,v 1.1 2013/09/25 03:22:15 gregkh Exp $
|
||||
|
||||
*docker-0.6.3 (25 Sep 2013)
|
||||
|
||||
25 Sep 2013; Greg Kroah-Hartman <gregkh@gentoo.org> +docker-0.6.3.ebuild,
|
||||
+files/docker-r2.confd, +files/docker-r2.initd, +files/docker.initd,
|
||||
+files/docker.service, +metadata.xml:
|
||||
initial docker ebuild taken (with permission) from git@github.com:tianon
|
||||
/docker-overlay.git
|
@ -0,0 +1,7 @@
|
||||
AUX docker-r2.confd 581 SHA256 94e1c07b09701f3b0b1c4f6f917206da3b32f8d7e961c3850c4391ebd59df0b4 SHA512 5838270ff9ce7b9a562b2449ba5f4ad72db956dd03f6a1b006c8019ff43fea1c4ae1e2a4818fb092b6096cff6bd9ce539b05b7940412c55b3bb3e30c356da944 WHIRLPOOL a8e3759b6c86855afa7e784d50a7926fc888d50ec03dc2d9dcd70c3f2dd11caf6670196d91f383cab1d603f32a968bed4b3a0668ec1a38d41dc1142ec92235cc
|
||||
AUX docker-r2.initd 1767 SHA256 0cb83137cf3d37aadf450dd30ec9e0ceca3d865867f7fe64a43a1d5f42d2ecf8 SHA512 1250f8b16ded27877cf2759fca1d69f37ce308d4d5e5a29438210e847894617fa088260b0cfd87e1ee65ed26a4293d98c79462c1ccc93aac14203fbfed4b69a2 WHIRLPOOL 272f04feb587a0f91079f41ad90868f99c28a21a5ec35876f38dbbd342a53796dd4ec822fa2cd3506f22485b6a0147d24da2e7ab89da7875f84e3e9fab50c3c8
|
||||
AUX docker.initd 881 SHA256 c9ac677a9a4a8f3dd74fa79b458b06cf10760bc5df44f14067dd34da78b1dcd7 SHA512 ffa6893b3d9e001c1938e917db91d60f4e6c39954cdc97d9851eded64f6ac0efa7c03c48a5d26370e028236f54258e832f991f9ca099c0cc434ebb55e731adf2 WHIRLPOOL 93218226393b24bf5786cc0f4eb6090f5977d33aa4c8316886a77494d347fc5dd78013df121f442121870f7c0f430183e6ccdc29c2f79c6c085882d6bd327cf1
|
||||
AUX docker.service 249 SHA256 ddf23c8bd07303a87f7e76881b14c023c54835feba575998d6f5a9a7ec8a0a0a SHA512 d7564489486b3547cb79057fa44cb3eb0aa6c50ec47eca12579748170d62ab435395d173fdf39fcec8e86f4778db7413b7fa0ab85dbbd2fc1636164d4aad8b37 WHIRLPOOL 553f8a93a5d7cb6cc037a2004e19efa06520eba363e12574a5d251d10b23d9f24d1a023eb9915968a9bb661bddb577163948fb180a85ca9c916cac5c6680b1df
|
||||
EBUILD docker-0.6.3.ebuild 4404 SHA256 2e38617c57dfe48c270f026c7870de2b83abcfb4d07c40537e5672f389fe630b SHA512 ab108c310a1fd017bf18446ff490b6699d3503b4efcaaba809acee6f4a70be35aea119268ece608111c614f1a214324319af6673bddc0377debc92dd6345ca86 WHIRLPOOL f6dcc4dcffa7d9bee4a74a9f819ca461c68e9ec779818da0bc311ecb1ad5b8b74e6df4c9612b6dd8d6d33e04d55c6c87818491042d1fc00cdd5577a004e6163e
|
||||
MISC ChangeLog 526 SHA256 8589eff7c5384ae919b0dafb685453d7d60aba9bbd778dc948109a1800b64f46 SHA512 5d7719c7f8fe3c52f86426ee0cdbffa517c622544f2b721f9cb0fd16a6552b69eac97ff2de8e027b8ce20c3e8f8b99f0727abd16be3df44f6de7f461752b8626 WHIRLPOOL 606d4747726aa50b75f833cfe9fddaac2ec2527449d14f30abf505b26410a7ee7280865f76c88a9ab8a8081b07e6a5f44874e8bc0749998dd768f09708a7f7ad
|
||||
MISC metadata.xml 560 SHA256 8e6641818a9c28ac022101d80fce792b37a82e5066766fc26cf0ae89e610de22 SHA512 327d1e6e795869d1b675bf987b2f85551604cffeb79b861158fc9442c42fc052f95a124095d052f40bf90ef7add517df1f7c0f524062f4bfe95e0eeeed580e1b WHIRLPOOL 11fb56222b24fd992c3996975ece86b9a3e91c64782a5d36b713ac115b91f8e478d0aa62733d1421bbcf73bb519e3a8e3cfea6727472995d836b79e3beb1f843
|
@ -0,0 +1,163 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/docker-0.6.3.ebuild,v 1.1 2013/09/25 03:22:15 gregkh Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Docker complements LXC with a high-level API which operates at the process level."
|
||||
HOMEPAGE="http://www.docker.io/"
|
||||
SRC_URI=""
|
||||
|
||||
EGIT_REPO_URI="git://github.com/dotcloud/docker.git"
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
EGIT_COMMIT="v${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
inherit bash-completion-r1 git-2 linux-info systemd user
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc vim-syntax"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/go-1.1.2
|
||||
dev-vcs/git
|
||||
dev-vcs/mercurial
|
||||
doc? (
|
||||
dev-python/sphinx
|
||||
dev-python/sphinxcontrib-httpdomain
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
!app-emulation/lxc-docker-bin
|
||||
>=app-arch/tar-1.26
|
||||
>=sys-apps/iproute2-3.5
|
||||
>=net-firewall/iptables-1.4
|
||||
>=app-emulation/lxc-0.8
|
||||
>=dev-vcs/git-1.7
|
||||
|| (
|
||||
sys-fs/aufs3
|
||||
sys-kernel/aufs-sources
|
||||
)
|
||||
"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
DOCKERFILE_VIM_S="${WORKDIR}/dockerfile.vim"
|
||||
|
||||
# TODO AUFS will be replaced with device-mapper (sys-fs/lvm2[static-libs]) in 0.7
|
||||
ERROR_AUFS_FS="AUFS_FS is required to be set if and only if aufs-sources are used"
|
||||
|
||||
ERROR_MEMCG_SWAP="MEMCG_SWAP is required if you wish to limit swap usage of containers"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK+=" ~AUFS_FS ~BRIDGE ~MEMCG_SWAP ~NETFILTER_XT_MATCH_ADDRTYPE ~NF_NAT ~NF_NAT_NEEDED"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
git-2_src_unpack
|
||||
|
||||
if use vim-syntax; then
|
||||
( # subshell to prevent environment leakage (and confusion of smart-live-rebuild)
|
||||
EGIT_SOURCEDIR="${DOCKERFILE_VIM_S}"
|
||||
EGIT_PROJECT="honza-dockerfile.vim.git"
|
||||
EGIT_REPO_URI="https://github.com/honza/dockerfile.vim.git"
|
||||
EGIT_MASTER="master"
|
||||
EGIT_BRANCH="${EGIT_MASTER}"
|
||||
EGIT_COMMIT="${EGIT_BRANCH}"
|
||||
EGIT_NOUNPACK="true"
|
||||
git-2_src_unpack
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export CGO_ENABLED=0 # we need static linking!
|
||||
|
||||
export GOPATH="${WORKDIR}/gopath"
|
||||
mkdir -p "$GOPATH" || die
|
||||
|
||||
# copy GOROOT so we can build it without cgo and not modify anything in the REAL_GOROOT
|
||||
REAL_GOROOT="$(go env GOROOT)"
|
||||
export GOROOT="${WORKDIR}/goroot"
|
||||
rm -rf "$GOROOT" || die
|
||||
cp -R "$REAL_GOROOT" "$GOROOT" || die
|
||||
|
||||
# recompile GOROOT to be cgo-less and thus static-able (especially net package)
|
||||
go install -a -v std || die
|
||||
|
||||
# make sure docker itself is in our shiny new GOPATH
|
||||
mkdir -p "${GOPATH}/src/github.com/dotcloud" || die
|
||||
ln -sf "$(pwd -P)" "${GOPATH}/src/github.com/dotcloud/docker" || die
|
||||
|
||||
# we need our vendored deps, too
|
||||
export GOPATH="$GOPATH:$(pwd -P)/vendor"
|
||||
|
||||
# time to build!
|
||||
./hack/make.sh binary || die
|
||||
|
||||
# now copy the binary to a consistent location that doesn't involve the current version number
|
||||
mkdir -p bin || die
|
||||
VERSION=$(cat ./VERSION)
|
||||
cp -v bundles/$VERSION/binary/docker-$VERSION bin/docker || die
|
||||
|
||||
if use doc; then
|
||||
emake -C docs docs man || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/docker
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md MAINTAINERS NOTICE README.md
|
||||
|
||||
newinitd "${FILESDIR}/docker-r2.initd" docker
|
||||
newconfd "${FILESDIR}/docker-r2.confd" docker
|
||||
|
||||
systemd_dounit "${FILESDIR}/docker.service"
|
||||
|
||||
insinto /usr/share/${P}/contrib
|
||||
doins contrib/README
|
||||
cp -R "${S}/contrib"/* "${D}/usr/share/${P}/contrib/"
|
||||
|
||||
newbashcomp contrib/docker.bash docker
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/_build/html/*
|
||||
doman docs/_build/man/*
|
||||
fi
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r "${DOCKERFILE_VIM_S}/ftdetect"
|
||||
doins -r "${DOCKERFILE_VIM_S}/syntax"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "To use docker, the docker daemon must be running as root. To automatically"
|
||||
elog "start the docker daemon at boot, add docker to the default runlevel:"
|
||||
elog " rc-update add docker default"
|
||||
elog "Similarly for systemd:"
|
||||
elog " systemctl enable docker.service"
|
||||
elog ""
|
||||
|
||||
# create docker group if the code checking for it in /etc/group exists
|
||||
enewgroup docker
|
||||
|
||||
elog "To use docker as a non-root user, add yourself to the docker group."
|
||||
elog ""
|
||||
|
||||
ewarn ""
|
||||
ewarn "If you want your containers to have access to the public internet or even"
|
||||
ewarn "the existing private network, IP Forwarding must be enabled:"
|
||||
ewarn " sysctl -w net.ipv4.ip_forward=1"
|
||||
ewarn "or more permanently:"
|
||||
ewarn " echo net.ipv4.ip_forward = 1 > /etc/sysctl.d/${PN}.conf"
|
||||
ewarn "Please be mindful of the security implications of enabling IP Forwarding."
|
||||
ewarn ""
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
# /etc/conf.d/docker: config file for /etc/init.d/docker
|
||||
|
||||
# where the docker daemon output gets piped
|
||||
#DOCKER_LOGFILE="/var/log/docker.log"
|
||||
|
||||
# where docker's pid get stored
|
||||
#DOCKER_PIDFILE="/run/docker.pid"
|
||||
|
||||
# where the docker daemon itself is run from
|
||||
#DOCKER_BINARY="/usr/bin/docker"
|
||||
|
||||
# uncomment this for a simple workaround to
|
||||
# https://github.com/dotcloud/docker/issues/1422
|
||||
#DOCKER_WORKAROUND_1422="1"
|
||||
|
||||
# if you find that the default DOCKER_WORKAROUND_1422 delay of one second
|
||||
# is not sufficient, try uncommenting and increasing this value
|
||||
#DOCKER_WORKAROUND_1422_DELAY="1"
|
@ -0,0 +1,56 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/files/docker-r2.initd,v 1.1 2013/09/25 03:22:15 gregkh Exp $
|
||||
|
||||
DOCKER_LOGFILE=${DOCKER_LOGFILE:-/var/log/${SVCNAME}.log}
|
||||
DOCKER_PIDFILE=${DOCKER_PIDFILE:-/run/${SVCNAME}.pid}
|
||||
DOCKER_BINARY=${DOCKER_BINARY:-/usr/bin/docker}
|
||||
DOCKER_WORKAROUND_1422=${DOCKER_WORKAROUND_1422:-0}
|
||||
DOCKER_WORKAROUND_1422_DELAY=${DOCKER_WORKAROUND_1422_DELAY:-1}
|
||||
|
||||
start() {
|
||||
touch "$DOCKER_LOGFILE"
|
||||
chown root:docker "$DOCKER_LOGFILE"
|
||||
chmod 0644 "$DOCKER_LOGFILE"
|
||||
|
||||
ebegin "Starting docker daemon"
|
||||
start-stop-daemon --start --background \
|
||||
--exec "$DOCKER_BINARY" \
|
||||
--pidfile "$DOCKER_PIDFILE" \
|
||||
--stdout "$DOCKER_LOGFILE" \
|
||||
--stderr "$DOCKER_LOGFILE" \
|
||||
-- -d -p "$DOCKER_PIDFILE"
|
||||
eend $?
|
||||
ret=$?
|
||||
|
||||
if [ $ret -eq 0 ] \
|
||||
&& [ "$DOCKER_WORKAROUND_1422" ] \
|
||||
&& [ "$DOCKER_WORKAROUND_1422" -gt 0 ] \
|
||||
; then
|
||||
# see https://github.com/dotcloud/docker/issues/1422
|
||||
ewarn "Working around gh#1422 (via busybox image); this may take a moment"
|
||||
|
||||
# we were calling "docker run" more quickly than "docker -d" could get
|
||||
# fired up, so our workaround wasn't successful without a short delay
|
||||
sleep $DOCKER_WORKAROUND_1422_DELAY
|
||||
|
||||
# TODO when we get https://github.com/dotcloud/docker/pull/1589, these
|
||||
# both need -rm so we clean up after ourselves (thanks, @eliasp!)
|
||||
docker run -i -t busybox true &> /dev/null || true
|
||||
# first run will fail, so we ignore its output and result and run again
|
||||
docker run -i -t busybox true
|
||||
|
||||
ewend $?
|
||||
fi
|
||||
|
||||
return $ret
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping docker daemon"
|
||||
start-stop-daemon --stop \
|
||||
--exec "$DOCKER_BINARY" \
|
||||
--pidfile "$DOCKER_PIDFILE"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/docker/files/docker.initd,v 1.1 2013/09/25 03:22:15 gregkh Exp $
|
||||
|
||||
DOCKER_LOGFILE=${DOCKER_LOGFILE:-/var/log/${SVCNAME}.log}
|
||||
DOCKER_PIDFILE=${DOCKER_PIDFILE:-/run/${SVCNAME}.pid}
|
||||
DOCKER_BINARY=${DOCKER_BINARY:-/usr/bin/docker}
|
||||
|
||||
start() {
|
||||
touch "$DOCKER_LOGFILE"
|
||||
chown root:docker "$DOCKER_LOGFILE"
|
||||
chmod 0644 "$DOCKER_LOGFILE"
|
||||
|
||||
ebegin "Starting docker daemon"
|
||||
start-stop-daemon --start --background \
|
||||
--exec "$DOCKER_BINARY" \
|
||||
--pidfile "$DOCKER_PIDFILE" \
|
||||
--stdout "$DOCKER_LOGFILE" \
|
||||
--stderr "$DOCKER_LOGFILE" \
|
||||
-- -d -p "$DOCKER_PIDFILE"
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping docker daemon"
|
||||
start-stop-daemon --stop \
|
||||
--exec "$DOCKER_BINARY" \
|
||||
--pidfile "$DOCKER_PIDFILE"
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Docker - The Linux Container Engine
|
||||
Requires=network.target
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/bin/mount --make-rprivate /
|
||||
ExecStart=/usr/bin/docker -d
|
||||
TimeoutSec=60
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription>
|
||||
Docker is an open-source project to easily create lightweight,
|
||||
portable, self-sufficient containers from any application. The same
|
||||
container that a developer builds and tests on a laptop can run at
|
||||
scale, in production, on VMs, bare metal, OpenStack clusters, public
|
||||
clouds and more.
|
||||
</longdescription>
|
||||
<maintainer>
|
||||
<email>admwiggin@gmail.com</email>
|
||||
<name>Tianon</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,433 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-1.0.5.6.ebuild,v 1.1 2013/09/24 19:47:19 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#BACKPORTS=b8430867
|
||||
AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python user autotools linux-info systemd
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
AUTOTOOLIZE=yes
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/stable_updates/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/stable_updates/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="audit avahi +caps firewalld fuse iscsi +libvirtd lvm lxc +macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python +qemu rbd sasl \
|
||||
selinux +udev uml +vepa virtualbox virt-network xen elibc_glibc \
|
||||
systemd"
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
qemu? ( libvirtd )
|
||||
uml? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )
|
||||
virt-network? ( libvirtd )
|
||||
firewalld? ( virt-network )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
dev-libs/libgcrypt
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
dev-libs/libnl:3
|
||||
>=net-libs/gnutls-1.0.25
|
||||
net-libs/libssh2
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
audit? ( sys-process/audit )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
lxc? ( sys-power/pm-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-0.13.0
|
||||
dev-libs/yajl
|
||||
sys-power/pm-utils
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( virtual/udev >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-misc/radvd
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal]
|
||||
firewalld? ( net-firewall/firewalld )
|
||||
)
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-text/xhtml1
|
||||
dev-libs/libxslt
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*"
|
||||
|
||||
LXC_CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
~CGROUP_PERF
|
||||
~BLK_CGROUP
|
||||
~NET_CLS_CGROUP
|
||||
~NETPRIO_CGROUP
|
||||
~CPUSETS
|
||||
~RESOURCE_COUNTERS
|
||||
~NAMESPACES
|
||||
~UTS_NS
|
||||
~IPC_NS
|
||||
~PID_NS
|
||||
~NET_NS
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~VETH
|
||||
~MACVLAN
|
||||
~POSIX_MQUEUE
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
VIRTNET_CONFIG_CHECK="
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
"
|
||||
|
||||
MACVTAP_CONFIG_CHECK="~MACVTAP"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
|
||||
enewgroup qemu 77
|
||||
enewuser qemu 77 -1 -1 qemu kvm
|
||||
|
||||
# Some people used the masked ebuild which was not adding the qemu
|
||||
# user to the kvm group originally. This results in VMs failing to
|
||||
# start for some users. bug #430808
|
||||
egetent group kvm | grep -q qemu
|
||||
if [[ $? -ne 0 ]]; then
|
||||
gpasswd -a qemu kvm
|
||||
fi
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && LXC_CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
kernel_is ge 3 6 && LXC_CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
|
||||
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+=" ~FUSE_FS"
|
||||
use lxc && CONFIG_CHECK+="${LXC_CONFIG_CHECK}"
|
||||
use macvtap && CONFIG_CHECK+="${MACVTAP}"
|
||||
use virt-network && CONFIG_CHECK+="${VIRTNET_CONFIG_CHECK}"
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
|
||||
# Tweak the init script
|
||||
local avahi_init=
|
||||
local iscsi_init=
|
||||
local rbd_init=
|
||||
local firewalld_init=
|
||||
cp "${FILESDIR}/libvirtd.init-r12" "${S}/libvirtd.init"
|
||||
use avahi && avahi_init='avahi-daemon'
|
||||
use iscsi && iscsi_init='iscsid'
|
||||
use rbd && rbd_init='ceph'
|
||||
use firewalld && firewalld_init='need firewalld'
|
||||
|
||||
sed -e "s/USE_FLAG_FIREWALLD/${firewalld_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_AVAHI/${avahi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_ISCSI/${iscsi_init}/" -i "${S}/libvirtd.init"
|
||||
sed -e "s/USE_FLAG_RBD/${rbd_init}/" -i "${S}/libvirtd.init"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
myconf+=" --without-xenapi"
|
||||
if use xen && has_version ">=app-emulation/xen-tools-4.2.0"; then
|
||||
myconf+=" --with-libxl"
|
||||
else
|
||||
myconf+=" --without-libxl"
|
||||
fi
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
myconf="${myconf} --with-vmware"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with rbd storage-rbd)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with numa numad)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
myconf="${myconf} $(use_with fuse)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
myconf="${myconf} $(use_with vepa virtualport)"
|
||||
myconf="${myconf} $(use_with firewalld)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
# user privilege bits fir qemu/kvm
|
||||
if use caps; then
|
||||
myconf="${myconf} --with-qemu-user=qemu"
|
||||
myconf="${myconf} --with-qemu-group=qemu"
|
||||
else
|
||||
myconf="${myconf} --with-qemu-user=root"
|
||||
myconf="${myconf} --with-qemu-group=root"
|
||||
fi
|
||||
|
||||
# audit support
|
||||
myconf="${myconf} $(use_with audit)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# systemd unit files
|
||||
use systemd && myconf="${myconf} --with-init-script=systemd"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)" \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r4" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/usr/lib/sysctl.d/libvirtd.conf "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# support for dropped privileges
|
||||
if use qemu; then
|
||||
fperms 0750 "${EROOT}/var/lib/libvirt/qemu"
|
||||
fperms 0750 "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
fowners -R qemu:qemu "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R qemu:qemu "${EROOT}/var/cache/libvirt/qemu"
|
||||
elif use qemu; then
|
||||
fowners -R root:root "${EROOT}/var/lib/libvirt/qemu"
|
||||
fowners -R root:root "${EROOT}/var/cache/libvirt/qemu"
|
||||
fi
|
||||
|
||||
if ! use policykit; then
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog "unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
|
||||
if use caps && use qemu; then
|
||||
elog "libvirt will now start qemu/kvm VMs with non-root privileges."
|
||||
elog "Ensure any resources your VMs use are accessible by qemu:qemu"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -1,27 +1,31 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST virt-manager-0.10.0-1cd29748.tar.xz 11716 SHA256 a9293c2fcadd230cdfb13977c7c5520c0f74e38cebd199e8de2cce68e5b0efd3 SHA512 87312537a05a99c7df4c3fcf47bc4820a3e8b6c59bd39adf7aa803383bc3f69aa615dcada71b82b51bb92c83daaa7cb528279dcb9b6f36247d6e24665376a086 WHIRLPOOL e86c0dc6ae774c047bb130ecef618a4583ac76bb265b08c45d41ee1d8e10a128a6a3a1bf7e02827f70201b7ec973e7e95756cc4f11aece7d6bda87e0085bfa0d
|
||||
DIST virt-manager-0.10.0.tar.gz 2548256 SHA256 59bd8f316917228885261a1ecbeb9aadbb0b0e02cdf5fc974c78113c5814346d SHA512 13eaed3645ccee79da6a972e02bb182b5bd24981ff55b6322b8aaf2689fab520f22f1e729bb5f5287d66526252a31a531c6595ee27489a52fb4829ae18cf8204 WHIRLPOOL e3e34506171217c63e5e5337157f75006554afb156a430f2ee7f11e354d0c490adc371174b342efb4cc90ab0686d2c74f42b4d52c55c0a9221868670980fdbb3
|
||||
DIST virt-manager-0.9.4.tar.gz 1709809 SHA256 dc8c553beeb15bb30cd5517b2105bcc47cf482b03523e522733c52b0e5df0fc0 SHA512 f70f4c4f0d5b282d8126e495a2da8bcb6afe0bcbbae493d4abb46c3a1802f5ce36f477125421cb577ab2f64bae522db4d7c03558fa7997d74f5060b29b98c53a WHIRLPOOL 00a213515f23858278f47069102cf82eb053255b81a9e128fd666dbb17f6d9e7ce2365b4370fa3b733406c07599fe5c0dfa076a6555c48dd62d1178b679acedb
|
||||
DIST virt-manager-0.9.5.tar.gz 1773882 SHA256 5d2afb282fb8c4401f9e203dcb41a62746b9a909258d440d508219bc1a33803d SHA512 a1ecf6fe9f3ddacfe43006cfc388d9324c457be91767792119d8a112b190739e3274dfeb7cffd28534b86a33f86079c569d8337eeddaa9d60ed69f82d8a4627f WHIRLPOOL d15728e55c0a3e361b42b6e615bed50b8870c436a12ae0ececcd80d47d0482ea01c33f5497672e050aa6465f9b031948bf92925710c4340837d789d4634506c8
|
||||
EBUILD virt-manager-0.10.0-r1.ebuild 1958 SHA256 c79a2fa45c4e6ca1635ac169640922a1e9640aec3c10d5813aa7d2315c86b187 SHA512 2f948659f9516d8c749d225f7640b0d2c0efecf4e22e4a138d0b9d56725893f6978b910512f32ca6f82fee7dbf6736e51c1307a6986b3d05c56645f3fc7faa49 WHIRLPOOL fbb91eefd896e926a454423385b986852c2a040607a4ee9a1b5206ed73f79a2333ee2a9da2335f404f38cb288e7daa2f2057a8a793f30a2ee6a543e07c9dca14
|
||||
EBUILD virt-manager-0.10.0.ebuild 2212 SHA256 1648877ae9a8e742eb40504c2b88f417ddcdee5ccc6eb309dfa5c0f6124b3716 SHA512 3cfb5e0d2df4dbb52e2e67dce2160bb2b19579cb9d4ced8ba0a0787b08420df54ad9ce0d518b47050ec788924a3cb882b9ba1cf35840e81f8c0a970b7490d01f WHIRLPOOL 60575af1b441b8e1f5232403c2b464b185eda450c7c9e4a5345c07bda67fd5051de245253f7ebf5f71ef0e7988d1fc6016c5ae6ca3e824205bb5abd4cd5075cd
|
||||
EBUILD virt-manager-0.10.0-r1.ebuild 1960 SHA256 211dea57ee5a3a7b0f6b59497fcb5259c08495aadf8dbecfa2ffcc8b2c37d1ba SHA512 62c40594a9c4b754bc6e15b44f2e8d70cad6b83e7fab3a72263ec3ed87a9ccbe5ff2ffd4475226c45143338d73e50b28cbf9e808f5b6196845825bb742d87556 WHIRLPOOL e36a11f4ccc1bbbd3b04d031ae77fb139a35978dd63f770d639920d2bfbf92cff5f49a09acc6c8a377e77fedb1c74be5ab2cd25cc947f226fcc22ffc93f9ef2b
|
||||
EBUILD virt-manager-0.10.0.ebuild 2247 SHA256 c3ebc55a74aa1464386fd58fcdfdac9380d3c868d0bd6a2dad1db7f39cec43d3 SHA512 cf0de1a6250a4c36c81af512e0d4182694a110ccc976100e79cb54ad75b085f05e8a8fe2b2601162381debaf5969220a3b63556a887d0811a1b6c19f1bbcad3e WHIRLPOOL 4afaed729146acc1c9c9d914c0fe0b3aed7f4b017ece908d1b53f940eec553129014c5f3bcc7318412dd2f2c070705e0ee5da6be64974edef1cd1e568cfe76a1
|
||||
EBUILD virt-manager-0.9.4.ebuild 2654 SHA256 a19993fd911cf50a1a1ce83059c5edb40cab6a10750a9aa5f783abf3a1a89f8e SHA512 0e2cf711efd585b0cc3f3c5ecc0f60d4caa9d4e580ac33c711875aabb8788ede098ca5a649b3b139f6896459d54711d49b354a319b275d5c85ab2e97730183f3 WHIRLPOOL 82c9c1c4bc8709a6033ef0062e5357207dc9376a78eaecf7549ddd22df47525e602ef0a37279d90d65c6437ae0495b754deb190d1d87db6c4e3aff497f4b2eb4
|
||||
EBUILD virt-manager-0.9.5.ebuild 2651 SHA256 b36fbda7acd3d873ba408bac74bbb801fc697bf771443e69353c1a1f5c6c7dc9 SHA512 bfe17dda6a5d98494135040ee23875dc4df107cfd9e324405612ba473dea8537d18b37e93515b2939931fa58dacfb3014a1ed9e75b7bf1c9929c4046ac508487 WHIRLPOOL a23f89d18d7a94c6aea1732e9bb005a46b9c324ed7a27528ffe75f7b0448ae6f31d947a9b2501d28540687d7c3f70ddbb75c3c9f7197afda9c595d4ccc66fdef
|
||||
EBUILD virt-manager-9999.ebuild 2051 SHA256 97294c609d54881cd0d28ac089499ff2c09d60aa68a878f5a82880635069687e SHA512 cf690a7aa623ea3ba0f01a104d16faa1ba250df689e125a843f53cdc3cd92ba240196c5b63c783f196ea8ecae64a2c5de8dc9215199057677ebe390f8b45ad36 WHIRLPOOL d07929b787276f6b3a07ed7f3b4c72d71147ef2905f0419f260a85e9ec89bcd5022bd118238d9bc8019e0db48f168f9077c14d3ab86a641385e7326c6c712780
|
||||
MISC ChangeLog 17720 SHA256 8f8b4a228f3676841db0a0b4e744e0bce5341c43710473f60d36ee054f189cbb SHA512 226e186f110e42cd2dc57386d2d353292557212a9368b358e9ef6b5e83befc934efcd01c7b57cf426f0e1f399c5be09e63ced9da69193398d977b410a27a659e WHIRLPOOL f84a70dd7c9c761d21e51cd43d8b864eadfb20a2d7207df36551427a2b4aa18a0a30a746cc6c4abaec4dcbbc5c847d7e3e8cfbc2f01b1459f11b60b418fa982c
|
||||
EBUILD virt-manager-9999.ebuild 2083 SHA256 ec1bf63d79bf785b102f2108309418fdb5508b6ed5464a86d1cbec9c8fb9e85b SHA512 377349fcd9136d6d55b614640dd49d82b718a3a73e0a23d9ee5147b030929e3fd0830e510f1a2c1bc96915b589981d23dfb074e8a1ec864a19feadb416a66d60 WHIRLPOOL 90b454a805a6ce746a9686f44af3da12bd77e03b12b2fe8c9bf19f1ba1a1f17c3d90b49ac453433198fef942717a91cb2e196e9d629c249e4bee76297c471fd0
|
||||
MISC ChangeLog 17911 SHA256 7a787e8a20ca2a41c09abe070b27a71b0a175f9f8463e4b77131f1b586074d05 SHA512 3bc98156c8d2e647ead5a4cd535bf080d8069de86015e48f16827d6200bfa4346b3e2532399d36ffc4e68cde0a90241dd768ff60497ef9f829e98bc95cd453ab WHIRLPOOL ebf75f85e040c2ca740cac5fdf7807b614f460bdf1b6bfbf17e4ed95ec6557597097a24b16ed91884efd59f55b77259330ebb6cd146a153b05e152dc51cda2ad
|
||||
MISC metadata.xml 722 SHA256 70795a507d431d9f6682777a65b480eeb0d762368f3150552b7d17bf98f96bed SHA512 1a6cb74025b5f750c82f7c373638a764f19057bbb076e96688f73690362ef197d8a38333873f8ec5baaa9cdf11a0848c83c1d86403f17b70347d7f6ca8fcbe3f WHIRLPOOL 5a3b8cbfbdbada615803ac5e6cf3a21ebc6f5d15ee1d440be6de3efcd129557c6651aac91192b8b94ed7171e856cc564e9f49c7c5b6d425d2b778621f644c7ef
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2.0.21 (GNU/Linux)
|
||||
|
||||
iQF8BAEBCABmBQJSKfMzXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDMDRGNEJFMDZEQTJGRUY3NkI4MEM3NTlE
|
||||
N0RGQThEMzE4RkE5QUVGAAoJENffqNMY+prvwdsIAJ9embmscSr0NBzpk2qavsv1
|
||||
OOKZ3g6kWKgUKDtA77BDkLY5laDsOzRv22+LBKl3TIwA8tyLyla0MG9DXIs5qizg
|
||||
UdNHcyWPjTELIGYBhvWyrjtWGNEDG6yVVxj9vznSv8FkVOY6Rku9C8UzVTD8QiXq
|
||||
yorVMxxJs/ADEWwCMHlgSnCYevpk0rkqEygBIpBHPYkQovTDEAp84plaLbZFPqzE
|
||||
lEV++QVlOxIQgjMPuVTRN/0+ROarmB0fzlZMznmongAVrMpm3Q9jZ5en/Djb998U
|
||||
iA/2kqJRev2pFdqNBfgmmNm65MF0DORKUJwQEFiBd4dz4C+r0hIlce8lnhx2FDE=
|
||||
=KXN6
|
||||
iQIcBAEBCgAGBQJSQo+tAAoJELnU8jG9FVirtF4P/1+d49JxQtHoVdYQKasvE+Ff
|
||||
LOJl3cTzQpmOYIwJPt4R+x2I7bawd3IhZsBE/2EeEwWlwqmW5d0/SQpwkKvdgyFY
|
||||
lOIAXWcm2cPpdi6IqdOlr4BT2mtRlOGpwNpl2PWBZb19iA41b2kXaP+9hT0o8L6j
|
||||
bBRSe/fAx7DvUOu201l0NQmh7T+tncYW8Fk2xqiJ1XvLZhD3I9YFtGSaPAKLjZwj
|
||||
mkMy+rF/v3tdJUDsLFNZsJkdVWkmQGgoiObzxntJqECwbtq5fsJdxaF6Xr2N42qR
|
||||
Ze9l2ibjVuhlHHeNycKcbooZxcHuemeEM80tXf6JlDZArL8I3xuwuTCTXcq2JouS
|
||||
1Jm54XPdoFZTWbo2IPgJ+AUo7o8tsGPjzGqVdzX8UeizKdDgERnreKVvEdZPZdPV
|
||||
3Zo3wGSLvj4blkVz02HwWEltKbMql7uKLGhf3qZYZMFZRmg/3yiSM1LcGpEYnMtd
|
||||
duoeKSxN7gY55CNARL7A/eGUTPC0f3SQXiPwk7JY3pOxqIrb/TtJEFRhXZdfNuzm
|
||||
QQXv00loXNri+AI3m8G4UtavYtkwvO25uEoNgROA71T7RVU0yznfp5/9ctoYiqIL
|
||||
keeRnUUhw2mhrtmB2zSM9VrY7MQvgIXs+MGop7BLHpe8MIUfbaJa/WYN9hw74iBE
|
||||
JIB6s+6HDoAVJPReRdVD
|
||||
=4G6Z
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,59 @@
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 7481047..478becb 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -55,6 +55,8 @@ PIC_CFLAGS = @PIC_CFLAGS@
|
||||
CTARGET = @CTARGET@
|
||||
LDTARGET = @LDTARGET@
|
||||
MKLIB = @MKLIB@
|
||||
+AR = @AR@
|
||||
+ARFLAGS = crus
|
||||
CC_MM = @CC_MM@
|
||||
|
||||
ifeq (macho, $(ABI))
|
||||
@@ -185,7 +187,7 @@ $(objroot)lib/$(LIBJEMALLOC)_s.$(A) : $(COBJS)
|
||||
|
||||
$(STATIC_LIBS):
|
||||
@mkdir -p $(@D)
|
||||
- $(MKLIB) $+
|
||||
+ $(AR) $(ARFLAGS) $@ $+
|
||||
|
||||
$(objroot)test/bitmap$(EXE): $(objroot)src/bitmap.$(O)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index c270662..f4b4c21 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -226,9 +226,13 @@ PIC_CFLAGS='-fPIC -DPIC'
|
||||
CTARGET='-o $@'
|
||||
LDTARGET='-o $@'
|
||||
EXTRA_LDFLAGS=
|
||||
-MKLIB='ar crus $@'
|
||||
CC_MM=1
|
||||
|
||||
+AN_MAKEVAR([AR], [AC_PROG_AR])
|
||||
+AN_PROGRAM([ar], [AC_PROG_AR])
|
||||
+AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])
|
||||
+AC_PROG_AR
|
||||
+
|
||||
dnl Platform-specific settings. abi and RPATH can probably be determined
|
||||
dnl programmatically, but doing so is error-prone, which makes it generally
|
||||
dnl not worth the trouble.
|
||||
@@ -310,7 +314,8 @@ case "${host}" in
|
||||
EXTRA_LDFLAGS="-link -DEBUG"
|
||||
CTARGET='-Fo$@'
|
||||
LDTARGET='-Fe$@'
|
||||
- MKLIB='lib -nologo -out:$@'
|
||||
+ AR='lib'
|
||||
+ ARFLAGS='-nologo -out:'
|
||||
CC_MM=
|
||||
else
|
||||
importlib="${so}"
|
||||
@@ -403,7 +408,6 @@ AC_SUBST([enable_autogen])
|
||||
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_RANLIB
|
||||
-AC_PATH_PROG([AR], [ar], [false], [$PATH])
|
||||
AC_PATH_PROG([LD], [ld], [false], [$PATH])
|
||||
AC_PATH_PROG([AUTOCONF], [autoconf], [false], [$PATH])
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/jemalloc/jemalloc-3.4.0.ebuild,v 1.1 2013/09/24 22:51:43 anarchy Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator"
|
||||
HOMEPAGE="http://www.canonware.com/jemalloc/"
|
||||
SRC_URI="http://www.canonware.com/download/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~x64-macos"
|
||||
IUSE="debug static-libs stats"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-3.0.0-strip-optimization.patch" \
|
||||
"${FILESDIR}/${PN}-3.0.0-no-pprof.patch" \
|
||||
"${FILESDIR}/${PN}-3.0.0_fix_html_install.patch" \
|
||||
"${FILESDIR}/${PN}-fix-ar-call.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
$(use_enable stats)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dohtml doc/jemalloc.html
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# fixup install_name, #437362
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.1.dylib \
|
||||
"${ED}"/usr/$(get_libdir)/libjemalloc.1.dylib || die
|
||||
fi
|
||||
use static-libs || find "${ED}" -name '*.a' -delete
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-0.14.2.ebuild,v 1.1 2012/10/30 09:37:14 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-misc/ca-certificates
|
||||
dev-python/chardet
|
||||
dev-python/oauthlib
|
||||
dev-python/urllib3"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=1
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# use system libs for chardet, oauthlib, and urllib3
|
||||
rm -r requests/packages || die
|
||||
epatch "${FILESDIR}"/${PN}-0.14.1-system-libs.patch
|
||||
|
||||
# use system ca-certificates
|
||||
rm requests/cacert.pem || die
|
||||
epatch "${FILESDIR}"/${PN}-0.14.1-system-cacerts.patch
|
||||
|
||||
# Different packages are installed depending on the python version.
|
||||
# Need to remove stale egg-info data and build in separate directories.
|
||||
rm -r requests.egg-info || die
|
||||
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echoit() { echo "$@"; "$@"; }
|
||||
testing() {
|
||||
echoit nosetests --verbosity=1 tests/*.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-1.0.4.ebuild,v 1.3 2013/09/05 18:46:21 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="app-misc/ca-certificates
|
||||
dev-python/charade[${PYTHON_USEDEP}]
|
||||
dev-python/urllib3"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-system-libs.patch )
|
||||
|
||||
DOCS=( README.rst HISTORY.rst )
|
||||
|
||||
python_prepare_all() {
|
||||
# use system libs for charade and urllib3
|
||||
rm -r requests/packages || die
|
||||
|
||||
# use system ca-certificates
|
||||
rm requests/cacert.pem || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-1.1.0.ebuild,v 1.5 2013/09/05 18:46:21 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# bundles dev-python/urllib3 snapshot
|
||||
RDEPEND="app-misc/ca-certificates
|
||||
dev-python/charade[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( README.rst HISTORY.rst )
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${P}-system-cacerts.patch
|
||||
"${FILESDIR}"/${P}-system-libs.patch
|
||||
)
|
||||
|
||||
# use system charade
|
||||
rm -r requests/packages/charade || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-1.2.0.ebuild,v 1.4 2013/09/05 18:46:21 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# bundles dev-python/urllib3 snapshot
|
||||
RDEPEND="app-misc/ca-certificates
|
||||
dev-python/charade[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( README.rst HISTORY.rst )
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${P}-system-cacerts.patch
|
||||
"${FILESDIR}"/${P}-system-libs.patch
|
||||
)
|
||||
|
||||
# use system charade
|
||||
rm -r requests/packages/charade || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-1.2.2.ebuild,v 1.2 2013/09/05 18:46:21 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# bundles dev-python/urllib3 snapshot
|
||||
RDEPEND="app-misc/ca-certificates
|
||||
dev-python/charade[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( README.rst HISTORY.rst )
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.2.0-system-cacerts.patch
|
||||
"${FILESDIR}"/${PN}-1.2.0-system-libs.patch
|
||||
"${FILESDIR}"/${PN}-1.2.1-urllib3-py3.patch
|
||||
)
|
||||
|
||||
# use system charade
|
||||
rm -r requests/packages/charade || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
#!/bin/bash
|
||||
|
||||
source tests-common.sh
|
||||
|
||||
inherit git-r3
|
||||
|
||||
testdir=${pkg_root}/git
|
||||
mkdir "${testdir}" || die "unable to mkdir testdir"
|
||||
cd "${testdir}" || die "unable to cd to testdir"
|
||||
|
||||
EGIT3_STORE_DIR=store
|
||||
mkdir "${EGIT3_STORE_DIR}" || die "unable to mkdir store"
|
||||
|
||||
# 1) Test cleaning up canonical repo URI
|
||||
test_repouri() {
|
||||
local uri=${1}
|
||||
local expect=${2}
|
||||
local -x GIT_DIR
|
||||
|
||||
tbegin "GIT_DIR for ${uri}"
|
||||
|
||||
_git-r3_set_gitdir "${uri}" &>/dev/null
|
||||
local got=${GIT_DIR#${EGIT3_STORE_DIR}/}
|
||||
|
||||
[[ ${expect} == ${got} ]]
|
||||
tend ${?} || eerror "Expected: ${expect}, got: ${got}"
|
||||
}
|
||||
|
||||
test_repouri git://git.overlays.gentoo.org/proj/portage.git proj_portage.git
|
||||
test_repouri https://git.overlays.gentoo.org/gitroot/proj/portage.git proj_portage.git
|
||||
test_repouri git+ssh://git@git.overlays.gentoo.org/proj/portage.git proj_portage.git
|
||||
|
||||
test_repouri git://anongit.freedesktop.org/mesa/mesa mesa_mesa.git
|
||||
test_repouri ssh://git.freedesktop.org/git/mesa/mesa mesa_mesa.git
|
||||
test_repouri http://anongit.freedesktop.org/git/mesa/mesa.git mesa_mesa.git
|
||||
test_repouri http://cgit.freedesktop.org/mesa/mesa/ mesa_mesa.git
|
||||
|
||||
test_repouri https://code.google.com/p/snakeoil/ snakeoil.git
|
||||
|
||||
test_repouri git://git.code.sf.net/p/xournal/code xournal_code.git
|
||||
test_repouri http://git.code.sf.net/p/xournal/code xournal_code.git
|
||||
|
||||
test_repouri git://git.gnome.org/glibmm glibmm.git
|
||||
test_repouri https://git.gnome.org/browse/glibmm glibmm.git
|
||||
test_repouri ssh://USERNAME@git.gnome.org/git/glibmm glibmm.git
|
||||
|
||||
test_repouri git://git.kernel.org/pub/scm/git/git.git git_git.git
|
||||
test_repouri http://git.kernel.org/pub/scm/git/git.git git_git.git
|
||||
test_repouri https://git.kernel.org/pub/scm/git/git.git git_git.git
|
||||
test_repouri https://git.kernel.org/cgit/git/git.git/ git_git.git
|
||||
|
||||
#test_repouri git@github.com:gentoo/identity.gentoo.org.git gentoo_identity.gentoo.org.git
|
||||
test_repouri https://github.com/gentoo/identity.gentoo.org.git gentoo_identity.gentoo.org.git
|
||||
|
||||
#test_repouri git@bitbucket.org:mgorny/python-exec.git mgorny_python-exec.git
|
||||
test_repouri https://mgorny@bitbucket.org/mgorny/python-exec.git mgorny_python-exec.git
|
||||
|
||||
texit
|
@ -0,0 +1,137 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird-bin/thunderbird-bin-24.0.ebuild,v 1.1 2013/09/24 18:02:15 axs Exp $
|
||||
|
||||
EAPI="5"
|
||||
MOZ_ESR="0"
|
||||
|
||||
# Can be updated using scripts/get_langs.sh from mozilla overlay
|
||||
MOZ_LANGS=(ar ast be bg bn-BD br ca cs da de el en en-GB en-US es-AR es-ES et eu
|
||||
fi fr fy-NL ga-IE gd gl he hu id is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR
|
||||
pt-PT rm ro ru si sk sl sq sr sv-SE ta-LK tr uk vi zh-CN zh-TW)
|
||||
|
||||
# Convert the ebuild version to the upstream mozilla version, used by
|
||||
MOZ_PN="${PN/-bin}"
|
||||
MOZ_PV="${PV/_beta/b}"
|
||||
MOZ_PV="${MOZ_PV/_rc/rc}"
|
||||
|
||||
if [[ ${MOZ_ESR} == 1 ]]; then
|
||||
# ESR releases have slightly version numbers
|
||||
MOZ_PV="${MOZ_PV}esr"
|
||||
fi
|
||||
|
||||
MOZ_P="${MOZ_PN}-${MOZ_PV}"
|
||||
|
||||
# Upstream ftp release URI that's used by mozlinguas.eclass
|
||||
# We don't use the http mirror because it deletes old tarballs.
|
||||
MOZ_FTP_URI="ftp://ftp.mozilla.org/pub/mozilla.org/${MOZ_PN}/releases/"
|
||||
|
||||
inherit eutils multilib pax-utils fdo-mime gnome2-utils mozlinguas nsplugins
|
||||
|
||||
DESCRIPTION="Thunderbird Mail Client"
|
||||
SRC_URI="${SRC_URI}
|
||||
amd64? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-x86_64/en-US/${MOZ_P}.tar.bz2 -> ${PN}_x86_64-${PV}.tar.bz2 )
|
||||
x86? ( ${MOZ_FTP_URI}/${MOZ_PV}/linux-i686/en-US/${MOZ_P}.tar.bz2 -> ${PN}_i686-${PV}.tar.bz2 )"
|
||||
HOMEPAGE="http://www.mozilla.com/thunderbird"
|
||||
RESTRICT="strip mirror"
|
||||
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
SLOT="0"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
IUSE="+crashreporter"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="virtual/freedesktop-icon-theme
|
||||
dev-libs/dbus-glib
|
||||
=media-libs/libpng-1.5*
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
x11-libs/libXmu
|
||||
>=x11-libs/gtk+-2.2:2
|
||||
>=media-libs/alsa-lib-1.0.16
|
||||
crashreporter? ( net-misc/curl )
|
||||
|
||||
!net-libs/libproxy[spidermonkey]
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${MOZ_PN}/*.so
|
||||
opt/${MOZ_PN}/${MOZ_PN}
|
||||
opt/${MOZ_PN}/${PN}
|
||||
opt/${MOZ_PN}/crashreporter
|
||||
opt/${MOZ_PN}/plugin-container
|
||||
opt/${MOZ_PN}/mozilla-xremote-client
|
||||
opt/${MOZ_PN}/updater
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MOZ_PN}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
# Unpack language packs
|
||||
mozlinguas_src_unpack
|
||||
}
|
||||
|
||||
src_install() {
|
||||
declare MOZILLA_FIVE_HOME="/opt/${MOZ_PN}"
|
||||
|
||||
local size sizes icon_path icon name
|
||||
sizes="16 22 24 32 48 256"
|
||||
icon_path="${S}/chrome/icons/default"
|
||||
icon="${PN}-icon"
|
||||
name="Thunderbird"
|
||||
|
||||
# Install icons and .desktop for menu entry
|
||||
for size in ${sizes}; do
|
||||
insinto "/usr/share/icons/hicolor/${size}x${size}/apps"
|
||||
newins "${icon_path}/default${size}.png" "${icon}.png"
|
||||
done
|
||||
# Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
|
||||
newicon "${S}"/chrome/icons/default/default48.png "${icon}.png"
|
||||
domenu "${FILESDIR}"/icon/${PN}.desktop
|
||||
|
||||
# Install thunderbird in /opt
|
||||
dodir ${MOZILLA_FIVE_HOME%/*}
|
||||
mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
|
||||
|
||||
# Install language packs
|
||||
mozlinguas_src_install
|
||||
|
||||
# Create /usr/bin/thunderbird-bin
|
||||
dodir /usr/bin/
|
||||
cat <<EOF >"${D}"/usr/bin/${PN}
|
||||
#!/bin/sh
|
||||
unset LD_PRELOAD
|
||||
LD_LIBRARY_PATH="${MOZILLA_FIVE_HOME}"
|
||||
exec ${MOZILLA_FIVE_HOME}/thunderbird "\$@"
|
||||
EOF
|
||||
fperms 0755 /usr/bin/${PN}
|
||||
|
||||
# revdep-rebuild entry
|
||||
insinto /etc/revdep-rebuild
|
||||
doins "${FILESDIR}"/10${PN}
|
||||
|
||||
# Enable very specific settings for thunderbird-3
|
||||
cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js \
|
||||
"${D}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \
|
||||
die "failed to cp thunderbird-gentoo-default-prefs.js"
|
||||
|
||||
# Plugins dir
|
||||
share_plugins_dir
|
||||
|
||||
pax-mark mr "${ED}"/${MOZILLA_FIVE_HOME}/{thunderbird-bin,thunderbird,plugin-container}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/files/init.d-nullmailer-r3,v 1.1 2013/09/25 10:16:59 jlec Exp $
|
||||
|
||||
command="/usr/sbin/nullmailer-send"
|
||||
|
||||
start_stop_daemon_args="--chdir /var/nullmailer --user nullmail:nullmail"
|
||||
|
||||
required_dirs="/var/nullmailer"
|
||||
pidfile="/run/nullmailer.pid"
|
||||
command_background="true"
|
||||
|
||||
depend() {
|
||||
use net logger
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
local error=0
|
||||
local f=/etc/nullmailer/me
|
||||
if [ ! -s ${f} ]; then
|
||||
eerror "${f} does not exist"
|
||||
error=1
|
||||
fi
|
||||
f=/etc/nullmailer/defaultdomain
|
||||
if [ ! -s ${f} ]; then
|
||||
eerror "${f} does not exist"
|
||||
error=1
|
||||
fi
|
||||
if [ ${error} -eq 1 ]; then
|
||||
einfo "You need to run 'emerge --config nullmailer'!"
|
||||
fi
|
||||
if [ -e /service/nullmailer ]; then
|
||||
eerror "Nullmailer is already running under svscan!"
|
||||
error=2
|
||||
fi
|
||||
if [ ${error} -ne 0 ]; then
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
fi
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkconfig
|
||||
}
|
||||
|
||||
stop_pre() {
|
||||
checkconfig # to avoid init.d stopping svscan instance
|
||||
}
|
@ -1,125 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.11-r1.ebuild,v 1.5 2013/02/28 17:52:54 zx2c4 Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="1.10.3"
|
||||
inherit eutils flag-o-matic autotools user multilib
|
||||
|
||||
MY_P="${P/_rc/RC}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DEBIAN_PV=1.11
|
||||
DEBIAN_PR="1"
|
||||
DEBIAN_P="${PN}-${DEBIAN_PV}"
|
||||
DEBIAN_PF="${DEBIAN_P/-/_}-${DEBIAN_PR}"
|
||||
DEBIAN_SRC="${DEBIAN_PF}.debian.tar.gz"
|
||||
DESCRIPTION="Simple relay-only local mail transport agent"
|
||||
SRC_URI="http://untroubled.org/${PN}/archive/${MY_P}.tar.gz
|
||||
mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}"
|
||||
HOMEPAGE="http://untroubled.org/nullmailer/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
IUSE="ssl"
|
||||
|
||||
DEPEND="sys-apps/groff
|
||||
ssl? ( net-libs/gnutls )"
|
||||
RDEPEND="virtual/shadow
|
||||
virtual/logger
|
||||
ssl? ( net-libs/gnutls )
|
||||
!mail-mta/courier
|
||||
!mail-mta/esmtp
|
||||
!mail-mta/exim
|
||||
!mail-mta/mini-qmail
|
||||
!mail-mta/msmtp
|
||||
!mail-mta/netqmail
|
||||
!mail-mta/postfix
|
||||
!mail-mta/qmail-ldap
|
||||
!mail-mta/sendmail
|
||||
!mail-mta/opensmtpd
|
||||
!mail-mta/ssmtp"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/nullmailer-1.10/nullmailer-1.11/g' \
|
||||
"${WORKDIR}"/debian/patches/*.diff || die
|
||||
EPATCH_OPTS="-d ${S} -p1" \
|
||||
epatch "${DISTDIR}"/${DEBIAN_SRC}
|
||||
# why revert? Ask Robin when he is back!
|
||||
EPATCH_OPTS="-d ${WORKDIR} -p0 -R" \
|
||||
epatch "${WORKDIR}"/debian/patches/02_ipv6.diff
|
||||
# this fixes the debian daemon/syslog to actually compile
|
||||
sed -i.orig \
|
||||
-e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \
|
||||
"${S}"/src/Makefile.am || die "Sed failed"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup nullmail 88
|
||||
enewuser nullmail 88 -1 /var/nullmailer nullmail
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Note that we pass a different directory below due to bugs in the makefile!
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
$(use_enable ssl tls)
|
||||
}
|
||||
|
||||
src_install () {
|
||||
einstall localstatedir="${D}"/var/nullmailer
|
||||
dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README TODO
|
||||
# A small bit of sample config
|
||||
insinto /etc/nullmailer
|
||||
newins "${FILESDIR}"/remotes.sample-1.11 remotes
|
||||
# daemontools stuff
|
||||
dodir /var/nullmailer/service{,/log}
|
||||
insinto /var/nullmailer/service
|
||||
newins scripts/nullmailer.run run
|
||||
fperms 700 /var/nullmailer/service/run
|
||||
insinto /var/nullmailer/service/log
|
||||
newins scripts/nullmailer-log.run run
|
||||
fperms 700 /var/nullmailer/service/log/run
|
||||
# usability
|
||||
dodir /usr/$(get_libdir)
|
||||
dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
|
||||
# permissions stuff
|
||||
keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue}
|
||||
fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue}
|
||||
fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
|
||||
fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
|
||||
fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger}
|
||||
fperms 660 /var/nullmailer/trigger
|
||||
newinitd "${FILESDIR}"/init.d-nullmailer-r2 nullmailer
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[ ! -e "${ROOT}"/var/nullmailer/trigger ] && mkfifo "${ROOT}"/var/nullmailer/trigger
|
||||
chown nullmail:nullmail "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue,trigger}
|
||||
chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue}
|
||||
chmod 660 "${ROOT}"/var/nullmailer/trigger
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "To create an initial setup, please do:"
|
||||
elog "emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
#echo
|
||||
#elog "To start nullmailer at boot you may use either the nullmailer init.d"
|
||||
#elog "script, or emerge sys-process/supervise-scripts, enable the"
|
||||
#elog "svscan init.d script and create the following link:"
|
||||
#elog "ln -fs /var/nullmailer/service /service/nullmailer"
|
||||
#echo
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then
|
||||
einfo "Setting /etc/nullmailer/me"
|
||||
/bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me
|
||||
fi
|
||||
if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then
|
||||
einfo "Setting /etc/nullmailer/defaultdomain"
|
||||
/bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain
|
||||
fi
|
||||
}
|
@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.11.ebuild,v 1.7 2013/02/28 17:52:54 zx2c4 Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="1.10.3"
|
||||
inherit eutils flag-o-matic autotools user multilib
|
||||
|
||||
MY_P="${P/_rc/RC}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DEBIAN_PV=1.11
|
||||
DEBIAN_PR="1"
|
||||
DEBIAN_P="${PN}-${DEBIAN_PV}"
|
||||
DEBIAN_PF="${DEBIAN_P/-/_}-${DEBIAN_PR}"
|
||||
DEBIAN_SRC="${DEBIAN_PF}.debian.tar.gz"
|
||||
DESCRIPTION="Simple relay-only local mail transport agent"
|
||||
SRC_URI="http://untroubled.org/${PN}/archive/${MY_P}.tar.gz
|
||||
mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}"
|
||||
HOMEPAGE="http://untroubled.org/nullmailer/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
|
||||
IUSE="ssl"
|
||||
|
||||
DEPEND="sys-apps/groff
|
||||
ssl? ( net-libs/gnutls )"
|
||||
RDEPEND="virtual/shadow
|
||||
virtual/logger
|
||||
ssl? ( net-libs/gnutls )
|
||||
!mail-mta/courier
|
||||
!mail-mta/esmtp
|
||||
!mail-mta/exim
|
||||
!mail-mta/mini-qmail
|
||||
!mail-mta/msmtp
|
||||
!mail-mta/netqmail
|
||||
!mail-mta/postfix
|
||||
!mail-mta/qmail-ldap
|
||||
!mail-mta/sendmail
|
||||
!mail-mta/opensmtpd
|
||||
!mail-mta/ssmtp"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/nullmailer-1.10/nullmailer-1.11/g' \
|
||||
"${WORKDIR}"/debian/patches/*.diff || die
|
||||
EPATCH_OPTS="-d ${S} -p1" \
|
||||
epatch "${DISTDIR}"/${DEBIAN_SRC}
|
||||
# why revert? Ask Robin when he is back!
|
||||
EPATCH_OPTS="-d ${WORKDIR} -p0 -R" \
|
||||
epatch "${WORKDIR}"/debian/patches/02_ipv6.diff
|
||||
# this fixes the debian daemon/syslog to actually compile
|
||||
sed -i.orig \
|
||||
-e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \
|
||||
"${S}"/src/Makefile.am || die "Sed failed"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup nullmail 88
|
||||
enewuser nullmail 88 -1 /var/nullmailer nullmail
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Note that we pass a different directory below due to bugs in the makefile!
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
$(use_enable ssl tls)
|
||||
}
|
||||
|
||||
src_install () {
|
||||
einstall localstatedir="${D}"/var/nullmailer
|
||||
dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README TODO
|
||||
# A small bit of sample config
|
||||
insinto /etc/nullmailer
|
||||
newins "${FILESDIR}"/remotes.sample-1.04 remotes
|
||||
# daemontools stuff
|
||||
dodir /var/nullmailer/service{,/log}
|
||||
insinto /var/nullmailer/service
|
||||
newins scripts/nullmailer.run run
|
||||
fperms 700 /var/nullmailer/service/run
|
||||
insinto /var/nullmailer/service/log
|
||||
newins scripts/nullmailer-log.run run
|
||||
fperms 700 /var/nullmailer/service/log/run
|
||||
# usablity
|
||||
dodir /usr/$(get_libdir)
|
||||
dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
|
||||
# permissions stuff
|
||||
keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue}
|
||||
fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue}
|
||||
fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
|
||||
fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
|
||||
fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger}
|
||||
fperms 660 /var/nullmailer/trigger
|
||||
newinitd "${FILESDIR}"/init.d-nullmailer-r1 nullmailer
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[ ! -e "${ROOT}"/var/nullmailer/trigger ] && mkfifo "${ROOT}"/var/nullmailer/trigger
|
||||
chown nullmail:nullmail "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue,trigger}
|
||||
chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue}
|
||||
chmod 660 "${ROOT}"/var/nullmailer/trigger
|
||||
|
||||
elog "To create an initial setup, please do:"
|
||||
elog "emerge --config =${CATEGORY}/${PF}"
|
||||
echo
|
||||
elog "To start nullmailer at boot you may use either the nullmailer init.d"
|
||||
elog "script, or emerge sys-process/supervise-scripts, enable the"
|
||||
elog "svscan init.d script and create the following link:"
|
||||
elog "ln -fs /var/nullmailer/service /service/nullmailer"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then
|
||||
einfo "Setting /etc/nullmailer/me"
|
||||
/bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me
|
||||
fi
|
||||
if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then
|
||||
einfo "Setting /etc/nullmailer/defaultdomain"
|
||||
/bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain
|
||||
fi
|
||||
}
|
@ -1,130 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.13.ebuild,v 1.1 2013/07/25 19:10:34 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib systemd user
|
||||
|
||||
MY_P="${P/_rc/RC}"
|
||||
|
||||
DEBIAN_PV=1.11
|
||||
DEBIAN_PR="2"
|
||||
DEBIAN_P="${PN}-${DEBIAN_PV}"
|
||||
DEBIAN_PF="${DEBIAN_P/-/_}-${DEBIAN_PR}"
|
||||
DEBIAN_SRC="${DEBIAN_PF}.debian.tar.gz"
|
||||
|
||||
DESCRIPTION="Simple relay-only local mail transport agent"
|
||||
HOMEPAGE="http://untroubled.org/nullmailer/"
|
||||
SRC_URI="http://untroubled.org/${PN}/archive/${MY_P}.tar.gz"
|
||||
# mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="ssl"
|
||||
|
||||
DEPEND="
|
||||
sys-apps/groff
|
||||
ssl? ( net-libs/gnutls )"
|
||||
RDEPEND="
|
||||
virtual/logger
|
||||
virtual/shadow
|
||||
ssl? ( net-libs/gnutls )
|
||||
!mail-mta/courier
|
||||
!mail-mta/esmtp
|
||||
!mail-mta/exim
|
||||
!mail-mta/mini-qmail
|
||||
!mail-mta/msmtp
|
||||
!mail-mta/netqmail
|
||||
!mail-mta/postfix
|
||||
!mail-mta/qmail-ldap
|
||||
!mail-mta/sendmail
|
||||
!mail-mta/opensmtpd
|
||||
!mail-mta/ssmtp"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
# sed -i -e 's/nullmailer-1.10/nullmailer-1.11/g' \
|
||||
# "${WORKDIR}"/debian/patches/*.diff || die
|
||||
# EPATCH_OPTS="-d ${S} -p1" \
|
||||
# epatch "${DISTDIR}"/${DEBIAN_SRC}
|
||||
# why revert? Ask Robin when he is back!
|
||||
# EPATCH_OPTS="-d ${WORKDIR} -p0 -R" \
|
||||
# epatch "${WORKDIR}"/debian/patches/02_ipv6.diff
|
||||
# this fixes the debian daemon/syslog to actually compile
|
||||
sed -i.orig \
|
||||
-e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \
|
||||
"${S}"/src/Makefile.am || die "Sed failed"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup nullmail 88
|
||||
enewuser nullmail 88 -1 /var/nullmailer nullmail
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Note that we pass a different directory below due to bugs in the makefile!
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
$(use_enable ssl tls)
|
||||
}
|
||||
|
||||
src_install () {
|
||||
einstall localstatedir="${D}"/var/nullmailer
|
||||
dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README TODO
|
||||
# A small bit of sample config
|
||||
insinto /etc/nullmailer
|
||||
newins "${FILESDIR}"/remotes.sample-${PV} remotes
|
||||
# daemontools stuff
|
||||
dodir /var/nullmailer/service{,/log}
|
||||
insinto /var/nullmailer/service
|
||||
newins scripts/nullmailer.run run
|
||||
fperms 700 /var/nullmailer/service/run
|
||||
insinto /var/nullmailer/service/log
|
||||
newins scripts/nullmailer-log.run run
|
||||
fperms 700 /var/nullmailer/service/log/run
|
||||
# usability
|
||||
dodir /usr/$(get_libdir)
|
||||
dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
|
||||
# permissions stuff
|
||||
keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue}
|
||||
fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue}
|
||||
fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
|
||||
fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
|
||||
fowners nullmail:nullmail /var/log/nullmailer /var/nullmailer/{tmp,queue,trigger}
|
||||
fperms 660 /var/nullmailer/trigger
|
||||
newinitd "${FILESDIR}"/init.d-nullmailer-r2 nullmailer
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[ ! -e "${ROOT}"/var/nullmailer/trigger ] && mkfifo "${ROOT}"/var/nullmailer/trigger
|
||||
chown nullmail:nullmail "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue,trigger}
|
||||
chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue}
|
||||
chmod 660 "${ROOT}"/var/nullmailer/trigger
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "To create an initial setup, please do:"
|
||||
elog "emerge --config =${CATEGORY}/${PF}"
|
||||
fi
|
||||
#echo
|
||||
#elog "To start nullmailer at boot you may use either the nullmailer init.d"
|
||||
#elog "script, or emerge sys-process/supervise-scripts, enable the"
|
||||
#elog "svscan init.d script and create the following link:"
|
||||
#elog "ln -fs /var/nullmailer/service /service/nullmailer"
|
||||
#echo
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then
|
||||
einfo "Setting /etc/nullmailer/me"
|
||||
/bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me
|
||||
fi
|
||||
if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then
|
||||
einfo "Setting /etc/nullmailer/defaultdomain"
|
||||
/bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain
|
||||
fi
|
||||
}
|
@ -0,0 +1,217 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.4.ebuild,v 1.2 2013/09/25 08:47:58 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic libtool multilib
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EHG_REPO_URI="http://hg.debian.org/hg/xine-lib/xine-lib-1.2"
|
||||
inherit autotools mercurial eutils
|
||||
unset NLS_IUSE
|
||||
NLS_DEPEND="sys-devel/gettext"
|
||||
NLS_RDEPEND="virtual/libintl"
|
||||
else
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
|
||||
NLS_IUSE="nls"
|
||||
NLS_DEPEND="nls? ( sys-devel/gettext )"
|
||||
NLS_RDEPEND="nls? ( virtual/libintl )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Core libraries for Xine movie player"
|
||||
HOMEPAGE="http://xine.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="1"
|
||||
IUSE="a52 aac aalib +alsa altivec bluray +css directfb dts dvb dxr3 fbcon flac fusion gtk imagemagick ipv6 jack jpeg libcaca mad +mmap mng modplug musepack opengl oss pulseaudio samba sdl speex theora truetype v4l vaapi vcd vdpau vdr vidix +vis vorbis wavpack +X +xcb xinerama +xv xvmc ${NLS_IUSE}"
|
||||
|
||||
RDEPEND="${NLS_RDEPEND}
|
||||
dev-libs/libxdg-basedir
|
||||
media-libs/libdvdnav
|
||||
sys-libs/zlib
|
||||
|| ( media-video/ffmpeg:0 media-libs/libpostproc <media-video/libav-0.8.2-r1 )
|
||||
virtual/ffmpeg
|
||||
virtual/libiconv
|
||||
a52? ( media-libs/a52dec )
|
||||
aac? ( media-libs/faad2 )
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
bluray? ( >=media-libs/libbluray-0.2.1 )
|
||||
css? ( >=media-libs/libdvdcss-1.2.10 )
|
||||
directfb? ( dev-libs/DirectFB )
|
||||
dts? ( media-libs/libdca )
|
||||
dxr3? ( media-libs/libfame )
|
||||
flac? ( media-libs/flac )
|
||||
fusion? ( media-libs/FusionSound )
|
||||
gtk? ( x11-libs/gdk-pixbuf:2 )
|
||||
imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick ) )
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
libcaca? ( media-libs/libcaca )
|
||||
mad? ( media-libs/libmad )
|
||||
mng? ( media-libs/libmng )
|
||||
modplug? ( >=media-libs/libmodplug-0.8.8.1 )
|
||||
musepack? ( >=media-sound/musepack-tools-444 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( net-fs/samba )
|
||||
sdl? ( media-libs/libsdl )
|
||||
speex? (
|
||||
media-libs/libogg
|
||||
media-libs/speex
|
||||
)
|
||||
theora? (
|
||||
media-libs/libogg
|
||||
media-libs/libtheora
|
||||
)
|
||||
truetype? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
)
|
||||
v4l? ( media-libs/libv4l )
|
||||
vaapi? ( x11-libs/libva )
|
||||
vcd? (
|
||||
>=media-video/vcdimager-0.7.23
|
||||
dev-libs/libcdio[-minimal]
|
||||
)
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
vorbis? (
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
)
|
||||
wavpack? ( media-sound/wavpack )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
)
|
||||
xcb? ( x11-libs/libxcb )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xv? ( x11-libs/libXv )
|
||||
xvmc? ( x11-libs/libXvMC )"
|
||||
DEPEND="${RDEPEND}
|
||||
${NLS_DEPEND}
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/libtool-2.2.6b
|
||||
oss? ( virtual/os-headers )
|
||||
v4l? ( virtual/os-headers )
|
||||
X? (
|
||||
x11-libs/libXt
|
||||
x11-proto/xf86vidmodeproto
|
||||
x11-proto/xproto
|
||||
)
|
||||
xv? ( x11-proto/videoproto )
|
||||
xvmc? ( x11-proto/videoproto )
|
||||
xinerama? ( x11-proto/xineramaproto )"
|
||||
REQUIRED_USE="vidix? ( || ( X fbcon ) )
|
||||
xv? ( X )
|
||||
xinerama? ( X )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
epatch_user
|
||||
eautoreconf
|
||||
else
|
||||
elibtoolize
|
||||
fi
|
||||
|
||||
local x
|
||||
for x in 0 1 2 3; do
|
||||
sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
[[ ${CHOST} == i?86-* ]] && append-flags -fomit-frame-pointer #422519
|
||||
|
||||
local win32dir #197236
|
||||
if has_multilib_profile; then
|
||||
win32dir=/usr/$(ABI="x86" get_libdir)/win32
|
||||
else
|
||||
win32dir=/usr/$(get_libdir)/win32
|
||||
fi
|
||||
|
||||
local myconf
|
||||
[[ ${PV} == *9999* ]] || myconf="$(use_enable nls)"
|
||||
|
||||
econf \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable altivec) \
|
||||
$(use_enable vis) \
|
||||
--disable-optimizations \
|
||||
$(use_enable mmap) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable aalib) \
|
||||
$(use_enable directfb) \
|
||||
$(use_enable dxr3) \
|
||||
$(use_enable fbcon fb) \
|
||||
$(use_enable opengl) $(use_enable opengl glu) \
|
||||
$(use_enable vidix) \
|
||||
$(use_enable xinerama) \
|
||||
$(use_enable xvmc) \
|
||||
$(use_enable vdpau) \
|
||||
$(use_enable vaapi) \
|
||||
$(use_enable dvb) \
|
||||
--disable-gnomevfs \
|
||||
$(use_enable samba) \
|
||||
--disable-v4l $(use_enable v4l v4l2) $(use_enable v4l libv4l) \
|
||||
$(use_enable vcd) \
|
||||
$(use_enable vdr) \
|
||||
$(use_enable bluray) \
|
||||
$(use_enable a52 a52dec) \
|
||||
$(use_enable aac faad) \
|
||||
$(use_enable gtk gdkpixbuf) \
|
||||
$(use_enable jpeg libjpeg) \
|
||||
$(use_enable dts) \
|
||||
$(use_enable mad) \
|
||||
$(use_enable modplug) \
|
||||
$(use_enable musepack) \
|
||||
$(use_enable mng) \
|
||||
--disable-real-codecs \
|
||||
--disable-w32dll \
|
||||
$(use_with truetype freetype) $(use_with truetype fontconfig) \
|
||||
$(use_with X x) \
|
||||
$(use_with alsa) \
|
||||
--without-esound \
|
||||
$(use_with fusion fusionsound) \
|
||||
$(use_with jack) \
|
||||
$(use_with pulseaudio) \
|
||||
$(use_with libcaca caca) \
|
||||
$(use_with sdl) \
|
||||
$(use_with xcb) \
|
||||
--with-xv-path=/usr/$(get_libdir) \
|
||||
$(use_with imagemagick) \
|
||||
--with-external-dvdnav \
|
||||
$(use_with flac libflac) \
|
||||
$(use_with speex) \
|
||||
$(use_with theora) \
|
||||
$(use_with vorbis) \
|
||||
--with-real-codecs-path=/usr/$(get_libdir)/codecs \
|
||||
--with-w32-path=${win32dir} \
|
||||
$(use_with wavpack) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# enable verbose building, bug #448140
|
||||
emake V=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
docdir="/usr/share/doc/${PF}" \
|
||||
htmldir="/usr/share/doc/${PF}/html" \
|
||||
install
|
||||
|
||||
rm -f \
|
||||
"${ED}"usr/lib*/libxine*.la \
|
||||
"${ED}"usr/share/doc/${PF}/COPYING
|
||||
}
|
@ -1,46 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>video</herd>
|
||||
<maintainer>
|
||||
<email>media-video@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="3dnowext">Enable 3dnowext cpu instructions</flag>
|
||||
<flag name="bindist">Enforces license compatibility constraints via REQUIRED_USE.</flag>
|
||||
<flag name="bl">Blinkenlights video output</flag>
|
||||
<flag name="bluray">Enable playback of Blu-ray filesystems</flag>
|
||||
<flag name="bs2b">Enable Bauer stereophonic-to-binaural headphone filter</flag>
|
||||
<flag name="cdio">Use libcdio for CD support (instead of cdparanoia)</flag>
|
||||
<flag name="cpudetection">Enables runtime CPU detection (useful for bindist, compatibility on other CPUs)</flag>
|
||||
<flag name="dvdnav">Use forked libdvdnav, navigate menus in GUIs</flag>
|
||||
<flag name="dxr3">Enable DXR3/H+ video output</flag>
|
||||
<flag name="enca">Enables support for charset discovery and conversion</flag>
|
||||
<flag name="faac">Use external faac library for AAC encoding</flag>
|
||||
<flag name="faad">Use external faad library for AAC decoding</flag>
|
||||
<flag name="libmpeg2">Build support for mpeg2 over media-libs/libmpeg2 rather than using ffmpeg.</flag>
|
||||
<flag name="live">Enables live.com streaming media support</flag>
|
||||
<flag name="md5sum">Enables md5sum video output</flag>
|
||||
<flag name="mmxext">Enables mmx2 support</flag>
|
||||
<flag name="mng">MNG input support</flag>
|
||||
<flag name="network">Enables network streaming support</flag>
|
||||
<flag name="nut">Enables support for the NUT container format</flag>
|
||||
<flag name="osdmenu">Enables support for on-screen display (OSD) menus</flag>
|
||||
<flag name="pnm">Add PNM video output option, to create PPM/PGM/PGMYUV images</flag>
|
||||
<flag name="pvr">Enable Video4Linux2 MPEG PVR</flag>
|
||||
<flag name="radio">Enable V4L2 radio interface and support</flag>
|
||||
<flag name="rar">Enable Unique RAR File Library</flag>
|
||||
<flag name="rtc">Enables usage of the linux real time clock. The alternative is software emulation of rtc</flag>
|
||||
<flag name="rtmp">Enables RTMPDump Streaming Media support</flag>
|
||||
<flag name="shm">Enable support for shm</flag>
|
||||
<flag name="ssse3">faster floating point optimization for SSSE3 capable chips (Intel Core 2 and later chips)</flag>
|
||||
<flag name="tga">Enables Targa video output</flag>
|
||||
<flag name="toolame">Enable toolame MPEG-2 encoding</flag>
|
||||
<flag name="tremor">Enable internal support for Vorbis</flag>
|
||||
<flag name="twolame">Enable twolame MPEG-2 encoding</flag>
|
||||
<flag name="vidix">Support for vidix video output</flag>
|
||||
<flag name="xanim">Enables support for xanim based codecs</flag>
|
||||
<flag name="xvmc">Enables X-Video Motion Compensation support</flag>
|
||||
<flag name="zoran">Enables ZR360[56]7/ZR36060 video output</flag>
|
||||
</use>
|
||||
<herd>video</herd>
|
||||
<maintainer>
|
||||
<email>media-video@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="3dnowext">Enable 3dnowext cpu instructions</flag>
|
||||
<flag name="bindist">Enforces license compatibility constraints via REQUIRED_USE.</flag>
|
||||
<flag name="bl">Blinkenlights video output</flag>
|
||||
<flag name="bluray">Enable playback of Blu-ray filesystems</flag>
|
||||
<flag name="bs2b">Enable Bauer stereophonic-to-binaural headphone filter</flag>
|
||||
<flag name="cdio">Use libcdio for CD support (instead of cdparanoia)</flag>
|
||||
<flag name="cpudetection">Enables runtime CPU detection (useful for bindist, compatibility on other CPUs)</flag>
|
||||
<flag name="dvdnav">Use forked libdvdnav, navigate menus in GUIs</flag>
|
||||
<flag name="dxr3">Enable DXR3/H+ video output</flag>
|
||||
<flag name="enca">Enables support for charset discovery and conversion</flag>
|
||||
<flag name="faac">Use external faac library for AAC encoding</flag>
|
||||
<flag name="faad">Use external faad library for AAC decoding</flag>
|
||||
<flag name="libmpeg2">Build support for mpeg2 over media-libs/libmpeg2 rather than using ffmpeg.</flag>
|
||||
<flag name="live">Enables live.com streaming media support</flag>
|
||||
<flag name="md5sum">Enables md5sum video output</flag>
|
||||
<flag name="mmxext">Enables mmx2 support</flag>
|
||||
<flag name="mng">MNG input support</flag>
|
||||
<flag name="network">Enables network streaming support</flag>
|
||||
<flag name="nut">Enables support for the NUT container format</flag>
|
||||
<flag name="osdmenu">Enables support for on-screen display (OSD) menus</flag>
|
||||
<flag name="pnm">Add PNM video output option, to create PPM/PGM/PGMYUV images</flag>
|
||||
<flag name="pvr">Enable Video4Linux2 MPEG PVR</flag>
|
||||
<flag name="radio">Enable V4L2 radio interface and support</flag>
|
||||
<flag name="rar">Enable Unique RAR File Library</flag>
|
||||
<flag name="rtc">Enables usage of the linux real time clock. The alternative is software emulation of rtc</flag>
|
||||
<flag name="rtmp">Enables RTMPDump Streaming Media support</flag>
|
||||
<flag name="shm">Enable support for shm</flag>
|
||||
<flag name="ssse3">faster floating point optimization for SSSE3 capable chips (Intel Core 2 and later chips)</flag>
|
||||
<flag name="tga">Enables Targa video output</flag>
|
||||
<flag name="toolame">Enable toolame MPEG-2 encoding</flag>
|
||||
<flag name="tremor">Enable internal support for Vorbis</flag>
|
||||
<flag name="twolame">Enable twolame MPEG-2 encoding</flag>
|
||||
<flag name="vidix">Support for vidix video output</flag>
|
||||
<flag name="xanim">Enables support for xanim based codecs</flag>
|
||||
<flag name="xvmc">Enables X-Video Motion Compensation support</flag>
|
||||
<flag name="zoran">Enables ZR360[56]7/ZR36060 video output</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1 @@
|
||||
Tue, 24 Sep 2013 17:36:57 +0000
|
||||
Wed, 25 Sep 2013 11:07:38 +0000
|
||||
|
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201309-13">
|
||||
<title>GNU ZRTP: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in GNU ZRTP, some of which
|
||||
may allow execution of arbitrary code.
|
||||
</synopsis>
|
||||
<product type="ebuild">libzrtpcpp</product>
|
||||
<announced>September 24, 2013</announced>
|
||||
<revised>September 24, 2013: 1</revised>
|
||||
<bug>481228</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="net-libs/libzrtpcpp" auto="yes" arch="*">
|
||||
<unaffected range="ge">2.3.4</unaffected>
|
||||
<vulnerable range="lt">2.3.4</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>GNU ZRTP is a C++ implementation of the ZRTP protocol.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in GNU ZRTP. Please review
|
||||
the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="normal">
|
||||
<p>A remote attacker could possibly execute arbitrary code with the
|
||||
privileges of the process, cause a Denial of Service condition, or obtain
|
||||
sensitive information.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All GNU ZRTP users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=net-libs/libzrtpcpp-2.3.4"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2221">CVE-2013-2221</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2222">CVE-2013-2222</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2223">CVE-2013-2223</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Sun, 01 Sep 2013 18:53:56 +0000">ackle</metadata>
|
||||
<metadata tag="submitter" timestamp="Tue, 24 Sep 2013 22:01:15 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201309-14">
|
||||
<title>MoinMoin: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been reported in MoinMoin, the worst
|
||||
of which may allow execution of arbitrary code.
|
||||
</synopsis>
|
||||
<product type="ebuild">moinmoin</product>
|
||||
<announced>September 24, 2013</announced>
|
||||
<revised>September 24, 2013: 1</revised>
|
||||
<bug>449314</bug>
|
||||
<access>remote</access>
|
||||
<affected>
|
||||
<package name="www-apps/moinmoin" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.9.6</unaffected>
|
||||
<vulnerable range="lt">1.9.6</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>MoinMoin is a Python WikiEngine.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in MoinMoin. Please review
|
||||
the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="high">
|
||||
<p>A remote attacker may be able to execute arbitrary code with the
|
||||
privileges of the process, overwrite arbitrary files, or conduct
|
||||
Cross-Site Scripting (XSS) attacks.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All MoinMoin users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=www-apps/moinmoin-1.9.6"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6080">CVE-2012-6080</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6081">CVE-2012-6081</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6082">CVE-2012-6082</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6495">CVE-2012-6495</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Sun, 06 Jan 2013 17:22:55 +0000">ackle</metadata>
|
||||
<metadata tag="submitter" timestamp="Tue, 24 Sep 2013 22:32:39 +0000">ackle</metadata>
|
||||
</glsa>
|
@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
|
||||
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
|
||||
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
|
||||
<glsa id="201309-15">
|
||||
<title>ProFTPD: Multiple vulnerabilities</title>
|
||||
<synopsis>Multiple vulnerabilities have been found in ProFTPD, the worst of
|
||||
which leading to remote execution of arbitrary code.
|
||||
</synopsis>
|
||||
<product type="ebuild">ProFTPD</product>
|
||||
<announced>September 24, 2013</announced>
|
||||
<revised>September 24, 2013: 1</revised>
|
||||
<bug>305343</bug>
|
||||
<bug>343389</bug>
|
||||
<bug>348998</bug>
|
||||
<bug>354080</bug>
|
||||
<bug>361963</bug>
|
||||
<bug>390075</bug>
|
||||
<bug>450746</bug>
|
||||
<bug>484614</bug>
|
||||
<access>local, remote</access>
|
||||
<affected>
|
||||
<package name="net-ftp/proftpd" auto="yes" arch="*">
|
||||
<unaffected range="ge">1.3.4d</unaffected>
|
||||
<vulnerable range="lt">1.3.4d</vulnerable>
|
||||
</package>
|
||||
</affected>
|
||||
<background>
|
||||
<p>ProFTPD is an advanced and very configurable FTP server.</p>
|
||||
</background>
|
||||
<description>
|
||||
<p>Multiple vulnerabilities have been discovered in ProFTPD. Please review
|
||||
the CVE identifiers referenced below for details.
|
||||
</p>
|
||||
</description>
|
||||
<impact type="high">
|
||||
<p>A context-dependent attacker could possibly execute arbitrary code with
|
||||
the privileges of the process, perform man-in-the-middle attacks to spoof
|
||||
arbitrary SSL servers, cause a Denial of Service condition, or read and
|
||||
modify arbitrary files.
|
||||
</p>
|
||||
</impact>
|
||||
<workaround>
|
||||
<p>There is no known workaround at this time.</p>
|
||||
</workaround>
|
||||
<resolution>
|
||||
<p>All ProFTPD users should upgrade to the latest version:</p>
|
||||
|
||||
<code>
|
||||
# emerge --sync
|
||||
# emerge --ask --oneshot --verbose ">=net-ftp/proftpd-1.3.4d"
|
||||
</code>
|
||||
</resolution>
|
||||
<references>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-3555">CVE-2009-3555</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-3867">CVE-2010-3867</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-4221">CVE-2010-4221</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-4652">CVE-2010-4652</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-1137">CVE-2011-1137</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4130">CVE-2011-4130</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-6095">CVE-2012-6095</uri>
|
||||
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-4359">CVE-2013-4359</uri>
|
||||
</references>
|
||||
<metadata tag="requester" timestamp="Fri, 07 Oct 2011 23:37:05 +0000">
|
||||
underling
|
||||
</metadata>
|
||||
<metadata tag="submitter" timestamp="Tue, 24 Sep 2013 23:08:08 +0000">craig</metadata>
|
||||
</glsa>
|
@ -1 +1 @@
|
||||
Tue, 24 Sep 2013 17:36:58 +0000
|
||||
Wed, 25 Sep 2013 11:07:39 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue