community/unrealircd to 4.0.1-2

This commit is contained in:
Kevin Mihelich 2016-01-20 14:34:24 +00:00
parent 70189ff2a6
commit 6d254b6159
2 changed files with 19 additions and 34 deletions

View file

@ -7,7 +7,7 @@
pkgname=unrealircd
pkgver=4.0.1
pkgrel=1
pkgrel=2
pkgdesc="Open Source IRC Server"
arch=('i686' 'x86_64')
url="http://unrealircd.com"
@ -20,30 +20,43 @@ install=unrealircd.install
source=(https://www.unrealircd.org/unrealircd4/unrealircd-$pkgver.tar.gz
unrealircd.service
unrealircd.tmpfiles.d
config.settings
install.pl
0001-run-autoreconf-on-TRE-library.patch)
md5sums=('f513a190d5549f00ab030373b912e861'
'677d8de0bae770488a2c1730f9475a51'
'3ec519ea7dbe99696eb6c51dfc0d382a'
'11ce231048c92651e76fdeb58609d0ba'
'3a23792b03420fc578cf6688b1574ae3'
'28bd33be158f5c494601b6b3026803fa')
prepare() {
cd $srcdir/unrealircd-$pkgver
cp $srcdir/config.settings .
sed -i \
-e 's|$(INSTALL) -m 0700|$(INSTALL) -m 0755|g' \
-e 's|$(INSTALL) -m 0600|$(INSTALL) -m 0644|g' \
Makefile.in
sed -i 's|ARG=" "|ARG="--with-pidfile=/run/unrealircd/ircd.pid "|' Config
patch -p1 -i ../0001-run-autoreconf-on-TRE-library.patch
}
build() {
cd $srcdir/unrealircd-$pkgver
./Config -quick
./configure \
--with-pidfile=/run/unrealircd/ircd.pid \
--with-showlistmodes \
--enable-ssl=/usr \
--with-bindir=/usr/bin \
--with-datadir=/var/lib/unrealircd \
--with-confdir=/etc/unrealircd \
--with-modulesdir=/usr/lib/unrealircd \
--with-logdir=/var/log/unrealircd \
--with-cachedir=/var/cache/unrealircd \
--with-docdir=/usr/share/doc/unrealircd \
--with-tmpdir=/tmp \
--with-scriptdir=/usr \
--with-nick-history=2000 \
--with-sendq=3000000 \
--with-permissions=0644 \
--with-fd-setsize=1024 \
--enable-dynamic-linking
make
}

View file

@ -1,28 +0,0 @@
#
BASEPATH="/usr"
BINDIR="/usr/bin"
DATADIR="/var/lib/unrealircd"
CONFDIR="/etc/unrealircd"
MODULESDIR="/usr/lib/unrealircd"
LOGDIR="/var/log/unrealircd"
CACHEDIR="/var/cache/unrealircd"
DOCDIR="/usr/share/doc/unrealircd"
TMPDIR="/tmp"
PREFIXAQ="1"
MAXSENDQLENGTH="3000000"
MAXCONNECTIONS="1024"
NICKNAMEHISTORYLENGTH="2000"
DEFPERM="0644"
SSLDIR="/usr"
REMOTEINC=""
CURLDIR="/usr"
SHOWLISTMODES="1"
TOPICNICKISNUH=""
SHUNNOTICES=""
NOOPEROVERRIDE=""
DISABLEUSERMOD=""
OPEROVERRIDEVERIFY=""
DISABLEEXTBANSTACKING=""
GENCERTIFICATE="1"
EXTRAPARA=""
ADVANCED=""