aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/crda/01-Makefile-dont-run-ldconfig.patch10
-rw-r--r--unmaintained/crda/APKBUILD34
-rwxr-xr-xunmaintained/fa/APKBUILD26
-rw-r--r--unmaintained/gnats/APKBUILD41
-rw-r--r--unmaintained/gnats/gnats.pre-install6
-rw-r--r--unmaintained/gnats/no-werror.patch13
-rw-r--r--unmaintained/mautrix-telegram/APKBUILD69
-rw-r--r--unmaintained/mautrix-telegram/default-log-dir.patch16
-rw-r--r--unmaintained/mautrix-telegram/mautrix-telegram.confd7
-rw-r--r--unmaintained/mautrix-telegram/mautrix-telegram.initd20
-rw-r--r--unmaintained/mautrix-telegram/mautrix-telegram.post-upgrade11
-rw-r--r--unmaintained/mautrix-telegram/mautrix-telegram.pre-install6
-rw-r--r--unmaintained/py-django-compressor/APKBUILD4
-rw-r--r--unmaintained/py3-django-overextends/APKBUILD4
-rw-r--r--unmaintained/py3-mautrix/APKBUILD34
-rw-r--r--unmaintained/py3-openzwave/APKBUILD65
-rw-r--r--unmaintained/py3-pdfkit/APKBUILD2
17 files changed, 363 insertions, 5 deletions
diff --git a/unmaintained/crda/01-Makefile-dont-run-ldconfig.patch b/unmaintained/crda/01-Makefile-dont-run-ldconfig.patch
new file mode 100644
index 0000000000..d1e7477b68
--- /dev/null
+++ b/unmaintained/crda/01-Makefile-dont-run-ldconfig.patch
@@ -0,0 +1,10 @@
+--- a/Makefile 2014-12-11 00:51:29.000000000 +0100
++++ b/Makefile 2016-04-23 03:03:33.785974265 +0200
+@@ -127,7 +127,6 @@
+ $(NQ) ' INSTALL libreg'
+ $(Q)mkdir -p $(DESTDIR)/$(LIBDIR)
+ $(Q)cp $(LIBREG) $(DESTDIR)/$(LIBDIR)/
+- $(Q)ldconfig
+
+ %.o: %.c regdb.h $(LIBREG)
+ $(NQ) ' CC ' $@
diff --git a/unmaintained/crda/APKBUILD b/unmaintained/crda/APKBUILD
new file mode 100644
index 0000000000..5683baa0d2
--- /dev/null
+++ b/unmaintained/crda/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Stefan Wagner <stw@bit-strickerei.de>
+# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
+pkgname=crda
+pkgver=4.14
+pkgrel=0
+pkgdesc="Linux Central Regulatory Domain Agent"
+url="https://wireless.wiki.kernel.org/en/developers/Regulatory/CRDA"
+arch=""
+license="GPL"
+depends="wireless-regdb"
+makedepends="linux-headers libnl-dev py2-m2crypto libgcrypt-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/snapshot/$pkgname-$pkgver.tar.gz
+ 01-Makefile-dont-run-ldconfig.patch"
+
+builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ default_prepare
+ sed 's/-Werror//' -i $builddir/Makefile
+}
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="0d52cf62589ec2debfd66de95b82b03a1c15048d8425cf5ef43c3e1f51ce1311a6d898fd5f69badcceb3181d35c836db197c6f070654dab351b01e96a1dd1053 crda-4.14.tar.gz
+c642976b193722c0050c13331a010b466cea8391bb5f945832604a556e274ea1a4b289c78f74ff5d502fae800f18219db3d10ff10c0528eefc5e9443a963640f 01-Makefile-dont-run-ldconfig.patch"
diff --git a/unmaintained/fa/APKBUILD b/unmaintained/fa/APKBUILD
new file mode 100755
index 0000000000..bfa3b4295e
--- /dev/null
+++ b/unmaintained/fa/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Jesse Laprade <jesselaprade@gmail.com>
+# Contributor: Will Sinatra <wpsinatra@gmail.com>
+# Maintainer: Will Sinatra <wpsinatra@gmail.com>
+pkgname=fa
+pkgver=0.5.10
+pkgrel=0
+pkgdesc="A Commandline Agenda written in Fennel"
+url="https://git.m455.casa/m455/fa"
+# s390x and riscv64 blocked by lua -> fennel
+arch="all !s390x !riscv64"
+arch="" # Repository has been nuked
+license="AGPL-3.0-only"
+makedepends="fennel lua5.3-dev"
+depends="lua5.3"
+source="fa-v$pkgver.tar.gz::https://git.m455.casa/m455/fa/archive/$pkgver.tar.gz"
+builddir="$srcdir/fa"
+options="!check" #No checks
+
+build() {
+ make compile-bin STATIC_LUA_LIB="/usr/lib/liblua-5.3.so.0.0.0"
+}
+
+package() {
+ install -Dm755 "$builddir/dists/fa-bin" "$pkgdir"/usr/bin/fa
+}
+
diff --git a/unmaintained/gnats/APKBUILD b/unmaintained/gnats/APKBUILD
new file mode 100644
index 0000000000..1afb2da432
--- /dev/null
+++ b/unmaintained/gnats/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gnats
+pkgver=4.2.0
+pkgrel=5
+pkgdesc="The GNU Bug Tracking System"
+url="https://www.gnu.org/software/gnats/"
+arch="" # Fails to build with gcc-10
+license="GPL-3.0"
+depends="postfix"
+makedepends="texinfo"
+install=
+source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz
+ no-werror.patch
+ "
+subpackages="$pkgname-doc"
+pkgusers="gnats"
+pkggroups="gnats"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sharedstatedir=/var/lib \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
+
+ make -j1 || return 1
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ rm -f "$pkgdir"/gnats.el
+}
+
+sha512sums="650faa87206889912e27a27daba4c86292fac90250a88e7e6272cc8488fc19dfd6098bdd450553cd6c2c1d446072a8da9395f1ce7b1cd284596994ce53744152 gnats-4.2.0.tar.gz
+f37cbc05bcf4fe37226e95ca84162ffa9ca92da3e30907dbbde67805aa0ab6210724a954a9106f4522c0adcaf936919beb11afb7d477142491be09c9da0ee38d no-werror.patch"
diff --git a/unmaintained/gnats/gnats.pre-install b/unmaintained/gnats/gnats.pre-install
new file mode 100644
index 0000000000..7e46b87e62
--- /dev/null
+++ b/unmaintained/gnats/gnats.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S gnats 2>/dev/null
+adduser -S -D -h /var/lib/gnatsdb -G gnats -g gnats gnats 2>/dev/null
+
+exit 0
diff --git a/unmaintained/gnats/no-werror.patch b/unmaintained/gnats/no-werror.patch
new file mode 100644
index 0000000000..e7d4d14e5e
--- /dev/null
+++ b/unmaintained/gnats/no-werror.patch
@@ -0,0 +1,13 @@
+diff --git a/configure b/configure
+index dfacf87..c3bdb3a 100755
+--- a/configure
++++ b/configure
+@@ -6722,7 +6722,7 @@ fi
+
+
+ if test "x$GCC" = "xyes" ; then
+- GCC_CFLAGS="-ansi -Werror -Wall"
++ GCC_CFLAGS="-ansi -Wall"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wextra" >&5
+ $as_echo_n "checking whether C compiler accepts -Wextra... " >&6; }
diff --git a/unmaintained/mautrix-telegram/APKBUILD b/unmaintained/mautrix-telegram/APKBUILD
new file mode 100644
index 0000000000..e560d46b6d
--- /dev/null
+++ b/unmaintained/mautrix-telegram/APKBUILD
@@ -0,0 +1,69 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer:
+pkgname=mautrix-telegram
+pkgver=0.9.0
+pkgrel=5
+pkgdesc="A Matrix-Telegram hybrid puppeting/relaybot bridge"
+url="https://github.com/tulir/mautrix-telegram"
+arch="noarch"
+license="AGPL-3.0-or-later"
+depends="
+ py3-aiohttp
+ py3-alembic
+ py3-commonmark
+ py3-magic
+ py3-mautrix>~0.8.3
+ py3-ruamel.yaml
+ py3-sqlalchemy
+ py3-telethon>~1.17
+ py3-telethon-session-sqlalchemy
+ python3
+ "
+makedepends="
+ py3-pytest-runner
+ py3-setuptools
+ "
+checkdepends="
+ py3-pytest
+ py3-pytest-asyncio
+ py3-pytest-mock
+ py3-pytest-runner
+ "
+install="$pkgname.pre-install $pkgname.post-upgrade"
+subpackages="$pkgname-openrc"
+source="https://github.com/tulir/mautrix-telegram/archive/v$pkgver/mautrix-telegram-v$pkgver.tar.gz
+ mautrix-telegram.initd
+ mautrix-telegram.confd
+ default-log-dir.patch
+ "
+options="!check" # Broken for now
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+
+ # Remove installed tests
+ local _site_packages=$(python3 -c "import site; print(site.getsitepackages()[0])")
+ rm -r "$pkgdir/$_site_packages"/tests/
+
+ install -Dm644 mautrix_telegram/example-config.yaml "$pkgdir"/etc/mautrix-telegram/example-config.yaml
+ install -Dm755 "$srcdir"/mautrix-telegram.initd "$pkgdir"/etc/init.d/mautrix-telegram
+ install -Dm644 "$srcdir"/mautrix-telegram.confd "$pkgdir"/etc/conf.d/mautrix-telegram
+
+ mkdir -p "$pkgdir"/usr/share/mautrix-telegram
+ mv \
+ "$pkgdir"/usr/alembic \
+ "$pkgdir"/usr/alembic.ini \
+ "$pkgdir"/usr/share/mautrix-telegram/
+}
+sha512sums="16622cf9f1624c8641fbda9a47e34bc78d08f068cf6c6715fb8da8d2bad19e02fc161b8b246623400831f25d466fa40ae14115bae716997ed83e8ba683e30c76 mautrix-telegram-v0.9.0.tar.gz
+ee0c29822abf213acf2a63205bdb3fca845c916682f1f7dadf17f443fba8191844a0ee9e0ca323e6de7d539e141f2df1b4457a7fbfbe8af607e3189809d23205 mautrix-telegram.initd
+7b3c15dd2d0671c4c777bcf4f2e905d9a0b639a54828313ac9db1a9793fde3d092e92f18aa896bff94b9a81db3df74b3de65661c6879cb648d36f5cec2437df0 mautrix-telegram.confd
+09e9afa45341927fc6085573aaa8a2b3816ad75b664d57ebd2e44cab2612f97972f022e66a4b98e5cd1c7421d257859ffa5333201f11a5666cdaa470b8618c03 default-log-dir.patch"
diff --git a/unmaintained/mautrix-telegram/default-log-dir.patch b/unmaintained/mautrix-telegram/default-log-dir.patch
new file mode 100644
index 0000000000..2b33ee16e5
--- /dev/null
+++ b/unmaintained/mautrix-telegram/default-log-dir.patch
@@ -0,0 +1,16 @@
+Upstream: No, Alpine specific
+Reason: We don't want to log into $PWD by default but into /var/log/mautrix-telegram.log
+
+diff --git a/mautrix_telegram/example-config.yaml b/mautrix_telegram/example-config.yaml
+index 70bc111..9875175 100644
+--- a/mautrix_telegram/example-config.yaml
++++ b/mautrix_telegram/example-config.yaml
+@@ -415,7 +415,7 @@ logging:
+ file:
+ class: logging.handlers.RotatingFileHandler
+ formatter: normal
+- filename: ./mautrix-telegram.log
++ filename: /var/log/mautrix-telegram/mautrix-telegram.log
+ maxBytes: 10485760
+ backupCount: 10
+ console:
diff --git a/unmaintained/mautrix-telegram/mautrix-telegram.confd b/unmaintained/mautrix-telegram/mautrix-telegram.confd
new file mode 100644
index 0000000000..d463224183
--- /dev/null
+++ b/unmaintained/mautrix-telegram/mautrix-telegram.confd
@@ -0,0 +1,7 @@
+# Configuration for /etc/init.d/mautrix-telegram
+
+# Location of configuration file
+config="/etc/mautrix-telegram/config.yaml"
+
+# Extra arguments to be passed when starting mautrix-telegram
+# command_args=""
diff --git a/unmaintained/mautrix-telegram/mautrix-telegram.initd b/unmaintained/mautrix-telegram/mautrix-telegram.initd
new file mode 100644
index 0000000000..d07013d270
--- /dev/null
+++ b/unmaintained/mautrix-telegram/mautrix-telegram.initd
@@ -0,0 +1,20 @@
+#!/sbin/openrc-run
+supervisor=supervise-daemon
+
+name="mautrix-telegram"
+description="Daemon for mautrix-telegram, the Matrix-Telegram hybrid puppeting/relaybot bridge"
+
+: ${command_user:="mautrix-telegram:mautrix-telegram"}
+: ${config:="/etc/mautrix-telegram/config.yaml"}
+
+command="/usr/bin/python3"
+command_args="-m mautrix_telegram -c $config $command_args"
+
+depends() {
+ need net
+}
+
+start_pre() {
+ checkpath --file --owner "$command_user" /etc/mautrix-telegram/config.yaml
+ checkpath --directory --owner "$command_user" /var/log/mautrix-telegram
+}
diff --git a/unmaintained/mautrix-telegram/mautrix-telegram.post-upgrade b/unmaintained/mautrix-telegram/mautrix-telegram.post-upgrade
new file mode 100644
index 0000000000..d4f7d0a8c8
--- /dev/null
+++ b/unmaintained/mautrix-telegram/mautrix-telegram.post-upgrade
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cat <<EOF
+You might need to upgrade the database after upgrading to a newer version of
+mautrix-telegram. You can do so using alembic. After making sure it's installed
+run:
+
+ cd /usr/share/mautrix-telegram && alembic -x config=/etc/mautrix-telegram/config.yaml upgrade head
+
+Then restart the service.
+EOF
diff --git a/unmaintained/mautrix-telegram/mautrix-telegram.pre-install b/unmaintained/mautrix-telegram/mautrix-telegram.pre-install
new file mode 100644
index 0000000000..488396b112
--- /dev/null
+++ b/unmaintained/mautrix-telegram/mautrix-telegram.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S mautrix-telegram 2>/dev/null
+adduser -S -D -H -h /var/lib/mautrix-telegram -s /sbin/nologin -G mautrix-telegram -g mautrix-telegram mautrix-telegram 2>/dev/null
+
+exit 0
diff --git a/unmaintained/py-django-compressor/APKBUILD b/unmaintained/py-django-compressor/APKBUILD
index ff12006e9f..a51abf5d33 100644
--- a/unmaintained/py-django-compressor/APKBUILD
+++ b/unmaintained/py-django-compressor/APKBUILD
@@ -1,5 +1,5 @@
-# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
+# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=py-django-compressor
_pkgname=django_compressor
pkgver=2.2
diff --git a/unmaintained/py3-django-overextends/APKBUILD b/unmaintained/py3-django-overextends/APKBUILD
index be0fa90c9f..f9c8b8825d 100644
--- a/unmaintained/py3-django-overextends/APKBUILD
+++ b/unmaintained/py3-django-overextends/APKBUILD
@@ -1,5 +1,5 @@
-# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
-# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
+# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org>
pkgname=py3-django-overextends
pkgver=0.4.3
pkgrel=0
diff --git a/unmaintained/py3-mautrix/APKBUILD b/unmaintained/py3-mautrix/APKBUILD
new file mode 100644
index 0000000000..23abfd2422
--- /dev/null
+++ b/unmaintained/py3-mautrix/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer:
+pkgname=py3-mautrix
+pkgver=0.8.16
+pkgrel=2
+pkgdesc="A Python 3 asyncio Matrix framework"
+url="https://github.com/tulir/mautrix-python"
+arch="noarch"
+license="MPL-2.0"
+depends="
+ py3-aiohttp
+ py3-attrs
+ py3-commonmark
+ py3-lxml
+ py3-ruamel.yaml
+ py3-sqlalchemy
+ python3
+ "
+makedepends="py3-setuptools"
+source="https://github.com/tulir/mautrix-python/archive/v$pkgver/mautrix-python-v$pkgver.tar.gz"
+options="!check" # No tests
+builddir="$srcdir/mautrix-python-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="
+db153fc71c5d743d70378d4cbc779899d0895347fa8c6064b2f75001799f6cf1664b117085ea1767eeb1ba90a3b0680a8c5af3ce0d7f686b02690225af58149f mautrix-python-v0.8.16.tar.gz
+"
diff --git a/unmaintained/py3-openzwave/APKBUILD b/unmaintained/py3-openzwave/APKBUILD
new file mode 100644
index 0000000000..ed8fb56873
--- /dev/null
+++ b/unmaintained/py3-openzwave/APKBUILD
@@ -0,0 +1,65 @@
+# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
+# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
+_name=python-openzwave
+pkgname=py3-openzwave
+pkgver=0.4.19
+pkgrel=5
+pkgdesc="Python wrapper for openzwave"
+url="http://www.openzwave.com/"
+arch="" # Fails with python3.9
+license="GPL"
+depends=" $pkgname-lib $pkgname-api $pkgname-manager"
+_libdeps="py3-six"
+_apideps="py3-pydispatcher"
+_managerdeps="py3-urwid"
+makedepends="python3-dev linux-headers eudev-dev coreutils py3-setuptools cython
+ $_libdeps $_apideps $_managerdeps"
+install=""
+subpackages="$pkgname-lib $pkgname-api::noarch $pkgname-manager::noarch"
+source="$_name-$pkgver.tar.gz::https://github.com/OpenZWave/python-openzwave/archive/v$pkgver.tar.gz"
+builddir="$srcdir/python-openzwave-$pkgver"
+
+
+build() {
+ cd "$builddir"
+ unset CFLAGS CPPFLAGS
+ case "$CARCH" in
+ ppc64le) export CPPFLAGS="-Wno-error";;
+ esac
+ make build PYTHON_EXEC=python3
+ python3 setup-lib.py build
+ python3 setup-api.py build
+ python3 setup-manager.py build
+}
+
+package() {
+ mkdir -p "$pkgdir"
+}
+
+lib() {
+ pkgdesc="$pkgdesc (lib)"
+ depends="python3 $_libdeps"
+ cd "$builddir"
+ python3 setup-lib.py install \
+ --single-version-externally-managed --root ${subpkgdir}
+}
+
+
+api() {
+ pkgdesc="$pkgdesc (api)"
+ depends="python3 $_apideps"
+ cd "$builddir"
+ python3 setup-api.py install \
+ --single-version-externally-managed --root "$subpkgdir"
+}
+
+manager() {
+ pkgdesc="$pkgdesc (manager)"
+ depends="python3 $_managerdeps"
+ cd "$builddir"
+ python3 setup-manager.py install \
+ --single-version-externally-managed --root "$subpkgdir"
+}
+
+
+sha512sums="153e7571ee445c3af1b5880097ba484657e4c1aa376ae7d3c46b58fc485087742ecd04dba4c1ffba97b2f3b64b4e055cabfed573a457857f9d75e3b6ad12194b python-openzwave-0.4.19.tar.gz"
diff --git a/unmaintained/py3-pdfkit/APKBUILD b/unmaintained/py3-pdfkit/APKBUILD
index 1502a9cb2b..77d17cf7fa 100644
--- a/unmaintained/py3-pdfkit/APKBUILD
+++ b/unmaintained/py3-pdfkit/APKBUILD
@@ -1,4 +1,4 @@
-# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Contributor: Kaarle Ritvanen <kunkku@alpinelinux.org>
# Maintainer:
pkgname=py3-pdfkit
pkgver=0.6.1