commit
c3c9ffdc8a
@ -1,23 +1,35 @@
|
||||
AUX cgiwrap-fcgi.init 888 RMD160 7afcf4d52d22a95e10747932db31ba6fe4d366a4 SHA1 5ddadaae75e3c78249010e13af2ec11bb7b2fee6 SHA256 4fa68bc0002fe36318269a664b39ecf6e3aeac86d7cf2ff492f618b73d28f6ab
|
||||
AUX cgiwrap-fcgi.pl 3274 RMD160 f666bfc87c5e8a8a9a2a745d093ef6b494f96dfe SHA1 6b2e6340fcbf981c990afd40305a149658f60779 SHA256 0407f373365e3c2b0c2e45f36a804faa1b739e6f57ed400da63c604b8b1a4246
|
||||
AUX nginx.conf-r4 1358 RMD160 a948df249a16be86c114d587cfa5ee570d84a356 SHA1 e9db0447a1beb326a0858cf8189328229d1d3edf SHA256 6ff6c9301ea2a4d74a335b9119d7f9dba87d4e83793cf22d837d49f061763096
|
||||
AUX nginx.init-r2 1829 RMD160 bfacac3846545f83a303648dc2cc6edd8774abeb SHA1 f2dd70c8e16e15688152bde5af780123d54865bb SHA256 446fa131d9a89a15db49d0df78e36cdde1aedc2ea2f4253893f1cf219a002fe9
|
||||
AUX nginx.logrotate 364 RMD160 9fdfd2ea2f49b8dba20a030d893e34779bb32364 SHA1 4ab07992fa5c64f753e3643e1b51fcab4dec6ccf SHA256 9e3e090dfd10861d5f9b279e19113ce8d05caf9f33d488f6aabf9f19ac0cf925
|
||||
AUX passenger-CFLAGS-headers.patch 3685 RMD160 7d5fff162baa926e85e58f54dab57ca42223d253 SHA1 c20db105461dc25ddc5faa90611d56226396027f SHA256 8268e78780322acc6af90b03a1f3d1ff60d073dcdc90086ec17b14696ad3b1f5
|
||||
AUX tcp.patch 1767 RMD160 f3b3e7263785b47a1788d65c60634c4873a0e39b SHA1 343aad428a389dd0f53c89d161c89f34c49e061d SHA256 f92329b0b51f76cae45ba317594d45b35799672f78c0102f6e8d63f33d362a2a
|
||||
DIST nginx-1.1.2.tar.gz 674101 RMD160 54a1554a894cdd7e041da2a5cbf0876ee6092e88 SHA1 a8214bff7452c39c44f91853c104879b67849809 SHA256 cc64476ae800c45d2ba810274387139e5d8cbb8c1e45e8701416eea2a377151b
|
||||
DIST nginx_http_push_module-0.692.tar.gz 29119 RMD160 9d2be16074cf28115af0f1d8f3646937cda649ad SHA1 72103084cad8f4d3d9a49a6b04cf780e4541605d SHA256 64868708071aa21dbc4c7a07d149dd6ec9108fb7eaf2aad5ad069406151f17fe
|
||||
DIST nginx_upload_module-2.2.0.tar.gz 25796 RMD160 5734af837be3fe8ec444a7e5e7f6707118594098 SHA1 93d6e83e613a0ce2ed057a434b344fa1b6609b47 SHA256 b1c26abe0427180602e257627b4ed21848c93cc20cefc33af084983767d65805
|
||||
DIST ngx_cache_purge-1.3.tar.gz 6434 RMD160 d9f5d225b99f3164e80a85b7c7b4bee8bb16ea0e SHA1 ec52989ed545ef2be58414e747e592004794eba6 SHA256 256eec780f0f8f09ed10d5b0e4c3c32883a55d96e814fa0390b880d20745fcdb
|
||||
DIST ngx_http_headers_more-0.15.tar.gz 22738 RMD160 2200ab529a086dd6bcf11a9a0470a4d05de7c824 SHA1 12bab1bbcecf57c410a812f5a7eebac49ff317f8 SHA256 d5ada29c15ff112c39599e3b245450ef785bb096c6724ecd8eaf1699b06e10e2
|
||||
DIST ngx_slowfs_cache-1.6.tar.gz 10972 RMD160 e1d10851db4a55fc465665caa3f6989d142af2d3 SHA1 072d06b7547629b244bebeef7df7425567f264c9 SHA256 cc0505dbba30153691ff7b3a7353804d5ceb9a519a407b938cae49e9913a7bcc
|
||||
DIST ngx_upload_progress-0.8.2.tar.gz 16559 RMD160 3aadb9bf9b15b3810d1acb466d331ea5bdae6062 SHA1 cbff2734cccc3ac93b3422a9a01547af29f9c11d SHA256 cab70d2e300cfa0d9d7d3b34bf27810533ecbf11dddcd5078a4754cfab337c95
|
||||
DIST passenger-3.0.8.tar.gz 2362561 RMD160 1264b76a3440492b3d435050007611735a627c72 SHA1 265d1dcb66a29b944fa475f7d6831ce16ac37e2e SHA256 ccef21dc97b54de17c1d44644b2bc67b7732a860ff67206a4c557727311a8349
|
||||
DIST yaoweibin-nginx_tcp_proxy_module-v0.24-0-gd10ea36}.zip 172097 RMD160 3f3a64ad8b2376b2f97fef2508b53c486594e502 SHA1 6f2e3612f339c390e9c54170f07badcfb460df0c SHA256 a8287a4827909feaada41cb9f2b72dd28eb57f8c3d1e2468dd297156b0db8cc1
|
||||
EBUILD nginx-1.1.2-r11.ebuild 11583 RMD160 2a665bc67d49f085baafeb6cb9f2a5a2d6e2e01d SHA1 4953dbe3dbac29022cdb61a0df1cdd51f490fcb5 SHA256 0a8aa9f49bc1b3a63f7b4d1c2b3b26bec8223d447516cc25b4d12abc6eb64c12
|
||||
EBUILD nginx-1.1.2-r12.ebuild 11583 RMD160 2a665bc67d49f085baafeb6cb9f2a5a2d6e2e01d SHA1 4953dbe3dbac29022cdb61a0df1cdd51f490fcb5 SHA256 0a8aa9f49bc1b3a63f7b4d1c2b3b26bec8223d447516cc25b4d12abc6eb64c12
|
||||
EBUILD nginx-1.1.2-r14.ebuild 11583 RMD160 2a665bc67d49f085baafeb6cb9f2a5a2d6e2e01d SHA1 4953dbe3dbac29022cdb61a0df1cdd51f490fcb5 SHA256 0a8aa9f49bc1b3a63f7b4d1c2b3b26bec8223d447516cc25b4d12abc6eb64c12
|
||||
EBUILD nginx-1.1.2-r15.ebuild 11620 RMD160 47d8e549ab7fca6be000e375cee5daf48449b0f3 SHA1 541f7cbd5f8d8340aad1b8a7d595bc6b30f26ed6 SHA256 4ba5dfdd66cfddde47b6c53b2dce6b5df628f42f3d9536fc3311227cff6c6135
|
||||
EBUILD nginx-1.1.2-r16.ebuild 12253 RMD160 e5ccf01e9d688e96f7fcbfc3829b7596470c692d SHA1 7717293fc9b331ee81ea384bd3c7a85abeff034e SHA256 77517de3e269811682413e0f6998e1b15fd3785853fd31ace3dcb903c91090b9
|
||||
MISC ChangeLog 48066 RMD160 4345372e01882914b5139dec2725ea79d6e0cc81 SHA1 4c4b381ec65c74ea1a3666617e62a353f634a2f8 SHA256 f0646085338da695c2f6e2e59403fe676c1ba297eb3dc455a09844b6c78411bb
|
||||
MISC metadata.xml 2402 RMD160 fee632a79ad08ef0fe36cd73d718a81348d71370 SHA1 12b7d3eac7a8e9f99dbe2b64bc288aa5e3f4608c SHA256 f133dca88780f2716797c5d2fc309466013d35b3dccf752ab27fb4ee399c6e47
|
||||
AUX cgiwrap-fcgi.init 888 SHA256 4fa68bc0002fe36318269a664b39ecf6e3aeac86d7cf2ff492f618b73d28f6ab SHA512 125e388d900a30b864714df7d5ffeba06a4c0e53a54bdd54c891aa7579ceec2555bb05461b69848ae67a6a9093d51bff2de11de78b324ee1df49562e051b0a87 WHIRLPOOL b74c57deb0b49e8b42f205fa4197dd283388d4c07983afcc83faa1c2aa13e7596d9506434b4c1293f29ee6e6924dceb99a0192760ab7af0874a6c7a5a6e3cbab
|
||||
AUX cgiwrap-fcgi.pl 3274 SHA256 0407f373365e3c2b0c2e45f36a804faa1b739e6f57ed400da63c604b8b1a4246 SHA512 9882c8d2dd4de22d6347fe171a4d55673c78bc632e8fc6d42ef6fb57fae9c265aab42f659b6c22c84512e18af0874efe9fe584121db02ddb94c9cd45a25b5af6 WHIRLPOOL 2753fabded979e59025d43009565b333dcbc222bb9542bf74c381af20c26485eb729516d6bcef16f9619b542b7d9a2978b15932e47640c84afd115c6a6e8107e
|
||||
AUX nginx.conf 1358 SHA256 6ff6c9301ea2a4d74a335b9119d7f9dba87d4e83793cf22d837d49f061763096 SHA512 1873c9e54ea5020160c86da3f300e3eac589c0d30cdbe3446476b5b3f5bd388da95224cfb1a020b41720c9ce55ab6bb945dcc41612d5850da0e2ae0ceeeaa587 WHIRLPOOL 7672245bd11d6ed987e13d6bfe4dbc2140cc3d2e22616c49ab7ed5f42135c96b5779e4dfd16ba9e2d82aa59d98cd56a4872d18c3774e357ef79385fc874387d2
|
||||
AUX nginx.conf-r4 1358 SHA256 6ff6c9301ea2a4d74a335b9119d7f9dba87d4e83793cf22d837d49f061763096 SHA512 1873c9e54ea5020160c86da3f300e3eac589c0d30cdbe3446476b5b3f5bd388da95224cfb1a020b41720c9ce55ab6bb945dcc41612d5850da0e2ae0ceeeaa587 WHIRLPOOL 7672245bd11d6ed987e13d6bfe4dbc2140cc3d2e22616c49ab7ed5f42135c96b5779e4dfd16ba9e2d82aa59d98cd56a4872d18c3774e357ef79385fc874387d2
|
||||
AUX nginx.init-r2 1829 SHA256 446fa131d9a89a15db49d0df78e36cdde1aedc2ea2f4253893f1cf219a002fe9 SHA512 8fcc6d12e683022d713d1d4c7ae13f13afae14df642fea4463cca8a57303c892eb5e74f80de21edbfd69fe0d0a8e4c6fb9ae810b0601047e20044eda5a5da5bd WHIRLPOOL c0aa5fffabb398989aa14dce0d447104d464808ad17327f10eb77634bfa1884d279b890810cb11145d641c0a6cbb2eea73ce63de3a82999c2e089b7d7a9fc9fa
|
||||
AUX nginx.initd 2057 SHA256 b24365bda7fb77b3bb359550b8598c4633ba32560b096f7ecda5757dc5faf761 SHA512 8e4515885a93e20ca9e7c82473b1f5b28b8554d5e0be9129dbc57b26930224ad1f2724b557314020147fb00b12c2e0a734e28f60f8e0f5d84c7aadf9ee3560c0 WHIRLPOOL 83447ba3cd4bdbdf00a817d971ab9726a6ba847c334e5185b7b17a2fadf758590ca1500dea84371022d0ce8e3aff96b37de3bbe75657b7f9dba9e7475e04f3d6
|
||||
AUX nginx.logrotate 364 SHA256 9e3e090dfd10861d5f9b279e19113ce8d05caf9f33d488f6aabf9f19ac0cf925 SHA512 bdb56d90cfa163a9b22262c77d702cfa2319c0c61e3ce2cc2a0c099681bbd6a631a2e2f442ee28802e178799c592e5dd560f3bd33bf2c86d7ecf2b40a204746c WHIRLPOOL be1b76c1d51e6e597f9b441753dda3a943c31ccfb94f02a8da6edcd5c8f22b251df3086b6029101143beef0ca9c624d3ee709aca3e307ab0c910002931c1dc08
|
||||
AUX passenger-CFLAGS-headers.patch 3685 SHA256 8268e78780322acc6af90b03a1f3d1ff60d073dcdc90086ec17b14696ad3b1f5 SHA512 d2cf15c559829f5f9b6b95791387f95f2cfb9dab45aba3af97f12c1989a865c0c37c524f43070c8b416cdc58852f3e6f3a7c6ec82ac98a1f3b4af328e02b5bdb WHIRLPOOL aded5b09af3f5a80e2f2fa7dbd746de8af579064a2c8285b3e464257261314d6a4a2aa15a436ae794250a184650f7cc68feee45b16a809620dc4ef955f6b686e
|
||||
AUX tcp.patch 1767 SHA256 f92329b0b51f76cae45ba317594d45b35799672f78c0102f6e8d63f33d362a2a SHA512 f9c0f0673f5bf48df83928f34de4fc451ea95954ab6b390d4e0bfd2064aa81eea388a52bdfd95503dd5bef554fd8ee57e535e9789a5584fc2ac85f8673a475d0 WHIRLPOOL f7ffcd454efe2d2e3f06619f86377dac0ed2c4e4152cf42a7282aeadbf056d17cc6186a6f2f536ff9ab0347d2c43c1d2c2304872bb1adda5131b6b21ef984e2c
|
||||
DIST nginx-1.1.2.tar.gz 674101 SHA256 cc64476ae800c45d2ba810274387139e5d8cbb8c1e45e8701416eea2a377151b SHA512 d8360b7649b470a0bffb692fec164651598df34b57ba22af71961e3345db7d65448b79f489ab576d8303dece5b6d7ae88d6c8445e0226703ed2e0d007ce9d4d5 WHIRLPOOL 0fb477d911f6c5695b6bab1ef6a9ea9f61ad9550079e593e8078a4fdc07516aac644b7bdae3e4e9d55e37b7e05673c03255773c02db0753ef39b8b90d10bc928
|
||||
DIST nginx-1.2.4.tar.gz 724309 SHA256 c587c25f2fa9c9dde6a58cbaf7bf2c808ee360cfa3cdaf00a13a33f728d96c43 SHA512 e01ff79db7a68c291e32061c167af266ab7f6cfc8b556dcadade097b95ac01f9fa5d66f834aa7dc6d371f8f5bf6de41d91e0d2d7e69c6f99a09ed53f76e38ed6 WHIRLPOOL 6b3726b6541f86e02734877dfe8e515c4ab42c7f74dcce7dddc712a770907a7fc4d272a8ef99830e7397ddb817eef37e0b3db7eac5c061997c5fab28d2c74a5b
|
||||
DIST nginx_http_push_module-0.692.tar.gz 29119 SHA256 64868708071aa21dbc4c7a07d149dd6ec9108fb7eaf2aad5ad069406151f17fe
|
||||
DIST nginx_upload_module-2.2.0.tar.gz 25796 SHA256 b1c26abe0427180602e257627b4ed21848c93cc20cefc33af084983767d65805
|
||||
DIST ngx_cache_purge-1.3.tar.gz 6434 SHA256 256eec780f0f8f09ed10d5b0e4c3c32883a55d96e814fa0390b880d20745fcdb
|
||||
DIST ngx_cache_purge-1.6.tar.gz 7296 SHA256 863d6dd60e31b3c24c1f2d314f294c62a4ab5cf37f98c20ded9f6df1018baac8 SHA512 d1e8d3ebd170a3d26eb1dd03a058974ea6a5c0b29e0feb2c7518f9de7524b62816a697b3b17de4199fdb36e405ce88aef722005916ad1d903f44a653e2c3458f WHIRLPOOL 891e82dbef1db64527c767656ae74dd0d2ae230e359654d3aa038ad44d317a95721dd0d7ad8bf7e096ac15e1a8d8c8d8db98e6339ca48a7ec1ad6d9e2f6150b5
|
||||
DIST ngx_devel_kit-0.2.17.tar.gz 64964 SHA256 bf5540d76d1867b4411091f16c6c786fd66759099c59483c76c68434020fdb02 SHA512 d2d935ec28719a8046358b248a5d4eef3f39bba437f3fc986a0621a12855acfa541f30720b33dc4afea2718d36e282be8673e7c800fa62f7e1ac67a8839a620d WHIRLPOOL eb55bf12624b07f2357fd05901acb5f5fdc7d83d49388e6e9d3e20394693ff922dbcf7816f604b7592fb16c8067ba96cc0d828368be9de7469138e262457917d
|
||||
DIST ngx_http_fancyindex-0.3.1.tar.gz 13148 SHA256 49328a175548a456e2e2b78d0be87df7aade60345e07be57f2337c83058da115 SHA512 6d21d8498eac949dc37c36fdfe24e7e4dd172293c840543bb02b6581dbb8982502e5f70d2badce4bfd0dad2b41ab3f01abb746b5b275f286cb01af4f297e2ce5 WHIRLPOOL 47b2f82d766589ed57d0878e63642d609fcb494df25c8265ccfd51b51e4a831eb42cff1e1aedafc6553885383d06ece4d9d493485dbc53df81bb1d300679113b
|
||||
DIST ngx_http_headers_more-0.15.tar.gz 22738 SHA256 d5ada29c15ff112c39599e3b245450ef785bb096c6724ecd8eaf1699b06e10e2
|
||||
DIST ngx_http_headers_more-0.17.tar.gz 23324 SHA256 039b8296f3954748fcb86a80076af4d8d5ee8e84340c1f55ccdbef72437357d9 SHA512 b53a7c8783b2a5cc77e3cfdd399873b6ddc5951193e7342e92d4b22f29188994cbccf804bbd8ab04c7db0202f14b924ffbb5acce297f96a6a038194f79177a98 WHIRLPOOL 0ddf6dfb172552ccd57105995aac2b08920df33fc9000210520fdd827295e3f0ecc3a5b59ea8cbfb1c587f12a0ea7c179d8b0cec1415cbf7c0bb097f7fb9d19b
|
||||
DIST ngx_http_lua-0.5.10.tar.gz 369553 SHA256 d8a2d91f4fb2792c55ecc2c7dcf24e40a1b795ac91e1f73d98b67d000b957ee6 SHA512 3a2088fb5a4da251afc8a500e3626035570f6fbf1bbd943e6ad1f7fa240ee849f07d4bd595a1d8d5137c3db7fcae1793e898efc286c10841b9179562ca60d7ed WHIRLPOOL 04ff8aec6c4de25a49b8394886e0c47a78a56cd4a0f6dac4018de9a474fdf1a1578ffedeede6dcd9bec3885c6296ba077ec9f34e33c3719a059155c6744026d5
|
||||
DIST ngx_http_upload_progress-0.9.0.tar.gz 17020 SHA256 3fb903dab595cf6656fa0fc5743a48daffbba2f6b5c554836be630800eaad4e2 SHA512 8b585609983b34a9f3fa39aa18b744be7109beee2e1892ec723deae0353fb366f700e58e120569b7ff364841d271d04b32a9022a0165e9f33e07a21437e1c0ca WHIRLPOOL 42aefc25e98cd0a8f48705638462927494a3b0bcbed1fb0ea7b33a6027a848950347d20d1b055211890ccf4be4f31c7e417614948adeec1272ea01c2e5f0d29a
|
||||
DIST ngx_slowfs_cache-1.6.tar.gz 10972 SHA256 cc0505dbba30153691ff7b3a7353804d5ceb9a519a407b938cae49e9913a7bcc
|
||||
DIST ngx_slowfs_cache-1.9.tar.gz 11527 SHA256 7a2e07033550f3b594949a4392ac9a34e5583025ffea4e33e39a7f0d9fdc8b42 SHA512 4151ecd9272de332720de8b838fded1e7b192b2426683c3d7e49f67307603154076625b87a218b34609afd0d0fb0827f8a831b38c95cdc0f2a369aade663d25e WHIRLPOOL 24a4f5bb03563557ab1bc32bf82915c36017af3abe4e1ae2a92f1b688f189a3712bced7484d9786598dce0fc1ae7d80bceb184fc23ce9c2a130bc135b6e61a9b
|
||||
DIST ngx_upload_progress-0.8.2.tar.gz 16559 SHA256 cab70d2e300cfa0d9d7d3b34bf27810533ecbf11dddcd5078a4754cfab337c95 SHA512 32bd169efc02888933dafc556c6ed439e7e1661e2639d08c6fe84ee1695307e9aef6c02e3159089ae4eeea3f727f01fae42348d07dbfd2aa774e6cf96e44cac6 WHIRLPOOL b3be9c898e3e6035a23d4ba8fbdf2060d5ce2a0577ec8b20176974de7fcc5d389b2f07170d770194e3d1d5ecb6de71b94cd67c1532b2758c1dfe0671e0164a6a
|
||||
DIST passenger-3.0.8.tar.gz 2362561 SHA256 ccef21dc97b54de17c1d44644b2bc67b7732a860ff67206a4c557727311a8349 SHA512 853c4900b8480def16e6e7bfe192c3d8b3c6574117832ea18e58ffaa47782c4defa0cde94d6133b1d5bb9156478bd4b256ab2c89bdafdf5de1cd17d825772833 WHIRLPOOL 5144e6896118c87b0e2a7849d4efaf8a35250631fa4a9f36989bac2846004ee4be981c29f7ad9a7d9bc86c98a2edbde2af5c3c9a5c7a70f27e73c8b5cdb1081e
|
||||
DIST v0.26.zip 170992 SHA256 944fe8458766ac8bf4acf273a6dca7533ad58b8a6a7f31413e84eab5a74b719e SHA512 e91d3670401010a1b61954bbfc9e0f5ed270756a2f3f89a791dbeca5a545ca6a1092665d6b83d0a2c8a5327e4817382ac2eda3e8ce427995afbf70dadd37772a WHIRLPOOL a22e25bb345be36b4b515e0a594b2e41666ce2bcbc62e8bc5dff291035abee3ea1c18afa2d01090bd8fa2d3575e9b5a7ae92ca0e9dc623e4c4560c29f4da128d
|
||||
DIST yaoweibin-nginx_tcp_proxy_module-v0.24-0-gd10ea36}.zip 172097 SHA256 a8287a4827909feaada41cb9f2b72dd28eb57f8c3d1e2468dd297156b0db8cc1 SHA512 b237f9415ea17bbac3f6fd9921195e8e17b1c4e2936b5e550907788275f6b92c38640e373817ffb079f97c239bc458e5e036530974a65f5964b9d84699a3f5b6 WHIRLPOOL 14d9968a416dc758e6cbea8a203b61c20843adf1fd8001dc2b8b1017ea62e4103bb74a7b75fec837982e8aaa75e4ef566506c370704fa5e8ac043b8c7a4c3c79
|
||||
EBUILD nginx-1.1.2-r11.ebuild 11583 SHA256 0a8aa9f49bc1b3a63f7b4d1c2b3b26bec8223d447516cc25b4d12abc6eb64c12 SHA512 851df30052871cb9314f43a3e1a11e0937170fb968db49a8ce292de7c47034150cf8de21e1344f2bee8e41b197b45c1c6747622bca03c8b6d5754eee69435d5d WHIRLPOOL 844ed92a132d8de4b23ba9f131cb6d30c78bb4f0d6536db267e36b4559424c17c8d658b24ea4063570a8aa3b341546c826241166c848a51495e34cff07472d96
|
||||
EBUILD nginx-1.1.2-r12.ebuild 11583 SHA256 0a8aa9f49bc1b3a63f7b4d1c2b3b26bec8223d447516cc25b4d12abc6eb64c12 SHA512 851df30052871cb9314f43a3e1a11e0937170fb968db49a8ce292de7c47034150cf8de21e1344f2bee8e41b197b45c1c6747622bca03c8b6d5754eee69435d5d WHIRLPOOL 844ed92a132d8de4b23ba9f131cb6d30c78bb4f0d6536db267e36b4559424c17c8d658b24ea4063570a8aa3b341546c826241166c848a51495e34cff07472d96
|
||||
EBUILD nginx-1.1.2-r14.ebuild 11583 SHA256 0a8aa9f49bc1b3a63f7b4d1c2b3b26bec8223d447516cc25b4d12abc6eb64c12 SHA512 851df30052871cb9314f43a3e1a11e0937170fb968db49a8ce292de7c47034150cf8de21e1344f2bee8e41b197b45c1c6747622bca03c8b6d5754eee69435d5d WHIRLPOOL 844ed92a132d8de4b23ba9f131cb6d30c78bb4f0d6536db267e36b4559424c17c8d658b24ea4063570a8aa3b341546c826241166c848a51495e34cff07472d96
|
||||
EBUILD nginx-1.1.2-r15.ebuild 11620 SHA256 4ba5dfdd66cfddde47b6c53b2dce6b5df628f42f3d9536fc3311227cff6c6135 SHA512 03d1b8df23b7ceee47d59788110f71bfcc67ce861afc6fdebf97a46a746ba17f60839fe2c23358eab711697eeed61b41c6d01e1fb9950737e3d92bb28faf2bc5 WHIRLPOOL def25aaa40dfeeb39bb8f081f8c5fd34260c5c219f8251c0a7d826550fe811c0180b5c22592d766064190f0031623eb792306ef3663df6d899fa574e8abdf858
|
||||
EBUILD nginx-1.1.2-r16.ebuild 12253 SHA256 77517de3e269811682413e0f6998e1b15fd3785853fd31ace3dcb903c91090b9 SHA512 611fe619eb0c923ff5707fac9fe9ed33872d5613bad106190c1b0fc09e4dc154443fa8f0248f067c49bb5ea5842eed05ae9e2c575acf9e07a118a1d65d6cf698 WHIRLPOOL 6c8c9b19e9d29536286b7f775fbdba4c43c3e092182fd63ea4af4e919288e8f111ea3fb3edd531161d5fdf5d0b6f637918f47265088bad1ff6524be484d1ebed
|
||||
EBUILD nginx-1.2.4-r1.ebuild 14651 SHA256 e1f6c51e34e90dd8897c316b7ec6956d032423c3ff52715911a82b8db00983a3 SHA512 e4165034290d02cb5cbea5905c9f12ed08bd1f9aa6c93800b437775b4668f5120aac57df452724c63f013f4dc87cbbbedb099321a2c6b89898d498f5f9608954 WHIRLPOOL 9d078c7667537cc49940fbf69e347b5bca7ba4a88907de955349d05f6598d4f83a973620e3a252a5b80418155fb04347cad65f8ca86c368a1594394bc6d7e09b
|
||||
MISC ChangeLog 48066 SHA256 f0646085338da695c2f6e2e59403fe676c1ba297eb3dc455a09844b6c78411bb SHA512 6c81fb96cc81f79e74ea1b33554290c4f2fdf0f59d0c17e41eb396fe507cfef762f6dd7a518396277cc2f997c1f2e94dc005016112ff0c23f1553ef3ae55ee8d WHIRLPOOL 5e211a3b05d4a52f6b6941f8de4a9b5efa8963e7b9d2c0beb47181c132057b6367a05a70c7492819a581238d34437bdc1d9880cca276164b6966b69f6782b875
|
||||
MISC metadata.xml 2402 SHA256 f133dca88780f2716797c5d2fc309466013d35b3dccf752ab27fb4ee399c6e47 SHA512 a938191d0070314a71d9edb1337578ceb52ca1454f1f98c7d26ea6911dd02dbee3eeb9122e1845aed4dee6f6012fcf7f9b396b5bfe88b869dc3740685b553bd4 WHIRLPOOL f7a387152919869f8cce100cb42be2c0f80d19523d673baaff91a1972248d290d61533c727411e1c8c477b224c3c97f31c85b6560b6c0ea9dea06c9453b69f20
|
||||
|
@ -0,0 +1,72 @@
|
||||
user nginx nginx;
|
||||
worker_processes 1;
|
||||
|
||||
error_log /var/log/nginx/error_log info;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
use epoll;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
log_format main
|
||||
'$remote_addr - $remote_user [$time_local] '
|
||||
'"$request" $status $bytes_sent '
|
||||
'"$http_referer" "$http_user_agent" '
|
||||
'"$gzip_ratio"';
|
||||
|
||||
client_header_timeout 10m;
|
||||
client_body_timeout 10m;
|
||||
send_timeout 10m;
|
||||
|
||||
connection_pool_size 256;
|
||||
client_header_buffer_size 1k;
|
||||
large_client_header_buffers 4 2k;
|
||||
request_pool_size 4k;
|
||||
|
||||
gzip on;
|
||||
gzip_min_length 1100;
|
||||
gzip_buffers 4 8k;
|
||||
gzip_types text/plain;
|
||||
|
||||
output_buffers 1 32k;
|
||||
postpone_output 1460;
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
|
||||
keepalive_timeout 75 20;
|
||||
|
||||
ignore_invalid_headers on;
|
||||
|
||||
index index.html;
|
||||
|
||||
server {
|
||||
listen 127.0.0.1;
|
||||
server_name localhost;
|
||||
|
||||
access_log /var/log/nginx/localhost.access_log main;
|
||||
error_log /var/log/nginx/localhost.error_log info;
|
||||
|
||||
root /var/www/localhost/htdocs;
|
||||
}
|
||||
|
||||
# SSL example
|
||||
#server {
|
||||
# listen 127.0.0.1:443;
|
||||
# server_name localhost;
|
||||
|
||||
# ssl on;
|
||||
# ssl_certificate /etc/ssl/nginx/nginx.pem;
|
||||
# ssl_certificate_key /etc/ssl/nginx/nginx.key;
|
||||
|
||||
# access_log /var/log/nginx/localhost.ssl_access_log main;
|
||||
# error_log /var/log/nginx/localhost.ssl_error_log info;
|
||||
|
||||
# root /var/www/localhost/htdocs;
|
||||
#}
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.initd,v 1.2 2012/07/18 18:59:46 hollow Exp $
|
||||
|
||||
extra_commands="configtest"
|
||||
extra_started_commands="upgrade reload"
|
||||
|
||||
description="Robust, small and high performance http and reverse proxy server"
|
||||
description_configtest="Run nginx' internal config check."
|
||||
description_upgrade="Upgrade the nginx binary without losing connections."
|
||||
description_reload="Reload the nginx configuration without losing connections."
|
||||
|
||||
nginx_config="/etc/nginx/nginx.conf"
|
||||
|
||||
command="/usr/sbin/nginx"
|
||||
command_args="-c ${nginx_config}"
|
||||
pidfile=${pidfile:-/var/run/nginx.pid}
|
||||
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use dns logger netmount
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
if [ "${RC_CMD}" != "restart" ]; then
|
||||
configtest || return 1
|
||||
fi
|
||||
}
|
||||
|
||||
stop_pre() {
|
||||
if [ "${RC_CMD}" = "restart" ]; then
|
||||
configtest || return 1
|
||||
fi
|
||||
}
|
||||
|
||||
stop_post() {
|
||||
rm -f ${pidfile}
|
||||
}
|
||||
|
||||
reload() {
|
||||
configtest || return 1
|
||||
ebegin "Refreshing nginx' configuration"
|
||||
kill -HUP `cat ${pidfile}` &>/dev/null
|
||||
eend $? "Failed to reload nginx"
|
||||
}
|
||||
|
||||
upgrade() {
|
||||
configtest || return 1
|
||||
ebegin "Upgrading nginx"
|
||||
|
||||
einfo "Sending USR2 to old binary"
|
||||
kill -USR2 `cat ${pidfile}` &>/dev/null
|
||||
|
||||
einfo "Sleeping 3 seconds before pid-files checking"
|
||||
sleep 3
|
||||
|
||||
if [ ! -f ${pidfile}.oldbin ]; then
|
||||
eerror "File with old pid not found"
|
||||
return 1
|
||||
fi
|
||||
|
||||
if [ ! -f ${pidfile} ]; then
|
||||
eerror "New binary failed to start"
|
||||
return 1
|
||||
fi
|
||||
|
||||
einfo "Sleeping 3 seconds before WINCH"
|
||||
sleep 3 ; kill -WINCH `cat ${pidfile}.oldbin`
|
||||
|
||||
einfo "Sending QUIT to old binary"
|
||||
kill -QUIT `cat ${pidfile}.oldbin`
|
||||
|
||||
einfo "Upgrade completed"
|
||||
eend $? "Upgrade failed"
|
||||
}
|
||||
|
||||
configtest() {
|
||||
mkdir -p /var/log/nginx || return 1
|
||||
mkdir -p /var/tmp/nginx/{client,proxy,fastcgi,scgi,uwsgi} || return 1
|
||||
|
||||
ebegin "Checking nginx' configuration"
|
||||
${command} -c ${nginx_config} -t -q
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
${command} -c ${nginx_config} -t
|
||||
fi
|
||||
|
||||
eend $? "failed, please correct errors above"
|
||||
}
|
@ -0,0 +1,417 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-1.2.4.ebuild,v 1.1 2012/10/26 06:36:33 patrick Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Maintainer notes:
|
||||
# - http_rewrite-independent pcre-support makes sense for matching locations without an actual rewrite
|
||||
# - any http-module activates the main http-functionality and overrides USE=-http
|
||||
# - keep the following requirements in mind before adding external modules:
|
||||
# * alive upstream
|
||||
# * sane packaging
|
||||
# * builds cleanly
|
||||
# * does not need a patch for nginx core
|
||||
# - TODO: test the google-perftools module (included in vanilla tarball)
|
||||
|
||||
# prevent perl-module from adding automagic perl DEPENDs
|
||||
GENTOO_DEPEND_ON_PERL="no"
|
||||
|
||||
# devel_kit (https://github.com/simpl/ngx_devel_kit, BSD license)
|
||||
DEVEL_KIT_MODULE_PV="0.2.17"
|
||||
DEVEL_KIT_MODULE_P="ngx_devel_kit-${DEVEL_KIT_MODULE_PV}"
|
||||
DEVEL_KIT_MODULE_SHA1="bc97eea"
|
||||
DEVEL_KIT_MODULE_URI="https://github.com/simpl/ngx_devel_kit/tarball/v${DEVEL_KIT_MODULE_PV}"
|
||||
DEVEL_KIT_MODULE_WD="${WORKDIR}/simpl-ngx_devel_kit-${DEVEL_KIT_MODULE_SHA1}"
|
||||
|
||||
# http_uploadprogress (https://github.com/masterzen/nginx-upload-progress-module, BSD-2 license)
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_PV="0.9.0"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_P="ngx_http_upload_progress-${HTTP_UPLOAD_PROGRESS_MODULE_PV}"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_SHA1="a788dea"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_URI="http://github.com/masterzen/nginx-upload-progress-module/tarball/v${HTTP_UPLOAD_PROGRESS_MODULE_PV}"
|
||||
HTTP_UPLOAD_PROGRESS_MODULE_WD="${WORKDIR}/masterzen-nginx-upload-progress-module-${HTTP_UPLOAD_PROGRESS_MODULE_SHA1}"
|
||||
|
||||
# http_headers_more (http://github.com/agentzh/headers-more-nginx-module, BSD license)
|
||||
HTTP_HEADERS_MORE_MODULE_PV="0.17"
|
||||
HTTP_HEADERS_MORE_MODULE_P="ngx_http_headers_more-${HTTP_HEADERS_MORE_MODULE_PV}"
|
||||
HTTP_HEADERS_MORE_MODULE_SHA1="b7c8cfc"
|
||||
HTTP_HEADERS_MORE_MODULE_URI="http://github.com/agentzh/headers-more-nginx-module/tarball/v${HTTP_HEADERS_MORE_MODULE_PV}"
|
||||
HTTP_HEADERS_MORE_MODULE_WD="${WORKDIR}/agentzh-headers-more-nginx-module-${HTTP_HEADERS_MORE_MODULE_SHA1}"
|
||||
|
||||
# http_push (http://pushmodule.slact.net/, MIT license)
|
||||
HTTP_PUSH_MODULE_PV="0.692"
|
||||
HTTP_PUSH_MODULE_P="ngx_http_push-${HTTP_PUSH_MODULE_PV}"
|
||||
HTTP_PUSH_MODULE_URI="http://pushmodule.slact.net/downloads/nginx_http_push_module-${HTTP_PUSH_MODULE_PV}.tar.gz"
|
||||
HTTP_PUSH_MODULE_WD="${WORKDIR}/nginx_http_push_module-${HTTP_PUSH_MODULE_PV}"
|
||||
|
||||
# http_cache_purge (http://labs.frickle.com/nginx_ngx_cache_purge/, BSD-2 license)
|
||||
HTTP_CACHE_PURGE_MODULE_PV="1.6"
|
||||
HTTP_CACHE_PURGE_MODULE_P="ngx_http_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}"
|
||||
HTTP_CACHE_PURGE_MODULE_URI="http://labs.frickle.com/files/ngx_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}.tar.gz"
|
||||
HTTP_CACHE_PURGE_MODULE_WD="${WORKDIR}/ngx_cache_purge-${HTTP_CACHE_PURGE_MODULE_PV}"
|
||||
|
||||
# http_upload (http://www.grid.net.ru/nginx/upload.en.html, BSD license)
|
||||
HTTP_UPLOAD_MODULE_PV="2.2.0"
|
||||
HTTP_UPLOAD_MODULE_P="ngx_http_upload-${HTTP_UPLOAD_MODULE_PV}"
|
||||
HTTP_UPLOAD_MODULE_URI="http://www.grid.net.ru/nginx/download/nginx_upload_module-${HTTP_UPLOAD_MODULE_PV}.tar.gz"
|
||||
HTTP_UPLOAD_MODULE_WD="${WORKDIR}/nginx_upload_module-${HTTP_UPLOAD_MODULE_PV}"
|
||||
|
||||
# http_slowfs_cache (http://labs.frickle.com/nginx_ngx_slowfs_cache/, BSD-2 license)
|
||||
HTTP_SLOWFS_CACHE_MODULE_PV="1.9"
|
||||
HTTP_SLOWFS_CACHE_MODULE_P="ngx_http_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}"
|
||||
HTTP_SLOWFS_CACHE_MODULE_URI="http://labs.frickle.com/files/ngx_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}.tar.gz"
|
||||
HTTP_SLOWFS_CACHE_MODULE_WD="${WORKDIR}/ngx_slowfs_cache-${HTTP_SLOWFS_CACHE_MODULE_PV}"
|
||||
|
||||
# http_fancyindex (http://wiki.nginx.org/NgxFancyIndex, BSD license)
|
||||
HTTP_FANCYINDEX_MODULE_PV="0.3.1"
|
||||
HTTP_FANCYINDEX_MODULE_P="ngx_http_fancyindex-${HTTP_FANCYINDEX_MODULE_PV}"
|
||||
HTTP_FANCYINDEX_MODULE_URI="http://gitorious.org/ngx-fancyindex/ngx-fancyindex/archive-tarball/v${HTTP_FANCYINDEX_MODULE_PV}"
|
||||
HTTP_FANCYINDEX_MODULE_WD="${WORKDIR}/ngx-fancyindex-ngx-fancyindex"
|
||||
|
||||
# http_lua (https://github.com/chaoslawful/lua-nginx-module, BSD license)
|
||||
HTTP_LUA_MODULE_PV="0.5.10"
|
||||
HTTP_LUA_MODULE_P="ngx_http_lua-${HTTP_LUA_MODULE_PV}"
|
||||
HTTP_LUA_MODULE_SHA1="db0bebe"
|
||||
HTTP_LUA_MODULE_URI="https://github.com/chaoslawful/lua-nginx-module/tarball/v${HTTP_LUA_MODULE_PV}"
|
||||
HTTP_LUA_MODULE_WD="${WORKDIR}/chaoslawful-lua-nginx-module-${HTTP_LUA_MODULE_SHA1}"
|
||||
|
||||
TCP_PROXY_MODULE_PV="0.26"
|
||||
TCP_PROXY_MODULE_SHA1="gd10ea36"
|
||||
TCP_PROXY_MODULE_P="yaoweibin-nginx_tcp_proxy_module-v${TCP_PROXY_MODULE_PV}-0-${TCP_PROXY_MODULE_SHA1}"
|
||||
TCP_PROXY_MODULE_URI="https://github.com/yaoweibin/nginx_tcp_proxy_module/archive/v${TCP_PROXY_MODULE_PV}.zip"
|
||||
|
||||
inherit eutils ssl-cert toolchain-funcs perl-module flag-o-matic user
|
||||
|
||||
DESCRIPTION="Robust, small and high performance http and reverse proxy server"
|
||||
HOMEPAGE="http://nginx.org"
|
||||
SRC_URI="http://nginx.org/download/${P}.tar.gz
|
||||
${DEVEL_KIT_MODULE_URI} -> ${DEVEL_KIT_MODULE_P}.tar.gz
|
||||
nginx_modules_http_upload_progress? ( ${HTTP_UPLOAD_PROGRESS_MODULE_URI} -> ${HTTP_UPLOAD_PROGRESS_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_headers_more? ( ${HTTP_HEADERS_MORE_MODULE_URI} -> ${HTTP_HEADERS_MORE_MODULE_P}.tar.gz )
|
||||
nginx_modules_http_push? ( ${HTTP_PUSH_MODULE_URI} )
|
||||
nginx_modules_http_cache_purge? ( ${HTTP_CACHE_PURGE_MODULE_URI} )
|
||||
nginx_modules_http_upload? ( ${HTTP_UPLOAD_MODULE_URI} )
|
||||
nginx_modules_http_slowfs_cache? ( ${HTTP_SLOWFS_CACHE_MODULE_URI} )
|
||||
nginx_modules_http_fancyindex? ( ${HTTP_FANCYINDEX_MODULE_URI} -> ${HTTP_FANCYINDEX_MODULE_P}.tar.gz )
|
||||
nginx_modules_tcp_proxy? ( ${TCP_PROXY_MODULE_URI} )
|
||||
nginx_modules_http_lua? ( ${HTTP_LUA_MODULE_URI} -> ${HTTP_LUA_MODULE_P}.tar.gz )"
|
||||
|
||||
LICENSE="as-is BSD BSD-2 GPL-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
|
||||
NGINX_MODULES_STD="access auth_basic autoindex browser charset empty_gif fastcgi
|
||||
geo gzip limit_req limit_conn map memcached proxy referer rewrite scgi ssi
|
||||
split_clients upstream_ip_hash userid uwsgi"
|
||||
NGINX_MODULES_OPT="addition dav degradation flv geoip gzip_static image_filter
|
||||
mp4 perl random_index realip secure_link stub_status sub xslt"
|
||||
NGINX_MODULES_MAIL="imap pop3 smtp"
|
||||
NGINX_MODULES_3RD="
|
||||
http_upload_progress
|
||||
http_headers_more
|
||||
http_passenger
|
||||
tcp_proxy
|
||||
http_push
|
||||
http_cache_purge
|
||||
http_upload
|
||||
http_slowfs_cache
|
||||
http_fancyindex
|
||||
http_lua"
|
||||
|
||||
IUSE="aio debug +http +http-cache ipv6 libatomic +pcre pcre-jit selinux ssl vim-syntax"
|
||||
|
||||
for mod in $NGINX_MODULES_STD; do
|
||||
IUSE="${IUSE} +nginx_modules_http_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_OPT; do
|
||||
IUSE="${IUSE} nginx_modules_http_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_MAIL; do
|
||||
IUSE="${IUSE} nginx_modules_mail_${mod}"
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_3RD; do
|
||||
IUSE="${IUSE} nginx_modules_${mod}"
|
||||
done
|
||||
|
||||
CDEPEND="
|
||||
pcre? ( >=dev-libs/libpcre-4.2 )
|
||||
pcre-jit? ( >=dev-libs/libpcre-8.20[jit] )
|
||||
selinux? ( sec-policy/selinux-nginx )
|
||||
ssl? ( dev-libs/openssl )
|
||||
http-cache? ( userland_GNU? ( dev-libs/openssl ) )
|
||||
nginx_modules_http_geo? ( dev-libs/geoip )
|
||||
nginx_modules_http_gzip? ( sys-libs/zlib )
|
||||
nginx_modules_http_gzip_static? ( sys-libs/zlib )
|
||||
nginx_modules_http_image_filter? ( media-libs/gd[jpeg,png] )
|
||||
nginx_modules_http_perl? ( >=dev-lang/perl-5.8
|
||||
dev-perl/FCGI
|
||||
dev-perl/FCGI-ProcManager )
|
||||
nginx_modules_http_rewrite? ( >=dev-libs/libpcre-4.2 )
|
||||
nginx_modules_http_secure_link? ( userland_GNU? ( dev-libs/openssl ) )
|
||||
nginx_modules_http_xslt? ( dev-libs/libxml2 dev-libs/libxslt )
|
||||
nginx_modules_http_lua? ( || ( dev-lang/lua dev-lang/luajit ) )"
|
||||
RDEPEND="${CDEPEND}"
|
||||
DEPEND="${CDEPEND}
|
||||
arm? ( dev-libs/libatomic_ops )
|
||||
libatomic? ( dev-libs/libatomic_ops )"
|
||||
PDEPEND="vim-syntax? ( app-vim/nginx-syntax )"
|
||||
REQUIRED_USE="pcre-jit? ( pcre )"
|
||||
|
||||
pkg_setup() {
|
||||
if use nginx_modules_http_passenger; then
|
||||
einfo
|
||||
einfo "Passenger support has been removed from the nginx ebuild to"
|
||||
einfo "get rid of file collisions, its broken build system and"
|
||||
einfo "incompatibilities between passenger 2 and 3."
|
||||
einfo
|
||||
einfo "Please switch to passenger-3 standalone or use the"
|
||||
einfo "unicorn gem which provides a sane nginx-like architecture"
|
||||
einfo "out of the box."
|
||||
einfo
|
||||
einfo "For more information on sane ruby deployments with"
|
||||
einfo "passenger-3/unicorn go to:"
|
||||
einfo
|
||||
einfo "https://rvm.beginrescueend.com"
|
||||
einfo
|
||||
die "nginx_modules_http_passenger still in IUSE"
|
||||
fi
|
||||
|
||||
ebegin "Creating nginx user and group"
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
eend $?
|
||||
|
||||
if use libatomic; then
|
||||
ewarn "GCC 4.1+ features built-in atomic operations."
|
||||
ewarn "Using libatomic_ops is only needed if using"
|
||||
ewarn "a different compiler or a GCC prior to 4.1"
|
||||
fi
|
||||
|
||||
if [[ -n $NGINX_ADD_MODULES ]]; then
|
||||
ewarn "You are building custom modules via \$NGINX_ADD_MODULES!"
|
||||
ewarn "This nginx installation is not supported!"
|
||||
ewarn "Make sure you can reproduce the bug without those modules"
|
||||
ewarn "_before_ reporting bugs."
|
||||
fi
|
||||
|
||||
if use !http; then
|
||||
ewarn "To actually disable all http-functionality you also have to disable"
|
||||
ewarn "all nginx http modules."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find auto/ -type f -print0 | xargs -0 sed -i 's:\&\& make:\&\& \\$(MAKE):' || die
|
||||
# We have config protection, don't rename etc files
|
||||
sed -i 's:.default::' auto/install || die
|
||||
# remove useless files
|
||||
sed -i -e '/koi-/d' -e '/win-/d' auto/install || die
|
||||
|
||||
if use nginx_modules_tcp_proxy; then
|
||||
epatch "${FILESDIR}/tcp.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf= http_enabled= mail_enabled=
|
||||
|
||||
use aio && myconf+=" --with-file-aio --with-aio_module"
|
||||
use debug && myconf+=" --with-debug"
|
||||
use ipv6 && myconf+=" --with-ipv6"
|
||||
use libatomic && myconf+=" --with-libatomic"
|
||||
use pcre && myconf+=" --with-pcre"
|
||||
use pcre-jit && myconf+=" --with-pcre-jit"
|
||||
|
||||
# HTTP modules
|
||||
for mod in $NGINX_MODULES_STD; do
|
||||
if use nginx_modules_http_${mod}; then
|
||||
http_enabled=1
|
||||
else
|
||||
myconf+=" --without-http_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
for mod in $NGINX_MODULES_OPT; do
|
||||
if use nginx_modules_http_${mod}; then
|
||||
http_enabled=1
|
||||
myconf+=" --with-http_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
if use nginx_modules_tcp_proxy; then
|
||||
myconf+=" --add-module=../nginx_tcp_proxy_module-0.26"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_fastcgi; then
|
||||
myconf+=" --with-http_realip_module"
|
||||
fi
|
||||
|
||||
# third-party modules
|
||||
if use nginx_modules_http_upload_progress; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_UPLOAD_PROGRESS_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_headers_more; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_HEADERS_MORE_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_push; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_PUSH_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_cache_purge; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_CACHE_PURGE_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_upload; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_UPLOAD_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_slowfs_cache; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_SLOWFS_CACHE_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_fancyindex; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${HTTP_FANCYINDEX_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_lua; then
|
||||
http_enabled=1
|
||||
myconf+=" --add-module=${DEVEL_KIT_MODULE_WD}"
|
||||
myconf+=" --add-module=${HTTP_LUA_MODULE_WD}"
|
||||
fi
|
||||
|
||||
if use http || use http-cache; then
|
||||
http_enabled=1
|
||||
fi
|
||||
|
||||
if [ $http_enabled ]; then
|
||||
use http-cache || myconf+=" --without-http-cache"
|
||||
use ssl && myconf+=" --with-http_ssl_module"
|
||||
else
|
||||
myconf+=" --without-http --without-http-cache"
|
||||
fi
|
||||
|
||||
# MAIL modules
|
||||
for mod in $NGINX_MODULES_MAIL; do
|
||||
if use nginx_modules_mail_${mod}; then
|
||||
mail_enabled=1
|
||||
else
|
||||
myconf+=" --without-mail_${mod}_module"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ $mail_enabled ]; then
|
||||
myconf+=" --with-mail"
|
||||
use ssl && myconf+=" --with-mail_ssl_module"
|
||||
fi
|
||||
|
||||
# custom modules
|
||||
for mod in $NGINX_ADD_MODULES; do
|
||||
myconf+=" --add-module=${mod}"
|
||||
done
|
||||
|
||||
# https://bugs.gentoo.org/286772
|
||||
export LANG=C LC_ALL=C
|
||||
tc-export CC
|
||||
|
||||
if ! use prefix; then
|
||||
myconf+=" --user=${PN} --group=${PN}"
|
||||
fi
|
||||
|
||||
./configure \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--conf-path="${EPREFIX}"/etc/${PN}/${PN}.conf \
|
||||
--error-log-path="${EPREFIX}"/var/log/${PN}/error_log \
|
||||
--pid-path="${EPREFIX}"/var/run/${PN}.pid \
|
||||
--lock-path="${EPREFIX}"/var/lock/nginx.lock \
|
||||
--with-cc-opt="-I${EROOT}usr/include" \
|
||||
--with-ld-opt="-L${EROOT}usr/lib" \
|
||||
--http-log-path="${EPREFIX}"/var/log/${PN}/access_log \
|
||||
--http-client-body-temp-path="${EPREFIX}"/var/tmp/${PN}/client \
|
||||
--http-proxy-temp-path="${EPREFIX}"/var/tmp/${PN}/proxy \
|
||||
--http-fastcgi-temp-path="${EPREFIX}"/var/tmp/${PN}/fastcgi \
|
||||
--http-scgi-temp-path="${EPREFIX}"/var/tmp/${PN}/scgi \
|
||||
--http-uwsgi-temp-path="${EPREFIX}"/var/tmp/${PN}/uwsgi \
|
||||
${myconf} || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# https://bugs.gentoo.org/286772
|
||||
export LANG=C LC_ALL=C
|
||||
emake LINK="${CC} ${LDFLAGS}" OTHERLDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
cp "${FILESDIR}"/nginx.conf "${ED}"/etc/nginx/nginx.conf || die
|
||||
newinitd "${FILESDIR}"/nginx.initd nginx
|
||||
doman man/nginx.8
|
||||
dodoc CHANGES* README
|
||||
|
||||
# Keepdir because these are hardcoded above
|
||||
keepdir /var/log/${PN} /var/tmp/${PN}/{client,proxy,fastcgi,scgi,uwsgi}
|
||||
keepdir /var/www/localhost/htdocs
|
||||
mv "${ED}"/usr/html "${ED}"/var/www/localhost/htdocs || die
|
||||
|
||||
# logrotate
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/nginx.logrotate nginx
|
||||
|
||||
if use nginx_modules_http_perl; then
|
||||
dobin "${FILESDIR}/cgiwrap-fcgi.pl"
|
||||
newinitd "${FILESDIR}/cgiwrap-fcgi.init" cgiwrap-fcgi
|
||||
cd "${S}"/objs/src/http/modules/perl/
|
||||
einstall DESTDIR="${D}" INSTALLDIRS=vendor
|
||||
fixlocalpod
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_push; then
|
||||
docinto ${HTTP_PUSH_MODULE_P}
|
||||
dodoc "${HTTP_PUSH_MODULE_WD}"/{changelog.txt,protocol.txt,README}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_cache_purge; then
|
||||
docinto ${HTTP_CACHE_PURGE_MODULE_P}
|
||||
dodoc "${HTTP_CACHE_PURGE_MODULE_WD}"/{CHANGES,README.md,TODO.md}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_upload; then
|
||||
docinto ${HTTP_UPLOAD_MODULE_P}
|
||||
dodoc "${HTTP_UPLOAD_MODULE_WD}"/{Changelog,README}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_slowfs_cache; then
|
||||
docinto ${HTTP_SLOWFS_CACHE_MODULE_P}
|
||||
dodoc "${HTTP_SLOWFS_CACHE_MODULE_WD}"/{CHANGES,README.md}
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_fancyindex; then
|
||||
docinto ${HTTP_FANCYINDEX_MODULE_P}
|
||||
dodoc "${HTTP_FANCYINDEX_MODULE_WD}"/README.rst
|
||||
fi
|
||||
|
||||
if use nginx_modules_http_lua; then
|
||||
docinto ${HTTP_LUA_MODULE_P}
|
||||
dodoc "${HTTP_LUA_MODULE_WD}"/{Changes,README.markdown}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ssl; then
|
||||
if [ ! -f "${EROOT}"/etc/ssl/${PN}/${PN}.key ]; then
|
||||
install_cert /etc/ssl/${PN}/${PN}
|
||||
use prefix || chown ${PN}:${PN} "${EROOT}"/etc/ssl/${PN}/${PN}.{crt,csr,key,pem}
|
||||
fi
|
||||
fi
|
||||
}
|
Loading…
Reference in new issue