diff --git a/acct-group/reposilite/ChangeLog b/acct-group/reposilite/ChangeLog index de2a7ab..280a5a9 100644 --- a/acct-group/reposilite/ChangeLog +++ b/acct-group/reposilite/ChangeLog @@ -1,3 +1,6 @@ + 15 Aug 2022; Manuel Friedli reposilite-0.ebuild: + acct-group/reposilite: Cosmetics. + *reposilite-0 (08 Oct 2020) 08 Oct 2020; Manuel Friedli +metadata.xml, diff --git a/acct-group/reposilite/Manifest b/acct-group/reposilite/Manifest index 7873c1d..c380e64 100644 --- a/acct-group/reposilite/Manifest +++ b/acct-group/reposilite/Manifest @@ -1,3 +1,3 @@ -EBUILD reposilite-0.ebuild 308 BLAKE2B 82aace3f87ee7b232ff932be1346af2d17ea0a9eaa64bd725bb5f1b32f6eaebd49a0874cf0e4c804482874261d6bdc6894168d95afde48e5fd3125c04204f018 SHA512 80a8719849b0502e1663552b3f0bc38d4ca20bbcd397d13b7bd5f4d7316f81b3f03add9712bbd133fa9e0bac5dd225d853161036b6c0753d29f543191f6053ae -MISC ChangeLog 177 BLAKE2B 9240c515998841e085db4cc85bfabff8e3557e544133e1f90a47a4187a0e2760a1d2c75b416e78510356a4370eb8ab92501f0ca508997879e718314525a1b01f SHA512 66778b7ac22211a10c05937aa416f9d69e1b33be0b856340fff3e593f10f8253bec138f86a5b37a2a3e7916d49a745af6cc907c29ec6014b2d6a57a577d50762 +EBUILD reposilite-0.ebuild 309 BLAKE2B 34f7234ce3c375842eb37855788b005b34a7ea9b17eaf1d2159fd2aade2b69385be2403f7d3e85fd60ba179542edb0904c45ab6a15f6f4e90b54c7ce79ec4f77 SHA512 4c5fe21bdbab533028df431aa268b965b56eb6380abb569ecad56655be77de7c2c21e682eabfaa4cad8b673f2365e0559154fd68817b3a8ab62975428850e404 +MISC ChangeLog 285 BLAKE2B 49b7dc9d40ddd0e53d433a6798380489f179fcbbe5b6ea097eee49114a7c5d5bed9a6797c3b05942c5300c97cc1fa9f664286e1c852600fceed17d71d37f12df SHA512 f6c087910e788aeb4126ca84227f5416d8f5b996af5a2ec374055b2d24c69c26f86b9f96c27ba6806c19e753650949fc3bd5ea2dfcd31414b40f1127fdaa8b31 MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 diff --git a/acct-group/reposilite/reposilite-0.ebuild b/acct-group/reposilite/reposilite-0.ebuild index 59c8bce..f2daa99 100644 --- a/acct-group/reposilite/reposilite-0.ebuild +++ b/acct-group/reposilite/reposilite-0.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit acct-group + DESCRIPTION="Group used for the reposilite maven repo server" KEYWORDS="~amd64" diff --git a/acct-user/reposilite/ChangeLog b/acct-user/reposilite/ChangeLog index 2b16022..e279252 100644 --- a/acct-user/reposilite/ChangeLog +++ b/acct-user/reposilite/ChangeLog @@ -1,3 +1,8 @@ +*reposilite-1 (15 Aug 2022) + + 15 Aug 2022; Manuel Friedli +reposilite-1.ebuild: + acct-user/reposilite: No dep on docker anymore. + *reposilite-0 (08 Oct 2020) 08 Oct 2020; Manuel Friedli +metadata.xml, diff --git a/acct-user/reposilite/Manifest b/acct-user/reposilite/Manifest index a8baaa5..92f2a9f 100644 --- a/acct-user/reposilite/Manifest +++ b/acct-user/reposilite/Manifest @@ -1,3 +1,4 @@ EBUILD reposilite-0.ebuild 331 BLAKE2B 833d690c07eecd84236e0ffd15a2e0290f1c406afe3c745b0323107f590a53b65f01beda3f2f1b012062c6e186c02fa2cb1bf8e992fbe8115d343c6f4a53ac63 SHA512 a429ebf96c7cfa06fc1b01c5f4c038681b8e436215718ca598563caf46337c761928b255c38c31edd482664a5f0feaf065b52596a71680faebc5912a7709aede -MISC ChangeLog 175 BLAKE2B c67cebcad4f57fa69afedc56312a9933f36e6e52ff959bb3a2a054bf0af506fd6f95f630e9dbfb8cf13e7a8bf28090b32d2ee27d84dd0ab648c97dbe40868a2c SHA512 c94ec4d193e80aafce6bd0d4bb0088377345b9c544bc48281a5cfe4b281be44a8cc7770bba2e5bc1cdc5fc9daf71f416cc818f275f84b68741305c97db958ed5 +EBUILD reposilite-1.ebuild 270 BLAKE2B a78959245678f35cdde982f644a876a0f45636bf05e34291b277b161e4ff8aae810ebaa259252d786305e043e898e8d53f1ec4e195fd72e7d69c6a35a05b7598 SHA512 36f1cf967abafa3d75034f015400490601c7c2070a44f12b1bd1fb9223be192b6956523b08aafde4278fac23a355f7b6b948251206d0c8bd9b72cc10b082c826 +MISC ChangeLog 327 BLAKE2B 30d90bffe571b9604f41c9715aea2fb427b8019365a3a7f0a867723ba92777d1e7296f793645f33c40e2155ea1d096ecd5d8ab375adf036174b5edfd19df87ac SHA512 9d794b0e0622564da8112bf766e9053bccf2175e173263ee3f357a561c6518364b7c16967c9cc840ab380b70bc1141a11251122763c4b47e45d337fff9cbacfd MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 diff --git a/acct-user/reposilite/reposilite-1.ebuild b/acct-user/reposilite/reposilite-1.ebuild new file mode 100644 index 0000000..d136404 --- /dev/null +++ b/acct-user/reposilite/reposilite-1.ebuild @@ -0,0 +1,14 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit acct-user + +DESCRIPTION="User for the reposilite maven repo server" +KEYWORDS="~amd64" + +ACCT_USER_ID=-1 +ACCT_USER_GROUPS=( ${PN} ) + +acct-user_add_deps diff --git a/dev-util/reposilite/ChangeLog b/dev-util/reposilite/ChangeLog index 728740f..780dd2a 100644 --- a/dev-util/reposilite/ChangeLog +++ b/dev-util/reposilite/ChangeLog @@ -1,3 +1,12 @@ + 15 Aug 2022; Manuel Friedli reposilite-3.0.1.ebuild: + dev-util/reposilite: Dep on user >=1 + +*reposilite-3.0.1 (15 Aug 2022) + + 15 Aug 2022; Manuel Friedli +files/reposilite-3.service, + +reposilite-3.0.1.ebuild: + dev-util/reposilite: Let's see how v3 works :) + *reposilite-2.9.26 (27 Dec 2021) 27 Dec 2021; Manuel Friedli +files/reposilite-2.9.26.cdn, diff --git a/dev-util/reposilite/Manifest b/dev-util/reposilite/Manifest index 18633d1..9777137 100644 --- a/dev-util/reposilite/Manifest +++ b/dev-util/reposilite/Manifest @@ -1,7 +1,10 @@ AUX app.ini 718 BLAKE2B 6d8abd16cc2eb522e5111d4874692a37698e59ed3db0d2072572f4ab7b6edcabe890aa9129beba932dadd9340e8d5491289ec562f1f9e7ac864fcc89d8389147 SHA512 5d2a6664c5b0bff5d1eeab2a07b7246230837273decaabbe6376b7315c18a897887530b1fdd7cd68eea9c6ffac90ef90d6769ef15e75129d6b67a0ca0ec775a5 AUX reposilite-2.9.26.cdn 2372 BLAKE2B fdfa36d7ab9992f467f9f59383670dcbb0db7181f4c716dfad61b3790ce1dd53ad644cf536b4a3136e22359e0e3c2507e0b08cc24e24847604c29774f9c2c214 SHA512 ab1b5457b0ac569e593442ca544819377ec3c57c3f5aa6887c130ba56cdb0d899e4a0d0406c52992f98b718b906ff47b0e28ef79c84425f9e145ea87e27cfea8 +AUX reposilite-3.service 417 BLAKE2B 5daf93164c3488870d1cd4a8c135ed29c9c6815ee24cabd291ac0fed70d6bb5adc45119303fb99b221807efb2cb6df33c26c877ca8af8eed99aa1a47a46fb30b SHA512 257111e615213ca4379dcd731f926299cd96f1aff03706ae980a12e3aaaebf3c2148989e9d47b68e32578b72d2207643e01d581ed75f63b99d5586850d1778a3 AUX reposilite.service 483 BLAKE2B 3a808346b9250020d0d089519bbbdbad2be919e44a1f3d578945ba3a1b2fcda416678048d0648e97b1821fb6c9e23990788334e22c69ad0cb5b5b489e449eaa2 SHA512 9c182670a37cf7f48f7e7d1350fdbf60cd39b1b065c4928f5cf7e5f8d6e6d0bd2ceafff8e091ebb09125fa707a70e4b30b4ee0224668de79434547fc3e78f839 AUX reposilite.sh 744 BLAKE2B 524b3120b59b60c01e65654e4c7bf34d359e61b29f0e31a4762fda179c7b61ac91bea91ffb1c9d5d0470e0ae3683cad8ff32086125946c42b08a9fd156f65f10 SHA512 c781849ae3c116179ee3446ccf8620814514e4128df6cad917a010ffaba9efdd6cddda686a77ef348b80a920cd67b7ba19bc2a62c519ca7a795acdc8cc486c50 +DIST reposilite.jar 48898529 BLAKE2B cd71c5a636d3ae351409335cbc1cf190c018b06f9a4ec4451fa0eaa859adfc539dbc7d97de1847ace11a75fe79eb8e842e661b06ef931c45bb979ea519d5c731 SHA512 3cd8851be2d0ab917a1f8331327f99f9069f350c8d922e9d2481be954c8bf9b68bcb50b4243fa1b25b1ba0523df1bcc09ed00c641059228ed2579068d4d45f8d EBUILD reposilite-2.9.26.ebuild 944 BLAKE2B bff282682e0bbab5de6ccaa71653a75f36a5a91d1b200c8b83d487a6b16d93ddacb92ea3f0681b358c7ea4b5f29641711c04fa892291dcaea22a99b5c649bc0f SHA512 6990f57a449f33bf544110ce141a9d4ce47f686ab7ca68c9821cee2abda71aa749a37fe0aca5fdd4207e50143c560efd49ed8ebaaf97dc553ff12f3daa88a675 -MISC ChangeLog 2413 BLAKE2B df0c0ecdc8da493651ea0fc0e7cb0cce08a953be13457b1e4d39002edb0929f8db94a53f263251a31f612042bad49c8310b1e58cf3e0a60ac10d550bd364a54a SHA512 243a1af2f86b661eebcff981d819dd7b9a6ff79f21ad0d9666e12000625460edf0e27a94821cf93341997b9e99718f60992b4cb5809c5abc4cc0745fae1aaaa5 +EBUILD reposilite-3.0.1.ebuild 1223 BLAKE2B afcfc51c610e2a3487bfa94ec96c54a94307777ee9f68ebb95723c0ca4d6942dd8df21f1aae1f3dcac94815e1047caa743fa701097bff76b14331938648a05d6 SHA512 9a2a683a8efd9cb0ed50771e979e3f1c940137731c68f448238e19c53030abe587c43f806396f63828c7a1a95c6a2e5159467ab23afefa33133dd50ffaa99277 +MISC ChangeLog 2718 BLAKE2B e354a490734cf60939913a724cd59fb1abc52e28f6960df73e0f3c3e7e6db4ddebc9be645d82c9be88626605911283babbb27b9f9a539d14e23d76e2f6bee097 SHA512 8b47ee364b837bdc821975b199b28b942bc29df87a0717fbfe27a6ad66b48e585989a9c59d81754f4842b391e02c7fea5c150a957cfbc183785b57b7c4650daf MISC metadata.xml 248 BLAKE2B cb50cad2c614a99daa2e236f9e0d0fab1ab20a898c0b0f0c28a1387820ab1f2b9dd4d396a3b38f732b493824f96a29ee5894e80e09dbd08dff62c1aaba3feaa0 SHA512 29f9b96b0a77546cce6a8bffd82fae2fd0939d32a7a05ffd0d91f9250a019a3ddaa599b93988c82daabb9c4c4b284dd947e2c47f6ca7727b8539cffa91bcb8c2 diff --git a/dev-util/reposilite/files/reposilite-3.service b/dev-util/reposilite/files/reposilite-3.service new file mode 100644 index 0000000..c028d5b --- /dev/null +++ b/dev-util/reposilite/files/reposilite-3.service @@ -0,0 +1,19 @@ +[Unit] +Description=Reposilite Maven Repository hosting server +Documentation=https://reposilite.com/guide/about + +After=network.target +Requires=network.target + +[Service] +User=reposilite +Group=reposilite +WorkingDirectory=/opt/reposilite +ExecStart=java -jar reposilite.jar --config=/etc/reposilite/reposilite.cdn +SuccessExitStatus=0 +TimeoutStopSec=10 +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target diff --git a/dev-util/reposilite/reposilite-3.0.1.ebuild b/dev-util/reposilite/reposilite-3.0.1.ebuild new file mode 100644 index 0000000..e5f5d52 --- /dev/null +++ b/dev-util/reposilite/reposilite-3.0.1.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." +}