parent
b713168367
commit
8812563578
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29674 BLAKE2B 97ddb9a79df98dedebf560a4328afece652565c57944446d1a823dbb95c489e312e43f3c7bb4de0ff29e337ef4df654a426afd36a3c4e08af490ff2c40c31ae7 SHA512 3b240a6b5d5dca83d006a383b14a16c567870feb86b2c41ad32cf597823e8ff1019fa2f662748b5edfba5249576a07a3d4f14993cbd3645b2cb2de5024a72234
|
||||
TIMESTAMP 2019-09-21T13:08:58Z
|
||||
MANIFEST Manifest.files.gz 29638 BLAKE2B 5f37e3fcd79bd2214ef25b9aad70c1c71897167832286e269e0263bb10b6f3196fe9b2b0121eb3eaddc6ad9847d428f0cc0ad3fa17bef1b8de8ecf6b4e290711 SHA512 6f3cdecf0c7690af0fb80219aa2bce6e6678d3f7b543d7dc8b1735795b1ba58cb82e2fc1685c6a76ddc5f0e4830f07681be0016353dd4e4df13bb24a23823ad3
|
||||
TIMESTAMP 2019-09-24T22:38:59Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl2GIOpfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl2KmwNfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klDjpA/+PtzKWIUOlyLQAwUEl6Ow4h7LhVtqWRdgbyD4236ryWbB+Jq7YV5a9MVL
|
||||
XbMdh5DS/cbNp3q0mRt4b9I5i7n3pw7NSmeYQAIt2WMzvV/+9zZ6SzWmu+3IMenA
|
||||
M27+IrYrTNbv6XO0rtnUi1xDn5LW1EwyHKzGcGtB6FhsoBR35E07MbKtwujlzegz
|
||||
Cv/2awrqSoHleF/zsrqP4RpE1azQtySV+RYwwlKfxddFnlfxI9A1c1KwA1QpnEG0
|
||||
Hq7jN/+ZZUqdF6DcSRM4CsU4gAIYAaKLOjSrNBU73+oaNMPRDBtT740Y+KiEzB+T
|
||||
eGEjrG8criAMLrU/KvIfVRC3HEyyaChHmMX7iHZDscxKpZOCQUyctXwviCD38Tof
|
||||
U3en6BVESAhuya6Asvs536Xz4dkW8yhr0o2uSjTeAb30tQpi7jsfRHuqClgQajwv
|
||||
uRNM179WuqOppqyksQ5ZjDyVYCLrZLH2Was6+U05OC27AMUI69J5VPQ8ZldtiG9t
|
||||
qTBVg4apDRXkAA7nx0WG/BrosbvUNS3SB/XQPeZodpsUNMNeSVhbY1fuX0n4rfer
|
||||
2WfVBHb8hAFpNYLJX79MtdfwtY1lBIJtiTGLlHxye/yjbjdSa5uuxNkWspAphSVq
|
||||
sgEQGZ8mYZ2vMIlFMmDJVn5Y5EFOZ0Oo9rR49+335Nmbhv1GjTo=
|
||||
=gzMQ
|
||||
klBbBQ//V76vCPDyUt0WnN/8pZUSIZIHKoMvF/SQ0bOLsaKFwfa1LK9aMIp7BOFG
|
||||
vBx5KoYNN2ShusYLi3W/ccf50GC6Z2aaWq1Y2VK2kgFrwNFDH+QTJnNUMoSJzPsX
|
||||
p6ZpYCX3ffOTSWA5kRzGu0CPHoCcv+DwNYOpbOZzJvRlxitEaX4NHaGknPQpuZ3/
|
||||
ua1YWhjrSLEq+iBgLWsdX01xBg927AafmTRCt/3OnrcOBzanI11fY5XteInw3nwk
|
||||
rvcLSmEFClpt4bQVQ9vfD00dGI1IVAcPXHYkbaUZkZXdlY+NQE0BFaYGKQZqCyn5
|
||||
o4Ym0chMzA5Ke9EbSBaP7sOWdMCqwOgc7RTzxG3sSREqD0EBVAiqhTh+lCc0o/Ci
|
||||
m4d26ORxXlq/Zw4sjd3byL1wV3Kfze8/1XIo3FIvWjtQo6E62NtGXGfWo/j9y0tr
|
||||
pv0MpV7K1hDOd8m/+6xkWpI4WHmc0JLXhN1TrVJ9SMrFtFIIwR6nG6z6hUvyxiii
|
||||
rdo4+txRl6vnGyryPaF/H1FydxkXcvhbaH0RKqcbqcbD917cG4WL5mHTM4/iIk6S
|
||||
ekQz+SZJPuTk9q0m2fwBpb9F43Xj9Rc7pnalrtg57K7GREsG6ElcQxcGL/HWaPbo
|
||||
C43yxt/CBUzyVh8uOIMOnRnaXdMc5ZfY/eICSEj0IrVlwWZpJVU=
|
||||
=0eD7
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
EBUILD elasticsearch-0.ebuild 188 BLAKE2B 0ff6e163d8e74fcaf391e603e965b4b96a8470bb43776187ec6d0844e0cb2d72bf9700e30af9d0d21389dcb5bc6025b9ad62a7a8b83596aa75057d7d6f3125e1 SHA512 78b271c710e0a998414780b509c965edd6f04ee6f9c4cf6139a16218b818d58f1234d5ec27c4ad7d23f7faecae3013405dc9361b706ae470ce135b2ce87319fa
|
||||
MISC metadata.xml 367 BLAKE2B e097e21e47801881c518a489845a2432b045c4a310c501ba1c6a50ddd0a4cacda3f55cafd5158035bd6a56a2025715557b4bd5cf7ceab84bda4b30b7e2bf4f3c SHA512 5f98a9d303518510edb20966613c7b6e2eaeabe30445d41d2c3563a3cc76368fe59f2e3240545b503de134adbde68bc2f6e77bd2f7da428ea871b18b7008beeb
|
@ -0,0 +1,9 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Elasticsearch program group"
|
||||
ACCT_GROUP_ID=183
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hydrapolic@gmail.com</email>
|
||||
<name>Tomáš Mózes</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,2 @@
|
||||
EBUILD kibana-0.ebuild 181 BLAKE2B 15aafae15a0b1267c665eba0ef1e01d4a2bc5ed147483f5b5cb06bd260bb36a600cb46f07e27563ce3398cc4719795c79036e2c9e81f2afaa287af7f8835fe5f SHA512 02076c5c1df01e5f90f089ff9edd1825036fc153e57c426a19ce6a84ff906117159cfe8c7c27fb06890e86290358efa895613da7337bdfe840ceb439843f42b0
|
||||
MISC metadata.xml 367 BLAKE2B e097e21e47801881c518a489845a2432b045c4a310c501ba1c6a50ddd0a4cacda3f55cafd5158035bd6a56a2025715557b4bd5cf7ceab84bda4b30b7e2bf4f3c SHA512 5f98a9d303518510edb20966613c7b6e2eaeabe30445d41d2c3563a3cc76368fe59f2e3240545b503de134adbde68bc2f6e77bd2f7da428ea871b18b7008beeb
|
@ -0,0 +1,9 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Kibana program group"
|
||||
ACCT_GROUP_ID=269
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hydrapolic@gmail.com</email>
|
||||
<name>Tomáš Mózes</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,2 @@
|
||||
EBUILD nofiles-0.ebuild 146 BLAKE2B b37eab76c93c8c487cf4ec24e8da1f5bab9d77a37076c95259fe140d658fe95021fa69a3516d1ad77d44c4df5a0fb36839526dbaf7f96ea0ab6ea2487b4fcd5d SHA512 ad739c0f11c1b620e80f7dd245aa5943111fdb04957f9135836b6bbc81ced4802940f0936a745bab1e6cf133c76e8ac43cb02ab97ddbee96bbc9d91b774553f8
|
||||
MISC metadata.xml 362 BLAKE2B f5648e02e548748d7d6213e1095ff84932cd28aa230a55c8232199b581b0e53a5967419522e626f033841e282c885ae4626ce4a835dc67c7eac2437d9cff4d99 SHA512 8c5f244b35e479d5173ab982f3d1e6937a115fe628930fb121a2ccc283be862a5a64f153e296c4902b11008efb1364f900b6bcd3d95db0de164c80ef4e22f923
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eike@sf-mail.de</email>
|
||||
<name>Rolf Eike Beer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=200
|
@ -0,0 +1,2 @@
|
||||
EBUILD qmail-0.ebuild 146 BLAKE2B 42cbea28a85f404e6d09914b5c2270f7d974e324b8029d81e1488806fbaefc90b9b0c22ed4e0ea5bc1b901e6c8a7796702ca6c3e3fb729c443c65fe19d6c1c71 SHA512 61cedcafa34c82a96a0b313c2163e8c20e0fbaafc546bc4843323c5680acfdf2535c78824a1dbdb6ae88aaaca3aec57a26c0cbff8dc78749b0938023cdf60ac9
|
||||
MISC metadata.xml 362 BLAKE2B f5648e02e548748d7d6213e1095ff84932cd28aa230a55c8232199b581b0e53a5967419522e626f033841e282c885ae4626ce4a835dc67c7eac2437d9cff4d99 SHA512 8c5f244b35e479d5173ab982f3d1e6937a115fe628930fb121a2ccc283be862a5a64f153e296c4902b11008efb1364f900b6bcd3d95db0de164c80ef4e22f923
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eike@sf-mail.de</email>
|
||||
<name>Rolf Eike Beer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=201
|
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
EBUILD alias-0.ebuild 334 BLAKE2B c24fac09896ccd38591fe7caf93e690ab150503dbbb0c7a565ffc32e7369b7e170bfeccb57727ac82da21100de5d8ac67592320f93403f5132b20e965cd42cbb SHA512 d660f9d6aa2eeb6a5b1d6bf4f20d0371516cdb2bc4d9d351b70342b41c820f0bbea313a7658d8bb3eca170776bc77b74ab908c7c5cee50f41a9fbe7c5416ce35
|
||||
MISC metadata.xml 362 BLAKE2B f5648e02e548748d7d6213e1095ff84932cd28aa230a55c8232199b581b0e53a5967419522e626f033841e282c885ae4626ce4a835dc67c7eac2437d9cff4d99 SHA512 8c5f244b35e479d5173ab982f3d1e6937a115fe628930fb121a2ccc283be862a5a64f153e296c4902b11008efb1364f900b6bcd3d95db0de164c80ef4e22f923
|
@ -0,0 +1,15 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="alias user for qmail mail delivery"
|
||||
ACCT_USER_ID=200
|
||||
ACCT_USER_HOME=/var/qmail/alias
|
||||
ACCT_USER_HOME_OWNER=alias:qmail
|
||||
ACCT_USER_HOME_PERMS=02755
|
||||
ACCT_USER_GROUPS=( nofiles )
|
||||
|
||||
acct-user_add_deps
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eike@sf-mail.de</email>
|
||||
<name>Rolf Eike Beer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,2 @@
|
||||
EBUILD elasticsearch-0.ebuild 305 BLAKE2B 378c6329c30df422232a48d0af7beeb4e54560ab297ab68e8ef57062619a04f33a46a67e0aa65fa2d2666e66a768af5f91ed811154c09585dc9f0fbc437b4615 SHA512 30840a58a0d8d6c5e44153dce87cbbb4d237684b396b7d163c5fd64e829709d275d2a270f1870666539f2b373e0e9fd78418ca842b188828be2a697d2eccb617
|
||||
MISC metadata.xml 367 BLAKE2B e097e21e47801881c518a489845a2432b045c4a310c501ba1c6a50ddd0a4cacda3f55cafd5158035bd6a56a2025715557b4bd5cf7ceab84bda4b30b7e2bf4f3c SHA512 5f98a9d303518510edb20966613c7b6e2eaeabe30445d41d2c3563a3cc76368fe59f2e3240545b503de134adbde68bc2f6e77bd2f7da428ea871b18b7008beeb
|
@ -0,0 +1,13 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="Elasticsearch program user"
|
||||
ACCT_USER_ID=183
|
||||
ACCT_USER_HOME=/usr/share/elasticsearch
|
||||
ACCT_USER_HOME_PERMS=0755
|
||||
ACCT_USER_GROUPS=( elasticsearch )
|
||||
acct-user_add_deps
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hydrapolic@gmail.com</email>
|
||||
<name>Tomáš Mózes</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,2 @@
|
||||
EBUILD kibana-0.ebuild 282 BLAKE2B 66cbb57ea2c54969ea63f46d1b90d65e19de4d5bbde51a6d34a2e96e8e1d00a9cf51b85c916a11a759d1c8e4b0d4dd8dceaf5e87a2d0480068eef72bb21cd825 SHA512 b939f6a22619e8998eee2fb95ba4cb5b51821d2dbacb78bf1b1899c7ca19f3176ba50b91a94073b9f94cd3d5ff87fa1ff09534e3866f6352659db332ff86fa85
|
||||
MISC metadata.xml 367 BLAKE2B e097e21e47801881c518a489845a2432b045c4a310c501ba1c6a50ddd0a4cacda3f55cafd5158035bd6a56a2025715557b4bd5cf7ceab84bda4b30b7e2bf4f3c SHA512 5f98a9d303518510edb20966613c7b6e2eaeabe30445d41d2c3563a3cc76368fe59f2e3240545b503de134adbde68bc2f6e77bd2f7da428ea871b18b7008beeb
|
@ -0,0 +1,13 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="Kibana program user"
|
||||
ACCT_USER_ID=269
|
||||
ACCT_USER_HOME=/var/lib/kibana
|
||||
ACCT_USER_HOME_PERMS=0750
|
||||
ACCT_USER_GROUPS=( kibana )
|
||||
acct-user_add_deps
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>hydrapolic@gmail.com</email>
|
||||
<name>Tomáš Mózes</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,2 @@
|
||||
EBUILD qmaild-0.ebuild 228 BLAKE2B 384ee4ce80c41fc66f57f7de6cf1d7ac285739dcd4a24db8204cb00698e027cd818873d4a708ecca3449e8b10e476d7b0d75495ce3d5f0aa1f4c34c77375e2fa SHA512 bf6a98fe6dbda2a26d783b3c4585f953092900d736658d7d92e6c39558dbc831091067e12328eccf9648fe80961b12278c15aac443b7d64f9d1e43a6d1af3d4e
|
||||
MISC metadata.xml 362 BLAKE2B f5648e02e548748d7d6213e1095ff84932cd28aa230a55c8232199b581b0e53a5967419522e626f033841e282c885ae4626ce4a835dc67c7eac2437d9cff4d99 SHA512 8c5f244b35e479d5173ab982f3d1e6937a115fe628930fb121a2ccc283be862a5a64f153e296c4902b11008efb1364f900b6bcd3d95db0de164c80ef4e22f923
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eike@sf-mail.de</email>
|
||||
<name>Rolf Eike Beer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="user for qmail-smtpd"
|
||||
ACCT_USER_ID=201
|
||||
ACCT_USER_GROUPS=( nofiles )
|
||||
|
||||
acct-user_add_deps
|
@ -0,0 +1,2 @@
|
||||
EBUILD qmaill-0.ebuild 230 BLAKE2B d3dbdbd2ed2f4691ad5aef9a2449afea3313182ce7602bddb14ddd5731d7c15c07815a4eb20855788f1f20246cc0a03ce955c1f1577e3565d1b53497ad22269b SHA512 b183f1e52a1b1ca3ef3b8fca9fae305ae7b896e3ad82452b5c37db360babf14af9fc411905b458a0f042d559702b7bfcf3a7a1257fa5c3eee1e70c636fd93aa4
|
||||
MISC metadata.xml 362 BLAKE2B f5648e02e548748d7d6213e1095ff84932cd28aa230a55c8232199b581b0e53a5967419522e626f033841e282c885ae4626ce4a835dc67c7eac2437d9cff4d99 SHA512 8c5f244b35e479d5173ab982f3d1e6937a115fe628930fb121a2ccc283be862a5a64f153e296c4902b11008efb1364f900b6bcd3d95db0de164c80ef4e22f923
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eike@sf-mail.de</email>
|
||||
<name>Rolf Eike Beer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="user for qmail logging"
|
||||
ACCT_USER_ID=202
|
||||
ACCT_USER_GROUPS=( nofiles )
|
||||
|
||||
acct-user_add_deps
|
@ -0,0 +1,2 @@
|
||||
EBUILD qmailp-0.ebuild 228 BLAKE2B a778e57c18b462f47841b57b4081736b80a5580bab976ed0a0a2110b2402ba687021e13b2f02e662a4ffb738fde2c8a6452ce70209ce4a32577018f1a8070537 SHA512 15fc5e9bac739e76209350302c7e5b916ebcc7c1ec08f9c8e8a632bda6ae7a07378c07891ace6f2bfff18ab4d2ac3ceb5baaab6c781e9017ea021575113591cd
|
||||
MISC metadata.xml 362 BLAKE2B f5648e02e548748d7d6213e1095ff84932cd28aa230a55c8232199b581b0e53a5967419522e626f033841e282c885ae4626ce4a835dc67c7eac2437d9cff4d99 SHA512 8c5f244b35e479d5173ab982f3d1e6937a115fe628930fb121a2ccc283be862a5a64f153e296c4902b11008efb1364f900b6bcd3d95db0de164c80ef4e22f923
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eike@sf-mail.de</email>
|
||||
<name>Rolf Eike Beer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="user for qmail-getpw"
|
||||
ACCT_USER_ID=203
|
||||
ACCT_USER_GROUPS=( nofiles )
|
||||
|
||||
acct-user_add_deps
|
@ -0,0 +1,2 @@
|
||||
EBUILD qmailq-0.ebuild 226 BLAKE2B f23bac4acb784380b0f71b5107ba798caafb6b916690ccd71adf1bba92391dd32f582de8b7ddd260c1deff8e88025d4925b18594731403934821d2da01f77591 SHA512 d285216d4ffc7ec37f64b32bbd6b0565b467fcfb6a177ad668a977aa4680db4994b285a75334f13df9ef174f0bb04232b5900162a727246912d6e2c07708e682
|
||||
MISC metadata.xml 362 BLAKE2B f5648e02e548748d7d6213e1095ff84932cd28aa230a55c8232199b581b0e53a5967419522e626f033841e282c885ae4626ce4a835dc67c7eac2437d9cff4d99 SHA512 8c5f244b35e479d5173ab982f3d1e6937a115fe628930fb121a2ccc283be862a5a64f153e296c4902b11008efb1364f900b6bcd3d95db0de164c80ef4e22f923
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eike@sf-mail.de</email>
|
||||
<name>Rolf Eike Beer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="user for qmail queue"
|
||||
ACCT_USER_ID=204
|
||||
ACCT_USER_GROUPS=( qmail )
|
||||
|
||||
acct-user_add_deps
|
@ -0,0 +1,2 @@
|
||||
EBUILD qmailr-0.ebuild 244 BLAKE2B 46e9917afea1b0c16ee22fe8377e292c198a45dea366c05a866f45c7851c69e93ad1eafc548fb5ce0e48a9302827a3798e53497363a8918207b94f237671f899 SHA512 99bb8b474aed1c90a0c5e6ef98b1ca5081d6a20eec0a4d761068d4cc538d2b89be861fa8670a1c4e4db88d9143a79b0f590d0b0cb1c47d6cb5dcb504389a6799
|
||||
MISC metadata.xml 362 BLAKE2B f5648e02e548748d7d6213e1095ff84932cd28aa230a55c8232199b581b0e53a5967419522e626f033841e282c885ae4626ce4a835dc67c7eac2437d9cff4d99 SHA512 8c5f244b35e479d5173ab982f3d1e6937a115fe628930fb121a2ccc283be862a5a64f153e296c4902b11008efb1364f900b6bcd3d95db0de164c80ef4e22f923
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eike@sf-mail.de</email>
|
||||
<name>Rolf Eike Beer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="user for qmail-rspawn and qmail-remote"
|
||||
ACCT_USER_ID=205
|
||||
ACCT_USER_GROUPS=( qmail )
|
||||
|
||||
acct-user_add_deps
|
@ -0,0 +1,2 @@
|
||||
EBUILD qmails-0.ebuild 226 BLAKE2B 09c1889b03079c6749561ceeab28c0dde3eb2a302b1a038adf853ad31df497d604f03a9a2320265969e8a97d00f090dd90048e27780aea463d4021844fdd128d SHA512 ccce701f7f9e29bb9b4deeddd650ac1da9b6c6c5ffbc7c1a8a3b08b74e8ad80cf49bf42fa2eee6c3f591e4389f8e9f6ea79e85f27eea32f83ae84f234b1cd1cf
|
||||
MISC metadata.xml 362 BLAKE2B f5648e02e548748d7d6213e1095ff84932cd28aa230a55c8232199b581b0e53a5967419522e626f033841e282c885ae4626ce4a835dc67c7eac2437d9cff4d99 SHA512 8c5f244b35e479d5173ab982f3d1e6937a115fe628930fb121a2ccc283be862a5a64f153e296c4902b11008efb1364f900b6bcd3d95db0de164c80ef4e22f923
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eike@sf-mail.de</email>
|
||||
<name>Rolf Eike Beer</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="user for qmail-smtpd"
|
||||
ACCT_USER_ID=206
|
||||
ACCT_USER_GROUPS=( qmail )
|
||||
|
||||
acct-user_add_deps
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST dxf-7.5.1.tar.gz 308004 BLAKE2B 6f8aaf39fbf3a9ef813d5af502361fac3827db17fa5279c3a53e8b87826cac15ef59cb41b2682c9eea065e0a30d98c2b22f72b4922869a012eab76274b1ff325 SHA512 f1a5082d70c115da9f01385e40ed7d2c1ce82af6fb9e55c8f3173e544a9ff3e98c8c565c9e6a2ca1e9a688665944ec0d9dd873f621914d5b746ef4a145f308a0
|
||||
DIST dxf-7.5.2.tar.gz 310576 BLAKE2B 0b9b79b4278c2e4137105952d070bb5ce8b7b905881fb10d38c2504467ccc4e6ac8061651b2e82cae1af3e7d26a58904dc1cafe5099519e0ad14b6760131ab82 SHA512 2fb8d175fbcb13dc9160b28d37e5d74886826764b2f5b2cc9a1aad0cff59f7bd5146c15b130cb760406a9bbd4abd650adb050db72bd81dcca9e9b05beccec769
|
||||
EBUILD dxf-7.5.1.ebuild 724 BLAKE2B 61250f4858f4fb4fb55992851d579d1e98dded4cfd4eb0771a20413a807c228dd12014737b71e6119c5ac6656c6f0592bbaff3092c3871d1f1c88e06acf70360 SHA512 d5ecd23f03d9c3d7f80e30fdf249a8a399585d6bbf4d8bc6c5f8fb4a5fedd9e69f015d477bf391072a180a7e7a81d4532d47f052b086702bfe95ee7b0f6c75b2
|
||||
EBUILD dxf-7.5.2.ebuild 724 BLAKE2B 61250f4858f4fb4fb55992851d579d1e98dded4cfd4eb0771a20413a807c228dd12014737b71e6119c5ac6656c6f0592bbaff3092c3871d1f1c88e06acf70360 SHA512 d5ecd23f03d9c3d7f80e30fdf249a8a399585d6bbf4d8bc6c5f8fb4a5fedd9e69f015d477bf391072a180a7e7a81d4532d47f052b086702bfe95ee7b0f6c75b2
|
||||
MISC metadata.xml 295 BLAKE2B b3270ada06f2998a84e5484b6b063cb5e1c397be2bb266ba10352e811f35e25576469488cb42eb49ac718c6e788861b706aba3e1cb673cbbf176c576fc5745a5 SHA512 99b0deb01ac0e00d6f958c41a9ad8a68bf606a178924c0f052a656d0bdc2638b711e4fe10ab49e1a943ce7a8c29fc77b94abd4a91f6f65a3debd892d8a099339
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Docker registry v2 client in Python"
|
||||
HOMEPAGE="https://github.com/davedoesdev/dxf"
|
||||
SRC_URI="https://github.com/davedoesdev/dxf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/jwcrypto-0.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.18.4[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/tqdm-4.19.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"
|
||||
|
||||
RESTRICT="test"
|
||||
# Require dockerd running
|
||||
|
||||
python_test() {
|
||||
emake test
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
|
||||
HOMEPAGE="https://www.elastic.co/products/beats"
|
||||
SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.12.9"
|
||||
RDEPEND="!app-admin/filebeat-bin"
|
||||
|
||||
# Do not complain about CFLAGS etc since go projects do not use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
S="${WORKDIR}/src/github.com/elastic/beats"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p "${S%/*}" || die
|
||||
default
|
||||
mv beats-${PV} "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# avoid Elastic license
|
||||
rm -r x-pack || die
|
||||
|
||||
# use ${PV} instead of git commit id
|
||||
sed -i "s/\(COMMIT_ID=\).*/\1${PV}/g" "${S}/libbeat/scripts/Makefile" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}" emake -C "${S}/filebeat"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/${PN}
|
||||
keepdir /var/{lib,log}/${PN}
|
||||
|
||||
fperms 0750 /var/{lib,log}/${PN}
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd.1" ${PN}
|
||||
|
||||
docinto examples
|
||||
dodoc ${PN}/{filebeat.yml,filebeat.reference.yml}
|
||||
|
||||
dobin filebeat/filebeat
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n "${REPLACING_VERSIONS}" ]]; then
|
||||
elog "Please read the migration guide at:"
|
||||
elog "https://www.elastic.co/guide/en/beats/libbeat/$(ver_cut 1-2)/upgrading.html"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
elog "Example configurations:"
|
||||
elog "${EROOT}/usr/share/doc/${PF}/examples"
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Lightweight log shipper for Logstash and Elasticsearch"
|
||||
HOMEPAGE="https://www.elastic.co/products/beats"
|
||||
SRC_URI="https://github.com/elastic/beats/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.12.9"
|
||||
RDEPEND="!app-admin/filebeat-bin"
|
||||
|
||||
# Do not complain about CFLAGS etc since go projects do not use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
S="${WORKDIR}/src/github.com/elastic/beats"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p "${S%/*}" || die
|
||||
default
|
||||
mv beats-${PV} "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# avoid Elastic license
|
||||
rm -r x-pack || die
|
||||
|
||||
# use ${PV} instead of git commit id
|
||||
sed -i "s/\(COMMIT_ID=\).*/\1${PV}/g" "${S}/libbeat/scripts/Makefile" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}" emake -C "${S}/filebeat"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/${PN}
|
||||
keepdir /var/{lib,log}/${PN}
|
||||
|
||||
fperms 0750 /var/{lib,log}/${PN}
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd.1" ${PN}
|
||||
|
||||
docinto examples
|
||||
dodoc ${PN}/{filebeat.yml,filebeat.reference.yml}
|
||||
|
||||
dobin filebeat/filebeat
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n "${REPLACING_VERSIONS}" ]]; then
|
||||
elog "Please read the migration guide at:"
|
||||
elog "https://www.elastic.co/guide/en/beats/libbeat/$(ver_cut 1-2)/upgrading.html"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
elog "Example configurations:"
|
||||
elog "${EROOT}/usr/share/doc/${PF}/examples"
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
AUX keepass-2.36-xsl-path-detection.patch 1446 BLAKE2B 15c9d15b44b0748bc114ff45dadb5824f369a454a1126cb61293d55f86f9f01fb659932729dbc205a522aab32343dd87b74662927d60edc50750af602a959cc9 SHA512 6e1279363bf355be8846c012840271525dcbeccfaa9dc9d1bc4b39068ed58dae4fc421fed4f0fd5d0d2311436d35648f04539fa122066222cb15a66c3383ceae
|
||||
AUX keepass.xml 275 BLAKE2B 8e64d7e60b0808b9505387caf97c9198d14ead3510c72d3a62cb747a2f09a64f63360f95df12043a97262fde8fd1b6882fe86d07d4ec483cf30788391be8f940 SHA512 a6055604ff4ff9e905012b5f8448540ea3b3fa8527ce1fd247fe4e5329e6861e5e7a01ea5ed907c41c073d81ee02452392ea0b0d61bf1119dadd300911a450fb
|
||||
DIST KeePass-2.42.1-Source.zip 5163432 BLAKE2B c24a57da863c92d3f89663f33ed89c277e248c926067c14a6a7e3526e77c458e943e62c4b98a3d86595eea308d8744fd4a17da6d5456030a771e324a662abd9f SHA512 c87581afbaa516f637848db134a8d945db168bbbe97789a9a7424600d4188a21d2b1b3cf907a20577b2903ce8916b6b12355a3296ee1630a5b556c9170c4fa22
|
||||
DIST KeePass-2.43-Source.zip 5177684 BLAKE2B 72530afd37139d250fe7378ccfec9056e9f2210aa9dfc4cc082d977ccfc517697bc52dad3d487ebabc796977cdbb9679df32a79a6be807c21ceab5931d464df0 SHA512 c403ae5d7b2a997e1aadffd6a522c8292d01a5803371af8b30734414ca5d47871b53a15067251d4cb072215fd41396465b0b16351e76dad7a48044b7ed62a7e8
|
||||
EBUILD keepass-2.42.1.ebuild 3116 BLAKE2B d4b548f7e4143138f1eddbc3e69b3e532b63fb1970a539e7df647bb57dbb488f1c291df2bac8a1c6cbf2afec400d30a91b9f2eb32c92274993cd21db7239239c SHA512 4c7e2ab0fabafa2f715137131951fdeca008f67f695f43cac5cdf5bf407aeea5a175fc3e90c7267ba47d578aeab1243eb49b11135c4d045ecf2c9d26b1f2c534
|
||||
EBUILD keepass-2.43.ebuild 3118 BLAKE2B 664ed7bf32f87f04295defa3249241f51d259d5c63239f3d4a2ff41fe7d487257e397dd909898827c7328951895b5a6aca474d90ac498192fc97f430c2e0635c SHA512 9384d81ce0cbee3f5acbff9f706ccb5fb48133fdf1d201231036b139705e5ab1cd1361aeed52cfbc14999992c8ff5bad0e1b3b279eb319d0971b4d4b7102ac1a
|
||||
MISC metadata.xml 651 BLAKE2B 058fa70fb6ce35fb52464a84cf506ad117343a1376a40b003c4f55bdf94369136276d8bbb67f30490eb73cba4df6b03d78e8c2a65cf8141dd6cf64654c9b6358 SHA512 6251f546e631decbc7692ab00900d722031ce638f3d878771a2bcfebedba8e1fee9b3e54dfd4c3ae3c711006099fc5a772555ea7cc018d012de164755ba8b52c
|
||||
|
@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils gnome2-utils xdg-utils
|
||||
|
||||
MY_PN="KeePass"
|
||||
DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
|
||||
HOMEPAGE="https://keepass.info/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aot"
|
||||
|
||||
COMMON_DEPEND="dev-lang/mono"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-dotnet/libgdiplus[cairo]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# KeePass looks for some XSL files in the same folder as the executable,
|
||||
# we prefer to have it in /usr/share/KeePass. Apply patch using base function.
|
||||
# This XSL file will not be upstreamed since the KeePass creator said that
|
||||
# including this patch would break the Portable USB version of KeePass
|
||||
# (which keeps/looks for xsl files in its own folder)
|
||||
default
|
||||
|
||||
# Switch into build dir so the mono prepration script works correctly
|
||||
pushd Build || die
|
||||
source PrepMonoDev.sh || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MONO_REGISTRY_PATH=/dev/null # bug 659808
|
||||
|
||||
# Build with Release target
|
||||
xbuild /target:KeePass /property:Configuration=Release || die
|
||||
|
||||
# Run Ahead Of Time compiler on the binary
|
||||
if use aot; then
|
||||
cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
|
||||
mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Wrapper script to launch mono
|
||||
make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
|
||||
|
||||
# Some XSL files
|
||||
insinto "/usr/share/${PN}/XSL"
|
||||
doins Ext/XSL/*
|
||||
|
||||
insinto "/usr/$(get_libdir)/${PN}"
|
||||
exeinto "/usr/$(get_libdir)/${PN}"
|
||||
|
||||
doins Ext/KeePass.exe.config
|
||||
|
||||
# Default configuration, simply says to use user-specific configuration
|
||||
doins Ext/KeePass.config.xml
|
||||
|
||||
# The actual executable
|
||||
doexe Build/KeePass/Release/KeePass.exe
|
||||
|
||||
# Copy the AOT compilation result
|
||||
if use aot; then
|
||||
doexe Build/KeePass/Release/KeePass.exe.so
|
||||
fi
|
||||
|
||||
# Prepare the icons
|
||||
newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
|
||||
newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
|
||||
|
||||
# Create a desktop entry and associate it with the KeePass mime type
|
||||
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;\nStartupWMClass=KeePass2;"
|
||||
|
||||
# MIME descriptor for .kdbx files
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}/${PN}.xml"
|
||||
|
||||
# sed, because patching this really sucks
|
||||
sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
if ! has_version x11-misc/xdotool ; then
|
||||
elog "Optional dependencies:"
|
||||
elog " x11-misc/xdotool (enables autotype/autofill)"
|
||||
fi
|
||||
|
||||
elog "Some systems may experience issues with copy and paste operations."
|
||||
elog "If you encounter this, please install x11-misc/xsel."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST lastpass-binary-component-4.19.0.tar.bz2 1625255 BLAKE2B 714fb34708f9dda8dbacfce8e76adf004f1cc966d685c0efbaac7b25c45068bb5595e954e554092852d575f1fedc5f318d05b121bc2ce1aa4888e4bf374f7b96 SHA512 2535d72c5b545b364dd1e91503590cafa16d3de4f4745c4f1fa236135580e2af47094e364a7f0ebde5fcfd11282ab9329ef333866a985f02a873e092aabb9b22
|
||||
EBUILD lastpass-binary-component-4.19.0.ebuild 3645 BLAKE2B a80be528bb879334dac5f9e59bdefcdc5cb882c9651dd57f7c4ea0c9c87d8f4bc2bd2dd48d7ab96c36e999301d67514d10330dff99d2c178426e7bfadd3a98a4 SHA512 9252e5329fbc6083ae93cb29896a831cfe929d48df9250ab84f825eb6fe70d0b57c63157bb2a6d5ca0c39d4bf39ed0a0bf068fa73ad3b4873d50ceed36ad2b52
|
||||
EBUILD lastpass-binary-component-4.19.0.ebuild 3650 BLAKE2B 3961eb1a2547df5b362e99421c7a6d38ddb9bd6ca1d6856810b1b6ddabf39dc2826fef22d657d1a58cefc91335dc5022be807f4a62603748ca442c0e35a95fe6 SHA512 60696a2938092e0b3702cf051b256223b8ee68d20bbaad24ef840f89936b2afe35aeadfafcc47733d0756ca48e9e350f74c5572ad4b5235b1b021d8f99831f33
|
||||
MISC metadata.xml 816 BLAKE2B ea7163f64706263e360241192a07e1e12eabc6fb196e5029cec931c53dacad20a9a4d851402f8942120328aa551159e2ba340257d50a5fcc36f7a72145e13a18 SHA512 71eb5c8aa836f75a5bfed79d7398e30628a274586a019d094a114d582ae2011d148cae325eb79b67e64035822cd18f154b9626142a7b2cc4c57f1e40f2f15b6b
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN="${PN%-bin}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Tool for managing events and logs"
|
||||
HOMEPAGE="https://www.elastic.co/products/logstash"
|
||||
SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz )
|
||||
!x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )"
|
||||
|
||||
# source: LICENSE.txt and NOTICE.txt
|
||||
LICENSE="Apache-2.0 MIT x-pack? ( Elastic )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="x-pack"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
|
||||
|
||||
RDEPEND="acct-group/logstash
|
||||
acct-user/logstash
|
||||
virtual/jre:1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
|
||||
keepdir "/var/log/${MY_PN}"
|
||||
|
||||
insinto "/usr/share/${MY_PN}"
|
||||
newins "${FILESDIR}/agent.conf.sample" agent.conf
|
||||
|
||||
rm -v config/{pipelines.yml,startup.options} || die
|
||||
insinto /etc/${MY_PN}
|
||||
doins -r config/.
|
||||
doins "${FILESDIR}/pipelines.yml"
|
||||
rm -rv config data || die
|
||||
|
||||
insinto "/opt/${MY_PN}"
|
||||
doins -r .
|
||||
fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
|
||||
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}"
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}"
|
||||
|
||||
insinto /usr/share/eselect/modules
|
||||
doins "${FILESDIR}"/logstash-plugin.eselect
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
|
||||
ewarn "Install the plugins via eselect module that will automatically re-install"
|
||||
ewarn "all self installed plugins after Logstash upgrades."
|
||||
elog
|
||||
elog "Installing plugins:"
|
||||
elog "eselect logstash-plugin install logstash-output-gelf"
|
||||
elog
|
||||
|
||||
elog "Reinstalling self installed plugins (installed via eselect module):"
|
||||
eselect logstash-plugin reinstall
|
||||
|
||||
elog
|
||||
elog "Sample configuration:"
|
||||
elog "${EROOT}/usr/share/${MY_PN}"
|
||||
elog
|
||||
elog "The default pipeline configuration expects the configuration(s) to be found in:"
|
||||
elog "${EROOT}/etc/logstash/conf.d/*.conf"
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN="${PN%-bin}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Tool for managing events and logs"
|
||||
HOMEPAGE="https://www.elastic.co/products/logstash"
|
||||
SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.tar.gz )
|
||||
!x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}.tar.gz )"
|
||||
|
||||
# source: LICENSE.txt and NOTICE.txt
|
||||
LICENSE="Apache-2.0 MIT x-pack? ( Elastic )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="x-pack"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
|
||||
|
||||
RDEPEND="acct-group/logstash
|
||||
acct-user/logstash
|
||||
virtual/jre"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
|
||||
keepdir "/var/log/${MY_PN}"
|
||||
|
||||
insinto "/usr/share/${MY_PN}"
|
||||
newins "${FILESDIR}/agent.conf.sample" agent.conf
|
||||
|
||||
rm -v config/{pipelines.yml,startup.options} || die
|
||||
insinto /etc/${MY_PN}
|
||||
doins -r config/.
|
||||
doins "${FILESDIR}/pipelines.yml"
|
||||
rm -rv config data || die
|
||||
|
||||
insinto "/opt/${MY_PN}"
|
||||
doins -r .
|
||||
fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
|
||||
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}"
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}"
|
||||
|
||||
insinto /usr/share/eselect/modules
|
||||
doins "${FILESDIR}"/logstash-plugin.eselect
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
|
||||
ewarn "Install the plugins via eselect module that will automatically re-install"
|
||||
ewarn "all self installed plugins after Logstash upgrades."
|
||||
elog
|
||||
elog "Installing plugins:"
|
||||
elog "eselect logstash-plugin install logstash-output-gelf"
|
||||
elog
|
||||
|
||||
elog "Reinstalling self installed plugins (installed via eselect module):"
|
||||
eselect logstash-plugin reinstall
|
||||
|
||||
elog
|
||||
elog "Sample configuration:"
|
||||
elog "${EROOT}/usr/share/${MY_PN}"
|
||||
elog
|
||||
elog "The default pipeline configuration expects the configuration(s) to be found in:"
|
||||
elog "${EROOT}/etc/logstash/conf.d/*.conf"
|
||||
}
|
@ -1,9 +1,13 @@
|
||||
DIST mongo-tools-3.6.13.tar.gz 4990848 BLAKE2B 022ddf214869c3a3e545aa9572f77f0adc21c0dbd6ea6ad9e083633c2e972b7ef77c0bda4354dbde9fd0e23c6dd02a7de8873d4b2c2a3e4423ea6f8e1c23ed52 SHA512 fac21c4841bfecba11a7765bb6c36d1fa19d4dd94f6f4168fa767fc11dc8b3caf04a5029becd09eba01dd694274e9cc22da8566ce878769e5c3c97016c162432
|
||||
DIST mongo-tools-3.6.14.tar.gz 4990861 BLAKE2B 13394a7222e73c0912e7d9d04205b25e5d73d6c72b53521b0749e0998dc52bbe4c7733d460b189aff2401790f537d9aa369b969ed273ea0858520ecd75782b66 SHA512 3e7caaa1d568023d478c77d5e88127796b25d27c71e30af692983f4fd2160887662253ffc67e6e87aa3a7e1fd4ae231de9401b1628412a4561b9595b71df8834
|
||||
DIST mongo-tools-3.6.8.tar.gz 4723878 BLAKE2B a1693024d60f69d25c268eaaa30a478b1e4c0042c5fb7a3fd6252ed00aef2fee3fba94516fe825165a1a57887ed38e4fbce488c48ddd4f45349f0b7a1b244020 SHA512 359e8ce2d847d005d48ff12bc2e8af73213d81cd1521d2b5b5ac94792468218248bebbe808e1bd8fd49234eab8480608f294c1b63f317aed58f456b84ef17dcf
|
||||
DIST mongo-tools-4.0.10.tar.gz 11134721 BLAKE2B f25e834622db8a2cea1658d9396b747666dee6a0e6471f5fcf351431f716735227b19f854c228ebb9ace8a7c27b8cdf83f8a5009107191aa6dd27c1a4c037505 SHA512 12764b2e2016ae3ab3f0ed1f5b9be9ce10e466c53b408ad2c01b26bdf39ca41a358acd07aea5847db2b40e3e89293f77efcd2b310e4e2bf3071873abf1b20f49
|
||||
DIST mongo-tools-4.0.12.tar.gz 11134652 BLAKE2B d3c9703046dc577b85cefe1185678e0029411ddd44d0648f9b09fc3ab41e3661891d18afd83bf1a148dc4c9208895f444c115948e515e09dfa3062e89d98fc24 SHA512 068d8c456386caddcce23fa8917ffecdc9b5c39fb6794c5cd1d9099be1f127ecf680b006055581dc3d90507072a87788b46be7410f0dbede42da64c664b77ced
|
||||
DIST mongo-tools-4.2.0.tar.gz 14402906 BLAKE2B 535a9a0e49f4288e63c905f7bd98c1f1b8e38eef562cb5c40a0c09500a18eb7fd401f05df2261c92db3e8a126cc03902fa3c61177b50a3e18f2d33bee7590f52 SHA512 f937a9f2b4ccfe262ca1a09e7bd103ffbdd45eae7c6deed8c1453f4499935f526f513749422e3215071ef465291c3f0544bf1e9510bbaf8dd9fa1edcf22f887a
|
||||
EBUILD mongo-tools-3.6.13.ebuild 1612 BLAKE2B fe5fff8fdf2295c6ef3927293da63b4f8da68c81104d554789720b6268f25b06ee42fc728da388617543a18dc3c139b27c1ac28cc8fbf3b2bd519d053a2c9fa1 SHA512 529a9d42003103e564d7b5147d582da78db2435ae3587ef6827fd640947fdd5bd559fcf86ec82f0882a5c04b79fda9d9af612a8fed12e9d256bd5e3fa1e267fb
|
||||
EBUILD mongo-tools-3.6.14.ebuild 1613 BLAKE2B d8c1234826817987335aaa0aecae634e14b44b3813dabd375f27dc72971db6190cb570e530436f54edc3228f708954c703a1299533a585a842f1905c182c0cfa SHA512 cc6bfc311c50992880697090963b74f704c4f980c957cd92c88ef314bb1ea241901244ed3c9fc1f1f42ae0606fa281911f1121a5012745e6a121f293d685dd6a
|
||||
EBUILD mongo-tools-3.6.8.ebuild 1345 BLAKE2B 1baf6f2c407b2a4d1e81a6a04444b9c43ef74e6abd7e68c08c4ef1e0540b8dcb6c54c83a58b4687d2aa20f3fbbfd88b793e20058adaecb8e53b13e76a328ee54 SHA512 2286b4f40c01231648535b0f050e1ce36f5fdd654acd83389b35604d41e92bd584dec654b5368a7ee4e6ff7d420b19faeadc1c1c7f252093f365e23efb6604eb
|
||||
EBUILD mongo-tools-4.0.10.ebuild 1612 BLAKE2B fe5fff8fdf2295c6ef3927293da63b4f8da68c81104d554789720b6268f25b06ee42fc728da388617543a18dc3c139b27c1ac28cc8fbf3b2bd519d053a2c9fa1 SHA512 529a9d42003103e564d7b5147d582da78db2435ae3587ef6827fd640947fdd5bd559fcf86ec82f0882a5c04b79fda9d9af612a8fed12e9d256bd5e3fa1e267fb
|
||||
EBUILD mongo-tools-4.0.12.ebuild 1613 BLAKE2B d8c1234826817987335aaa0aecae634e14b44b3813dabd375f27dc72971db6190cb570e530436f54edc3228f708954c703a1299533a585a842f1905c182c0cfa SHA512 cc6bfc311c50992880697090963b74f704c4f980c957cd92c88ef314bb1ea241901244ed3c9fc1f1f42ae0606fa281911f1121a5012745e6a121f293d685dd6a
|
||||
EBUILD mongo-tools-4.2.0.ebuild 1613 BLAKE2B d8c1234826817987335aaa0aecae634e14b44b3813dabd375f27dc72971db6190cb570e530436f54edc3228f708954c703a1299533a585a842f1905c182c0cfa SHA512 cc6bfc311c50992880697090963b74f704c4f980c957cd92c88ef314bb1ea241901244ed3c9fc1f1f42ae0606fa281911f1121a5012745e6a121f293d685dd6a
|
||||
MISC metadata.xml 463 BLAKE2B 1e4d37c222538ce5d55e6f5c05ecbe85f57ac74eacaf5935540797f03c4c069b2ce2bd0cbb6b433eb86de9b2480058013759db3d504982df908c2ba9e1b4d2ec SHA512 f09474b3932dd6ae36da20c64a394acf65ad1e3a875e7ca743efa22db8b7e3109c9ebe4c489e62eda12c5bdd4d689ede61eca8a4cc89c42d0a08a270f041fcdc
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PV=${PV/_rc/-rc}
|
||||
MY_P=${PN}-r${MY_PV}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="https://www.mongodb.com"
|
||||
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="sasl ssl"
|
||||
|
||||
DEPEND="dev-lang/go:=
|
||||
net-libs/libpcap
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ssl? ( dev-libs/openssl:0= )"
|
||||
|
||||
# Do not complain about CFLAGS etc since go projects do not use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
EGO_PN="github.com/mongodb/mongo-tools"
|
||||
S="${WORKDIR}/src/${EGO_PN}"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p "${S%/*}" || die
|
||||
default
|
||||
mv ${MY_P} "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# allow building with go 1.12 #678924
|
||||
sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=()
|
||||
|
||||
if use sasl; then
|
||||
myconf+=(sasl)
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf+=(ssl)
|
||||
fi
|
||||
|
||||
# build pie to avoid text relocations wrt #582854
|
||||
local buildmode="pie"
|
||||
|
||||
# skip on ppc64 wrt #610984
|
||||
if use ppc64; then
|
||||
buildmode="default"
|
||||
fi
|
||||
|
||||
mkdir -p bin || die
|
||||
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
|
||||
echo "Building $i"
|
||||
GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
|
||||
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PV=${PV/_rc/-rc}
|
||||
MY_P=${PN}-r${MY_PV}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="https://www.mongodb.com"
|
||||
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="sasl ssl"
|
||||
|
||||
DEPEND="dev-lang/go:=
|
||||
net-libs/libpcap
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ssl? ( dev-libs/openssl:0= )"
|
||||
|
||||
# Do not complain about CFLAGS etc since go projects do not use them.
|
||||
QA_FLAGS_IGNORED='.*'
|
||||
|
||||
EGO_PN="github.com/mongodb/mongo-tools"
|
||||
S="${WORKDIR}/src/${EGO_PN}"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p "${S%/*}" || die
|
||||
default
|
||||
mv ${MY_P} "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# allow building with go 1.12 #678924
|
||||
sed -i 's/_Ctype_struct_/C.struct_/' vendor/github.com/google/gopacket/pcap/pcap.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=()
|
||||
|
||||
if use sasl; then
|
||||
myconf+=(sasl)
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf+=(ssl)
|
||||
fi
|
||||
|
||||
# build pie to avoid text relocations wrt #582854
|
||||
local buildmode="pie"
|
||||
|
||||
# skip on ppc64 wrt #610984
|
||||
if use ppc64; then
|
||||
buildmode="default"
|
||||
fi
|
||||
|
||||
mkdir -p bin || die
|
||||
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do
|
||||
echo "Building $i"
|
||||
GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
|
||||
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
}
|
@ -1,16 +1,13 @@
|
||||
AUX puppet-agent.conf.tmpfilesd 39 BLAKE2B 5ad1c862fec60701bdd18fb5f968d53b54b04e585b47941dbddcf2aab14d83af741e41c6f9e2ab359d6f4004bcd4f9215b34a6ac556882de4c12bb92da8f89b4 SHA512 24a2d8a49ec805da87953be60b1fefbca7e5b441f7f2865f43306526c2715aa1704705029fe45bf981786ea13cffbfd1c9b9502db416fc21534f87b17e348ab5
|
||||
AUX puppet.initd 765 BLAKE2B 4b48126506cbafe50bccd364a5aab10e57fb2412795122d3520d75f6034c92bcfaa0fff2cf7d19d40fa251f3a9009c32660474d2ef24c2481e93c04bc16b2979 SHA512 d40522b2060e4d4d72e60cca17860d029223e442e69982b6c553b72c4bd6d8b0d6be22baa496486cd0d9e99d6ed55789cba565186979fcd6cf3e49acb8a45171
|
||||
AUX puppet.service 355 BLAKE2B 96b24396f6b91181c13ef66cb06ff8197135d0bceefe4b01bdeb461d337b369c7fb7721ccbb2bf8680c0e8029d281d1bb0d5eafc7de6393f8fe058b7e67285de SHA512 a4dfb4f510413f0c4cbdcac911d35c33659d661b1dd52f2f9fe296fcff53f8ea4b2270dcb0b56d0128d629e15ffffd1e2c75a4ae338c47233194a035965fe2d6
|
||||
DIST puppet-agent_6.6.0-1stretch_amd64.deb 19177382 BLAKE2B c8034e4a943394da7fd97756b3dfb59897f3d787a8f49743a4c42ed47db4411f6d0e125cf6984728a108e5070cc8e42ca0a203d2afdcce99e08ae38a6ebb9293 SHA512 f0d129b357feb6e5d05c080437910e119bbce0e97e36927c2f97d3d7fb8f54a0eb1503a74ffec3cef7fd29785fe97ffd53f04a4be6a35b558ee278af8871289b
|
||||
DIST puppet-agent_6.6.0-1stretch_i386.deb 19443284 BLAKE2B c017abc3166b3cb04a98c511b5ab05dd7076906a38edd8ee919848c130ae5b1cb6c7542b6c6c3da267fa801e152ad963c84293083c709dd769185f943a4bebcb SHA512 adadc3201dae261f2000282b67b8c4735eeb588c4c6c5dcbcde2e655772bebb1c343611607d84ba1b019279480445dc44cd4e3cc3d64e89b70e93b85a37678d5
|
||||
DIST puppet-agent_6.7.2-1stretch_amd64.deb 19184682 BLAKE2B 6078c1b21f0e737881d949cfaf052571b40df450e53724696e2738141da30e59da7abf03ce00285ab77fd4ac52291ab6e42da373420807499f37b75c872fa83e SHA512 1c464448b1478397af7b806f8bfcaee0378af9d4b6bfa5a73e8245064329b1b49136107c5fcbaea0ef6cd4e1daf840d1ba331e798b2cd255ead54969520315c9
|
||||
DIST puppet-agent_6.7.2-1stretch_i386.deb 19452604 BLAKE2B 1915e7b7085db6cb87980a98a7cb85881331719e2af98b07f8461514a0296b3cf5181eb88f78893055a0fa09fc2ffce0e81e866db27abcecf9d8f745e329311c SHA512 8d89735601c9764e207eef77f5d42e836ee9d7c0c0f2856e0f293919cce52e7a42fc28fca42bd0e0bed760063aae527007ef7ce25503ce05fcfd495a44243ee3
|
||||
DIST puppet-agent_6.8.0-1stretch_amd64.deb 19184708 BLAKE2B ac961857784eaaa55604285cf305dac437007628ea5baa3c3ae9a8a345fcb8cf2b20820bd80cc2c96afb77cb03c4d2779b17b1183c9bc9461b56860d2179f448 SHA512 707146f71b21df4b89244df7b786f481136cfe7b0cabf20aa0d4784aca547ba85c75d13309b77c853b9e034b8271f350b30bc5358010d90b7573e3fdb63c31b6
|
||||
DIST puppet-agent_6.8.0-1stretch_i386.deb 19478404 BLAKE2B 0b9d76bb3d745ca42e489e16a133d684aa0e485941d59c6773c447f5fc79be7a964f0a2ff9e4c334a47b7d2ffc0264bd49e4f7806cbc2e72e037da1c9e385d51 SHA512 f8bc962b32abbaf070b81245b7488b4fc131d5a9e3ec94ac97038f5e9c942c70a493e61e13190fe2837eb898518724bb5f360b37531003dab37606436d66219b
|
||||
DIST puppet-agent_6.9.0-1stretch_amd64.deb 19846122 BLAKE2B 7f9133d1f5cb85f45c96490c230ee0cfda707db390a3a39be218fcd730e2298099e6d70c4f44bb5c6af46736c2c8aa7906a16375088c0119045dc77b53343b91 SHA512 f96cb1a6108a21192493b7b9958243e537ab41ce3ab6a7dde4d12bcd5da25ec6a5b29632acb87c4e156256578e8348c6fdfe26043539292f98203cce69b04fff
|
||||
DIST puppet-agent_6.9.0-1stretch_i386.deb 20170516 BLAKE2B 391a61a847bc05f9f03885f2e2140ea42b4eeca247f3223f17a82d3ede2e1bbc88226f9794777f4b20e81943d94b11612f8d4ffd9f74c2f494bdc242fb05e1a1 SHA512 595dbe1591a8ee9d703a3efdf103a3095966b22cafd0fd63fb2a7b9274ea858b55d0b915ecc32e93c49bcbeba453654fc9126efe3855924fb5c5b6732e0af83d
|
||||
EBUILD puppet-agent-6.6.0.ebuild 2175 BLAKE2B ce8fa475cb041b92b115452b2ef528e26f2e10d7f42872ed79a912f7567d091a4a361cf8cca3e8fee200c9c00005a6c865e53b66baea9d3c6dc6c260ac1e3fb2 SHA512 1fd6e77b9954f73796c398fecd3b0f6374f6e7eae7a2ed927a7cc26cb5009a167bc6441b41fe5c8fb2d752194625837723d867051b403c543d7a81ecce18f843
|
||||
EBUILD puppet-agent-6.7.2.ebuild 2175 BLAKE2B ce8fa475cb041b92b115452b2ef528e26f2e10d7f42872ed79a912f7567d091a4a361cf8cca3e8fee200c9c00005a6c865e53b66baea9d3c6dc6c260ac1e3fb2 SHA512 1fd6e77b9954f73796c398fecd3b0f6374f6e7eae7a2ed927a7cc26cb5009a167bc6441b41fe5c8fb2d752194625837723d867051b403c543d7a81ecce18f843
|
||||
EBUILD puppet-agent-6.8.0.ebuild 2177 BLAKE2B 84453f7cf7d5f5318eb7aef13050c331cdf903cd8306387db135ebcfcb2fad4645aee9429920482e5952f94f12338d4bb2f36b43ab69c6f325a8c5efb781899e SHA512 b11e26983e25c1c60ac0e279b512696048914cca0acef6041854a9b0fb5a50cefdfc5d146481ee71eabc6660a2a06d31a8c257d345ac89542be492387d528dce
|
||||
EBUILD puppet-agent-6.8.0.ebuild 2175 BLAKE2B ce8fa475cb041b92b115452b2ef528e26f2e10d7f42872ed79a912f7567d091a4a361cf8cca3e8fee200c9c00005a6c865e53b66baea9d3c6dc6c260ac1e3fb2 SHA512 1fd6e77b9954f73796c398fecd3b0f6374f6e7eae7a2ed927a7cc26cb5009a167bc6441b41fe5c8fb2d752194625837723d867051b403c543d7a81ecce18f843
|
||||
EBUILD puppet-agent-6.9.0.ebuild 2177 BLAKE2B 84453f7cf7d5f5318eb7aef13050c331cdf903cd8306387db135ebcfcb2fad4645aee9429920482e5952f94f12338d4bb2f36b43ab69c6f325a8c5efb781899e SHA512 b11e26983e25c1c60ac0e279b512696048914cca0acef6041854a9b0fb5a50cefdfc5d146481ee71eabc6660a2a06d31a8c257d345ac89542be492387d528dce
|
||||
MISC metadata.xml 433 BLAKE2B fc93f68be51fe0b46ffe44204f1a786375b0377168fc254be5b4d6b6d9f2ac4caabeec37064741ba951ce10e96612c2c612904b49ea63d6c40a93492b1ab853f SHA512 ad0a7b8c9b0898bca444d604071a12099559ef2ea3179fc2f56ef9b4a89de6b0791e462e1dd8a3fdfb56e22aca53b7c6e6451bc31afe242c174841c2765a0402
|
||||
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit eutils systemd unpacker user
|
||||
|
||||
DESCRIPTION="general puppet client utils along with hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch"
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_BASE}_amd64.deb )
|
||||
x86? ( ${SRC_BASE}_i386.deb )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
CDEPEND="!app-admin/augeas
|
||||
!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
!app-emulation/virt-what"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-portage/eix
|
||||
sys-apps/dmidecode
|
||||
sys-libs/glibc
|
||||
sys-libs/readline:0/7
|
||||
sys-libs/ncurses:0[tinfo]
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/run/puppet puppet
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/pxp-agent
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/pxp-agent
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
dodir var/log/puppetlabs/puppet/
|
||||
fperms 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd" puppet
|
||||
systemd_dounit lib/systemd/system/puppet.service
|
||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
|
||||
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
|
||||
dosym ../../opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
|
||||
dosym ../../opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
|
||||
}
|
@ -1,138 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
USE_RUBY="ruby23 ruby24 ruby25"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit eutils user ruby-fakegem eapi7-ver
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software."
|
||||
HOMEPAGE="https://puppet.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
|
||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
dev-ruby/json:=
|
||||
dev-ruby/semantic_puppet
|
||||
>=dev-ruby/facter-3.0.0
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl
|
||||
dev-ruby/hocon"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0"
|
||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# can't be run within portage.
|
||||
epatch "${FILESDIR}/puppet-fix-tests-6.4.1.patch"
|
||||
|
||||
# fix systemd path
|
||||
epatch "${FILESDIR}/puppet-systemd.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
insinto /usr/lib/systemd/system
|
||||
doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init-4.x puppet
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)"
|
||||
elog "suppert was removed for >=6.x, please migrate to puppetserver if you have"
|
||||
elog "not already done so."
|
||||
elog
|
||||
}
|
@ -1,11 +1,9 @@
|
||||
AUX puppetdb.initd 1824 BLAKE2B 76d8252b2fee61270f440734d91735fa002df1583126de60befd3cc756cc0f5368ce49461cee85ffca4c6893b1e1859bff9af86e75d73171d15ae344a9fb4149 SHA512 0d0f67b7eaf7d10474e73eb77174a51e0f891bf664706e11c7a5ef1f918d7967c67251bab797e1d117b0f2b08f4b634ad06a81f6022ef04e6394c15e36a73961
|
||||
AUX puppetdb.initd-r2 1896 BLAKE2B 04f47dd0406c1f67d4f72a911b0db8b482e37673ec9a0d14d73fb868aaae97f756e03fa39c2c7a9d69a217b5924dafa23c6f3e276a0626f06bf5c143b588a2c8 SHA512 58c248710c6eb39ec13e6f55a8bca686386e79eb048c4927925a2e2e75bce742d6a5e84001c231ea2b74fd4eed0ead81b9a4fc5672fdfbbd59f90677e4490675
|
||||
DIST puppetdb-6.3.4.tar.gz 41716289 BLAKE2B c2f0c074229340234e8ce146d6d711f0311f4a4d6c091ef497a376a5cca02f7bc5a85fc63555f7408f16dc60784266ba126149fb27a9e0bf0592d7ee314e4b4a SHA512 9da3707f0ecf1b7664dbf44dbc6dda79adce6928298aa8e263bb134bfccaf2403245ed0176f8929583f5631ba3927f99d6d06233eca07720d0fd174da33e4990
|
||||
DIST puppetdb-6.4.0.tar.gz 41720668 BLAKE2B a4637750c553eed8ee5bdd46212a7455fe1d59015aa78fe01f6fa9ee2b4a98ec50a2a8b551f65d4bc6965b2a969f559c53f5a6324a8e48983a1d027948387ce7 SHA512 c49afce1661ed284280e89ed9dbc2406a657e5f2cdbc501acf50900d431b58a341f1541789ea4ffe9109e8d30faf47eb85573a589426c40ad50597a7d81b5552
|
||||
DIST puppetdb-6.5.0.tar.gz 41768030 BLAKE2B 2a52239dabb5c026f4d00ee2942e3128ce50f1de23aa5ff5d53f2020237b54867b48727e774ecc27f5f18bd1617b43fcf30fbd3b03a730ca60d5bab7296e3f9c SHA512 8aee40101a17e22ef5b9b7b965ffe8d8a9b8dfaa787721b3e6a5e7363b98e0c52dc0583216a058540618a6a980cf80f138fa6b358a9daac518abd50981910cf5
|
||||
DIST puppetdb-6.6.0.tar.gz 43366185 BLAKE2B 224c13ff2583a7c8124f03845eca4756be6446e7470565c44d3fe1fcb756d5564ae2ded69d0bef1dda939efe082756c0e44afd3c6b0fc4268a744946860b5a02 SHA512 5076f52af51b7a3b43a0deb9cf1f10d77da98a5e531983d3661cda522c8d46f70882457934be6f70e77587b930077c0a4d2eaf7ed41eff9c6bcf4bc5ecbf2205
|
||||
EBUILD puppetdb-6.3.4.ebuild 2763 BLAKE2B 5a717db469771e4e5ca2a19c165c9e5afbb41e32a1e906ff530d883e8a391c8187327b73fcf00f5dd9abfe7f9e73c167cc238df150d8b599598962fa353233cd SHA512 53b05e2c0934a232ec65fa12549a448968f5fba4d520d8e3c047e4721552a005e0690b44bf975b2ad42a23ed10884f797a03d1e05ba608f3abf4a60512407a77
|
||||
EBUILD puppetdb-6.4.0.ebuild 2763 BLAKE2B 5a717db469771e4e5ca2a19c165c9e5afbb41e32a1e906ff530d883e8a391c8187327b73fcf00f5dd9abfe7f9e73c167cc238df150d8b599598962fa353233cd SHA512 53b05e2c0934a232ec65fa12549a448968f5fba4d520d8e3c047e4721552a005e0690b44bf975b2ad42a23ed10884f797a03d1e05ba608f3abf4a60512407a77
|
||||
EBUILD puppetdb-6.5.0.ebuild 2765 BLAKE2B c66521b63c4680a2819820dfed00f28f49adbb5cd8abb1b64e16d6eee6e9fbb81ac30a7353a9e5288afbffe5850103c6813ce02982cc3f2a23be52ac020ef5e2 SHA512 1cfe6e646f930e88780dfe3fa3cc935d4840c1bd9a83b8c2adc85a5989ad5dcd370a283b88e3d9481327ee77dcb6368d7613d0fcb5a9b38f7a158a894c841c37
|
||||
EBUILD puppetdb-6.5.0.ebuild 2763 BLAKE2B 5a717db469771e4e5ca2a19c165c9e5afbb41e32a1e906ff530d883e8a391c8187327b73fcf00f5dd9abfe7f9e73c167cc238df150d8b599598962fa353233cd SHA512 53b05e2c0934a232ec65fa12549a448968f5fba4d520d8e3c047e4721552a005e0690b44bf975b2ad42a23ed10884f797a03d1e05ba608f3abf4a60512407a77
|
||||
EBUILD puppetdb-6.6.0.ebuild 2765 BLAKE2B c66521b63c4680a2819820dfed00f28f49adbb5cd8abb1b64e16d6eee6e9fbb81ac30a7353a9e5288afbffe5850103c6813ce02982cc3f2a23be52ac020ef5e2 SHA512 1cfe6e646f930e88780dfe3fa3cc935d4840c1bd9a83b8c2adc85a5989ad5dcd370a283b88e3d9481327ee77dcb6368d7613d0fcb5a9b38f7a158a894c841c37
|
||||
MISC metadata.xml 485 BLAKE2B 5f2ffba1725ce7168c4bacbef8170b7ca626d4e639cc2c32e0063e076fc951681c9a7154d08036e935617bd5cf67a5640acec9ae3964829da9bc3a7cdf412222 SHA512 b9461d712e74a7ff469a554a21c1e4e67954395eaae8de9a8669f7e816e2291120be14e8c659f34b41f65962027cfa73030ef2678003b52a1a56b35de0f9b2b2
|
||||
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib systemd user
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.8.0"
|
||||
DEPEND+=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppetdb
|
||||
enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -1,8 +1,7 @@
|
||||
AUX puppetserver.init 2138 BLAKE2B 6c157cb6bbe9e085ae67920abadf99ff97798115f784a60e2be4fa565f5b897f60d8abea21af273b1951477a1662c778081ee9a31063780c179097e764b0845b SHA512 50e78feda08e06a16290f90b7d593653c7fe2e98efdfc8cc7cc4a85a5be528e8bc585b934330f3a87b6f038311942fd8bc6d73f0538069d7b132dd3a64e23f11
|
||||
DIST puppetserver-6.4.0.tar.gz 75721867 BLAKE2B 299d73bab6f76464fc7b2e3b5a5b63e4b0d6f11752990d2926db247dc5d6aa475f5de571640ae38f22da75505153ce0f83e7a952bd0d037f4d3d12fd37c8f269 SHA512 cc9ac9a163b1ee7488b1afb95457cea4ae9da205d4cd91dd70c8cc995fad32829b5c4d9de8baa3ca325ac235bcaee2dca78ea9cd50bc9dfe11f2837f64587a11
|
||||
AUX puppetserver.init-r1 2190 BLAKE2B 6e4b547af51989d678a52e0fb41e8b27a669d96aaa445998b532524651f2bf2349a26f8eb77ead92a9e0f613a5269fe464045937f318947c8c2878b93dad0d4f SHA512 de159346c4b1b5705d53337994cf77f4b70edd20d60f0e1338589be4ee67c4a1bddca5cfdf9a4e744ff9360676f86391a6675b137c3bef050d71f2964b885b58
|
||||
DIST puppetserver-6.5.0.tar.gz 76080713 BLAKE2B 0562128001a24eae6cec071a366e16ab3ce5b0babbe50330ecddd13ab3dbfd35d6cb23634770e4bd7904cd231752ce923d4af8dc42d783cc137f300efcb05fb2 SHA512 d871f3817c370ddd08e8d791deb1a30aa50ab0d801192ebfb5ef225d8dce21885175fe4e9911287437b687b2bcbf5a098d8b9511b24bd05fdf4854575a686cfe
|
||||
DIST puppetserver-6.6.0.tar.gz 59095750 BLAKE2B adbc08a68a1382106c43d27604c2cef52bd1d9875c5f555320d97d31dcf9d248c88baa2d6dfd37a855010fda76ad4d273a7bd5eca77bb216aabf6a120e41cee0 SHA512 2b43092752e246027a437398d6d23a4085caa2956a1453cec2e62f1001fca1c98bddca0a9d90c178ce9c89a06c26edcaee49416c1b8a4941e2bc4b6b5bb1fe0e
|
||||
EBUILD puppetserver-6.4.0.ebuild 5370 BLAKE2B b3b8bbba45305b658c94fcc43c9e2d11b854e80f536e5e3c3afc7c4182f954b9491f47eb83529dbd00a894b793c9a0cf660ed7b52051b840b24e7fedec97a6b2 SHA512 31b6e681af9dd22d9388a447237289e3e48d79d2e7e1ba79d10e70084b99a9d7cf99fdd19b58a210f990ed1b202af2367a0e0911f8579a876ff284413f6051ce
|
||||
EBUILD puppetserver-6.5.0.ebuild 5370 BLAKE2B b3b8bbba45305b658c94fcc43c9e2d11b854e80f536e5e3c3afc7c4182f954b9491f47eb83529dbd00a894b793c9a0cf660ed7b52051b840b24e7fedec97a6b2 SHA512 31b6e681af9dd22d9388a447237289e3e48d79d2e7e1ba79d10e70084b99a9d7cf99fdd19b58a210f990ed1b202af2367a0e0911f8579a876ff284413f6051ce
|
||||
EBUILD puppetserver-6.6.0.ebuild 5372 BLAKE2B a4a00a13309207dc0cfc8f584bab29add3a2dd21c83cc1ca165e55631002fdb645c036665f55f580c27776dd4ac67dc993749a01d9938189442020660ab70598 SHA512 cc4934c876b59eb4eed05e4bbde2c6973623236c5fe243a4b6245aff2816477cbe9f168c89dfb9530ef5a2cd1f67410c8c532e5c8b6b29426ac2c6f18b189c19
|
||||
EBUILD puppetserver-6.6.0-r1.ebuild 5393 BLAKE2B 72168876f0d5ce90d779ddf60ed2069e284c3ef98a9e62a594e1b8614a3ac2f2681d25f7c3222ef0084d1d816d991d818d471f874bc8675d2a39fdaab260b288 SHA512 640a1e81775befe3a5a19ed8c8a19c53d11a30cbd9bf9613a5c19ee487bcc1d2e0948d91779a4c9bd7ccc1fb8e86f4c77fb0eaf1ddd5a13ad0158093729afed5
|
||||
MISC metadata.xml 468 BLAKE2B eb3daaf61cea0ff7524b0034463c7bdbf2fa8c40277deb106f28fd8e1ab90964600e3922c10eb317ce826e2b9b7db5162ad1c2e6e76d4b0c01de486e6b5a89fe SHA512 0bf5e337ba3d5d3e4d84cc397ecf40d0c0ba298aa22c9d54a89381391a69a2374ce736443edacc67403490d2a4950a7c386fb4741b149d0eca700d115b0ac24c
|
||||
|
@ -0,0 +1,72 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
extra_commands="checkconfig reload"
|
||||
|
||||
LOGDIR="/var/log/puppetlabs/puppetserver"
|
||||
RUNDIR="/run/puppetlabs/puppetserver"
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -x $JAVA_BIN ]; then
|
||||
eerror "Missing JAVA_BIN."
|
||||
eend 1
|
||||
fi
|
||||
if [ ! -d $INSTALL_DIR ]; then
|
||||
eerror "Missing INSTALL_DIR."
|
||||
eend 1
|
||||
fi
|
||||
if [ ! -e $BOOTSTRAP_CONFIG ]; then
|
||||
eerror "Missing BOOTSTRAP_CONFIG."
|
||||
eend 1
|
||||
fi
|
||||
if [ ! -e $CONFIG ]; then
|
||||
eerror "Missing CONFIG."
|
||||
eend 1
|
||||
fi
|
||||
if [ ! -n $USER ]; then
|
||||
eerror "Missing USER."
|
||||
eend 1
|
||||
fi
|
||||
if [ ! -n $GROUP ]; then
|
||||
eerror "Missing GROUP."
|
||||
eend 1
|
||||
fi
|
||||
|
||||
checkpath -d -m 0755 "${LOGDIR%/*}"
|
||||
checkpath -d -m 0755 "${RUNDIR%/*}"
|
||||
checkpath -d -m 0700 -o "${USER}:${GROUP}" "${LOGDIR}"
|
||||
checkpath -d -m 0755 -o "${USER}:${GROUP}" "${RUNDIR}"
|
||||
|
||||
PUPPETSERVER_ARGS="-Djava.security.egd=/dev/urandom -XX:OnOutOfMemoryError=\"kill -9 %p\" -cp ${INSTALL_DIR}/puppet-server-release.jar:${INSTALL_DIR}/jruby-1_7.jar:/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/facter.jar clojure.main -m puppetlabs.trapperkeeper.main"
|
||||
PUPPETSERVER_OPTS="--config /etc/puppetlabs/puppetserver/conf.d --bootstrap-config ${BOOTSTRAP_CONFIG} --restart-file /opt/puppetlabs/server/data/puppetserver/restartcounter"
|
||||
EXEC="${JAVA_BIN} ${JAVA_ARGS} ${PUPPETSERVER_ARGS} ${PUPPETSERVER_OPTS}"
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Starting Puppet Server"
|
||||
start-stop-daemon --start -u "${USER}" -g "${GROUP}" \
|
||||
-m --pidfile "${RUNDIR}/puppetserver.pid" \
|
||||
-b --exec "/bin/bash" \
|
||||
-- -c "exec ${EXEC} >> ${LOGDIR}/daemon.log 2>&1"
|
||||
local retval=$?
|
||||
if [ $retval -ne 0 ]; then
|
||||
ewarn "Error starting puppetserver."
|
||||
fi
|
||||
eend $retval
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Puppet Server"
|
||||
start-stop-daemon --stop --pidfile "${RUNDIR}/puppetserver.pid"
|
||||
eend $?
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading Puppet Server"
|
||||
start-stop-daemon --signal HUP --pidfile "${RUNDIR}/puppetserver.pid"
|
||||
eend $?
|
||||
}
|
||||
|
@ -1,135 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib systemd user
|
||||
|
||||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="puppetdb"
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND+="
|
||||
>=virtual/jdk-1.8.0
|
||||
app-admin/puppet-agent[puppetdb?]"
|
||||
DEPEND+=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /opt/puppetlabs/server/data/puppetserver "puppet"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/bin/puppetserver || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die
|
||||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver
|
||||
insopts -m0774
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppet-server-release.jar
|
||||
insinto /etc/puppetlabs/puppetserver
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetserver/services.d
|
||||
doins ext/system-config/services.d/bootstrap.cfg
|
||||
doins ext/config/services.d/ca.cfg
|
||||
insinto /etc/puppetlabs/puppetserver/conf.d
|
||||
doins ext/config/conf.d/puppetserver.conf
|
||||
doins ext/config/conf.d/auth.conf
|
||||
doins ext/config/conf.d/global.conf
|
||||
doins ext/config/conf.d/web-routes.conf
|
||||
doins ext/config/conf.d/metrics.conf
|
||||
doins ext/config/conf.d/webserver.conf
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps
|
||||
doins ext/cli/ca
|
||||
doins ext/cli/irb
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/gem
|
||||
doins ext/cli/ruby
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli
|
||||
doins ext/cli_defaults/cli-defaults.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/bin
|
||||
doins ext/bin/puppetserver
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver
|
||||
dodir /opt/puppetlabs/server/apps/puppetserver/config/services.d
|
||||
# other sys stuff
|
||||
dodir /etc/puppetlabs/code
|
||||
# needed for systemd
|
||||
dodir /var/log/puppetlabs/puppetserver
|
||||
dodir /etc/puppetlabs/puppet/ssl
|
||||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl
|
||||
fperms -R 771 /etc/puppetlabs/puppet/ssl
|
||||
# systemd type things
|
||||
insinto /etc/systemd/system/puppetserver.service.d/
|
||||
systemd_dounit ext/redhat/puppetserver.service
|
||||
insinto /etc/default
|
||||
newins ext/default puppetserver
|
||||
# normal init type tasks
|
||||
dosym ../default/puppetserver /etc/conf.d/puppetserver
|
||||
newinitd "${FILESDIR}/puppetserver.init" puppetserver
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetserver.logrotate.conf puppetserver
|
||||
# cleanup
|
||||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems
|
||||
fowners -R puppet:puppet /opt/puppetlabs/server/data
|
||||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver
|
||||
fperms -R 700 /var/log/puppetlabs/puppetserver
|
||||
insinto /opt/puppetlabs/server/data
|
||||
doins ext/build-scripts/jruby-gem-list.txt
|
||||
doins ext/build-scripts/mri-gem-list-no-dependencies.txt
|
||||
insopts -m 0644
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins ext/puppetserver.tmpfiles.conf puppetserver.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install you may want to run the following:"
|
||||
elog
|
||||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver"
|
||||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid"
|
||||
elog "puppet config set --section master codedir /etc/puppetlabs/code"
|
||||
elog
|
||||
elog "# install puppetserver gems"
|
||||
elog "cd /opt/puppetlabs/server/apps/puppetserver"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/server/data/puppetserver/vendored-jruby-gems }\" > jruby.conf"
|
||||
elog "while read LINE do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-ri --no-rdoc \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/jruby-gem-list.txt"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/puppet/lib/ruby/vendor_gems }\" > jruby.conf"
|
||||
elog "while read LINE do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-ri --no-rdoc \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/mri-gem-list.txt"
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
AUX gentoo-setup 13727 BLAKE2B dca9dadd5775006f5bfbeee870723db8806a2236c984e2b4cec70031101f97fc5d4e1e1fd9219f27cdaa31ee860d247f71a01180b392154c16ca6554b1f73483 SHA512 fa6fde84eb9a16fea5d019fd920aed2a2f5dd51e5f32fa407fd1c424a0627eaafab7cd3b572a57e4f97e06ce5b6b5a7373ac377776a474a8512e077130eadc6e
|
||||
AUX init.d.webmin 2160 BLAKE2B b26d1e22ceb655d62e467a30501ddacf29c825c84ed926805f39861982ff829d119da03f45ec60fd3c35c17b12a06ca051e15fbd3e54e53cde5d84681d15f839 SHA512 9a8b11f1375be7ced1a402b97bb16b627c3459871722d52b2c471f36f103bcfe51a1598014905ac22072aff38e4baf25f53ad08b99dc3d367ce9851c489c1681
|
||||
AUX webmin.service 416 BLAKE2B aef00b0f948286c54736613e37f114e6ffd90453cc6eadc3afffe7fa114df4e6a8b91e4f02da6fdfaa3eb2f57254e5e6785b201d0461f28839742cc13d883816 SHA512 7cf86342db3d34cbe39b62fa768660ba7dd160d9c0d113ef6a3a176187fa0c72531bed38e3203cf627ab05c1ac4d9a8b9e829d1baa9739d63dfa74f09c445f1e
|
||||
DIST webmin-1.881-minimal.tar.gz 2827351 BLAKE2B b8ea9964147c09c91413fbdad3b6a0e5161497296bb33b614161e370ac1292ac9cdf752483835fb279aa70ba41eb09f2774d08caa58861049e467346ad0b64ff SHA512 5b855c5562a6eb6a8fd836e3bd1dcc30696b7f63776d0f8b5ee69f5e219c749210436315fe5fd8f811f4f19e02fe4d7d3cff451a831b085101081b97b8ce794d
|
||||
DIST webmin-1.881.tar.gz 28903876 BLAKE2B beaab3282ccbbe7716fe35e62ee93e64b636f420fa9235398954904b5e14888cdc4b0acd5126184dcdab59274d3e5b71a7997df3e73e18c55849b7197f024971 SHA512 eab1acb53aca5e947bb9fac1c08a32e9eeca2903bc19595fbc8e19895bda8f4c3432550c2a87cf8c2b577b223b97566b046b7c339bd8754266544f5777560cc7
|
||||
EBUILD webmin-1.881.ebuild 10425 BLAKE2B 81bf2acb05996ff6b601c5145bf2c1e1a55c0162c462e6fc70822ff400c8c63d1c5ec2305e231c20390ef327b4580b968f3329bd0b0b2594fc905c430b5f3e89 SHA512 a91a9acd44a690ae619a71823b8509868166d6bbb2cab7b75aee60e6391bfbdb6e2434f605ed0c9590053342b1a96227f55c387fcb350e3f50d986200d99c658
|
||||
MISC metadata.xml 245 BLAKE2B fb529d74f567dd37b9744ec3bfe3de132890694f483fcec456927b8edbdb0a7257fb39685079fe93cf8e8c52377bf87750dea764c98092dc8d6868b19d5dc7d9 SHA512 eb79433135fa9654e593b79830b2a34d158af83164c3f77c2b46950924ade8d03687ff26bb856e49c1e02bb33753c9771380480768ded4983d330f3e25f7c28a
|
@ -1,438 +0,0 @@
|
||||
#!/bin/sh
|
||||
# gentoo-setup.sh
|
||||
#
|
||||
# Version 1.2
|
||||
#
|
||||
# A modified original Webmin setup.sh script to comply with Gentoo specifics
|
||||
#
|
||||
# Modification done by: PhobosK <phobosk@kbfx.net>
|
||||
#
|
||||
# This script runs after the webmin archive is installed, and in the pkg_config() phase.
|
||||
# It does setup the various config files of Webmin depending on if it is
|
||||
# a new install, an upgrade or a reset.
|
||||
|
||||
LANG=
|
||||
export LANG
|
||||
|
||||
if [ -z ${wadir} ]; then
|
||||
echo "You can't run this script outside of the 'emerge --config app-admin/webmin' command."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# All things we do is from the Webmin install dir - $wadir
|
||||
cd $wadir
|
||||
|
||||
|
||||
# Are we hard resetting everything?
|
||||
# If yes, we do:
|
||||
# 1. Run the specific Webmin $wadir/run-uninstalls.pl
|
||||
# It runs all uninstall.pl files in every module's folder.
|
||||
# They delete all the set specific Webmin cron jobs.
|
||||
# If bumping you should go through these files using the command:
|
||||
# find . -name uninstall.pl -exec cat {} \; -print
|
||||
# 2. Delete the whole /etc/webmin content, keeping only the gentoo .keep_* files
|
||||
if [ "$reset" = "hard" ]; then
|
||||
echo "Running Webmin's specific uninstall procedures.. (Please ignore any possible errors)"
|
||||
(WEBMIN_CONFIG=$config_dir WEBMIN_VAR=$var_dir LANG= "$wadir/run-uninstalls.pl")
|
||||
echo "..done"
|
||||
echo ""
|
||||
|
||||
echo "Deleting the content of user's config folder: $config_dir .."
|
||||
find $config_dir ! -name '.keep_*' -delete 2>/dev/null
|
||||
echo "..done"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
||||
# Are we soft resetting?
|
||||
# If yes we do:
|
||||
# - Delete the $config_dir/config file so we get new config values
|
||||
if [ "$reset" = "soft" ]; then
|
||||
echo "Deleting the user's $config_dir/config file.."
|
||||
if [ -f "$config_dir/config" ]; then
|
||||
rm -f "$config_dir/config"
|
||||
fi
|
||||
echo "..done"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
||||
# Get all available modules of this version
|
||||
allmods=`echo */module.info | sed -e 's/\/module.info//g'`
|
||||
|
||||
# Get current Webmin version
|
||||
ver=`cat "$wadir/version"`
|
||||
|
||||
if [ -r "$config_dir/config" ]; then
|
||||
upgrading=1
|
||||
fi
|
||||
|
||||
|
||||
# Check if upgrading from an old version
|
||||
if [ "$upgrading" = 1 ]; then
|
||||
echo "Updating existant Webmin's config files.."
|
||||
|
||||
# Get current var path
|
||||
if [ -r "$config_dir/var-path" ]; then
|
||||
_var_dir=`cat $config_dir/var-path`
|
||||
if [ -n ${_var_dir} ]; then
|
||||
var_dir=${_var_dir}
|
||||
fi
|
||||
fi
|
||||
|
||||
# Get current perl path
|
||||
if [ -r "$config_dir/perl-path" ]; then
|
||||
_perl=`cat $config_dir/perl-path`
|
||||
if [ -n ${_perl} ]; then
|
||||
perl=${_perl}
|
||||
fi
|
||||
fi
|
||||
|
||||
# Get old os name and version
|
||||
os_type=`grep "^os_type=" $config_dir/config | sed -e 's/os_type=//g'`
|
||||
os_version=`grep "^os_version=" $config_dir/config | sed -e 's/os_version=//g'`
|
||||
real_os_type=`grep "^real_os_type=" $config_dir/config | sed -e 's/real_os_type=//g'`
|
||||
real_os_version=`grep "^real_os_version=" $config_dir/config | sed -e 's/real_os_version=//g'`
|
||||
|
||||
# Get port, ssl, no_ssl2, no_ssl3, ssl_redirect, no_sslcompression, ssl_honorcipherorder, no_tls1, no_tls1_1 and keyfile
|
||||
port=`grep "^port=" $config_dir/miniserv.conf | sed -e 's/port=//g'`
|
||||
ssl=`grep "^ssl=" $config_dir/miniserv.conf | sed -e 's/ssl=//g'`
|
||||
no_ssl2=`grep "^no_ssl2=" $config_dir/miniserv.conf | sed -e 's/no_ssl2=//g'`
|
||||
no_ssl3=`grep "^no_ssl3=" $config_dir/miniserv.conf | sed -e 's/no_ssl3=//g'`
|
||||
ssl_redirect=`grep "^ssl_redirect=" $config_dir/miniserv.conf | sed -e 's/ssl_redirect=//g'`
|
||||
ssl_honorcipherorder=`grep "^ssl_honorcipherorder=" $config_dir/miniserv.conf | sed -e 's/ssl_honorcipherorder=//g'`
|
||||
no_sslcompression=`grep "^no_sslcompression=" $config_dir/miniserv.conf | sed -e 's/no_sslcompression=//g'`
|
||||
no_tls1=`grep "^no_tls1=" $config_dir/miniserv.conf | sed -e 's/no_tls1=//g'`
|
||||
no_tls1_1=`grep "^no_tls1_1=" $config_dir/miniserv.conf | sed -e 's/no_tls1_1=//g'`
|
||||
keyfile=`grep "^keyfile=" $config_dir/miniserv.conf | sed -e 's/keyfile=//g'`
|
||||
|
||||
# Update ACLs
|
||||
$perl "$wadir/newmods.pl" $config_dir $allmods
|
||||
|
||||
# Update miniserv.conf with new root directory, mime types file and server info
|
||||
grep -v "^root=" $config_dir/miniserv.conf | grep -v "^mimetypes=" | grep -v "^server=" >$tempdir/$$.miniserv.conf
|
||||
mv $tempdir/$$.miniserv.conf $config_dir/miniserv.conf
|
||||
echo "root=$wadir" >> $config_dir/miniserv.conf
|
||||
echo "mimetypes=$wadir/mime.types" >> $config_dir/miniserv.conf
|
||||
echo "server=MiniServ/$ver" >> $config_dir/miniserv.conf
|
||||
grep logout= $config_dir/miniserv.conf >/dev/null
|
||||
if [ $? != "0" ]; then
|
||||
echo "logout=$config_dir/logout-flag" >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
# Remove old cache of module infos
|
||||
rm -f $config_dir/module.infos.cache
|
||||
echo "..done"
|
||||
echo ""
|
||||
else
|
||||
# Create webserver's new config files
|
||||
echo "Creating Webmin's new config files.."
|
||||
|
||||
echo $perl > $config_dir/perl-path
|
||||
echo $var_dir > $config_dir/var-path
|
||||
|
||||
# Create a totally new conf file
|
||||
cfile=$config_dir/miniserv.conf
|
||||
echo "port=$port" > $cfile
|
||||
echo "root=$wadir" >> $cfile
|
||||
echo "mimetypes=$wadir/mime.types" >> $cfile
|
||||
echo "addtype_cgi=internal/cgi" >> $cfile
|
||||
echo "realm=Webmin Server" >> $cfile
|
||||
echo "logfile=$var_dir/miniserv.log" >> $cfile
|
||||
echo "errorlog=$var_dir/miniserv.error" >> $cfile
|
||||
echo "pidfile=$pidfile" >> $cfile
|
||||
echo "logtime=168" >> $cfile
|
||||
echo "ppath=$ppath" >> $cfile
|
||||
echo "ssl=$ssl" >> $cfile
|
||||
echo "no_ssl2=$no_ssl2" >> $cfile
|
||||
echo "no_ssl3=$no_ssl3" >> $cfile
|
||||
echo "ssl_redirect=$ssl_redirect" >> $cfile
|
||||
echo "ssl_honorcipherorder=$ssl_honorcipherorder" >> $cfile
|
||||
echo "no_sslcompression=$no_sslcompression" >> $cfile
|
||||
echo "no_tls1=$no_tls1" >> $cfile
|
||||
echo "no_tls1_1=$no_tls1_1" >> $cfile
|
||||
echo "keyfile=$keyfile" >> $cfile
|
||||
echo "env_WEBMIN_CONFIG=$config_dir" >> $cfile
|
||||
echo "env_WEBMIN_VAR=$var_dir" >> $cfile
|
||||
echo "atboot=$atboot" >> $cfile
|
||||
echo "logout=$config_dir/logout-flag" >> $cfile
|
||||
echo "listen=10000" >> $cfile
|
||||
echo "denyfile=\\.pl\$" >> $cfile
|
||||
echo "log=1" >> $cfile
|
||||
echo "blockhost_failures=5" >> $cfile
|
||||
echo "blockhost_time=60" >> $cfile
|
||||
echo "syslog=1" >> $cfile
|
||||
echo "session=1" >> $cfile
|
||||
echo "premodules=WebminCore" >> $cfile
|
||||
echo "server=MiniServ/$ver" >> $cfile
|
||||
|
||||
# Append package-specific info to config file.
|
||||
# miniserv-conf can be created by upstream or by us in src_install phase (see there).
|
||||
if [ -f "$wadir/miniserv-conf" ]; then
|
||||
cat "$wadir/miniserv-conf" >>$cfile
|
||||
fi
|
||||
|
||||
# Create the default user allowed to login - root only
|
||||
login="root"
|
||||
|
||||
if [ -r /etc/shadow ]; then
|
||||
#crypt=`grep "^root:" /etc/shadow | cut -f 2 -d :`
|
||||
crypt=x
|
||||
else
|
||||
crypt=`grep "^root:" /etc/passwd | cut -f 2 -d :`
|
||||
fi
|
||||
|
||||
ufile=$config_dir/miniserv.users
|
||||
echo "$login:$crypt:0" > $ufile
|
||||
chmod 600 $ufile
|
||||
|
||||
|
||||
echo "userfile=$ufile" >> $cfile
|
||||
chmod 600 $cfile
|
||||
echo "..done"
|
||||
echo ""
|
||||
|
||||
echo "Creating access control file.."
|
||||
afile=$config_dir/webmin.acl
|
||||
echo "$login: $allmods" > $afile
|
||||
chmod 600 $afile
|
||||
echo "..done"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
||||
# Create start, stop, restart and reload Gentoo compliant Webmin scripts
|
||||
# We use sys-apps/openrc functions which is already pulled by sys-apps/baselayout
|
||||
# or systemctl if we run under systemd
|
||||
echo "Creating start and stop scripts.."
|
||||
rm -f $config_dir/{start,stop,restart,reload}
|
||||
|
||||
# The start script in /etc/webmin (Gentoo compliant)
|
||||
cat <<END >>"$config_dir/start"
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -f "${pidfile}" ]; then
|
||||
if [[ -d /run/systemd/system ]] ; then
|
||||
systemctl start webmin.service
|
||||
else
|
||||
rc-service --ifexists -- webmin start
|
||||
fi
|
||||
fi
|
||||
END
|
||||
|
||||
# The stop script in /etc/webmin (Gentoo compliant)
|
||||
cat <<END >>"$config_dir/stop"
|
||||
#!/bin/sh
|
||||
|
||||
if [[ -d /run/systemd/system ]] ; then
|
||||
systemctl stop webmin.service
|
||||
else
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
fi
|
||||
END
|
||||
|
||||
# The restart script in /etc/webmin (Gentoo compliant)
|
||||
cat <<END >>"$config_dir/restart"
|
||||
#!/bin/sh
|
||||
|
||||
if [[ -d /run/systemd/system ]] ; then
|
||||
systemctl try-restart webmin.service
|
||||
else
|
||||
rc-service --ifexists -- webmin --ifstarted restart
|
||||
fi
|
||||
END
|
||||
|
||||
# The reload script in /etc/webmin (Gentoo compliant)
|
||||
cat <<END >>"$config_dir/reload"
|
||||
#!/bin/sh
|
||||
|
||||
if [[ -d /run/systemd/system ]] ; then
|
||||
systemctl reload-or-try-restart webmin.service
|
||||
else
|
||||
rc-service --ifexists -- webmin --ifstarted reload
|
||||
fi
|
||||
END
|
||||
|
||||
chmod 755 $config_dir/{start,stop,restart,reload}
|
||||
echo "..done"
|
||||
echo ""
|
||||
|
||||
|
||||
if [ "$upgrading" = 1 ]; then
|
||||
echo "Updating other config files.."
|
||||
else
|
||||
echo "Copying other config files.."
|
||||
fi
|
||||
|
||||
# This just copies and merges the Webmin's release config files, with user's in the /etc/webmin folder
|
||||
newmods=`$perl "$wadir/copyconfig.pl" "$os_type/$real_os_type" "$os_version/$real_os_version" "$wadir" $config_dir "" $allmods`
|
||||
if [ "$upgrading" != 1 ]; then
|
||||
# Store the OS and version
|
||||
echo "os_type=$os_type" >> $config_dir/config
|
||||
echo "os_version=$os_version" >> $config_dir/config
|
||||
echo "real_os_type=$real_os_type" >> $config_dir/config
|
||||
echo "real_os_version=$real_os_version" >> $config_dir/config
|
||||
|
||||
# Turn on logging by default
|
||||
echo "log=1" >> $config_dir/config
|
||||
|
||||
# Disallow unknown referers by default
|
||||
echo "referers_none=1" >>$config_dir/config
|
||||
else
|
||||
# one-off hack to set log variable in config from miniserv.conf
|
||||
grep log= $config_dir/config >/dev/null
|
||||
if [ "$?" = "1" ]; then
|
||||
grep log= $config_dir/miniserv.conf >> $config_dir/config
|
||||
grep logtime= $config_dir/miniserv.conf >> $config_dir/config
|
||||
grep logclear= $config_dir/miniserv.conf >> $config_dir/config
|
||||
fi
|
||||
|
||||
# Disallow unknown referers if not set
|
||||
grep referers_none= $config_dir/config >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo "referers_none=1" >>$config_dir/config
|
||||
fi
|
||||
fi
|
||||
echo $ver > $config_dir/version
|
||||
echo "..done"
|
||||
echo ""
|
||||
|
||||
# Set passwd_ fields in miniserv.conf from global config
|
||||
for field in passwd_file passwd_uindex passwd_pindex passwd_cindex passwd_mindex; do
|
||||
grep $field= $config_dir/miniserv.conf >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
grep $field= $config_dir/config >> $config_dir/miniserv.conf
|
||||
fi
|
||||
done
|
||||
grep passwd_mode= $config_dir/miniserv.conf >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo passwd_mode=0 >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
grep ssl_honorcipherorder= $config_dir/miniserv.conf >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo ssl_honorcipherorder=1 >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
# Disable SSL compression to defeat BEAST attack
|
||||
grep no_sslcompression= $config_dir/miniserv.conf >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo no_sslcompression=1 >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
# Tighten SSL security
|
||||
grep no_ssl2= $config_dir/miniserv.conf >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo no_ssl2=1 >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
grep no_ssl3= $config_dir/miniserv.conf >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo no_ssl3=1 >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
grep no_tls1= $config_dir/miniserv.conf >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo no_tls1=1 >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
grep no_tls1_1= $config_dir/miniserv.conf >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo no_tls1_1=1 >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
# Make Perl crypt MD5 the default
|
||||
grep md5pass= $config_dir/config >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo md5pass=1 >> $config_dir/config
|
||||
fi
|
||||
|
||||
# Set a special theme if none was set before
|
||||
if [ "$theme" = "" ]; then
|
||||
theme=`cat "$wadir/defaulttheme" 2>/dev/null`
|
||||
fi
|
||||
oldthemeline=`grep "^theme=" $config_dir/config`
|
||||
oldtheme=`echo $oldthemeline | sed -e 's/theme=//g'`
|
||||
if [ "$theme" != "" ] && [ "$oldthemeline" = "" ] && [ -d "$wadir/$theme" ]; then
|
||||
themelist=$theme
|
||||
fi
|
||||
|
||||
# Set a special overlay if none was set before
|
||||
if [ "$overlay" = "" ]; then
|
||||
overlay=`cat "$wadir/defaultoverlay" 2>/dev/null`
|
||||
fi
|
||||
if [ "$overlay" != "" ] && [ "$theme" != "" ] && [ -d "$wadir/$overlay" ]; then
|
||||
themelist="$themelist $overlay"
|
||||
fi
|
||||
|
||||
# Apply the theme and maybe overlay
|
||||
if [ "$themelist" != "" ]; then
|
||||
echo "theme=$themelist" >> $config_dir/config
|
||||
echo "preroot=$themelist" >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
# If the old blue-theme is still in use, change it (new in 1.730)
|
||||
oldtheme=`grep "^theme=" $config_dir/config | sed -e 's/theme=//g'`
|
||||
if [ "$oldtheme" = "blue-theme" ]; then
|
||||
sed -i -e 's/theme=blue-theme/theme=gray-theme/g' $config_dir/config
|
||||
sed -i -e 's/preroot=blue-theme/preroot=gray-theme/g' $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
# Set the product field in the global config
|
||||
grep product= $config_dir/config >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo product=webmin >> $config_dir/config
|
||||
fi
|
||||
|
||||
# If password delays are not specifically disabled, enable them
|
||||
grep passdelay= $config_dir/miniserv.conf >/dev/null
|
||||
if [ "$?" != "0" ]; then
|
||||
echo passdelay=1 >> $config_dir/miniserv.conf
|
||||
fi
|
||||
|
||||
|
||||
echo "Changing ownership and permissions.."
|
||||
# Make all config dirs non-world-readable
|
||||
for m in $newmods; do
|
||||
chown -R root:root $config_dir/$m
|
||||
chmod -R og-rw $config_dir/$m
|
||||
done
|
||||
|
||||
# Make miniserv config files non-world-readable
|
||||
for f in miniserv.conf miniserv.users; do
|
||||
chown -R root:root $config_dir/$f
|
||||
chmod -R og-rw $config_dir/$f
|
||||
done
|
||||
chmod +r $config_dir/version
|
||||
|
||||
# Fix up bad permissions from some older installs
|
||||
for m in ldap-client ldap-server ldap-useradmin mailboxes mysql postgresql servers virtual-server; do
|
||||
if [ -d "$config_dir/$m" ]; then
|
||||
chown root:root $config_dir/$m
|
||||
chmod og-rw $config_dir/$m
|
||||
chmod og-rw $config_dir/$m/config 2>/dev/null
|
||||
fi
|
||||
done
|
||||
echo "..done"
|
||||
echo ""
|
||||
|
||||
|
||||
# This executes all postinstall.pl for every module
|
||||
# If you do bump, you should look at the specific changes they do with this command in root folder:
|
||||
# find . -name postinstall.pl -exec cat {} \; -print
|
||||
# Generally they are safe to run 'cause they change only user's config in /etc/webmin
|
||||
# or setup some cron jobs
|
||||
if [ "$nopostinstall" = "" ]; then
|
||||
echo "Running postinstall scripts.. (Please ignore any possible errors)"
|
||||
(cd "$wadir" ; WEBMIN_CONFIG=$config_dir WEBMIN_VAR=$var_dir "$wadir/run-postinstalls.pl")
|
||||
echo "..done"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
# Enable background collection
|
||||
if [ "$upgrading" != 1 -a -r $config_dir/system-status/enable-collection.pl ]; then
|
||||
echo "Enabling background status collection.. (Please ignore any possible errors)"
|
||||
$config_dir/system-status/enable-collection.pl 5
|
||||
echo "..done"
|
||||
echo ""
|
||||
fi
|
@ -1,85 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
|
||||
# We do not give a choice to user for configuring these 'cause it will mess up
|
||||
# Webmin's configuration
|
||||
WEBMIN_EXE="%exe%"
|
||||
WEBMIN_PID="%pid%"
|
||||
WEBMIN_CONF="%conf%"
|
||||
WEBMIN_CONFIG="%config%"
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
use net logger
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
# Check if Webmin setup has been done
|
||||
if [ ! -f ${WEBMIN_CONFIG} ]; then
|
||||
eerror "Error in Webmin's configuration. The ${WEBMIN_CONFIG} is not present."
|
||||
eerror "Please run 'emerge --config app-admin/webmin' to fix this."
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Check if ssl cert is present
|
||||
local key ssl
|
||||
key=`grep "^keyfile=" ${WEBMIN_CONF} | sed -e 's/keyfile=//g'`
|
||||
ssl=`grep "^ssl=" ${WEBMIN_CONF} | sed -e 's/ssl=//g'`
|
||||
|
||||
if [ ! -f "${key}" ] ; then
|
||||
if [ "${ssl}" = "0" ]; then
|
||||
ewarn "Your SSL certificate is not present."
|
||||
ewarn "Please either fix the path in the 'keyfile=' option of your ${WEBMIN_CONF}"
|
||||
ewarn "OR run 'emerge --config app-admin/webmin'"
|
||||
else
|
||||
eerror "Error in Webmin's configuration. No SSL certificate is present."
|
||||
eerror "Please either fix the path in the 'keyfile=' option of your ${WEBMIN_CONF}"
|
||||
eerror "OR change the 'ssl=' option of your ${WEBMIN_CONF} to 'ssl=0'"
|
||||
eerror "OR run 'emerge --config app-admin/webmin'"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
reload() {
|
||||
if [ ! -f "${WEBMIN_PID}" ]; then
|
||||
eerror "Webmin is not running"
|
||||
return 1
|
||||
fi
|
||||
|
||||
checkconfig || return 1
|
||||
|
||||
ebegin "Reloading Webmin's configuration files"
|
||||
start-stop-daemon --signal USR1 --pidfile "$WEBMIN_PID"
|
||||
eend $?
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
ebegin "Starting Webmin"
|
||||
|
||||
start-stop-daemon --start --background --interpreted \
|
||||
--env LANG= \
|
||||
--env PERLLIB="%perllib%" \
|
||||
--exec "$WEBMIN_EXE" \
|
||||
--pidfile "$WEBMIN_PID" \
|
||||
-- "$WEBMIN_CONF"
|
||||
eend $?
|
||||
# Leave time to spawn, so no stop is received while spawning
|
||||
sleep 3
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Webmin"
|
||||
start-stop-daemon --stop --interpreted --quiet \
|
||||
--exec "$WEBMIN_EXE" \
|
||||
--pidfile "$WEBMIN_PID"
|
||||
eend $?
|
||||
# Leave time to stop because of the scripts that use this
|
||||
sleep 3
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
[Unit]
|
||||
Description=Webmin Administration Tool
|
||||
After=network.target remote-fs.target nss-lookup.target
|
||||
ConditionFileNotEmpty=%config%
|
||||
ConditionFileNotEmpty=%conf%
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=yes
|
||||
KillMode=mixed
|
||||
# Webmin is exiting with 1 on SIGTERM
|
||||
SuccessExitStatus=1
|
||||
ExecStart=%exe% %conf%
|
||||
PIDFile=%pid%
|
||||
Environment="PERLLIB=%perllib%" LANG=
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,314 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit pam ssl-cert systemd
|
||||
|
||||
DESCRIPTION="A web-based Unix systems administration interface"
|
||||
HOMEPAGE="http://www.webmin.com/"
|
||||
SRC_URI="minimal? ( mirror://sourceforge/webadmin/${P}-minimal.tar.gz )
|
||||
!minimal? ( mirror://sourceforge/webadmin/${P}.tar.gz )"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# NOTE: The ssl flag auto added by ssl-cert eclass is not used actually
|
||||
# because openssl is forced by dev-perl/Net-SSLeay
|
||||
IUSE="minimal +ssl mysql postgres ldap"
|
||||
REQUIRED_USE="minimal? ( !mysql !postgres !ldap )"
|
||||
|
||||
# All the required perl modules can be found easily using (in Webmin's root src dir):
|
||||
# find . -name cpan_modules.pl -exec grep "::" {} \;
|
||||
# NOTE: If Webmin doesn't find the required perl modules, it offers(runtime) the user
|
||||
# to install them using the in-built cpan module, and this will mess up perl on the system
|
||||
# That's why some modules are forced without a use flag
|
||||
# NOTE: pam, ssl and dnssec-tools deps are forced for security and Gentoo compliance installation reasons
|
||||
DEPEND="virtual/perl-MIME-Base64
|
||||
virtual/perl-Socket
|
||||
virtual/perl-Sys-Syslog
|
||||
virtual/perl-Time-HiRes
|
||||
virtual/perl-Time-Local
|
||||
dev-perl/Authen-Libwrap
|
||||
dev-perl/IO-Tty
|
||||
dev-perl/MD5
|
||||
dev-perl/Net-SSLeay
|
||||
dev-perl/Authen-PAM
|
||||
dev-perl/Sys-Hostname-Long
|
||||
>=net-dns/dnssec-tools-1.13
|
||||
!minimal? (
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
ldap? ( dev-perl/perl-ldap )
|
||||
dev-perl/XML-Generator
|
||||
dev-perl/XML-Parser
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local perl="$( which perl )"
|
||||
|
||||
# Remove the unnecessary and incompatible files
|
||||
rm -rf acl/Authen-SolarisRBAC-0.1*
|
||||
if ! use minimal ; then
|
||||
rm -rf {format,{bsd,hpux,sgi}exports,zones,rbac}
|
||||
rm -f mount/{free,net,open}bsd-mounts*
|
||||
rm -f mount/macos-mounts*
|
||||
fi
|
||||
|
||||
# For security reasons remove the SSL certificate that comes with Webmin
|
||||
# We will create our own later
|
||||
rm -f miniserv.pem
|
||||
|
||||
# Remove the Webmin setup scripts to avoid Webmin in runtime to mess up config
|
||||
# We will use our own later
|
||||
rm -f setup.{sh,pl}
|
||||
|
||||
# Set the installation type/mode to Gentoo
|
||||
echo "gentoo" > install-type
|
||||
|
||||
# Fix the permissions of the install files
|
||||
chmod -R og-w "${S}"
|
||||
|
||||
# Since we should not modify any files after install
|
||||
# we set the perl path in all cgi and pl files here using Webmin's routines
|
||||
# The pl file is Prefix safe and works only on provided input, no other filesystem files
|
||||
ebegin "Fixing perl path in source files"
|
||||
(find "${S}" -name '*.cgi' -print ; find "${S}" -name '*.pl' -print) | $perl "${S}"/perlpath.pl $perl -
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Create config dir and keep
|
||||
diropts -m0755
|
||||
dodir /etc/webmin
|
||||
keepdir /etc/webmin
|
||||
|
||||
# Create install dir
|
||||
# Third party modules installed through Webmin go here too, so keep
|
||||
dodir /usr/libexec/webmin
|
||||
keepdir /usr/libexec/webmin
|
||||
|
||||
# Copy our own setup script to installation folder
|
||||
insinto /usr/libexec/webmin
|
||||
newins "${FILESDIR}"/gentoo-setup gentoo-setup.sh
|
||||
fperms 0744 /usr/libexec/webmin/gentoo-setup.sh
|
||||
|
||||
# This is here if we ever want in future ebuilds to add some specific
|
||||
# config values in the /etc/webmin/miniserv.conf
|
||||
# The format of this file should be the same as the one of miniserv.conf:
|
||||
# var=value
|
||||
#
|
||||
# Uncomment it if you use such file. Before that check if upstream
|
||||
# has this file in root dir too.
|
||||
#newins "${FILESDIR}/miniserv-conf" miniserv-conf
|
||||
|
||||
# Create the log dir and keep
|
||||
diropts -m0700
|
||||
dodir /var/log/webmin
|
||||
keepdir /var/log/webmin
|
||||
|
||||
# Create the init.d file and put the neccessary variables there
|
||||
newinitd "${FILESDIR}"/init.d.webmin webmin
|
||||
sed -i \
|
||||
-e "s:%exe%:${EROOT}usr/libexec/webmin/miniserv.pl:" \
|
||||
-e "s:%pid%:${EROOT}var/run/webmin.pid:" \
|
||||
-e "s:%conf%:${EROOT}etc/webmin/miniserv.conf:" \
|
||||
-e "s:%config%:${EROOT}etc/webmin/config:" \
|
||||
-e "s:%perllib%:${EROOT}usr/libexec/webmin:" \
|
||||
"${ED}etc/init.d/webmin" \
|
||||
|| die "Failed to patch the webmin init file"
|
||||
|
||||
# Create the systemd service file and put the neccessary variables there
|
||||
systemd_newunit "${FILESDIR}"/webmin.service webmin.service
|
||||
sed -i \
|
||||
-e "s:%exe%:${EROOT}usr/libexec/webmin/miniserv.pl:" \
|
||||
-e "s:%pid%:${EROOT}var/run/webmin.pid:" \
|
||||
-e "s:%conf%:${EROOT}etc/webmin/miniserv.conf:" \
|
||||
-e "s:%config%:${EROOT}etc/webmin/config:" \
|
||||
-e "s:%perllib%:${EROOT}usr/libexec/webmin:" \
|
||||
"${ED}$(_systemd_get_systemunitdir)/webmin.service" \
|
||||
|| die "Failed to patch the webmin systemd service file"
|
||||
|
||||
# Setup pam
|
||||
pamd_mimic system-auth webmin auth account session
|
||||
|
||||
# Copy files to installation folder
|
||||
ebegin "Copying install files to destination"
|
||||
cp -pPR "${S}"/* "${ED}usr/libexec/webmin"
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# First stop service if running so Webmin to not messup our config
|
||||
ebegin "Stopping any running Webmin instance prior merging"
|
||||
if systemd_is_booted ; then
|
||||
systemctl stop webmin.service 2>/dev/null
|
||||
else
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
fi
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Run webmin_config first - non interactively
|
||||
export INTERACTIVE="no"
|
||||
webmin_config
|
||||
# Every next time webmin_config should be interactive
|
||||
INTERACTIVE="yes"
|
||||
|
||||
ewarn
|
||||
ewarn "Bare in mind that not all Webmin modules are Gentoo tweaked and may have some issues."
|
||||
ewarn "Always be careful when using modules that modify init entries, do update of webmin, install CPAN modules etc."
|
||||
ewarn "To avoid problems, please before using any module, look at its configuration options first."
|
||||
ewarn "(Usually there is a link at top in the right pane of Webmin for configuring the module.)"
|
||||
ewarn
|
||||
if systemd_is_booted ; then
|
||||
elog "- To make Webmin start at boot time, run: 'systemctl enable webmin.service'"
|
||||
else
|
||||
elog "- To make Webmin start at boot time, run: 'rc-update add webmin default'"
|
||||
fi
|
||||
elog "- The default URL to connect to Webmin is: https://localhost:10000"
|
||||
elog "- The default user that can login is: root"
|
||||
elog "- To reconfigure Webmin in case of problems run 'emerge --config app-admin/webmin'"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# First stop service if running - we do not want Webmin to mess up config
|
||||
ebegin "Stopping any running Webmin instance prior unmerging"
|
||||
if systemd_is_booted ; then
|
||||
systemctl stop webmin.service 2>/dev/null
|
||||
else
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
fi
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# If removing webmin completely, remind the user for the Webmin's own cron jobs.
|
||||
if [[ ! ${REPLACED_BY_VERSION} ]]; then
|
||||
ewarn
|
||||
ewarn "You have uninstalled Webmin, so have in mind that all cron jobs scheduled"
|
||||
ewarn "by Webmin for its own modules, are left active and they will fail when Webmin is missing."
|
||||
ewarn "To fix this just disable them if you intend to use Webmin again,"
|
||||
ewarn "OR delete them if not."
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config(){
|
||||
webmin_config
|
||||
}
|
||||
|
||||
webmin_config(){
|
||||
# First stop service if running
|
||||
ebegin "Stopping any running Webmin instance"
|
||||
if systemd_is_booted ; then
|
||||
systemctl stop webmin.service 2>/dev/null
|
||||
else
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
fi
|
||||
eend $?
|
||||
|
||||
# Next set the default reset variable to 'none'
|
||||
# reset/_reset can be:
|
||||
# 'none' - does not reset anything, just upgrades if a conf is present
|
||||
# OR installs new conf if a conf is missing
|
||||
# 'soft' - deletes only $config_dir/config file and thus resetting most
|
||||
# conf values to their defaults. Keeps the specific Webmin cron jobs
|
||||
# 'hard' - deletes all files in $config_dir (keeping the .keep_* Gentoo file)
|
||||
# and thus resetting all Webmin. Deletes the specific Webmin cron jobs too.
|
||||
local _reset="none"
|
||||
|
||||
# If in interactive mode ask user what should we do
|
||||
if [[ "${INTERACTIVE}" = "yes" ]]; then
|
||||
einfo
|
||||
einfo "Please enter the number of the action you would like to perform?"
|
||||
einfo
|
||||
einfo "1. Update configuration"
|
||||
einfo " (keeps old config options and adds the new ones)"
|
||||
einfo "2. Soft reset configuration"
|
||||
einfo " (keeps some old config options, the other options are set to default)"
|
||||
ewarn " All Webmin users will be reset"
|
||||
einfo "3. Hard reset configuration"
|
||||
einfo " (all options including module options are set to default)"
|
||||
ewarn " You will lose all Webmin configuration options you have done till now"
|
||||
einfo "4. Exit this configuration utility (default)"
|
||||
while [ "$correct" != "true" ] ; do
|
||||
read answer
|
||||
if [[ "$answer" = "1" ]] ; then
|
||||
_reset="none"
|
||||
correct="true"
|
||||
elif [[ "$answer" = "2" ]] ; then
|
||||
_reset="soft"
|
||||
correct="true"
|
||||
elif [[ "$answer" = "3" ]] ; then
|
||||
_reset="hard"
|
||||
correct="true"
|
||||
elif [ "$answer" = "4" -o "$answer" = "" ] ; then
|
||||
die "User aborted configuration."
|
||||
else
|
||||
echo "Answer not recognized. Enter a number from 1 to 4"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ "$_reset" = "hard" ]]; then
|
||||
while [ "$sure" != "true" ] ; do
|
||||
ewarn "You will lose all Webmin configuration options you have done till now."
|
||||
ewarn "Are you sure you want to do this? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
sure="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "User aborted configuration."
|
||||
else
|
||||
echo "Answer not recognized. Enter 'y' or 'n'"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
export reset=$_reset
|
||||
|
||||
# Create ssl certificate for Webmin if there is not one in the proper place
|
||||
if [[ ! -e "${EROOT}etc/ssl/webmin/server.pem" ]]; then
|
||||
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Webmin Server}"
|
||||
SSL_COMMONNAME="${SSL_COMMONNAME:-*}"
|
||||
install_cert "${EROOT}/etc/ssl/webmin/server"
|
||||
fi
|
||||
|
||||
# Ensure all paths passed to the setup script use EROOT
|
||||
export wadir="${EROOT}usr/libexec/webmin"
|
||||
export config_dir="${EROOT}etc/webmin"
|
||||
export var_dir="${EROOT}var/log/webmin"
|
||||
export tempdir="${T}"
|
||||
export pidfile="${EROOT}var/run/webmin.pid"
|
||||
export perl="$( which perl )"
|
||||
export os_type='gentoo-linux'
|
||||
export os_version='*'
|
||||
export real_os_type='Gentoo Linux'
|
||||
export real_os_version='Any version'
|
||||
# Forcing 'ssl', 'no_ssl2', 'no_ssl3', 'ssl_redirect', 'no_sslcompression',
|
||||
# 'ssl_honorcipherorder', 'no_tls1' and 'no_tls1_1' for tightening security
|
||||
export ssl=1
|
||||
export no_ssl2=1
|
||||
export no_ssl3=1
|
||||
export ssl_redirect=1
|
||||
export ssl_honorcipherorder=1
|
||||
export no_sslcompression=1
|
||||
export no_tls1=1
|
||||
export no_tls1_1=1
|
||||
export keyfile="${EROOT}etc/ssl/webmin/server.pem"
|
||||
export port=10000
|
||||
|
||||
export atboot=0
|
||||
|
||||
einfo "Executing Webmin's configure script"
|
||||
$wadir/gentoo-setup.sh
|
||||
|
||||
einfo "Configuration of Webmin done"
|
||||
}
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST innoextract-1.7.tar.gz 195123 BLAKE2B 5dffb49da7ec3f8e48a70d0809e059179e84610dd50397b8ca472b9f5a96a5edd0cf36898f0e513b3f70685829e2b8edbd7d7932c9f1b47706c2929f596867e5 SHA512 5e92625a411a4351dd4639d4b63e8664519c6697122a0679c010412e94a1e5da95324c33be16211f91c2b25b8cea40fe4ba4da5e19c12d0c27a4916159465ca4
|
||||
DIST innoextract-1.8.tar.gz 205553 BLAKE2B 223f0997ae00f2a854912befca25595b275ece8e0fe4f4451d6aa3db14ad1ed98474a19c919c56d958e99c0175be647d3eb3c14d7869504405a7bf6db3a35957 SHA512 2c68009333f02a8a677c084e9c95c835d84a73e60c9b0c70fee5f23fd9a7a640cf2aa7e0476c55579774ac7079498fa24668f9388493bbc13415ff5a5b06ac9c
|
||||
EBUILD innoextract-1.7.ebuild 731 BLAKE2B 2372ce7018c12a5317232d6ac6294297e017034059afbe49b934c017367cef9ff343b7d74f754b5409e212a907ea933d6e381c60a808534a7a667ae3f9cd1c72 SHA512 4f9f49dc8b2c5679bca97058401b5b071d879e192de1b6b2eeb5e43d0a2d41702fb100e7c45a22d3eca8020785e41c992e62e346432332ba684cf03e5dd3eded
|
||||
EBUILD innoextract-1.8.ebuild 702 BLAKE2B af0d818d637d9c0cfa8c0a10c12dba41554ccfe5f664c320a96f2c9b5a884d351c41426e94921daca60fae1d7589ea4f5fdb3a03fae7262bf5911f414667046d SHA512 17b30ed619798b64e073e89523c864791eaa2c6002239ab2e6ee93945907dda882c18a04f34beb389d5e88804e79b0fdf81f605c38b0c18e3c41c6bd49374d59
|
||||
MISC metadata.xml 928 BLAKE2B 032de64587c2ab814a132d09f624a86f6b87a5fb1c49a1385969fcce89a7f75975480c8b3b70889621a97bb26e1d37240d51ef5a9da868983ee2467fc5c18f92 SHA512 0fb9ebc491eec20dbeee81d92ae7616464717c88684170ea064726b42120d65ac74edfac474e2605c191d91901e952859199c17bc84af3657812671cb3fb9260
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="A tool to unpack installers created by Inno Setup"
|
||||
HOMEPAGE="https://constexpr.org/innoextract/"
|
||||
SRC_URI="https://constexpr.org/innoextract/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +iconv +lzma"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=
|
||||
iconv? ( virtual/libiconv )
|
||||
lzma? ( app-arch/xz-utils )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDEBUG=$(usex debug)
|
||||
-DSET_OPTIMIZATION_FLAGS=OFF
|
||||
-DSTRICT_USE=ON
|
||||
-DUSE_LZMA=$(usex lzma)
|
||||
-DWITH_CONV=$(usex iconv iconv builtin)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
Binary file not shown.
@ -1,13 +1,11 @@
|
||||
DIST Geekbench-2.4.2-LinuxARM.tar.gz 1921401 BLAKE2B 34d86178e35d586b79182b3320303258a5dcc6f169cee0134f1114927ff52745d5f6c0b5d604698e45a464a157454a249cab8e3114b01dad3f7b693ca45a5b0b SHA512 0acc0ce61aa5d2575976c66aeae6ebb88ba895dd89c07daf55e2c7af344858a620336f3e79ccfc5e7b8829caa9d600f97a35a4d6e4da630d19d723dd887fdafe
|
||||
DIST Geekbench-2.4.3-Linux.tar.gz 3337551 BLAKE2B cb660f3c08cc812cb23374032490a148449a36845fe63320788432493581ec6bd5958bf178d83d68b532ffbe5c7ee13e92b0bb00c0aca968bb2e499453f1b7a7 SHA512 d84e13eb5fd28fb232a5f93aa76f4855adcb9ccffbcd90dacc3e2b45231afd82e78d40c63f729391e5d00e95c14653e83757faca4e543c6306dd913c4e0edb87
|
||||
DIST Geekbench-3.4.2-Linux.tar.gz 9986039 BLAKE2B 63d7e768d65bc033260a0d99da17df2e518750f19882e63dbc9bbe6ff0b52a8cddb35b9143e85c01838bf5d77a04599578fc0a57a3e6fd89e7aec8c8ffdd4f5b SHA512 a61a5d5481682baefdce64f6054c3373900e8cd585dcbfa2feabbf386032986b40b603619c552102401a83e0b748831d00af5b5b5278e88ef42dee176adf06e9
|
||||
DIST Geekbench-4.3.3-Linux.tar.gz 71101735 BLAKE2B f7e784a624f558711e7ebc5fc502de0cae5be489154f3d7d20bfccb624269644ff90867c96ce9f8136609f4911b6764bcfb7ecfb037ebddac56e450b3baa2415 SHA512 8c4bdc51f215f6c84ef955d012d3ba81fab542716cb7dd9e2b05d15c68e678955817fd25032ec659028a769312b5bc04d2d3b9832c9f2fa46d55784446e31b49
|
||||
DIST Geekbench-4.4.1-Linux.tar.gz 71076124 BLAKE2B 14c2b80c971798e7d2bb256e76c7ab9c48e8c1c389e2f7547a436f706ac4f21c1e52e564cd584893071ee2f9f0a4747cd03ea72cc728ff8e4f369d5cc794d77a SHA512 fa687d33a7d7a2d09c544e3d17de93f41cfa77915c708cd1ef0743f84f7f83df9d3f8df2872a8f85ed2c4c872e3cd41932685ffeb19cdb0ea047ab5116713420
|
||||
DIST Geekbench-5.0.1-Linux.tar.gz 92098694 BLAKE2B 007439570830816d573897eb3fb666656e0521e885fd241ad8606b6a6ca533a5ed490ac86465993ba4532d9278d09d03c78ca01bcf6cd932eb00eac00eb3a242 SHA512 82bd126c533764bdf6d25588d59b929be59deb4d0548ca0d414910fcea6a473918f4e62e9fed5fe644683b57819c868285ecaf92a6d123954ad92a93f989ed69
|
||||
EBUILD geekbench-2.4.2.ebuild 1060 BLAKE2B 4700a2c4c82d5e829bf7b254c1a94a5bf47e1c534e1fad2b37458ddca39ef1f1372ec8d3727c69ecc0c462ec2514abea33a48aedf35c7eee5444dbea8e9ddf96 SHA512 663d11705c70d7a082678b7ee74802651734fe367458a7e10974f33b7c22930d78eddee7a1c56993e11a856da0efeef0412e02696485d7def3e4a6e0464b39f5
|
||||
EBUILD geekbench-2.4.3.ebuild 1122 BLAKE2B 70fba3ad954717c01cefd5b2df1ce40294001ad82f25dc82a3b5ba05650fc98bddc5e2c060f6cddd44a9e1028cf2fa8b908a3343491d6fe3b966ddfcad4d6f2f SHA512 3c6b303ea5459f9777bec75ea555a2794d7bbdc4d0da8a5881181e3dc5c8b6796191fb86c9536576c3ad43a7d4613ba22792e9a333cdde4de862a786f53b5e21
|
||||
EBUILD geekbench-3.4.2.ebuild 1122 BLAKE2B 8f4d72914a7333869104cac7f97a61c759699405c6f9bde61c95ca38a3804c4538ed8c679665537a380ed2892c685a9e365faa7ef54f1e8e0cae13a659d0cf0e SHA512 caf0856adbd7a3420f89ef5dcbc66629241c891f1129dce540832da224c34ac1d66a9b594503650566ff802683bd6c5f170ae31d95c2ecc147bf8dc64ae79c6e
|
||||
EBUILD geekbench-4.3.3.ebuild 1113 BLAKE2B fd8422df54e2b7d46308f565a49986a4fb828b27ce9716d0e7b8e57b4dd6d4288f55d596d325518d084d10f1af02d1097bf4e387b8d268ce48d5425d46e8f4d5 SHA512 dc86f331e2ce84e80b80abcf8928a863fbc3723cb8e7fff8238a1f6bec61aa99796d16f6c1eb0278aa8185399a0f09be9b1971b2df73df9e6638c2b9a93a1798
|
||||
EBUILD geekbench-4.4.1.ebuild 1096 BLAKE2B d6981883b2eb295d032b1672105833852a629aa073c63b685667f84f1ab0af8b92f1405831e1243b2fd4ebca06ba376a72e0608f54d7d6f6bf53373557d468be SHA512 8007ed61895716934085cc267fa6409975cbc4a5aff6f462844c9f88ef8a094decc594b034e9a25c53b8c34250a872a43f9fba761b2da8430aee69f51d5702d3
|
||||
EBUILD geekbench-4.4.1.ebuild 1095 BLAKE2B c37758e7781c540101c9db348e3c7ad2b7bbeeb41194e64a531906e599b6419dd9ea71f0063b74426d109ae70164a920ea0bc9cfc026cc1253616dfbe4386d80 SHA512 7ec8a971087c0eadfb217a808cb968966885ed9a8d8f69a138d2cd93c3ca2e2c50695366002b23cfb885f9a84b11fd278dc56aaf4f7692d6553c71063a87cf70
|
||||
EBUILD geekbench-5.0.1.ebuild 1042 BLAKE2B 30557738c7e8672de210600fb1e22154a9e9ce1d58482a75d30c1bb110faf94aeb6c708eb3b43c25fd287b52ffeedf6cbcd83fab58b13e13cb40c18ff0b47743 SHA512 5e2c92ae7ebb3d7c6aa0eb5e22524be41b2de1f655559522755e6754176b48b02e6ccc9df962ec412d02daa48b5bcd60f5cd04a8fde7956b326b8879c504a05d
|
||||
MISC metadata.xml 369 BLAKE2B 99bc89ce5469bce6e867ce73fa66fee3fa41bf2166453c3606b03b1f3879f837c46d41068430e217a7ab4b0d0096650762095ffe5f13382ab055e5815f90ebb1 SHA512 5d49b66d13a6055421fc9e9a180d6d5657e367cfdc6e74a13c16955cc1bfda765605f0ab7c0d7d5f67ce847e09306fef52a2fb621eccdf358e5d21e82129a2b3
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A Cross-Platform Benchmark for Android, iOS, Linux, MacOS and Windows"
|
||||
HOMEPAGE="https://www.geekbench.com"
|
||||
SRC_URI="https://cdn.geekbench.com/Geekbench-${PV}-Linux.tar.gz"
|
||||
|
||||
KEYWORDS="-* amd64 x86"
|
||||
LICENSE="geekbench"
|
||||
SLOT="4"
|
||||
|
||||
RESTRICT="bindist fetch mirror strip"
|
||||
|
||||
S="${WORKDIR}/Geekbench-${PV}-Linux"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/geekbench4/geekbench4
|
||||
opt/geekbench4/geekbench_x86_32
|
||||
opt/geekbench4/geekbench_x86_64
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
elog "Please download ${A} from ${HOMEPAGE}/download/linux"
|
||||
elog "and place it in your DISTDIR directory."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto "/opt/geekbench4"
|
||||
doexe "geekbench4" "geekbench_x86_32" "geekbench_x86_64"
|
||||
|
||||
insinto "/opt/geekbench4"
|
||||
doins "geekbench.plar"
|
||||
|
||||
dodir "/opt/bin"
|
||||
dosym "../geekbench4/geekbench4" "/opt/bin/geekbench4"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you have purchased a commercial license, you can enter"
|
||||
elog "your email address and your license key with the following command:"
|
||||
elog "geekbench4 -r <email address> <license key>"
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
AUX stress-ng-0.09.53-makefile.patch 1736 BLAKE2B f96cf408d2158f435e25c66270062903e1efb435bf48fa2f8198b99d625f1a70f29e71c5deba1a05549ab6e91d6a1e579e7176d4f172f073d5fe5e71b8ad17ba SHA512 72a607a2a569ac7b390067e63c7c5da6d6f15661e6cdc1a723c3f5eee03f156155ed5977045d1b1bbd9ab7d8eef5f5588018cd10107ccacd3a1fddf3e71a9609
|
||||
DIST stress-ng-0.10.04.tar.xz 401148 BLAKE2B c5c1db3e5fc7316b5620311934f0119d00193f8d73d6705ff6597affebd78e81f3132a9748adc8beb7437261162c835346566a32501205416d223b9d03629423 SHA512 44097bd5a26b7c84ea69b47fc23be3a43369ad8325af375cfc51e45e51d8caabb84ea1af25aff00f042cc564980d7b3fc4b997cfb6246ab562a2f6e11d94ee5e
|
||||
EBUILD stress-ng-0.10.04.ebuild 750 BLAKE2B f571bc0163c0092642db01d452f85bfeedf74ff3169de5612add03c10d7fa34d1bbce40f0e039834cb6408c1794b44170f80325841a2e850bae84887916dbe00 SHA512 ac0de7f051c4119906e907875cbfa0b3a6426f5caf56c678866aba06fdc976edfb936d812b526990ac0d703280a3883d8f92ce3eef1a67da22bdc348e340a5df
|
||||
DIST stress-ng-0.10.05.tar.xz 401176 BLAKE2B f9562656b361e9a931f4ed65e57865310ac6b1630e48c1fd3680f5d5aeb644ac59f1b4f57760faebe6604cfa1f3619530aeef883f34bd573594767095e6d1201 SHA512 b6ea5d9b20431297988861c4416250960c340050a2e1958f93459b3bbfd4c801c61463efdf5a190d33b76627db05fe8288ebbb3aa12f48734dc93d36266bf363
|
||||
EBUILD stress-ng-0.10.05.ebuild 751 BLAKE2B f11680987fba121d4f4f383a123c820a605bfc7411a2ece9bd774360c33081597c1f98266dd2f6a4089d9f79c9220b1627c8691e5d28ff0b169c2bdec9dadfec SHA512 1787156da10b0d11a36f7915304c373000ac98cf90d5a04115cc679bae587048dd3e404855f7a988a4ae107e0ab6f1109f9fcf4a8d0a4cb8f8d0230ffe7327af
|
||||
MISC metadata.xml 953 BLAKE2B c10dbe55ea86af30a97975174565c3c9bbc76bf029f1582a5fbe8a98f79afb80a509543730294673d5b51ddf4a32fc93e8017f8ba0b26cac119c1e97e8fd025a SHA512 7975ca315e447e9d6c2d551fcf396b2a03d71661c4bd33843dba0413ea7b119dd1d3f59aaa91298bb5be2a17f377f7cae96cc7413531f30a88e2f401ef76f0bb
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST seahorse-sharing-3.8.0_p20151117.tar.gz 496497 BLAKE2B 5107eb37c57d8311390399fda59d8df76f59afc6b21f107dfb1cb38dd6c68ea25bda619b1898637ff009c0e9f7617b0557b86f0194ee2c8704d804aa9f8827f9 SHA512 aa43240040f637e3c79c08f07620a92e5e76e81b758c939a8eee5bf43cdd32657f85d4b9d7440401e092ef4d556849ba0a64dc9d5a83e708bc84d9a2d7baf01c
|
||||
EBUILD seahorse-sharing-3.8.0_p20151117.ebuild 1571 BLAKE2B 0a77cd40c5e75dc56e174b808962761425e51ad503434a1d6065fc3359bf0ec388e844e0467b89eebb80a9307b0bc0e716dcc8df464ba8c11e8fb93f79753d0b SHA512 879cf863ebd9caf5a4df342d58e50e5ad03760330e3d24a7c756d07ec2c6f5cf4918d846879d1b7100b202fcba8aa76388314ad33b7e26b82777464786479f5a
|
||||
EBUILD seahorse-sharing-3.8.0_p20151117.ebuild 1574 BLAKE2B 6ac878db3280b82d833c40fc4f3f8009ec1b607b3dac020e0ae0e560c8762d76cd560f2e04a7ae914eaee3035283fc8abbe38e5a8c4e6cc34d590055d63a368b SHA512 809c041826a217365d5872f710bf51d0f8f99e3704e10916b5a70d56f50a0c282adbae120d51d9baaac0103363de54d95c3cbfb17617c3716185c44825a4d31c
|
||||
MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST seahorse-3.30.1.1.tar.xz 1428904 BLAKE2B 54760362fc452b2ff3f7a0d72b25540568703cb91cd46321fb8cd60c9b51f84c3f48575ae9f6c72080cbe0b29e8a38f5e6afdb6c3120b2783a8a04688bd219c9 SHA512 971b8bea484f456d2942f1d1b407ca5b11c1d431f2ee524e58348a421a235dd9d2fa463e73487c6137bde116b34a5d1c0291b479d8562d4ce03766081e0dc469
|
||||
EBUILD seahorse-3.30.1.1.ebuild 1550 BLAKE2B 9a1ef0deb85546412d0558581b52b6279e56ea2535169467698edc3b8334a26e31eb5afe98667a8d3afd484b3259b2b08425ded9aebaa34f76a059ccaeb3bb9f SHA512 90b3ced3c3be7d03baa6060ae8d04204ff9462e8a22bba0fc11781425b915b97a736efb304767b9dad6c30dab34261225e98187298b323b87bcaabaacd23bbf4
|
||||
DIST seahorse-3.32.2.tar.xz 1278668 BLAKE2B cd3fe6794ca02b1b0fd4b833a7128b8180137441a788f1f3ec5bb4186517ebb9e7422fabab2d19f60420b36e6b1ecab8b8326c99122aad185b8e45927232708f SHA512 e372f79907fbc5d60a41ea0db3a91575b0b304c1727c6091f94eec28445cd836faa32754582c59fd1eb8ce784986e63b4c8cabbd46d5e4cacec1150d9ca08481
|
||||
EBUILD seahorse-3.30.1.1.ebuild 1556 BLAKE2B b68b91d7025e98b46110a853b2c8613b659d22136b5989e3b95a993101b30a0101db5dd7c4446d8240f09d055d1c2abe7f7308ca91798782a81af6f755d26c08 SHA512 0f4b204779ad6ca17466eaf26856299cad7718354437df72145cd5c7a3ac07da713ec87be17d878df0937def9078dbbc2e4c9820e8d7ba478cdf80df35ef0b2f
|
||||
EBUILD seahorse-3.32.2.ebuild 1469 BLAKE2B 5b183d9b19a8e91bbcf9f69fa271e1c1d043970aa0598f2bce32a025c8de9bfb3f9ec44138b21b27158854fc0d856caa379e5624550c84e241de727b325c1f30 SHA512 5d824390a2d4a75e0fdad8e03d8712bae1e22724e35893c10588663bcb95685618573d0de179dff9e9b54cb96d00a800f173b68b08b8c4cbe88802d23fb997f8
|
||||
MISC metadata.xml 742 BLAKE2B 11cc6cebe3f395ccd9f2570a419e812951287d7a9af2bd88720a66c7349305c108c451b67a33f9a6da0c82d7b0731ca74980dd7515db3d167993008633973a6f SHA512 cf7cceeaedb1fdb503def974d945a7a5d38a95105dda77f7e917abcec8ce823b461bf3cd1ab5f1a458de859e48a4d58abde71a5a4599685772936eb3525ae3af
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit gnome.org gnome2-utils meson xdg vala
|
||||
|
||||
DESCRIPTION="Manage your passwords and encryption keys"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Seahorse"
|
||||
|
||||
LICENSE="GPL-2+ FDL-1.1+"
|
||||
SLOT="0"
|
||||
IUSE="ldap zeroconf"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.44:2
|
||||
>=app-crypt/gcr-3.11.91:=
|
||||
>=app-crypt/gpgme-1.7.0
|
||||
>=x11-libs/gtk+-3.22.0:3
|
||||
>=app-crypt/gnupg-2.0.12
|
||||
>=app-crypt/libsecret-0.16
|
||||
dev-libs/libpwquality
|
||||
net-misc/openssh
|
||||
ldap? ( net-nds/openldap:= )
|
||||
>=net-libs/libsoup-2.33.92:2.4
|
||||
zeroconf? ( >=net-dns/avahi-0.6:=[dbus] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)
|
||||
dev-libs/appstream-glib
|
||||
dev-libs/libxml2:2
|
||||
dev-util/gdbus-codegen
|
||||
dev-util/glib-utils
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
app-crypt/gcr[vala]
|
||||
app-crypt/libsecret[vala]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dhelp=true
|
||||
-Dpgp-support=true
|
||||
-Dcheck-compatible-gpg=false # keep lowest version listed as compatible as min dep for gnupg RDEPEND
|
||||
-Dpkcs11-support=true
|
||||
-Dkeyservers-support=true
|
||||
-Dhkp-support=true
|
||||
$(meson_use ldap ldap-support)
|
||||
$(meson_use zeroconf key-sharing)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -1,7 +1,5 @@
|
||||
DIST emacs-26.2.90.tar.xz 44412120 BLAKE2B 72eab92b3144e3807a612a1a4c87da23181ab9b42b12692401f666eae7fbdb3e832d4f5d9dbc6473df8de9af6046ad94bbb0874a57747b594dbae62435fe5357 SHA512 66e53ae2a6d89505111e7bc9b7a6e6324a9a5577d1ad8905244dbc8619b21ea410b20bd8bab0442ec226f7a0d5f2292e01171189517736e4fa5e0e15eba51074
|
||||
DIST emacs-27.0.50_pre20180831.tar.xz 28668124 BLAKE2B fae74d9885889b042142f580e971c73c193306dca26b42dd87ac3d3d765312ce6695511d7d31a047d79803982f6345c4c319a3d83cea1313080170da97482fa2 SHA512 43b32d8943dc897dfc0c1fddb4261a196d3a604add5bcf87a93748125f15db2cac762d3550d6593b80e961ae35d543adc4d5937bac77970c658f93dba26f17e4
|
||||
EBUILD emacs-vcs-26.2.90.ebuild 12934 BLAKE2B d2ac2d402670ca155d84437590b4fab759e8c3250b62dd76c291a1ba629395aa759f18d61bf1f41914c07bcfb9449b0e35c1f8c449aa527df5f2a9f5196300f4 SHA512 d2561c4a74cad55050ed0aa606401ec6f90073ebe5dbc4386bc6325dd177443ae47e24151bae079372bd978802069f8e85c32b98b02518be8f94d01c175760d3
|
||||
EBUILD emacs-vcs-26.2.9999.ebuild 12934 BLAKE2B d2ac2d402670ca155d84437590b4fab759e8c3250b62dd76c291a1ba629395aa759f18d61bf1f41914c07bcfb9449b0e35c1f8c449aa527df5f2a9f5196300f4 SHA512 d2561c4a74cad55050ed0aa606401ec6f90073ebe5dbc4386bc6325dd177443ae47e24151bae079372bd978802069f8e85c32b98b02518be8f94d01c175760d3
|
||||
EBUILD emacs-vcs-26.3.9999.ebuild 13186 BLAKE2B 231721694c4ffaf32f47496911a143e7286a156349bd5c2122a714197968852e6c1f30dcabf330da87902cd74c60f5d9947f36eb91b2fe60f9f93ffcf803599c SHA512 646067450157f56897a55c86a9adb8c503a85d9f55629cc0a46421cb9e034aa133f0cb73ffb16ac9d150b8336296bf24a6d897d3d7a961a35d7c873bc3aa0730
|
||||
EBUILD emacs-vcs-27.0.50_pre20180831.ebuild 13079 BLAKE2B 2d6c435f2898f70c81dc16849a5294c128a29c62ee22f935cbbd3cb6636fa3a5014e9969e92858716b3cd0b8a033063db7432c1956152b52e39a55debdef6111 SHA512 f325fd2c7a35f0a925c13ba98ae0885a8a3e2e83c581b4b4f76493e9bccca1129292694088b822b614103a16c44116f1db8ff5007415454e99bca9adb1ce13ed
|
||||
EBUILD emacs-vcs-27.0.9999.ebuild 13113 BLAKE2B a3ff35971446518b9cff7ec48d423dcece188447d3b1df6410be1e200bfa9eb9a7aa51b604100db36d14d127372a703afd3cd110e861de5e10a96c8d7e194d34 SHA512 1747c3c003cdc85c752568019eb3ec0511124e3a0515646c11d7d226356ab513730337681acf5dcad01d61a6cb2663bcb7f8efbe817a920071445cfc32caf0b8
|
||||
EBUILD emacs-vcs-27.0.9999.ebuild 13396 BLAKE2B 8e3f99de6f04108083ac1cc2a9ee6ae322c525a70f0886dd5c3bdfe4dc827ec840613736326551654417e159d8cd2bf4292859058fd77deeadc35e4ee15b5267 SHA512 181271788d7f3f2b0010ebac11ae38471ca5366e4d543c144ed12fea077fdc9110a3e7aa0a9e5d4ea29b846e4900433a0035e2cba172301cfb584ae38c986ef3
|
||||
MISC metadata.xml 2990 BLAKE2B 226689581e5cdf7452a5b43b9b2a7ec05f4e4080e1b95f8ea0857223e074f6d05abd21c8c996ce77d33ce68f50146d99f63f7e6a64bda02f8c9317b8fa424faf SHA512 e70def35534dbc3b2803d60c5d1913a1f455b47e3f3e93a199f84b832e97eb87b9a1a43f5d2c3398496c1178437e9a2b70d18ed9802332f130b7950fdcdb71fb
|
||||
|
@ -1,409 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools elisp-common flag-o-matic multilib readme.gentoo-r1
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
||||
EGIT_BRANCH="emacs-26"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
||||
S="${EGIT_CHECKOUT_DIR}"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
|
||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} != ${PV} ]] && S="${WORKDIR}/emacs"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="26"
|
||||
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk gtk2 gzip-el imagemagick +inotify jpeg kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0=
|
||||
>=app-eselect/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.5[games?,X?]
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
games? ( acct-group/gamestat )
|
||||
gpm? ( sys-libs/gpm )
|
||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
||||
kerberos? ( virtual/krb5 )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
mailutils? ( net-mail/mailutils[clients] )
|
||||
!mailutils? ( net-libs/liblockfile )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
ssl? ( net-libs/gnutls:0= )
|
||||
systemd? ( sys-apps/systemd )
|
||||
zlib? ( sys-libs/zlib )
|
||||
X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxcb
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib:0= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0=
|
||||
<media-gfx/imagemagick-7:0= )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
x11-libs/libXrender
|
||||
cairo? ( >=x11-libs/cairo-1.12.18 )
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
xwidgets? (
|
||||
net-libs/webkit-gtk:4=
|
||||
x11-libs/libXcomposite
|
||||
)
|
||||
)
|
||||
)
|
||||
!gtk? (
|
||||
motif? (
|
||||
>=x11-libs/motif-2.3:0
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
!motif? (
|
||||
Xaw3d? (
|
||||
x11-libs/libXaw3d
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
!Xaw3d? ( athena? (
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-base/xorg-proto )"
|
||||
|
||||
BDEPEND="virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
# pax_kernel? ( sys-apps/attr )
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
BDEPEND="${BDEPEND}
|
||||
sys-apps/texinfo"
|
||||
fi
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||
configure.ac)
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EGIT_BRANCH}"
|
||||
einfo "Commit: ${EGIT_VERSION}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -pie #526948
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with cairo)"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-cairo"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use cairo && ewarn \
|
||||
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f line
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
while read line; do ewarn "${line}"; done <<-EOF
|
||||
Your version of GTK+ will have problems with closing open
|
||||
displays. This is no problem if you just use one display, but
|
||||
if you use more than one and close one of them Emacs may crash.
|
||||
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>.
|
||||
If you intend to use more than one display, then it is strongly
|
||||
recommended that you compile Emacs with the Athena/Lucid or the
|
||||
Motif toolkit instead.
|
||||
EOF
|
||||
if use gtk2; then
|
||||
myconf+=" --with-x-toolkit=gtk2 --without-xwidgets"
|
||||
use xwidgets && ewarn \
|
||||
"USE flag \"xwidgets\" has no effect if \"gtk2\" is set."
|
||||
else
|
||||
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
|
||||
fi
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
if ! use gtk; then
|
||||
use gtk2 && ewarn \
|
||||
"USE flag \"gtk2\" has no effect if \"gtk\" is not set."
|
||||
use xwidgets && ewarn \
|
||||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--without-compress-install \
|
||||
--without-hesiod \
|
||||
--without-pop \
|
||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with dynamic-loading modules) \
|
||||
$(use_with games gameuser ":gamestat") \
|
||||
$(use_with gpm) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with lcms lcms2) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with mailutils) \
|
||||
$(use_with selinux) \
|
||||
$(use_with ssl gnutls) \
|
||||
$(use_with systemd libsystemd) \
|
||||
$(use_with threads) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Disable sandbox when dumping. For the unbelievers, see bug #131505
|
||||
emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 || die
|
||||
mv "${ED}"/usr/share/metainfo/{emacs-,}${EMACS_SUFFIX}.appdata.xml || die
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} || die
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
||||
rm -rf "${ED}/usr/$(get_libdir)"
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS CONTRIBUTE
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue