aboutsummaryrefslogtreecommitdiffstats
path: root/main/charybdis
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-07-03 20:42:37 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-07-03 20:42:42 +0000
commit40c1cc835ed1b9942fa000fb5dc6a75b42dc70f3 (patch)
tree4adf65611064d0a2da6120f534cdcc1bc6628e56 /main/charybdis
parentaf9c8fe383958e2592764a55ae37b71eec179606 (diff)
downloadaports-40c1cc835ed1b9942fa000fb5dc6a75b42dc70f3.tar.bz2
aports-40c1cc835ed1b9942fa000fb5dc6a75b42dc70f3.tar.xz
main/charybdis: upgrade to 4.1.1
Diffstat (limited to 'main/charybdis')
-rw-r--r--main/charybdis/APKBUILD53
1 files changed, 32 insertions, 21 deletions
diff --git a/main/charybdis/APKBUILD b/main/charybdis/APKBUILD
index 6d237d04c2..f4110fc8b2 100644
--- a/main/charybdis/APKBUILD
+++ b/main/charybdis/APKBUILD
@@ -1,24 +1,29 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=charybdis
-pkgver=3.5.6
-pkgrel=1
+pkgver=4.1.1
+pkgrel=0
pkgdesc="A highly-scalable IRCv3-compliant IRC daemon"
url="http://atheme.org/projects/charybdis.html"
arch="all"
license="BSD GPL-2.0"
pkgusers="ircd"
-makedepends="bison flex openssl-dev zlib-dev libtool file"
+makedepends="automake autoconf libtool
+bison flex openssl-dev zlib-dev file
+sqlite-dev libltdl"
install="$pkgname.pre-install"
-subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc"
+subpackages="$pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/charybdis-ircd/$pkgname/archive/$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd"
-
builddir="$srcdir"/$pkgname-$pkgname-$pkgver
+prepare() {
+ default_prepare
+ ./autogen.sh
+}
+
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,27 +31,33 @@ build() {
--sysconfdir=/etc/charybdis \
--localstatedir=/var \
--libexecdir=/usr/lib \
- --disable-assert \
- --enable-ssl \
+ --libdir=/usr/lib/charybdis \
+ --enable-epoll \
+ --with-custom-branding=alpinelinux \
+ --enable-openssl \
--enable-ipv6 \
- --with-rundir=/var/run \
+ --with-shared-sqlite \
+ --with-rundir=/var/run/charybdis \
+ --with-logdir=/var/log/charybdis \
+ --with-moduledir=/usr/lib/charybdis/modules \
--with-program-prefix=charybdis-
- make
+ make -j1
}
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+check() {
+ make check
+}
- install -m755 -D "$srcdir"/$pkgname.initd \
- "$pkgdir"/etc/init.d/charybdis-ircd
- install -m644 -D "$srcdir"/$pkgname.confd \
- "$pkgdir"/etc/conf.d/charybdis-ircd
- chown ircd "$pkgdir"/var/run/charybdis
- chown ircd "$pkgdir"/var/log/charybdis
- chown ircd "$pkgdir"/var/charybdis
+package() {
+ make -j1 DESTDIR="$pkgdir" install
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/charybdis-ircd
+ install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/charybdis-ircd
+ mkdir -p "$pkgdir"/var/run/charybdis
+ mkdir -p "$pkgdir"/var/log/charybdis
+ chown ircd "$pkgdir"/var/run/charybdis
+ chown ircd "$pkgdir"/var/log/charybdis
}
-sha512sums="f134ddea62ec78eaade927967e8bcfcaeffed153fff158f84c58e4b227ef2ab1728311eb6250f2636749056a0a5d4a40c1013d9d3bb4198c667a383dee66c4f2 charybdis-3.5.6.tar.gz
+sha512sums="e68a74b74f59d15635b57ec3d923f48d175efbd1c5d6e6c5858d7d6662f5e57d855b5d8726b4ac3e5c08f96d656166c92aa974df7e89a3d2423c2dfa899245de charybdis-4.1.1.tar.gz
584d28ded8c943172764ee89a0dcf2593e8a71a9ce876635b6fb86485171caad7c5e7fe0ec18fc217bfe93b7ceb865e9930e3af74458cb1f0b698c38fd70947f charybdis.initd
1886b312b0ea40945de45db7a379bff2a3af426155fb77676e03f21f8d1d733e057fb5c3cb65fb72bb56008c4c92f3d2d0010563f871fd0802446de443ddfd5e charybdis.confd"