diff options
author | Britney Fransen <brfransen@gmail.com> | 2023-02-01 22:46:22 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2023-02-01 22:46:22 (GMT) |
commit | f3a5f1cbfcc685d03c859e597cf19260868e2498 (patch) | |
tree | 75edd3a1b64f86b8aa2537771f4752b807d4ff76 /linhes/rsyslog/PKGBUILD | |
parent | f60be96c26c0208a9df48f25c5f435292c0d6b6c (diff) | |
download | linhes_pkgbuild-f3a5f1cbfcc685d03c859e597cf19260868e2498.zip linhes_pkgbuild-f3a5f1cbfcc685d03c859e597cf19260868e2498.tar.gz linhes_pkgbuild-f3a5f1cbfcc685d03c859e597cf19260868e2498.tar.bz2 |
rsyslog: initial inclusion
Diffstat (limited to 'linhes/rsyslog/PKGBUILD')
-rw-r--r-- | linhes/rsyslog/PKGBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/linhes/rsyslog/PKGBUILD b/linhes/rsyslog/PKGBUILD new file mode 100644 index 0000000..567df1d --- /dev/null +++ b/linhes/rsyslog/PKGBUILD @@ -0,0 +1,57 @@ +pkgname=rsyslog +pkgver=8.2212.0 +pkgrel=1 +pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability" +url="http://www.rsyslog.com/" +arch=('x86_64' 'i686' 'aarch64') +license=('GPL3') +depends=('libestr' 'liblogging' 'librelp' 'libfastjson') +makedepends=('postgresql-libs>=8.4.1' 'libmariadbclient' 'net-snmp' 'gnutls' + 'python-docutils' 'libestr' 'liblogging' 'librelp' 'libfastjson' 'bison' 'flex') +optdepends=('postgresql-libs: PostgreSQL Database Support' + 'libmariadbclient: MySQL Database Support' + 'net-snmp' + 'gnutls') +backup=('etc/rsyslog.conf' + 'etc/logrotate.d/rsyslog') +options=('strip' 'zipman') +source=("$pkgname-$pkgver.tar.gz::https://github.com/rsyslog/rsyslog/archive/v${pkgver}.tar.gz" + 'rsyslog.logrotate' + 'rsyslog.conf' + 'rsyslog.service') + +sha256sums=('4b5f2205e91adf5e5821de8957a42b937505607f663c71ee381aca0011ea8e42' + '0f5bea3fd4dff2c9f097bf95768b2e1f6e9cfd9a08eab98bc3b3b4d2ed44119a' + '0a28fcc346cd47e8142cdbb5df7503277f624b59a9ec783adb1581d65e92b041' + '81b9f9b78395405b679849143a6709911d00e9317928fdb2a2540f52965847c2') +install=$pkgname.install + +build() { + cd "$srcdir"/${pkgname}-${pkgver} + ./autogen.sh --prefix=/usr \ + --sbindir=/usr/bin \ + --enable-mysql \ + --enable-pgsql \ + --enable-mail \ + --enable-imfile \ + --enable-snmp \ + --enable-gnutls \ + --enable-inet \ + --enable-imjournal \ + --enable-omjournal \ + --enable-relp \ + --enable-impstats \ + --enable-imptcp \ + --enable-omprog \ + --with-systemdsystemunitdir=/usr/lib/systemd/system + + make +} + +package() { + cd "$srcdir"/${pkgname}-${pkgver} + make install DESTDIR="$pkgdir" + install -D -m644 "$srcdir"/${pkgname}.conf "$pkgdir"/etc/${pkgname}.conf + install -D -m644 "$srcdir"/${pkgname}.logrotate "$pkgdir"/etc/logrotate.d/${pkgname} + install -D -m644 "$srcdir"/${pkgname}.service "$pkgdir"/usr/lib/systemd/system/${pkgname}.service +} |