From 7e3634dd03083ad7101464f303854ba55e845794 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Wed, 24 Feb 2021 20:37:58 +0100 Subject: [PATCH] dev-util/reposilite: Ebuild for Version 2.9.16. Package-Manager: Portage-3.0.13, Repoman-3.0.2 --- dev-util/reposilite/ChangeLog | 6 ++ dev-util/reposilite/Manifest | 4 +- .../reposilite/files/reposilite-2.9.16.cdn | 61 +++++++++++++++++++ dev-util/reposilite/reposilite-2.9.16.ebuild | 44 +++++++++++++ 4 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 dev-util/reposilite/files/reposilite-2.9.16.cdn create mode 100644 dev-util/reposilite/reposilite-2.9.16.ebuild diff --git a/dev-util/reposilite/ChangeLog b/dev-util/reposilite/ChangeLog index bfe11e2..ff298f1 100644 --- a/dev-util/reposilite/ChangeLog +++ b/dev-util/reposilite/ChangeLog @@ -1,3 +1,9 @@ +*reposilite-2.9.16 (24 Feb 2021) + + 24 Feb 2021; Manuel Friedli +files/reposilite-2.9.16.cdn, + +reposilite-2.9.16.ebuild: + dev-util/reposilite: Ebuild for Version 2.9.16. + 24 Nov 2020; Manuel Friedli files/reposilite.service: dev-util/reposilite: Fixes #63. diff --git a/dev-util/reposilite/Manifest b/dev-util/reposilite/Manifest index 9c53950..ee8f95a 100644 --- a/dev-util/reposilite/Manifest +++ b/dev-util/reposilite/Manifest @@ -1,8 +1,10 @@ AUX app.ini 718 BLAKE2B 6d8abd16cc2eb522e5111d4874692a37698e59ed3db0d2072572f4ab7b6edcabe890aa9129beba932dadd9340e8d5491289ec562f1f9e7ac864fcc89d8389147 SHA512 5d2a6664c5b0bff5d1eeab2a07b7246230837273decaabbe6376b7315c18a897887530b1fdd7cd68eea9c6ffac90ef90d6769ef15e75129d6b67a0ca0ec775a5 +AUX reposilite-2.9.16.cdn 1800 BLAKE2B 1e14178bf2ecccc7038f6b7043abc6eb0d56e4a901e226a1c132fde44a45d76ab59922950b10a914c3f0cc219d558a3280a2d2365001d3821f0fcd72b780fd88 SHA512 4e196bd77030220035da8d14ff45d74e235394b5e5639047559209309c83bc8efd530acba63416792461458fdf531d94f17e2b9fab70256ae1dd95533cda8971 AUX reposilite-2.9.4.cdn 1992 BLAKE2B bca5082e8dff4a99312cc43c32dcdad757236c853a85bd2611177f017a56b1bdbdf43319ddcecb48580861eb0be35caef4c57ee4f4a1c2cba35a91eb59965301 SHA512 1559e93546cd16c293a0dd11900ae5fa7734313655a713d67ff2d561491c6520737803c814c0250100331ec11c7165c1b40e850c58201703d35be0d27786c987 AUX reposilite.service 483 BLAKE2B 3a808346b9250020d0d089519bbbdbad2be919e44a1f3d578945ba3a1b2fcda416678048d0648e97b1821fb6c9e23990788334e22c69ad0cb5b5b489e449eaa2 SHA512 9c182670a37cf7f48f7e7d1350fdbf60cd39b1b065c4928f5cf7e5f8d6e6d0bd2ceafff8e091ebb09125fa707a70e4b30b4ee0224668de79434547fc3e78f839 AUX reposilite.sh 744 BLAKE2B 524b3120b59b60c01e65654e4c7bf34d359e61b29f0e31a4762fda179c7b61ac91bea91ffb1c9d5d0470e0ae3683cad8ff32086125946c42b08a9fd156f65f10 SHA512 c781849ae3c116179ee3446ccf8620814514e4128df6cad917a010ffaba9efdd6cddda686a77ef348b80a920cd67b7ba19bc2a62c519ca7a795acdc8cc486c50 +EBUILD reposilite-2.9.16.ebuild 943 BLAKE2B c94284c4bf7d258e247fbedbe2325694ea1b4ea570ee8673cd6b315e00771a752b56bf5edfe6799595cabe59b890467d933f5838d221090df96005abf903c4e0 SHA512 9052c4bb87b3c3551b5263a2528721bcba1e1497a899d9695db7d2fe7e29b8cb97003999026eec433a4f782eb30240fe6966ef6d43a60558651cc4bed24919c8 EBUILD reposilite-2.9.6.ebuild 954 BLAKE2B f43304db919fb8a162c6614b932a718bf8b2ad57d43a0c2dbe33a197f3cf112ad1ceb26573ba5e635961720391d1a266f4be6f897beeac51b00c85e4dc5f5f64 SHA512 3be1ed2eda1c5d7b03c1ad53ae617a24bb66746aaeb2b75f56c26081027503cfe1e18aa6ca2ca5aca94a73bcc0a1ccc711f6c2a7686d3b314a3d67bb9db2b62f EBUILD reposilite-2.9.8.ebuild 942 BLAKE2B f004f28e440a4d14883726ba1cea6699ad46ecd057c2f479cb8c864da835b54ed7ff7a34fc6a7575e9cc252b8dbf592515017079e53787303d7f892b020d0201 SHA512 b613f38ee3cff79c80777ffa3bf2e744cff2c07a012b8fd1edc8274c87d60e70ef3227964ebc26a6f8f2f25f53c515ed3f34820a38e53427d71d920a09cd0dba -MISC ChangeLog 1021 BLAKE2B c8b14ae9a745f492ea883f6f98f2ab188ba1dcbe995977372bb9c9d8bf4ce38a036140c75a6c2ae2c3232c3e6e884468eeee88e36def562bfe6a25f9bf3044a2 SHA512 62f353e9941f028bd1ceb5347344d66c2ac89826e859ff306aac0b40bbce28d8b8dc9043f126a2771fa22f0b2e85fa59e836f3b00aae68c88b4c245b2e92effb +MISC ChangeLog 1215 BLAKE2B d6480c6d440c99cdbf50c8123cf28b3e940b6cbc01023422d157c47c9f9ffcf77f3ee831b18dc3978cf632f4008b4c1844ceb2a13e8094e00ba1c07290dee7b6 SHA512 7085b0cd9eafcdee0b706a072621c14c9787270c084c0c66487b4fc768555aa10bffa005211b6e87bb90a126fe6a2c3be52749b4cd09eb994d6430f221a4ca34 MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 diff --git a/dev-util/reposilite/files/reposilite-2.9.16.cdn b/dev-util/reposilite/files/reposilite-2.9.16.cdn new file mode 100644 index 0000000..ab2ecca --- /dev/null +++ b/dev-util/reposilite/files/reposilite-2.9.16.cdn @@ -0,0 +1,61 @@ +# ~~~~~~~~~~~~~~~~~~~~~~ # +# Reposilite # +# ~~~~~~~~~~~~~~~~~~~~~~ # + +# Hostname +hostname: 0.0.0.0 +# Port to bind +port: 80 +# Custom base path +basePath: / +# Any kind of proxy services change real ip. +# The origin ip should be available in one of the headers. +# Nginx: X-Forwarded-For +# Cloudflare: CF-Connecting-IP +# Popular: X-Real-IP +forwardedIp: X-Forwarded-For +# Debug +debugEnabled: false + +# Support encrypted connections +sslEnabled: false +# SSL port to bind +sslPort: 443 +# Key store file to use. +# You can specify absolute path to the given file or use ${WORKING_DIRECTORY} variable. +keyStorePath: ${WORKING_DIRECTORY}/keystore.jks +# Key store password to use +keyStorePassword: +# Redirect http traffic to https +enforceSsl: false + +# Control the maximum amount of data assigned to Reposilite instance +# Supported formats: 90%, 500MB, 10GB +diskQuota: 10GB +# List of supported Maven repositories. +# First directory on the list is the main (primary) repository. +# Tu mark repository as private, prefix its name with a dot, e.g. ".private" +repositories [ + releases + snapshots +] +# Allow to omit name of the main repository in request +# e.g. /org/panda-lang/reposilite will be redirected to /releases/org/panda-lang/reposilite +rewritePathsEnabled: true +# Accept deployment connections +deployEnabled: true + +# List of proxied repositories. +# Reposilite will search for an artifact in remote repositories listed below, +# if the requested artifact was not found. +proxied [ +] +# Reposilite can store proxied artifacts locally to reduce response time and improve stability +storeProxied: true + +# Title displayed by frontend +title: #onlypanda +# Description displayed by frontend +description: Public Maven repository hosted through the Reposilite +# Accent color used by frontend +accentColor: #2fd4aa diff --git a/dev-util/reposilite/reposilite-2.9.16.ebuild b/dev-util/reposilite/reposilite-2.9.16.ebuild new file mode 100644 index 0000000..5604f7a --- /dev/null +++ b/dev-util/reposilite/reposilite-2.9.16.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit systemd + +DESCRIPTION="Reposilite - Simple Maven Repository hosting" +HOMEPAGE="https://reposilite.com/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RESTRICT="mirror" +DEPEND="" +RDEPEND="acct-user/reposilite + app-emulation/docker +" + +S="${WORKDIR}" + +src_prepare() { + sed -e "s//${PV}/g" "${FILESDIR}/reposilite.sh" > "${T}/reposilite.sh" + + eapply_user +} + +src_install() { + exeinto /usr/sbin + doexe "${T}/reposilite.sh" + + systemd_dounit "${FILESDIR}/${PN}.service" + + insinto "/etc/reposilite" + doins "${FILESDIR}/app.ini" + newins "${FILESDIR}/reposilite-2.9.16.cdn" reposilite.cdn + + fowners reposilite /etc/reposilite + fperms 0700 /etc/reposilite + fowners reposilite:reposilite /etc/reposilite/app.ini /etc/reposilite/reposilite.cdn + fperms 0600 /etc/reposilite/app.ini /etc/reposilite/reposilite.cdn +}