diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-30 03:08:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-30 03:08:54 +0100 |
commit | cdb747b791914a30c287a3a8e33d1b635e431707 (patch) | |
tree | be22ab4ebfae7f170acb577486d0edc7e6d14279 /app-admin | |
parent | 496936ff0f7db69d1f7317341230acb866e3c330 (diff) |
gentoo auto-resync : 30:07:2022 - 03:08:54
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/Manifest.gz | bin | 32858 -> 32862 bytes | |||
-rw-r--r-- | app-admin/radmind/Manifest | 2 | ||||
-rw-r--r-- | app-admin/radmind/metadata.xml | 1 | ||||
-rw-r--r-- | app-admin/vault/Manifest | 11 | ||||
-rw-r--r-- | app-admin/vault/vault-1.10.3.ebuild | 85 | ||||
-rw-r--r-- | app-admin/vault/vault-1.10.4.ebuild | 85 | ||||
-rw-r--r-- | app-admin/vault/vault-1.10.5.ebuild | 2 | ||||
-rw-r--r-- | app-admin/vault/vault-1.11.0.ebuild | 86 |
8 files changed, 4 insertions, 268 deletions
diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz Binary files differindex f2ee2af4ae05..a4d89c374a3c 100644 --- a/app-admin/Manifest.gz +++ b/app-admin/Manifest.gz diff --git a/app-admin/radmind/Manifest b/app-admin/radmind/Manifest index 8251dabacca3..907a3b0d7886 100644 --- a/app-admin/radmind/Manifest +++ b/app-admin/radmind/Manifest @@ -6,4 +6,4 @@ DIST radmind-1.15.3.tar.gz 843033 BLAKE2B 3d4446e5ce9e668039277f63a16c014dbbecca DIST radmind-1.15.4.tar.gz 413132 BLAKE2B 1327b429e12b09d49866e393b344ec7e2c471313a9437e5cb979f25674c7871948a0a4374c05d4939a697702675df70279ac476b3ed6a437b99afe5c98918e25 SHA512 538165123dfebc5c3890ae0864bc32988170e5235093d291a18ea7cf86eb50e9cf90c8a0530ae4b72611e95b5faa9474561f411ad646374173ee7b14235b5a5b EBUILD radmind-1.15.3-r1.ebuild 642 BLAKE2B c410e25715c3836debb460709a2bc0d256316ceb8b39f1e9b4f22f9886fdd97ab3da3eb7c2f17c4290eda0d0966a400a55a39321cf83570973f0a35b9f9403f6 SHA512 15916229fea4a73545e3988bef5b6aadb918dc060b93ba7135ff5d3592adb5de0da15e9aea4afd08cdb3ac8010b62e11946d29c1e660ff4547f69bd6cc8d73b8 EBUILD radmind-1.15.4-r1.ebuild 1191 BLAKE2B 189f6e186d3533b07a31606e517ddf80758283f6630b34b10df51fb2d6fff13fe3b613d8248da1875417a8f79282fef3b1d1af0a092f545a7596610ef7c14a8b SHA512 66f488b61db585b39b08091d4af9b564686f4d43fd52894114e7a4cfa61d8c44fa939071767b328d72cdd55ecf8d8c599c574bba8cef363955d111d256dfe965 -MISC metadata.xml 405 BLAKE2B 3c62cc46921ebb1aebaa62324329fe60b3e08a205fc02d3593176454a3e921ff8265e198652af41fc87fbaf76fc0f6d9e4ef80c59e012aadcd652fc3c10359b8 SHA512 10fe0e6baa295be7b4d9d78da0519f6203e0e7dfba750e4f181bcd2df29b9dd46eea03eef2c5794abefb054eb083cc4a2f8461317e78e2b282468c602d0164bf +MISC metadata.xml 460 BLAKE2B aaf1b73647e24b19e28454b8584a49e144d7d201291056f5ebd5d624a5ffa0015cbf92a6320462fde926ef554cddf9ff9db5e8af729d443ac0bfa53b2ac40050 SHA512 5117fb2c14b96d8bbca062d9164e84448000b108fc450dfeb7a605c5080958f39b8dedef519652af3f6222ad5205eff2d1cb3b3f834b5de81aad2f005bc5056d diff --git a/app-admin/radmind/metadata.xml b/app-admin/radmind/metadata.xml index e980be75a6a5..4bf7c59e8555 100644 --- a/app-admin/radmind/metadata.xml +++ b/app-admin/radmind/metadata.xml @@ -5,6 +5,7 @@ <longdescription>A suite of Unix command-line tools and a server designed to remotely administer the file systems of multiple Unix machines.</longdescription> <upstream> + <remote-id type="github">Radmind/radmind</remote-id> <remote-id type="sourceforge">radmind</remote-id> </upstream> </pkgmetadata> diff --git a/app-admin/vault/Manifest b/app-admin/vault/Manifest index 487067d85899..9772ed567080 100644 --- a/app-admin/vault/Manifest +++ b/app-admin/vault/Manifest @@ -3,19 +3,10 @@ AUX vault.confd 243 BLAKE2B 6598fa2138c4ca94fdd6b7a02048ee4a4eb2b37d17b8a065ae2f AUX vault.initd 573 BLAKE2B 444541b8912910cf6b5d038e466e18baebb7dfd2905d802217baf9e861bb7f2a3e032716545c74e269782aa420fbd052745322576b4bcb8c4cf53ba07471b261 SHA512 11124e6fc656977c20b55b578e30fd76b8f6905760c2f17f93b960a317975f1914c6bd8d4ffd3741ba405bfe5aa0cecb68067f8ce52b2df9015863d31f9a7aad AUX vault.logrotated 83 BLAKE2B 63b106e949f8a2da0ca97f1d07732fdea4dafbe44cb97ea81074472b95489d179deccd14f4d4176043f488f2be68b96dc6bee20748fe68f650d70fd32078d2bd SHA512 83d73760d85dbb731652aa5936d2780208ac4643e975538652f53b49305d024df6d72a8a06d82f430982b07cf940b2fd69f9a6eedb39d380136c8e5bfda280e5 AUX vault.service 677 BLAKE2B 0d9c6636c841ff33fa38afca10f10c62d273dc1c6419e35e2fa844472de0c963e177c80a6db3e95230db6f641ab50148843085cb4f141fa2dd2765aecf8457d3 SHA512 15951d095181fb1b1a5f79e0f385bdb96812a517ea59e05017141a29ed880d0e6f29d377e7c4bc53d5b70175122785a39923297b8e3304fc46a63835d2d2ec50 -DIST vault-1.10.3-vendor.tar.gz 48109465 BLAKE2B 45985a6ae4445ec75b29f198113fdd1f1e3aa54896c2da0fdf817cf30603c36379405aa3a65e8d20c0380a06e9b335186e6228b176d3afc541a28bed749d6129 SHA512 3c9220fb42af1e6f1bafd7991b0026cafe313cfa53d4841d5d4a1a19f10ff369826dc07c3d2eaf21a3c7227dbcafc1c134814a970429b0842919664ee0ef8988 -DIST vault-1.10.3-webui.tar.xz 1258176 BLAKE2B 85fd1b804b880a3dcdbbd4e825b663f02a985259d0a74ab7cddf4a9a2393c60918b389d0e4e81574b93c8b0867647fc1d17f7ca3e719b36ab41d6825adfbdaae SHA512 9640a7e25de0761a310e234098a0dd31db9e04b30036045ff7edaaca8f7496466f1c0148855a5e1ef270638e90a8fb97aff2c5482b32512772021c99691a5aa5 -DIST vault-1.10.4-vendor.tar.gz 50089463 BLAKE2B 299e7619f158a2ea0683feaaff4a7c5019da02fa03daf25e0b4415f03b703ca11733c486165a21ffcd5b3c1d221db5b9e24e898f3cf3de014c09e29531841dcf SHA512 056a6056bac127083358f1811e8e587f0521b734219a6e03e019527fafcadfbd0d71a05314cb269e27b03423349b5a857d234d3949d0d15e7c7b1175bc573c57 -DIST vault-1.10.4-webui.tar.xz 1258340 BLAKE2B 556da0e566852e5c6a091bd9139a88a9099e5f6422e225b7a4068e1bef3d9fd5a2292bb2efbe12545c20f6c956fd6180500972d5248f05bbb96db50a90ae4741 SHA512 ec9cc568d8d56ba379d0fdee31e0edc8aa8110366b112790573794975a0b32324f517e5fead39fbf59ab99667837b0e08ebadfb6d41dcde85d474712b34b475a DIST vault-1.10.5-vendor.tar.gz 50096802 BLAKE2B 07f797666f97666a3dbdfb3cca7ba9fea1a45b26fd35d902200acdf3bad33ad365f4d547a1c3fe42f9e6a41258713b48673236d5f64547016ba08b43ede4eeda SHA512 87f56ff16a2a28690dd128ff0f1c480616ae7948eaff337e3d3e4eb3370d6d1322b2a488044bc237f9eafc60d42652f3a7decb7283d1596285762cf570fea8ca DIST vault-1.10.5-webui.tar.xz 1258192 BLAKE2B c546475dc9949c8854e702ff97267cde97472b47f209e7ed923e6caf9d0fe2b615c0087299148c0325669ae25b4ec111d7e8eff8454dfe5fe15a47bf4c969984 SHA512 fb44ad261cfa2e492b824fc8ec0ad44e54eaa417980bd9cd845e017fcad23670231a696df306332df5cfd5ce039cc1e3f744fe3ef35563b4902ebb15798a6b1d -DIST vault-1.11.0-vendor.tar.gz 49927497 BLAKE2B d7a12c1c1710c2a487b9c08a871b1d7b011d90957cab6980eb2f7eaff4ff544509899ee07c326bba8310ff16ee3bf88586dba340249cf0f7804007963af7d692 SHA512 b3b9275d5ae41c21826ed0bf1eeaffffe10e5e95b085bf8cf6af6c9ff565848f4a3f83d9a8d6165867de11b0f877383cb972e7d4313a753b0dca391203ecb4c6 -DIST vault-1.11.0-webui.tar.xz 1335764 BLAKE2B 9733ae0c2fe04018dac73358a56a162e23877e68b3ce59ca569cea7e27f39c91727ab0810a737167b3f02d92a0d58e9a7195da892c677bece60fbe965dba7fdf SHA512 a5df9f0e854af8f30d6b5d15628a087c1c37361e2a0de4e412e7f78ac51affc774c1a6ed084dd849b68b147d527547593c1124d1170be38b918efd28081a6f0b DIST vault-1.11.1-vendor.tar.gz 52063513 BLAKE2B adb2fb6ab7991e94ce00aa298837f2fac21c24bb8ea8edd2265eed6664498b38567d81fcfe28749b4bf16c449c769448a75fa3c1403f5cdf33b18580d8a65936 SHA512 c1247308f390117c98e43dd82498a069c34d3e766298dd05d5ddb5f69b9a3db2e312b897f35c9f63225cffcac476ba1021a4a71100721848642b6c4412123251 DIST vault-1.11.1-webui.tar.xz 1335740 BLAKE2B 6a6fdcb22563ad4c3f18bf3816fe8a016c11d19a014458594c2dade3dc8e908db252c34bad88be9e80c2a6408af28af6324158e1e69b40061af6d6fe1a66c655 SHA512 1c02e0ef645df946ffb9d967a9be230800e67597d0ed6cf8afb2688eed9ca863a1f29efeefbb51e0257d2be588da443864df9e1306956844645b0168c2d58d9b -EBUILD vault-1.10.3.ebuild 2017 BLAKE2B ae390a3a48d018b3489ad6d51a0208825fd96e9cee81aa3dbfd3930b5e6ca7f0d3cd2c04c6f6b98a8ba5a80703c5ea580c2fe69f1acbe334ae2d91a4a3723e0c SHA512 95b049300934c56b508eb3a58d90bb59f94d04e730209ef8396657684425949d70314c00191e9187d034fd11d24df7668e5ab441df9ab66c7c3fb6877e3c6ccc -EBUILD vault-1.10.4.ebuild 2025 BLAKE2B 22896d4af63db5001b43c3b83864bc2ea9107e2158ea68f6e5d65cbf3d4feb9fdc093013826e74b257daacdabc0392d23fb1ca08f8b46b2e92c6e724c074e8ae SHA512 cdc49b986a02d162ef71fbf7af728d238c0ffa34632d7a3f56af4c9482f259aa7df9cc85f8a9974c62ee24ec0026024a68015b63d796ec954b1a2796b5fd6402 -EBUILD vault-1.10.5.ebuild 2025 BLAKE2B 22896d4af63db5001b43c3b83864bc2ea9107e2158ea68f6e5d65cbf3d4feb9fdc093013826e74b257daacdabc0392d23fb1ca08f8b46b2e92c6e724c074e8ae SHA512 cdc49b986a02d162ef71fbf7af728d238c0ffa34632d7a3f56af4c9482f259aa7df9cc85f8a9974c62ee24ec0026024a68015b63d796ec954b1a2796b5fd6402 -EBUILD vault-1.11.0.ebuild 2091 BLAKE2B d0803a4206e29127e35b3c2c5b0d6c41d57f643bf89ab7a0b97e13225b6e5103676712204bbddf4603a1dc94de34d8b5751710cf1004a9b97f381e2f3d62a9c0 SHA512 060ae598f2372b2217659fca84a40bc83b2c16ad2b10230e5dc535d4dcf06547afe938e371166bfdb13c8be34dc2f77e9775a6629c82cc2e1ea707cd938a910d +EBUILD vault-1.10.5.ebuild 2024 BLAKE2B a9c4d0a36f3dc15e96fdf85c26228e6bc33eab38da1ab0119396cbbab0722162f9c079cd804c8d4ddf5b953f1424fa3c77fb2d9909ed0a18171270166b1acd1c SHA512 e404fce90bb878d834ad156356a7c4b4b6585465ce1e242b580b99ec1da0a22510a975d410ce8c465635423916572670c4ec4c089908da0505905b853de44866 EBUILD vault-1.11.1.ebuild 2091 BLAKE2B d0803a4206e29127e35b3c2c5b0d6c41d57f643bf89ab7a0b97e13225b6e5103676712204bbddf4603a1dc94de34d8b5751710cf1004a9b97f381e2f3d62a9c0 SHA512 060ae598f2372b2217659fca84a40bc83b2c16ad2b10230e5dc535d4dcf06547afe938e371166bfdb13c8be34dc2f77e9775a6629c82cc2e1ea707cd938a910d MISC metadata.xml 372 BLAKE2B 8e18e03d14e17a6a5d8c6b7bdb0d87ef6aec8530e203edc579a66b0c6ba0809bbddf4d68943281483ed841daa18a87ee13bed427162e40cd6c2fe3c45b0ec4fb SHA512 07bd140cd5152ccf7e9c39a0ad45a9361b56306b773176155fceaee3dbfa4645d74dba5a21a131f0221419aed5a9aeed4a5aef7c4eec2750c803e11c96621b02 diff --git a/app-admin/vault/vault-1.10.3.ebuild b/app-admin/vault/vault-1.10.3.ebuild deleted file mode 100644 index 227b57cf05c7..000000000000 --- a/app-admin/vault/vault-1.10.3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fcaps go-module systemd - -DESCRIPTION="A tool for managing secrets" -HOMEPAGE="https://vaultproject.io/" - -VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz" -SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz - webui? ( - https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE} - )" - -LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="+webui" - -BDEPEND=" - app-arch/zip - dev-go/gox - >=dev-lang/go-1.15.3" -COMMON_DEPEND="acct-group/vault - acct-user/vault" - DEPEND="${COMMON_DEPEND}" - RDEPEND="${COMMON_DEPEND}" - -FILECAPS=( - -m 755 'cap_ipc_lock=+ep' usr/bin/${PN} -) - -RESTRICT+=" test" -S=${WORKDIR}/${P}-vendor - -src_unpack() { - default -} - -src_prepare() { - default - # Avoid the need to have a git checkout - sed -e 's:^\(GIT_COMMIT=\).*:\1:' \ - -e 's:^\(GIT_DIRTY=\).*:\1:' \ - -e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \ - -i scripts/build.sh || die - sed -e "/hooks/d" \ - -e 's|^\([[:space:]]*\)goimports .*)|\1true|' \ - -e "s/gofumpt/gofmt/g" \ - -i Makefile || die - if [[ -d "${WORKDIR}/http/web_ui" ]]; then - rm -rf "${S}/http/web_ui" || die - mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" || - die "mv failed" - else - mkdir -p "${S}/http/web_ui" || die - touch "${S}/http/web_ui/no_web_ui" || die - fi -} - -src_compile() { - mkdir "${T}"/bin || die - BUILD_TAGS="$(usex webui ui '')" \ - GOPATH="${T}" \ - XC_ARCH=$(go env GOARCH) \ - XC_OS=$(go env GOOS) \ - XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \ - emake bin -} - -src_install() { - dobin bin/${PN} - dodoc CHANGELOG.md CONTRIBUTING.md README.md - insinto /etc/${PN}.d - doins "${FILESDIR}/"*.json.example - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotated" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - systemd_dounit "${FILESDIR}/${PN}.service" - keepdir /var/log/${PN} - fowners ${PN}:${PN} /var/log/${PN} -} diff --git a/app-admin/vault/vault-1.10.4.ebuild b/app-admin/vault/vault-1.10.4.ebuild deleted file mode 100644 index 6024fed54e00..000000000000 --- a/app-admin/vault/vault-1.10.4.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fcaps go-module systemd - -DESCRIPTION="A tool for managing secrets" -HOMEPAGE="https://vaultproject.io/" - -VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz" -SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz - webui? ( - https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE} - )" - -LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="+webui" - -BDEPEND=" - app-arch/zip - dev-go/gox - >=dev-lang/go-1.15.3" -COMMON_DEPEND="acct-group/vault - acct-user/vault" - DEPEND="${COMMON_DEPEND}" - RDEPEND="${COMMON_DEPEND}" - -FILECAPS=( - -m 755 'cap_ipc_lock=+ep' usr/bin/${PN} -) - -RESTRICT+=" test" -S=${WORKDIR}/${P}-vendor - -src_unpack() { - default -} - -src_prepare() { - default - # Avoid the need to have a git checkout - sed -e 's:^\(GIT_COMMIT=\).*:\1:' \ - -e 's:^\(GIT_DIRTY=\).*:\1:' \ - -e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \ - -i scripts/build.sh || die - sed -e "/hooks/d" \ - -e 's|^\([[:space:]]*\)goimports .*)|\1true|' \ - -e "s/gofumpt/gofmt/g" \ - -i Makefile || die - if [[ -d "${WORKDIR}/http/web_ui" ]]; then - rm -rf "${S}/http/web_ui" || die - mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" || - die "mv failed" - else - mkdir -p "${S}/http/web_ui" || die - touch "${S}/http/web_ui/no_web_ui" || die - fi -} - -src_compile() { - mkdir "${T}"/bin || die - BUILD_TAGS="$(usex webui ui '')" \ - GOPATH="${T}" \ - XC_ARCH=$(go env GOARCH) \ - XC_OS=$(go env GOOS) \ - XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \ - emake bin -} - -src_install() { - dobin bin/${PN} - dodoc CHANGELOG.md CONTRIBUTING.md README.md - insinto /etc/${PN}.d - doins "${FILESDIR}/"*.json.example - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotated" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - systemd_dounit "${FILESDIR}/${PN}.service" - keepdir /var/log/${PN} - fowners ${PN}:${PN} /var/log/${PN} -} diff --git a/app-admin/vault/vault-1.10.5.ebuild b/app-admin/vault/vault-1.10.5.ebuild index 6024fed54e00..1e115bc0fbe9 100644 --- a/app-admin/vault/vault-1.10.5.ebuild +++ b/app-admin/vault/vault-1.10.5.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" IUSE="+webui" BDEPEND=" diff --git a/app-admin/vault/vault-1.11.0.ebuild b/app-admin/vault/vault-1.11.0.ebuild deleted file mode 100644 index 004b6dd49b57..000000000000 --- a/app-admin/vault/vault-1.11.0.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fcaps go-module systemd - -DESCRIPTION="A tool for managing secrets" -HOMEPAGE="https://vaultproject.io/" - -VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz" -SRC_URI="https://github.com/zmedico/vault/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz - webui? ( - https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE} - )" - -LICENSE="MPL-2.0 Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="+webui" - -BDEPEND=" - app-arch/zip - dev-go/gox - >=dev-lang/go-1.15.3" -COMMON_DEPEND="acct-group/vault - acct-user/vault" - DEPEND="${COMMON_DEPEND}" - RDEPEND="${COMMON_DEPEND}" - -FILECAPS=( - -m 755 'cap_ipc_lock=+ep' usr/bin/${PN} -) - -RESTRICT+=" test" -S=${WORKDIR}/${P}-vendor - -src_unpack() { - default -} - -src_prepare() { - default - # Avoid the need to have a git checkout - sed -e 's:^\(GIT_COMMIT=\).*:\1:' \ - -e 's:^\(GIT_DIRTY=\).*:\1:' \ - -e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \ - -e "s|^BUILD_DATE=.*|BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%SZ)|" \ - -i scripts/build.sh || die - sed -e "/hooks/d" \ - -e 's|^\([[:space:]]*\)goimports .*)|\1true|' \ - -e "s/gofumpt/gofmt/g" \ - -i Makefile || die - if [[ -d "${WORKDIR}/http/web_ui" ]]; then - rm -rf "${S}/http/web_ui" || die - mv "${WORKDIR}/http/web_ui" "${S}/http/web_ui" || - die "mv failed" - else - mkdir -p "${S}/http/web_ui" || die - touch "${S}/http/web_ui/no_web_ui" || die - fi -} - -src_compile() { - mkdir "${T}"/bin || die - BUILD_TAGS="$(usex webui ui '')" \ - GOPATH="${T}" \ - XC_ARCH=$(go env GOARCH) \ - XC_OS=$(go env GOOS) \ - XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \ - emake bin -} - -src_install() { - dobin bin/${PN} - dodoc CHANGELOG.md CONTRIBUTING.md README.md - insinto /etc/${PN}.d - doins "${FILESDIR}/"*.json.example - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotated" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - systemd_dounit "${FILESDIR}/${PN}.service" - keepdir /var/log/${PN} - fowners ${PN}:${PN} /var/log/${PN} -} |