summaryrefslogtreecommitdiff
path: root/community-testing/rsyslog/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-17 16:02:46 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-07-17 16:02:46 -0300
commit4c16587eb7c30d3711461153659677c2c3facc26 (patch)
treeda7c2d1e34072a83456c3a1a526d3f48dc439d68 /community-testing/rsyslog/PKGBUILD
parent89c6ae2d17f97e67150b36167fdba856dea8111a (diff)
removing crap and some updates
Diffstat (limited to 'community-testing/rsyslog/PKGBUILD')
-rw-r--r--community-testing/rsyslog/PKGBUILD58
1 files changed, 0 insertions, 58 deletions
diff --git a/community-testing/rsyslog/PKGBUILD b/community-testing/rsyslog/PKGBUILD
deleted file mode 100644
index aa89ef596..000000000
--- a/community-testing/rsyslog/PKGBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# $Id: PKGBUILD 73254 2012-07-04 12:54:32Z dreisner $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=rsyslog
-pkgver=6.2.2
-pkgrel=2
-pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability"
-url="http://www.rsyslog.com/"
-arch=('i686' 'x86_64')
-license=('GPL3')
-depends=('zlib' 'libestr' 'libee')
-makedepends=('postgresql-libs>=8.4.1' 'libmysqlclient' 'net-snmp' 'gnutls')
-optdepends=('postgresql-libs: PostgreSQL Database Support'
- 'libmysqlclient: MySQL Database Support'
- 'net-snmp'
- 'gnutls')
-backup=('etc/rsyslog.conf'
- 'etc/logrotate.d/rsyslog'
- 'etc/conf.d/rsyslog')
-options=('strip' 'zipman' '!libtool')
-source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz"
- 'rsyslog'
- 'rsyslog.logrotate'
- 'rsyslog.conf.d')
-md5sums=('b797b8222d6ea4d5dfa007efe8aafa7f'
- 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da'
- '8065db4bef3061a4f000ba58779f6829'
- '1a0cd4530dd5d1439456d5ae230574d9')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --enable-mysql \
- --enable-pgsql \
- --enable-mail \
- --enable-imfile \
- --enable-imtemplate \
- --enable-snmp \
- --enable-gnutls \
- --enable-inet \
- --with-systemdsystemunitdir=/usr/lib/systemd/system
- echo "rsyslogd_LDADD += \$(LIBESTR_LIBS) -lm" >>tools/Makefile
- make
-}
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make install DESTDIR=${pkgdir}
- # Install Daemons and Configuration Files
- install -D -m755 ${srcdir}/${pkgname} ${pkgdir}/etc/rc.d/${pkgname}d
- install -D -m644 ${pkgname}.conf ${pkgdir}/etc/${pkgname}.conf
- install -D -m644 $srcdir/${pkgname}.logrotate ${pkgdir}/etc/logrotate.d/${pkgname}
- install -D -m644 ${srcdir}/${pkgname}.conf.d ${pkgdir}/etc/conf.d/${pkgname}
-
- # fix location of systemctl and remove start precondition
- sed -i "$pkgdir/usr/lib/systemd/system/rsyslog.service" \
- -e 's@/bin/systemctl@/usr&@' \
- -e '/^ExecStartPre/d'
-}