aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rsyslog/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-30 11:05:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-30 11:05:19 +0000
commit0ad18dd2ac14a8044f8b89c892855a354f5c4654 (patch)
tree1f2928f106084c589dedbec0d6c807508c2cb751 /testing/rsyslog/APKBUILD
parent1b0f9bbc83723e233e6065f12d2da4a21505f822 (diff)
downloadaports-0ad18dd2ac14a8044f8b89c892855a354f5c4654.tar.bz2
aports-0ad18dd2ac14a8044f8b89c892855a354f5c4654.tar.xz
main/rsyslog: moved from testing
ref #1179
Diffstat (limited to 'testing/rsyslog/APKBUILD')
-rw-r--r--testing/rsyslog/APKBUILD92
1 files changed, 0 insertions, 92 deletions
diff --git a/testing/rsyslog/APKBUILD b/testing/rsyslog/APKBUILD
deleted file mode 100644
index 83e7a43121..0000000000
--- a/testing/rsyslog/APKBUILD
+++ /dev/null
@@ -1,92 +0,0 @@
-# Maintainer: cbanta@gmail.com
-# Contributor: cbanta@gmail.com
-pkgname=rsyslog
-pkgver=6.2.0
-pkgrel=0
-pkgdesc="Enhanced multi-threaded syslogd with database support and more."
-url="http://www.rsyslog.com/"
-arch="all"
-license="GPLv3 LGPL-3"
-makedepends="zlib-dev gnutls-dev mysql-dev postgresql-dev net-snmp-dev
- libnet-dev libgcrypt-dev libee-dev libestr-dev"
-subpackages="$pkgname-doc $pkgname-mysql $pkgname-pgsql $pkgname-tls $pkgname-snmp"
-source="http://www.rsyslog.com/files/download/$pkgname/$pkgname-$pkgver.tar.gz
- $pkgname.initd
- $pkgname.confd
- $pkgname.logrotate
- $pkgname.conf"
-
-
-_builddir="$srcdir"/$pkgname-$pkgver
-
-prepare() {
- cd "$_builddir"
- export LDFLAGS="-lestr"
- ./configure \
- --disable-gui \
- --disable-rfc3195 \
- --enable-largefile \
- --enable-imdiag \
- --enable-imfile \
- --enable-imtemplate \
- --enable-mail \
- --enable-omprog \
- --enable-omstdout \
- --enable-omtemplate \
- --enable-omudpspoof \
- --enable-zlib \
- --enable-mysql \
- --enable-pgsql \
- --enable-gnutls \
- --enable-snmp \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
-}
-
-build() {
- cd "$_builddir"
- make || return 1
-}
-
-package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install
- rm -f "$pkgdir"/usr/lib/rsyslog/*.la || return 1
-
- install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
- install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
- install -m644 -D "$srcdir"/$pkgname.logrotate "$pkgdir"/etc/logrotate.d/$pkgname
- install -m644 -D "$srcdir"/$pkgname.conf "$pkgdir"/etc/$pkgname.conf
-}
-
-mysql() {
- pkgdesc="rsyslog mysql support"
- mkdir -p "$subpkgdir"/usr/lib/rsyslog/
- mv "$pkgdir"/usr/lib/rsyslog/ommysql.so "$subpkgdir"/usr/lib/rsyslog/
-}
-
-pgsql() {
- pkgdesc="rsyslog pgsql support"
- mkdir -p "$subpkgdir"/usr/lib/rsyslog/
- mv "$pkgdir"/usr/lib/rsyslog/ompgsql.so "$subpkgdir"/usr/lib/rsyslog/
-}
-
-tls() {
- pkgdesc="rsyslog tls support"
- mkdir -p "$subpkgdir"/usr/lib/rsyslog/
- mv "$pkgdir"/usr/lib/rsyslog/lmnsd_gtls.so "$subpkgdir"/usr/lib/rsyslog/
-}
-
-snmp() {
- pkgdesc="rsyslog snmp support"
- mkdir -p "$subpkgdir"/usr/lib/rsyslog/
- mv "$pkgdir"/usr/lib/rsyslog/omsnmp.so "$subpkgdir"/usr/lib/rsyslog/
-}
-
-md5sums="03e237abaa5d47f92c6e655f92f22532 rsyslog-6.2.0.tar.gz
-b3fcedb16f9de2d9434ce4c89004a73b rsyslog.initd
-0a0aef98f677364e6178c34274df7723 rsyslog.confd
-bc43debc9ffdf66bc1409025fd3d1176 rsyslog.logrotate
-65fbf5a7a81a53a70974e3085e96cb41 rsyslog.conf"