diff options
author | Sertonix <sertonix@posteo.net> | 2023-11-29 23:51:58 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2023-11-30 14:34:33 +0000 |
commit | db35d97d39a35b439ee2c455f78a8530c0a7a8dc (patch) | |
tree | 8789f3b512e01fd4292c83175aa71be1303eedfc | |
parent | 1512f66ffe7032dc5ab57953990043851dbe77df (diff) | |
download | aports-db35d97d39a35b439ee2c455f78a8530c0a7a8dc.zip |
main/*: add missing -openrc subpackages
31 files changed, 114 insertions, 68 deletions
diff --git a/main/alpine-git-mirror-syncd/APKBUILD b/main/alpine-git-mirror-syncd/APKBUILD index 80a65cd3faa..cc0325f4fd6 100644 --- a/main/alpine-git-mirror-syncd/APKBUILD +++ b/main/alpine-git-mirror-syncd/APKBUILD @@ -3,12 +3,13 @@ pkgname=alpine-git-mirror-syncd _shortname=git-mirror-syncd pkgver=0.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Lua script that listens on MQTT and synchronizes Git mirrors when notified about changes" url="https://github.com/jirutka/alpine-git-mirror-syncd" arch="noarch" license="MIT" depends="ca-certificates git lua5.1 lua5.1-cjson lua5.1-mosquitto" +subpackages="$pkgname-openrc" source="https://github.com/jirutka/alpine-git-mirror-syncd/archive/v$pkgver/alpine-git-mirror-syncd-$pkgver.tar.gz" options="!check" # upstream does not provide any tests yet diff --git a/main/aports-build/APKBUILD b/main/aports-build/APKBUILD index d3b59a03ce2..6f4803b3c59 100644 --- a/main/aports-build/APKBUILD +++ b/main/aports-build/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=aports-build pkgver=1.5.5 -pkgrel=2 +pkgrel=3 pkgdesc="MQTT based build-on-git-push scripts for Alpine Linux" url="https://alpinelinux.org" arch="noarch" @@ -11,7 +11,7 @@ depends="abuild>2.20.0 build-base mosquitto-clients openssh-client mqtt-exec rsync lua-aports>1.0.0 lua5.2-cjson lua5.2-mqtt-publish pigz git" makedepends="$depends_dev mosquitto-dev" install="$pkgname.pre-install" - +subpackages="$pkgname-openrc" source="aports-build mqtt-exec.aports-build.confd report-build-errors.lua diff --git a/main/aumix/APKBUILD b/main/aumix/APKBUILD index b3f70dc77cc..1e2286a8a34 100644 --- a/main/aumix/APKBUILD +++ b/main/aumix/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=aumix pkgver=2.9.1 -pkgrel=9 +pkgrel=10 pkgdesc="color text mode sound mixer" url="https://sourceforge.net/projects/aumix/" arch="all" license="GPL-2.0-or-later" makedepends="ncurses-dev linux-headers" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="https://downloads.sourceforge.net/aumix/$pkgver/aumix-$pkgver.tar.bz2 gcc-10.patch aumix.initd diff --git a/main/bmd-tools/APKBUILD b/main/bmd-tools/APKBUILD index b8c24538e82..64a808d8b7c 100644 --- a/main/bmd-tools/APKBUILD +++ b/main/bmd-tools/APKBUILD @@ -1,12 +1,13 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=bmd-tools pkgver=1.0.2 -pkgrel=4 +pkgrel=5 pkgdesc="Tools for Blackmagic USB video encoders" url="https://github.com/fabled/bmd-tools" arch="all" license="MIT" makedepends="libusb-dev" +subpackages="$pkgname-openrc" source="bmd-tools-$pkgver.tar.gz::https://github.com/fabled/bmd-tools/archive/v$pkgver.tar.gz bmd-streamer.initd bmd-streamer.confd diff --git a/main/distcc/APKBUILD b/main/distcc/APKBUILD index 0525cd7cfb3..a860fca5429 100644 --- a/main/distcc/APKBUILD +++ b/main/distcc/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=distcc pkgver=3.4 -pkgrel=7 +pkgrel=8 pkgdesc="Ddistributed C, C++, Obj C compiler" url="https://github.com/distcc/distcc" arch="all" @@ -11,7 +11,7 @@ makedepends="autoconf automake popt-dev python3-dev" checkdepends="gdb procps" options="!check" # tests are failing install="$pkgname.pre-install" -subpackages="$pkgname-doc $pkgname-pump-pyc $pkgname-pump" +subpackages="$pkgname-doc $pkgname-pump-pyc $pkgname-pump $pkgname-openrc" source="https://github.com/distcc/distcc/releases/download/v$pkgver/distcc-$pkgver.tar.gz distcc-hardened.patch gcc-10.patch diff --git a/main/djbdns/APKBUILD b/main/djbdns/APKBUILD index c636a619f1d..f231c8a70e3 100644 --- a/main/djbdns/APKBUILD +++ b/main/djbdns/APKBUILD @@ -1,12 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=djbdns pkgver=1.05 -pkgrel=51 +pkgrel=53 pkgdesc="Excellent high-performance DNS services" url="http://cr.yp.to/djbdns.html" arch="all" license="Public-Domain" -subpackages="djbdns-common tinydns dnscache $pkgname-doc" +subpackages="djbdns-common tinydns tinydns-openrc:tinydns_openrc dnscache + dnscache-openrc:dnscache_openrc $pkgname-doc" source="https://cr.yp.to/djbdns/djbdns-$pkgver.tar.gz https://www.fefe.de/dns/djbdns-1.05-test25.diff.bz2 headtail.patch @@ -63,6 +64,13 @@ tinydns() { amove usr/bin/tinydns* mkdir -p "$subpkgdir"/etc/tinydns \ "$subpkgdir"/var/cache/tinydns +} + +tinydns_openrc() { + depends= + pkgdesc="A small and secure DNS server (OpenRC init scripts)" + install_if="openrc ${subpkgname%-openrc}=$pkgver-r$pkgrel" + install -D -m755 "$srcdir"/tinydns.initd \ "$subpkgdir"/etc/init.d/tinydns install -D -m644 "$srcdir"/tinydns.confd \ @@ -82,12 +90,19 @@ dnscache() { touch "$subpkgdir"/etc/dnscache/ip/127 mv "$pkgdir"/usr/bin/dnscache* "$subpkgdir"/usr/bin + install -D -m755 "$srcdir"/dnscache.monthly \ + "$subpkgdir"/etc/periodic/monthly/dnscache-hints-refresh +} + +dnscache_openrc() { + depends= + pkgdesc="A recursive resolver (OpenRC init scripts)" + install_if="openrc ${subpkgname%-openrc}=$pkgver-r$pkgrel" + install -D -m755 "$srcdir"/dnscache.initd \ "$subpkgdir"/etc/init.d/dnscache install -D -m644 "$srcdir"/dnscache.confd \ "$subpkgdir"/etc/conf.d/dnscache - install -D -m755 "$srcdir"/dnscache.monthly \ - "$subpkgdir"/etc/periodic/monthly/dnscache-hints-refresh } sha512sums=" diff --git a/main/dkimproxy/APKBUILD b/main/dkimproxy/APKBUILD index 145c110ab01..ea4c6f18bda 100644 --- a/main/dkimproxy/APKBUILD +++ b/main/dkimproxy/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=dkimproxy pkgver=1.4.1 -pkgrel=8 +pkgrel=9 pkgdesc="SMTP-proxy that signs and/or verifies emails, using the Mail::DKIM module" url="https://dkimproxy.sourceforge.net/" arch="noarch" license="GPL-2.0-or-later" options="!check" # no testsuite depends="perl-mail-dkim perl-net-server perl-error" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" install="$pkgname.pre-install" source="https://downloads.sourceforge.net/dkimproxy/dkimproxy-$pkgver.tar.gz dkimproxy_out.conf.patch diff --git a/main/dmvpn/APKBUILD b/main/dmvpn/APKBUILD index 22ab96b904d..2bc63d66343 100644 --- a/main/dmvpn/APKBUILD +++ b/main/dmvpn/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org> pkgname=dmvpn pkgver=1.4.0 -pkgrel=2 +pkgrel=3 pkgdesc="Dynamic Multipoint VPN" url="https://git.alpinelinux.org/cgit/dmvpn-tools/" arch="noarch" @@ -14,7 +14,7 @@ _ca_deps="lua5.2 lua5.2-lyaml lua5.2-ossl lua5.2-posix lua5.2-sql-sqlite3 makedepends="$_lua_dmvpn_deps $_dp_deps $_ca_deps" depends="augeas bind-tools lua5.2 lua5.2-cqueues lua5.2-lyaml lua5.2-ossl lua5.2-posix lua5.2-struct lua-dmvpn quagga strongswan tunnel" -subpackages="dmvpn-ca dmvpn-crl-dp lua-dmvpn" +subpackages="dmvpn-ca dmvpn-crl-dp lua-dmvpn $pkgname-openrc" options="!check" source="$pkgname-$pkgver.tar.bz2::https://gitlab.alpinelinux.org/alpine/dmvpn-tools/-/archive/v1.4.0/dmvpn-tools-v1.4.0.tar.bz2 dmvpn-ca.insync" diff --git a/main/fprobe-ulog/APKBUILD b/main/fprobe-ulog/APKBUILD index 467f0ca3cd1..1621c404017 100644 --- a/main/fprobe-ulog/APKBUILD +++ b/main/fprobe-ulog/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=fprobe-ulog pkgver=1.2 -pkgrel=7 +pkgrel=8 pkgdesc="netfilter-based tool that collect network traffic" url="https://github.com/opoplawski/fprobe-ulog" arch="all" license="GPL-2.0-or-later" makedepends="libnfnetlink-dev libnetfilter_log-dev" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="https://github.com/opoplawski/fprobe-ulog/releases/download/v$pkgver/fprobe-ulog-$pkgver.tar.gz fprobe-ulog.confd fprobe-ulog.initd diff --git a/main/fprobe/APKBUILD b/main/fprobe/APKBUILD index 4197bf55f65..22db838736d 100644 --- a/main/fprobe/APKBUILD +++ b/main/fprobe/APKBUILD @@ -2,13 +2,13 @@ # Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org> pkgname=fprobe pkgver=1.1 -pkgrel=12 +pkgrel=13 pkgdesc="libpcap-based tool that collect network traffic" url="https://fprobe.sourceforge.net/" arch="all" license="GPL-2.0-or-later" makedepends="libpcap-dev" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="https://downloads.sourceforge.net/fprobe/fprobe-$pkgver.tar.bz2 fprobe-1.1-pidfile-sanity.patch fprobe-1.1-setgroups.patch diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD index f4ff8fb28b0..658ff8e72ef 100644 --- a/main/freeradius/APKBUILD +++ b/main/freeradius/APKBUILD @@ -5,7 +5,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=freeradius pkgver=3.0.26 -pkgrel=4 +pkgrel=6 pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server" url="https://freeradius.org/" arch="all" @@ -61,6 +61,7 @@ subpackages=" $pkgname-redis $pkgname-checkrad $pkgname-utils + $pkgname-openrc " provides="freeradius3=$pkgver-r$pkgrel" source="https://github.com/FreeRADIUS/freeradius-server/releases/download/release_${pkgver//./_}/freeradius-server-$pkgver.tar.gz diff --git a/main/gross/APKBUILD b/main/gross/APKBUILD index 43e608b2641..fcad536e111 100644 --- a/main/gross/APKBUILD +++ b/main/gross/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gross pkgver=1.0.3 -pkgrel=2 +pkgrel=3 pkgdesc="Greylisting of suspicious sources" url="https://codeberg.org/bizdelnick/gross" arch="all" @@ -10,7 +10,7 @@ license="BSD-3-Clause" makedepends="c-ares-dev autoconf automake libtool sed" install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-upgrade" -subpackages="$pkgname-doc $pkgname-dev" +subpackages="$pkgname-doc $pkgname-dev $pkgname-openrc" source="https://codeberg.org/bizdelnick/gross/releases/download/v$pkgver/gross-$pkgver.tar.xz grossd.initd grossd.confd diff --git a/main/gvpe/APKBUILD b/main/gvpe/APKBUILD index 98cffdc2bc0..c132a1b3f6d 100644 --- a/main/gvpe/APKBUILD +++ b/main/gvpe/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gvpe pkgver=3.1 -pkgrel=5 +pkgrel=6 pkgdesc="GNU Virtual Private Ethernet" url="http://software.schmorp.de/pkg/gvpe.html" arch="all" @@ -16,7 +16,7 @@ source="https://ftp.gnu.org/gnu/gvpe/gvpe-$pkgver.tar.gz gvpe.initd if-up " -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" build() { ./configure \ diff --git a/main/hvtools/APKBUILD b/main/hvtools/APKBUILD index 8a522df10c9..a6179b4a305 100644 --- a/main/hvtools/APKBUILD +++ b/main/hvtools/APKBUILD @@ -2,12 +2,13 @@ pkgname=hvtools pkgver=4.11.9 _kernver=${pkgver%.*} -pkgrel=3 +pkgrel=4 pkgdesc="Hyper-v tools" url="https://www.kernel.org/" arch="all" license="GPL-2.0-only" makedepends="$depends_dev linux-headers" +subpackages="$pkgname-openrc" source="https://kernel.org/pub/linux/kernel/v4.x/linux-$_kernver.tar.xz https://kernel.org/pub/linux/kernel/v4.x/patch-$pkgver.xz hv_kvp_daemon.initd diff --git a/main/hylafax/APKBUILD b/main/hylafax/APKBUILD index 1f882ce7b04..317ee0699d3 100644 --- a/main/hylafax/APKBUILD +++ b/main/hylafax/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Cameron Banta <cbanta@gmail.com> pkgname=hylafax pkgver=6.0.7 -pkgrel=9 +pkgrel=10 pkgdesc="Sends and receives faxes" url="http://www.hylafax.org/" arch="" # https://gitlab.alpinelinux.org/alpine/aports/-/issues/15384 @@ -10,7 +10,7 @@ license="MIT" #depends on gcc for libgcc_s.so, it's scripts are hardcoded to bash depends="ghostscript bash tiff-tools" makedepends="zlib-dev tiff-dev gettext-dev" -subpackages="$pkgname-doc $pkgname-lang" +subpackages="$pkgname-doc $pkgname-lang $pkgname-openrc" source="ftp://ftp.hylafax.org/source/hylafax-$pkgver.tar.gz $pkgname.initd $pkgname.confd diff --git a/main/ifupdown-ng/APKBUILD b/main/ifupdown-ng/APKBUILD index 49d4e2f7d57..5d33fba23a7 100644 --- a/main/ifupdown-ng/APKBUILD +++ b/main/ifupdown-ng/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Ariadne Conill <ariadne@dereferenced.org> pkgname=ifupdown-ng pkgver=0.12.1 -pkgrel=2 +pkgrel=3 pkgdesc="tools for managing network configuration" url="https://github.com/ifupdown-ng/ifupdown-ng" arch="all" @@ -17,6 +17,7 @@ subpackages=" $pkgname-ethtool $pkgname-batman $pkgname-wifi + $pkgname-openrc " source="https://distfiles.ariadne.space/ifupdown-ng/ifupdown-ng-$pkgver.tar.xz 01-add-onlink-to-default-route.patch diff --git a/main/iproute2-qos/APKBUILD b/main/iproute2-qos/APKBUILD index a25f94080a2..4eb7e9ae99a 100644 --- a/main/iproute2-qos/APKBUILD +++ b/main/iproute2-qos/APKBUILD @@ -2,12 +2,13 @@ # Maintainer: Iilluzion <iilluzion@gmail.com> pkgname=iproute2-qos pkgver=0.5 -pkgrel=4 +pkgrel=5 pkgdesc="Scripts to set up quality of service with iproute2" url="https://git.alpinelinux.org/cgit/aports" arch="noarch" license="GPL-2.0-only" depends="iproute2" +subpackages="$pkgname-openrc" source="qos.initd qos.eth0.sample qos.ifb0.sample setup-qos" package() { diff --git a/main/ipvsadm/APKBUILD b/main/ipvsadm/APKBUILD index 4a03d0b95f9..c60b9f77b18 100644 --- a/main/ipvsadm/APKBUILD +++ b/main/ipvsadm/APKBUILD @@ -2,13 +2,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ipvsadm pkgver=1.31 -pkgrel=2 +pkgrel=3 pkgdesc="The IP Virtual Server administration utility" url="http://www.linuxvirtualserver.org/software/ipvs.html" arch="all" license="GPL-2.0-or-later" makedepends="libnl3-dev popt-dev linux-headers" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="https://kernel.org/pub/linux/utils/kernel/ipvsadm/ipvsadm-$pkgver.tar.xz $pkgname.initd " diff --git a/main/iscsi-scst/APKBUILD b/main/iscsi-scst/APKBUILD index 1698fcc5bb0..ef8c8469bd8 100644 --- a/main/iscsi-scst/APKBUILD +++ b/main/iscsi-scst/APKBUILD @@ -2,12 +2,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=iscsi-scst pkgver=2.2.1 -pkgrel=5 +pkgrel=6 pkgdesc="ISCSI target for SCST - userspace tools" url="https://scst.sourceforge.net/" arch="all" license="GPL-2.0-only" makedepends="linux-headers bash" +subpackages="$pkgname-openrc" source="https://downloads.sourceforge.net/scst/iscsi-scst-$pkgver.tar.bz2 https://downloads.sourceforge.net/scst/scst-$pkgver.tar.bz2 $pkgname.initd diff --git a/main/mdadm/APKBUILD b/main/mdadm/APKBUILD index 5179c982afa..78f24686e3d 100644 --- a/main/mdadm/APKBUILD +++ b/main/mdadm/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mdadm pkgver=4.2 -pkgrel=3 +pkgrel=4 pkgdesc="a tool for managing Linux Software RAID arrays" url="https://raid.wiki.kernel.org/index.php/A_guide_to_mdadm" arch="all" @@ -11,7 +11,7 @@ license="GPL-2.0-only" depends="lsblk" makedepends="groff linux-headers" checkdepends="bash eudev e2fsprogs" -subpackages="$pkgname-doc $pkgname-udev::noarch $pkgname-misc::noarch" +subpackages="$pkgname-doc $pkgname-udev::noarch $pkgname-misc::noarch $pkgname-openrc" source="https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.gz $pkgname.initd $pkgname.confd diff --git a/main/opennhrp/APKBUILD b/main/opennhrp/APKBUILD index f6422e1c6db..e5e17b39f3d 100644 --- a/main/opennhrp/APKBUILD +++ b/main/opennhrp/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=opennhrp pkgver=0.14.1 -pkgrel=10 +pkgrel=11 pkgdesc="NBMA Next Hop Resolution Protocol daemon" url="https://sourceforge.net/projects/opennhrp/" arch="all" license="GPL-2.0" makedepends="c-ares-dev linux-headers" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="https://downloads.sourceforge.net/opennhrp/opennhrp-$pkgver.tar.bz2 0001-peer-reset-interface-nat-cie-when-server-does-not-de.patch 0002-all-fix-includes-and-types-to-honor-standards.patch diff --git a/main/pptpd/APKBUILD b/main/pptpd/APKBUILD index 3b53583a902..87b89c881e9 100644 --- a/main/pptpd/APKBUILD +++ b/main/pptpd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pptpd pkgver=1.4.0 -pkgrel=4 +pkgrel=5 pkgdesc="PoPToP - PPTP Daemon, Linux as Microsoft VPN Server" url="http://www.poptop.org/" # does not build against pppd 2.5 @@ -10,7 +10,7 @@ url="http://www.poptop.org/" license="GPL-2.0-or-later" depends="ppp-daemon" makedepends="ppp-dev" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="$pkgname-$pkgver.tar.gz::https://sourceforge.net/projects/poptop/files/pptpd/pptpd-$pkgver/pptpd-$pkgver.tar.gz/download fix_MSG_TRYHARD.patch pptpd.patch diff --git a/main/rrdcollect/APKBUILD b/main/rrdcollect/APKBUILD index 58dcf1e7019..994fd8764b6 100644 --- a/main/rrdcollect/APKBUILD +++ b/main/rrdcollect/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=rrdcollect pkgver=0.2.10 -pkgrel=4 +pkgrel=5 pkgdesc="Read system statistical data and feed it to RRDtool" url="https://rrdcollect.sourceforge.net/" arch="all" license="GPL-2.0-or-later" depends="rrdtool" makedepends="libpcap-dev" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="https://downloads.sourceforge.net/rrdcollect/rrdcollect-$pkgver.tar.bz2 rrdcollect.conf.patch rrdcollect.initd" diff --git a/main/rrdtool/APKBUILD b/main/rrdtool/APKBUILD index e1947402bb1..2f60975329e 100644 --- a/main/rrdtool/APKBUILD +++ b/main/rrdtool/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=rrdtool pkgver=1.8.0 -pkgrel=3 +pkgrel=4 pkgdesc="Data logging and graphing application" url="http://www.rrdtool.org" arch="all" @@ -12,7 +12,7 @@ makedepends="libart-lgpl-dev libpng-dev freetype-dev perl-dev cairo-dev libxml2- pango-dev lua lua-dev groff autoconf automake libtool" checkdepends="diffutils" subpackages="$pkgname-dev $pkgname-doc perl-rrd:perl_rrd lua-rrd:lua_rrd - $pkgname-cached $pkgname-cgi $pkgname-utils librrd:libs" + $pkgname-cached $pkgname-cached-openrc:cached_openrc $pkgname-cgi $pkgname-utils librrd:libs" source="https://github.com/oetiker/rrdtool-1.x/releases/download/v$pkgver/rrdtool-$pkgver.tar.gz lua-install-cmod.patch dont-install-in-usr-local.patch @@ -82,6 +82,13 @@ cached() { "$subpkgdir"/var/lib/rrdcached/db \ "$subpkgdir"/var/lib/rrdcached/journal mv "$pkgdir"/usr/bin/rrdcached "$subpkgdir"/usr/sbin +} + +cached_openrc() { + depends= + pkgdesc="RRDtool data caching daemon (OpenRC init scripts)" + install_if="openrc ${subpkgname%-openrc}=$pkgver-r$pkgrel" + install -Dm755 "$srcdir"/rrdcached.initd "$subpkgdir"/etc/init.d/rrdcached } diff --git a/main/rtapd/APKBUILD b/main/rtapd/APKBUILD index 6f13e63dea4..d1d9c801bb2 100644 --- a/main/rtapd/APKBUILD +++ b/main/rtapd/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=rtapd pkgver=1.7 -pkgrel=8 +pkgrel=9 pkgdesc="daemon for routing packets to rtnppd" url="https://sourceforge.net/projects/rtnppd/" arch="all" license="GPL" depends="rtnppd" makedepends="libpq-dev" -subpackages="$pkgname-dbg" +subpackages="$pkgname-dbg $pkgname-openrc" source="https://downloads.sourceforge.net/rtnppd/rtapd-$pkgver.tar.gz musl-strtoq.patch Makefile.patch diff --git a/main/rtnppd/APKBUILD b/main/rtnppd/APKBUILD index d3428c8f271..811feaa9331 100644 --- a/main/rtnppd/APKBUILD +++ b/main/rtnppd/APKBUILD @@ -2,14 +2,14 @@ # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=rtnppd pkgver=1.7b -pkgrel=10 +pkgrel=11 pkgdesc="A program route TNPP 3.8 (Telocator Network Paging Protocol) packets between serial and other links" url="https://sourceforge.net/projects/rtnppd/" arch="all" license="GPL" makedepends="libpq-dev" install="$pkgname.pre-install" -subpackages="$pkgname-dbg" +subpackages="$pkgname-dbg $pkgname-openrc" source="https://downloads.sourceforge.net/rtnppd/rtnppd-$pkgver.tar.gz $pkgname.initd $pkgname.confd" diff --git a/main/spawn-fcgi/APKBUILD b/main/spawn-fcgi/APKBUILD index f7a92d2454f..0b129b7a6af 100644 --- a/main/spawn-fcgi/APKBUILD +++ b/main/spawn-fcgi/APKBUILD @@ -2,12 +2,12 @@ # Contributor: Eivind Uggedal <eu@eju.no> pkgname=spawn-fcgi pkgver=1.6.5 -pkgrel=3 +pkgrel=4 pkgdesc="Spawn FastCGI applications" url="https://redmine.lighttpd.net/projects/spawn-fcgi/" arch="all" license="BSD-3-Clause" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="https://download.lighttpd.net/spawn-fcgi/releases-${pkgver%.*}.x/spawn-fcgi-$pkgver.tar.xz $pkgname.confd $pkgname.initd diff --git a/main/tinc/APKBUILD b/main/tinc/APKBUILD index 34b725ec735..a2c98ed462a 100644 --- a/main/tinc/APKBUILD +++ b/main/tinc/APKBUILD @@ -2,13 +2,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=tinc pkgver=1.0.36 -pkgrel=5 +pkgrel=6 pkgdesc="Virtual Private Network (VPN) daemon" url="https://www.tinc-vpn.org" arch="all" license="GPL-2.0-or-later WITH OpenSSL-Exception" makedepends="zlib-dev lzo-dev openssl-dev>3 linux-headers" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="https://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz tincd.initd tincd.lo.initd diff --git a/main/uvncrepeater/APKBUILD b/main/uvncrepeater/APKBUILD index 5a1da8f0804..717c22138ae 100644 --- a/main/uvncrepeater/APKBUILD +++ b/main/uvncrepeater/APKBUILD @@ -2,13 +2,13 @@ # Maintainer: pkgname=uvncrepeater pkgver=014 -pkgrel=10 +pkgrel=11 pkgdesc="VNC repeater based on ultravnc repeater" url="http://koti.mbnet.fi/jtko/" arch="all" license="GPL-2.0-or-later" -depends="openrc>=0.6" install="$pkgname.pre-install" +subpackages="$pkgname-openrc" source="http://distcache.freebsd.org/ports-distfiles/repeater$pkgver.zip uvncrepeater.confd uvncrepeater.initd" diff --git a/main/uwsgi/APKBUILD b/main/uwsgi/APKBUILD index 695b9027ac9..ec779e0e332 100644 --- a/main/uwsgi/APKBUILD +++ b/main/uwsgi/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=uwsgi pkgver=2.0.23 -pkgrel=0 +pkgrel=1 pkgdesc="uWSGI application container server" url="https://projects.unbit.it/uwsgi/" arch="all" @@ -32,6 +32,7 @@ makedepends=" zeromq-dev zlib-dev " +subpackages="$pkgname-openrc" source="$pkgname-$pkgver.tar.gz::https://github.com/unbit/uwsgi/archive/refs/tags/$pkgver.tar.gz uwsgi.initd uwsgi.ini diff --git a/main/xen/APKBUILD b/main/xen/APKBUILD index 4996dd49863..3fd2b401eb7 100644 --- a/main/xen/APKBUILD +++ b/main/xen/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xen pkgver=4.18.0 -pkgrel=0 +pkgrel=1 pkgdesc="Xen hypervisor" url="https://www.xenproject.org/" arch="x86_64 armv7 aarch64" @@ -374,7 +374,9 @@ esac # subpackages="$pkgname-dbg" #fi subpackages="$subpackages $pkgname-doc $pkgname-dev $pkgname-libs - $pkgname-hypervisor $pkgname-pyc $pkgname-bridge $pkgname-qemu $pkgname-bash-completion" + $pkgname-hypervisor $pkgname-pyc $pkgname-bridge + $pkgname-bridge-openrc:bridge_openrc $pkgname-qemu + $pkgname-qemu-openrc:qemu_openrc $pkgname-bash-completion" # grep _VERSION= stubdom/configure _ZLIB_VERSION="1.2.3" @@ -613,9 +615,23 @@ hypervisor() { bridge() { depends="dnsmasq" pkgdesc="Bridge interface for XEN with dhcp" + + mkdir -p "$subpkgdir"/etc/xen + + cat ->>"$subpkgdir"/etc/xen/dnsmasq.conf <<EOF + #dhcp-host=somehost,10.0.4.3 + #dhcp-host=otherhost,10.0.4.4 +EOF + +} + +bridge_openrc() { + depends= + pkgdesc="Bridge interface for XEN with dhcp (OpenRC init scripts)" + install_if="openrc ${subpkgname%-openrc}=$pkgver-r$pkgrel" + mkdir -p "$subpkgdir"/etc/conf.d \ - "$subpkgdir"/etc/init.d \ - "$subpkgdir"/etc/xen + "$subpkgdir"/etc/init.d ln -s dnsmasq "$subpkgdir"/etc/init.d/dnsmasq.xenbr0 cat ->>"$subpkgdir"/etc/conf.d/dnsmasq.xenbr0 <<EOF @@ -627,11 +643,6 @@ bridge() { BRIDGE_MAC="00:16:3f:00:00:00" DNSMASQ_CONFFILE="/etc/xen/dnsmasq.conf" EOF - cat ->>"$subpkgdir"/etc/xen/dnsmasq.conf <<EOF - #dhcp-host=somehost,10.0.4.3 - #dhcp-host=otherhost,10.0.4.4 -EOF - } qemu() { @@ -641,13 +652,9 @@ qemu() { depends="$depends seabios-bin" ;; esac - mkdir -p "$subpkgdir"/etc/conf.d \ - "$subpkgdir"/etc/init.d \ - "$subpkgdir"/usr/lib/xen/bin \ + mkdir -p "$subpkgdir"/usr/lib/xen/bin \ "$subpkgdir"/usr/share/applications - amove etc/conf.d/xenqemu - amove etc/init.d/xenqemu amove usr/lib/xen/bin/qemu* mv "$pkgdir"/usr/share/qemu-xen/applications/qemu.desktop \ "$subpkgdir"/usr/share/applications/qemu-xen.desktop @@ -671,6 +678,15 @@ qemu() { esac } +qemu_openrc() { + depends= + pkgdesc="QEMU for XEN (OpenRC init scripts)" + install_if="openrc ${subpkgname%-openrc}=$pkgver-r$pkgrel" + + amove etc/conf.d/xenqemu + amove etc/init.d/xenqemu +} + sha512sums=" 4cc9fd155144045a173c5f8ecc45f149817f1034eec618cb6f8b0494ef2fb5b95c4c60cf0bf4bec4bef8a622c35b6a3cb7dedc38e6d95e726f1611c73ddb3273 xen-4.18.0.tar.gz 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf gmp-4.3.2.tar.bz2 |