From 0e3680e4c16ff28839745eec6711889fc2e8d7e2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 6 Nov 2023 22:18:32 +0000 Subject: gentoo auto-resync : 06:11:2023 - 22:18:31 --- www-apps/miniflux/Manifest | 8 +-- www-apps/miniflux/miniflux-2.0.44.ebuild | 107 ------------------------------- www-apps/miniflux/miniflux-2.0.45.ebuild | 2 +- www-apps/miniflux/miniflux-2.0.49.ebuild | 107 +++++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+), 112 deletions(-) delete mode 100644 www-apps/miniflux/miniflux-2.0.44.ebuild create mode 100644 www-apps/miniflux/miniflux-2.0.49.ebuild (limited to 'www-apps/miniflux') diff --git a/www-apps/miniflux/Manifest b/www-apps/miniflux/Manifest index 1e60b00c34ad..1d6049e280f7 100644 --- a/www-apps/miniflux/Manifest +++ b/www-apps/miniflux/Manifest @@ -3,10 +3,10 @@ AUX miniflux.conf 809 BLAKE2B 4465c338fa13d3465731fcb98616d08d4fbcfdad6e10eb3f08 AUX miniflux.confd 171 BLAKE2B 2d38a12678c7873ac31473a2160d1416d168e384c519fe48feebf4ea3d4e6c734ff198e652df8b0af7da5c3543eff5321a02b6991de131d746b89e3b5fb7db08 SHA512 13b43595e7a5bca01b9fbff9fc6979d408b32109bafc23cfae29a9470b5333a244ee1f1bc94ba436d93e2d2c55640690202ac1201884f9ea5499fa0161af059a AUX miniflux.initd-r1 611 BLAKE2B 74d84f8f24a672c2fd4adedf6dc8629307638bed4a04e7c2948beabb0a7f1710a78f0054b23cc906caa08d27310473d5f45766ef9a6d04dfdef4ba7c1199a682 SHA512 7dbc37b56b8d099d3a95c5707c1666d177c03dc46d42dcc3827b771fc9cee34d489c7f240049a14b6784a4434183c70e0ba9679e982608121a8e4098e1a45a9e AUX miniflux.service 463 BLAKE2B e6f1a3717e985f3ddae4224472b753f293a73ab015acbe80ddf20d2d9e505aa9fd47e2fca2c86749067288a1f10787e16179a41e5c30d3f37f53e83f798719b8 SHA512 c38fe3f19162be02a44a353281690d40e90cb8ac8126ea4f9aab1218e128da0be3d1152cf260fdfd19ecfed2ea4396ae4a6c645088a1b212b58a3cba8387ce60 -DIST miniflux-2.0.44-deps.tar.xz 38348604 BLAKE2B 6709ad503ec64ea64fb35624ff0f6d641a6ccac78d52469a0a6c6e905e505c78866603f310e82c5ff7e1bcd7656cb0d9b3516bb9d0822d7a3f8bbbdadaff0aca SHA512 f463a5a63c5611e8b90ebf15127e05e2df878bb6c49a347f182c5df40feea7e0b2fa21cff4c92b6a99f82e8be4cbd113999f0b3ba6187897af9fad49c9a2aecb -DIST miniflux-2.0.44.tar.gz 574354 BLAKE2B a0c29cb88d88584619e6890a01af15d7b7d9a6ab230b60d76c01d95e82c5ef665aeb19f120180bc328ef3847cae2c87096a096e8f0d0455f7694539556453e5b SHA512 6c1057bcb4daf3110a8885363e2386c6d68776e917f0277299ab94fb46553a8a1b3acf4a2893ab03d30e2b3c26118257e68a7f33d5d436884bfafd8e06fc5e0a DIST miniflux-2.0.45-deps.tar.xz 38551640 BLAKE2B b4dfe2c8bb4d96ba9b4adcb23078b7555115fed8ac346c47411fe406b086330e12f62ca71162d7eab6e1564ae21d1330d93e6e56fde8c421ff8df56cb3ca520a SHA512 79a659660daa01b2909a2e726dc37a789645a3e42c9132ad0e6cc7dd38ae08ad42075339da729fc5942e456fcb5037a414d26952731497586f322c9073f39872 DIST miniflux-2.0.45.tar.gz 580517 BLAKE2B 804c109a7cda5cd4aa4a65130b70c4d1ebb00decbdbb15c6175e14726aa1d0944d9803898e8ace8bdca083e4668f1fe2230a588793082b63967ef11d7e68827f SHA512 f2770105b05251d8ec1cd63fc8fde4ac45ba6d734c2bd96b574a4c0e33b6a9c8ce67af48d9adb29794a292c47f2f7059fea8a6e20708d0fefa6de4cbaa647328 -EBUILD miniflux-2.0.44.ebuild 2779 BLAKE2B 07a506cd72b35d5025711e2b181f2c1934ae980f4bf3c715a48b4680eb9fa5eee1a9561a7f0b82495fce41b40e2eb5ab9ab488fcf4b470ad570e4b588ad49f84 SHA512 ccaeaaa01b67e504f69884cf90071b870722ad56079ddf02b1e91c5b1975fda575880696b69d4d3909a315cf79493d181ee21b45bc88390ce2c9d3ca6510f38b -EBUILD miniflux-2.0.45.ebuild 2781 BLAKE2B 72e5e687665ad6d0326be63374f4fa8169b05b5b6fc41f61e5960e8b546a606d672a7a86e05709c4745840d1cee1c34c344f36e46b9e71247dabc6dfa2a9572e SHA512 5d521853cad6d0cd4286e7369ab099f13aa689f74c3d1d34a03418624133fee261dc789087ec462a653fdf7bfddb490be308f0733678df8ab10123405760845f +DIST miniflux-2.0.49-deps.tar.xz 38155476 BLAKE2B 9631c23af181cf86bd197066a453c84b09840cc71a870eba0ad4e7cdb2720fe952fca7f6a93f3e9e2e2d8c9a13629da0f758b21a4afe5849186d653b44a3f097 SHA512 c51228a3f70d73788be63ed5e7f24baeee9a369351e07bd7715a60c6b340d3e90ebd25adfb50d3e2144a8b0c7d609fca3bacdd51a1d61ff7916e6a7a439b6dc1 +DIST miniflux-2.0.49.tar.gz 614888 BLAKE2B 77fae7eafcc55d02e3e00e6c008cb6727ff48423512e9dde420b84a63858e6ba9ed33dfd61907a46ca686b211f604d452e2ad5944b709094263ca0949a6128c8 SHA512 59505f5e60228ff94cf2cabc872117cd08c06edb0df6dfb4487153add27cc4e485d7cb71330333df155f158eb650f684d55f0460ba5404f5e26b9603123fd860 +EBUILD miniflux-2.0.45.ebuild 2779 BLAKE2B 7014376c3aff30ef75cc5b9520fa62936347e777904f22480a1f5a0d6844b63739b91d30a0b30f9bfbc58fdc63d1ee66efbe7a9808c77f77e8aa03dd7c0be38b SHA512 7b940bc78f2b32ee8f3dbdda16db43ab48a107e4df2fc48694c01048b5ade4a082932f58ad988d2836a3379af13a96b40784d78c0decabce98eadae59a19acf6 +EBUILD miniflux-2.0.49.ebuild 2817 BLAKE2B 98e277ae47933adf5102468769c77e013015b8d5149be8db2f49dab6da15d783bbe83f268ea845940032e9638b7c28c64df5b2fed695ecfce1ef53f3519be3a3 SHA512 7a555e3a4e949fde1caaafd00a9b0e78c3b5ebfa2731167434d8dfade81df0708dbb68da58e111e9cf2cdd1d33362373dc2883c7c155d71d428227e810cbb048 MISC metadata.xml 329 BLAKE2B 50e914926db603f0d6e89f009847cab4ed7e771c33779da94e71d78dd4322457a19c8b1f4d9a27670fcde68ffd4480582c8def09973b84cc69bcf670fabfae19 SHA512 c00ceaf0e7d32f4395cdba01ce2af24ce7ab2d50baa250abe035f78d905b864fc1e0947226fce655adb5b0355030b30adabd6c64d306b83a5b8f6aae70dcdbcf diff --git a/www-apps/miniflux/miniflux-2.0.44.ebuild b/www-apps/miniflux/miniflux-2.0.44.ebuild deleted file mode 100644 index 4e238162adbc..000000000000 --- a/www-apps/miniflux/miniflux-2.0.44.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd - -# Get with 'git rev-parse --short HEAD' -MY_GIT_COMMIT="4c0c6581" - -DESCRIPTION="Minimalist and opinionated feed reader" -HOMEPAGE="https://miniflux.app https://github.com/miniflux/v2" -SRC_URI="https://github.com/${PN}/v2/archive/${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/${P}-deps.tar.xz" - -LICENSE="Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="amd64 ppc64 ~riscv" - -RESTRICT="test" # requires network access - -DEPEND="acct-user/miniflux" -RDEPEND="${DEPEND} - >=dev-db/postgresql-9.5 -" - -S="${WORKDIR}/v2-${PV}" - -src_compile() { - ego build -ldflags=" - -s -w - -X 'miniflux.app/version.Version=${PV}' - -X 'miniflux.app/version.Commit=${MY_GIT_COMMIT}' - -X 'miniflux.app/version.BuildDate=$(date +%FT%T%z)' - " -o miniflux main.go -} - -src_install() { - dobin miniflux - - insinto /etc - doins "${FILESDIR}/${PN}.conf" - - newconfd "${FILESDIR}/${PN}.confd" ${PN} - - newinitd "${FILESDIR}/${PN}.initd-r1" ${PN} - systemd_dounit "${FILESDIR}/${PN}.service" - - fowners miniflux:root /etc/${PN}.conf - fperms o-rwx /etc/${PN}.conf - - local DOCS=( - ChangeLog - README.md - "${FILESDIR}"/README.gentoo - ) - - # Makefile has no install target, so call einstalldocs directly - einstalldocs - - doman "${PN}".1 -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # This is a new installation - - echo - elog "Before using miniflux, you must first create and initialize the database" - elog "and enable the hstore extension for it." - elog "" - elog "Afterwards, create your first admin user by running:" - elog " miniflux -create-admin" - else - # This is an existing installation - - echo - elog "If you are upgrading from a previous version, schema migrations must be performed." - elog "To perform the migrations, stop the daemon, backup your database, and run:" - elog " emerge --config =${PF}" - fi - - echo - elog "Please read" - elog "" - elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*" - elog "" - elog "for more information." -} - -pkg_config() { - # To be safe, avoid doing migrations if miniflux is running - if pgrep miniflux; then - die "miniflux appears to be running, refusing to continue." - fi - - # Extract the database URL variable instead of just sourcing the config file - # because miniflux itself may interpret quotes as part of the URL - local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' "${EROOT}/etc/${PN}.conf")" - [[ -n "${DATABASE_URL}" ]] || die "Failed getting DATABASE_URL from config file" - - DATABASE_URL="${DATABASE_URL}" "${EROOT}"/usr/bin/miniflux -migrate \ - || die "miniflux -migrate failed. Please check the above output for errors." - - echo - elog "Database migrations complete." -} diff --git a/www-apps/miniflux/miniflux-2.0.45.ebuild b/www-apps/miniflux/miniflux-2.0.45.ebuild index ed9f217ff691..ba48c8291c75 100644 --- a/www-apps/miniflux/miniflux-2.0.45.ebuild +++ b/www-apps/miniflux/miniflux-2.0.45.ebuild @@ -15,7 +15,7 @@ SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/${P}-deps.tar.xz" LICENSE="Apache-2.0 BSD BSD-2 MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="amd64 ppc64 ~riscv" RESTRICT="test" # requires network access diff --git a/www-apps/miniflux/miniflux-2.0.49.ebuild b/www-apps/miniflux/miniflux-2.0.49.ebuild new file mode 100644 index 000000000000..12650bceb1d6 --- /dev/null +++ b/www-apps/miniflux/miniflux-2.0.49.ebuild @@ -0,0 +1,107 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +# Get with 'git rev-parse --short HEAD' +MY_GIT_COMMIT="54eb5003" + +DESCRIPTION="Minimalist and opinionated feed reader" +HOMEPAGE="https://miniflux.app https://github.com/miniflux/v2" +SRC_URI="https://github.com/${PN}/v2/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~riscv" + +RESTRICT="test" # requires network access + +DEPEND="acct-user/miniflux" +RDEPEND="${DEPEND} + >=dev-db/postgresql-9.5 +" + +S="${WORKDIR}/v2-${PV}" + +src_compile() { + ego build -ldflags=" + -s -w + -X 'miniflux.app/v2/internal/version.Version=${PV}' + -X 'miniflux.app/v2/internal/version.Commit=${MY_GIT_COMMIT}' + -X 'miniflux.app/v2/internal/version.BuildDate=$(date +%FT%T%z)' + " -o miniflux main.go +} + +src_install() { + dobin miniflux + + insinto /etc + doins "${FILESDIR}/${PN}.conf" + + newconfd "${FILESDIR}/${PN}.confd" ${PN} + + newinitd "${FILESDIR}/${PN}.initd-r1" ${PN} + systemd_dounit "${FILESDIR}/${PN}.service" + + fowners miniflux:root /etc/${PN}.conf + fperms o-rwx /etc/${PN}.conf + + local DOCS=( + ChangeLog + README.md + "${FILESDIR}"/README.gentoo + ) + + # Makefile has no install target, so call einstalldocs directly + einstalldocs + + doman "${PN}".1 +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # This is a new installation + + echo + elog "Before using miniflux, you must first create and initialize the database" + elog "and enable the hstore extension for it." + elog "" + elog "Afterwards, create your first admin user by running:" + elog " miniflux -create-admin" + else + # This is an existing installation + + echo + elog "If you are upgrading from a previous version, schema migrations must be performed." + elog "To perform the migrations, stop the daemon, backup your database, and run:" + elog " emerge --config =${PF}" + fi + + echo + elog "Please read" + elog "" + elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*" + elog "" + elog "for more information." +} + +pkg_config() { + # To be safe, avoid doing migrations if miniflux is running + if pgrep miniflux; then + die "miniflux appears to be running, refusing to continue." + fi + + # Extract the database URL variable instead of just sourcing the config file + # because miniflux itself may interpret quotes as part of the URL + local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' "${EROOT}/etc/${PN}.conf")" + [[ -n "${DATABASE_URL}" ]] || die "Failed getting DATABASE_URL from config file" + + DATABASE_URL="${DATABASE_URL}" "${EROOT}"/usr/bin/miniflux -migrate \ + || die "miniflux -migrate failed. Please check the above output for errors." + + echo + elog "Database migrations complete." +} -- cgit v1.2.3