more fixes
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
AUX 1.06-exit.patch 551 SHA256 400ab4719d145e29b08d266b38766b80d894d5473e4c4f3b5e436916a36a4333 SHA512 9623d4c045d1399ca035ad49f82e50a344529edffaf7c0e2f1015fe0958dfaf8814462a70b944403203d84b86852e8a01f6a3c4688228b45443258dc908e9236 WHIRLPOOL 9e7df2a478efe792fb6b392429ce32e2920baeaa4a7082493a7ddb208927d344185ddab245e2b92ec05c5471c08c18d4b75f04f093849c2305d140f8cde13a83
|
||||
AUX 1.06-fbsd-utmpx.patch 1903 SHA256 dc21eb0ce3f199e346e50a51324120310a88a2f00f7e2c6d06b1b09e3c06a373 SHA512 b6e8ff4f6f582e0d6d69072547a68a3741345d08041e29285a3bf39c016b2b15231d5b0370123a95b35473d67f1780b69d19b61ddfbddae5f463709575344481 WHIRLPOOL c78df462488090e2656aa7a5a5918fbf8bf594eaced99fb6c51c5ccaffa8fa295563abee3e9ca56e7f9cce45686e3c304f9be27be4c33b446d159994a985ab50
|
||||
AUX 1.06-readwrite.patch 237 SHA256 71b60967ca83d9c8ac0ae041298ade87174930472f4eb2628a26e30665aafd35 SHA512 4cfb7991f2b30740d007a655743e77f5271ebefb4ed31ceb44d10ee53168eec713bbe64ff3616c372851c5fe1f04e57601dc83a27f1ce9cccdd0e2fbc942b550 WHIRLPOOL 34768aaa96a56b324755187b8edc64cbd84afa3562bd7f01cf136c4c8fd91999e351221d7bb5379977887c6128efeec581b20b34f7a8e597971c25e5e1cb84d9
|
||||
AUX 99qmail 137 SHA256 b721c405ab3a13803c4647b98a3c0ffbdfb450e4a0f9e5476c1633470b0d6e50 SHA512 8b97ad912f350b7c3673b3cf3837fe9bbfbcd4bd31b67bf016a29ceb7efff6472c9edc7416edd3cc80a851aba6e894731e09d542224e14198fd3f6b320242290 WHIRLPOOL c9a718b7987d586b09859f9233fc4e5b32931e8a00b9fc9090caef804598ac423ca68336a7f14faf48f73e2a24dab15a973676fc01e837894e3c6dc9dcfc45c6
|
||||
AUX conf-common 2375 SHA256 c51efbf910e000659ce38c0fa6c1647bad966a9e53a3a3f58d5049c7fec4c126 SHA512 335c0fc13dbc6b19f39bfcf304d4dce337e63ac82cf5cfd115700cdffa066abbc503c4169233395cc3ccd740d9df67915f9231ea80d8226a298eb6c801effff4 WHIRLPOOL 23cedfa4c50bf43c5ec6202bc19b8f5648b7d27321810c094ff7f3da095b9f4a85d0fa764f37696c9b88c4cc42b4d0560c54cf433fb5447b804d7157e2aa81d4
|
||||
AUX conf-pop3d 1205 SHA256 92100277f9858cd65711fcae9662ef72d40a769b84f2ed9814e2062102836d76 SHA512 94f894b269db00f4bde1993b9718f3c1f9bfb92692feacc203d753b1d0ab5f06a08558cdf4a5b528fdf8dd894e79a67e34bbd3b2537dbf604a646a85d01e05dd WHIRLPOOL c3496bd451a2fd945c0c05552883d15b56dbe91df57e1b395bffb57c019877aeefbd240420d9506ee4232f1846cea0f4d58853abc7be2f9833d43e60e07c32f4
|
||||
AUX conf-qmqpd 463 SHA256 98ffb06e09db4329cbfb722446e18e9a127c4043b93cbbd9406cdf2c9841f381 SHA512 b81fec80b72fa1c5887f893a669a8fff88cc15f1602addd08ef0c199459dc903c5438897b14a998fcdb9d896e5ab5d8e7733a0633cea85556f974dee16be707b WHIRLPOOL 71bbb53ac5bb77c153b7f6b3572d5e70a173f11ff27066aee7898ecd61f6866146884eb565bc7e4c6f600932f958bbc909d198669d10a6cf056e3ab5810866d1
|
||||
AUX conf-qmtpd 555 SHA256 c46f2d4f0819f87a6f2e49d6d3499381f2aab36edd116a2ee20bd14cb0cb64d6 SHA512 926e2616ded8794f159fe9da850ada088f492007cfb63e9e0f27c21622a1989c1b42b57775cbf9427f863391e79bc593d043bf901192070da4afccd9c8bc75a8 WHIRLPOOL d48ad59ff80075fec1438f969108b27656b3b06a4f64757cc297ce109e57894c5c312cf1f2e3616ee418be031ec200513b7d2b4f91b5bc6ef007fa8aa2a182a9
|
||||
AUX conf-send 233 SHA256 c4fcf9e1d82a2bcc95e943aa5f81c91cc14813c1bd9a55aec62b9e2506c50af6 SHA512 1d322a1c4ad44cadf2bf058a3623daf9d252fec4e4b93c6a37f58c75455ed7a85142ac888a52eb2db2b6f6d8f5f2b706b4b796b155d616d0ec03ac731dd4fc11 WHIRLPOOL b1585babb1e4d8272cc5d7358e5b2e9094ff92e473cf716ee4506d9dd038b4dbaed83b40b8936ccdca09743f265bc0de9496845ff8acc54343b9f2823f8decfb
|
||||
AUX conf-smtpd 2069 SHA256 b887d8d903f5a6c809fdf2ac548d7e7ba3fd2975a94c189fb0940a3c8872c966 SHA512 57824fb45f2facc5a121527ca0cee71df021016bc2ee3fbb37ee11de1f0abfd94a67c4585ed6314f0acf3302118d3d2c9378715c4c6b2009c0ffe66a01a6b453 WHIRLPOOL 73c021cf29843470960784c061f8576081d9130b45bc999cd32d67e72c7855befcfd4f2ddecc8ca9323b8404a99309ec4d1c82a98a63de4e58fd92cd6413f57b
|
||||
AUX dot-qmail 82 SHA256 ceed2e098092a550d66778241149439871f5518ff2c71dc53ce05308b1a63a06 SHA512 ae2596407f1aff6b428e44032700b2da50b4e76cd015de8453e469a2ef17212865449474595fb78440089ec85b13281c9f0fab66598ca0fab1c27f99afb53c59 WHIRLPOOL 4d2ccdf2468a97888850157bb2bc1e7358bf308590e1a4eb1df69ba5478b0909cf313e4af10710c05a5bf6711694ae9bfafa1663cfe748d4502ca7f57beba355
|
||||
AUX mailer.conf 179 SHA256 7f248612dc9bb4ca3f901d6a50b4ffb452deb1eb543da33bca89ed776c95cf23 SHA512 7f7354240d97e20676277796f68f954ab511e019b2be7d42476d82d10dc829b7cf4fbbb03b675e6a4d89734989e826635214285472e344ffd0275a994d0d7fe0 WHIRLPOOL dfa0bd8199b4cfc793414fbc919433e10a497f2275e871fc06ca71db8dffdd98b283c807a18b737b1117ce239aea9642fe24244266c6727ec881727dc9fb36f8
|
||||
AUX mkservercert 1444 SHA256 17d5f1f6122b9ef2b31af1b5d2c259601168cd1b09b75645dca634486f799d04 SHA512 d7d20d753a4a45fdc2e63b59ae8a9004642f3b131b0722a8cf9d58ed4f71000e5fd4d53d5954031ee0d8cccd2e7be57d96b59004369db7ce535e69d8c28d34ad WHIRLPOOL c73f95760376735c1db61cbd0868160de56470caa028ec4aa4d5037be1080e61bcb7b9142c8a71f6ea2937af820f3eec5650b07d1c270230084122eb295e3ae5
|
||||
AUX qmail-config-system 2085 SHA256 d77a3b498ac2fd88f839edf7b725208446dafa54a396113ffdfbd77d9e34ac38 SHA512 dc892a858aa9c8f63b15ee23c6eef503520031c00bcfd13de1f5551c14509238b9cef57645617f33ecbe70ed0d70c0bc1b76e23f764ff7d11de84a01766f604e WHIRLPOOL f5d25df8e643ff37c1114b4470e40d3f5ea9eddd4608f5a4c982de714601447923ae2927f785ff252bab0817bfe207c6126294bd7ca2c0502bb05c5f9ef74a7f
|
||||
AUX qmail-genrsacert.sh 1483 SHA256 8887a6ad9f288ffe3240a50bb6fc4d188799afd15d28ce5018d0f9e2a346a748 SHA512 a6e0e5212ece6dd795f58ad8839fc5ae8a0affddbf777ae996198c6733a8d458fd0acb0581e29a9272ecaa20e11f9cfa072c51af27733e7d874b9181cf77798b WHIRLPOOL 49a5e89bc265f47d4c3a96005a7e8b3ad66489a323201953e2f301bb92a4591d7ed73fe62f1ed99293bf92a274e4dce57304dc551746d32b343a5285a2b1174e
|
||||
AUX run-qmail-pop3d 909 SHA256 1362b1c5e1125b70841992728eacc8fe14dc0e29c9198967c6c9a970ff0c1b27 SHA512 978d2d2d416b0fa10a50284cfdace3fb1387e081cef4f6a7a0e3162d905e836d0fa402317377f5e97c87a3d5feb172771af7e02460bfe264402eb299c378780f WHIRLPOOL b13121e7af5c605d09233d1bde9cef54b1864c08b8af00b197a3315e71cf91f354e24d305aebefa9264d6e6c3dc830930d0b539520ae903d61608cdbde48c6b0
|
||||
AUX run-qmail-pop3d-log 322 SHA256 894ccd51aedffd6ac9dfc1dfd1d1d23ea23793557aa16313cb241fc2c3394ad9 SHA512 50295e3cc049822ec9a2218348d22ebbb9b3e54482b10017f49129c0b8e3af31cc2532986a6f65707b0d91d19d8ec84f83509580ee295a873fa6c7d55a84448c WHIRLPOOL 59de802e631a880312ec09ca1b6e2f55a8969663463fe81fd278d1dd7ebe56546bbfa8dad733e93323f989d367a76b599352370d99956d93527d4a5f1f177ae7
|
||||
AUX run-qmail-qmqpd 839 SHA256 d368c3f6ff85f41b537da19fbc4d0a5889f497c3e7f31687ee710406d8f235de SHA512 4951ec29b2baec9567f7e69c72ab9134c7e96d6fd7d8b66443f78063cb2088eda84fc0437ac09ace3c5339fa77ddf3804fd8ce4c560972c209839ba990e84f1e WHIRLPOOL 874f62861ef2b92d4808e108df8002d70d5dd95e1b8d00402aa04cf1c88c89a0bb7eed28b121d636ac25a67cbf7d7925011e1434588006b99c3e4a5cfed6eb15
|
||||
AUX run-qmail-qmqpd-log 322 SHA256 f13b40db98ef633bf9f1d6796f47826744c62ead62ead3d31eeb31f7a22e4d5e SHA512 3df96a441e58d9a7cbd230254db2c6d6c026624e6c9a727182ccc15ae49c3ae2d4ffe99e176b60d0ce362c1e973cd943182b8fed4fee10c093abc505c32e80d1 WHIRLPOOL 3588ea70c0602d71291f73191c4e662c126029f35c043c07c6d7e5444183c3b900b18503c7670c8b3d9ded7769be282c5a5320e9f43cb150a26de3f467e115c8
|
||||
AUX run-qmail-qmtpd 839 SHA256 8fc04dfe3e5e1ffb1beef4790d087222f84404a29dcf4e3203707bd764e386cd SHA512 49ed03ae1329c854b569b8a12b035d802dd4a02ffd366de6b759abdfc23ff9ab5d92240fd8dfd80e4634f6acf05f23dd2b9743bf1b1a0721b5065534d0941cf4 WHIRLPOOL b700d1696f777e47d225143f2d378e83f59819bc9f23796d5d4b90871fe0f3add6ac4234dc921937fca14e4266745e729355deb10f5b6d064265b16726f1968a
|
||||
AUX run-qmail-qmtpd-log 322 SHA256 b98e8e112823458eb006bfb9543ea884410e27a97be0a240ad110ab1d4d72e52 SHA512 300590d78c14fa05c270ddaffcb77a6f2d4cb8aa90c237aa9d37610b4dec98e0e359de3c178a3262d5cb2e443398824dd7158bc195e089fb7920265964445f08 WHIRLPOOL edb10526fb00cd312f20d25343a403899f0121444f3ad8d4eca5b7c005605f588eb5b1331262b390cbcc8008c9ba05c31f8d9eaa83069f995b22c8007e94b0af
|
||||
AUX run-qmail-send 267 SHA256 03c1cadb582d9810064a848424caf9fd35590260ca517dc1447d3722174aca07 SHA512 7acf1f2899f7d01f39d834619d724091e23ec88a3d885e74e702cea46663b36eb8cdd5b596f61c4bafdc5037784c89391dba0903743c935296e508c22249cade WHIRLPOOL 442afce1dfa9243215209b39234ce2a42809a2ad44efde6e6dec330a6451ffef923f7253454c799fab5714c02a34b40f1676f351ddc834d7ebb2a5a48319b7e8
|
||||
AUX run-qmail-send-log 321 SHA256 3977df622fae12b1f4f0fbd9695ccfdfc0063882d6d76fb2b2678351c60713ab SHA512 293548bdefda439d49adc1a3b7aa69a249419e6933971d3b876f3643a90340660c8c4217b50828c9f825e61beae72e8c218990ca25df571cd68bb1e6530cd988 WHIRLPOOL 7fd555a6ead8af79a12d787a46a8ffd5705f07fe25bd2b50ed2d3eea6d1583270e056d44e49a6e01db68a94474e85fbb52366927c4fb54f957c0e508b8669a64
|
||||
AUX run-qmail-smtpd 839 SHA256 fda1d42ad010acb316694ce6827286b3daf7bac248ced93847e97cece8ffb12f SHA512 0194f54fb5b840b471e9492b95a4863ee276066cac45638fd562deec672e603a66ac1903fe34cea13d1733dee5a64af8385880fb984624c96468c6b5e1469baf WHIRLPOOL cb4b3c00fd20171e9f31f99b673167e924a5b524ab63d6754372b7ae311a62bf13a6b5563794902636fca1a0e3a5d45f07e892ce8040a1a9640367a7976866f1
|
||||
AUX run-qmail-smtpd-log 322 SHA256 c213418ca663ef28260e982f4250d0906ac3ca7991e8380b46b96ff48277cb8c SHA512 8debdd5a03568b6ba02e5168712b5c47f949041115a507d26a73d1064f2a24d3974fabc9d620a8750923776e98b3c06d8afb172a68fed570d92d6beb70dd2084 WHIRLPOOL c78d7d5a83e695d256015c1f21ac59a5df3488b168ddf98003dc49a0312dd265ae7b0edc4fab5705590648e6919f07524f91981c920bfd47002ff38fd96a0e24
|
||||
AUX servercert.cnf 1008 SHA256 da0282f96e6dfd886d565c0793975ef0f1114cd59c2f8e310b7b3e7c57d8330c SHA512 bc6e7df14bc79edcfd79b519b98b16f725252058b52ea8d801eaa284af6f52628dc0e0ec425348829fbfc6f9da96beabee94465e6bf0565bd9543dba9781a49a WHIRLPOOL d2319a8bb0eb5fe78dbb4a27691aa2fc1d2ee8b1f6b14de073d05f428a270b22845bf8adf89a8435a38c08894317de9185b025e9e15fc4538439b272cafe8f89
|
||||
AUX tcp.pop3.sample 517 SHA256 3f04ad47c10e7466ea9bd18b38bd809066734fb9616858bf75bb95e18e28253c SHA512 c10fb79fbd093ff16f8373a2b193bc9aaa64726baff96cf6ee7bfe7d903b1d3c9c21b038bc2ed079495d1527bc8585aa6a392a3b7f9c0dcaf7f0df3694ac8eff WHIRLPOOL 653512741cd3b81ccc941ca109e96b6ce6182b11dcdc41774c880b2ad79c7cfd9404e1eec00623677632bc05c8107a5cea3cc0db8d7cc93f07d0e6bf5052b934
|
||||
AUX tcp.qmqp.sample 571 SHA256 17dc778b0ad88b42f3f15f2bc94d3448b65bd5f436c5f21a92d0012be827cecc SHA512 d3210ed3e1859ceeba6f2ab05d08edce90029fb3f8e288d61a5cb753e335bc004b93738fd6ee63de3700412a3ad9dd6a5da3454292cf0310620d8cf6629849d9 WHIRLPOOL c78905b4e07ca9111b6d8125f1bb1d30af55acd9de8046d39f84e1a0127b48ef50b736cf9a36b8159d6d99817761a25f4566c6ab83197dc46fc5145efb686e6c
|
||||
AUX tcp.qmtp.sample 994 SHA256 d5c63cdb489a4675c58d13cd3dd977b874bffcada17861eae149960cb394932c SHA512 076cec99c66296e9ba64ae4133dd90bdcf385e8b2f13b7d450f3b5ba219e6d2b399f82fb5ac6a19cd776f053e2f2f1d1c623fa1d48411c10b935dc35c09c507d WHIRLPOOL 11de73c24e0d1c72e0bededb1c01707d93cc2608233c5b32a4e9d8dac9686e3904ffb197088563935216d6448223769612d59b1195dc7d7b865d013934445392
|
||||
AUX tcp.smtp.sample 3582 SHA256 93a85748d29a997a208c557d059682cfac74bc532cd5efc561afdc02b2925d10 SHA512 f2b251106a0690a4cb2f66284ca65cbd958c8b4ad1c369f6725aa7fec5322b7876b691319e37fd2ee0977cd2100a914cc516ee686b41d8dfe566adf68aa0f259 WHIRLPOOL 1e71c66ff526b7f1bcdc822dab13fc6ce50b2b043ab16f9f0367291ba0043691e9187c6f280127d523765a42cbffb157c62d897a162633f2d3bfea1da9bc7120
|
||||
AUX tcprules.d-Makefile.qmail 132 SHA256 505e202a5a28a036669e51d3fb51d3c02a3a35d76764c5e3f4fa0c43564a89d6 SHA512 f8f11edba3d12c32f4ccb29120aa4d79d738b88e86a89c59e1f5c5fc7568c7d42e98715817d60738666db7b8c20a83b4f4dd8a4af57a7b0d9d0232c2d41554b9 WHIRLPOOL 05a429373dd58d4361d44ad188869260cda5f7a40abf7e980b266d97b67264f1aeae7899251f3949b88f3fdf3b3c394c3652d0b97fb9ed4cd70804fd71fc74ea
|
||||
DIST big-todo.103.patch 5546 SHA256 afa0a249e3271badd442f0bdae39997d9fe536157d8a0d62b6706f3dfcd11a72 SHA512 fe6e19a94fb7dbe51f7164e38a91d8edb636251569d44ace1e146fe5f607b240edafb2884daaac481ff3219142ab553cfd5b01786e0dfc4662ef07336b789975 WHIRLPOOL ac9c2ce18e8c3bda85287c998661f2192c986daaad197bd358e1966cb97b4dbe0146bc0e334a251fc0ec3e42a7caa3f9a479a8c2c8e7777c790cb8af078d5d13
|
||||
DIST genqmail-20080406.tar.bz2 10252 SHA256 501ca2120c7619569bd9ac3e0035cb0022bfd0cdc9c720b5c43c9e3a4eb07ce8 SHA512 744d0968307bfedebf0ca7bc0d5bd0780884326acaf5fea0a66fb91f8b0caf5ba52eb443c9cb2a7d6389622ca5c87100c3204ec3408aed8ef5fb1e7f80ff0d35 WHIRLPOOL b385cd2d5e88795f163a4f49dc81a2080d7076ec2016ee7d8154df4488effa7112caf0577c8dc8ff654665213aa4120a21de8223f3dd51056fa189546ace3cf5
|
||||
DIST netqmail-1.05-tls-smtpauth-20070417.patch 67942 SHA256 573de07d57ac6941a42dda645079213cf36fcbb7f3a8c254b8447709e5e5cd60 SHA512 ce5fb50ae9a7683b708eeb65c68a0db47c5817eb3fc14457c4f7c5746916ca2734c647a2369bf6f1240477ee818e3e7d7870aec3edbad2eaace179cba6267e41 WHIRLPOOL a5bf8ecfcd6f0b76d9c10a318d93aecbf7778e59a1a88432f38e051859fc926a7e2a688d55e8326d6c58c1690f453025eeb1dd64b9b603f37b132c18d22fbcd8
|
||||
DIST netqmail-1.06.tar.gz 260941 SHA256 8e7d98d15211fc9f9c28109e942e2268f42a6672d68df92a42f2afa90ff00532 SHA512 de40a6d8fac502bd785010434d99b99f2c0524e10aea3d0f2a0d35c70fce91e991eb1fb8f20a1276eb56d7e73130ea5e2c178f6075d138af47b28d9ca6e6046b WHIRLPOOL 167bd5c290f13bf7d39daae0a6245afa1bcf760b01fd7ffcc88676f02a9ed1013c545c9f87c4d6e05ee7b073c838ee1613f97cb75ae3eab65106e32040d74712
|
||||
DIST qmail-103.patch 2104 SHA256 4cad53c7a6628a600c74c36bfee327db5052ca24c222d4013e4dfcd7f427653d SHA512 b81062bb0b0023f474c0b6af40601926e1c04ad395de480d114809e48a8060c06d99bdbdeb6f44d9e24ae1acedabb094b979193d305371aed958f18fc6eee354 WHIRLPOOL 5785684b98b9d9732ed14aa1b53910746bd09aa93514e0e6ef3d74831c3df8ed0a55f257057488f34a3d462e485b7a4417ed255f66abaff6dd63d881b9230063
|
||||
DIST qmail-spp-0.42.tar.gz 18689 SHA256 1518e7e82d10fbbb8ecc520f51daf503edeb9c3a9fb935be65a8185e7b53808d SHA512 03449862886a0ca20fbadab4c94b34b55d185f8df3261bd68aea99e9ded9edfab4477c6b38a8e0295e9b38b0045615da8b1a906a458f28745eadd3c4d882bcbf WHIRLPOOL 2f8525bb264fbec4b057bad6d92968e29085fdf10b8538b8e572d81ea8793e74c07c6093d0cc2a34de00b629e797b048007b30e3845dce76829037fdb44f527c
|
||||
DIST vu555316.patch 617 SHA256 cc7b2876ecb183fe55c280404c1c825a6bd1f6ccc87db67e7cfc8bc6336f9b0f SHA512 5d7810360e5eaa8e8ee141fe92c765d9458aa12198a8d0ac702e0630e08d060ad4a1d33690d434f20f5aff79eb200cd8173bebc334c411e340c0198b5d8d1a65 WHIRLPOOL 2564d5622576b89918e247de5dd830011e8ef18a50fd03e6f48e98ebf4a53db2f4994eb0fb22a76c4cd0cbb35b457ac2a5507e05159130a72685866137c5ebc1
|
||||
EBUILD netqmail-1.06-r1.ebuild 3805 SHA256 0c7018d25dc83feda1e40837567fd0309a0b5e780802a5d58db63b05e814d33b SHA512 711a55fe899c53440f5a643e043a2eb87c7d8d8edad86440304eae2a7c30f6866aed371e414e06f5ffa8a1212060b14f93c68f0e7bfcd73196696113a49dfd73 WHIRLPOOL 730958c951f422ed821c76ffa6ff0651f768809d33837b7c4e81f737170cb444cced35ffda35adee5ab3c8161fea93e8004ff76e091d19e7d96809b551c9f42a
|
||||
EBUILD netqmail-1.06-r2.ebuild 4064 SHA256 1b1f832c8c2e62b944ef743b6e59809522802c67b36c0be1a9538c666d6945f1 SHA512 ed68a17264979b48a09b9c9610a7a275b5f79bd2450e76316a64bb636418b68e51fc0a30c20f102a26bfdf18ed1a9ac21c996c425769a516243b3afcc2debc20 WHIRLPOOL cde2d8a87fd3a5ab69ef5f2d7bd042ba1abe4e07716255c4349dadc279ce7fcc96fadf659c59152dd9d121019a7762a9cd8e71b1074030d8ea20aba7c7d04f9e
|
||||
MISC metadata.xml 516 SHA256 f292c206d2b72eaec7e1760157d397dee4d817f3a9fd75057e97580d373de339 SHA512 f00d8c402214dcfb97b25ed2979e04714b23086fb66e92da96f34543f733b39f5154460d83d08790e05ffddc88525729abf57737a2c3e8a7ef4f5a87a936104c WHIRLPOOL a6579767b6101c1aac09bdd435f8159d5046f2d13fd2aad4bee3ba05439baee85999da8d4898587e938891f6bfbcb10f52542ec4c3ee035abf12d61dfa026252
|
||||
@@ -1,18 +0,0 @@
|
||||
Index: netqmail-1.06/qmail-pw2u.c
|
||||
===================================================================
|
||||
--- netqmail-1.06.orig/qmail-pw2u.c
|
||||
+++ netqmail-1.06/qmail-pw2u.c
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include "substdio.h"
|
||||
Index: netqmail-1.06/qmail-qmtpd.c
|
||||
===================================================================
|
||||
--- netqmail-1.06.orig/qmail-qmtpd.c
|
||||
+++ netqmail-1.06/qmail-qmtpd.c
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <unistd.h>
|
||||
#include "stralloc.h"
|
||||
#include "substdio.h"
|
||||
#include "qmail.h"
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/readwrite.h b/readwrite.h
|
||||
index 2a64968..0a641a3 100644
|
||||
--- a/readwrite.h
|
||||
+++ b/readwrite.h
|
||||
@@ -1,7 +1,4 @@
|
||||
#ifndef READWRITE_H
|
||||
#define READWRITE_H
|
||||
-
|
||||
-extern int read();
|
||||
-extern int write();
|
||||
-
|
||||
+#include <unistd.h>
|
||||
#endif
|
||||
@@ -1,4 +0,0 @@
|
||||
PATH="/var/qmail/bin"
|
||||
ROOTPATH="/var/qmail/bin"
|
||||
CONFIG_PROTECT="/var/qmail/control /var/qmail/alias"
|
||||
QMAIL_CONTROLDIR=/var/qmail/control
|
||||
@@ -1,67 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Common Configuration file for all qmail daemons
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-common,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# Qmail User IDS to run daemons as
|
||||
QMAILDUID=$(id -u qmaild)
|
||||
NOFILESGID=$(id -g qmaild)
|
||||
QMAILLUID=$(id -u qmaill)
|
||||
|
||||
# Qmail Control Dir (this is actually set in /etc/env.d/99qmail)
|
||||
#QMAIL_CONTROLDIR=/var/qmail/control
|
||||
|
||||
# Host and port to listen on
|
||||
# We listen on the IPv4 local ip by default
|
||||
TCPSERVER_HOST=0.0.0.0
|
||||
TCPSERVER_PORT=${SERVICE}
|
||||
|
||||
# you do not need to specify -x, -c, -u or -g in this variable as those are
|
||||
# added later
|
||||
TCPSERVER_OPTS="-p -v"
|
||||
|
||||
# This tells tcpserver where to file the rules cdb file
|
||||
[[ -d /etc/tcprules.d/ ]] && \
|
||||
TCPSERVER_RULESCDB=/etc/tcprules.d/tcp.qmail-${SERVICE}.cdb
|
||||
[[ ! -f "${TCPSERVER_RULESCDB}" ]] && \
|
||||
TCPSERVER_RULESCDB=/etc/tcp.${SERVICE}.cdb
|
||||
|
||||
# we limit data and stack segments to 8mbytes, you may need to raise this if
|
||||
# you are using a filter in QMAILQUEUE
|
||||
SOFTLIMIT_OPTS="-m 16000000"
|
||||
|
||||
# We don't have anything to set QMAILQUEUE to at the moment, so we leave it
|
||||
# alone. Generally it is best to add this in your appropriate (usually SMTP)
|
||||
# cdb files at /etc/tcprules.d/tcp.qmail-*.cdb instead of on a global basis, as
|
||||
# otherwise outgoing mail will be checked (because qmail-queue is used for most
|
||||
# parts of qmail). You can also enable this per-server by just placing it into
|
||||
# the other configuration files by placing the line there instead. Please note
|
||||
# that the export part is important.
|
||||
#export QMAILQUEUE=""
|
||||
|
||||
# tcpserver maximum concurrency, defaults to 40 in tcpserver
|
||||
# this controls the maximum number of incoming connections that it will accept
|
||||
if [[ -e ${QMAIL_CONTROLDIR}/concurrencyincoming ]]
|
||||
then
|
||||
MAXCONN=$(head -n 1 ${QMAIL_CONTROLDIR}/concurrencyincoming)
|
||||
else
|
||||
MAXCONN=40
|
||||
fi
|
||||
|
||||
# logging directives
|
||||
LOG_OPTS="t" # 't' is for timestamp
|
||||
LOG_MAXSIZE=2500000 # defalts to '99999' if empty
|
||||
LOG_MAXCOUNT=10 # defaults to '10' if empty
|
||||
|
||||
# build LOG_OPTS from this
|
||||
[[ -n "${LOG_MAXSIZE}" ]] && \
|
||||
LOG_OPTS="${LOG_OPTS} s${LOG_MAXSIZE}"
|
||||
[[ -n "${LOG_MAXCOUNT}" ]] && \
|
||||
LOG_OPTS="${LOG_OPTS} n${LOG_MAXCOUNT}"
|
||||
|
||||
# directory to log to
|
||||
LOG_DEST=/var/log/qmail/qmail-${SERVICE}d
|
||||
|
||||
# BIG FAT WARNING:
|
||||
# If you disable this by uncommenting it you will turn _off_ the configuration
|
||||
# sanity check do so at your own risk!
|
||||
#QMAIL_DISABLE_SANITY_CHECK=1
|
||||
@@ -1,29 +0,0 @@
|
||||
# Configuration file for qmail-pop3d
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-pop3d,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# Stuff to run before tcpserver
|
||||
#QMAIL_TCPSERVER_PRE=""
|
||||
# Stuff to run before the authenticator
|
||||
#QMAIL_POP3_PREAUTH=""
|
||||
# Stuff to run after the user has authenticated successfully
|
||||
#QMAIL_POP3_POSTAUTH=""
|
||||
|
||||
# this should contain the FQDN of your server
|
||||
# by default it pulls the value from qmail
|
||||
# which should be correct
|
||||
QMAIL_POP3_POP3HOST="$(<${QMAIL_CONTROLDIR}/me)"
|
||||
|
||||
# If you want POP3 before SMTP, and you are using this POP3 daemon
|
||||
# uncomment the next two lines
|
||||
#QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl relay-ctrl-chdir"
|
||||
#QMAIL_POP3_POSTAUTH="${QMAIL_POP3_POSTAUTH} /usr/bin/relay-ctrl-allow"
|
||||
|
||||
# This controls what password authentication tool POP3 uses
|
||||
# It must support DJB's checkpassword interface (http://cr.yp.to/checkpwd.html)
|
||||
QMAIL_POP3_CHECKPASSWORD="/bin/checkpassword"
|
||||
# cmd5checkpw only validates passwords from /etc/poppasswd
|
||||
#QMAIL_POP3_CHECKPASSWORD="/bin/cmd5checkpw"
|
||||
|
||||
# The name of the maildir in each user's directory.
|
||||
# This should be the same thing that defaultdelivery points to
|
||||
QMAIL_MAILDIR=".maildir"
|
||||
@@ -1,15 +0,0 @@
|
||||
# Configuration file for qmail-qmqpd
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-qmqpd,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# Stuff to run before tcpserver
|
||||
#QMAIL_TCPSERVER_PRE=""
|
||||
# Stuff to run qmail-qmqpd
|
||||
#QMAIL_QMQP_PRE=""
|
||||
# Stuff to after qmail-qmqpd
|
||||
#QMAIL_QMQP_POST=""
|
||||
|
||||
# this turns off the IDENT grab attempt on connecting
|
||||
TCPSERVER_OPTS="${TCPSERVER_OPTS} -R"
|
||||
|
||||
# I don't trust /etc/services to have obscure ports
|
||||
TCPSERVER_PORT=628
|
||||
@@ -1,18 +0,0 @@
|
||||
# Configuration file for qmail-qmtpd
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-qmtpd,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# For more information on making your servers talk QMTP
|
||||
# see http://cr.yp.to/im/mxps.html
|
||||
|
||||
# Stuff to run before tcpserver
|
||||
#QMAIL_TCPSERVER_PRE=""
|
||||
# Stuff to run qmail-qmtpd
|
||||
#QMAIL_QMTP_PRE=""
|
||||
# Stuff to after qmail-qmtpd
|
||||
#QMAIL_QMTP_POST=""
|
||||
|
||||
# this turns off the IDENT grab attempt on connecting
|
||||
TCPSERVER_OPTS="${TCPSERVER_OPTS} -R"
|
||||
|
||||
# I don't trust /etc/services to have obscure ports
|
||||
TCPSERVER_PORT=209
|
||||
@@ -1,6 +0,0 @@
|
||||
# Configuration file for qmail-send
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-send,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# directory to log to
|
||||
# override conf-common on this
|
||||
LOG_DEST=/var/log/qmail/qmail-send
|
||||
@@ -1,51 +0,0 @@
|
||||
# Configuration file for qmail-smtpd
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/conf-smtpd,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# Stuff to run before tcpserver
|
||||
#QMAIL_TCPSERVER_PRE=""
|
||||
# Stuff to run qmail-smtpd
|
||||
#QMAIL_SMTP_PRE=""
|
||||
# Stuff to after qmail-smtpd
|
||||
#QMAIL_SMTP_POST=""
|
||||
|
||||
# this turns off the IDENT grab attempt on connecting
|
||||
TCPSERVER_OPTS="${TCPSERVER_OPTS} -R"
|
||||
|
||||
# fixcrio inserts missing CRs at the ends of lines. See:
|
||||
# http://cr.yp.to/ucspi-tcp/fixcrio.html
|
||||
# http://cr.yp.to/docs/smtplf.html
|
||||
# DO NOT enable this when you are using SSL/TLS (USE=ssl)!
|
||||
#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} fixcrio"
|
||||
|
||||
# You might want to use rblsmtpd with this, but you need to fill in a RBL
|
||||
# server here first, see http://cr.yp.to/ucspi-tcp/rblsmtpd.html for more
|
||||
# details
|
||||
#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} rblsmtpd -r RBL-SERVER"
|
||||
|
||||
# If you are interested in providing POP or IMAP before SMTP type relaying,
|
||||
# emerge relay-ctrl, then uncomment the next 2 lines
|
||||
#QMAIL_TCPSERVER_PRE="${QMAIL_TCPSERVER_PRE} envdir /etc/relay-ctrl relay-ctrl-chdir"
|
||||
#QMAIL_SMTP_PRE="${QMAIL_SMTP_PRE} relay-ctrl-check"
|
||||
# In /etc/courier-imap/authdaemonrc add the next line to the end:
|
||||
#authmodulelist="${authmodulelist} relay-ctrl-allow"
|
||||
# Then in /etc/courier-imap/{imapd,imapd-ssl,pop3d,pop3d-ssl}
|
||||
# Add this at the end
|
||||
#PRERUN="${PRERUN} envdir /etc/relay-ctrl relay-ctrl-chdir"
|
||||
|
||||
# This next block is for SMTP-AUTH
|
||||
|
||||
# WARNING: If you've installed qmail with USE=noauthcram, and you want to use
|
||||
# the following programs, you proably need to install them.
|
||||
|
||||
# Example using cmd5checkpw
|
||||
# See the manpage for cmd5checkpw for details on the passwords
|
||||
#QMAIL_SMTP_CHECKPASSWORD="/bin/cmd5checkpw"
|
||||
|
||||
# Example for checkpassword-pam (emerge checkpassword-pam)
|
||||
# Don't forget to make /usr/bin/checkpassword-pam sticky (see README.auth)
|
||||
#QMAIL_SMTP_CHECKPASSWORD="/usr/bin/checkpassword-pam -s system-auth"
|
||||
|
||||
[[ -n "${QMAIL_SMTP_CHECKPASSWORD}" ]] && {
|
||||
[[ -z "${QMAIL_SMTP_POST}" ]] && QMAIL_SMTP_POST=/bin/true
|
||||
QMAIL_SMTP_POST="${QMAIL_SMTP_CHECKPASSWORD} ${QMAIL_SMTP_POST}"
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
# Uncomment the next line for .forward support
|
||||
#|dot-forward .forward
|
||||
./.maildir/
|
||||
@@ -1,6 +0,0 @@
|
||||
# Execute the real programs from qmail
|
||||
#
|
||||
sendmail /var/qmail/bin/sendmail
|
||||
send-mail /var/qmail/bin/sendmail
|
||||
mailq /var/qmail/bin/qmail-qread
|
||||
newaliases /var/qmail/bin/newaliases
|
||||
@@ -1,55 +0,0 @@
|
||||
#!/bin/bash
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/mkservercert,v 1.2 2007/05/05 05:16:58 vapier Exp $
|
||||
# Self-signed certificate generator for Qmail under Gentoo
|
||||
# Robin H. Johnson <robbat2@gentoo.org> - October 17, 2003
|
||||
# Based on mkimapdcert from courier-imap.
|
||||
|
||||
test -x /usr/bin/openssl || exit 0
|
||||
source /etc/init.d/functions.sh || exit 1
|
||||
|
||||
filedir="/var/qmail/control"
|
||||
pemfile="${filedir}/servercert.pem"
|
||||
randfile="${filedir}/servercert.rand"
|
||||
conffile="${filedir}/servercert.cnf"
|
||||
|
||||
# file details for pemfile
|
||||
mode="0640"
|
||||
uid="qmaild"
|
||||
gid="qmail"
|
||||
|
||||
# expire on certifcate
|
||||
days="365"
|
||||
|
||||
if test -f $pemfile
|
||||
then
|
||||
eerror "$pemfile already exists."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ewarn "Please customize ${conffile} before continuing!"
|
||||
einfo "Press ENTER to continue, or CTRL-C to stop now."
|
||||
read
|
||||
|
||||
# setup the temp file
|
||||
cp /dev/null $pemfile
|
||||
chmod 600 $pemfile
|
||||
chown root $pemfile
|
||||
|
||||
cleanup() {
|
||||
rm -f $pemfile
|
||||
rm -f $randfile
|
||||
exit 1
|
||||
}
|
||||
|
||||
dd if=/dev/urandom of=${randfile} bs=64 count=1 2>/dev/null
|
||||
chmod 600 ${randfile}
|
||||
einfo "Creating self-signed certificate"
|
||||
/usr/bin/openssl req -new -x509 -days ${days} -nodes \
|
||||
-config ${conffile} -out $pemfile -keyout $pemfile -rand ${randfile} || cleanup
|
||||
einfo "Certificate details"
|
||||
/usr/bin/openssl x509 -subject -dates -fingerprint -noout -in $pemfile || cleanup
|
||||
chown ${uid}:${gid} ${pemfile}
|
||||
chmod ${mode} ${pemfile}
|
||||
#qmail needs an extra item
|
||||
ln -s ${pemfile} ${filedir}/clientcert.pem
|
||||
rm -f $randfile
|
||||
@@ -1,72 +0,0 @@
|
||||
#!/bin/bash
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/qmail-config-system,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# This is a configuration system to make using and controlling the interesting
|
||||
# parts of the qmail behavior simple. The only variable that needs to be set
|
||||
# before running this is $SERVICE.
|
||||
|
||||
# this is to inherit QMAIL_CONTROLDIR
|
||||
. /etc/profile
|
||||
|
||||
# now run
|
||||
# grab the common configuration
|
||||
[[ -s ${QMAIL_CONTROLDIR}/conf-common ]] && \
|
||||
. ${QMAIL_CONTROLDIR}/conf-common
|
||||
|
||||
# grab the per-service configuration
|
||||
[[ -s ${QMAIL_CONTROLDIR}/conf-${SERVICE}d ]] && \
|
||||
. ${QMAIL_CONTROLDIR}/conf-${SERVICE}d
|
||||
|
||||
# special case for qmail-send
|
||||
[[ "${SERVICE}" = send && -s ${QMAIL_CONTROLDIR}/conf-send ]] && \
|
||||
. ${QMAIL_CONTROLDIR}/conf-send
|
||||
|
||||
# you may want to disable this at some point, so I give you the choice here
|
||||
if [[ -z "${QMAIL_DISABLE_SANITY_CHECK}" ]]
|
||||
then
|
||||
# This is intended solely to stop qmail eating up all your hard disk space with logs
|
||||
|
||||
CONFIG_SANITY_GOOD=
|
||||
|
||||
# check simple stuff first
|
||||
if [[ -z "${QMAILDUID}" || -z "${NOFILESGID}" || -z "${SERVICE}" || -z "${QMAILLUID}" ]]
|
||||
then
|
||||
echo "SERVICE(${SERVICE}), QMAILDUID(${QMAILDUID}), NOFILESGID(${NOFILESGID}) or "\
|
||||
"QMAILLUID(${QMAILLUID}) is unset in $0"
|
||||
CONFIG_SANITY_GOOD=0
|
||||
fi
|
||||
|
||||
if [[ -z "${LOG_OPTS}" || -z "${LOG_DEST}" ]]
|
||||
then
|
||||
echo "LOG_OPTS: ${LOG_OPTS}"
|
||||
echo "LOG_DEST: ${LOG_DEST}"
|
||||
echo "Error in logging setup!"
|
||||
CONFIG_SANITY_GOOD=0
|
||||
fi
|
||||
|
||||
if [[ "${SERVICE}" = smtp &&
|
||||
! -f ${QMAIL_CONTROLDIR}/rcpthosts &&
|
||||
-z "${QMAIL_DISABLE_SANITY_CHECK}" ]]
|
||||
then
|
||||
echo "No /var/qmail/control/rcpthosts!"
|
||||
echo "Refusing to start SMTP listener because it'll create an open relay"
|
||||
CONFIG_SANITY_GOOD=0
|
||||
fi
|
||||
|
||||
if [[ "${SERVICE}" != send && ! -f "${TCPSERVER_RULESCDB}" ]]
|
||||
then
|
||||
echo "No CDB file found (${TCPSERVER_RULESCDB})"
|
||||
CONFIG_SANITY_GOOD=0
|
||||
fi
|
||||
|
||||
if [[ -n "${CONFIG_SANITY_GOOD}" ]]
|
||||
then
|
||||
echo "Some error detected in ${SERVICE}, sleeping for 90 seconds for safety"
|
||||
sleep 90s
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "Failed to find sanity checker!"
|
||||
sleep 30s
|
||||
exit 1
|
||||
fi
|
||||
@@ -1,44 +0,0 @@
|
||||
#!/bin/bash
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/qmail-genrsacert.sh,v 1.2 2006/05/06 20:15:11 hansmi Exp $
|
||||
# Robin H. Johnson <robbat2@gentoo.org> - October 17, 2003
|
||||
#
|
||||
# This file generates the static temporary RSA keys needed for qmail to encrypt
|
||||
# messages. It should be run from a crontab, once a day is ok on low load
|
||||
# machines, but if you do lots of mail, once per hour is more reasonable if you
|
||||
# do NOT create the rsa512.pem, qmail will generate it on the fly for each
|
||||
# connection, which can be VERY slow.
|
||||
|
||||
confdir=${ROOT}/var/qmail/control
|
||||
|
||||
# the key should be 0600
|
||||
# which is readable by qmaild only!
|
||||
umaskvalue="0077"
|
||||
uid="qmaild"
|
||||
gid="qmail"
|
||||
|
||||
umask ${umaskvalue}
|
||||
|
||||
# If you want to renice this process, uncomment the following line:
|
||||
# renice +15 "$$" >/dev/null
|
||||
|
||||
# This is a list with bits of the generated keys. They should
|
||||
# be a power of 2 ideally and must be more than 64.
|
||||
keys="512 1024"
|
||||
|
||||
for bits in ${keys}
|
||||
do
|
||||
pemfile="${confdir}/rsa${bits}.pem"
|
||||
tmpfile="${confdir}/rsa${bits}.pem.tmp"
|
||||
|
||||
# we need to make sure that all of the operations succeed
|
||||
/usr/bin/openssl genrsa -out ${tmpfile} ${bits} 2>/dev/null && \
|
||||
/bin/chown ${uid}:${gid} ${tmpfile} && \
|
||||
/bin/mv -f ${tmpfile} ${pemfile} || exit 1
|
||||
|
||||
dhfile="${confdir}/dh${bits}.pem"
|
||||
dtmpfile="${confdir}/dh${bits}.pem.tmp"
|
||||
|
||||
/usr/bin/openssl dhparam -2 -out ${dtmpfile} ${bits} 2>/dev/null && \
|
||||
/bin/chown ${uid}:${gid} ${dtmpfile} && \
|
||||
/bin/mv -f ${dtmpfile} ${dhfile} || exit 1
|
||||
done
|
||||
@@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Gentoo Startup script for qmail's POP3 daemon
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-pop3d,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# If you need to edit this file, please look at editing conf-smtpd and
|
||||
# conf-common first. If you still need to change this file, you should probably
|
||||
# file a bug on the bugzilla saying what you wanted to change so that
|
||||
# modifications can be made possible via the configuration files.
|
||||
|
||||
SERVICE=pop3
|
||||
. /var/qmail/bin/qmail-config-system && \
|
||||
exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \
|
||||
${QMAIL_TCPSERVER_PRE} \
|
||||
/usr/bin/tcpserver ${TCPSERVER_OPTS} -x ${TCPSERVER_RULESCDB} \
|
||||
-c ${MAXCONN} \
|
||||
${TCPSERVER_HOST} ${TCPSERVER_PORT} \
|
||||
${QMAIL_POP3_PREAUTH} /var/qmail/bin/qmail-popup ${QMAIL_POP3_POP3HOST} \
|
||||
${QMAIL_POP3_CHECKPASSWORD} ${QMAIL_POP3_POSTAUTH} \
|
||||
/var/qmail/bin/qmail-pop3d ${QMAIL_MAILDIR} 2>&1
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Gentoo Startup script for qmail's POP3 daemon (logging)
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-pop3d-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
SERVICE=pop3
|
||||
. /var/qmail/bin/qmail-config-system && \
|
||||
eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST}
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Gentoo Startup script for qmail's QMQP daemon
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-qmqpd,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# If you need to edit this file, please look at editing conf-smtpd and
|
||||
# conf-common first. If you still need to change this file, you should probably
|
||||
# file a bug on the bugzilla saying what you wanted to change so that
|
||||
# modifications can be made possible via the configuration files.
|
||||
|
||||
SERVICE=qmqp
|
||||
. /var/qmail/bin/qmail-config-system && \
|
||||
exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \
|
||||
${QMAIL_TCPSERVER_PRE} \
|
||||
/usr/bin/tcpserver ${TCPSERVER_OPTS} -x ${TCPSERVER_RULESCDB} \
|
||||
-c ${MAXCONN} -u ${QMAILDUID} -g ${NOFILESGID} \
|
||||
${TCPSERVER_HOST} ${TCPSERVER_PORT} \
|
||||
${QMAIL_QMQP_PRE} /var/qmail/bin/qmail-${SERVICE}d ${QMAIL_QMQP_POST} \
|
||||
2>&1
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Gentoo Startup script for qmail's QMQP daemon (logging)
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-qmqpd-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
SERVICE=qmqp
|
||||
. /var/qmail/bin/qmail-config-system && \
|
||||
eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST}
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Gentoo Startup script for qmail's QMTP daemon
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-qmtpd,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# If you need to edit this file, please look at editing conf-smtpd and
|
||||
# conf-common first. If you still need to change this file, you should probably
|
||||
# file a bug on the bugzilla saying what you wanted to change so that
|
||||
# modifications can be made possible via the configuration files.
|
||||
|
||||
SERVICE=qmtp
|
||||
. /var/qmail/bin/qmail-config-system && \
|
||||
exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \
|
||||
${QMAIL_TCPSERVER_PRE} \
|
||||
/usr/bin/tcpserver ${TCPSERVER_OPTS} -x ${TCPSERVER_RULESCDB} \
|
||||
-c ${MAXCONN} -u ${QMAILDUID} -g ${NOFILESGID} \
|
||||
${TCPSERVER_HOST} ${TCPSERVER_PORT} \
|
||||
${QMAIL_QMTP_PRE} /var/qmail/bin/qmail-${SERVICE}d ${QMAIL_QMTP_POST} \
|
||||
2>&1
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Gentoo Startup script for qmail's QMTP daemon (logging)
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-qmtpd-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
SERVICE=qmtp
|
||||
. /var/qmail/bin/qmail-config-system && \
|
||||
eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST}
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Init script for qmail-send
|
||||
# Copied from LWQ
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-send,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
exec env - PATH="/var/qmail/bin:$PATH" \
|
||||
qmail-start "`cat /var/qmail/control/defaultdelivery`"
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Gentoo Startup script for qmail's send daemon (logging)
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-send-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
SERVICE=send
|
||||
. /var/qmail/bin/qmail-config-system && \
|
||||
eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST}
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Gentoo Startup script for qmail's SMTP daemon
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-smtpd,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
# If you need to edit this file, please look at editing conf-smtpd and
|
||||
# conf-common first. If you still need to change this file, you should probably
|
||||
# file a bug on the bugzilla saying what you wanted to change so that
|
||||
# modifications can be made possible via the configuration files.
|
||||
|
||||
SERVICE=smtp
|
||||
. /var/qmail/bin/qmail-config-system && \
|
||||
exec /usr/bin/softlimit ${SOFTLIMIT_OPTS} \
|
||||
${QMAIL_TCPSERVER_PRE} \
|
||||
/usr/bin/tcpserver ${TCPSERVER_OPTS} -x ${TCPSERVER_RULESCDB} \
|
||||
-c ${MAXCONN} -u ${QMAILDUID} -g ${NOFILESGID} \
|
||||
${TCPSERVER_HOST} ${TCPSERVER_PORT} \
|
||||
${QMAIL_SMTP_PRE} /var/qmail/bin/qmail-${SERVICE}d ${QMAIL_SMTP_POST} \
|
||||
2>&1
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Gentoo Startup script for qmail's SMTP daemon (logging)
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/run-qmail-smtpd-log,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
|
||||
SERVICE=smtp
|
||||
. /var/qmail/bin/qmail-config-system && \
|
||||
eval exec /usr/bin/setuidgid qmaill /usr/bin/multilog ${LOG_OPTS} ${LOG_DEST}
|
||||
@@ -1,35 +0,0 @@
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/netqmail/files/servercert.cnf,v 1.1 2006/02/12 18:42:33 hansmi Exp $
|
||||
# This is the openssl config file to generate keys for qmail
|
||||
|
||||
[ req ]
|
||||
# you can increase this value, but be aware that it will make things much slower
|
||||
# this should be a power of 2!
|
||||
default_bits = 1024
|
||||
# leave the rest of these alone!
|
||||
encrypt_key = yes
|
||||
distinguished_name = req_dn
|
||||
x509_extensions = cert_type
|
||||
prompt = no
|
||||
|
||||
[ req_dn ]
|
||||
# 2-Letter ISO country code
|
||||
C=US
|
||||
# FULL name of state/province/district
|
||||
# NO abbreviations!
|
||||
ST=Alabama
|
||||
# FULL name of city
|
||||
# NO abbreviations!
|
||||
L=Mobile
|
||||
# Full Name of your organization
|
||||
# NO abbreviations!
|
||||
O=Foobar Systems
|
||||
# Leave this alone unless specifically need to change it!
|
||||
OU=Automatically-generated Qmail SMTP SSL key
|
||||
# This should be a FQDN that resolves to the IP of your server
|
||||
CN=localhost
|
||||
# This should be the email address for the administrator of the server
|
||||
emailAddress=postmaster@localhost
|
||||
|
||||
# Leave this alone!
|
||||
[ cert_type ]
|
||||
nsCertType = server
|
||||
@@ -1,12 +0,0 @@
|
||||
# to update the database after changing this file, run:
|
||||
# tcprules /etc/tcprules.d/tcp.qmail-pop3.cdb /etc/tcprules.d/.tcp.qmail-pop3.tmp < /etc/tcprules.d/tcp.qmail-pop3
|
||||
|
||||
# For the full documentation on the format of this file,
|
||||
# see http://cr.yp.to/ucspi-tcp/tcprules.html
|
||||
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# Allow any client to connect to us via POP3. If people are abusing POP3 such
|
||||
# as denial-of-service on POP3, you can add their IP addresses here to block
|
||||
# them out.
|
||||
:allow
|
||||
@@ -1,14 +0,0 @@
|
||||
# to update the database after changing this file, run:
|
||||
# tcprules /etc/tcprules.d/tcp.qmail-qmqp.cdb /etc/tcprules.d/.tcp.qmail-qmqp.tmp < /etc/tcprules.d/tcp.qmail-qmqp
|
||||
|
||||
# For the full documentation on the format of this file,
|
||||
# see http://cr.yp.to/ucspi-tcp/tcprules.html
|
||||
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# QMQP is a bulk protocol and we don't want spam to ever come by it and it is
|
||||
# intended to go between a few servers only so we don't trust any default
|
||||
# people with it.
|
||||
# see /etc/tcprules.d/tcp.qmail-smtp for more info
|
||||
|
||||
:deny
|
||||
@@ -1,23 +0,0 @@
|
||||
# to update the database after changing this file, run:
|
||||
# tcprules /etc/tcprules.d/tcp.qmail-qmtp.cdb /etc/tcprules.d/.tcp.qmail-qmtp.tmp < /etc/tcprules.d/tcp.qmail-qmtp
|
||||
|
||||
# For the full documentation on the format of this file,
|
||||
# see http://cr.yp.to/ucspi-tcp/tcprules.html
|
||||
|
||||
#----------------------------------------------------------------
|
||||
|
||||
# We trust QMTP connections just as SMTP by default. See
|
||||
# /etc/tcprules.d/tcp.qmail-smtp for more info.
|
||||
|
||||
# allow relaying from localhost
|
||||
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD=""
|
||||
|
||||
# everybody else is not allowed to relay, and is subject to RBLSMTPD checks
|
||||
:allow
|
||||
|
||||
# If you are using qmail-scanner, this line here is the correct one to use
|
||||
# instead (comment out the above ':allow' line FIRST) and applies that script
|
||||
# to any mail coming in that is not from a host allowed to relay. You can
|
||||
# change the value of the variable to any other value you desire to use custom
|
||||
# scripts for example.
|
||||
#:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
|
||||
@@ -1,79 +0,0 @@
|
||||
# to update the database after changing this file, run:
|
||||
# tcprules /etc/tcprules.d/tcp.qmail-smtp.cdb /etc/tcprules.d/.tcp.qmail-smtp.tmp < /etc/tcprules.d/tcp.qmail-smtp
|
||||
|
||||
# For the full documentation on the format of this file,
|
||||
# see http://cr.yp.to/ucspi-tcp/tcprules.html
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
# Short description of the rules
|
||||
|
||||
# If you set 'allow', this means that our mail server will allow the specified
|
||||
# IP address range to make a TCP connection to our server.
|
||||
|
||||
# If you set 'deny', this means that our mail server will not allow the
|
||||
# specified IP address range to make a TCP connection to our server.
|
||||
|
||||
# If you set RELAYCLIENT="", this means that the listed IP address range is
|
||||
# allowed to relay mail through our server.
|
||||
|
||||
# If you don't set RELAYCLIENT="", this means that the listed IP address range
|
||||
# will not be able to relay mail through our server.
|
||||
|
||||
# If you set RBLSMTPD="", this means that the listed IP address ranges will not
|
||||
# be checked against any of the RBL databases.
|
||||
|
||||
# If you set RBLSMTPD="some text here", this means that an RBL lookup won't be
|
||||
# performed, but the mail will be rejected with the specified text as a 4xx
|
||||
# temp error message.
|
||||
|
||||
# If you set RBLSMTPD="-some text here", this means that an RBL lookup won't be
|
||||
# performed, but the mail will be rejected with the specified text as a 5xx
|
||||
# permanent error message.
|
||||
|
||||
# If you do not set RBLSMTPD="" or ="some text", then an RBL lookup will be
|
||||
# performed. If the lookup is successful, then RBLSMTPD will return your custom
|
||||
# error message (as specified in the -r parameter in smtpd supervise script).
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
# Bypass open relay checking for these IP addresses:
|
||||
|
||||
# These IP addresses are ones that we have setup so that they aren't RBL
|
||||
# checked. We have done this because these particular servers are RBL listed,
|
||||
# and for whatever reason they can't/won't fix their open relay problem, and we
|
||||
# still want to be able to receive mail from them.
|
||||
|
||||
# reminder text goes here for this entry so we know the story...
|
||||
#111.111.111.111:allow,RBLSMTPD=""
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
# Do not allow these IP addresses to send e-mails to us:
|
||||
|
||||
#1.2.3.:allow,RBLSMTPD="-Connections refused due to spam from domain.tld"
|
||||
#4.5.6.7:allow,RBLSMTPD="-Connections refused due to spam from domain2.tld"
|
||||
#8.9.10.11-100:allow,RBLSMTPD="-Connections from this IP have been banned"
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
# Allow these IP addresses to relay mail trough our server
|
||||
|
||||
# IP addresses from our LAN are allowed to relay, and we won't bother doing any
|
||||
# RBL checking.
|
||||
#192.168.1.:allow,RELAYCLIENT="",RBLSMTPD=""
|
||||
|
||||
# Connections from localhost are allowed to relay (because the Webmail server
|
||||
# runs on localhost), and obviously there is no point trying to perform an RBL
|
||||
# check.
|
||||
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD=""
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
# Allow everyone else to send us e-mails:
|
||||
|
||||
# Everyone else can make connections to our server, but not allowed to relay.
|
||||
# RBL lookups are performed.
|
||||
:allow
|
||||
|
||||
# If you are using qmail-scanner, this line here is the correct one to use
|
||||
# instead (comment out the above ':allow' line FIRST) and applies that script
|
||||
# to any mail coming in that is not from a host allowed to relay. You can
|
||||
# change the value of the variable to any other value you desire to use custom
|
||||
# scripts for example.
|
||||
#:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
|
||||
@@ -1,3 +0,0 @@
|
||||
QMAIL_CDBS = tcp.qmail-pop3.cdb tcp.qmail-qmqp.cdb tcp.qmail-qmtp.cdb tcp.qmail-smtp.cdb
|
||||
CDBS += $(QMAIL_CDBS)
|
||||
qmail: $(QMAIL_CDBS)
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qmail</herd>
|
||||
<use>
|
||||
<flag name='tls'>Enable TLS support</flag>
|
||||
<flag name='authcram'>Enable AUTHCRAM support</flag>
|
||||
<flag name='gencertdaily'>Generate SSL certificates daily instead of
|
||||
hourly</flag>
|
||||
<flag name='highvolume'>Prepare netqmail for high volume servers</flag>
|
||||
<flag name='noauthcram'>If you do NOT want AUTHCRAM to be
|
||||
available</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,164 +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/netqmail/netqmail-1.06-r1.ebuild,v 1.2 2013/05/27 00:45:52 robbat2 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GENQMAIL_PV=20080406
|
||||
QMAIL_SPP_PV=0.42
|
||||
|
||||
QMAIL_TLS_PV=20070417
|
||||
QMAIL_TLS_F=${PN}-1.05-tls-smtpauth-${QMAIL_TLS_PV}.patch
|
||||
|
||||
QMAIL_BIGTODO_PV=103
|
||||
QMAIL_BIGTODO_F=big-todo.${QMAIL_BIGTODO_PV}.patch
|
||||
|
||||
QMAIL_LARGE_DNS='qmail-103.patch'
|
||||
|
||||
inherit eutils qmail
|
||||
|
||||
DESCRIPTION="qmail -- a secure, reliable, efficient, simple message transfer agent"
|
||||
HOMEPAGE="
|
||||
http://netqmail.org
|
||||
http://cr.yp.to/qmail.html
|
||||
http://qmail.org
|
||||
"
|
||||
SRC_URI="mirror://qmail/${P}.tar.gz
|
||||
http://dev.gentoo.org/~hollow/distfiles/${GENQMAIL_F}
|
||||
http://www.ckdhr.com/ckd/${QMAIL_LARGE_DNS}
|
||||
!vanilla? (
|
||||
highvolume? ( mirror://qmail/${QMAIL_BIGTODO_F} )
|
||||
qmail-spp? ( mirror://sourceforge/qmail-spp/${QMAIL_SPP_F} )
|
||||
ssl? ( http://shupp.org/patches/${QMAIL_TLS_F} )
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="authcram gencertdaily highvolume qmail-spp ssl vanilla"
|
||||
REQUIRED_USE='vanilla? ( !ssl !qmail-spp !highvolume )'
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
!mail-mta/qmail
|
||||
net-mail/queue-repair
|
||||
ssl? ( dev-libs/openssl )
|
||||
"
|
||||
RDEPEND="
|
||||
!mail-mta/courier
|
||||
!mail-mta/esmtp
|
||||
!mail-mta/exim
|
||||
!mail-mta/mini-qmail
|
||||
!mail-mta/msmtp[mta]
|
||||
!mail-mta/nullmailer
|
||||
!mail-mta/postfix
|
||||
!mail-mta/qmail-ldap
|
||||
!mail-mta/sendmail
|
||||
!<mail-mta/ssmtp-2.64-r2
|
||||
!>=mail-mta/ssmtp-2.64-r2[mta]
|
||||
>=sys-apps/ucspi-tcp-0.88-r17
|
||||
ssl? ( >=sys-apps/ucspi-ssl-0.70-r1 )
|
||||
virtual/daemontools
|
||||
>=net-mail/dot-forward-0.71-r3
|
||||
virtual/checkpassword
|
||||
authcram? ( >=net-mail/cmd5checkpw-0.30 )
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ -n "${QMAIL_PATCH_DIR}" ]]; then
|
||||
eerror
|
||||
eerror "The QMAIL_PATCH_DIR variable for custom patches"
|
||||
eerror "has been removed from ${PN}. If you need custom patches"
|
||||
eerror "you should create a copy of this ebuild in an overlay."
|
||||
eerror
|
||||
die "QMAIL_PATCH_DIR is not supported anymore"
|
||||
fi
|
||||
|
||||
qmail_create_users
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
genqmail_src_unpack
|
||||
use qmail-spp && qmail_spp_src_unpack
|
||||
|
||||
unpack ${P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-exit.patch
|
||||
epatch "${FILESDIR}"/${PV}-readwrite.patch
|
||||
epatch "${DISTDIR}"/${QMAIL_LARGE_DNS}
|
||||
|
||||
ht_fix_file Makefile*
|
||||
|
||||
if ! use vanilla; then
|
||||
# This patch contains relative paths and needs to be cleaned up.
|
||||
sed 's~^--- ../../~--- ~g' \
|
||||
<"${DISTDIR}"/${QMAIL_TLS_F} \
|
||||
>"${T}"/${QMAIL_TLS_F}
|
||||
use ssl && epatch "${T}"/${QMAIL_TLS_F}
|
||||
use highvolume && epatch "${DISTDIR}"/${QMAIL_BIGTODO_F}
|
||||
|
||||
if use qmail-spp; then
|
||||
if use ssl; then
|
||||
epatch "${QMAIL_SPP_S}"/qmail-spp-smtpauth-tls-20060105.diff
|
||||
else
|
||||
epatch "${QMAIL_SPP_S}"/netqmail-spp.diff
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
qmail_src_postunpack
|
||||
|
||||
# Fix bug #33818 but for netqmail (Bug 137015)
|
||||
if ! use authcram; then
|
||||
einfo "Disabled CRAM_MD5 support"
|
||||
sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c
|
||||
else
|
||||
einfo "Enabled CRAM_MD5 support"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
qmail_src_compile
|
||||
use qmail-spp && qmail_spp_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qmail_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
qmail_queue_setup
|
||||
qmail_rootmail_fixup
|
||||
qmail_tcprules_build
|
||||
|
||||
qmail_config_notice
|
||||
qmail_supervise_config_notice
|
||||
elog
|
||||
elog "If you are looking for documentation, check those links:"
|
||||
elog "http://www.gentoo.org/doc/en/qmail-howto.xml"
|
||||
elog " -- qmail/vpopmail Virtual Mail Hosting System Guide"
|
||||
elog "http://www.lifewithqmail.com/"
|
||||
elog " -- Life with qmail"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
qmail_tcprules_fixup
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
# avoid some weird locale problems
|
||||
export LC_ALL=C
|
||||
|
||||
qmail_config_fast
|
||||
qmail_tcprules_config
|
||||
qmail_tcprules_build
|
||||
|
||||
use ssl && qmail_ssl_generate
|
||||
}
|
||||
@@ -1,172 +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/netqmail/netqmail-1.06-r2.ebuild,v 1.13 2013/06/09 16:01:23 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GENQMAIL_PV=20080406
|
||||
QMAIL_SPP_PV=0.42
|
||||
|
||||
QMAIL_TLS_PV=20070417
|
||||
QMAIL_TLS_F=${PN}-1.05-tls-smtpauth-${QMAIL_TLS_PV}.patch
|
||||
QMAIL_TLS_CVE=vu555316.patch
|
||||
|
||||
QMAIL_BIGTODO_PV=103
|
||||
QMAIL_BIGTODO_F=big-todo.${QMAIL_BIGTODO_PV}.patch
|
||||
|
||||
QMAIL_LARGE_DNS='qmail-103.patch'
|
||||
|
||||
inherit eutils qmail
|
||||
|
||||
DESCRIPTION="qmail -- a secure, reliable, efficient, simple message transfer agent"
|
||||
HOMEPAGE="
|
||||
http://netqmail.org
|
||||
http://cr.yp.to/qmail.html
|
||||
http://qmail.org
|
||||
"
|
||||
SRC_URI="mirror://qmail/${P}.tar.gz
|
||||
http://dev.gentoo.org/~hollow/distfiles/${GENQMAIL_F}
|
||||
http://www.ckdhr.com/ckd/${QMAIL_LARGE_DNS}
|
||||
http://inoa.net/qmail-tls/${QMAIL_TLS_CVE}
|
||||
!vanilla? (
|
||||
highvolume? ( mirror://qmail/${QMAIL_BIGTODO_F} )
|
||||
qmail-spp? ( mirror://sourceforge/qmail-spp/${QMAIL_SPP_F} )
|
||||
ssl? ( http://shupp.org/patches/${QMAIL_TLS_F} )
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE="authcram gencertdaily highvolume qmail-spp ssl vanilla"
|
||||
REQUIRED_USE='vanilla? ( !ssl !qmail-spp !highvolume )'
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
!mail-mta/qmail
|
||||
net-mail/queue-repair
|
||||
ssl? ( dev-libs/openssl )
|
||||
sys-apps/groff
|
||||
"
|
||||
RDEPEND="
|
||||
!mail-mta/courier
|
||||
!mail-mta/esmtp
|
||||
!mail-mta/exim
|
||||
!mail-mta/mini-qmail
|
||||
!mail-mta/msmtp[mta]
|
||||
!mail-mta/nullmailer
|
||||
!mail-mta/postfix
|
||||
!mail-mta/qmail-ldap
|
||||
!mail-mta/sendmail
|
||||
!<mail-mta/ssmtp-2.64-r2
|
||||
!>=mail-mta/ssmtp-2.64-r2[mta]
|
||||
>=sys-apps/ucspi-tcp-0.88-r17
|
||||
ssl? ( >=sys-apps/ucspi-ssl-0.70-r1 )
|
||||
virtual/daemontools
|
||||
>=net-mail/dot-forward-0.71-r3
|
||||
virtual/checkpassword
|
||||
authcram? ( >=net-mail/cmd5checkpw-0.30 )
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ -n "${QMAIL_PATCH_DIR}" ]]; then
|
||||
eerror
|
||||
eerror "The QMAIL_PATCH_DIR variable for custom patches"
|
||||
eerror "has been removed from ${PN}. If you need custom patches"
|
||||
eerror "you should create a copy of this ebuild in an overlay."
|
||||
eerror
|
||||
die "QMAIL_PATCH_DIR is not supported anymore"
|
||||
fi
|
||||
|
||||
qmail_create_users
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
genqmail_src_unpack
|
||||
use qmail-spp && qmail_spp_src_unpack
|
||||
|
||||
unpack ${P}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-exit.patch
|
||||
epatch "${FILESDIR}"/${PV}-readwrite.patch
|
||||
epatch "${DISTDIR}"/${QMAIL_LARGE_DNS}
|
||||
epatch "${FILESDIR}"/${PV}-fbsd-utmpx.patch
|
||||
|
||||
ht_fix_file Makefile*
|
||||
|
||||
if ! use vanilla; then
|
||||
# This patch contains relative paths and needs to be cleaned up.
|
||||
sed 's~^--- ../../~--- ~g' \
|
||||
<"${DISTDIR}"/${QMAIL_TLS_F} \
|
||||
>"${T}"/${QMAIL_TLS_F}
|
||||
use ssl && epatch "${T}"/${QMAIL_TLS_F}
|
||||
use ssl && epatch "${DISTDIR}"/${QMAIL_TLS_CVE}
|
||||
use highvolume && epatch "${DISTDIR}"/${QMAIL_BIGTODO_F}
|
||||
|
||||
if use qmail-spp; then
|
||||
if use ssl; then
|
||||
epatch "${QMAIL_SPP_S}"/qmail-spp-smtpauth-tls-20060105.diff
|
||||
else
|
||||
epatch "${QMAIL_SPP_S}"/netqmail-spp.diff
|
||||
fi
|
||||
cd "${WORKDIR}"
|
||||
epatch "${FILESDIR}"/genqmail-20080406-ldflags.patch
|
||||
cd -
|
||||
fi
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
qmail_src_postunpack
|
||||
|
||||
# Fix bug #33818 but for netqmail (Bug 137015)
|
||||
if ! use authcram; then
|
||||
einfo "Disabled CRAM_MD5 support"
|
||||
sed -e 's,^#define CRAM_MD5$,/*&*/,' -i "${S}"/qmail-smtpd.c
|
||||
else
|
||||
einfo "Enabled CRAM_MD5 support"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
qmail_src_compile
|
||||
use qmail-spp && qmail_spp_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
qmail_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
qmail_queue_setup
|
||||
qmail_rootmail_fixup
|
||||
qmail_tcprules_build
|
||||
|
||||
qmail_config_notice
|
||||
qmail_supervise_config_notice
|
||||
elog
|
||||
elog "If you are looking for documentation, check those links:"
|
||||
elog "http://www.gentoo.org/doc/en/qmail-howto.xml"
|
||||
elog " -- qmail/vpopmail Virtual Mail Hosting System Guide"
|
||||
elog "http://www.lifewithqmail.com/"
|
||||
elog " -- Life with qmail"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
qmail_tcprules_fixup
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
# avoid some weird locale problems
|
||||
export LC_ALL=C
|
||||
|
||||
qmail_config_fast
|
||||
qmail_tcprules_config
|
||||
qmail_tcprules_build
|
||||
|
||||
use ssl && qmail_ssl_generate
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
DIST svglib-0.6.3.tar.gz 543192 SHA256 d2a184cd53779bb8e7f0c488ce3fd3231dfc4338c2034e1946428685cd170da7 SHA512 49123df7aba8921cdc023bb706c2665a7088107e1c509715ed555d1db6dc0021dd6033ac901143762587288f14f15a781da99577bb92d70f63d6edad8e46d831 WHIRLPOOL f0875ba39767290e033548f028679cfafa5007cacac2adcc63b2213b1b1eafabb6d18832045eb0f22355ac854f1353cd6fb0e0fdb38b1e1b7b6c7dc7a3bcfda0
|
||||
EBUILD svglib-0.6.3.ebuild 526 SHA256 2d9a9eb0036bf96e7b0d2106beca903cce74fc84464fb556b83cb64246b6e62d SHA512 e6112ab1b26c030699b1e39da1e4b22bc2f1b37d48927359149f3c87126d1b7c1f662bc2a1dca1be01f3f404b390ef1a036ea8cf6caddc5897d9cd17217839ae WHIRLPOOL 3de51ad95d20845ec3ea7d8e8769a6aa41982bff62545175969152fc32f199bf4e2954873d96c7060a1d596cadf495ee0e6df8cfe572d15e4dde5549e3ec87af
|
||||
MISC metadata.xml 198 SHA256 a6cced7fd655d4e5e10239d91957eb486c00169084460d93433922262241bcab SHA512 33543ed4e9dc5bc7a5459c9125d4261d6fb1b148e8b11a84c87180e91fc5df01e3198145283d225e2155f0da9f601df3f52501e8e8805029fe6f4ce039ca87f6 WHIRLPOOL 721377940fa57bccddaeb00f9862f73dd97d6eb58115d7ff85e81743e89d58f16efe91d84ebc4f2dd9aeb84802aa229a2be3182b15750e38cfbe581629232f54
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<longdescription></longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
# Ebuild generated by g-pypi 0.3, then edited
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
DESCRIPTION="An experimental library for reading and converting SVG."
|
||||
HOMEPAGE="http://www.dinu-gherman.net/"
|
||||
SRC_URI="https://github.com/deeplook/svglib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST mpeg4ip-1.5.0.1.tar.gz 4826180 RMD160 fee5c21c17a470e6de349e07d233a1eb46b2064a SHA1 1271de695ed65284d9c39aa91bf26c5494603fd3 SHA256 23535dd818898ec75ffa0df22d9f27189e77361ce8a500d58328073ee247bcb6
|
||||
EBUILD libmp4v2-1.5.0.1.ebuild 1785 RMD160 28b76e842634f6809a2413477accaa1efc42f40f SHA1 e4ff7772b5c17f02e55d2d62a886225d92b4f281 SHA256 d0941f2093ad91793ace89957d96089d4f65b4067e97d2c1e9ef21516da440cb
|
||||
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/Attic/libmp4v2-1.5.0.1.ebuild,v 1.16 2009/07/13 17:42:35 ssuominen dead $
|
||||
|
||||
inherit libtool
|
||||
|
||||
DESCRIPTION="libmp4v2 extracted from mpeg4ip"
|
||||
HOMEPAGE="http://www.mpeg4ip.net/"
|
||||
SRC_URI="mirror://sourceforge/mpeg4ip/mpeg4ip-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!<media-video/mpeg4ip-1.4.1
|
||||
!<media-libs/faad2-2.0-r9"
|
||||
|
||||
S=${WORKDIR}/mpeg4ip-${PV}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
touch bootstrapped
|
||||
econf \
|
||||
--disable-warns-as-err \
|
||||
--disable-server \
|
||||
--disable-player \
|
||||
--disable-mp4live \
|
||||
--disable-id3tags \
|
||||
--disable-xvid \
|
||||
--disable-a52dec \
|
||||
--disable-mad \
|
||||
--disable-mpeg2dec \
|
||||
--disable-srtp \
|
||||
--disable-mp3lame \
|
||||
--disable-faac \
|
||||
--disable-ffmpeg \
|
||||
--disable-x264 \
|
||||
|| die "econf failed"
|
||||
|
||||
cd "${S}/lib/mp4v2"
|
||||
|
||||
sed -i -e 's:SUBDIRS = . test util:SUBDIRS = .:' Makefile \
|
||||
|| die "sed failed"
|
||||
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/lib/mp4v2"
|
||||
|
||||
make DESTDIR="${D}" install || die
|
||||
|
||||
dodoc README INTERNALS API_CHANGES TODO
|
||||
|
||||
sed -i -e 's:"mpeg4ip.h":<libmp4v2/mpeg4ip.h>:' \
|
||||
"${D}/usr/include/mp4.h" || die "sed failed"
|
||||
|
||||
dodir /usr/include/libmp4v2
|
||||
|
||||
cp "${S}/include/mpeg4ip.h" "${D}/usr/include/libmp4v2/"
|
||||
sed -i -e 's:mpeg4ip_config.h:libmp4v2/mpeg4ip_config.h:' \
|
||||
-e 's:"mpeg4ip_version.h":<libmp4v2/mpeg4ip_version.h>:' \
|
||||
"${D}/usr/include/libmp4v2/mpeg4ip.h" || die "sed failed"
|
||||
|
||||
cp "${S}/include/mpeg4ip_version.h" "${D}/usr/include/libmp4v2/"
|
||||
cp "${S}/mpeg4ip_config.h" "${D}/usr/include/libmp4v2/"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
AUX mpeg4ip-1.4.1-disable-faac-test.patch 1149 RMD160 fabfac7262e34ad8ba0aea08938fa61ca9f2c389 SHA1 a84ae2a263374edbe104c682fd2db385ff1145ca SHA256 cbe9093e82530731e4dc53973c62e3879b7297199f52f25b7d0317cfe4c0d2ba
|
||||
AUX mpeg4ip-1.5.0.1-gcc42.patch 1282 RMD160 250ae882c6737a02f0d5eac18359f030faed5168 SHA1 9a5e1334476dca239c9a9290bcb9767cfcaa0f25 SHA256 a1a03d56865fd0d2989db980e546b445e740e5d5a3241ef2639e5def125c0ff7
|
||||
AUX mpeg4ip-1.5.0.1-gcc43.patch 8090 RMD160 a3af421614d0d363bf4e24c9966c49a023495390 SHA1 8a4913da5ff135fb29ffee573263142ff7c17bac SHA256 ae85561605c8bc30bc83eedc892ee4d08a084b46e2d61561aabd9778193a23f0
|
||||
DIST mpeg4ip-1.5.0.1.tar.gz 4826180 RMD160 fee5c21c17a470e6de349e07d233a1eb46b2064a SHA1 1271de695ed65284d9c39aa91bf26c5494603fd3 SHA256 23535dd818898ec75ffa0df22d9f27189e77361ce8a500d58328073ee247bcb6
|
||||
EBUILD mpeg4ip-1.5.0.1.ebuild 3658 RMD160 bb003ac0098964350d8fd9a61e8e9f5dd06d846c SHA1 0ffb7afc549534c601acb792b67860bb17a150bd SHA256 dff196c151c0383f04ba75fcd333b91f4ad14e000e8bdd13a469ea68906bf6e3
|
||||
@@ -1,38 +0,0 @@
|
||||
--- bootstrap.orig 2005-12-20 09:02:57.000000000 -0500
|
||||
+++ bootstrap 2005-12-20 09:17:09.000000000 -0500
|
||||
@@ -45,35 +45,6 @@
|
||||
fi
|
||||
|
||||
allargs="$@"
|
||||
-#
|
||||
-# Test for faac and possible error
|
||||
-#
|
||||
-if test $target_system = "Linux"; then
|
||||
- have_faac=no
|
||||
- if which faac >/dev/null 2>/dev/null; then
|
||||
- have_faac=yes
|
||||
- fi
|
||||
-
|
||||
- if test $have_faac = "yes"; then
|
||||
- # we have lame and faac - see if faac is built with mp4 support
|
||||
- faac --help >&faac_help
|
||||
- sdf=`grep "MP4 support unavailable" faac_help`
|
||||
- rm -f faac_help
|
||||
- if test -z "$sdf"; then
|
||||
- if which mpeg4ip-config >/dev/null 2>/dev/null; then
|
||||
- echo "Warning - faac uses libmp4v, but we've detected a version"
|
||||
- echo "of mpeg4ip. If you get errors building mp4live, please"
|
||||
- echo "rebuild faac without mp4v2 support"
|
||||
- else
|
||||
- echo "Error - we have detected a version of faac that has libmp4v2 support"
|
||||
- echo "and no copy of mpeg4ip-config. This means faac was built with"
|
||||
- echo "faad2 and the libraries will be incompatible".
|
||||
- echo "Please reinstall faac without mp4v2 support"
|
||||
- exit 1
|
||||
- fi
|
||||
- fi
|
||||
- fi
|
||||
-fi
|
||||
set -x
|
||||
|
||||
# if src tree is created via cvs export to tar.gz
|
||||
@@ -1,36 +0,0 @@
|
||||
--- mpeg4ip-1.5.0.1/common/video/iso-mpeg4/include/basic.hpp.orig 2005-05-04 19:55:58.000000000 +0000
|
||||
+++ mpeg4ip-1.5.0.1/common/video/iso-mpeg4/include/basic.hpp 2006-12-13 10:15:12.283713250 +0000
|
||||
@@ -89,12 +89,9 @@
|
||||
#define transpPixel CPixel(0,0,0,0)
|
||||
#define opaquePixel CPixel(255,255,255,255)
|
||||
|
||||
-#ifndef max
|
||||
-#define max(a,b) (((a) > (b)) ? (a) : (b))
|
||||
-#endif
|
||||
-#ifndef min
|
||||
-#define min(a, b) (((a) < (b)) ? (a) : (b))
|
||||
-#endif
|
||||
+static inline long min( long x, long y ) { return ( ( x < y ) ? x : y ); }
|
||||
+static inline long max( long x, long y ) { return ( ( x > y ) ? x : y ); }
|
||||
+
|
||||
#define signOf(x) (((x) > 0) ? 1 : 0)
|
||||
#define invSignOf(x) ((x) > 0 ? 0 : 1) // see p.22/H.263
|
||||
#define sign(x) ((x) > 0 ? 1 : -1) // see p.22/H.263
|
||||
--- mpeg4ip-1.5.0.1/common/video/iso-mpeg4/src/type_basic.cpp.orig 2005-05-04 19:56:00.000000000 +0000
|
||||
+++ mpeg4ip-1.5.0.1/common/video/iso-mpeg4/src/type_basic.cpp 2006-12-13 10:41:07.856930500 +0000
|
||||
@@ -317,13 +317,13 @@
|
||||
iHalfY = m_vctTrueHalfPel.y - iMVY * 2;
|
||||
}
|
||||
|
||||
-Void CMotionVector::setToZero (Void)
|
||||
+Void CMotionVector::setToZero ()
|
||||
{
|
||||
memset (this, 0, sizeof (*this));
|
||||
}
|
||||
|
||||
// RRV insertion
|
||||
-Void CMotionVector::scaleup (Void)
|
||||
+Void CMotionVector::scaleup ()
|
||||
{
|
||||
if(m_vctTrueHalfPel.x == 0){
|
||||
m_vctTrueHalfPel_x2.x = 0;
|
||||
@@ -1,313 +0,0 @@
|
||||
--- common/video/iso-mpeg4/include/bitstrm.hpp
|
||||
+++ common/video/iso-mpeg4/include/bitstrm.hpp
|
||||
@@ -45,8 +45,8 @@
|
||||
#ifndef _BITSTREAM_HPP_
|
||||
#define _BITSTREAM_HPP_
|
||||
#include "inbits.h"
|
||||
-#include <istream.h>
|
||||
-#include <ostream.h>
|
||||
+#include <istream>
|
||||
+#include <ostream>
|
||||
|
||||
class CIOBitStream
|
||||
{
|
||||
--- common/video/iso-mpeg4/include/entropy.hpp
|
||||
+++ common/video/iso-mpeg4/include/entropy.hpp
|
||||
@@ -39,8 +39,10 @@
|
||||
#ifndef __ENTROPY_HPP_
|
||||
#define __ENTROPY_HPP_
|
||||
|
||||
-#include <istream.h>
|
||||
-#include <ostream.h>
|
||||
+#include <istream>
|
||||
+#include <ostream>
|
||||
+
|
||||
+using namespace std;
|
||||
|
||||
class CInBitStream;
|
||||
class COutBitStream;
|
||||
--- common/video/iso-mpeg4/include/vopseenc.hpp
|
||||
+++ common/video/iso-mpeg4/include/vopseenc.hpp
|
||||
@@ -79,6 +79,8 @@
|
||||
|
||||
#include "tm5rc.hpp"
|
||||
|
||||
+using namespace std;
|
||||
+
|
||||
class CFwdBlockDCT;
|
||||
|
||||
// HHI Schueuer: scan selection classes to support the sadct
|
||||
--- common/video/iso-mpeg4/src/app_encoder_encoder.cpp
|
||||
+++ common/video/iso-mpeg4/src/app_encoder_encoder.cpp
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
#include "mode.hpp"
|
||||
#include "tm5rc.hpp"
|
||||
-#include "fstream.h"
|
||||
+#include "fstream"
|
||||
#include "sesenc.hpp"
|
||||
// #include "encoder/tps_sesenc.hpp" // deleted by Sharp (98/2/12)
|
||||
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_errenc.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_errenc.cpp
|
||||
@@ -54,7 +54,7 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
|
||||
#include "typeapi.h"
|
||||
#include "codehead.h"
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_gmc_enc_util.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_gmc_enc_util.cpp
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
#include <assert.h>
|
||||
|
||||
#include "typeapi.h"
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_mbenc.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_mbenc.cpp
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
#include "typeapi.h"
|
||||
#include "codehead.h"
|
||||
#include "mode.hpp"
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_mbinterlace.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_mbinterlace.cpp
|
||||
@@ -60,7 +60,7 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
|
||||
#include "typeapi.h"
|
||||
#include "codehead.h"
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_mcenc.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_mcenc.cpp
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
|
||||
#include "typeapi.h"
|
||||
#include "codehead.h"
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_motest.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_motest.cpp
|
||||
@@ -67,7 +67,7 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
|
||||
#include "typeapi.h"
|
||||
#include "codehead.h"
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_mvenc.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_mvenc.cpp
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
**************************************************************************/
|
||||
#include <stdio.h>
|
||||
-#include <fstream.h>
|
||||
+#include <fstream>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_padenc.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_padenc.cpp
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
|
||||
#include "typeapi.h"
|
||||
#include "codehead.h"
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_sesenc.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_sesenc.cpp
|
||||
@@ -83,8 +83,8 @@
|
||||
#include "stdlib.h"
|
||||
#include "stdio.h"
|
||||
#include "math.h"
|
||||
-#include "fstream.h"
|
||||
-#include "ostream.h"
|
||||
+#include "fstream"
|
||||
+#include "ostream"
|
||||
|
||||
#include "typeapi.h"
|
||||
#include "codehead.h"
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_sptenc.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_sptenc.cpp
|
||||
@@ -40,7 +40,7 @@
|
||||
*************************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_tm5rc.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_tm5rc.cpp
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
#include <math.h>
|
||||
#include "header.h"
|
||||
#include "typeapi.h"
|
||||
--- common/video/iso-mpeg4/src/sys_encoder_vopmbenc.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_encoder_vopmbenc.cpp
|
||||
@@ -73,7 +73,7 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
|
||||
#include "typeapi.h"
|
||||
#include "codehead.h"
|
||||
--- common/video/iso-mpeg4/src/sys_error.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_error.cpp
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
|
||||
#include "typeapi.h"
|
||||
#include "codehead.h"
|
||||
--- common/video/iso-mpeg4/src/sys_mode.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_mode.cpp
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
|
||||
#include <string.h>
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
#include <math.h>
|
||||
#include "typeapi.h"
|
||||
#include "mode.hpp"
|
||||
--- common/video/iso-mpeg4/src/sys_tps_enhcbuf.cpp
|
||||
+++ common/video/iso-mpeg4/src/sys_tps_enhcbuf.cpp
|
||||
@@ -36,7 +36,7 @@
|
||||
*************************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
-#include <fstream.h>
|
||||
+#include <fstream>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "typeapi.h"
|
||||
--- common/video/iso-mpeg4/src/tools_entropy_bitstrm.cpp
|
||||
+++ common/video/iso-mpeg4/src/tools_entropy_bitstrm.cpp
|
||||
@@ -42,8 +42,8 @@
|
||||
|
||||
*************************************************************************/
|
||||
|
||||
-#include <fstream.h>
|
||||
-#include <iostream.h>
|
||||
+#include <fstream>
|
||||
+#include <iostream>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "typeapi.h"
|
||||
--- common/video/iso-mpeg4/src/tools_entropy_huffman.cpp
|
||||
+++ common/video/iso-mpeg4/src/tools_entropy_huffman.cpp
|
||||
@@ -55,7 +55,7 @@
|
||||
#include "bitstrm.hpp"
|
||||
|
||||
#include "vlc.hpp"
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
#ifdef __MFC_
|
||||
#ifdef _DEBUG
|
||||
#undef THIS_FILE
|
||||
--- common/video/iso-mpeg4/src/tools_sadct_sadct.cpp
|
||||
+++ common/video/iso-mpeg4/src/tools_sadct_sadct.cpp
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "dct.hpp"
|
||||
#include <math.h>
|
||||
#if defined(__DEBUG_SADCT_) && !defined(NDEBUG)
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
#endif
|
||||
#ifdef __MFC_
|
||||
#ifdef _DEBUG
|
||||
--- common/video/iso-mpeg4/src/type_yuvac.cpp
|
||||
+++ common/video/iso-mpeg4/src/type_yuvac.cpp
|
||||
@@ -39,9 +39,11 @@
|
||||
|
||||
*************************************************************************/
|
||||
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
#include "typeapi.h"
|
||||
|
||||
+using namespace std;
|
||||
+
|
||||
#ifdef __MFC_
|
||||
#ifdef _DEBUG
|
||||
#undef THIS_FILE
|
||||
--- common/video/iso-mpeg4/src/type_yuvai.cpp
|
||||
+++ common/video/iso-mpeg4/src/type_yuvai.cpp
|
||||
@@ -37,7 +37,9 @@
|
||||
*************************************************************************/
|
||||
|
||||
#include "typeapi.h"
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
+
|
||||
+using namespace std;
|
||||
|
||||
#ifdef __MFC_
|
||||
#ifdef _DEBUG
|
||||
--- common/video/iso-mpeg4/src/vtc_main_vtcenc.cpp
|
||||
+++ common/video/iso-mpeg4/src/vtc_main_vtcenc.cpp
|
||||
@@ -57,7 +57,7 @@
|
||||
#include <math.h>
|
||||
#include <assert.h>
|
||||
// begin: added by Sharp (99/2/16)
|
||||
-#include <iostream.h>
|
||||
+#include <iostream>
|
||||
#include <sys/stat.h>
|
||||
// end: added by Sharp (99/2/16)
|
||||
|
||||
--- player/lib/audio/faad/Makefile.am
|
||||
+++ player/lib/audio/faad/Makefile.am
|
||||
@@ -33,6 +33,6 @@
|
||||
transfo.h\
|
||||
util.h
|
||||
INCLUDES = -I$(top_srcdir)/include
|
||||
-AM_CFLAGS = -O2 -Werror -Wall -fexceptions -fno-strict-aliasing
|
||||
+AM_CFLAGS = -O2 -Wall -fexceptions -fno-strict-aliasing
|
||||
|
||||
EXTRA_DIST = COPYING libfaad60.dsp README
|
||||
--- server/mp4live/video_util_resize.h
|
||||
+++ server/mp4live/video_util_resize.h
|
||||
@@ -90,7 +90,7 @@
|
||||
|
||||
void CopyYuv(const uint8_t *fY, const uint8_t *fU, const uint8_t *fV,
|
||||
uint32_t fyStride, uint32_t fuStride, uint32_t fvStride,
|
||||
- uint8_t *tY, uint8_t *tU, uint8_t *fV,
|
||||
- uint32_t tyStride, uint32_t tvStride, uint32_t tvStride,
|
||||
+ uint8_t *tY, uint8_t *tU, uint8_t *f_V,
|
||||
+ uint32_t tyStride, uint32_t tvStride, uint32_t tv_Stride,
|
||||
uint32_t w, uint32_t h);
|
||||
#endif
|
||||
@@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg4ip/Attic/mpeg4ip-1.5.0.1.ebuild,v 1.7 2006/11/18 21:11:33 tester dead $
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="MPEG 4 implementation library"
|
||||
|
||||
HOMEPAGE="http://www.mpeg4ip.net/"
|
||||
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-1.1 LGPL-2 GPL-2 LGPL-2.1 BSD UCL MPEG4"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
IUSE="ipv6 mmx v4l2 xvid nas alsa esd arts ffmpeg a52 mpeg2 lame aac id3 player mp4live x264"
|
||||
|
||||
RDEPEND=" media-libs/libsdl
|
||||
player? (
|
||||
>=x11-libs/gtk+-2
|
||||
ffmpeg? ( >=media-video/ffmpeg-0.4.7 )
|
||||
mpeg2? ( media-libs/libmpeg2 )
|
||||
id3? ( media-libs/libid3tag )
|
||||
a52? ( media-libs/a52dec )
|
||||
)
|
||||
xvid? ( >=media-libs/xvid-0.9.8 )
|
||||
mp4live? (
|
||||
>=x11-libs/gtk+-2
|
||||
lame? ( >=media-sound/lame-3.92 )
|
||||
aac? ( >=media-libs/faac-1.24-r1 )
|
||||
ffmpeg? ( >=media-video/ffmpeg-0.4.7 )
|
||||
x264? ( media-libs/x264-svn )
|
||||
)
|
||||
nas? ( media-libs/nas || ( x11-libs/libXt virtual/x11 ) )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
arts? ( kde-base/arts )
|
||||
esd? ( media-sound/esound )
|
||||
media-libs/libmp4v2
|
||||
!<media-libs/faad2-2.0-r9 "
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool
|
||||
sys-devel/autoconf
|
||||
sys-devel/automake
|
||||
player? ( mmx? ( >=dev-lang/nasm-0.98.19 ) )"
|
||||
|
||||
pkg_setup() {
|
||||
if ! built_with_use media-libs/libsdl X;
|
||||
then
|
||||
eerror "media-libs/libsdl does not has X support"
|
||||
eerror "You need to rebuild media-libs/libsdl with USE=X"
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd ${S}
|
||||
epatch ${FILESDIR}/mpeg4ip-1.4.1-disable-faac-test.patch
|
||||
epatch ${FILESDIR}/mpeg4ip-1.5.0.1-gcc42.patch
|
||||
epatch ${FILESDIR}/mpeg4ip-1.5.0.1-gcc43.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd ${S}
|
||||
|
||||
local myconf
|
||||
myconf=" --datadir=/usr/share/mpeg4ip
|
||||
$(use_enable ipv6)
|
||||
$(use_enable ppc)
|
||||
$(use_enable player)
|
||||
$(use_enable mp4live)
|
||||
$(use_enable xvid)
|
||||
$(use_enable nas)
|
||||
$(use_enable esd)
|
||||
$(use_enable alsa)
|
||||
$(use_enable arts)
|
||||
--disable-srtp" # need ot add libsrtp to portage
|
||||
|
||||
|
||||
# Those are possible for both player and mp4live
|
||||
if use player || use mp4live ; then
|
||||
myconf="${myconf} --enable-gtk-glib
|
||||
$(use_enable ffmpeg)"
|
||||
fi
|
||||
|
||||
# Those are only relevant for the player
|
||||
use player && myconf="${myconf}
|
||||
$(use_enable mmx)
|
||||
$(use_enable a52 a52dec)
|
||||
$(use_enable mpeg2 mpeg2dec)
|
||||
$(use_enable id3 id3tags)"
|
||||
use player || myconf="${myconf}
|
||||
--disable-a52
|
||||
--disable-mmx
|
||||
--disable-mpeg2dec
|
||||
--disable-id3tags"
|
||||
|
||||
|
||||
# those can only be used for mp4live
|
||||
use mp4live && myconf="${myconf}
|
||||
$(use_enable v4l2)
|
||||
$(use_enable lame mp3lame)
|
||||
$(use_enable aac faac)
|
||||
$(use_enable x264)"
|
||||
# $(use_enable alsa mp4live-alsa)
|
||||
use mp4live || myconf="${myconf}
|
||||
--disable-v4l2
|
||||
--disable-mp3lame
|
||||
--disable-faac
|
||||
--disable-mp4live-alsa
|
||||
--disable-x264"
|
||||
|
||||
./bootstrap --prefix=/usr \
|
||||
--host=${CHOST} \
|
||||
--mandir=/usr/share/man \
|
||||
--infodir=/usr/share/info \
|
||||
--datadir=/usr/share \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--localstatedir=/var/lib \
|
||||
--disable-warns-as-err \
|
||||
--enable-server \
|
||||
${EXTRA_ECONF} \
|
||||
${myconf} || die "configure failed"
|
||||
|
||||
sed -i -e 's:-Werror::' common/video/iso-mpeg4/src/Makefile || die "sed failed"
|
||||
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd ${S}
|
||||
make install DESTDIR="${D}" || die "make install failed"
|
||||
|
||||
# rm -f ${D}/usr/include/mp4.h
|
||||
# rm -f ${D}/usr/$(get_libdir)/libmp4v2*
|
||||
|
||||
dodoc doc/MPEG4IP_Guide.pdf doc/*txt AUTHORS TODO
|
||||
|
||||
dohtml doc/*.html FEATURES.html || die
|
||||
|
||||
docinto ietf
|
||||
dodoc doc/ietf/*.txt || die
|
||||
|
||||
docinto mcast
|
||||
dodoc doc/mcast/mcast.txt doc/mcast/mcast_example doc/mcast/playlist_example || die
|
||||
|
||||
}
|
||||
@@ -1,6 +1,2 @@
|
||||
DIST afpfs-ng-0.4.1.tar.bz2 226349 RMD160 9e4482bf13d319f31bdd7460f6afa5aa95c6fc2c SHA1 e813aac7b1f7008361c5bd2e1c5e39f3f553f21a SHA256 2f1f9becef83e1fef51e2594bd85f312e99a92624ea387ac032ec06a75714e9c
|
||||
DIST afpfs-ng-0.8.1.tar.bz2 344014 RMD160 39d3e50ce38df188a7c90448b20f7e428027dc43 SHA1 3686d4d752052ea8e98841fcae748cb469991dbb SHA256 688560de1cde57ab8d9e0ef7dc6436dbf0267fe8884f9014e50ff92b297b01a8
|
||||
DIST afpfs-ng-0.8.tar.bz2 342669 RMD160 7b410e0d8a05a91097dfcbd370e1df776dbc6950 SHA1 47937b48975da364f41612117e6bbcb1c3049326 SHA256 8340e356c0370db1a61df142f8074a38605a8b8077328943c50aac633d97514b
|
||||
EBUILD afpfs-ng-0.4.1.ebuild 547 RMD160 5ae1dd361e0133cb74cf496f649af13cfe71f9eb SHA1 b9b0cd75b42eea0b071dd31fea0546aa8975d297 SHA256 05025c1010660c502e5174de2161009a6c2a5d12163c9e98873a4bdb62f49ed6
|
||||
EBUILD afpfs-ng-0.8.1.ebuild 794 RMD160 741e1be06a7924c2b3715e9100a0933f5adb1085 SHA1 98bcfebac26286812d3bd7581409e9424e169e9c SHA256 d1568e289aae6133c5092c5dc633d3adc57b7cb98693d5306e0b922bfd861963
|
||||
EBUILD afpfs-ng-0.8.ebuild 731 RMD160 2a6cc92fed682c682a33ffc0bde5161d57a7ba63 SHA1 1a9b6f03337d05a2ff81ffa9a1962d31b639e70d SHA256 09d99b91aabc3c8d91406ce9af105ae7a1c81ccacf7d90333899ff5e291e41e7
|
||||
DIST afpfs-ng-0.8.1.tar.bz2 344014 SHA256 688560de1cde57ab8d9e0ef7dc6436dbf0267fe8884f9014e50ff92b297b01a8 SHA512 cfb4ab145566cf75490ff6835482a2b3378f56cc223c5f4360cdd85acb221bf744ba2b00e0a851c8f155ad88a9deb778762547c4eda236cb80f671ef85f4525e WHIRLPOOL 137ba67a300216d68e76ec4267a86a105c7ea4a3bca470fd0ade55e7c8418af4cef99deade7d269a6f196a6dce6666c946511798b8093e08d84637f42e6ad8a2
|
||||
EBUILD afpfs-ng-0.8.1.ebuild 794 SHA256 d1568e289aae6133c5092c5dc633d3adc57b7cb98693d5306e0b922bfd861963 SHA512 ac7d4a1ed1803d8085456e0085434ef106177032c9429f46c0171d73691b85e08ae4c709a518d47da7945f0f9cc6e9b773cfff6edf84c70c7323f10c355beae7 WHIRLPOOL f01a528d3a1a07ac200584faa317e63d69f1ba9940d771b1f37578e82c90a66578477e96ac296296aefa2e2aa53daca955027ba88ad8921833d7b5a42e45ee5d
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="An Apple Filing Protocol client implemented in FUSE"
|
||||
HOMEPAGE="http://sourceforge.net/projects/afpfs-ng/"
|
||||
SRC_URI="mirror://sourceforge/afpfs-ng/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libgcrypt
|
||||
dev-libs/gmp
|
||||
sys-fs/fuse"
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
dobin afp_client
|
||||
dobin afpfsd
|
||||
dodoc AUTHORS COPYING ChangeLog NEWS TODO
|
||||
dohtml docs/README.html
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="An Apple Filing Protocol client implemented in FUSE"
|
||||
HOMEPAGE="http://sourceforge.net/projects/afpfs-ng/"
|
||||
SRC_URI="mirror://sourceforge/afpfs-ng/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libgcrypt
|
||||
sys-libs/readline
|
||||
dev-libs/gmp
|
||||
sys-fs/fuse"
|
||||
RDEPEND="dev-libs/libgcrypt
|
||||
sys-libs/readline
|
||||
dev-libs/gmp
|
||||
sys-fs/fuse"
|
||||
|
||||
src_install() {
|
||||
dobin cmdline/afpcmd cmdline/afpgetstatus fuse/afpsd mount_afp
|
||||
dodoc COPYING AUTHORS ChangeLog docs/README docs/performance docs/FEATURES.txt docs/REPORTING-BUGS.txt
|
||||
doman fuse/*.1 cmdline/*.1
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
AUX greyhole.initd 551 SHA256 88c65fb72473a076f4dc4a0bc5bdd8224ceffddf08094172026e4015f0697bf2 SHA512 3cfa316acfe6a93db36126d1e52e7fd6f695f74019381824c44d72ba77ec1d8f2a09d33ba31c28abe830513659713612d6af9f3eb16ec6b1d7a9bf22ad6587ce WHIRLPOOL f77f07c4b597b5216cf987b257f1039ef3617092d4e8e0b44f2b6c84ba7f236c9f53798473dd91cf703c3eed8d0c64dc57ff29171c61476d0af461db60861edd
|
||||
DIST greyhole-0.9.68.tar.gz 558832 SHA256 a70a5bdd3caf6eb6813e76000bfddea7d4e0f1a96ee5b7f8e7b25cd8de2890d9 SHA512 02c2a06a8ae833a9ff070e41bfc8b5da4a4aca48030f3bf32d3d23850002fc2963646f22c0a44d92f0a19394d4fc59ffcc1ad3c992c59c5323f4b65812b82008 WHIRLPOOL 4a46c91f095a135a2c9de9e9076e7c0d39f4feb452bb0b4868472bbb782df5cb502783ab99eaaa779f0e6ee87605a10ca52eb274b21d7a52dcbb59d2eee32960
|
||||
EBUILD greyhole-0.9.68.ebuild 4207 SHA256 d33a9d15a14266ef4e796cd7b238cce0db452db1f869f36d2f06e7b85fb28937 SHA512 3438976952394a175d8cdbdc4bb5a0ff562287e9feeff2b1674aa437e56f840bac57576ca1a8b12d1a2e8acb58193710b0e88609a3bf273fe293b281a1e788b0 WHIRLPOOL 08d7d766d32cd6b4d518325617f972d34f3428716478870962bc08bd2e8c0bf9db3098b0894cbcbe251bd4b47e70d51faac8aea346f3965352ee3aa7ee76510a
|
||||
DIST greyhole-0.10.14.tar.gz 715827 SHA256 5bea3e3c9679e1df56a8654074419216f4bff863468d08c5fe0d176339af36f7 SHA512 dbd6c8ceb8fd534dbefb6db2bed42dac7a79d6bc5b3fa814b79372f84ffc559a5d8c80141bb4b874e0943a98f676d446b8653fa196ce1c3bd5f81865e0d1e338 WHIRLPOOL e6c5b5c44826227ece40b5e6b80c513f94ce2e2c66f74867f0f19c790a399a69c5ad919e7f1ca7bba8faa1487527e2206fc1813ab6dc22a3d30547acd62b8e61
|
||||
EBUILD greyhole-0.10.14.ebuild 4291 SHA256 7dee69747b338cd6b8be189bc402967e8b85fd682ef24c47884e38eedebf9580 SHA512 70526c7dbcfcf884f4bfd1feadffdc87ff2b4d6e9df8227e4dac1f7723d08f2cf418997b4c0c8ad55fb5c860cf8eac7766e2433fc0a6a34594aa7c3dbfeff536 WHIRLPOOL be5deab875a1e6420b20cd8d727baa1adc94d03a6288ac6a84d27e533bccc15436c39d30516b2b50b215998a7d93c06aea2b0c82000a6fb894871d64acbcd24e
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
# $Header: $
|
||||
|
||||
EAPI="4"
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='threads(+),xml(+)'
|
||||
|
||||
inherit eutils versionator
|
||||
inherit eutils versionator python-single-r1
|
||||
|
||||
DESCRIPTION="redundant storage pooling using Samba"
|
||||
HOMEPAGE="https://www.greyhole.net/"
|
||||
@@ -59,7 +61,7 @@ src_configure()
|
||||
;;
|
||||
4.[0-5])
|
||||
cd samba-${samba_ver} || die
|
||||
cp ../samba-module/vfs_greyhole-samba-4.x.c source3/modules/vfs_greyhole.c || die
|
||||
cp ../samba-module/vfs_greyhole-samba-4.0-4.5.c source3/modules/vfs_greyhole.c || die
|
||||
patch -p1 <../samba-module/wscript-samba-${samba_majver}.patch || die
|
||||
econf --enable-fhs --with-modulesdir=/usr/$(get_libdir)/samba || die
|
||||
;;
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST ufasoft_coin-0.34.tar.xz 468296 RMD160 f5ba6fc5f6425a64f2a18f85e49eb45394629bf4 SHA1 ee7289281d72f8bac78574e173c058c3bf23f2b1 SHA256 4384c80387e4b45f7840a070cb914d7cd0ae3e7e3b06f3c1525e657f88c9b6c8
|
||||
EBUILD bitcoin-miner-0.34.ebuild 944 RMD160 7bdef26d7d27366892548d321f27fd7d540f91a9 SHA1 59fb38c59ed601ec8e3c3bed5395d9d970f74147 SHA256 b1205d87fc2f68473cacf166133776942d49d83a486c7ecabfdf36f20405e7ce
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Ufasoft Bitcoin miner"
|
||||
HOMEPAGE="http://ufasoft.com/open/bitcoin/"
|
||||
SRC_URI="http://ufasoft.com/files/ufasoft_coin-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
DEPEND="dev-lang/jwasm
|
||||
adl? (
|
||||
x11-libs/amd-adl-sdk
|
||||
)
|
||||
opencl? (
|
||||
|| (
|
||||
virtual/opencl
|
||||
virtual/opencl-sdk
|
||||
app-admin/eselect-opencl
|
||||
dev-util/ati-stream-sdk
|
||||
dev-util/ati-stream-sdk-bin
|
||||
dev-util/amdstream
|
||||
dev-util/amd-app-sdk
|
||||
dev-util/amd-app-sdk-bin
|
||||
dev-util/nvidia-cuda-sdk[opencl]
|
||||
dev-util/intel-opencl-sdk
|
||||
)
|
||||
)
|
||||
net-misc/curl"
|
||||
RDEPEND="${DEPEND}"
|
||||
IUSE="threads sse2 +opencl +adl"
|
||||
|
||||
S=${WORKDIR}/ufasoft_coin-${PV}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable amdapp) \
|
||||
$(use_enable opencl) \
|
||||
$(use_enable cuda)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
DIST cgminer-4.9.2.tar.bz2 1476371 SHA256 7a94719c520c3ebd96fee65e2f737e87c9ae70c8e21865ee0ce16ac9b02e6e62 SHA512 48371657c84f09ad8c500a29ca85f35af70eb8720d9d97b565cd8c5356289d889ee60c06f37c0507a53c8f50ae827a77fa0c41609bac6b1e8849ad26b55d67d4 WHIRLPOOL bc1827049171683a7bae77b7693cf579cc18523dd1db1d54c3de41f3c81d6786f749dcee6e6e74c54ce7aceb5b946d357f8c04ded2d02dc40faddadcb015b828
|
||||
EBUILD cgminer-4.9.2.ebuild 2513 SHA256 a5ae6d87dc88dd881abe1953aeddcd5a357821e39f33addd74e39c4406d60ec4 SHA512 7adc0b85cadd8fd09a432ea6be939f2a727f83daf9e701ddc9619fa7ad782d085a8e9d8b059992c583f1229d4eb13bf29bef6f3ffc3bb93cb067004fe70cf5d7 WHIRLPOOL 4ea6bef0bb520559f5f7368ea17b07bdda645a6ea098451524618085788ba0de8ee98edc88be560a19879a531c4a0f7c060c74c4216fd08a882cdd9699360ec6
|
||||
DIST cgminer-4.10.0.tar.bz2 1306225 SHA256 debd49291f8335b48496896dc28a43f941d1c981525950497acc89d0d5fc1e84 SHA512 ed39bffa51715756875c101f4aaf984cab566fc1c8b657f6da37d0cdf921faee752c3efadf97c98ca6e749175457fbc2c37e9332cd26d2ff1675752250ac21db WHIRLPOOL 846af94146146809c6d7e150dc0aa26388a9a52f1ec91e4b26fd0191b426db0fa42229a896c65b566147283c97af243f51f9b452f1bbf535a04ab507d6b3195c
|
||||
EBUILD cgminer-4.10.0.ebuild 2513 SHA256 a5ae6d87dc88dd881abe1953aeddcd5a357821e39f33addd74e39c4406d60ec4 SHA512 7adc0b85cadd8fd09a432ea6be939f2a727f83daf9e701ddc9619fa7ad782d085a8e9d8b059992c583f1229d4eb13bf29bef6f3ffc3bb93cb067004fe70cf5d7 WHIRLPOOL 4ea6bef0bb520559f5f7368ea17b07bdda645a6ea098451524618085788ba0de8ee98edc88be560a19879a531c4a0f7c060c74c4216fd08a882cdd9699360ec6
|
||||
MISC ChangeLog 14519 SHA256 9bba0bc9e4b38aff2a2bb677f31f9f1fe9fe43c25618ac2814f65d5906da4e8d SHA512 79fb4e6053f19d5f7b021f63ac52138fbc0f203b85e3be151249086a985b3dd2af95c4e9e2e9386e9236580e7a97c5756b91d0b7d60d00c6fb85d70343d1ae23 WHIRLPOOL 76caf591b59c88188c43da91065b3efc20ef82a5a0e2ca6ba66e7d5e0611b27c685859fdbb6c16bfc70b6f2ef91e9063bc5a8577ebf4d797faa51f16d4fd8411
|
||||
MISC metadata.xml 2198 SHA256 12709b44c29e334f051175cb1d5e5c50664c3a7e11a89b71ac1465ab535e09f3 SHA512 232678a3c051efa8a2b89a5311bb40738221a17043877e802599ee37b420ff955a7d78c4d6e821da839b7534c9508b5e5fdcaec734185a8e3c695ef1944672e0 WHIRLPOOL b1208ff2427fa7860e83c90dd05702956a862f4c140e59f592c2f38288ffce8a6f30f85332a9ccbfb039abad5f237b2bd4f83146beaed064af5e57bfa87d6da5
|
||||
|
||||
@@ -1,487 +0,0 @@
|
||||
# ChangeLog for net-misc/tigervnc
|
||||
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/ChangeLog,v 1.118 2012/01/08 15:24:56 armin76 Exp $
|
||||
|
||||
*tigervnc-1.1.0-r3 (08 Jan 2012)
|
||||
|
||||
08 Jan 2012; Raúl Porcel <armin76@gentoo.org> +files/1.1.0-gethomedir.patch,
|
||||
+tigervnc-1.1.0-r3.ebuild:
|
||||
Fix missing deps: bug #395405, bug #397343, apply patch to fix bug #395099,
|
||||
straight to stable
|
||||
|
||||
*tigervnc-1.1.0-r2 (01 Jan 2012)
|
||||
|
||||
01 Jan 2012; Raúl Porcel <armin76@gentoo.org>
|
||||
+files/1.1.0-export_missing_symbol.patch, +tigervnc-1.1.0-r2.ebuild:
|
||||
Add patch from upstream to fix bug #395645, straight to stable
|
||||
|
||||
27 Dec 2011; Markus Meier <maekke@gentoo.org> tigervnc-1.1.0-r1.ebuild:
|
||||
x86 stable, bug #394395
|
||||
|
||||
21 Dec 2011; Markus Meier <maekke@gentoo.org> tigervnc-1.1.0-r1.ebuild:
|
||||
arm stable, bug #394395
|
||||
|
||||
20 Dec 2011; Jeroen Roovers <jer@gentoo.org> tigervnc-1.1.0-r1.ebuild:
|
||||
Stable for HPPA (bug #394395).
|
||||
|
||||
20 Dec 2011; Agostino Sarubbo <ago@gentoo.org> tigervnc-1.1.0-r1.ebuild:
|
||||
Stable for AMD64, wrt bug #394395
|
||||
|
||||
*tigervnc-1.1.0-r1 (12 Nov 2011)
|
||||
*tigervnc-1.1.0 (12 Nov 2011)
|
||||
|
||||
12 Nov 2011; Raúl Porcel <armin76@gentoo.org> +files/xserver111.patch,
|
||||
+tigervnc-1.1.0.ebuild, +tigervnc-1.1.0-r1.ebuild:
|
||||
Version bump, fixes bug 387729
|
||||
|
||||
05 Nov 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618-r1.ebuild:
|
||||
Add virtual/jpeg RDEPEND, bug #372727, add x11-misc/util-macros to DEPEND,
|
||||
bug #376159
|
||||
|
||||
08 Oct 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
-tigervnc-1.0.1_p20100914-r6.ebuild, -tigervnc-1.0.1_p20110618.ebuild:
|
||||
Remove old
|
||||
|
||||
03 Oct 2011; Joseph Jezak <josejx@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618-r1.ebuild:
|
||||
Marked ppc/ppc64 stable for bug #380983.
|
||||
|
||||
02 Oct 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618-r1.ebuild:
|
||||
alpha/ia64/sh/sparc stable wrt #380983
|
||||
|
||||
21 Sep 2011; Jeroen Roovers <jer@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618-r1.ebuild:
|
||||
Stable for HPPA (bug #380983).
|
||||
|
||||
05 Sep 2011; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618-r1.ebuild:
|
||||
arm stable, bug #380983
|
||||
|
||||
04 Sep 2011; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618-r1.ebuild:
|
||||
x86 stable, bug #380983
|
||||
|
||||
30 Aug 2011; Tony Vroon <chainsaw@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618-r1.ebuild:
|
||||
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug
|
||||
#380983 filed by Chí-Thanh Christopher Nguyễn.
|
||||
|
||||
*tigervnc-1.0.1_p20110618-r1 (25 Aug 2011)
|
||||
|
||||
25 Aug 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
+tigervnc-1.0.1_p20110618-r1.ebuild:
|
||||
Revision bump for xorg-server-1.10.4, bug #379963
|
||||
|
||||
20 Aug 2011; Jeroen Roovers <jer@gentoo.org> tigervnc-1.0.1_p20110618.ebuild:
|
||||
Stable for HPPA (bug #372205).
|
||||
|
||||
05 Aug 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
-tigervnc-1.0.1_p20100914-r5.ebuild, tigervnc-1.0.1_p20100914-r6.ebuild,
|
||||
tigervnc-1.0.1_p20110618.ebuild, -files/vncviewer.png:
|
||||
Move png to mirrors
|
||||
|
||||
30 Jul 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618.ebuild:
|
||||
alpha/ia64/sh/sparc stable wrt #372205
|
||||
|
||||
29 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618.ebuild:
|
||||
ppc/ppc64 stable wrt #372205
|
||||
|
||||
15 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r6.ebuild:
|
||||
ppc/ppc64 stable wrt #364593
|
||||
|
||||
13 Jul 2011; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618.ebuild:
|
||||
x86 stable, bug #372205
|
||||
|
||||
26 Jun 2011; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618.ebuild:
|
||||
arm stable, bug #372205
|
||||
|
||||
25 Jun 2011; Markos Chandras <hwoarang@gentoo.org>
|
||||
tigervnc-1.0.1_p20110618.ebuild:
|
||||
Stable on amd64 wrt bug #372205
|
||||
|
||||
*tigervnc-1.0.1_p20110618 (18 Jun 2011)
|
||||
|
||||
18 Jun 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
+tigervnc-1.0.1_p20110618.ebuild:
|
||||
Version bump
|
||||
|
||||
28 May 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r6.ebuild:
|
||||
Fix bug #361363
|
||||
|
||||
15 May 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r6.ebuild:
|
||||
alpha/ia64/sh/sparc stable wrt #364593
|
||||
|
||||
13 May 2011; Jeroen Roovers <jer@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r6.ebuild:
|
||||
Stable for HPPA (bug #364593).
|
||||
|
||||
13 May 2011; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r6.ebuild:
|
||||
arm stable, bug #364593
|
||||
|
||||
09 May 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r6.ebuild:
|
||||
x86 stable wrt bug #364593
|
||||
|
||||
28 Apr 2011; Markos Chandras <hwoarang@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r6.ebuild:
|
||||
Stable on amd64 wrt bug #364593
|
||||
|
||||
*tigervnc-1.0.1_p20100914-r6 (23 Apr 2011)
|
||||
|
||||
23 Apr 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
+tigervnc-1.0.1_p20100914-r6.ebuild:
|
||||
Revision bump for xorg-server-1.9.5
|
||||
|
||||
05 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r5.ebuild:
|
||||
ppc64 stable wrt #354513
|
||||
|
||||
05 Mar 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r5.ebuild:
|
||||
alpha/arm/ia64/sh stable wrt #354513
|
||||
|
||||
23 Feb 2011; Jeroen Roovers <jer@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r5.ebuild:
|
||||
Stable for HPPA (bug #354513).
|
||||
|
||||
15 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r5.ebuild:
|
||||
ppc stable wrt #354513
|
||||
|
||||
13 Feb 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r4.ebuild:
|
||||
alpha/ia64/sh/sparc stable wrt #348021
|
||||
|
||||
12 Feb 2011; Christian Faulhammer <fauli@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r5.ebuild:
|
||||
stable x86, bug 354513
|
||||
|
||||
12 Feb 2011; Markos Chandras <hwoarang@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r5.ebuild:
|
||||
Stable on amd64 wrt bug #354513
|
||||
|
||||
11 Feb 2011; Raúl Porcel <armin76@gentoo.org>
|
||||
-tigervnc-1.0.1_pre20100306-r1.ebuild, -tigervnc-1.0.1_p20100529.ebuild,
|
||||
-tigervnc-1.0.1_p20100529-r2.ebuild, -tigervnc-1.0.1_p20100914-r2.ebuild,
|
||||
+tigervnc-1.0.1_p20100914-r5.ebuild:
|
||||
Revision bump using xorg-server-1.9.4
|
||||
|
||||
31 Dec 2010; Jeroen Roovers <jer@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r4.ebuild:
|
||||
Stable for HPPA (bug #348021).
|
||||
|
||||
29 Dec 2010; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r4.ebuild:
|
||||
arm stable, bug #348021
|
||||
|
||||
25 Dec 2010; Christian Faulhammer <fauli@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r4.ebuild:
|
||||
stable x86, bug 348021
|
||||
|
||||
23 Dec 2010; Samuli Suominen <ssuominen@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r4.ebuild:
|
||||
amd64 stable wrt #348021
|
||||
|
||||
19 Dec 2010; Samuli Suominen <ssuominen@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914-r4.ebuild:
|
||||
ppc64 stable wrt #348021
|
||||
|
||||
*tigervnc-1.0.1_p20100914-r4 (09 Dec 2010)
|
||||
|
||||
09 Dec 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
+tigervnc-1.0.1_p20100914-r4.ebuild:
|
||||
Add a new revision for xorg-server-1.9
|
||||
|
||||
21 Oct 2010; Brent Baude <ranger@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914.ebuild:
|
||||
Marking tigervnc-1.0.1_p20100914 ppc for bug 338038
|
||||
|
||||
21 Oct 2010; Brent Baude <ranger@gentoo.org>
|
||||
tigervnc-1.0.1_p20100529.ebuild:
|
||||
Marking tigervnc-1.0.1_p20100529 ppc for bug 332045
|
||||
|
||||
06 Oct 2010; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914.ebuild:
|
||||
x86 stable, bug #338038
|
||||
|
||||
03 Oct 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914.ebuild:
|
||||
alpha stable wrt #338038
|
||||
|
||||
22 Sep 2010; Jeroen Roovers <jer@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914.ebuild:
|
||||
Stable for HPPA (bug #332045).
|
||||
|
||||
21 Sep 2010; Markos Chandras <hwoarang@gentoo.org>
|
||||
tigervnc-1.0.1_p20100914.ebuild:
|
||||
Stable on amd64 wrt bug #338038
|
||||
|
||||
20 Sep 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20100529.ebuild, tigervnc-1.0.1_p20100914.ebuild:
|
||||
arm/ia64/sh/sparc stable
|
||||
|
||||
*tigervnc-1.0.1_p20100914-r2 (14 Sep 2010)
|
||||
*tigervnc-1.0.1_p20100914 (14 Sep 2010)
|
||||
|
||||
14 Sep 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
+tigervnc-1.0.1_p20100914.ebuild, +tigervnc-1.0.1_p20100914-r2.ebuild:
|
||||
Version bump
|
||||
|
||||
11 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org>
|
||||
-tigervnc-1.0.0-r4.ebuild:
|
||||
Remove version depending on to-be-removed xorg-server.
|
||||
|
||||
18 Aug 2010; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_p20100529.ebuild:
|
||||
arm/x86 stable, bug #332045
|
||||
|
||||
15 Aug 2010; Markos Chandras <hwoarang@gentoo.org>
|
||||
tigervnc-1.0.1_p20100529.ebuild:
|
||||
Stable on amd64 wrt bug #332045
|
||||
|
||||
15 Aug 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20100529.ebuild:
|
||||
Use xorg-1.7.7
|
||||
|
||||
09 Aug 2010; Joseph Jezak <josejx@gentoo.org>
|
||||
tigervnc-1.0.1_pre20100306-r1.ebuild:
|
||||
Marked ppc stable for bug #315483.
|
||||
|
||||
02 Aug 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_pre20100306-r1.ebuild:
|
||||
alpha/ia64/sh/sparc stable wrt #315483
|
||||
|
||||
31 Jul 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
-tigervnc-1.0.1_p20100529-r1.ebuild, tigervnc-1.0.1_p20100529-r2.ebuild:
|
||||
Use xorg-server-1.8.2
|
||||
|
||||
06 Jul 2010; Jeroen Roovers <jer@gentoo.org>
|
||||
tigervnc-1.0.1_pre20100306-r1.ebuild:
|
||||
Stable for HPPA (bug #315483).
|
||||
|
||||
*tigervnc-1.0.1_p20100529-r2 (19 Jun 2010)
|
||||
|
||||
19 Jun 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_p20100529-r1.ebuild, +tigervnc-1.0.1_p20100529-r2.ebuild:
|
||||
Add -r2 for xorg-server-1.8.1.901, downgrade -r1 to 1.8.0, add missing
|
||||
xkeyboard-config dep wrt bug #323369
|
||||
|
||||
*tigervnc-1.0.1_p20100529-r1 (29 May 2010)
|
||||
*tigervnc-1.0.1_p20100529 (29 May 2010)
|
||||
|
||||
29 May 2010; Raúl Porcel <armin76@gentoo.org> -tigervnc-1.0.0-r2.ebuild,
|
||||
tigervnc-1.0.0-r4.ebuild, tigervnc-1.0.1_pre20100306-r1.ebuild,
|
||||
+tigervnc-1.0.1_p20100529.ebuild, +tigervnc-1.0.1_p20100529-r1.ebuild:
|
||||
Fix up GLX support wrt #308465, version bump
|
||||
|
||||
12 May 2010; Brent Baude <ranger@gentoo.org>
|
||||
tigervnc-1.0.1_pre20100306-r1.ebuild:
|
||||
Marking tigervnc-1.0.1_pre20100306-r1 ppc64 for bug 315483
|
||||
|
||||
18 Apr 2010; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_pre20100306-r1.ebuild:
|
||||
arm stable, bug #315483
|
||||
|
||||
17 Apr 2010; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-1.0.1_pre20100306-r1.ebuild:
|
||||
x86 stable, bug #315483
|
||||
|
||||
16 Apr 2010; Pacho Ramos <pacho@gentoo.org>
|
||||
tigervnc-1.0.1_pre20100306-r1.ebuild:
|
||||
amd64 stable, bug 315483
|
||||
|
||||
*tigervnc-1.0.1_pre20100306-r1 (17 Mar 2010)
|
||||
|
||||
17 Mar 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
-tigervnc-1.0.1_pre20100306.ebuild, +tigervnc-1.0.1_pre20100306-r1.ebuild:
|
||||
Use xorg-server-1.7.6
|
||||
|
||||
14 Mar 2010; Markus Meier <maekke@gentoo.org> tigervnc-1.0.0-r4.ebuild:
|
||||
amd64 stable, bug #273107
|
||||
|
||||
12 Mar 2010; Jeroen Roovers <jer@gentoo.org> tigervnc-1.0.0-r4.ebuild:
|
||||
Stable for HPPA (bug #273107).
|
||||
|
||||
09 Mar 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-1.0.1_pre20100306.ebuild:
|
||||
Add nasm depend on amd64
|
||||
|
||||
09 Mar 2010; Joseph Jezak <josejx@gentoo.org> tigervnc-1.0.0-r4.ebuild:
|
||||
Marked ppc stable for bug #273107.
|
||||
|
||||
08 Mar 2010; Brent Baude <ranger@gentoo.org> tigervnc-1.0.0-r4.ebuild:
|
||||
Marking tigervnc-1.0.0-r4 ppc64 for bug 273107
|
||||
|
||||
06 Mar 2010; Raúl Porcel <armin76@gentoo.org> files/tigervnc.initd:
|
||||
Provide valid shell, wrt bug #285705
|
||||
|
||||
*tigervnc-1.0.1_pre20100306 (06 Mar 2010)
|
||||
|
||||
06 Mar 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
+tigervnc-1.0.1_pre20100306.ebuild:
|
||||
Version bump
|
||||
|
||||
04 Mar 2010; Raúl Porcel <armin76@gentoo.org> tigervnc-1.0.0-r4.ebuild:
|
||||
alpha/arm/ia64/sh stable wrt #273107
|
||||
|
||||
04 Mar 2010; Tiago Cunha <tcunha@gentoo.org> tigervnc-1.0.0-r4.ebuild:
|
||||
stable sparc, bug 273107
|
||||
|
||||
03 Mar 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
|
||||
tigervnc-1.0.0-r4.ebuild:
|
||||
x86 stable wrt bug #273107
|
||||
|
||||
*tigervnc-1.0.0-r4 (02 Mar 2010)
|
||||
|
||||
02 Mar 2010; Raúl Porcel <armin76@gentoo.org> +tigervnc-1.0.0-r4.ebuild:
|
||||
Use system jpeg and zlib, bug #273107
|
||||
|
||||
02 Mar 2010; Raúl Porcel <armin76@gentoo.org> -tigervnc-1.0.0-r3.ebuild:
|
||||
Revert
|
||||
|
||||
*tigervnc-1.0.0-r3 (02 Mar 2010)
|
||||
|
||||
02 Mar 2010; Raúl Porcel <armin76@gentoo.org> +tigervnc-1.0.0-r3.ebuild:
|
||||
Use system jpeg and zlib, bug #273107
|
||||
|
||||
24 Jan 2010; Raúl Porcel <armin76@gentoo.org> tigervnc-1.0.0-r2.ebuild:
|
||||
Fix deps wrt #294596
|
||||
|
||||
24 Jan 2010; Raúl Porcel <armin76@gentoo.org> tigervnc-1.0.0-r2.ebuild:
|
||||
Move dev-lang/nasm to DEPEND
|
||||
|
||||
22 Jan 2010; Raúl Porcel <armin76@gentoo.org> -tigervnc-0.0.90.ebuild,
|
||||
-tigervnc-1.0.0.ebuild, tigervnc-1.0.0-r2.ebuild:
|
||||
alpha/ia64/sh stable wrt #288685
|
||||
|
||||
22 Jan 2010; Tiago Cunha <tcunha@gentoo.org> tigervnc-1.0.0-r2.ebuild:
|
||||
stable sparc, bug 288685
|
||||
|
||||
16 Jan 2010; Raúl Porcel <armin76@gentoo.org> tigervnc-1.0.0-r2.ebuild:
|
||||
arm stable
|
||||
|
||||
14 Jan 2010; Jeroen Roovers <jer@gentoo.org> tigervnc-1.0.0-r2.ebuild:
|
||||
Stable for HPPA (bug #288685).
|
||||
|
||||
27 Dec 2009; Joseph Jezak <josejx@gentoo.org> tigervnc-1.0.0-r2.ebuild:
|
||||
Marked ppc/ppc64 for bug #288685.
|
||||
|
||||
22 Dec 2009; Markus Meier <maekke@gentoo.org> tigervnc-1.0.0-r2.ebuild:
|
||||
amd64 stable, bug #288685
|
||||
|
||||
16 Dec 2009; Christian Faulhammer <fauli@gentoo.org>
|
||||
tigervnc-1.0.0-r2.ebuild:
|
||||
stable x86, bug 288685
|
||||
|
||||
15 Dec 2009; Raúl Porcel <armin76@gentoo.org> tigervnc-1.0.0-r1.ebuild:
|
||||
alpha/ia64/sh/sparc stable wrt #291726
|
||||
|
||||
*tigervnc-1.0.0-r2 (14 Dec 2009)
|
||||
|
||||
14 Dec 2009; Raúl Porcel <armin76@gentoo.org> +tigervnc-1.0.0-r2.ebuild:
|
||||
Revision bump for xorg-server-1.6.5
|
||||
|
||||
08 Nov 2009; nixnut <nixnut@gentoo.org> tigervnc-1.0.0-r1.ebuild:
|
||||
ppc stable #291726
|
||||
|
||||
08 Nov 2009; Jeroen Roovers <jer@gentoo.org> tigervnc-1.0.0-r1.ebuild:
|
||||
Stable for HPPA (bug #291726).
|
||||
|
||||
04 Nov 2009; Markus Meier <maekke@gentoo.org> tigervnc-1.0.0-r1.ebuild:
|
||||
amd64/arm/x86 stable, bug #291726
|
||||
|
||||
*tigervnc-1.0.0-r1 (04 Oct 2009)
|
||||
|
||||
04 Oct 2009; Raúl Porcel <armin76@gentoo.org> +tigervnc-1.0.0-r1.ebuild:
|
||||
Revision bump to support xorg-server-1.6
|
||||
|
||||
30 Sep 2009; Raúl Porcel <armin76@gentoo.org> tigervnc-1.0.0.ebuild:
|
||||
Add glproto dep as non-optional
|
||||
|
||||
*tigervnc-1.0.0 (13 Sep 2009)
|
||||
|
||||
13 Sep 2009; Raúl Porcel <armin76@gentoo.org> +tigervnc-1.0.0.ebuild:
|
||||
Version bump
|
||||
|
||||
12 Jul 2009; Tobias Klausmann <klausman@gentoo.org>
|
||||
tigervnc-0.0.90.ebuild:
|
||||
Keyworded on alpha, bug #266117
|
||||
|
||||
25 Jun 2009; Raúl Porcel <armin76@gentoo.org> tigervnc-0.0.90.ebuild:
|
||||
Add x11-libs/pixman dep
|
||||
|
||||
06 Jun 2009; Raúl Porcel <armin76@gentoo.org> tigervnc-0.0.90.ebuild:
|
||||
Add dev-lang/nasm dep on x86, bug 272658
|
||||
|
||||
29 May 2009; Raúl Porcel <armin76@gentoo.org> tigervnc-0.0.90.ebuild:
|
||||
Add ~arm
|
||||
|
||||
*tigervnc-0.0.90 (25 May 2009)
|
||||
|
||||
25 May 2009; Raúl Porcel <armin76@gentoo.org> +tigervnc-0.0.90.ebuild,
|
||||
-tigervnc-0.0.90_p3631.ebuild, -tigervnc-0.0.90_p3751.ebuild:
|
||||
Version bump
|
||||
|
||||
25 May 2009; Raúl Porcel <armin76@gentoo.org> files/tigervnc.initd:
|
||||
Typo in init script
|
||||
|
||||
29 Apr 2009; Markus Meier <maekke@gentoo.org>
|
||||
tigervnc-0.0.90_p3751.ebuild:
|
||||
add ~amd64, bug #266117
|
||||
|
||||
26 Apr 2009; nixnut <nixnut@gentoo.org> tigervnc-0.0.90_p3751.ebuild:
|
||||
~ppc #266117
|
||||
|
||||
22 Apr 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-0.0.90_p3751.ebuild:
|
||||
Add ~sparc and remove --enable-xcsecurity as its not recommended upstream
|
||||
|
||||
18 Apr 2009; Brent Baude <ranger@gentoo.org> tigervnc-0.0.90_p3751.ebuild:
|
||||
Marking tigervnc-0.0.90_p3751 ~ppc64 for bug 266117
|
||||
|
||||
17 Apr 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-0.0.90_p3751.ebuild:
|
||||
Add ~sh
|
||||
|
||||
16 Apr 2009; Jeroen Roovers <jer@gentoo.org> tigervnc-0.0.90_p3751.ebuild:
|
||||
Marked ~hppa (bug #266117).
|
||||
|
||||
14 Apr 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-0.0.90_p3751.ebuild:
|
||||
Remove some useless code, and remove the man entries if server is not
|
||||
built
|
||||
|
||||
14 Apr 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-0.0.90_p3751.ebuild:
|
||||
Add ~ia64
|
||||
|
||||
*tigervnc-0.0.90_p3751 (14 Apr 2009)
|
||||
|
||||
14 Apr 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
+tigervnc-0.0.90_p3751.ebuild:
|
||||
Version bump
|
||||
|
||||
12 Mar 2009; Raúl Porcel <armin76@gentoo.org> files/vncviewer.png:
|
||||
Change the vncviewer icon
|
||||
|
||||
08 Mar 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
tigervnc-0.0.90_p3631.ebuild:
|
||||
Fix HOMEPAGE
|
||||
|
||||
*tigervnc-0.0.90_p3631 (08 Mar 2009)
|
||||
|
||||
08 Mar 2009; Raúl Porcel <armin76@gentoo.org> +files/tigervnc.confd,
|
||||
+files/tigervnc.initd, +files/vncviewer.png, +metadata.xml,
|
||||
+tigervnc-0.0.90_p3631.ebuild:
|
||||
Initial commit, ebuild by me
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
AUX 1.1.0-export_missing_symbol.patch 606 SHA256 92559d7154c9f204fd9c2dfca1f836c19ff613bff3bd9687f60f7bde5b023bc3 SHA512 82dde8d1bf1b570b2e6026de5ddf7addb4ae633ae2b67ee23bfdb2dac3cc46205963a1b14e68efc49957741f5431adbbd9cc217273e3d83ac68872683ddad5df WHIRLPOOL a0563cd8c215c82e548208638b08cdb34f045fc9f33385d0254307fa250eee59900e7960845d032f419f42fe8138b049e01e14683c1bd65d71263b603bfd7b78
|
||||
AUX 1.1.0-gethomedir.patch 889 SHA256 4b85a9ddb9980e88c2f66c0cb56f6e8f00e4789ba2ab4b99f7246c5f131e6d79 SHA512 0036a1cfcc96d10c90efafef7ea2bc057c03127dc39c10c85ffda526e343fa17991c4d2beedb90da4bee9e83ef6de576ff41c842ec304aab9a2b9a1e0b35f48e WHIRLPOOL 2b5b1f864e39f8411865ff5d41b7aa0f4d430cf50288f65afa4223d7c0d4548c0b087b10f4624ced9c7501598b3685e4f4d0c5b68b3301071f045846b3e7dd10
|
||||
AUX tigervnc.confd 346 SHA256 48b6ae4f3e9e528b3cd4bc1349ceed3cd1a403ab0f3a2a8dd57a4769f88ceafc SHA512 204ab170de8b76d72d6fd2c3fcfab19cb2750eca231956f53cdfc81270baaef9ae31b08ce53b103a737045ccca8ce0b7f9649fb7cbd582ee0acff437ff5c85b4 WHIRLPOOL 9911713196cb57057b2200c0303b832fe7708520453cbf4ca1b9ed945738c734afff3f4d1f96e361e487e59b39f3ef44ac939234e1ea56e2e9e4e612cd5d70ee
|
||||
AUX tigervnc.initd 1586 SHA256 f01eb6170cec923075203b7916712d1ff2e42da0b8858b12dd9a9c60deeddce3 SHA512 246b1bc4f33e8c146aac1c9234adf65709f4310c654b4a55f187e42d1619d74dc8724ff4e7b944a61ea50932ebe0dca2ba36036012d0374ace36243960fcab8a WHIRLPOOL d35139e7932b33d2247fe8f864dca2a8830bc1698601884db1e6a53284e129fe9612a686380638f0b427edec552507ab324ca217669969537d6ac48b9f8451e4
|
||||
AUX tigervnc11-xorg111.patch 6367 SHA256 c73ca9e5da3021cdd69d4972f4e79bccee369434e8d1f8b321ecb3c77ad25296 SHA512 f42c46f7fddc98df8309890a4efdb0d8e67e09fac8cc1083828008875f21e157427950cb6ea11482c3c235fa0a10247c2455f24d38a06505306b74d26c22857f WHIRLPOOL 6340955a1828635ddcd53f1ddb2de418919d3eeb27cf5581437ea0f40f1eeb912b11cafac31588ae19c8a802318192c3f0b7da4ea1841eb3814997b3273636ec
|
||||
AUX xserver111.patch 6542 SHA256 f3827d742211b77807f1a02a47a99dddafe9efefbf9be17a21932e50abd1e63b SHA512 b5c1b8ba9e53fdc5028740ca2ec86f27ef0cc4b5d4d887ffe20016d449696f2154065ebaa862e824fecfd88b6f8ef64eb5b98d5d459432647f56dc298b245009 WHIRLPOOL 6df75a5bbf032765f967798e6cdc6db1b4f9bd33235e0a0ec618eb9b8ba0625b8831dd0e46f45ad9e03a1bd707830dd3fe0741aa404731578b87e5af9f1ec469
|
||||
DIST tigervnc-1.1.0.tar.gz 2742707 SHA256 594b70825a2c24863afd7b8dd2a5bc1935807118c6726e1d98396dee44d060f4
|
||||
DIST tigervnc.png 4958 SHA256 e0828aeb92ccaaf93e690e9ee5e17803de1cb140d3ca79fb756fe08ebbc4492e SHA512 97f9a42e9b9f50f1c91de3b7d7991aa8965240fe4958d6da4e9f72f9baa4510ad615765f7c59d6e0a90c9d4b5fe53ad1547c766f2da45e4a6b6e29b03ced2b8b WHIRLPOOL bbf01f6702724bc4329d053bd3fbf856103371abce20f6f74aa3c2e5eed0eebcdcccd287788b1efbb8de3008cb484a8da5ccd1bd667727e4b0861f3bb550529c
|
||||
DIST xorg-server-1.11.2.tar.bz2 4945939 SHA256 fa415decf02027ca278b06254ccfbcceba2a83c2741405257ebf749da4a73cf2
|
||||
EBUILD tigervnc-1.1.0-r4.ebuild 4866 SHA256 2bd2aacd839c129302d88daa25918d2eb22002f2c2c85ae6802074ae268d0618 SHA512 0bd229c004aea33247caf2e4a79f65198584f5cc9f5745b8696e48b2ab9dcf55013e5f64344c06d70a4f92cc2b4e5c2506748be26e92038fc3bd9f1a266a72b7 WHIRLPOOL 4c60e32f990a141a0ba9badb4b0bad6496e292d56a4929e81c2cb54f91c5fe73371f42f7987c51346ed5cd3c2b4e15edcb76319388e141117ae9ee372a5208fe
|
||||
MISC ChangeLog 15717 SHA256 59ad18af5092dadd9b8a17571843e83ee612b85dcb7f8a95443513276f40ba43 SHA512 5fc4a1627a35a255eaa8d21950a717d59773b2baf7b09bb30f4ff295f10192e43a1ee6a069a400637d92a7ad5ab990a55955d3d0cefa652cf787adf7e41bcce1 WHIRLPOOL 5863ba00013c91e26ba9ad1b8d37b50adc6764c5e468146f511fd925af5881d59f2c73e4b2e6510234e67eaa6ae83b77c01cfdb62b84245af5e414a7502b5dd7
|
||||
MISC metadata.xml 335 SHA256 821ea06553b929fa98b219ad2f17ca84dda361965182f46e030ddd3b2d950209 SHA512 206ccc0af085090fd0381f6e088a82a4084fe5e97a64ff6bea9f2ceb7b209e42acdff2c779621e3be77c56dad978afcf498b8bf1b16e9ff1bea447110ad39e83 WHIRLPOOL 8bc100612b6eadbf295f8cd008c67b587cea0e852f6f8d6dd61f9476fef560d9c2393b206239fb26c88cb20840e4c0e6222bffadecfd31ba8fd934d0437619e2
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -Naur xorg-server-1.11.2.orig/include/input.h xorg-server-1.11.2/include/input.h
|
||||
--- xorg-server-1.11.2.orig/include/input.h 2011-07-15 17:26:40.000000000 +0400
|
||||
+++ xorg-server-1.11.2/include/input.h 2011-12-22 10:38:53.581370977 +0400
|
||||
@@ -503,7 +503,7 @@
|
||||
DeviceIntPtr master);
|
||||
|
||||
extern _X_EXPORT DeviceIntPtr GetPairedDevice(DeviceIntPtr kbd);
|
||||
-extern DeviceIntPtr GetMaster(DeviceIntPtr dev, int type);
|
||||
+extern _X_EXPORT DeviceIntPtr GetMaster(DeviceIntPtr dev, int type);
|
||||
|
||||
extern _X_EXPORT int AllocDevicePair(ClientPtr client,
|
||||
char* name,
|
||||
@@ -1,20 +0,0 @@
|
||||
diff -up tigervnc-1.0.90/unix/xserver/hw/vnc/Makefile.am.gethomedir tigervnc-1.0.90/unix/xserver/hw/vnc/Makefile.am
|
||||
--- tigervnc-1.0.90/unix/xserver/hw/vnc/Makefile.am.gethomedir 2011-03-22 10:53:05.206429397 +0100
|
||||
+++ tigervnc-1.0.90/unix/xserver/hw/vnc/Makefile.am 2011-03-22 10:53:30.550388457 +0100
|
||||
@@ -5,6 +5,7 @@ RFB_LIB=$(LIB_DIR)/rfb/librfb.la
|
||||
RDR_LIB=$(LIB_DIR)/rdr/librdr.la $(GNUTLS_LDFLAGS)
|
||||
NETWORK_LIB=$(LIB_DIR)/network/libnetwork.la
|
||||
XREGION_LIB=$(LIB_DIR)/Xregion/libXregion.la
|
||||
+OS_LIB=$(LIB_DIR)/os/libos.la
|
||||
COMMON_LIBS=$(NETWORK_LIB) $(RFB_LIB) $(RDR_LIB) $(XREGION_LIB)
|
||||
|
||||
noinst_LTLIBRARIES = libvnccommon.la
|
||||
@@ -52,7 +53,7 @@ libvnc_la_CPPFLAGS = $(XVNC_CPPFLAGS) -I
|
||||
|
||||
libvnc_la_LDFLAGS = -module -avoid-version -Wl,-z,now
|
||||
|
||||
-libvnc_la_LIBADD = libvnccommon.la $(COMMON_LIBS)
|
||||
+libvnc_la_LIBADD = libvnccommon.la $(COMMON_LIBS) $(OS_LIB)
|
||||
|
||||
EXTRA_DIST = Xvnc.man
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
# Config file for /etc/init.d/tigervnc
|
||||
|
||||
# Specify the user(s) Xvnc(1) should be run for. The syntax is: "username:display".
|
||||
# example: "DISPLAYS="foo:1 bar:2" You can specify more users separated by space.
|
||||
# DISPLAYS="myuser:1"
|
||||
|
||||
# Specify any of vncserver(1) and Xvnc(1) options. See the respective man pages for more information.
|
||||
# VNC_OPTS=""
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/files/tigervnc.initd,v 1.3 2010/03/06 16:30:03 armin76 Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ -n "${DISPLAYS}" ]; then
|
||||
if [ $1 = "start" ]; then
|
||||
local user
|
||||
for user in $DISPLAYS; do
|
||||
if eval [ ! -f "~${user%%:*}/.vnc/passwd" ]; then
|
||||
eerror "There are no passwords defined for user ${user%%:*}."
|
||||
return 1
|
||||
elif [ -e "/tmp/.X11-unix/X${user##*:}" ]; then
|
||||
eerror "Display :${user##*:} appears to be already in use because of /tmp/.X11-unix/X${user##*:}"
|
||||
eerror "Remove this file if there is no X server $HOSTNAME:${user##*:}"
|
||||
return 1
|
||||
elif [ -e "/tmp/.X${user##*:}-lock" ]; then
|
||||
eerror "Display :${user##*:} appears to be already in use because of /tmp/.X${user##*:}-lock"
|
||||
eerror "Remove this file if there is no X server $HOSTNAME:${user##*:}"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
fi
|
||||
return 0
|
||||
else
|
||||
eerror 'Please define $DISPLAYS in /etc/conf.d/tigervnc'
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig start || return 1
|
||||
ebegin "Starting TigerVNC server"
|
||||
for user in $DISPLAYS; do
|
||||
su -s /bin/sh ${user%%:*} -c "cd ~${user%%:*} && vncserver :${user##*:} $VNC_OPTS" &>/dev/null
|
||||
done
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
checkconfig stop || return 2
|
||||
ebegin "Stopping TigerVNC server"
|
||||
for user in $DISPLAYS; do
|
||||
su -s /bin/sh ${user%%:*} -c "vncserver -kill :${user##*:}" &>/dev/null
|
||||
done
|
||||
eend $?
|
||||
}
|
||||
|
||||
restart() {
|
||||
svc_stop
|
||||
svc_start
|
||||
}
|
||||
@@ -1,235 +0,0 @@
|
||||
diff -up tigervnc-1.1.0/unix/xserver/hw/vnc/Input.cc.xorg111 tigervnc-1.1.0/unix/xserver/hw/vnc/Input.cc
|
||||
--- tigervnc-1.1.0/unix/xserver/hw/vnc/Input.cc.xorg111 2011-08-09 23:16:36.000000000 +0200
|
||||
+++ tigervnc-1.1.0/unix/xserver/hw/vnc/Input.cc 2011-11-11 11:59:14.226819903 +0100
|
||||
@@ -82,10 +82,11 @@ static KeyCode KeysymToKeycode(KeySymsPt
|
||||
/* Event queue is shared between all devices. */
|
||||
#if XORG == 15
|
||||
static xEvent *eventq = NULL;
|
||||
-#else
|
||||
+#elif XORG < 111
|
||||
static EventList *eventq = NULL;
|
||||
#endif
|
||||
|
||||
+#if XORG < 111
|
||||
static void initEventq(void)
|
||||
{
|
||||
/* eventq is never free()-ed because it exists during server life. */
|
||||
@@ -100,7 +101,9 @@ static void initEventq(void)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
+#endif /* XORG < 111 */
|
||||
|
||||
+#if XORG < 111
|
||||
static void enqueueEvents(DeviceIntPtr dev, int n)
|
||||
{
|
||||
int i;
|
||||
@@ -122,6 +125,7 @@ static void enqueueEvents(DeviceIntPtr d
|
||||
);
|
||||
}
|
||||
}
|
||||
+#endif /* XORG < 111 */
|
||||
|
||||
InputDevice::InputDevice(rfb::VNCServerST *_server)
|
||||
: server(_server), oldButtonMask(0)
|
||||
@@ -141,12 +145,17 @@ InputDevice::InputDevice(rfb::VNCServerS
|
||||
keyboardProc, TRUE);
|
||||
RegisterKeyboardDevice(keyboardDev);
|
||||
#endif
|
||||
+#if XORG < 111
|
||||
initEventq();
|
||||
+#endif
|
||||
}
|
||||
|
||||
void InputDevice::PointerButtonAction(int buttonMask)
|
||||
{
|
||||
- int i, n;
|
||||
+ int i;
|
||||
+#if XORG < 111
|
||||
+ int n;
|
||||
+#endif
|
||||
#if XORG >= 110
|
||||
ValuatorMask mask;
|
||||
#endif
|
||||
@@ -160,13 +169,17 @@ void InputDevice::PointerButtonAction(in
|
||||
#if XORG < 110
|
||||
n = GetPointerEvents(eventq, pointerDev, action, i + 1,
|
||||
POINTER_RELATIVE, 0, 0, NULL);
|
||||
-#else
|
||||
+ enqueueEvents(pointerDev, n);
|
||||
+#elif XORG < 111
|
||||
valuator_mask_set_range(&mask, 0, 0, NULL);
|
||||
n = GetPointerEvents(eventq, pointerDev, action, i + 1,
|
||||
POINTER_RELATIVE, &mask);
|
||||
-#endif
|
||||
enqueueEvents(pointerDev, n);
|
||||
-
|
||||
+#else
|
||||
+ valuator_mask_set_range(&mask, 0, 0, NULL);
|
||||
+ QueuePointerEvents(pointerDev, action, i + 1,
|
||||
+ POINTER_RELATIVE, &mask);
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +188,10 @@ void InputDevice::PointerButtonAction(in
|
||||
|
||||
void InputDevice::PointerMove(const rfb::Point &pos)
|
||||
{
|
||||
- int n, valuators[2];
|
||||
+ int valuators[2];
|
||||
+#if XORG < 111
|
||||
+ int n;
|
||||
+#endif
|
||||
#if XORG >= 110
|
||||
ValuatorMask mask;
|
||||
#endif
|
||||
@@ -190,12 +206,16 @@ void InputDevice::PointerMove(const rfb:
|
||||
#if XORG < 110
|
||||
n = GetPointerEvents(eventq, pointerDev, MotionNotify, 0, POINTER_ABSOLUTE, 0,
|
||||
2, valuators);
|
||||
-#else
|
||||
+ enqueueEvents(pointerDev, n);
|
||||
+#elif XORG < 111
|
||||
valuator_mask_set_range(&mask, 0, 2, valuators);
|
||||
n = GetPointerEvents(eventq, pointerDev, MotionNotify, 0, POINTER_ABSOLUTE,
|
||||
&mask);
|
||||
-#endif
|
||||
enqueueEvents(pointerDev, n);
|
||||
+#else
|
||||
+ valuator_mask_set_range(&mask, 0, 2, valuators);
|
||||
+ QueuePointerEvents(pointerDev, MotionNotify, 0, POINTER_ABSOLUTE, &mask);
|
||||
+#endif
|
||||
|
||||
cursorPos = pos;
|
||||
}
|
||||
@@ -299,14 +319,20 @@ void InputDevice::initInputDevice(void)
|
||||
static inline void pressKey(DeviceIntPtr dev, int kc, bool down, const char *msg)
|
||||
{
|
||||
int action;
|
||||
+#if XORG < 111
|
||||
unsigned int n;
|
||||
+#endif
|
||||
|
||||
if (msg != NULL)
|
||||
vlog.debug("%s %d %s", msg, kc, down ? "down" : "up");
|
||||
|
||||
action = down ? KeyPress : KeyRelease;
|
||||
- n = GetKeyboardEvents(eventq, dev, action, kc);
|
||||
+#if XORG < 111
|
||||
+ n = GetKeyboardEvents(eventq, dev, action, kc, NULL);
|
||||
enqueueEvents(dev, n);
|
||||
+#else
|
||||
+ QueueKeyboardEvents(dev, action, kc, NULL);
|
||||
+#endif
|
||||
}
|
||||
|
||||
#define IS_PRESSED(keyc, keycode) \
|
||||
@@ -341,8 +367,11 @@ public:
|
||||
int state, maxKeysPerMod, keycode;
|
||||
#if XORG >= 17
|
||||
KeyCode *modmap = NULL;
|
||||
-
|
||||
+#if XORG >= 111
|
||||
+ state = XkbStateFieldFromRec(&dev->master->key->xkbInfo->state);
|
||||
+#else /* XORG >= 111 */
|
||||
state = XkbStateFieldFromRec(&dev->u.master->key->xkbInfo->state);
|
||||
+#endif /* XORG >= 111 */
|
||||
#else
|
||||
KeyClassPtr keyc = dev->key;
|
||||
state = keyc->state;
|
||||
@@ -380,7 +409,11 @@ public:
|
||||
#if XORG >= 17
|
||||
KeyCode *modmap = NULL;
|
||||
|
||||
+#if XORG >= 111
|
||||
+ keyc = dev->master->key;
|
||||
+#else /* XORG >= 111 */
|
||||
keyc = dev->u.master->key;
|
||||
+#endif /* XORG >= 111 */
|
||||
state = XkbStateFieldFromRec(&keyc->xkbInfo->state);
|
||||
#else
|
||||
keyc = dev->key;
|
||||
@@ -596,7 +629,11 @@ void InputDevice::keyEvent(rdr::U32 keys
|
||||
}
|
||||
|
||||
#if XORG >= 17
|
||||
+#if XORG >= 111
|
||||
+ keyc = keyboardDev->master->key;
|
||||
+#else /* XORG >= 111 */
|
||||
keyc = keyboardDev->u.master->key;
|
||||
+#endif /* XORG >= 111 */
|
||||
|
||||
keymap = XkbGetCoreMap(keyboardDev);
|
||||
if (!keymap) {
|
||||
@@ -753,7 +790,11 @@ ModeSwitchFound:
|
||||
XkbApplyMappingChange(keyboardDev, keymap, minKeyCode,
|
||||
maxKeyCode - minKeyCode + 1,
|
||||
NULL, serverClient);
|
||||
+#if XORG >= 111
|
||||
+ XkbCopyDeviceKeymap(keyboardDev->master, keyboardDev);
|
||||
+#else
|
||||
XkbCopyDeviceKeymap(keyboardDev->u.master, keyboardDev);
|
||||
+#endif
|
||||
#endif /* XORG < 17 */
|
||||
break;
|
||||
}
|
||||
diff -up tigervnc-1.1.0/unix/xserver/hw/vnc/xorg-version.h.xorg111 tigervnc-1.1.0/unix/xserver/hw/vnc/xorg-version.h
|
||||
--- tigervnc-1.1.0/unix/xserver/hw/vnc/xorg-version.h.xorg111 2011-08-09 23:16:36.000000000 +0200
|
||||
+++ tigervnc-1.1.0/unix/xserver/hw/vnc/xorg-version.h 2011-11-11 11:55:32.255835319 +0100
|
||||
@@ -36,6 +36,8 @@
|
||||
#define XORG 19
|
||||
#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (10 * 100000) + (99 * 1000))
|
||||
#define XORG 110
|
||||
+#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (11 * 100000) + (99 * 1000))
|
||||
+#define XORG 111
|
||||
#else
|
||||
#error "X.Org newer than 1.10 is not supported"
|
||||
#endif
|
||||
diff -up tigervnc-1.1.0/unix/xserver/hw/vnc/xvnc.cc.xorg111 tigervnc-1.1.0/unix/xserver/hw/vnc/xvnc.cc
|
||||
--- tigervnc-1.1.0/unix/xserver/hw/vnc/xvnc.cc.xorg111 2011-08-09 23:16:36.000000000 +0200
|
||||
+++ tigervnc-1.1.0/unix/xserver/hw/vnc/xvnc.cc 2011-11-11 11:55:32.256835319 +0100
|
||||
@@ -211,7 +211,11 @@ static void vfbFreeFramebufferMemory(vfb
|
||||
|
||||
extern "C" {
|
||||
|
||||
+#if XORG < 111
|
||||
void ddxGiveUp()
|
||||
+#else
|
||||
+void ddxGiveUp(enum ExitCode error)
|
||||
+#endif
|
||||
{
|
||||
int i;
|
||||
|
||||
@@ -221,9 +225,17 @@ void ddxGiveUp()
|
||||
}
|
||||
|
||||
void
|
||||
+#if XORG < 111
|
||||
AbortDDX()
|
||||
+#else
|
||||
+AbortDDX(enum ExitCode error)
|
||||
+#endif
|
||||
{
|
||||
+#if XORG < 111
|
||||
ddxGiveUp();
|
||||
+#else
|
||||
+ ddxGiveUp(error);
|
||||
+#endif
|
||||
}
|
||||
|
||||
#ifdef __DARWIN__
|
||||
@@ -668,8 +680,13 @@ vfbUninstallColormap(ColormapPtr pmap)
|
||||
{
|
||||
if (pmap->mid != pmap->pScreen->defColormap)
|
||||
{
|
||||
+#if XORG < 111
|
||||
curpmap = (ColormapPtr) LookupIDByType(pmap->pScreen->defColormap,
|
||||
RT_COLORMAP);
|
||||
+#else
|
||||
+ dixLookupResourceByType((pointer *) &curpmap, pmap->pScreen->defColormap,
|
||||
+ RT_COLORMAP, serverClient, DixUnknownAccess);
|
||||
+#endif
|
||||
(*pmap->pScreen->InstallColormap)(curpmap);
|
||||
}
|
||||
}
|
||||
@@ -1,240 +0,0 @@
|
||||
diff -up tigervnc-1.1.0/unix/xserver/hw/vnc/Input.cc.xorg111 tigervnc-1.1.0/unix/xserver/hw/vnc/Input.cc
|
||||
--- tigervnc-1.1.0/unix/xserver/hw/vnc/Input.cc.xorg111 2011-08-09 23:16:36.000000000 +0200
|
||||
+++ tigervnc-1.1.0/unix/xserver/hw/vnc/Input.cc 2011-09-14 13:22:19.540000049 +0200
|
||||
@@ -82,10 +82,11 @@ static KeyCode KeysymToKeycode(KeySymsPt
|
||||
/* Event queue is shared between all devices. */
|
||||
#if XORG == 15
|
||||
static xEvent *eventq = NULL;
|
||||
-#else
|
||||
+#elif XORG < 111
|
||||
static EventList *eventq = NULL;
|
||||
#endif
|
||||
|
||||
+#if XORG < 111
|
||||
static void initEventq(void)
|
||||
{
|
||||
/* eventq is never free()-ed because it exists during server life. */
|
||||
@@ -100,7 +101,9 @@ static void initEventq(void)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
+#endif /* XORG < 111 */
|
||||
|
||||
+#if XORG < 111
|
||||
static void enqueueEvents(DeviceIntPtr dev, int n)
|
||||
{
|
||||
int i;
|
||||
@@ -122,6 +125,7 @@ static void enqueueEvents(DeviceIntPtr d
|
||||
);
|
||||
}
|
||||
}
|
||||
+#endif /* XORG < 111 */
|
||||
|
||||
InputDevice::InputDevice(rfb::VNCServerST *_server)
|
||||
: server(_server), oldButtonMask(0)
|
||||
@@ -141,12 +145,17 @@ InputDevice::InputDevice(rfb::VNCServerS
|
||||
keyboardProc, TRUE);
|
||||
RegisterKeyboardDevice(keyboardDev);
|
||||
#endif
|
||||
+#if XORG < 111
|
||||
initEventq();
|
||||
+#endif
|
||||
}
|
||||
|
||||
void InputDevice::PointerButtonAction(int buttonMask)
|
||||
{
|
||||
- int i, n;
|
||||
+ int i;
|
||||
+#if XORG < 111
|
||||
+ int n;
|
||||
+#endif
|
||||
#if XORG >= 110
|
||||
ValuatorMask mask;
|
||||
#endif
|
||||
@@ -160,13 +169,17 @@ void InputDevice::PointerButtonAction(in
|
||||
#if XORG < 110
|
||||
n = GetPointerEvents(eventq, pointerDev, action, i + 1,
|
||||
POINTER_RELATIVE, 0, 0, NULL);
|
||||
-#else
|
||||
+ enqueueEvents(pointerDev, n);
|
||||
+#elif XORG < 111
|
||||
valuator_mask_set_range(&mask, 0, 0, NULL);
|
||||
n = GetPointerEvents(eventq, pointerDev, action, i + 1,
|
||||
POINTER_RELATIVE, &mask);
|
||||
-#endif
|
||||
enqueueEvents(pointerDev, n);
|
||||
-
|
||||
+#else
|
||||
+ valuator_mask_set_range(&mask, 0, 0, NULL);
|
||||
+ QueuePointerEvents(pointerDev, action, i + 1,
|
||||
+ POINTER_RELATIVE, &mask);
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +188,10 @@ void InputDevice::PointerButtonAction(in
|
||||
|
||||
void InputDevice::PointerMove(const rfb::Point &pos)
|
||||
{
|
||||
- int n, valuators[2];
|
||||
+ int valuators[2];
|
||||
+#if XORG < 111
|
||||
+ int n;
|
||||
+#endif
|
||||
#if XORG >= 110
|
||||
ValuatorMask mask;
|
||||
#endif
|
||||
@@ -190,12 +206,16 @@ void InputDevice::PointerMove(const rfb:
|
||||
#if XORG < 110
|
||||
n = GetPointerEvents(eventq, pointerDev, MotionNotify, 0, POINTER_ABSOLUTE, 0,
|
||||
2, valuators);
|
||||
-#else
|
||||
+ enqueueEvents(pointerDev, n);
|
||||
+#elif XORG < 111
|
||||
valuator_mask_set_range(&mask, 0, 2, valuators);
|
||||
n = GetPointerEvents(eventq, pointerDev, MotionNotify, 0, POINTER_ABSOLUTE,
|
||||
&mask);
|
||||
-#endif
|
||||
enqueueEvents(pointerDev, n);
|
||||
+#else
|
||||
+ valuator_mask_set_range(&mask, 0, 2, valuators);
|
||||
+ QueuePointerEvents(pointerDev, MotionNotify, 0, POINTER_ABSOLUTE, &mask);
|
||||
+#endif
|
||||
|
||||
cursorPos = pos;
|
||||
}
|
||||
@@ -299,14 +319,20 @@ void InputDevice::initInputDevice(void)
|
||||
static inline void pressKey(DeviceIntPtr dev, int kc, bool down, const char *msg)
|
||||
{
|
||||
int action;
|
||||
+#if XORG < 111
|
||||
unsigned int n;
|
||||
+#endif
|
||||
|
||||
if (msg != NULL)
|
||||
vlog.debug("%s %d %s", msg, kc, down ? "down" : "up");
|
||||
|
||||
action = down ? KeyPress : KeyRelease;
|
||||
- n = GetKeyboardEvents(eventq, dev, action, kc);
|
||||
+#if XORG < 111
|
||||
+ n = GetKeyboardEvents(eventq, dev, action, kc, NULL);
|
||||
enqueueEvents(dev, n);
|
||||
+#else
|
||||
+ QueueKeyboardEvents(dev, action, kc, NULL);
|
||||
+#endif
|
||||
}
|
||||
|
||||
#define IS_PRESSED(keyc, keycode) \
|
||||
@@ -341,8 +367,11 @@ public:
|
||||
int state, maxKeysPerMod, keycode;
|
||||
#if XORG >= 17
|
||||
KeyCode *modmap = NULL;
|
||||
+ DeviceIntPtr master;
|
||||
|
||||
- state = XkbStateFieldFromRec(&dev->u.master->key->xkbInfo->state);
|
||||
+ master = GetMaster(dev, MASTER_KEYBOARD);
|
||||
+
|
||||
+ state = XkbStateFieldFromRec(&master->key->xkbInfo->state);
|
||||
#else
|
||||
KeyClassPtr keyc = dev->key;
|
||||
state = keyc->state;
|
||||
@@ -379,8 +408,10 @@ public:
|
||||
KeyClassPtr keyc;
|
||||
#if XORG >= 17
|
||||
KeyCode *modmap = NULL;
|
||||
+ DeviceIntPtr master;
|
||||
|
||||
- keyc = dev->u.master->key;
|
||||
+ master = GetMaster(dev, MASTER_KEYBOARD);
|
||||
+ keyc = master->key;
|
||||
state = XkbStateFieldFromRec(&keyc->xkbInfo->state);
|
||||
#else
|
||||
keyc = dev->key;
|
||||
@@ -565,9 +596,7 @@ static inline int isModifier(KeySymsPtr
|
||||
|
||||
void InputDevice::keyEvent(rdr::U32 keysym, bool down)
|
||||
{
|
||||
-#if XORG < 17
|
||||
DeviceIntPtr master;
|
||||
-#endif
|
||||
KeyClassPtr keyc;
|
||||
KeySymsPtr keymap = NULL;
|
||||
KeySym *map = NULL;
|
||||
@@ -596,7 +625,8 @@ void InputDevice::keyEvent(rdr::U32 keys
|
||||
}
|
||||
|
||||
#if XORG >= 17
|
||||
- keyc = keyboardDev->u.master->key;
|
||||
+ master = GetMaster(keyboardDev, MASTER_KEYBOARD);
|
||||
+ keyc = master->key;
|
||||
|
||||
keymap = XkbGetCoreMap(keyboardDev);
|
||||
if (!keymap) {
|
||||
@@ -753,7 +783,7 @@ ModeSwitchFound:
|
||||
XkbApplyMappingChange(keyboardDev, keymap, minKeyCode,
|
||||
maxKeyCode - minKeyCode + 1,
|
||||
NULL, serverClient);
|
||||
- XkbCopyDeviceKeymap(keyboardDev->u.master, keyboardDev);
|
||||
+ XkbCopyDeviceKeymap(master, keyboardDev);
|
||||
#endif /* XORG < 17 */
|
||||
break;
|
||||
}
|
||||
diff -up tigervnc-1.1.0/unix/xserver/hw/vnc/xorg-version.h.xorg111 tigervnc-1.1.0/unix/xserver/hw/vnc/xorg-version.h
|
||||
--- tigervnc-1.1.0/unix/xserver/hw/vnc/xorg-version.h.xorg111 2011-08-09 23:16:36.000000000 +0200
|
||||
+++ tigervnc-1.1.0/unix/xserver/hw/vnc/xorg-version.h 2011-09-12 16:51:36.958000000 +0200
|
||||
@@ -36,6 +36,8 @@
|
||||
#define XORG 19
|
||||
#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (10 * 100000) + (99 * 1000))
|
||||
#define XORG 110
|
||||
+#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (11 * 100000) + (99 * 1000))
|
||||
+#define XORG 111
|
||||
#else
|
||||
#error "X.Org newer than 1.10 is not supported"
|
||||
#endif
|
||||
diff -up tigervnc-1.1.0/unix/xserver/hw/vnc/xvnc.cc.xorg111 tigervnc-1.1.0/unix/xserver/hw/vnc/xvnc.cc
|
||||
--- tigervnc-1.1.0/unix/xserver/hw/vnc/xvnc.cc.xorg111 2011-08-09 23:16:36.000000000 +0200
|
||||
+++ tigervnc-1.1.0/unix/xserver/hw/vnc/xvnc.cc 2011-09-14 13:49:23.751000543 +0200
|
||||
@@ -211,7 +211,11 @@ static void vfbFreeFramebufferMemory(vfb
|
||||
|
||||
extern "C" {
|
||||
|
||||
+#if XORG < 111
|
||||
void ddxGiveUp()
|
||||
+#else
|
||||
+void ddxGiveUp(enum ExitCode error)
|
||||
+#endif
|
||||
{
|
||||
int i;
|
||||
|
||||
@@ -221,9 +225,17 @@ void ddxGiveUp()
|
||||
}
|
||||
|
||||
void
|
||||
+#if XORG < 111
|
||||
AbortDDX()
|
||||
+#else
|
||||
+AbortDDX(enum ExitCode error)
|
||||
+#endif
|
||||
{
|
||||
+#if XORG < 111
|
||||
ddxGiveUp();
|
||||
+#else
|
||||
+ ddxGiveUp(error);
|
||||
+#endif
|
||||
}
|
||||
|
||||
#ifdef __DARWIN__
|
||||
@@ -668,8 +680,13 @@ vfbUninstallColormap(ColormapPtr pmap)
|
||||
{
|
||||
if (pmap->mid != pmap->pScreen->defColormap)
|
||||
{
|
||||
+#if XORG < 111
|
||||
curpmap = (ColormapPtr) LookupIDByType(pmap->pScreen->defColormap,
|
||||
RT_COLORMAP);
|
||||
+#else
|
||||
+ dixLookupResourceByType((pointer *) &curpmap, pmap->pScreen->defColormap,
|
||||
+ RT_COLORMAP, serverClient, DixUnknownAccess);
|
||||
+#endif
|
||||
(*pmap->pScreen->InstallColormap)(curpmap);
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>armin76@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="server">Build TigerVNC server</flag>
|
||||
<flag name="xorgmodule">Build the Xorg module</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,188 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/tigervnc/tigervnc-1.1.0-r3.ebuild,v 1.1 2012/01/08 15:24:56 armin76 Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils toolchain-funcs multilib autotools
|
||||
|
||||
XSERVER_VERSION="1.11.2"
|
||||
OPENGL_DIR="xorg-x11"
|
||||
|
||||
DESCRIPTION="Remote desktop viewer display system"
|
||||
HOMEPAGE="http://www.tigervnc.org"
|
||||
#SRC_URI="mirror://gentoo/${P}.tar.bz2
|
||||
# http://dev.gentoo.org/~armin76/dist/${P}.tar.bz2
|
||||
SRC_URI="mirror://sourceforge/tigervnc/${P}.tar.gz
|
||||
mirror://gentoo/${PN}.png
|
||||
server? ( ftp://ftp.freedesktop.org/pub/xorg/individual/xserver/xorg-server-${XSERVER_VERSION}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc x86"
|
||||
IUSE="nptl +opengl server +xorgmodule"
|
||||
|
||||
RDEPEND="virtual/jpeg
|
||||
sys-libs/zlib
|
||||
media-libs/freetype
|
||||
x11-libs/libSM
|
||||
x11-libs/libXtst
|
||||
app-admin/eselect-opengl
|
||||
server? (
|
||||
x11-libs/libXi
|
||||
x11-libs/libXfont
|
||||
x11-libs/libXmu
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrender
|
||||
x11-libs/pixman
|
||||
x11-apps/xauth
|
||||
x11-apps/xsetroot
|
||||
x11-misc/xkeyboard-config
|
||||
media-fonts/font-adobe-100dpi
|
||||
media-fonts/font-adobe-75dpi
|
||||
media-fonts/font-alias
|
||||
media-fonts/font-cursor-misc
|
||||
media-fonts/font-misc-misc
|
||||
xorgmodule? ( ~x11-base/xorg-server-${XSERVER_VERSION} )
|
||||
)
|
||||
!net-misc/vnc
|
||||
!net-misc/tightvnc
|
||||
!net-misc/xf4vnc"
|
||||
DEPEND="${RDEPEND}
|
||||
amd64? ( dev-lang/nasm )
|
||||
x86? ( dev-lang/nasm )
|
||||
>=x11-proto/inputproto-1.5
|
||||
>=x11-proto/xextproto-7.0.3
|
||||
>=x11-proto/xproto-7.0.13
|
||||
server? (
|
||||
dev-util/pkgconfig
|
||||
media-fonts/font-util
|
||||
x11-misc/util-macros
|
||||
x11-proto/bigreqsproto
|
||||
x11-proto/compositeproto
|
||||
x11-proto/damageproto
|
||||
x11-proto/dri2proto
|
||||
x11-proto/fixesproto
|
||||
x11-proto/fontsproto
|
||||
>=x11-proto/randrproto-1.2.99
|
||||
x11-proto/resourceproto
|
||||
x11-proto/scrnsaverproto
|
||||
x11-proto/trapproto
|
||||
x11-proto/videoproto
|
||||
x11-proto/xcmiscproto
|
||||
x11-proto/xineramaproto
|
||||
x11-proto/xf86bigfontproto
|
||||
x11-proto/xf86dgaproto
|
||||
x11-proto/xf86driproto
|
||||
x11-proto/xf86miscproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
opengl? ( >=x11-proto/glproto-1.4.10 )
|
||||
>=media-libs/mesa-7.1
|
||||
>=x11-proto/renderproto-0.9.3
|
||||
x11-libs/libpciaccess
|
||||
>=x11-libs/xtrans-1.2.2
|
||||
)"
|
||||
|
||||
#S="${WORKDIR}/${PN}"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use server ; then
|
||||
echo
|
||||
einfo "The 'server' USE flag will build tigervnc's server."
|
||||
einfo "If '-server' is chosen only the client is built to save space."
|
||||
einfo "Stop the build now if you need to add 'server' to USE flags.\n"
|
||||
ebeep
|
||||
epause 5
|
||||
else
|
||||
ewarn "Forcing on xorg-x11 for new enough glxtokens.h..."
|
||||
OLD_IMPLEM="$(eselect opengl show)"
|
||||
eselect opengl set ${OPENGL_DIR}
|
||||
fi
|
||||
}
|
||||
|
||||
switch_opengl_implem() {
|
||||
# Switch to the xorg implementation.
|
||||
# Use new opengl-update that will not reset user selected
|
||||
# OpenGL interface ...
|
||||
echo
|
||||
eselect opengl set ${OLD_IMPLEM}
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
if use server ; then
|
||||
cp -r "${WORKDIR}"/xorg-server-${XSERVER_VERSION}/* unix/xserver
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
cd unix
|
||||
|
||||
if use server ; then
|
||||
epatch xserver110.patch
|
||||
#epatch "${FILESDIR}"/xserver111.patch
|
||||
epatch ${FILESDIR}/tigervnc11-xorg111.patch
|
||||
cd xserver
|
||||
epatch "${FILESDIR}"/1.1.0-export_missing_symbol.patch
|
||||
epatch "${FILESDIR}"/1.1.0-gethomedir.patch
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf --without-included-zlib --with-system-jpeg || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
|
||||
if use server ; then
|
||||
cd unix/xserver
|
||||
econf \
|
||||
--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
|
||||
--disable-xwin --disable-xephyr --disable-kdrive --with-pic \
|
||||
--disable-static --disable-xinerama \
|
||||
--disable-composite \
|
||||
--with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
|
||||
--enable-install-libxf86config \
|
||||
--enable-dri2 \
|
||||
--disable-config-dbus \
|
||||
--disable-config-hal \
|
||||
--with-xmlto=no \
|
||||
--disable-unit-tests \
|
||||
$(use_enable opengl glx) \
|
||||
$(use_enable nptl glx-tls) \
|
||||
|| die "econf server failed"
|
||||
emake || die "emake server failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.txt
|
||||
|
||||
cd unix
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
newman vncviewer/vncviewer.man vncviewer.1
|
||||
|
||||
newicon "${DISTDIR}"/tigervnc.png vncviewer.png
|
||||
make_desktop_entry vncviewer vncviewer vncviewer Network
|
||||
|
||||
if use server ; then
|
||||
cd xserver/hw/vnc
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
! use xorgmodule && rm -rf "${D}"/usr/$(get_libdir)/xorg
|
||||
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
|
||||
rm "${D}"/usr/$(get_libdir)/xorg/modules/extensions/libvnc.la
|
||||
else
|
||||
cd "${D}"
|
||||
for f in vncserver vncpasswd x0vncserver vncconfig; do
|
||||
rm usr/bin/$f
|
||||
rm usr/share/man/man1/$f.1
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use server && switch_opengl_implem
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
AUX autoProcessTV/autoProcessTV.cfg.sample 72 SHA256 7864fdeaffb3ad5e0ca5123d4550c57999d8bdf3e4f5337b8cf73b918f8fde3c SHA512 a0a1c70f10e1a67432520dc62807e8fb6685335d7c5e896097563f8f3ef881071d57c694bdc8c16471a2ce144933beb5c55f991bd13dff78e908f06c0b8b3e00 WHIRLPOOL 0884bd90212e174fe42c35864244e08049c5ec32408c5249fbe0ca281d950f8e248cac8c07a35430a8090fd4a398079f6aa1f95f89c8b7777d3694d3bed67f73
|
||||
AUX autoProcessTV/autoProcessTV.py 4820 SHA256 d7d7e5a37c2fcf552a58e98c7c8b0184ae731e2b08f9867cf0b9fb9149adb29f SHA512 05af9c4a62bd6086708081cb163bdc45c49521d40fb1cbd5ed85703bc6909655ea3c326dc10a3d230297c3d24b7b8e3966dae894a5e3e9fb8c7929b3ec147358 WHIRLPOOL ba8397c499ffb8c59623fbe97daf10f850bbb2d2e82a47006e704de53fbf4b932ca5f30fe0267c0cde9fab031c9e98a08d7e7e903af0426217aeed546e56b3ce
|
||||
AUX autoProcessTV/hellaToSickBeard.py 972 SHA256 d3ce8fcc6ac1c82a1f0eac3c9b539726562cfd23fd4ef5b1b9dd095ba20f83b6 SHA512 930e05c19db61dd7265133a36c76575c029207a9c241e8742c7468e10ca6e8f246939efbb86c770cdd04621ff8925c057a62f7c6aa7f6dad80dc27c4d6846a29 WHIRLPOOL 6f5db8f82e808fa401eac515e5827103b16ebfa0cc1902a9fbbde776beadc1505e8785843643d27b0a4a236a67377b1f63fa7f7dd0dd815d01891bd51f35dea7
|
||||
AUX autoProcessTV/mediaToSickbeard.py 7057 SHA256 b50e0e1f440dcf96c7b477d410715bc49033ae98698e98f9757a2bbba86ee9f8 SHA512 4ab81509df8323531bab0f24c2b5f9e6a7c2fd56bc6cf58639887a8aa4e5a9817d776f9f234e3deb70d72631ccae406b0dcc601b2d83380e58d930b51806cee2 WHIRLPOOL 07a7f1e7d6ca6e3ac283fe129cc29674d01416b2d0001b9b4a37e4433eed285cbcebf35cd4ebcf925cef70b20deb387a0a65f01e14f2a7ee98603cd4ebf5fa4f
|
||||
AUX autoProcessTV/sabToSickBeard.py 1138 SHA256 ae0f378c820e6e9d23368c18e868ddcd56fdfad389be1a1ed352607d62b0958c SHA512 2108b9d6092ebc3cbb6002e52a250e3699fe4559f809b6b391185cd8ec1953e7697d5f54090b459918f796d6daee700bbf7a60e35e656c6f6a82e07ffcc899aa WHIRLPOOL b3542998249cd005aee8377bfce789a77b3d80033c4ad8cef291e02f7eb7270771e570b8ed06540a1a7bf16c0baef9797bb2f1e28f16f9716f4ddf153a91d25a
|
||||
AUX sickrage.conf 1123 SHA256 c08873cf30366bc113bedd6bb680c338ff205ad185e4e19a3b41a5bdee131f89 SHA512 8f9ea3b00e567f39b0bbbc314568565109b04279f32999dc071d5d255485d561c620a37247ccbccf2abdafc154b1823f4ee3f06a60ab8f9745c6ddacb84cdbba WHIRLPOOL 223a6ef070ff1ed8e9848e8a9c591a973dcf84858b15bda142147c0c64f7616701dc5efa8715588fa8aafdd5db78caafd093ecdecad4a16b41c23e5db50dabaf
|
||||
AUX sickrage.ini 217 SHA256 994b1f30af19912e5ab90f1f668c07f5b483b1ca6123580a1800fef62bf0cc79 SHA512 ad9b6bc2c2489f10365b0b90c1f6b38f1bb82dfdbcd910afb476ddbf0a2cb00f988fea97423b789870279e82d5e80d66f1a7a4ce9700c4d8e114485355541fc0 WHIRLPOOL ee3a69a7d8defd2658f37b567eab757db105e797d2b6d4ba5c5db0841e200706224387b4dc9d5d24e859103ae0b5c79adabc48419eaba582d9800cae05f07761
|
||||
AUX sickrage.init 1393 SHA256 5c3706c7fe2d72dc3269d885e974e9143d593337a946acba970673a109e109b0 SHA512 8bb41185b5d219b7fe8e794f8f734b4a1cce6be3159e7d2198c44146441bef3070f9a55ddbea3e2777bba77df9ccd8588e2536728d3c794e9f0a7b08225b3084 WHIRLPOOL 54cb70749f4486e6f14fb7c670e83c40cb1a9482212ba3093540b7b46f007d22bded24915c27e47917265222759ce13043c159c4d20040d5a04aeed1b9d57784
|
||||
AUX sickrage.logrotate 181 SHA256 dca1eccc37ddb03f44949507348ae0f1cc630e65e1d655733804a4b572c07736 SHA512 b8c33c70a11737230ae9f2a69ace3f41f2e6bc0a649a92ba36e7e572577018bb0634bf79e9864a46a35e9e6d147bae53f7c71673d56aae237c80b24e7134e58b WHIRLPOOL 0c4fe43e4ddb23cd0126c0e84c0b2dfbbd8ed26a3ff3399096be46b36686574d0dfd5775c3e7c0e7d263748caff08ed36f0b6bb36cbb6b347ef9bc9d7c63478d
|
||||
EBUILD sickrage-9999.ebuild 2340 SHA256 54d85131e3a42880ae959a814c75df3f349098196305b1aa0214c4034569fffb SHA512 51b1c9e22c8707594fa07fea95a0d2a98bef32c9d907438144c4c2c8304bacb89387355edc3c3cf9b8c42a30c91042e72b47bb729a855d3a347851a3af215825 WHIRLPOOL d75e913bd4d238401b1c1e1af489a858561f8c3248928d33aeae7ddb1993fc17009931a183b9c5b52d6b18fc3d0839ace37a36baa12f578ab00c238de85dcff5
|
||||
@@ -1,7 +0,0 @@
|
||||
[SickBeard]
|
||||
host=localhost
|
||||
port=8081
|
||||
username=
|
||||
password=
|
||||
web_root=
|
||||
ssl=0
|
||||
@@ -1,154 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# Author: Nic Wolfe <nic@wolfeden.ca>
|
||||
# URL: http://code.google.com/p/sickbeard/
|
||||
#
|
||||
# This file is part of SickRage.
|
||||
#
|
||||
# SickRage is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# SickRage is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import os.path
|
||||
import sys
|
||||
|
||||
# Try importing Python 2 modules using new names
|
||||
try:
|
||||
import ConfigParser as configparser
|
||||
import urllib2
|
||||
from urllib import urlencode
|
||||
|
||||
# On error import Python 3 modules
|
||||
except ImportError:
|
||||
import configparser
|
||||
import urllib.request as urllib2
|
||||
from urllib.parse import urlencode
|
||||
|
||||
# workaround for broken urllib2 in python 2.6.5: wrong credentials lead to an infinite recursion
|
||||
if sys.version_info >= (2, 6, 5) and sys.version_info < (2, 6, 6):
|
||||
class HTTPBasicAuthHandler(urllib2.HTTPBasicAuthHandler):
|
||||
def retry_http_basic_auth(self, host, req, realm):
|
||||
# don't retry if auth failed
|
||||
if req.get_header(self.auth_header, None) is not None:
|
||||
return None
|
||||
|
||||
return urllib2.HTTPBasicAuthHandler.retry_http_basic_auth(self, host, req, realm)
|
||||
|
||||
else:
|
||||
HTTPBasicAuthHandler = urllib2.HTTPBasicAuthHandler
|
||||
|
||||
|
||||
def processEpisode(dir_to_process, org_NZB_name=None, status=None):
|
||||
# Default values
|
||||
host = "localhost"
|
||||
port = "8081"
|
||||
username = ""
|
||||
password = ""
|
||||
ssl = 0
|
||||
web_root = "/"
|
||||
|
||||
default_url = host + ":" + port + web_root
|
||||
if ssl:
|
||||
default_url = "https://" + default_url
|
||||
else:
|
||||
default_url = "http://" + default_url
|
||||
|
||||
# Get values from config_file
|
||||
config = configparser.RawConfigParser()
|
||||
config_filename = os.path.join(os.path.dirname(sys.argv[0]), "autoProcessTV.cfg")
|
||||
|
||||
if not os.path.isfile(config_filename):
|
||||
print ("ERROR: " + config_filename + " doesn\'t exist")
|
||||
print ("copy /rename " + config_filename + ".sample and edit\n")
|
||||
print ("Trying default url: " + default_url + "\n")
|
||||
|
||||
else:
|
||||
try:
|
||||
print ("Loading config from " + config_filename + "\n")
|
||||
|
||||
with open(config_filename, "r") as fp:
|
||||
config.readfp(fp)
|
||||
|
||||
# Replace default values with config_file values
|
||||
host = config.get("SickBeard", "host")
|
||||
port = config.get("SickBeard", "port")
|
||||
username = config.get("SickBeard", "username")
|
||||
password = config.get("SickBeard", "password")
|
||||
|
||||
try:
|
||||
ssl = int(config.get("SickBeard", "ssl"))
|
||||
|
||||
except (configparser.NoOptionError, ValueError):
|
||||
pass
|
||||
|
||||
try:
|
||||
web_root = config.get("SickBeard", "web_root")
|
||||
if not web_root.startswith("/"):
|
||||
web_root = "/" + web_root
|
||||
|
||||
if not web_root.endswith("/"):
|
||||
web_root = web_root + "/"
|
||||
|
||||
except configparser.NoOptionError:
|
||||
pass
|
||||
|
||||
except EnvironmentError:
|
||||
e = sys.exc_info()[1]
|
||||
print ("Could not read configuration file: " + str(e))
|
||||
# There was a config_file, don't use default values but exit
|
||||
sys.exit(1)
|
||||
|
||||
params = {}
|
||||
|
||||
params['quiet'] = 1
|
||||
|
||||
params['dir'] = dir_to_process
|
||||
if org_NZB_name != None:
|
||||
params['nzbName'] = org_NZB_name
|
||||
|
||||
if status != None:
|
||||
params['failed'] = status
|
||||
|
||||
if ssl:
|
||||
protocol = "https://"
|
||||
else:
|
||||
protocol = "http://"
|
||||
|
||||
url = protocol + host + ":" + port + web_root + "home/postprocess/processEpisode?" + urlencode(params)
|
||||
|
||||
print ("Opening URL: " + url)
|
||||
|
||||
try:
|
||||
password_mgr = urllib2.HTTPPasswordMgrWithDefaultRealm()
|
||||
password_mgr.add_password(None, url, username, password)
|
||||
handler = HTTPBasicAuthHandler(password_mgr)
|
||||
opener = urllib2.build_opener(handler)
|
||||
urllib2.install_opener(opener)
|
||||
|
||||
result = opener.open(url).readlines()
|
||||
|
||||
for line in result:
|
||||
if line:
|
||||
print (line.strip())
|
||||
|
||||
except IOError:
|
||||
e = sys.exc_info()[1]
|
||||
print ("Unable to open URL: " + str(e))
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print ("This module is supposed to be used as import in other scripts and not run standalone.")
|
||||
print ("Use sabToSickBeard instead.")
|
||||
sys.exit(1)
|
||||
@@ -1,30 +0,0 @@
|
||||
#!/usr/bin/env python2
|
||||
|
||||
# Author: Nic Wolfe <nic@wolfeden.ca>
|
||||
# URL: http://code.google.com/p/sickbeard/
|
||||
#
|
||||
# This file is part of SickRage.
|
||||
#
|
||||
# SickRage is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# SickRage is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
import sys
|
||||
|
||||
import autoProcessTV
|
||||
|
||||
if len(sys.argv) < 4:
|
||||
print "No folder supplied - is this being called from HellaVCR?"
|
||||
sys.exit()
|
||||
else:
|
||||
autoProcessTV.processEpisode(sys.argv[3], sys.argv[2])
|
||||
@@ -1,217 +0,0 @@
|
||||
#!/usr/bin/env python2
|
||||
import sys
|
||||
import os
|
||||
import time
|
||||
import ConfigParser
|
||||
import logging
|
||||
|
||||
sickbeardPath = os.path.split(os.path.split(sys.argv[0])[0])[0]
|
||||
sys.path.append(os.path.join( sickbeardPath, 'lib'))
|
||||
sys.path.append(sickbeardPath)
|
||||
configFilename = os.path.join(sickbeardPath, "config.ini")
|
||||
|
||||
import requests
|
||||
|
||||
config = ConfigParser.ConfigParser()
|
||||
|
||||
try:
|
||||
fp = open(configFilename, "r")
|
||||
config.readfp(fp)
|
||||
fp.close()
|
||||
except IOError, e:
|
||||
print "Could not find/read Sickbeard config.ini: " + str(e)
|
||||
print 'Possibly wrong mediaToSickbeard.py location. Ensure the file is in the autoProcessTV subdir of your Sickbeard installation'
|
||||
time.sleep(3)
|
||||
sys.exit(1)
|
||||
|
||||
scriptlogger = logging.getLogger('mediaToSickbeard')
|
||||
formatter = logging.Formatter('%(asctime)s %(levelname)-8s MEDIATOSICKBEARD :: %(message)s', '%b-%d %H:%M:%S')
|
||||
|
||||
# Get the log dir setting from SB config
|
||||
logdirsetting = config.get("General", "log_dir") if config.get("General", "log_dir") else 'Logs'
|
||||
# put the log dir inside the SickBeard dir, unless an absolute path
|
||||
logdir = os.path.normpath(os.path.join(sickbeardPath, logdirsetting))
|
||||
logfile = os.path.join(logdir, 'sickbeard.log')
|
||||
|
||||
|
||||
try:
|
||||
handler = logging.FileHandler(logfile)
|
||||
except:
|
||||
print 'Unable to open/create the log file at ' + logfile
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
handler.setFormatter(formatter)
|
||||
scriptlogger.addHandler(handler)
|
||||
scriptlogger.setLevel(logging.DEBUG)
|
||||
|
||||
def utorrent():
|
||||
# print 'Calling utorrent'
|
||||
if len(sys.argv) < 2:
|
||||
scriptlogger.error('No folder supplied - is this being called from uTorrent?')
|
||||
print "No folder supplied - is this being called from uTorrent?"
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
dirName = sys.argv[1]
|
||||
nzbName = sys.argv[2]
|
||||
|
||||
return (dirName, nzbName)
|
||||
|
||||
def transmission():
|
||||
|
||||
dirName = os.getenv('TR_TORRENT_DIR')
|
||||
nzbName = os.getenv('TR_TORRENT_NAME')
|
||||
|
||||
return (dirName, nzbName)
|
||||
|
||||
def deluge():
|
||||
|
||||
if len(sys.argv) < 4:
|
||||
scriptlogger.error('No folder supplied - is this being called from Deluge?')
|
||||
print "No folder supplied - is this being called from Deluge?"
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
dirName = sys.argv[3]
|
||||
nzbName = sys.argv[2]
|
||||
|
||||
return (dirName, nzbName)
|
||||
|
||||
def blackhole():
|
||||
|
||||
if None != os.getenv('TR_TORRENT_DIR'):
|
||||
scriptlogger.debug('Processing script triggered by Transmission')
|
||||
print "Processing script triggered by Transmission"
|
||||
scriptlogger.debug(u'TR_TORRENT_DIR: ' + os.getenv('TR_TORRENT_DIR'))
|
||||
scriptlogger.debug(u'TR_TORRENT_NAME: ' + os.getenv('TR_TORRENT_NAME'))
|
||||
dirName = os.getenv('TR_TORRENT_DIR')
|
||||
nzbName = os.getenv('TR_TORRENT_NAME')
|
||||
else:
|
||||
if len(sys.argv) < 2:
|
||||
scriptlogger.error('No folder supplied - Your client should invoke the script with a Dir and a Relese Name')
|
||||
print "No folder supplied - Your client should invoke the script with a Dir and a Relese Name"
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
dirName = sys.argv[1]
|
||||
nzbName = sys.argv[2]
|
||||
|
||||
return (dirName, nzbName)
|
||||
|
||||
#def sabnzb():
|
||||
# if len(sys.argv) < 2:
|
||||
# scriptlogger.error('No folder supplied - is this being called from SABnzbd?')
|
||||
# print "No folder supplied - is this being called from SABnzbd?"
|
||||
# sys.exit()
|
||||
# elif len(sys.argv) >= 3:
|
||||
# dirName = sys.argv[1]
|
||||
# nzbName = sys.argv[2]
|
||||
# else:
|
||||
# dirName = sys.argv[1]
|
||||
#
|
||||
# return (dirName, nzbName)
|
||||
#
|
||||
#def hella():
|
||||
# if len(sys.argv) < 4:
|
||||
# scriptlogger.error('No folder supplied - is this being called from HellaVCR?')
|
||||
# print "No folder supplied - is this being called from HellaVCR?"
|
||||
# sys.exit()
|
||||
# else:
|
||||
# dirName = sys.argv[3]
|
||||
# nzbName = sys.argv[2]
|
||||
#
|
||||
# return (dirName, nzbName)
|
||||
|
||||
def main():
|
||||
scriptlogger.info(u'Starting external PostProcess script ' + __file__)
|
||||
|
||||
host = config.get("General", "web_host")
|
||||
port = config.get("General", "web_port")
|
||||
username = config.get("General", "web_username")
|
||||
password = config.get("General", "web_password")
|
||||
try:
|
||||
ssl = int(config.get("General", "enable_https"))
|
||||
except (ConfigParser.NoOptionError, ValueError):
|
||||
ssl = 0
|
||||
|
||||
try:
|
||||
web_root = config.get("General", "web_root")
|
||||
except ConfigParser.NoOptionError:
|
||||
web_root = ""
|
||||
|
||||
tv_dir = config.get("General", "tv_download_dir")
|
||||
use_torrents = int(config.get("General", "use_torrents"))
|
||||
torrent_method = config.get("General", "torrent_method")
|
||||
|
||||
if not use_torrents:
|
||||
scriptlogger.error(u'Enable Use Torrent on Sickbeard to use this Script. Aborting!')
|
||||
print u'Enable Use Torrent on Sickbeard to use this Script. Aborting!'
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
if not torrent_method in ['utorrent', 'transmission', 'deluge', 'blackhole']:
|
||||
scriptlogger.error(u'Unknown Torrent Method. Aborting!')
|
||||
print u'Unknown Torrent Method. Aborting!'
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
dirName, nzbName = eval(locals()['torrent_method'])()
|
||||
|
||||
if dirName is None:
|
||||
scriptlogger.error(u'MediaToSickbeard script need a dir to be run. Aborting!')
|
||||
print u'MediaToSickbeard script need a dir to be run. Aborting!'
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
if not os.path.isdir(dirName):
|
||||
scriptlogger.error(u'Folder ' + dirName + ' does not exist. Aborting AutoPostProcess.')
|
||||
print u'Folder ' + dirName + ' does not exist. Aborting AutoPostProcess.'
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
if nzbName and os.path.isdir(os.path.join(dirName, nzbName)):
|
||||
dirName = os.path.join(dirName, nzbName)
|
||||
|
||||
params = {}
|
||||
|
||||
params['quiet'] = 1
|
||||
|
||||
params['dir'] = dirName
|
||||
if nzbName != None:
|
||||
params['nzbName'] = nzbName
|
||||
|
||||
if ssl:
|
||||
protocol = "https://"
|
||||
else:
|
||||
protocol = "http://"
|
||||
|
||||
if host == '0.0.0.0':
|
||||
host = 'localhost'
|
||||
|
||||
url = protocol + host + ":" + port + web_root + "/home/postprocess/processEpisode"
|
||||
|
||||
scriptlogger.debug("Opening URL: " + url + ' with params=' + str(params))
|
||||
print "Opening URL: " + url + ' with params=' + str(params)
|
||||
|
||||
try:
|
||||
response = requests.get(url, auth=(username, password), params=params, verify=False)
|
||||
except Exception, e:
|
||||
scriptlogger.error(u': Unknown exception raised when opening url: ' + str(e))
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
if response.status_code == 401:
|
||||
scriptlogger.error(u'Invalid Sickbeard Username or Password, check your config')
|
||||
print 'Invalid Sickbeard Username or Password, check your config'
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
if response.status_code == 200:
|
||||
scriptlogger.info(u'Script ' + __file__ + ' Succesfull')
|
||||
print 'Script ' + __file__ + ' Succesfull'
|
||||
time.sleep(3)
|
||||
sys.exit()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
@@ -1,33 +0,0 @@
|
||||
#!/usr/bin/env python2
|
||||
|
||||
# Author: Nic Wolfe <nic@wolfeden.ca>
|
||||
# URL: http://code.google.com/p/sickbeard/
|
||||
#
|
||||
# This file is part of SickRage.
|
||||
#
|
||||
# SickRage is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# SickRage is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with SickRage. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
import sys
|
||||
import autoProcessTV
|
||||
|
||||
if len(sys.argv) < 2:
|
||||
print "No folder supplied - is this being called from SABnzbd?"
|
||||
sys.exit()
|
||||
elif len(sys.argv) >= 8:
|
||||
autoProcessTV.processEpisode(sys.argv[1], sys.argv[2], sys.argv[7])
|
||||
elif len(sys.argv) >= 3:
|
||||
autoProcessTV.processEpisode(sys.argv[1], sys.argv[2])
|
||||
else:
|
||||
autoProcessTV.processEpisode(sys.argv[1])
|
||||
@@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
# Config file for sickrage init script
|
||||
|
||||
# Version of Python ("2.6", "2.7" or "2"; default should work for almost everyone)
|
||||
PYTHON_BIN="python2"
|
||||
|
||||
# Location of config file. # Make sure the user specified below can read and write to this file.
|
||||
# Only change this if you really know what you are doing!
|
||||
CONFIG_FILE="/etc/sickrage/sickrage.ini"
|
||||
|
||||
# Which port to run Sickrage.
|
||||
# This has priority over the port configured in the webinterface.
|
||||
PORT="8081"
|
||||
|
||||
# Which user to run sickrage
|
||||
USER="sickrage"
|
||||
|
||||
# Which group to run sickrage
|
||||
GROUP="sickrage"
|
||||
|
||||
# Use WebUpdater [YES/NO]
|
||||
# The correct way to update a package installed with emerge is simply to reemerge
|
||||
# the package. If you wish to use the built in webupdater you will need to pull
|
||||
# the git source to a seperate dir and change code_dir to reflect changes
|
||||
# ie.
|
||||
# git clone https://github.com/midgetspy/Sick-Beard.git /opt/sickrage
|
||||
# set below to CODE_DIR=/opt/sickrage
|
||||
WEBUPDATER="NO"
|
||||
|
||||
# Where Python code is installed
|
||||
CODE_DIR="/usr/share/sickrage"
|
||||
@@ -1,9 +0,0 @@
|
||||
[General]
|
||||
log_dir = /var/log/sickrage
|
||||
web_port = 8081
|
||||
web_host = 0.0.0.0
|
||||
web_username = "sickrage"
|
||||
web_password = "secret"
|
||||
launch_browser = 0
|
||||
cache_dir = /var/sickrage/cache
|
||||
tv_download_dir = "/var/sickrage/download"
|
||||
@@ -1,52 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
run_dir="/var/run/sickrage"
|
||||
pidfile="$run_dir/sickrage.pid"
|
||||
etc_dir="/etc/sickrage"
|
||||
var_dir="/var/sickrage"
|
||||
log_dir="/var/log/sickrage"
|
||||
program="$CODE_DIR/SickBeard.py"
|
||||
bin=`which $PYTHON_BIN`
|
||||
|
||||
check_config() {
|
||||
|
||||
if [ ! -d "${run_dir}" ]; then
|
||||
mkdir "${run_dir}"
|
||||
fi
|
||||
|
||||
# Permission stuff. Should ensure that the daemon user always have write permissions.
|
||||
# Quick and ugly but should get the job done.
|
||||
|
||||
chown -R ${USER}:${GROUP} "${run_dir}"
|
||||
chown -R ${USER}.${GROUP} "${var_dir}"
|
||||
chown -R ${USER}.${GROUP} "${etc_dir}"
|
||||
chown -R ${USER}.${GROUP} "${log_dir}"
|
||||
if [ "${WEBUPDATER}" = "YES" ]; then
|
||||
chown -R ${USER}.${GROUP} "${CODE_DIR}"
|
||||
fi
|
||||
}
|
||||
|
||||
start() {
|
||||
check_config
|
||||
|
||||
sed -i "s/^cur_commit_hash.*/cur_commit_hash = `cat /usr/share/sickrage/version.txt`/" /etc/sickrage/sickrage.ini
|
||||
|
||||
ebegin "Starting SickRage"
|
||||
start-stop-daemon --start --pidfile ${pidfile} -u ${USER} -g ${GROUP}\
|
||||
--exec ${bin} ${program} -- \
|
||||
--daemon --pidfile ${pidfile} --datadir ${var_dir} --nolaunch --config ${CONFIG_FILE} --port ${PORT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping SickRage"
|
||||
start-stop-daemon --stop --pidfile ${pidfile} --retry 15
|
||||
eend $?
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
/var/log/sickrage/*.log{
|
||||
missingok
|
||||
su sickrage sickrage
|
||||
}
|
||||
@@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_6 python2_7 )
|
||||
|
||||
EGIT_REPO_URI="https://github.com/SickRage/SickRage.git"
|
||||
|
||||
inherit eutils user git-2 python-any-r1
|
||||
|
||||
DESCRIPTION="SickRage - Searches TheTVDB and TVRage for shows"
|
||||
HOMEPAGE="http://sickrage.github.io/"
|
||||
|
||||
LICENSE="GPL-3" # only
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PTYHON_DEPS}"
|
||||
RDEPEND="
|
||||
dev-python/cheetah
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# Create sickrage group
|
||||
enewgroup ${PN}
|
||||
# Create sickrage user, put in sickrage group
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc readme.md
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.conf" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.init" ${PN}
|
||||
|
||||
# Location of log and data files
|
||||
keepdir /var/${PN}
|
||||
fowners -R ${PN}:${PN} /var/${PN}
|
||||
|
||||
keepdir /var/{${PN}/{cache,download},log/${PN}}
|
||||
fowners -R ${PN}:${PN} /var/{${PN}/{cache,download},log/${PN}}
|
||||
|
||||
insinto /etc/${PN}
|
||||
insopts -m0660 -o ${PN} -g ${PN}
|
||||
doins "${FILESDIR}/${PN}.ini"
|
||||
|
||||
# Rotation of log files
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644 -o root -g root
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# weird stuff ;-)
|
||||
last_commit=$(git rev-parse HEAD)
|
||||
echo ${last_commit} > version.txt
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r contrib gui lib locale runscripts sickbeard sickrage tests SickBeard.py version.txt ${FILESDIR}/autoProcessTV
|
||||
|
||||
fowners -R ${PN}:${PN} /usr/share/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
# we need to remove .git which old ebuild installed
|
||||
if [[ -d "/usr/share/${PN}/.git" ]] ; then
|
||||
ewarn "stale files from previous ebuild detected"
|
||||
ewarn "/usr/share/${PN}/.git removed."
|
||||
ewarn "To ensure proper operation, you should unmerge package and remove directory /usr/share/${PN} and then emerge package again"
|
||||
ewarn "Sorry for the inconvenience"
|
||||
rm -Rf "/usr/share/${PN}/.git"
|
||||
fi
|
||||
|
||||
elog "SickRage has been installed with data directories in /var/${PN}"
|
||||
elog
|
||||
elog "New user/group ${PN}/${PN} has been created"
|
||||
elog
|
||||
elog "Config file is located in /etc/${PN}/${PN}.ini"
|
||||
elog
|
||||
elog "Please configure /etc/conf.d/${PN} before starting as daemon!"
|
||||
elog
|
||||
elog "Start with ${ROOT}etc/init.d/${PN} start"
|
||||
elog "Visit http://<host ip>:8081 to configure SickRage"
|
||||
elog "Default web username/password : sickrage/secret"
|
||||
elog
|
||||
}
|
||||
Reference in New Issue
Block a user