From d0349ca0f4903608beca459a9db2068dab9fa6ea Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 26 Oct 2024 04:04:26 +0100 Subject: gentoo auto-resync : 26:10:2024 - 04:04:26 --- sci-geosciences/Manifest.gz | Bin 11586 -> 11583 bytes sci-geosciences/owntracks-recorder/Manifest | 6 +- sci-geosciences/owntracks-recorder/metadata.xml | 1 - .../owntracks-recorder-0.9.8.ebuild | 112 --------------------- .../owntracks-recorder-0.9.9.ebuild | 111 ++++++++++++++++++++ 5 files changed, 114 insertions(+), 116 deletions(-) delete mode 100644 sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.8.ebuild create mode 100644 sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.9.ebuild (limited to 'sci-geosciences') diff --git a/sci-geosciences/Manifest.gz b/sci-geosciences/Manifest.gz index 394dc3446694..e3f0e07ec93e 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 4120f4226028..ea9c744ed416 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.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 +DIST owntracks-recorder-0.9.9.tar.gz 4493953 BLAKE2B a2b8b6c0f9e7da3ebc8db9ed4c5c29957a92115dc9c3547df3fa7372a166ba6680a1b22a46922318b72a499a83792ee4b5ad39c8154ae455e78abfbcad5edc3e SHA512 e8c42868f7bb74856688a23f3c5db17fcc55f4ea16006d6fd95e41e9666b07368cb7ec3b475e7a5366c564438c5f221c71128827d8214664e31ce5a43a548295 +EBUILD owntracks-recorder-0.9.9.ebuild 2165 BLAKE2B 9bef3d23c7111bfd92b043131c769fa24cabdef071020e0b22f394e12c7257e3effb14350ba136a1d19271f7ec79391494d9a447242baec9bf1f81b06353c5b3 SHA512 0f2c3658ab9fc786e265ba3257a0945870c1dc929e4d69d05426543d22d48eced33836a74028179b25eeafe99dbf3c6846647a9a089cd96cc3ba0f222fc08b86 +MISC metadata.xml 862 BLAKE2B 5782e65026cd2915826f0e2d0dab7a834569a950ec679451f073e5ab82b67998e88aa41d880cdaa1b33e22fd7473fd21f685b814726070f2cccb8663c434b73e SHA512 9b50d1ce0e59079c40f897b22b52d9a7c0e6da0732cebfe6c0f0358e38582e0315db8759f47e20dc4aebb1a0d0a3e8db3df39bb8b1e4f6c79e1ef52409837ec3 diff --git a/sci-geosciences/owntracks-recorder/metadata.xml b/sci-geosciences/owntracks-recorder/metadata.xml index 2292ec7fa9c4..d27cf4d40860 100644 --- a/sci-geosciences/owntracks-recorder/metadata.xml +++ b/sci-geosciences/owntracks-recorder/metadata.xml @@ -10,7 +10,6 @@ Enable support for payload encryption with dev-libs/libsodium - Enable support for the OwnTracks Greenwich firmware Enable support for the built-in HTTP REST API Enable support removing data via the API (dangerous) Enable support for Lua hook integration diff --git a/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.8.ebuild b/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.8.ebuild deleted file mode 100644 index e06c599341c4..000000000000 --- a/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.8.ebuild +++ /dev/null @@ -1,112 +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" -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 -} diff --git a/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.9.ebuild b/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.9.ebuild new file mode 100644 index 000000000000..799936a13978 --- /dev/null +++ b/sci-geosciences/owntracks-recorder/owntracks-recorder-0.9.9.ebuild @@ -0,0 +1,111 @@ +# 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 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_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