1 # Maintainer: Brian Knox <taotetek@gmail.com>
7 pkgdesc="development release of rsyslog with liblognorm support"
8 url="http://www.rsyslog.com/"
11 depends=('zlib' 'liblognorm')
13 makedepends=('postgresql-libs>=8.4.1' 'libmysqlclient' 'net-snmp' 'gnutls')
14 optdepends=('postgresql-libs: PostgreSQL Database Support'
15 'libmysqlclient: MySQL Database Support'
18 backup=('etc/rsyslog.conf' \
19 'etc/logrotate.d/rsyslog'
21 options=('strip' 'zipman' '!libtool')
22 source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz"
26 md5sums=('758bb56b6f7d46cef49dd70fddf825dc'
27 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da'
28 '8065db4bef3061a4f000ba58779f6829'
29 '1a0cd4530dd5d1439456d5ae230574d9')
32 cd ${srcdir}/${pkgbasename}-${pkgver}
33 ./configure --prefix=/usr \
43 --enable-mmnormalize \
44 --with-systemdsystemunitdir=/lib/systemd/system
48 cd ${srcdir}/${pkgbasename}-${pkgver}
49 make install DESTDIR=${pkgdir}
50 # Install Daemons and Configuration Files
51 install -D -m755 ${srcdir}/${pkgbasename} ${pkgdir}/etc/rc.d/${pkgbasename}d
52 install -D -m644 ${pkgbasename}.conf ${pkgdir}/etc/${pkgbasename}.conf
53 install -D -m644 $srcdir/${pkgbasename}.logrotate ${pkgdir}/etc/logrotate.d/${pkgbasename}
54 install -D -m644 ${srcdir}/${pkgbasename}.conf.d ${pkgdir}/etc/conf.d/${pkgbasename}