diff options
Diffstat (limited to 'linhes')
47 files changed, 298 insertions, 535 deletions
diff --git a/linhes/calamares/.SRCINFO b/linhes/calamares/.SRCINFO new file mode 100644 index 0000000..31fccaf --- /dev/null +++ b/linhes/calamares/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = calamares + pkgdesc = Distribution-independent installer framework + pkgver = 3.4.2 + pkgrel = 2 + url = https://codeberg.org/Calamares/calamares + arch = i686 + arch = x86_64 + license = GPL-3.0-or-later + makedepends = extra-cmake-modules + makedepends = libglvnd + makedepends = ninja + makedepends = qt6-tools + makedepends = qt6-translations + depends = kcoreaddons + depends = kpmcore + depends = libpwquality + depends = qt6-declarative + depends = qt6-svg + depends = yaml-cpp + source = calamares-3.4.2.tar.gz::https://codeberg.org/Calamares/calamares/releases/download/v3.4.2/calamares-3.4.2.tar.gz + sha256sums = 733bbbb00dc9f84874bd5c22960952f317ea2537565431179fa2152b2fbfdccc + +pkgname = calamares diff --git a/linhes/calamares/.gitignore b/linhes/calamares/.gitignore new file mode 100644 index 0000000..018a3de --- /dev/null +++ b/linhes/calamares/.gitignore @@ -0,0 +1,4 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore diff --git a/linhes/calamares/PKGBUILD b/linhes/calamares/PKGBUILD index 4acad0c..be5bf9e 100644 --- a/linhes/calamares/PKGBUILD +++ b/linhes/calamares/PKGBUILD @@ -1,46 +1,88 @@ -# Ezarcher Calamares Installer pkgbuild +# Maintainer: +# Contributor: Rustmilian Rustmilian@proton.me -pkgname=calamares -pkgver=3.3.12 -_pkgver=3.3.12 +_pkgname="calamares" +pkgname="$_pkgname" +pkgver=3.4.2 pkgrel=2 -pkgdesc='Distribution-independent installer framework' -arch=('x86_64') -license=(GPL) -url="https://github.com/calamares/calamares" -license=('LGPL') -depends=('cryptsetup' 'dmidecode' 'doxygen' 'gptfdisk' 'hwinfo' 'kconfig' 'kcoreaddons' 'ki18n' 'kparts' - 'kpmcore' 'kservice' 'kwidgetsaddons' 'libatasmart' 'libplasma' 'libpwquality' 'polkit-qt6' - 'pybind11' 'python' 'qt6-declarative' 'qt6-svg' 'qt6-tools' 'qt6-virtualkeyboard' 'qt6-webengine' - 'rsync' 'solid' 'squashfs-tools' 'udisks2' 'upower' 'yaml-cpp') -makedepends=('cmake' 'extra-cmake-modules' 'gawk' 'git' 'kpmcore' 'python-jsonschema' 'python-pyaml' - 'python-unidecode') - -source=("$pkgname-$pkgver.tar.gz::https://github.com/calamares/calamares/releases/download/v$pkgver/calamares-$pkgver.tar.gz") -sha256sums=('f44110a91a4394f34728042136af4b906541babc37e72b3b33664888b3220f2d') +pkgdesc="Distribution-independent installer framework" +url="https://codeberg.org/Calamares/calamares" +license=("GPL-3.0-or-later") +arch=('i686' 'x86_64') + +depends=( + 'kcoreaddons' + 'kpmcore' + 'libpwquality' + 'qt6-declarative' + 'qt6-svg' + 'yaml-cpp' +) +makedepends=( + 'extra-cmake-modules' + 'libglvnd' + 'ninja' + 'qt6-tools' + 'qt6-translations' +) + +_pkgext="tar.gz" +source=("$_pkgname-$pkgver.$_pkgext"::"$url/releases/download/v$pkgver/$_pkgname-$pkgver.$_pkgext") +sha256sums=('733bbbb00dc9f84874bd5c22960952f317ea2537565431179fa2152b2fbfdccc') build() { - cd ${srcdir}/calamares-${pkgver} - - mkdir -p build - cd build - cmake .. \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DINSTALL_CONFIG=OFF \ - -DWITH_QT6=ON \ - -DWITH_PYBIND11=ON \ - -DSKIP_MODULES="tracking webview interactiveterminal initramfs netinstall \ - initramfscfg dracut dracutlukscfg finishedq summaryq \ - dummyprocess dummypython dummycpp usersq oemid packagechooser \ - dummypythonqt services-openrc keyboardq zfs zfshostid \ - localeq plasmalnf welcomeq notesqml packagechooserq" - make + local _skip_modules=( + dracut + dracutlukscfg + dummycpp + dummyprocess + dummypython + dummypythonqt + initramfs + initramfscfg + interactiveterminal + packagechooser + packagechooserq + services-openrc + ) + + # Correct source directory (inside src/) + local _pkgsrc_dir="$srcdir/$_pkgname-$pkgver" + + local _cmake_options=( + -B build + -S "$_pkgsrc_dir" + -G Ninja + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_INSTALL_PREFIX='/usr' + -DCMAKE_INSTALL_LIBDIR='lib' + -DWITH_QT6=ON + -DINSTALL_CONFIG=ON + -DSKIP_MODULES="${_skip_modules[*]}" + -DBUILD_TESTING=OFF + + # Explicit KDE install dirs to suppress warnings + -DKDE_INSTALL_BINDIR=/usr/bin + -DKDE_INSTALL_SBINDIR=/usr/sbin + -DKDE_INSTALL_LIBDIR=/usr/lib + -DKDE_INSTALL_LIBEXECDIR=/usr/libexec + -DKDE_INSTALL_INCLUDEDIR=/usr/include + -DKDE_INSTALL_LOCALSTATEDIR=/var + -DKDE_INSTALL_SHAREDSTATEDIR=/usr/share + -DKDE_INSTALL_DATAROOTDIR=/usr/share + -DKDE_INSTALL_DATADIR=/usr/share + -DKDE_INSTALL_LOCALEDIR=/usr/share/locale + -DKDE_INSTALL_MANDIR=/usr/share/man + -DKDE_INSTALL_INFODIR=/usr/share/info + -DKDE_INSTALL_SYSCONFDIR=/etc + + -Wno-dev + ) + + cmake "${_cmake_options[@]}" + cmake --build build } package() { - cd ${srcdir}/calamares-${pkgver}/build - make DESTDIR="$pkgdir" install - install -Dm644 "../calamares.desktop" "$pkgdir/usr/share/applications/calamares.desktop" + DESTDIR="$pkgdir" cmake --install build } diff --git a/linhes/certbot-dns-duckdns/PKGBUILD b/linhes/certbot-dns-duckdns/PKGBUILD index cb1f3dd..e04e65c 100644 --- a/linhes/certbot-dns-duckdns/PKGBUILD +++ b/linhes/certbot-dns-duckdns/PKGBUILD @@ -4,7 +4,7 @@ # Maintainer: eomanis at web dot de pkgname='certbot-dns-duckdns' -_pkgverUpstream="1.7.0" +_pkgverUpstream="1.8.0" pkgver="$_pkgverUpstream" pkgrel=1 pkgdesc="Plugin for certbot for a DNS-01 challenge with a DuckDNS domain" @@ -12,9 +12,9 @@ arch=('any') url='https://github.com/infinityofspace/certbot_dns_duckdns' license=('MIT') depends=('certbot' 'python-dnspython' 'python-requests') -makedepends=( 'python-build' 'python-installer' 'python-wheel' 'python-setuptools') +makedepends=( 'python-build' 'python-installer' 'python-setuptools' ) source=("https://github.com/infinityofspace/certbot_dns_duckdns/archive/refs/tags/v${_pkgverUpstream}.tar.gz") -sha384sums=('df71e7014252716790a058d375729926fd18db1b9d2066dc611ff3e869f5a49d626f03ca24af641f12614127da687602') +sha384sums=('6b979300c12140862d086fa59075f50e65cb05e106fd3e22e5db852ee620c3f36dd99ff6ed84f80b66f3470fa5d05310') build() { local srcRootDir="${srcdir}/certbot_dns_duckdns-${_pkgverUpstream}" diff --git a/linhes/certbot-dns-duckdns/__changelog b/linhes/certbot-dns-duckdns/__changelog deleted file mode 100644 index d9862a1..0000000 --- a/linhes/certbot-dns-duckdns/__changelog +++ /dev/null @@ -1 +0,0 @@ -PKGBUILD: add to makedepends python-setuptools diff --git a/linhes/ckbcomp/.SRCINFO b/linhes/ckbcomp/.SRCINFO index d41c3d6..9527072 100755 --- a/linhes/ckbcomp/.SRCINFO +++ b/linhes/ckbcomp/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = ckbcomp pkgdesc = Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol - pkgver = 1.244 + pkgver = 1.246 pkgrel = 1 url = https://salsa.debian.org/installer-team/console-setup arch = any license = GPL-2.0-or-later makedepends = git - source = console-setup-1.244.tar.gz::https://salsa.debian.org/installer-team/console-setup/-/archive/1.244/console-setup-1.244.tar.gz - sha256sums = f20bde550c8080140a062538d4157011152e57dcca3b9945fcdc6f1a8e5db383 + source = console-setup-1.246.tar.gz::https://salsa.debian.org/installer-team/console-setup/-/archive/1.246/console-setup-1.246.tar.gz + sha256sums = bfc1eb5615f9aeda83402865deb48fd0557c0967645555615b1ed60adc6b44d0 pkgname = ckbcomp depends = perl diff --git a/linhes/ckbcomp/PKGBUILD b/linhes/ckbcomp/PKGBUILD index bcd46ce..4d334d4 100644 --- a/linhes/ckbcomp/PKGBUILD +++ b/linhes/ckbcomp/PKGBUILD @@ -4,7 +4,7 @@ _pkgname="ckbcomp" pkgname="$_pkgname" -pkgver=1.244 +pkgver=1.246 pkgrel=1 pkgdesc="Compile a XKB keyboard description to a keymap suitable for loadkeys or kbdcontrol" url="https://salsa.debian.org/installer-team/console-setup" @@ -16,7 +16,7 @@ makedepends=('git') _pkgsrc="console-setup-$pkgver" _pkgext="tar.gz" source=("$_pkgsrc.$_pkgext"::"$url/-/archive/$pkgver/$_pkgsrc.$_pkgext") -sha256sums=('f20bde550c8080140a062538d4157011152e57dcca3b9945fcdc6f1a8e5db383') +sha256sums=('bfc1eb5615f9aeda83402865deb48fd0557c0967645555615b1ed60adc6b44d0') package() { depends+=('perl') diff --git a/linhes/libhdhomerun/PKGBUILD b/linhes/libhdhomerun/PKGBUILD index 74944ce..f6d0bb3 100644 --- a/linhes/libhdhomerun/PKGBUILD +++ b/linhes/libhdhomerun/PKGBUILD @@ -2,11 +2,11 @@ # Contributor: Grey Christoforo <first name [at] last name [dot] net> pkgname=libhdhomerun -pkgver=20250506 +pkgver=20250815 pkgrel=1 pkgdesc="Library and command line utility for interfacing with HDHomeRun device" arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') -url="https://www.silicondust.com/downloads" +url="https://www.silicondust.com/support/downloads" license=('LGPL') optdepends=('hdhomerun-firmware-bin: firmware for hdhomerun devices' 'hdhomerun_config_gui: hdhomerun configuration gui') diff --git a/linhes/libsignal-client/.gitignore b/linhes/libsignal-client/.gitignore new file mode 100644 index 0000000..ba55261 --- /dev/null +++ b/linhes/libsignal-client/.gitignore @@ -0,0 +1,3 @@ +/SparsePostQuantumRatchet.git/ +/boring/ +/curve25519-dalek/ diff --git a/linhes/libsignal-client/PKGBUILD b/linhes/libsignal-client/PKGBUILD index 3002ea6..b3f7b6d 100644 --- a/linhes/libsignal-client/PKGBUILD +++ b/linhes/libsignal-client/PKGBUILD @@ -4,7 +4,7 @@ pkgname=libsignal-client _pkgname=libsignal _libname=libsignal_jni _java_version=17 -pkgver=0.86.1 +pkgver=0.90.0 pkgrel=1 pkgdesc='Library for the Signal Protocol.' url="https://github.com/signalapp/${_pkgname}" @@ -16,9 +16,16 @@ arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') license=('AGPL-3.0-only') source=( "${_pkgname}-${pkgver}.tar.gz::https://github.com/signalapp/${_pkgname}/archive/refs/tags/v$pkgver.tar.gz" + "boring::git+https://github.com/signalapp/boring" + "curve25519-dalek::git+https://github.com/signalapp/curve25519-dalek" + "SparsePostQuantumRatchet.git::git+https://github.com/signalapp/SparsePostQuantumRatchet.git" + #"boringssl::git+https://github.com/google/boringssl.git" ) -sha512sums=('dcc66b97cdee3439add283935fd72d7ec5d30958d022094775ec508618e863f5da8a0f9cc74200c5e41f723c0a84a9667b23e84b9b27f6b0ef037bc94bc380e3') +sha512sums=('a476cc89f01e69ecaf89a34cc03801bfb91e8c38e9a8ff9dc910aae1cdbc142d89f05a407b5bce8dbf9d8f7cafc6d136752dbc737588c3204cee8eefc833202c' + 'SKIP' + 'SKIP' + 'SKIP') prepare() { tar xf "${_pkgname}-$pkgver.tar.gz" @@ -29,9 +36,16 @@ prepare() { sed -i 's/exit 2/suffix=""/' java/build_jni.sh sed -i 's/-Xmx4g//' java/gradle.properties - sed -i "s/cargo build/cargo build --frozen/" java/build_jni.sh + sed -i "s/echo_then_run cargo build/__CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS=nightly cargo build --frozen -Zgit=shallow-deps -Zgitoxide/" java/build_jni.sh + sed -i "s/cargo fetch//" java/build_jni.sh - cargo fetch --locked --target "$(rustc -vV | awk '/^host: / {print $2}')" + for repo in boring curve25519-dalek SparsePostQuantumRatchet.git; do + sed -i "s|https://github.com/signalapp/${repo}|file://${srcdir}/${repo}|g" Cargo.toml Cargo.lock + done + #(cd ${srcdir}/boringssl && git config submodule.boring-sys/deps/boringssl.url "$srcdir/boringssl" && git -c protocol.file.allow=always submodule update) + + export RUSTUP_TOOLCHAIN=stable + __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS=nightly cargo fetch --locked --target "$(rustc -vV | awk '/^host: / {print $2}')" -Zgit=shallow-deps -Zgitoxide } build() { @@ -39,10 +53,10 @@ build() { export RUSTUP_TOOLCHAIN=stable export CARGO_TARGET_DIR=target - export CARGO_NET_GIT_FETCH_WITH_CLI=true export JAVA_HOME="$(ls -d /usr/lib/jvm/java-${_java_version}-* | head -n1)" ./build_jni.sh desktop GRADLE_USER_HOME="${srcdir}/.gradle" ./gradlew --no-daemon :client:assemble -PskipAndroid=true + #GRADLE_USER_HOME="${srcdir}/.gradle" gradle --no-daemon :client:assemble -PskipAndroid=true zip -d "client/build/libs/libsignal-client-${pkgver}.jar" "${_libname}*.so" } diff --git a/linhes/linhes-system/PKGBUILD b/linhes/linhes-system/PKGBUILD index 0bde107..056ef94 100755 --- a/linhes/linhes-system/PKGBUILD +++ b/linhes/linhes-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=linhes-system pkgver=9.0.0 -pkgrel=101 +pkgrel=102 arch=('x86_64') #install=$pkgname.install pkgdesc="Everything that makes LinHES a system" @@ -34,7 +34,7 @@ sha256sums=('1fb11c7f472df9e3066866301962c2678b80c2fbd988dc34db022d51e1101a42' '8b54c31b8efde3917f603c5307bebb0a2a00239ad9a983c2f5d8120003256449' 'ae34515e144830f424d3bd3f6b1b446892d62beed20bca6f0fb19b0bbb779f27' 'a79edfeb88b90a8f5538a159b39ba235caba8c6d6b2a39a20faa3ae0301b770b' - '050d7d44b1636a298ae020807e64637b40d39b4c52eb2f9661fe30090e66cee3' + '4fa600a6a41406732e1ac6bab359c0337ae7d50fe4caaa2d1e84e910bca2f50b' '1c36e4fdf41c1063e0a127ce4a90fbdef19879c381a87f622d7399ca931560cc' '87875d9e5f5ce18208f419698ce69b6bcbcd08955a57a4a13940e715af58b787' '192bfff1b8d46e0ebb969618847d9993aba3b1b578053c8d701dad9f9e758f86' diff --git a/linhes/linhes-system/lh_system_start.sh b/linhes/linhes-system/lh_system_start.sh index b783535..f6de33d 100755 --- a/linhes/linhes-system/lh_system_start.sh +++ b/linhes/linhes-system/lh_system_start.sh @@ -141,7 +141,7 @@ function start_user_apps() { } function start_myth() { - STARTCMD="/usr/bin/mythfrontend --syslog local6 --quiet" + STARTCMD="/usr/bin/mythfrontend --disable-autodiscovery --noupnp --quiet --syslog local6" if [ ! -f ~/.config/lh_dontrunmythfrontend ]; then msg "Starting MythFrontend..." $STARTCMD 2>&1 & diff --git a/linhes/mythplugins/PKGBUILD b/linhes/mythplugins/PKGBUILD index 62f9a52..1df616c 100644 --- a/linhes/mythplugins/PKGBUILD +++ b/linhes/mythplugins/PKGBUILD @@ -12,9 +12,9 @@ pkgname=('mythplugins-mytharchive' 'mythplugins-mythweather' 'mythplugins-mythweb' 'mythplugins-mythzoneminder') -br=fixes/35 +br=fixes/36 t="${br#*/}+${br%/[0-9][0-9]}" -pkgver=35+fixes.20251230.805e05b7 +pkgver=36+fixes.20260310.ababe58b pkgrel=1 epoch=0 arch=('any') diff --git a/linhes/mythtv/PKGBUILD b/linhes/mythtv/PKGBUILD index 0ff9cce..1803afa 100644 --- a/linhes/mythtv/PKGBUILD +++ b/linhes/mythtv/PKGBUILD @@ -7,8 +7,8 @@ # Contributor: dorphell <dorphell@archlinux.org> pkgname=mythtv -pkgver=35+fixes.20251230.805e05b7 -pkgrel=1 +pkgver=36+fixes.20260310.ababe58b +pkgrel=2 pkgdesc="A Homebrew PVR project" arch=('x86_64') url="https://www.mythtv.org/" @@ -35,6 +35,7 @@ depends=( 'libzip' 'lzo' 'qt5-script' +# 'qt6-base' 'soundtouch' 'taglib' 'x264' @@ -53,6 +54,7 @@ depends=( 'python-lxml' 'python-mysqlclient' 'python-pyqt5-webengine' +# 'python-pyqt6-webengine' 'python-requests' 'python-requests-cache' 'xmltv' @@ -66,6 +68,7 @@ makedepends=( 'libmariadbclient' 'libxml2' 'lirc' + 'nasm' 'perl-dbd-mysql' 'perl-io-socket-inet6' 'perl-libwww' @@ -75,9 +78,12 @@ makedepends=( 'python-lxml' 'python-mysqlclient' 'python-pip' + 'python-pyqt5-webengine' +# 'python-pyqt6-webengine' 'python-requests' 'python-setuptools' - 'python-wheel' + 'python-simplejson' +# 'python-wheel' 'qt5-tools' 'yasm' ) @@ -86,13 +92,13 @@ options=(!lto) conflicts=('myththemes' 'mythplugins-mythvideo' 'mythtv-git') replaces=('myththemes' 'mythplugins-mythvideo' 'mythtv-git') -patches="0031-UPnP-Reduce-startup-latency-by-moving-blocking-code-to-own-thread.patch - 0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch +patches="defaultThemeLinHES.patch autoskip_reduce_commskip_jumpback.patch - defaultThemeLinHES.patch" + 0227-OSD-Add-interlaced-status-to-OSD-debug-screen.patch" +# 0031-UPnP-Reduce-startup-latency-by-moving-blocking-code-to-own-thread.patch source=( - "git+https://github.com/MythTV/mythtv#branch=fixes/35" + "git+https://github.com/MythTV/mythtv#branch=fixes/36" 'mythbackend.service' 'mythfrontend.desktop' 'mythtv-setup.desktop' @@ -104,20 +110,19 @@ source=( sha256sums=('SKIP' '6adb9d3370111c7d0000b215ae2d83a07a19c1bef5c22657f8caa9593c8efda5' - 'ec4f2330f77f0ac92acf228a4afa3b480cdd2de913cdabedfd43d40b03507557' - 'e7965a0d232aefcf8e5e89a96f46b7582a9590d2ae9b4f5b8ee9ab2baa913527' + 'eb355b20d9d36a2942bb529263b9e16da30ef764f80acac0177b1773a6b3c809' + '23b9669ea7533c13c54b382fba7b63980064939d5701a0c229c9254bafd6d3d6' '12cb52bf9b084a4f16419c9370fef0450ce6a11308b0c3f7240f4f83df7e2ab6' 'ecfd02bbbef5de9773f4de2c52e9b2b382ce8137735f249d7900270d304fd333' '470de0a4050c16c7af11a0e5cfe2810b7daae42df4acf5456c7eae274dc7c5ae' - '276f87058edc6197ab3a53faf6b4c485ef0d2b8447b9caa02ca7234f09ab473f' - '630c80c588a9b278c4421d356c5cbaa0debf149524bc896656b580b89d8fae88' + '3ff9f48ead83a8dd7a87cc08df066c00813b48b9171cc7bf74ba0e3cb2570d00' '8a81e724d902976056dc824e7304df343c230ce67ec6ce1d18e110c5ef818ef6' - '3ff9f48ead83a8dd7a87cc08df066c00813b48b9171cc7bf74ba0e3cb2570d00') + '630c80c588a9b278c4421d356c5cbaa0debf149524bc896656b580b89d8fae88') prepare() { msg2 "PKGBUILD pkgver: $pkgver" cd "${srcdir}/mythtv/mythtv" - gitsrcver=`echo "35+fixes.$(git show -s --format=%cd --date=short | tr -d -).$(git rev-parse --short=8 HEAD)"` + gitsrcver=`echo "36+fixes.$(git show -s --format=%cd --date=short | tr -d -).$(git rev-parse --short=8 HEAD)"` msg2 "GIT SOURCE pkgver: $gitsrcver" if [ $pkgver = $gitsrcver ]; then warning "pkgver did NOT change. Consider increasing pkgrel ($pkgrel)." @@ -138,7 +143,7 @@ prepare() { pkgver() { cd "${srcdir}/mythtv/mythtv" - echo -n "35+fixes.$(git show -s --format=%cd --date=short | tr -d -).$(git rev-parse --short=8 HEAD)" + echo -n "36+fixes.$(git show -s --format=%cd --date=short | tr -d -).$(git rev-parse --short=8 HEAD)" } build() { diff --git a/linhes/mythtv/mythfrontend.desktop b/linhes/mythtv/mythfrontend.desktop index 89f8b13..3de9419 100644 --- a/linhes/mythtv/mythfrontend.desktop +++ b/linhes/mythtv/mythfrontend.desktop @@ -1,6 +1,7 @@ [Desktop Entry] Name=MythFrontend -Comment=MythFrontend is the primary playback application for MythTV -Exec=mythfrontend --syslog local6 --noupnp --quiet +Comment=Record, playback and watch TV. +Exec=mythfrontend --disable-autodiscovery --noupnp --quiet --syslog local6 Type=Application +Terminal=false Icon=mythtv diff --git a/linhes/mythtv/mythtv-setup.desktop b/linhes/mythtv/mythtv-setup.desktop index fe49a97..d238af1 100644 --- a/linhes/mythtv/mythtv-setup.desktop +++ b/linhes/mythtv/mythtv-setup.desktop @@ -1,6 +1,7 @@ [Desktop Entry] Name=MythTV Setup Comment=Setup application for the MythTV backend server -Exec=mythtv-setup --syslog local6 +Exec=Exec=mythtv-setup --syslog local6 Type=Application +Terminal=false Icon=mythtv diff --git a/linhes/parsec-bin/PKGBUILD b/linhes/parsec-bin/PKGBUILD index 44c2155..a941d88 100644 --- a/linhes/parsec-bin/PKGBUILD +++ b/linhes/parsec-bin/PKGBUILD @@ -1,31 +1,20 @@ -# Maintainer : tadly <me@tadly.de> +# Maintainer : Zen Wen <zen.8841@gmail.com> +# Contributor : DXC-0 <thecyberarcher@protonmail.ch> +# Contributor : tadly <me@tadly.de> pkgname=parsec-bin pkgver=150_97c -pkgrel=1 +pkgrel=2 pkgdesc='Remotely connect to a gaming pc for a low latency remote computing experience' url='http://parsec.app' license=('custom') arch=('x86_64') provides=('parsec') -depends=('gcc-libs' 'libglvnd' 'libxext' 'libxcb' 'ffmpeg4.4' 'openssl-1.1' 'libxi') +depends=('gcc-libs' 'libglvnd' 'libxext' 'libxcb' 'ffmpeg4.4' 'openssl' 'libxi' 'pipewire-alsa') optdepends=('libva: For hardware accelerated decoding') -source=("$pkgname-$pkgver.deb::https://builds.parsecgaming.com/package/parsec-linux.deb") +source=("$pkgname-$pkgver.deb::https://builds.parsec.app/package/parsec-linux.deb") sha256sums=('f1691ba3a97534604f5f640c26cceafaef672ccf7ab6eed66114d0abafc2cccf') - -#source_arm=("$pkgname-$pkgver.deb::https://builds.parsecgaming.com/package/parsec-rpi.deb") -#sha256sums_arm=('a98e840dc44f4762018895bd0da704c88887815de0e74e0f39aa7737f5b0e802') -# -#source_armv6h=($source_arm) -#sha256sums_armv6h=($sha256sums_arm) -# -#source_armv7h=($source_arm) -#sha256sums_armv7h=($sha256sums_arm) -# -#source_aarch64=($source_arm) -#sha256sums_aarch64=($sha256sums_arm) - options=('!strip') package() { diff --git a/linhes/plex-media-server/PKGBUILD b/linhes/plex-media-server/PKGBUILD index 42ff87f..c399ee7 100644 --- a/linhes/plex-media-server/PKGBUILD +++ b/linhes/plex-media-server/PKGBUILD @@ -10,8 +10,8 @@ # Contributor: Praekon <praekon@googlemail.com> pkgname=plex-media-server -pkgver=1.42.2.10156 -_pkgsum=f737b826c +pkgver=1.43.0.10492 +_pkgsum=121068a07 pkgrel=1 pkgdesc='The back-end media server component of Plex.' arch=('x86_64' 'i686' 'armv7h' 'aarch64') @@ -39,10 +39,10 @@ sha256sums=('398ba7958598609453f5289b3d5f2389d2756158b340cf28e83c39d9ed60280b' 'c597bee0bcbb59ed791651555a904e5f7e9d2e82f6c6986b6352e5fc38e5b557' 'b7ff6525a3c7a8be885edc85bb523095f8e25ddb38873127e2a4e97b28f2c7ad' 'dbfb5a9a7146a975863c0932f1a68c4b040ec5d7e693361f39ddfbf60885e631') -sha256sums_x86_64=('5092d8ade2a2f0a1dfb1406d0d4f89d05758da8ca706c6faea8b0125836e8542') -sha256sums_i686=('9475c0f27061cf97057b8dd5e79f2ffe78baecb128e2e6939e3fbd05be6f6b0c') -sha256sums_armv7h=('051d072275814384560d700aae07f404f7c2a269be44dbbd57045765b86df25b') -sha256sums_aarch64=('566dfca0efb3845c87072e9f0ee32984395aa8ce3704874b9e243b5490cc0105') +sha256sums_x86_64=('88699ccff73dd4232c764c5499a55f28ad11e6d4740190bd23e23c86535578ed') +sha256sums_i686=('a54bc1c540fa407febb202a07ff03688f552e4e3f516176742a151fea0020751') +sha256sums_armv7h=('53560561a56e00729e3fde7d2e5698b425caf01ade0d5c352f356c5f2789d4bc') +sha256sums_aarch64=('62b207e75332c8bea03d69de01a578b0c503ca06aee72b599ce06043560270ba') prepare() { if [[ $CARCH = armv7h ]] || [[ $CARCH = aarch64 ]]; then diff --git a/linhes/pyqt5-webengine/PKGBUILD b/linhes/pyqt5-webengine/PKGBUILD index e23fc1b..7ad5f93 100644 --- a/linhes/pyqt5-webengine/PKGBUILD +++ b/linhes/pyqt5-webengine/PKGBUILD @@ -5,7 +5,7 @@ pkgbase=pyqt5-webengine pkgname=(python-pyqt5-webengine) pkgdesc="Python bindings for QtWebEngine" pkgver=5.15.7 -pkgrel=2 +pkgrel=3 arch=(x86_64) url="https://www.riverbankcomputing.com/software/pyqtwebengine/intro" license=(GPL) diff --git a/linhes/python-requests-cache/.gitignore b/linhes/python-requests-cache/.gitignore deleted file mode 100644 index 743531c..0000000 --- a/linhes/python-requests-cache/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/src/ -/pkg/ -/*.pkg.* -/*.log -/*.tar.gz diff --git a/linhes/python-requests-cache/PKGBUILD b/linhes/python-requests-cache/PKGBUILD deleted file mode 100644 index e5ddc89..0000000 --- a/linhes/python-requests-cache/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Maintainer: Jordan Cook <JCook83@gmail.com> -# Maintainer: Carlos Aznarán <caznaranl@uni.pe> -# Maintainer: Philipp A. <flying-sheep@web.de> -# Contributor: Benoit Pierre <benoit.pierre@gmail.com> -# Contributor: Simon Legner <Simon.Legner@gmail.com> -# Contributor: Aniket Pradhan <aniket17133[at]iiitd[dot]ac[dot]in> -# Contributor: Roman Haritonov <reclosedev[at]gmail[dot]com> -_base=requests-cache -pkgname=python-${_base} -pkgdesc="A persistent cache for python requests" -pkgver=1.2.1 -pkgrel=2 -arch=(any) -url="https://github.com/${_base}/${_base}" -license=('custom:BSD-2-clause') -depends=(python-requests python-cattrs python-platformdirs python-url-normalize) -makedepends=(python-build python-installer python-poetry-core python-wheel) -optdepends=('python-boto3: Cache backend for Amazon DynamoDB database' - 'python-botocore: Interface for Amazon Web Services' - 'python-pymongo: Cache backend for MongoDB database' - 'python-redis: Cache backend for Redis cache' - 'python-bson: for BSON codec' - 'python-itsdangerous: for pass trusted data to untrusted environments' - 'python-yaml: for bindings yaml support' - 'python-ujson: for JSON serializer for improved performance' -) -checkdepends=(python-pytest python-requests-mock python-responses python-timeout-decorator - python-time-machine python-rich python-ujson python-itsdangerous) -source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) -sha512sums=('f8977b1afc005ddd73019d2a0e39da368f376602110602c0b24c317b548f31a3489e686502ecd48ae3583e471fdd70671913e529c73dacdcaecadb1cd1e6c126') - -build() { - cd ${_base}-${pkgver} - # Note: set `GIT_CEILING_DIRECTORIES` to prevent poetry - # from incorrectly using a parent git checkout info. - # https://github.com/pypa/build/issues/384#issuecomment-947675975 - GIT_CEILING_DIRECTORIES="${PWD}/.." python -m build --wheel --skip-dependency-check --no-isolation -} - -check() { - cd ${_base}-${pkgver} - #https://github.com/requests-cache/requests-cache/issues/1033 - python -m pytest --ignore=tests/integration --ignore=tests/unit/test_base_cache.py --ignore=tests/unit/test_session.py -} - -package() { - cd ${_base}-${pkgver} - python -m installer --destdir="${pkgdir}" dist/*.whl - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/linhes/python-timeout-decorator/PKGBUILD b/linhes/python-timeout-decorator/PKGBUILD index 38a8e78..2f38af5 100644 --- a/linhes/python-timeout-decorator/PKGBUILD +++ b/linhes/python-timeout-decorator/PKGBUILD @@ -3,11 +3,11 @@ _name=timeout-decorator pkgname=python-${_name} pkgver=0.5.0 -pkgrel=4 +pkgrel=2 pkgdesc="Timeout decorator for Python" -arch=('i686' 'x86_64' 'armv6') +arch=('any') depends=('python') -makedepends=('python-setuptools') +makedepends=(python-build python-installer python-setuptools python-wheel) url="https://github.com/pnpnpn/timeout-decorator" license=('MIT') options=(!emptydirs) @@ -16,15 +16,13 @@ source=("https://files.pythonhosted.org/packages/source/t/${_name}/${_name}-$pkg build() { cd "$srcdir/${pkgname#python-}-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$srcdir/${pkgname#python-}-$pkgver" - python setup.py install \ - --root="$pkgdir" \ - --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl } -md5sums=('8545649e70b3ca43bcff11f08a996c3e') +sha256sums=('6a2f2f58db1c5b24a2cc79de6345760377ad8bdc13813f5265f6c3e63d16b3d7') diff --git a/linhes/python-url-normalize/PKGBUILD b/linhes/python-url-normalize/PKGBUILD deleted file mode 100644 index f25ef29..0000000 --- a/linhes/python-url-normalize/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# Maintainer: Carlos Aznarán <caznaranl@uni.pe> -# Maintainer: Jordan Cook <JCook83@gmail.com> -# Contributor: Benoit Pierre <benoit.pierre@gmail.com> -# Contributor: Marc Plano-Lesay <kernald@enoent.fr> -_base=url-normalize -pkgname=python-${_base} -pkgdesc="URL normalization for Python" -pkgver=2.2.1 -pkgrel=1 -arch=(any) -url="https://github.com/niksite/${_base}" -license=(MIT) -depends=(python-idna) -makedepends=(python-build python-installer python-setuptools python-wheel) -# checkdepends=(python-pytest) -source=(${_base}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz) -sha512sums=('51f57bf6d94863662789321b8965c0ca833d34d0c8095f2a39303a410f61c24f04a56e83258dafaa8a4250b0d1b44ad3c3a63430da2b04f4d906d84a71208f46') - -build() { - cd ${_base}-${pkgver} - python -m build --wheel --skip-dependency-check --no-isolation -} - -# check() { -# cd ${_base}-${pkgver} -# python -m venv --system-site-packages test-env -# test-env/bin/python -m installer dist/*.whl -# test-env/bin/python -m pytest tests -# } - -package() { - cd ${_base}-${pkgver} - PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} diff --git a/linhes/qt5-location/.nvchecker.toml b/linhes/qt5-location/.nvchecker.toml new file mode 100644 index 0000000..fa4c565 --- /dev/null +++ b/linhes/qt5-location/.nvchecker.toml @@ -0,0 +1,2 @@ +[qt5-location] +source = "manual" diff --git a/linhes/qt5-location/LICENSE b/linhes/qt5-location/LICENSE new file mode 100644 index 0000000..b87c5e4 --- /dev/null +++ b/linhes/qt5-location/LICENSE @@ -0,0 +1,12 @@ +Copyright Arch Linux Contributors + +Permission to use, copy, modify, and/or distribute this software for +any purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL +WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN +AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT +OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/linhes/qt5-location/LICENSES/0BSD.txt b/linhes/qt5-location/LICENSES/0BSD.txt new file mode 120000 index 0000000..ea5b606 --- /dev/null +++ b/linhes/qt5-location/LICENSES/0BSD.txt @@ -0,0 +1 @@ +../LICENSE
\ No newline at end of file diff --git a/linhes/qt5-location/PKGBUILD b/linhes/qt5-location/PKGBUILD new file mode 100644 index 0000000..3564583 --- /dev/null +++ b/linhes/qt5-location/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Felix Yan <felixonmars@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> + +pkgname=qt5-location +_basever=5.15.18 +pkgver=5.15.18+kde+r7 +pkgrel=2 +_commit=ba48a8b5cedd157d972c08d371ac2581db166bf7 +arch=('x86_64') +url='https://www.qt.io' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='Provides access to position, satellite and area monitoring classes' +depends=('qt5-declarative') +makedepends=('git') +groups=('qt5') +_pkgfqn=${pkgname/5-/} +source=(kde-$_pkgfqn::git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit + git+https://invent.kde.org/qt/qt/qtlocation-mapboxgl.git) +sha256sums=('4a6bfee705b322f4cd044949be217f822b9f697e5e1ec228fdc3f31c29558e13' + 'SKIP') + +pkgver() { + cd kde-$_pkgfqn + echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit` | sed -e 's|+kde+r0||' +} + +prepare() { + mkdir -p build + + cd kde-$_pkgfqn + git submodule init + git submodule set-url src/3rdparty/mapbox-gl-native "$srcdir"/qtlocation-mapboxgl + git -c protocol.file.allow=always submodule update +} + +build() { + cd build + + qmake ../kde-$_pkgfqn + make +} + +package() { + cd build + make INSTALL_ROOT="$pkgdir" install + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "$pkgdir/usr/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} +} diff --git a/linhes/qt5-location/README.md b/linhes/qt5-location/README.md new file mode 100644 index 0000000..9c4dc74 --- /dev/null +++ b/linhes/qt5-location/README.md @@ -0,0 +1,3 @@ +This package is part of the `qt5` suite, and is managed by the scripts at https://gitlab.archlinux.org/archlinux/kde-build. + +Do not upgrade this package individually, or make any format changes to the PKGBUILD without checking with the Qt package maintainers first. diff --git a/linhes/qt5-location/REUSE.toml b/linhes/qt5-location/REUSE.toml new file mode 100644 index 0000000..8501755 --- /dev/null +++ b/linhes/qt5-location/REUSE.toml @@ -0,0 +1,22 @@ +version = 1 + +[[annotations]] +path = [ + "PKGBUILD", + "README.md", + "keys/**", + ".SRCINFO", + ".nvchecker.toml", + "*.install", + "*.sysusers", + "*.tmpfiles", + "*.logrotate", + "*.pam", + "*.service", + "*.socket", + "*.timer", + "*.desktop", + "*.hook", +] +SPDX-FileCopyrightText = "Arch Linux contributors" +SPDX-License-Identifier = "0BSD" diff --git a/linhes/qt5-webengine/PKGBUILD b/linhes/qt5-webengine/PKGBUILD index eca0c9a..79047db 100644 --- a/linhes/qt5-webengine/PKGBUILD +++ b/linhes/qt5-webengine/PKGBUILD @@ -4,7 +4,7 @@ pkgname=qt5-webengine _basever=5.15.18 pkgver=5.15.19 -pkgrel=4 +pkgrel=5 arch=('x86_64') url='https://www.qt.io' license=('LGPL3' 'LGPL2.1' 'BSD') diff --git a/linhes/rsyslog/PKGBUILD b/linhes/rsyslog/PKGBUILD index 1175a42..4a4b86e 100644 --- a/linhes/rsyslog/PKGBUILD +++ b/linhes/rsyslog/PKGBUILD @@ -1,11 +1,11 @@ pkgname=rsyslog -pkgver=8.2510.0 +pkgver=8.2602.0 pkgrel=2 pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability" url="http://www.rsyslog.com/" arch=('x86_64' 'i686' 'aarch64' 'armv7h') -license=('GPL3') -depends=('libestr' 'liblogging' 'librelp' 'libfastjson') +license=('LGPL-3.0-only' 'GPL-3.0-only' 'Apache-2.0') +depends=('libestr' 'liblogging' 'librelp' 'libfastjson' 'protobuf-c' 'snappy' 'libyaml') makedepends=('postgresql-libs>=8.4.1' 'libmariadbclient' 'net-snmp' 'gnutls' 'python-docutils' 'libestr' 'liblogging' 'librelp' 'libfastjson' 'bison' 'flex') optdepends=('postgresql-libs: PostgreSQL Database Support' @@ -18,12 +18,15 @@ options=('strip' 'zipman') source=("$pkgname-$pkgver.tar.gz::https://github.com/rsyslog/rsyslog/archive/v${pkgver}.tar.gz" 'rsyslog.logrotate' 'rsyslog.conf' - 'rsyslog.service') + 'rsyslog.service' + 'rsyslog.tmpfiles' + ) -sha256sums=('ccc65a73e43318debbd011c05c7e0f2eac9bd8bf556d44aa4f5ee5cebac903cf' +sha256sums=('e4e8125c07bbb268f61b7a8616aa6e5ba9414fdce46dc3ac7c5e0a527e1f3c14' '0f5bea3fd4dff2c9f097bf95768b2e1f6e9cfd9a08eab98bc3b3b4d2ed44119a' '76d3c6f0c094a768ca12e314133080444db19900679b7a82f30d4c63fdabed38' - '81b9f9b78395405b679849143a6709911d00e9317928fdb2a2540f52965847c2') + '81b9f9b78395405b679849143a6709911d00e9317928fdb2a2540f52965847c2' + 'b287a96834da6cbb0b539d50171ac27bcf677505145fb935da72f751987df686') build() { cd "$srcdir"/${pkgname}-${pkgver} @@ -55,4 +58,5 @@ package() { install -D -m644 "$srcdir"/${pkgname}.conf "$pkgdir"/etc/${pkgname}.conf install -D -m644 "$srcdir"/${pkgname}.logrotate "$pkgdir"/etc/logrotate.d/${pkgname} install -D -m644 "$srcdir"/${pkgname}.service "$pkgdir"/usr/lib/systemd/system/${pkgname}.service + install -D -m644 "$srcdir"/${pkgname}.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/${pkgname}.conf } diff --git a/linhes/rsyslog/rsyslog.tmpfiles b/linhes/rsyslog/rsyslog.tmpfiles new file mode 100644 index 0000000..4b72c17 --- /dev/null +++ b/linhes/rsyslog/rsyslog.tmpfiles @@ -0,0 +1,2 @@ +#Type Path Mode User Group Age Argument... +d /var/spool/rsyslog - - - - diff --git a/linhes/signal-cli/PKGBUILD b/linhes/signal-cli/PKGBUILD index b148945..bda0571 100644 --- a/linhes/signal-cli/PKGBUILD +++ b/linhes/signal-cli/PKGBUILD @@ -1,29 +1,21 @@ # Maintainer: asamk <asamk@gmx.de> pkgname=signal-cli -pkgver=0.13.22 +pkgver=0.14.2 pkgrel=1 pkgdesc="Provides a commandline and dbus interface for secure Signal messaging." arch=('any') url="https://github.com/AsamK/signal-cli" license=('GPL-3.0-only') -depends=('java-runtime-headless>=21' 'java-commons-logging' 'sh' 'libsignal-client') -makedepends=('java-environment>=21' 'gradle' 'asciidoc') +depends=('java-runtime-headless>=25' 'java-commons-logging' 'sh' 'libsignal-client') +makedepends=('java-environment>=25' 'gradle' 'asciidoc') source=("https://github.com/AsamK/${pkgname}/archive/v${pkgver}.tar.gz" - "https://github.com/AsamK/${pkgname}/releases/download/v${pkgver}/v${pkgver}.tar.gz.asc" +# "https://github.com/AsamK/${pkgname}/releases/download/v${pkgver}/v${pkgver}.tar.gz.asc" "${pkgname}.sh") -sha512sums=('d5bcefa6b08b85796fd15441ee29bb5d1913d3dee3c786a4381d5f94a228bfd9c8ca00f4c589ef72eab3e563ec6a1eb854c12826bae881b1c0fce1161bfa04cb' - 'SKIP' +sha512sums=('08f439553b38f5a9a9ef2fe5a48138aeb3351878f437ca9cb12eec00d229b64364b6e877c39397aeffd6a5c284035a3a01811733aa9ac679b7b1509925886a2f' '64f181bd9170af5c462899fba765a92b8225e24c3fd2a25deec31d9879dec76a987de9efa065fc3e60e8f5a787e934e0abbdd43ab94445ad3eecacfe1a9de74d') validpgpkeys=('FA10826A74907F9EC6BBB7FC2BA2CD21B5B09570') -prepare() { - cd "${srcdir}" - cd "${pkgname}-${pkgver}" - - echo ';plugins { id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0" }' >> settings.gradle.kts -} - build() { cd "${srcdir}" cd "${pkgname}-${pkgver}" diff --git a/linhes/zabbix/PKGBUILD b/linhes/zabbix/PKGBUILD deleted file mode 100644 index b6fefc1..0000000 --- a/linhes/zabbix/PKGBUILD +++ /dev/null @@ -1,239 +0,0 @@ -# Maintainer: Robin Candau <antiz@archlinux.org> -# Contributor: Florian Pritz <bluewind@xinu.at> -# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> - -pkgbase=zabbix -pkgname=(zabbix-server zabbix-agent{,2} zabbix-proxy zabbix-frontend-php zabbix-web-service) -pkgver=7.0.22 -pkgrel=1 -arch=(x86_64) -url='https://www.zabbix.com/' -license=('GPL-2.0-only') -makedepends=(libxml2 unixodbc net-snmp mariadb-libs libldap libevent go pkgconfig pcre2 openipmi) -source=("https://cdn.zabbix.com/zabbix/sources/stable/${pkgver%.*}/zabbix-${pkgver}.tar.gz" - zabbix-agent.{service,sysusers,tmpfiles} - zabbix-agent2.service - zabbix-server-mysql.service zabbix-server.{sysusers,tmpfiles} - zabbix-proxy-mysql.service zabbix-proxy.{sysusers,tmpfiles} - zabbix-web-service.{service,sysusers,tmpfiles}) - -sha512sums=('476016cfef14c960a688594033956d380e9effbfabd96b31f24d558c83c36c98af64f747af7711c832c13b203536824838242e6d7dbe0e2ba3bb7fbcf4e5ed11' - '8c1fa2676bc0ef91bc39ec5f97b4d3ba5c365d063420455a3785121a54e120bc5afeacde42a48f4509c115f940dcc3b6c2f43044a7fbfb421182fc93b22a2444' - '3ab3ac1acc7e35c8896157aef601ebc30815237ac5252cbd0c1ecb26eeaf9eccf5c49938ae8c85bb79a6f95f607f082f6b80ed660829599ec03aa626cca6d3dc' - 'ca6b4779de23829dfdd80ee21e924fbe4e2754f4e693bed4b1a2aa846cd87d150e399b1169d7fe58d30c50ed837c1b8254e580de420267d0a1834d6dc409c43d' - 'c57dfcc13b290f4120d1185339bd2d6b1ea7a2ca0c98dca8632d4fd8fe462a42cb35e8a88895eb8ee390c55cf0ffb90b544f23fefbf059b49c06e5373d0b8af2' - '130497775093a4198b6b5f734c9da240f1e61800c4c13d9879213c7e62698f7fb885b42900c6186271a5da2d4db438b5c6e858be035bb42319f8fc0b8a8d3ce6' - '4254d3b13ff0d19a8e207f709c10ea59dbb6d4f333d862b1611a0fa4ced199e9a32313e88d8abadc129c1e4001b182c0545bcc84117d218116a8c524de88850e' - 'b6d548a26f845ef1a39724e3273aa521715272e20a0038144f86d377a26dfec6e3e129404cfda77632cad2f5cd6bab4a33f70a26c8c67b0d0b2abb3678ad2d83' - '94701f34fe5df4859c6a4d0459c16062374e8f89f4f51c414e71c9c2db14f61e087721e68dddb3e8d88bf1c097477c1a21e27ba4705fd07d88c60adb41acc1be' - '7c1072a8cd5837095f857b50124cb45d1bdbddbce108f6f067a35c3c9ebb1ad0502ef617dfa10f9c843631220177a6286a97b1c2a46539200be72fa83cb23b99' - '64042ddf511b56b2a5a311e34643f4e049c09d909ea65b7343a8a9637f33dc59f2b1342201290ca0774cbcbf616096b3696982047fb622b7d51afb5eceb298dd' - '545bb284ac28386f8b9f33f0c5066bb73b3634fab8760861bc172fe83897f22e54ecaf186970f0ef178256c9ff152a3e806636145a77af78964f7af0fdcec1a1' - '2766787aaeef2f48909c52deb411b47971931a972282f701c401f8315264c8817fc1f9f49a2672152c78a0ebba7d72329c18b441e134c5ec3db5f12681b6e590' - '309f55c8c381364eca6d31c4709a0ebb7e04cefad9e51f44173d839a58e7f8e95e3c678922f9e1fe42cff90dba5144cc7ee3a6e1c236b079b501c0e08ad2152d') - -prepare() { - cd $pkgbase-$pkgver - sed -i \ - -e '/^LogFile=.*/d' \ - -e 's/# LogType=file/LogType=system/' \ - conf/zabbix_{agentd,proxy,server}.conf src/go/conf/zabbix_web_service.conf - - autoreconf -fi -} - -build() { - export GOPATH="$srcdir"/go - export AGENT_LDFLAGS="${LDFLAGS}" - - _configure_flags=( - --disable-static - --prefix=/usr - --infodir=/usr/share/info - --mandir=/usr/share/man - --sysconfdir=/etc/zabbix - --enable-agent - --enable-agent2 - --enable-ipv6 - --with-ldap - --with-libcurl - --with-libxml2 - --with-net-snmp - --with-openssl - --with-libpcre2 - --with-ssh2 - --with-unixodbc - --with-openipmi - --enable-webservice - ) - - cd $pkgbase-$pkgver - - # Make copies since `make clean` removes the files and they cannot be rebuilt easily - for db in mysql; do - mkdir -p ../copies/database/$db - cp database/$db/*.sql ../copies/database/$db/ - done - - for db in mysql; do - ./configure ${_configure_flags[@]} --enable-server --with-$db - make clean - make - mv src/zabbix_server/zabbix_server{,_$db} - done - - for db in mysql; do - ./configure ${_configure_flags[@]} --enable-proxy --with-$db - make clean - make - mv src/zabbix_proxy/zabbix_proxy{,_$db} - done -} - -package_zabbix-server() { - pkgdesc='Monitoring software for networks and applications' - depends=(net-snmp curl libxml2 unixodbc libldap libevent pcre2 openipmi) - optdepends=('mariadb-libs: for MariaDB support' - 'zabbix-web-service: for scheduled PDF report generation') - backup=(etc/zabbix/zabbix_server.conf) - - cd $pkgbase-$pkgver - - for db in mysql; do - install -Dm755 src/zabbix_server/zabbix_server_$db \ - "$pkgdir/usr/bin/zabbix_server_$db" - - install -d "$pkgdir/usr/share/$pkgname/$db" - install -m644 ../copies/database/$db/*.sql -t "$pkgdir/usr/share/$pkgname/$db" - done - install -Dm755 src/zabbix_get/zabbix_get "$pkgdir/usr/bin/zabbix_get" - - install -Dm644 man/zabbix_server.man "$pkgdir/usr/share/man/man8/zabbix_server.8" - install -Dm644 man/zabbix_get.man "$pkgdir/usr/share/man/man1/zabbix_get.1" - - install -Dm644 conf/zabbix_server.conf "$pkgdir/etc/zabbix/zabbix_server.conf" - chown 170:170 "$pkgdir/etc/zabbix/zabbix_server.conf" - - install -Dm644 "$srcdir/zabbix-server-mysql.service" \ - "$pkgdir/usr/lib/systemd/system/zabbix-server-mysql.service" - - install -Dm644 "$srcdir/zabbix-server.sysusers" \ - "$pkgdir/usr/lib/sysusers.d/zabbix-server.conf" - install -Dm644 "$srcdir/zabbix-server.tmpfiles" \ - "$pkgdir/usr/lib/tmpfiles.d/zabbix-server.conf" - - # Fix socket paths to avoid 10 day cleanup in /tmp - echo "d /run/$pkgname 750 $pkgname $pkgname" >> "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" - sed -i \ - -e "s/# SocketDir=\/tmp/SocketDir=\/run\/$pkgname/" \ - "$pkgdir/etc/zabbix/"*.conf -} - -package_zabbix-agent() { - pkgdesc='Monitoring agent for Zabbix' - depends=(curl pcre2) - backup=(etc/zabbix/zabbix_agentd.conf) - - cd $pkgbase-$pkgver - install -Dm755 src/zabbix_agent/zabbix_agentd "$pkgdir/usr/bin/zabbix_agentd" - install -Dm755 src/zabbix_sender/zabbix_sender "$pkgdir/usr/bin/zabbix_sender" - - install -Dm644 conf/zabbix_agentd.conf "$pkgdir/etc/zabbix/zabbix_agentd.conf" - chown 172:172 "$pkgdir/etc/zabbix/zabbix_agentd.conf" - - install -Dm644 conf/zabbix_agentd/userparameter_examples.conf \ - "$pkgdir/usr/share/zabbix-agent/userparameter_examples.conf" - install -Dm644 conf/zabbix_agentd/userparameter_mysql.conf \ - "$pkgdir/usr/share/zabbix-agent/userparameter_mysql.conf" - - install -Dm644 man/zabbix_agentd.man \ - "$pkgdir/usr/share/man/man8/zabbix_agentd.8" - install -Dm644 man/zabbix_sender.man \ - "$pkgdir/usr/share/man/man1/zabbix_sender.1" - - install -Dm644 "$srcdir/zabbix-agent.service" \ - "$pkgdir/usr/lib/systemd/system/zabbix-agent.service" - install -Dm644 "$srcdir/zabbix-agent.sysusers" \ - "$pkgdir/usr/lib/sysusers.d/zabbix-agent.conf" - install -Dm644 "$srcdir/zabbix-agent.tmpfiles" \ - "$pkgdir/usr/lib/tmpfiles.d/zabbix-agent.conf" -} - -package_zabbix-agent2() { - pkgdesc='Monitoring agent for Zabbix (version 2)' - depends=(curl pcre2) - backup=(etc/zabbix/zabbix_agent2.conf) - - cd $pkgbase-$pkgver - install -Dm755 src/go/bin/zabbix_agent2 "$pkgdir/usr/bin/zabbix_agent2" - install -Dm644 src/go/conf/zabbix_agent2.conf "$pkgdir/etc/zabbix/zabbix_agent2.conf" - chown 172:172 "$pkgdir/etc/zabbix/zabbix_agent2.conf" - mkdir -p "$pkgdir/etc/zabbix/zabbix_agent2.d/plugins.d/" - chown 172:172 "$pkgdir/etc/zabbix/zabbix_agent2.d/plugins.d/" - - install -Dm644 man/zabbix_agent2.man \ - "$pkgdir/usr/share/man/man8/zabbix_agent2.8" - - install -Dm644 "$srcdir/zabbix-agent2.service" \ - "$pkgdir/usr/lib/systemd/system/zabbix-agent2.service" -} - -package_zabbix-proxy() { - pkgdesc='Data collecting proxy for Zabbix' - depends=(net-snmp curl libxml2 unixodbc libldap pcre2 libevent openipmi) - optdepends=('mariadb-libs: for MariaDB support') - backup=(etc/zabbix/zabbix_proxy.conf) - - cd $pkgbase-$pkgver - for db in mysql; do - install -Dm755 src/zabbix_proxy/zabbix_proxy_$db \ - "$pkgdir/usr/bin/zabbix_proxy_$db" - - install -d "$pkgdir/usr/share/$pkgname/$db" - install -m644 ../copies/database/$db/schema.sql -t "$pkgdir/usr/share/$pkgname/$db" - done - install -Dm644 conf/zabbix_proxy.conf "$pkgdir/etc/zabbix/zabbix_proxy.conf" - chown 171:171 "$pkgdir/etc/zabbix/zabbix_proxy.conf" - - install -Dm644 "$srcdir/zabbix-proxy-mysql.service" \ - "$pkgdir/usr/lib/systemd/system/zabbix-proxy-mysql.service" - - install -Dm644 "$srcdir/zabbix-proxy.sysusers" \ - "$pkgdir/usr/lib/sysusers.d/zabbix-proxy.conf" - install -Dm644 "$srcdir/zabbix-proxy.tmpfiles" \ - "$pkgdir/usr/lib/tmpfiles.d/zabbix-proxy.conf" - - # Fix socket paths to avoid 10 day cleanup in /tmp - echo "d /run/$pkgname 750 $pkgname $pkgname" >> "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" - sed -i \ - -e "s/# SocketDir=\/tmp/SocketDir=\/run\/$pkgname/" \ - "$pkgdir/etc/zabbix/"*.conf -} - -package_zabbix-frontend-php() { - pkgdesc='PHP frontend for Zabbix' - depends=(zabbix-server php php-gd) - - cd $pkgbase-$pkgver - install -d "$pkgdir/usr/share/webapps/zabbix" - cp -a ui/* "$pkgdir/usr/share/webapps/zabbix" - chown 33:33 ${pkgdir}/usr/share/webapps/zabbix/conf/ # write access for http user -} - -package_zabbix-web-service() { - pkgdesc='Zabbix web service used to generate and send scheduled reports' - depends=(chromium) - backup=(etc/zabbix/zabbix_web_service.conf) - - cd $pkgbase-$pkgver - install -Dm755 src/go/bin/zabbix_web_service "$pkgdir/usr/bin/zabbix_web_service" - install -Dm644 src/go/conf/zabbix_web_service.conf "$pkgdir/etc/zabbix/zabbix_web_service.conf" - chown 173:173 "$pkgdir/etc/zabbix/zabbix_web_service.conf" - - install -Dm644 "$srcdir/zabbix-web-service.service" \ - "$pkgdir/usr/lib/systemd/system/zabbix-web-service.service" - install -Dm644 "$srcdir/zabbix-web-service.sysusers" \ - "$pkgdir/usr/lib/sysusers.d/zabbix-web-service.conf" - install -Dm644 "$srcdir/zabbix-web-service.tmpfiles" \ - "$pkgdir/usr/lib/tmpfiles.d/zabbix-web-service.conf" -} diff --git a/linhes/zabbix/zabbix-agent.service b/linhes/zabbix/zabbix-agent.service deleted file mode 100644 index 98fb499..0000000 --- a/linhes/zabbix/zabbix-agent.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Zabbix Agent -After=network.target - -[Service] -Type=simple -ExecStart=/usr/bin/zabbix_agentd -f -User=zabbix-agent - -[Install] -WantedBy=multi-user.target diff --git a/linhes/zabbix/zabbix-agent.sysusers b/linhes/zabbix/zabbix-agent.sysusers deleted file mode 100644 index 1e46401..0000000 --- a/linhes/zabbix/zabbix-agent.sysusers +++ /dev/null @@ -1 +0,0 @@ -u zabbix-agent 172 - /var/lib/zabbix-agent diff --git a/linhes/zabbix/zabbix-agent.tmpfiles b/linhes/zabbix/zabbix-agent.tmpfiles deleted file mode 100644 index ffacad7..0000000 --- a/linhes/zabbix/zabbix-agent.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/zabbix-agent 0750 zabbix-agent zabbix-agent - diff --git a/linhes/zabbix/zabbix-agent2.service b/linhes/zabbix/zabbix-agent2.service deleted file mode 100644 index 02e340b..0000000 --- a/linhes/zabbix/zabbix-agent2.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Zabbix Agent 2 -After=network.target - -[Service] -Type=simple -ExecStart=/usr/bin/zabbix_agent2 -User=zabbix-agent - -[Install] -WantedBy=multi-user.target diff --git a/linhes/zabbix/zabbix-proxy-mysql.service b/linhes/zabbix/zabbix-proxy-mysql.service deleted file mode 100644 index 16b9c7f..0000000 --- a/linhes/zabbix/zabbix-proxy-mysql.service +++ /dev/null @@ -1,18 +0,0 @@ -[Unit] -Description=Zabbix proxy with MySQL -After=network.target mysql.service -Conflicts=zabbix-proxy.service zabbix-proxy-pgsql.service - -[Service] -Type=simple -ExecStart=/usr/bin/zabbix_proxy_mysql -f -User=zabbix-proxy -PrivateDevices=yes -PrivateTmp=yes -ProtectSystem=full -ProtectHome=yes -CapabilityBoundingSet=cap_net_raw -AmbientCapabilities=cap_net_raw - -[Install] -WantedBy=multi-user.target diff --git a/linhes/zabbix/zabbix-proxy.sysusers b/linhes/zabbix/zabbix-proxy.sysusers deleted file mode 100644 index f02825c..0000000 --- a/linhes/zabbix/zabbix-proxy.sysusers +++ /dev/null @@ -1 +0,0 @@ -u zabbix-proxy 171 - /var/lib/zabbix-proxy diff --git a/linhes/zabbix/zabbix-proxy.tmpfiles b/linhes/zabbix/zabbix-proxy.tmpfiles deleted file mode 100644 index 2b4100b..0000000 --- a/linhes/zabbix/zabbix-proxy.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/zabbix-proxy 0750 zabbix-proxy zabbix-proxy - diff --git a/linhes/zabbix/zabbix-server-mysql.service b/linhes/zabbix/zabbix-server-mysql.service deleted file mode 100644 index ba480a6..0000000 --- a/linhes/zabbix/zabbix-server-mysql.service +++ /dev/null @@ -1,19 +0,0 @@ - -[Unit] -Description=Zabbix Server with MySQL -After=network.target mysql.service -Conflicts=zabbix-server.service zabbix-server-pgsql.service - -[Service] -Type=simple -ExecStart=/usr/bin/zabbix_server_mysql -f -User=zabbix-server -#PrivateDevices=yes -PrivateTmp=yes -ProtectSystem=full -ProtectHome=yes -CapabilityBoundingSet=cap_net_raw cap_setuid cap_setgid -AmbientCapabilities=cap_net_raw cap_setuid cap_setgid - -[Install] -WantedBy=multi-user.target diff --git a/linhes/zabbix/zabbix-server.sysusers b/linhes/zabbix/zabbix-server.sysusers deleted file mode 100644 index 82bb6dc..0000000 --- a/linhes/zabbix/zabbix-server.sysusers +++ /dev/null @@ -1 +0,0 @@ -u zabbix-server 170 - /var/lib/zabbix-server diff --git a/linhes/zabbix/zabbix-server.tmpfiles b/linhes/zabbix/zabbix-server.tmpfiles deleted file mode 100644 index c278a2f..0000000 --- a/linhes/zabbix/zabbix-server.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/zabbix-server 0750 zabbix-server zabbix-server - diff --git a/linhes/zabbix/zabbix-web-service.service b/linhes/zabbix/zabbix-web-service.service deleted file mode 100644 index fd3c324..0000000 --- a/linhes/zabbix/zabbix-web-service.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Zabbix Web Service -After=network.target - -[Service] -Type=simple -ExecStart=/usr/bin/zabbix_web_service -f -User=zabbix-web-service - -[Install] -WantedBy=multi-user.target diff --git a/linhes/zabbix/zabbix-web-service.sysusers b/linhes/zabbix/zabbix-web-service.sysusers deleted file mode 100644 index 5c42710..0000000 --- a/linhes/zabbix/zabbix-web-service.sysusers +++ /dev/null @@ -1 +0,0 @@ -u zabbix-web-service 173 - /var/lib/zabbix-web-service diff --git a/linhes/zabbix/zabbix-web-service.tmpfiles b/linhes/zabbix/zabbix-web-service.tmpfiles deleted file mode 100644 index 45d6a63..0000000 --- a/linhes/zabbix/zabbix-web-service.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/zabbix-web-service 0750 zabbix-web-service zabbix-web-service - |
