From a3c12a33932f507c4c604a7ade21e288118f6eec Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Sat, 17 Sep 2022 01:46:25 +0200 Subject: [PATCH] dev-util/reposilite: Add v3.0.3 Package-Manager: Portage-3.0.30, Repoman-3.0.3 --- dev-util/reposilite/ChangeLog | 5 ++ dev-util/reposilite/Manifest | 3 +- dev-util/reposilite/reposilite-3.0.3.ebuild | 51 +++++++++++++++++++++ 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 dev-util/reposilite/reposilite-3.0.3.ebuild diff --git a/dev-util/reposilite/ChangeLog b/dev-util/reposilite/ChangeLog index 962a318..6e99bb5 100644 --- a/dev-util/reposilite/ChangeLog +++ b/dev-util/reposilite/ChangeLog @@ -1,3 +1,8 @@ +*reposilite-3.0.3 (16 Sep 2022) + + 16 Sep 2022; Manuel Friedli +reposilite-3.0.3.ebuild: + dev-util/reposilite: Add v3.0.3 + 15 Aug 2022; Manuel Friedli files/reposilite-3.service: dev-util/reposilite: Fix start parameters diff --git a/dev-util/reposilite/Manifest b/dev-util/reposilite/Manifest index 4d28c54..ffc65f9 100644 --- a/dev-util/reposilite/Manifest +++ b/dev-util/reposilite/Manifest @@ -6,5 +6,6 @@ AUX reposilite.sh 744 BLAKE2B 524b3120b59b60c01e65654e4c7bf34d359e61b29f0e31a476 DIST reposilite.jar 48898529 BLAKE2B cd71c5a636d3ae351409335cbc1cf190c018b06f9a4ec4451fa0eaa859adfc539dbc7d97de1847ace11a75fe79eb8e842e661b06ef931c45bb979ea519d5c731 SHA512 3cd8851be2d0ab917a1f8331327f99f9069f350c8d922e9d2481be954c8bf9b68bcb50b4243fa1b25b1ba0523df1bcc09ed00c641059228ed2579068d4d45f8d EBUILD reposilite-2.9.26.ebuild 944 BLAKE2B bff282682e0bbab5de6ccaa71653a75f36a5a91d1b200c8b83d487a6b16d93ddacb92ea3f0681b358c7ea4b5f29641711c04fa892291dcaea22a99b5c649bc0f SHA512 6990f57a449f33bf544110ce141a9d4ce47f686ab7ca68c9821cee2abda71aa749a37fe0aca5fdd4207e50143c560efd49ed8ebaaf97dc553ff12f3daa88a675 EBUILD reposilite-3.0.1.ebuild 1223 BLAKE2B afcfc51c610e2a3487bfa94ec96c54a94307777ee9f68ebb95723c0ca4d6942dd8df21f1aae1f3dcac94815e1047caa743fa701097bff76b14331938648a05d6 SHA512 9a2a683a8efd9cb0ed50771e979e3f1c940137731c68f448238e19c53030abe587c43f806396f63828c7a1a95c6a2e5159467ab23afefa33133dd50ffaa99277 -MISC ChangeLog 2841 BLAKE2B a6303676b5a478b60106b4711d62a57b351424d10362e9d1eafbc8ebee1ce22e6ad91b075b418111d865b7dea99def32995b255f571130120e49d7acfa0e43e8 SHA512 5d2c0f8c40e85789a53816e86b72747dd05e79bd48e8ee5f440701729f6024ca476d88f9bb6fae4dd8f2e3052e15c724eb2ecd4b8546c32771bd84f2d1c55414 +EBUILD reposilite-3.0.3.ebuild 1223 BLAKE2B afcfc51c610e2a3487bfa94ec96c54a94307777ee9f68ebb95723c0ca4d6942dd8df21f1aae1f3dcac94815e1047caa743fa701097bff76b14331938648a05d6 SHA512 9a2a683a8efd9cb0ed50771e979e3f1c940137731c68f448238e19c53030abe587c43f806396f63828c7a1a95c6a2e5159467ab23afefa33133dd50ffaa99277 +MISC ChangeLog 2985 BLAKE2B 58290ea74594e3c69fdba395ef2228cbb56193f996f8472a7138004402d45ac57c77f904f3facd1eac9920dc8a009ba16388de893ce7392ef4b3f693ea8838b8 SHA512 eeb109a935e2ba3ff3e7580ee3b48dce5fdb91a3ba81b0ba1d42ba04603885c5732f297f395a1d91535a3457f2224947696dc3ab8f2b2dcd456ba1ae45c7fa02 MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 diff --git a/dev-util/reposilite/reposilite-3.0.3.ebuild b/dev-util/reposilite/reposilite-3.0.3.ebuild new file mode 100644 index 0000000..e5f5d52 --- /dev/null +++ b/dev-util/reposilite/reposilite-3.0.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="Reposilite - Simple Maven Repository hosting" +HOMEPAGE="https://reposilite.com/" +SRC_URI="https://maven.reposilite.com/releases/com/reposilite/reposilite/${PV}/reposilite-${PV}-all.jar -> reposilite.jar" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RESTRICT="mirror" +DEPEND="" +RDEPEND=">=acct-user/reposilite-1 + || ( >=virtual/jdk-11 >=virtual/jre-11 ) +" + +S="${WORKDIR}" + +src_unpack() { + cp "${DISTDIR}/${A}" "${WORKDIR}" +} + +src_install() { + insinto /opt/reposilite + doins "${WORKDIR}/reposilite.jar" + + systemd_newunit "${FILESDIR}/${PN}-3.service" "${PN}.service" + + keepdir "/etc/reposilite" + + fowners reposilite /etc/reposilite + fperms 0700 /etc/reposilite + fowners reposilite:reposilite /opt/reposilite + fperms 0750 /opt/reposilite +} + +pkg_postinst() { + ewarn "If you upgrade from Reposilite version 2.x, you **must**" + ewarn "migrate the data from the docker volume. Otherwise, your" + ewarn "existing artifacts will be lost." + einfo + einfo "Copy or move all the files from" + einfo " /var/lib/docker/volumes/reposilite-data/_data" + einfo "to /opt/reposilite." +}