From 37fcc2a7904adecd18b3f4db65da8374ce27f4ff Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 15 Dec 2021 17:31:49 +0100 Subject: [PATCH] www-apps/up-common-proxies: New package. Without KEYWORDS for now, wanna test it for a bit first. --- www-apps/up-common-proxies/Manifest | 46 +++++++++ .../files/up-common-proxies.initd | 21 +++++ .../files/up-common-proxies.logrotate | 8 ++ www-apps/up-common-proxies/metadata.xml | 11 +++ .../up-common-proxies-1.1.1.ebuild | 94 +++++++++++++++++++ 5 files changed, 180 insertions(+) create mode 100644 www-apps/up-common-proxies/Manifest create mode 100644 www-apps/up-common-proxies/files/up-common-proxies.initd create mode 100644 www-apps/up-common-proxies/files/up-common-proxies.logrotate create mode 100644 www-apps/up-common-proxies/metadata.xml create mode 100644 www-apps/up-common-proxies/up-common-proxies-1.1.1.ebuild diff --git a/www-apps/up-common-proxies/Manifest b/www-apps/up-common-proxies/Manifest new file mode 100644 index 000000000..1e9fcf32a --- /dev/null +++ b/www-apps/up-common-proxies/Manifest @@ -0,0 +1,46 @@ +DIST github.com%2Fcaarlos0%2Fenv%2Fv6%2F@v%2Fv6.6.2.mod 81 BLAKE2B c75d94d9bd0f523d80412890d4fa2a4c3fb9598308a909c0a1ad9d7a9b23e1282308885fd77bd9183a60bf89da9f8f72d2af4a02817c9b52ccfc7ba814ac9623 SHA512 a3a20bdf5a9350c92c3e5b0387c70bdeafa609893451981f997c1fc84c79b45b35a48984acad546cee1bdc9bbad26d7f208c9a0c4748ceedc60c01f1ec20521e +DIST github.com%2Fcaarlos0%2Fenv%2Fv6%2F@v%2Fv6.6.2.zip 19323 BLAKE2B 218d1d09a3aeae148f51fbee830056b308397c653b9db9e6d8053589d788bc20d80da0915a5cd4dcaa8eea0f1b3024c9a40d3ee9838cee3c26124c25bfefdbd6 SHA512 98ca667bf00998cb58bf8b3819549e8b1a782347b03bc3bde1ad45500e82bd1de72c040a7a899c555309327717cf9021ccda513d893337709d041e3d5ffaa33a +DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.mod 34 BLAKE2B 7e09c2779bf7a84a9271e31522ebbe600a1c11b107d651d91f58c8373e4336332a3a881f3e12b382543d75f20398af66085fcb3e780eed341e870e9c30f29267 SHA512 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e +DIST github.com%2Fdavecgh%2Fgo-spew%2F@v%2Fv1.1.0.zip 60546 BLAKE2B e775860f49c6ee09a6c48902d38fdf5d2d77af4cd405d8d303902170e46493301d4aa873a48b4d12a16d92dafaa65290de1fd3a42545025fbfc82f15a3881e8d SHA512 53dc5484f488ae1f8d0eb672c3431bbf9fce33dfcee83dda7929103e3650559cf703f601716984a640422f01cc640860dba0b47e16aef04d0d2452a266fefbf9 +DIST github.com%2Fkarmanyaahm%2Fparanoidhttp%2F@v%2Fv0.2.1-0.20210628044206-c40d6edc4d56.mod 47 BLAKE2B cd23b02906dc0d3941656b2ed1c1acc6b985463f5060596ef07d16bfcecc95432dccda8b0dd3ed8eac3d7aa397a767ca66eccffaa28bc16d36af08bef3973dd0 SHA512 1bffdb273baeb1fcd1cb782d2e77b67f8bf9c5441e98070f272fffed11df46836e4ba91e02a7372a7cf23db00217e6cb6d6750adea1e91191c7360a95c504a5e +DIST github.com%2Fkarmanyaahm%2Fparanoidhttp%2F@v%2Fv0.2.1-0.20210628044206-c40d6edc4d56.zip 8190 BLAKE2B eb97d687d81eb736b3706efcba754f8e1aae9866276f6e9706b1f04af68a49272331f03512a22e96b1cfdbb80a6ed2c21c4b916453acf3ad836e6f5452318c28 SHA512 2cdbd2138feae3cae198043edbfec5d459ef854fe09c566ebbb9a81ba6aa9fac7810089aba2ce3dbca459445ddb4862de45df4b2b9ce89bf814c049f4958f863 +DIST github.com%2Fkomkom%2Ftoml%2F@v%2Fv0.0.0-20210317065440-24f427ca88cc.mod 185 BLAKE2B afc05140e6c3e0a50168000abfdd47cfc38c5a7b9bad261c23ce126c16c9133dd23e9757a074a348442972a23490f334ea484f7966fa584c6a762a85872e8cc6 SHA512 d2c92d9a3e57dcae95a72da23c149b5a24a3139c5bf235b8e9909501a06ee8a58c30ddceca1c3a56e23172a9e73909c824cfcd5587818200f4e0689908ac3d19 +DIST github.com%2Fkomkom%2Ftoml%2F@v%2Fv0.0.0-20210317065440-24f427ca88cc.zip 225961 BLAKE2B 0089b49c64353a07ff4971d5844a5f33f6fd3f1516a64f53ca3b188522265d8eb0253c6071874b8bbe92b96acf81f37b04483f8e240a6cca72fa623be56b1acb SHA512 72de0b8fa4633cd75d5195b8ea0662d2f97b6eef7729471310ca17da55996e9222f919bc28bfd26e937f4e298d885ae7e441ddd10f7b55b72e6f879455277e85 +DIST github.com%2Fmatryer%2Fis%2F@v%2Fv1.4.0.mod 38 BLAKE2B 85ea41c9c75e2b9f7813be485fa2db0e73544259c79bfe2aaad548fa9108fdcec0b29c75de21384029174cc9c6f32007c44721aeb792cd5317a53594aa0b582f SHA512 c5ce457ecf7fa17661ba5043bcf4368d569748c70ed8df341d85f2e3ae679f13c0126e0d3310b69c292b4640645fe1f2c334d3b2a5fc42be5ebc3016be90cf6d +DIST github.com%2Fmatryer%2Fis%2F@v%2Fv1.4.0.zip 92341 BLAKE2B c9b38163fbe6b6f9a043f5cefa6ef1f6c85b7b1a14371263f6925126a7d8f898ef1e3ea4cf7e5f68ed8eb95db44eef9efb28f8c77339f1a20f92da4812686074 SHA512 a8450f5903c007c967f19a3b05f0147b722bd8f2749c77a4347f068aca0964ad890de74142a92154655139b6882ddca7718f343017e14d90d5db277e8c64744e +DIST github.com%2Fpatrickmn%2Fgo-cache%2F@v%2Fv2.1.0+incompatible.mod 37 BLAKE2B 0e37253242e439c5d26f3782ec2a3790b799c1014089101fe2a3b6996ce12b001495e11efdc1de203059231cc4d759445a43fc5e9617e56864082337383d0c41 SHA512 5a7842b9804240c1cbf50e2812f26821a0ccd68d5dbffdc3e761e0e60014dda69de842246c45569c7b09c8129bcdbcf9ddbff1071ae14b7be875a9351ed46f0a +DIST github.com%2Fpatrickmn%2Fgo-cache%2F@v%2Fv2.1.0+incompatible.zip 15715 BLAKE2B fecf95052bf2bf9ca21e6fdab3c9ee60a01afe8de700050877f1ce4af0c6f05ca044ea9be9228280e6dd2682616f14cfedf678a92c66c00936b8fde0fe336082 SHA512 0bd072a733e99c2af2cd83792a13a0c0f625e63ef71fa9ecf1a50c9d93c2879c5965bc5457655617ff4f23cdb854718958d9657557ab09730ed0404a252f8749 +DIST github.com%2Fpkg%2Ferrors%2F@v%2Fv0.9.1.mod 29 BLAKE2B 7fb53b19bd1be0e783039647b42ecbe2070f51af102e473ec6d3544eea0ffa5863f1874ca1615348d5f8abbaa39c841b4fe18d43a8a615fa648cf22f35955e38 SHA512 0c156e21d35c45a89c1a1b69ff1976b4f7511b3870bf96126121f5a5effa3723eb45bf080e840d5c8b96898c65207dba83eb3e1a23668dd8a5e20ee6be775cc0 +DIST github.com%2Fpkg%2Ferrors%2F@v%2Fv0.9.1.zip 17866 BLAKE2B bb8d50b9e736f5f1e129482bd50f720b7dbe80935fcb6cfbec6d5a5f5ba5d5434476d66a362f12bedc304e89c9886d4868d310710aa100c357900a742d4ee341 SHA512 82b0ed1ceadd44a2871b56e733a118003b1bae9e38fe95251e0aa06a0a4c9b4940c485336fa11335974e0df536dcd0491ec1b2e545ecdddc7f9ce59771f86321 +DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.mod 37 BLAKE2B 94636062c94f8ff68cdcab7593a3acae7b9ffff616cad7b1d5c9cd147a4a1042d33666cbeed6fd816d6793113abfb595183097dcc46de7a3dfadc1423ed43e79 SHA512 c3d5c48cdb8ba6af7071a07cfede06e0ab67e3726d9de592a952fad40167dcbdd9621dc2c4df1bd3c28eb99d70b1b6d8d812441237c35bf492e5b7f07bd33902 +DIST github.com%2Fpmezard%2Fgo-difflib%2F@v%2Fv1.0.0.zip 12433 BLAKE2B 0c911c9d173080abd8edbbab1f47222343801d8eeae36b4add24773e3282fc2a39283fdf519a3d4483e39cdb7d9509b8570d151f46841ac1a616f312dc4cb0ba SHA512 3b85697185ba85cdef6202444ab6cabeabfad8a03d66b3839a852586b1f91ddae7897a57c8c138d5647022aa44906c7ef3c5339d520f90eeea0742a935da8cf2 +DIST github.com%2Fstretchr%2Fobjx%2F@v%2Fv0.1.0.mod 32 BLAKE2B d698910da1ef00a70a1673b8c74105de195020ccd95d1e70c5dd1e1615210886ff9acbc9cfd03f46e99f5223b60b04695b8d362b9e0edd4e485480f802bd229a SHA512 4e366e5a60559a8863cb2a50280deb307d8bf885ca5440cce1b49a084b4cc4583b3481240125f35f161226592a43f2c0a426152f117d79b68c92c72a93f751d5 +DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.6.1.mod 216 BLAKE2B c597010cf6690e73cd265e800f0f0bbea331fb76217457b6326f5a19481eca044aa5426fa32519870b2f0f4b3bed95768a23d3138dbcc9739b7cf7e044f50668 SHA512 197e6ef15edb27ded67ccfb636c252fe522f0930ff012341a4b593f25b5dd8282e4f658970931cfdeb8f2c5ee0b4ebac6738fe7634bf00896d12270fcbf4b31b +DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.7.0.mod 216 BLAKE2B c597010cf6690e73cd265e800f0f0bbea331fb76217457b6326f5a19481eca044aa5426fa32519870b2f0f4b3bed95768a23d3138dbcc9739b7cf7e044f50668 SHA512 197e6ef15edb27ded67ccfb636c252fe522f0930ff012341a4b593f25b5dd8282e4f658970931cfdeb8f2c5ee0b4ebac6738fe7634bf00896d12270fcbf4b31b +DIST github.com%2Fstretchr%2Ftestify%2F@v%2Fv1.7.0.zip 105564 BLAKE2B 7b082ff11190ff27ce4a3de68896fffbbbf80ebdead7612aa3b06981171974ad2935bee7d5d71cb9ea29b110a82b3e04447248e7b9376e84c8f3f53d5001ae4b SHA512 be80972112f0a3907bde960637cb2c08d6ba4256ca27cfa07de5a0a8e523d0dfbd8e90ae593e5302d7351b7dbddecf69dc3985a9d19b96087732dd886eff371f +DIST github.com%2Fyuin%2Fgoldmark%2F@v%2Fv1.2.1.mod 41 BLAKE2B 44917ea3a6fc533933ccd76d1594e19246c682d96311e030eeeeaeac3c126f6cd2c2de67ca410c89738918c5ab0594f1e9b2c2202c48f462c368ad31fb5feff6 SHA512 b7d81f5cbf1b55ebebcbb86ae89899ffec6fcd730144f1719947a76080f587d298d0e37a073a8768d7768ef64fc47b1673104335203a32a557f31e42a4e5a950 +DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e +DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20191011191535-87dc89f01550.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842 +DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20200622213623-75b288015ac9.mod 155 BLAKE2B 8bba3353db8ceb3b9fe40b8fd59aacde169776a4a553a069a04836bbf15e5a9a8d7a2d39feed98dac6cb890198180fda39f26b528ff95f24c5b2bbf6601b45c3 SHA512 7c5a755a03063d47d259fda0a6c2faa63c2f30b98dbac583e106aaa817d6cde3e07551e0b5e08f3a25db4c4ca45a23cebe993ae6f3d39c88deeaf2c7d8086a06 +DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.3.0.mod 214 BLAKE2B 9a9c23e4a6fbf1e2168cc2559ab0eea14e2a1bbf32cab7eb95e276c3c1f2e06dadf6c58e39a4722211fb882e48f25a8de2969422590c62851292747f1da76b02 SHA512 16d72a943c436bf27c18ee65deb1e1a3b1283dcfcc76a49f01919df97f41ae6ef7c5fe7f95b5bb62cf6f6fee57eb9654ca27ec3bae448ebfe894f8d6d0101fa1 +DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2 +DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190620200207-3b0461eec859.mod 181 BLAKE2B 95ef87cbad118eb6bfc963893e37a555067b7fcf70e52cf4261de029eb46b739b12f50530a46fb91ec9119febcf5033176324a55064f589c17b240a23a15bb4a SHA512 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236 +DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20201021035429-f5854403a974.mod 181 BLAKE2B 3d3ddd23252ae7c54121211421c04a53076d3c347a9511c24494ded58863b0e96b2fefbdd10ee783bb3c0089cca1af91358701ef709fbd52a2c2d1fdec011939 SHA512 098a7d7eadb99bc1eb8695f1d86e1ed2ec2f5f625045f3ed77648d4ef7047818cfc449d46c8a6ccf285f95956baf228c1c57d6e281da1f63f67cfa0f93ca4230 +DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20190423024810-112230192c58.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0 +DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20201020160332-67f06af15bc9.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0 +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab +DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20200930185726-fdedc70b468f.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab +DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d +DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.3.mod 97 BLAKE2B ed93c1d43f199d8cbd43cb25edac5de569cb78773d7f3232d59a0a4de6d174c5c100db2b02ca42c51f3e17e0f5e781ba9b5641a512b0dc72dcfaa5f6bd7d451b SHA512 f3f68808ccf5223453f765f59db1ef551b2130069eb83518878961c2d4a2044f9049f8d49df6e67699fcd2645cf90b84d35626590b2cfbca302fcf0eac76dc8b +DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20180917221912-90fa682c2a6e.mod 26 BLAKE2B 2a44c2cc034af3473d9a1d4e1c23b0f4542333853bfc0ecbfcf9eacacbb3593b449fcfc94d23f49ccc16e5a844bc72a3462a3e08a5c26194106a64d1f2732e0a SHA512 3c166b18c0ce47a47e95da9eeede63879a92b0205bd4589d554f7bae89699be0efa83e1f5bba8e50f47714ea23e759b07f4543fe06301995d39373da2db16fc0 +DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20191119224855-298f0cb1881e.mod 212 BLAKE2B ab1d99a25eed3af5426d8a58d249b827e4d30a046302df72c7e0b59955e65b636f4645c5c436bb21ec54ec3745b9996bce92d29826ad93cbc9120a06dc19b49a SHA512 6a0316ac3b01aba3f186b5db540a368ab780a821252f7f0975f9e44afea9170c4b3e7027dc5f79a54ebc6af290cbb59b876d3b53bbf26fd05fc3a80a06fae109 +DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20210114065538-d78b04bdf963.mod 270 BLAKE2B e62694003f3e6a15a1494d429bb8d7388cbdeac1d09d28cb20244ca09eeb72b706a2c244d9cf77d7b3ff2b15a193fe35f411e9f5c34ff46a9c42abf813178730 SHA512 749bf78130d1fe8da6c022ea7f5fa65e66cd010cd4ea8278bcfdef116acc52d4d632e46a4a3070ddb7d775ef23b39e78724dbbab36e635ced32058174cbcd052 +DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20190717185122-a985d3407aa7.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05 +DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191011141410-1b5146add898.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05 +DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20200804184101-5ec99f83aff1.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05 +DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2B 6470f3d94700c4d8b3176d692bdb91646750f2c6a866ff2ef4183aff1de01f024a8757f97b4626ec0355092e5f25e7ded91cd5be845f627d107c58b1daf400d7 SHA512 9ac0f80ef05881387cb2f48f81560f3207fe586ea16495383662e6d62e43d93fac01dfe72e1d0063d3ab065331dab3a8098d7da4f1830ba1aff6f27f8e1bc1b2 +DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.zip 39844 BLAKE2B b3dab69dbd1ebb999938c12595de7007dce9431cfeaeb5e77aba80c49918d1a4edf7fb95279e9b66686cb45deaf57a011c083e55fb66ec2c614582ba323954da SHA512 97c96a92ec86372c2f06141c30bceaa86ed62c1db34696f9542f43f3411cb0a37dea654de923a5ee054e603198179b9048e3b477da140e4092ffadc4525b9241 +DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.mod 95 BLAKE2B fbb87f0644ec9da5d4386358d23cdb15b0d23e8212e712f16f338455a3a0ad19fbfd63e92c955c359237ddfa8bb76d6d08280eead24d321668431891eca1e8ab SHA512 307ca9123efc577ca04828996ee9d8edbb51794ccb4b8d9f169ba689e7276aa5f6ae106a04b22b7fab853ffacfebcbf74468b64eaefd57445864c1fbc77fad9d +DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.zip 101467 BLAKE2B 8bb0aec8e693a4c0da59f1931e1fdcf6f94a236faba149d5af91e87284f39c693d20be65248eecde739cb555e371804fa6c723a56c69e6d02a347ba908e968b1 SHA512 bee7757d760f5ba1b9f7523af358652a5cb65f2b0064da097f78450871b2636efcbab0298a9871bbb3ce8012bf95a155949251d4f61464dde510097b936b47a8 +DIST up-common-proxies-1.1.1.tar.gz 18558 BLAKE2B 39cdaaff940c4314b1f0c501bda0c2b29d2811a1898091218c0b4e27e53d12f113c49b6a4da7076e6bfc5e2c0d9d04467745294daa46b59de2454687dd82bea7 SHA512 b99ff43e8b8bb2bf4df09f198e43cc57da54814608143c9d3c595aa528e287bef29a711ba4049549210fdc34154618edb8936b989beeac6de4edfbe42090dc3e diff --git a/www-apps/up-common-proxies/files/up-common-proxies.initd b/www-apps/up-common-proxies/files/up-common-proxies.initd new file mode 100644 index 000000000..cd3b5438a --- /dev/null +++ b/www-apps/up-common-proxies/files/up-common-proxies.initd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="up-common-proxies" +description="UnifiedPush common proxies (bin)" +command="/usr/bin/up-rewrite" +pidfile="/run/${name}.pid" +logdir="/var/log/${name}" +command_background="yes" +command_user="gotify:gotify" +# directory="/var/lib/${name}" +output_log="${logdir}/${name}.log" +error_log="${logdir}/error.log" +command_args="-c /etc/${name}/config.toml" + +depend() { + need net + use dns + after logger +} diff --git a/www-apps/up-common-proxies/files/up-common-proxies.logrotate b/www-apps/up-common-proxies/files/up-common-proxies.logrotate new file mode 100644 index 000000000..d27b28621 --- /dev/null +++ b/www-apps/up-common-proxies/files/up-common-proxies.logrotate @@ -0,0 +1,8 @@ +/var/log/up-common-proxies/*.log { + missingok + notifempty + sharedscripts + postrotate + rc-service up-common-proxies restart > /dev/null + endscript +} diff --git a/www-apps/up-common-proxies/metadata.xml b/www-apps/up-common-proxies/metadata.xml new file mode 100644 index 000000000..63360a6f6 --- /dev/null +++ b/www-apps/up-common-proxies/metadata.xml @@ -0,0 +1,11 @@ + + + + + gentoo@tastytea.de + tastytea + + + Use app-admin/logrotate for rotating logs + + diff --git a/www-apps/up-common-proxies/up-common-proxies-1.1.1.ebuild b/www-apps/up-common-proxies/up-common-proxies-1.1.1.ebuild new file mode 100644 index 000000000..347d55922 --- /dev/null +++ b/www-apps/up-common-proxies/up-common-proxies-1.1.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Rewrite proxy for UnifiedPush" +HOMEPAGE="https://github.com/UnifiedPush/common-proxies" + +EGO_SUM=( + "github.com/caarlos0/env/v6 v6.6.2" + "github.com/caarlos0/env/v6 v6.6.2/go.mod" + "github.com/davecgh/go-spew v1.1.0" + "github.com/davecgh/go-spew v1.1.0/go.mod" + "github.com/karmanyaahm/paranoidhttp v0.2.1-0.20210628044206-c40d6edc4d56" + "github.com/karmanyaahm/paranoidhttp v0.2.1-0.20210628044206-c40d6edc4d56/go.mod" + "github.com/komkom/toml v0.0.0-20210317065440-24f427ca88cc" + "github.com/komkom/toml v0.0.0-20210317065440-24f427ca88cc/go.mod" + "github.com/matryer/is v1.4.0" + "github.com/matryer/is v1.4.0/go.mod" + "github.com/patrickmn/go-cache v2.1.0+incompatible" + "github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod" + "github.com/pkg/errors v0.9.1" + "github.com/pkg/errors v0.9.1/go.mod" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/pmezard/go-difflib v1.0.0/go.mod" + "github.com/stretchr/objx v0.1.0/go.mod" + "github.com/stretchr/testify v1.6.1/go.mod" + "github.com/stretchr/testify v1.7.0" + "github.com/stretchr/testify v1.7.0/go.mod" + "github.com/yuin/goldmark v1.2.1/go.mod" + "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod" + "golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod" + "golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod" + "golang.org/x/mod v0.3.0/go.mod" + "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod" + "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod" + "golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod" + "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod" + "golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod" + "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod" + "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod" + "golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod" + "golang.org/x/text v0.3.0/go.mod" + "golang.org/x/text v0.3.3/go.mod" + "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" + "golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod" + "golang.org/x/tools v0.0.0-20210114065538-d78b04bdf963/go.mod" + "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod" + "golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod" + "golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod" + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405" + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" + "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c" + "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod" +) +go-module_set_globals + +SRC_URI=" + https://github.com/UnifiedPush/common-proxies/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI} +" +S="${WORKDIR}/${PN/up-/}-${PV}" + +LICENSE="BSD-2 MIT" +SLOT="0" +# KEYWORDS="~amd64" +IUSE="logrotate" + +RDEPEND="acct-user/gotify" +DEPEND="${RDEPEND}" + +src_compile() { + emake local +} + +src_install() { + dobin up-rewrite + dodoc docs/{config.md,reverse_proxy.md} + + diropts --owner=gotify --group=gotify --mode=750 + insinto etc/${PN} + newins example-config.toml config.toml + + newinitd "${FILESDIR}/${PN}.initd" ${PN} + + if use logrotate; then + insinto etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" "${PN}" + fi + + einstalldocs +}