From b66ecfb4dc09ba76e37787df2f7df1a78c3c1cc9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 16 Sep 2024 12:11:35 +0100 Subject: gentoo auto-resync : 16:09:2024 - 12:11:35 --- sci-geosciences/Manifest.gz | Bin 11582 -> 11585 bytes sci-geosciences/owntracks-recorder/Manifest | 4 +- .../owntracks-recorder-0.9.7.ebuild | 113 --------------------- .../owntracks-recorder-0.9.8.ebuild | 112 ++++++++++++++++++++ 4 files changed, 114 insertions(+), 115 deletions(-) delete mode 100644 sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.7.ebuild create mode 100644 sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.8.ebuild (limited to 'sci-geosciences') diff --git a/sci-geosciences/Manifest.gz b/sci-geosciences/Manifest.gz index af9c6fddccb9..e910478b8a35 100644 Binary files a/sci-geosciences/Manifest.gz and b/sci-geosciences/Manifest.gz differ diff --git a/sci-geosciences/owntracks-recorder/Manifest b/sci-geosciences/owntracks-recorder/Manifest index 691aa796961f..4120f4226028 100644 --- a/sci-geosciences/owntracks-recorder/Manifest +++ b/sci-geosciences/owntracks-recorder/Manifest @@ -1,4 +1,4 @@ AUX ot-recorder.initd 284 BLAKE2B 8aced95bce377b0c7802faa22084b417bf01ba1e8da6c1bb9793635eb6811a576ddae69b3fa192f95b99b38c1222e4544c836f3fab674c30b5655b29e79786bb SHA512 32e50a4267403fc17365b9a6f651636aaafa475448654d63522cd61a1d8b35581304e692202d2edd48c31c5cdb7d95af4bd3910fd0e08e9b3415b47c6e93d453 -DIST owntracks-recorder-0.9.7.tar.gz 4492791 BLAKE2B 008a75c52e381345b8a5d7fb8e1da808a66c6f94b367ef6bf937737e45ea7022cac4cfcf4632ffd8d87b682121b0ef59b007515d20cc163a8d3532a937c4d156 SHA512 e68e61ffeec864c46355e21e08656097a8b9828152fcf897da29ecbc8035f9a8d038580f230d6ab0f4d48289072545c7fb20f03d25bf8c3266af425db8bb4a65 -EBUILD owntracks-recorder-0.9.7.ebuild 2211 BLAKE2B 3a66b292a6d9029caf7df7984426045471fa8a21a69169d72d78bf6bc8ce130eb26486cd364d2dac07339d6f51487412f96bc4e0a24de202749c5d687e05c7f6 SHA512 9fed1136195353cf9c23344f5f392891160f3b952b1384f9003ec0568fe124d0bd5e05a2492317ed0d2de5a01fcf2605991dc2a665529eaf408ec5b3a08afeaf +DIST owntracks-recorder-0.9.8.tar.gz 4494495 BLAKE2B 9660419a6970040d6d629b9e6732a7f3311552797aa206d8fdd907dc5efa7e85f22249df0d7a79406d3e087b28fde939a8d8a41edc5235227424659dc752adb4 SHA512 0cf8ba002d95309ae3a51ed2c4c3f55b1aff6a53774c747853946a78344b5c30ce3041d034178ba5e0b52d580f9a51ff6d953fd71b08ec3953f22d772d0fa5bb +EBUILD owntracks-recorder-0.9.8.ebuild 2210 BLAKE2B 8c60a0e319fa3c7147d817c72312863292dd69a229b2adbb3c1f1f589f01dc0ba3743afb0e2294791402e44f7ada8d25db2ee58e3f8f1ca32e8f7437e76b67d5 SHA512 650c96505f8869b3aae9a02835f21ea5c9a52adece84a72e63b95ac26e3091ed759cdd3cba4f16597e15ed372df9701fe313fc9de76e63024bb6e39705824a63 MISC metadata.xml 946 BLAKE2B 1594712b2be05b7bd278766f3d9513fce7f95020f82ce001b4eda30fbb964da850bb7d0f233ffe8afb612856e067ed6c18945caaa0331a77ce18054e7c37f75a SHA512 0c103e05a62f95e6ad1ed9dc03c6bef4a34606b2c2d13c236cec15a2234de80e2e2a58f227de76f183d561384c08b87b350548975f2deba48ebe075d995b7a85 diff --git a/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.7.ebuild b/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.7.ebuild deleted file mode 100644 index 07e05344ddb2..000000000000 --- a/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.7.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{3..4} ) - -inherit lua-single prefix systemd toolchain-funcs - -MY_PN="ot-recorder" -DESCRIPTION="Stores and accesses location data published by the OwnTracks apps" -HOMEPAGE="https://owntracks.org" -SRC_URI="https://github.com/${PN/-//}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-2+ MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64" -IUSE="crypt +http greenwich kill lua +mqtt +ping +tours" - -REQUIRED_USE=" - lua? ( ${LUA_REQUIRED_USE} ) - tours? ( http ) -" - -IDEPEND=" - acct-group/owntracks - acct-user/owntracks -" - -DEPEND=" - dev-db/lmdb:= - dev-libs/libconfig:= - net-misc/curl - crypt? ( dev-libs/libsodium:= ) - lua? ( ${LUA_DEPS} ) - mqtt? ( app-misc/mosquitto ) - tours? ( sys-apps/util-linux ) -" - -RDEPEND=" - ${IDEPEND} - ${DEPEND} -" - -BDEPEND=" - virtual/pkgconfig -" - -S="${WORKDIR}/${P#*-}" - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -src_prepare() { - default - hprefixify etc/${MY_PN}.service - mv $(prefixify_ro config.mk.in) config.mk || die -} - -src_configure() { - myconf=( - WITH_MQTT=$(usex mqtt) - WITH_PING=$(usex ping) - WITH_LUA=$(usex lua) - WITH_ENCRYPT=$(usex crypt) - WITH_KILL=$(usex kill) - WITH_HTTP=$(usex http) - WITH_TOURS=$(usex tours) - WITH_GREENWICH=$(usex greenwich) - WITH_TZ=yes - - CC="$(tc-getCC)" - CPP="$(tc-getCPP)" - PKG_CONFIG="$(tc-getPKG_CONFIG)" - INSTALLDIR="${EPREFIX}/usr" - STORAGEDEFAULT="${EPREFIX}/var/db/${MY_PN}" - DOCROOT="${EPREFIX}/var/www/${MY_PN}/htdocs" - CONFIGFILE="${EPREFIX}/etc/${MY_PN}.conf" - - # The .pc file currently hardcodes "lib". - MOSQUITTO_LIBS=-lmosquitto - - # Allow further customisation by users. - "${OTR_CONF[@]}" - ) - - use lua && myconf+=( - LUA_CFLAGS="$(lua_get_CFLAGS)" - LUA_LIBS="$(lua_get_LIBS)" - ) -} - -src_compile() { - emake "${myconf[@]}" -} - -src_install() { - emake install "${myconf[@]}" DESTDIR="${ED}" - dodoc *.md doc/*.md - - newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN} - systemd_dounit etc/${MY_PN}.service - - keepdir /var/db/${MY_PN} -} - -pkg_preinst() { - fowners owntracks:owntracks /var/db/${MY_PN} - fperms 750 /var/db/${MY_PN} - - fowners root:owntracks /etc/${MY_PN}.conf - fperms 0640 /etc/${MY_PN}.conf -} diff --git a/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.8.ebuild b/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.8.ebuild new file mode 100644 index 000000000000..e06c599341c4 --- /dev/null +++ b/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.8.ebuild @@ -0,0 +1,112 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{3..4} ) + +inherit lua-single prefix systemd toolchain-funcs + +MY_PN="ot-recorder" +DESCRIPTION="Stores and accesses location data published by the OwnTracks apps" +HOMEPAGE="https://owntracks.org" +SRC_URI="https://github.com/${PN/-//}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P#*-}" +LICENSE="GPL-2+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" +IUSE="crypt +http greenwich kill lua +mqtt +ping +tours" + +REQUIRED_USE=" + lua? ( ${LUA_REQUIRED_USE} ) + tours? ( http ) +" + +IDEPEND=" + acct-group/owntracks + acct-user/owntracks +" + +DEPEND=" + dev-db/lmdb:= + dev-libs/libconfig:= + net-misc/curl + crypt? ( dev-libs/libsodium:= ) + lua? ( ${LUA_DEPS} ) + mqtt? ( app-misc/mosquitto ) + tours? ( sys-apps/util-linux ) +" + +RDEPEND=" + ${IDEPEND} + ${DEPEND} +" + +BDEPEND=" + virtual/pkgconfig +" + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_prepare() { + default + hprefixify etc/${MY_PN}.service + mv $(prefixify_ro config.mk.in) config.mk || die +} + +src_configure() { + myconf=( + WITH_MQTT=$(usex mqtt) + WITH_PING=$(usex ping) + WITH_LUA=$(usex lua) + WITH_ENCRYPT=$(usex crypt) + WITH_KILL=$(usex kill) + WITH_HTTP=$(usex http) + WITH_TOURS=$(usex tours) + WITH_GREENWICH=$(usex greenwich) + WITH_TZ=yes + + CC="$(tc-getCC)" + CPP="$(tc-getCPP)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + INSTALLDIR="${EPREFIX}/usr" + STORAGEDEFAULT="${EPREFIX}/var/db/${MY_PN}" + DOCROOT="${EPREFIX}/var/www/${MY_PN}/htdocs" + CONFIGFILE="${EPREFIX}/etc/${MY_PN}.conf" + + # The .pc file currently hardcodes "lib". + MOSQUITTO_LIBS=-lmosquitto + + # Allow further customisation by users. + "${OTR_CONF[@]}" + ) + + use lua && myconf+=( + LUA_CFLAGS="$(lua_get_CFLAGS)" + LUA_LIBS="$(lua_get_LIBS)" + ) +} + +src_compile() { + emake "${myconf[@]}" +} + +src_install() { + emake install "${myconf[@]}" DESTDIR="${ED}" + dodoc *.md doc/*.md + + newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN} + systemd_dounit etc/${MY_PN}.service + + keepdir /var/db/${MY_PN} +} + +pkg_preinst() { + fowners owntracks:owntracks /var/db/${MY_PN} + fperms 750 /var/db/${MY_PN} + + fowners root:owntracks /etc/${MY_PN}.conf + fperms 0640 /etc/${MY_PN}.conf +} -- cgit v1.2.3