Skip to content
Snippets Groups Projects
Commit d1a2886f authored by Celeste's avatar Celeste
Browse files

community/dante: take over maintainership

emailed the previous maintainer and received permission to take over this aport
parent cab603a0
No related branches found
No related tags found
1 merge request!79570community/firefox-esr: upgrade to 128.7.0
# Contributor: Paul Kilar <pkilar@gmail.com>
# Maintainer: Paul Kilar <pkilar@gmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=dante
pkgver=1.4.3
pkgrel=4
pkgrel=5
pkgdesc="Dante is SOCKS server and a SOCKS client"
url="https://www.inet.no/dante/"
arch="all"
license="BSD-3-Clause"
makedepends="bison flex"
install="$pkgname-server.pre-install"
subpackages="$pkgname-dev $pkgname-doc $pkgname-server"
source="http://www.inet.no/dante/files/dante-$pkgver.tar.gz
subpackages="
$pkgname-dev
$pkgname-doc
$pkgname-server
$pkgname-server-openrc
"
source="https://www.inet.no/dante/files/dante-$pkgver.tar.gz
ifdev.patch
dante-no-bindresvport.patch
sockd.initd
......@@ -25,24 +31,27 @@ prepare() {
build() {
CFLAGS="$CFLAGS -Wno-implicit-function-declaration"
subpackages="$pkgname-dev $pkgname-doc"
ac_cv_func_sched_setscheduler=no ./configure --prefix=/usr
make
}
check() {
make check
}
package() {
make install DESTDIR=$pkgdir
make install DESTDIR="$pkgdir"
install -Dvm644 example/sockd.conf -t "$pkgdir"/etc/
install -Dvm644 "$srcdir"/sockd.confd "$pkgdir"/etc/conf.d/sockd
install -Dvm755 "$srcdir"/sockd.initd "$pkgdir"/etc/init.d/sockd
}
server() {
depends=
cd "$builddir"
install -D -m644 "example/sockd.conf" "$subpkgdir/etc/sockd.conf"
install -D -m644 "$srcdir"/sockd.confd "$subpkgdir"/etc/conf.d/sockd
install -D -m755 "$srcdir"/sockd.initd "$subpkgdir"/etc/init.d/sockd
install -d "$subpkgdir/usr/sbin"
mv "$pkgdir/usr/sbin/sockd" "$subpkgdir/usr/sbin/sockd"
amove \
etc/sockd.conf \
usr/sbin/sockd
}
sha512sums="
......
#!/bin/sh
addgroup -S sockd 2>/dev/null
adduser -S -D -H -h /dev/null -s /sbin/nologin -G sockd -g sockd sockd 2>/dev/null
adduser -S -D -H -h /var/empty -s /sbin/nologin -G sockd -g sockd sockd 2>/dev/null
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment