Subject: [alpine-aports] [PATCH] main/rsyslog: Upgrade to 8.24. Modernize APKBUILD. Change maintainer.

From: Przemyslaw Pawelczyk <[email-masked]>
Date: Sat, 14 Jan 2017 15:38:15 +0100

Old alleged maintainer (Cameron Banta) hasn't touched rsyslog for years.
He has no trace of any activity in aports repo since 2012.

Natanael Copa is the most active contributor, so hopefully he's not
against becoming maintainer of another package.
---
 main/rsyslog/APKBUILD | 30 ++++++++++--------------------
 1 file changed, 10 insertions(+), 20 deletions(-)

diff --git a/main/rsyslog/APKBUILD b/main/rsyslog/APKBUILD
index 901c01b62ffa..18412e56c3d6 100644
--- a/main/rsyslog/APKBUILD
+++ b/main/rsyslog/APKBUILD
@@ -2,15 +2,14 @@
 # Contributor: Łukasz Jendrysik <[email-masked]>
 # Contributor: Cameron Banta <[email-masked]>
 # Contributor: Ashley Sommer <[email-masked]>
-# Maintainer: Cameron Banta <[email-masked]>
+# Maintainer: Natanael Copa <[email-masked]>
 pkgname=rsyslog
-pkgver=8.23.0
+pkgver=8.24.0
 pkgrel=0
 pkgdesc="Enhanced multi-threaded syslogd with database support and more."
 url="http://www.rsyslog.com/"
 arch="all"
 license="GPLv3 LGPL3"
-depends=""
 makedepends="zlib-dev gnutls-dev mariadb-dev postgresql-dev net-snmp-dev
 	libnet-dev libgcrypt-dev libee-dev libestr-dev liblogging-dev
 	libfastjson-dev util-linux-dev py-docutils hiredis-dev"
@@ -22,22 +21,13 @@ source="http://www.rsyslog.com/files/download/$pkgname/$pkgname-$pkgver.tar.gz
 	$pkgname.logrotate
 	$pkgname.conf
 	musl-fix.patch
-        queue.patch
-        "
+	queue.patch
+	"
 
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
-        local i
-        cd "$_builddir"
-        for i in $source; do
-                case $i in
-                *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-                esac
-        done
-}
+builddir="$srcdir"/$pkgname-$pkgver
 
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
@@ -64,7 +54,7 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" install || return 1
 
 	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
@@ -108,21 +98,21 @@ snmp() {
 		"$subpkgdir"/usr/lib/rsyslog/ || return 1
 }
 
-md5sums="2a9fe92c6a57e184b8035eb09db981c5  rsyslog-8.23.0.tar.gz
+md5sums="789be3f43edae1b20d92c620b04c19de  rsyslog-8.24.0.tar.gz
 67b8afd572b4103b39b54a729b880b53  rsyslog.initd
 a34f33d8f798ab6652b347ad09656284  rsyslog.confd
 bc43debc9ffdf66bc1409025fd3d1176  rsyslog.logrotate
 bc0a9b1095f5f6ffc937cd2c9bd26dff  rsyslog.conf
 480f153508fd10d157cefc0bb898fe2d  musl-fix.patch
 dece4c5510e5d4f88293eff74da5bf57  queue.patch"
-sha256sums="244e79552d37a5729f3f53786062828adc16fd080eeb0de6507bff55ed21693b  rsyslog-8.23.0.tar.gz
+sha256sums="37f32ce33e32a88e1bea0511e8e557d90b7378b81520e3236a9af5ba6ea993d7  rsyslog-8.24.0.tar.gz
 223d4bdb69760ef5a9a044d68434c805cd15e31fa190a86f5f283912d0baf6d6  rsyslog.initd
 f93cd477770872486185152454ce66e89302b7a8d7a112ff285ceea892dfe1f1  rsyslog.confd
 f0effc19bd1f1bfa367d65d6516c73509cb34545157b9e91cf6e437685dd3fe5  rsyslog.logrotate
 e4ebe806b5a71edaa4492033ea3a3e70810a64d3f3d4f4e9954eefcf25f2e2ed  rsyslog.conf
 5b8420570bef57aeba55965bbbddb29f966b60a33ef9e7fc5f921820274080b0  musl-fix.patch
 8d6dda439c79dffac2a5d17e3d9a28355cfb8fc264175a871e27304ace259daa  queue.patch"
-sha512sums="4e4832287f02d4b0435b3711241d58cad9f393ce14318bbccce7b89dceeed01205960e7df4b2629831429e550c0865407374eb6a5548ecb47a3aea90c7d7df2d  rsyslog-8.23.0.tar.gz
+sha512sums="b25b8ae72133376f732f54863c97aea3c8dfbf37c62c6a61840932996913c9d4e63155a24ffc577db48a18514f3e35b6fb109b1864380ba93ddf3fa6d84d728d  rsyslog-8.24.0.tar.gz
 9a4b184076a82e0899da79ab3749e1c67eac03f36c4460d34ed0385f4a3ffad53681a1cc25dd514e835c9399a9abd01c235743535ad549d5be7f66d9e127b9dc  rsyslog.initd
 a4d969671800227129be870b0318961b79d16365663754111a136734bbf7005abd4da24853dfdc07b3b6691ab5a7b215f0ac6c19022b4c5c8dab06165a42431b  rsyslog.confd
 d54377ddf39197656811a84272568ea761f984e19dd04fc54f372dd04a9244e66d02b26ab33073d0344d054f031660ec611f3c7a18c266e7b68cef5e2c47f06f  rsyslog.logrotate
-- 
2.8.3

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---