Commit b31da4c9 authored by Leo's avatar Leo Committed by Natanael Copa

main/ngircd: upgrade to 25

parent 809f2c5f
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ngircd
pkgver=24
pkgrel=4
pkgver=25
pkgrel=0
pkgdesc="Next Generation IRC Daemon"
url="https://ngircd.barton.de/"
arch="all"
license="GPL-2.0-or-later"
depends=""
makedepends="openssl-dev zlib-dev linux-pam-dev"
subpackages="$pkgname-doc"
subpackages="$pkgname-doc $pkgname-openrc"
install="$pkgname.pre-install"
source="https://ngircd.barton.de/pub/ngircd/ngircd-$pkgver.tar.xz
$pkgname.initd
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -35,20 +25,15 @@ build() {
--without-ident \
--with-openssl \
--with-pam \
--enable-ipv6 \
|| return 1
make || return 1
--enable-ipv6
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm755 ../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
md5sums="81b9c5ae283d07aab35ce16eaf49e458 ngircd-24.tar.xz
51c3679a7c1f2f5522031fa856e34734 ngircd.initd"
sha256sums="173fa0ea10788a8ba08ef2f7e64ea8951d7c88862e744128c8b87bae424b1008 ngircd-24.tar.xz
890d0dc433a8d7f082c35ba806bac53f19d2d4352fcb7127cc28741abcbd6a75 ngircd.initd"
sha512sums="d176ec4eb3e780aa8b5efb722c8c0f6fc1a7ac3c06e2039019e6e602aad64ca5357762f1549e117f6e452fe6314fb6cf5bc31a9fdbec1a08cc6d2a344c0bf49f ngircd-24.tar.xz
sha512sums="61f7606a13daeac3ff69c689ad53c7e8ff70fe4dff6acbfde6a5fd3b2d4e3c9a182d9fc1a93c9e470633ab7cd201c5469b9d39599c56d7c66271d0e295dfb1f4 ngircd-25.tar.xz
50339507917c956a38451394a8a5996337ff29948944ff6aa40ed39f6dd3d6bfdfb864d60a24199c0a86a01e18a71f213efa6cfb2857a320f31b9fcfb92c6ac1 ngircd.initd"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment