Update reposilite to the latest version. #115

Merged
manuel merged 1 commit from feature/update-reposilite into master 2023-05-29 00:23:43 +02:00
3 changed files with 67 additions and 0 deletions

View file

@ -1,5 +1,7 @@
AUX reposilite-3.service 423 BLAKE2B 96433bba1820b7f96be7d80670122f34a470b50b477e808dffb36584d62918aefc880a007b44e4285c86d7beb4b056bf5c10f1e6ad7c3f2962da41e2fc9465a6 SHA512 11e4eaa19123c58e68e470c9b367d19b8f35aeb271ce96e3bc292d22d3ac192bfae490b7bc2a12fe10748cdec1066d5c292f829d5d0b10aa4b809320873f409f AUX reposilite-3.service 423 BLAKE2B 96433bba1820b7f96be7d80670122f34a470b50b477e808dffb36584d62918aefc880a007b44e4285c86d7beb4b056bf5c10f1e6ad7c3f2962da41e2fc9465a6 SHA512 11e4eaa19123c58e68e470c9b367d19b8f35aeb271ce96e3bc292d22d3ac192bfae490b7bc2a12fe10748cdec1066d5c292f829d5d0b10aa4b809320873f409f
DIST reposilite-3.0.3.jar 51819838 BLAKE2B f58b0d38edbfa08e9c49a9df59128ba5263686228fc218fd36c20005053a6d06fbe672b67d7396cf3a51c292ef2707f307fde6fb8fbd2815c45786d6a031df0b SHA512 73962381ff1ed4034a0670a3077a825b31f06dbef6f71032fafda7d7ffff801b2d01eb92dfa26393442f9cec4ef6f4b78cadc94c17aab25d7377824a4752d794 DIST reposilite-3.0.3.jar 51819838 BLAKE2B f58b0d38edbfa08e9c49a9df59128ba5263686228fc218fd36c20005053a6d06fbe672b67d7396cf3a51c292ef2707f307fde6fb8fbd2815c45786d6a031df0b SHA512 73962381ff1ed4034a0670a3077a825b31f06dbef6f71032fafda7d7ffff801b2d01eb92dfa26393442f9cec4ef6f4b78cadc94c17aab25d7377824a4752d794
DIST reposilite-3.4.4.jar 67291837 BLAKE2B e93746f6fc5912d7325f5bad8d51c0389de691a5c85ed612f838264a50654414e534705394a04f2b828db72591092f09ab46bce8cd21f0cc1b0964be166a4ce8 SHA512 147dfb2c04540f2f331db076a80e9d5132dfcb6ae309cd81cf9ee12d8a06f3cd5b38762d5c5d4d238e673e46371256a6600ccf091daaafcb2710482edd27ad83
EBUILD reposilite-3.0.3-r1.ebuild 1251 BLAKE2B f4d9c990bef2a1e3ecdede4cb67eeb5199c8bfe95dc8eb598c7803b07019537cbdec832cf132c97954b813ad7ef741eff8d62ce0436b019de9d9fae866dc6095 SHA512 628e13e105a18f7270e94bed009f67d7f44d0dbed2ba157ec926fcfaedd846aaa2287bd5dbe52f088a25c5bfbd60b395d296b8258aa3acda56451145c8722b41 EBUILD reposilite-3.0.3-r1.ebuild 1251 BLAKE2B f4d9c990bef2a1e3ecdede4cb67eeb5199c8bfe95dc8eb598c7803b07019537cbdec832cf132c97954b813ad7ef741eff8d62ce0436b019de9d9fae866dc6095 SHA512 628e13e105a18f7270e94bed009f67d7f44d0dbed2ba157ec926fcfaedd846aaa2287bd5dbe52f088a25c5bfbd60b395d296b8258aa3acda56451145c8722b41
EBUILD reposilite-3.4.4.ebuild 1251 BLAKE2B f4d9c990bef2a1e3ecdede4cb67eeb5199c8bfe95dc8eb598c7803b07019537cbdec832cf132c97954b813ad7ef741eff8d62ce0436b019de9d9fae866dc6095 SHA512 628e13e105a18f7270e94bed009f67d7f44d0dbed2ba157ec926fcfaedd846aaa2287bd5dbe52f088a25c5bfbd60b395d296b8258aa3acda56451145c8722b41
MISC ChangeLog 3198 BLAKE2B 2606f974c8d7008a55d786fd462e927418ad172ddfdf04a6ddbe046e5e8993ba56906a1ae07cc7924ea2a8d03b371b68d203e2fa9f01e1f09b3499ae67888628 SHA512 0b7d3f49e3a65cd7210643766dd7f6c351ef58361298e31041f529feb8f68abc0c38bfe5cce168cb83197328de14dc49c687a723cc45a3abd94df60595c2eafc MISC ChangeLog 3198 BLAKE2B 2606f974c8d7008a55d786fd462e927418ad172ddfdf04a6ddbe046e5e8993ba56906a1ae07cc7924ea2a8d03b371b68d203e2fa9f01e1f09b3499ae67888628 SHA512 0b7d3f49e3a65cd7210643766dd7f6c351ef58361298e31041f529feb8f68abc0c38bfe5cce168cb83197328de14dc49c687a723cc45a3abd94df60595c2eafc
MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2

View file

@ -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-${PV}.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
newins "${WORKDIR}/reposilite-${PV}.jar" 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."
}

View file

@ -0,0 +1,14 @@
BDEPEND=virtual/pkgconfig
DEFINED_PHASES=install postinst unpack
DESCRIPTION=Reposilite - Simple Maven Repository hosting
EAPI=8
HOMEPAGE=https://reposilite.com/
INHERIT=systemd
KEYWORDS=~amd64
LICENSE=Apache-2.0
RDEPEND=>=acct-user/reposilite-1 || ( >=virtual/jdk-11 >=virtual/jre-11 )
RESTRICT=mirror
SLOT=0
SRC_URI=https://maven.reposilite.com/releases/com/reposilite/reposilite/3.4.4/reposilite-3.4.4-all.jar -> reposilite-3.4.4.jar
_eclasses_=toolchain-funcs 14a8ae365191b518fad51caad7a08f3e multilib 104e1332efb829e2f7cbf89307a474f1 systemd 5f4bb0758df2e483babf68cd517078ca
_md5_=6e3c58d23fb8ec4ae1a233e00e96fe96