Subject: [alpine-aports] [PATCH] main/mini_httpd: fixed logrotate script

From: Daniele Coli <[email-masked]>
Date: Fri, 31 Mar 2017 21:21:16 +0200

Syntax error on postrotate script: missing ";".
---
 main/mini_httpd/APKBUILD             | 14 ++------------
 main/mini_httpd/mini_httpd.logrotate |  2 +-
 2 files changed, 3 insertions(+), 13 deletions(-)

diff --git a/main/mini_httpd/APKBUILD b/main/mini_httpd/APKBUILD
index 9c9851d7ac..7e7964cbfb 100644
--- a/main/mini_httpd/APKBUILD
+++ b/main/mini_httpd/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=mini_httpd
 pkgver=1.26
-pkgrel=0
+pkgrel=1
 pkgdesc="Small forking webserver with ssl and ipv6 support"
 url="http://www.acme.com/software/mini_httpd/"
 arch="all"
@@ -50,18 +50,8 @@ package() {
 	install -dm755 -g $pkggroups "$pkgdir"/var/www/localhost/htdocs
 }
 
-md5sums="1dd259c5bd002327334ea98acf8e1e29  mini_httpd-1.26.tar.gz
-eb1c3af0911c74690acfd0d6d4475198  fix-cgi.patch
-0d9864d06ae8d1a788b3c99eeca70096  mini_httpd.conf
-9c04beece4f669d243dad1b13f24dde3  mini_httpd.initd
-600f4fec298eb0a60b91c15601a9ca0d  mini_httpd.logrotate"
-sha256sums="86d56c3e2400d4a2dc004f2a2b1f3b9f7a416b02d414d8e84ab3045cc9a64054  mini_httpd-1.26.tar.gz
-bf67da598db0c4c932e6b512ea657c20c83e67d732a19dcba0c4432922c7a09a  fix-cgi.patch
-ec69d06cadf011d615a30057fc89740a7307d25e46c590617abdf1a9d4a43302  mini_httpd.conf
-c9c5e6bdf4ff95428477a17d6e8c1bc5cb560f2ee69de4127d542b7c7ebe2345  mini_httpd.initd
-50adee1e6a99406e61c107e5d88cca6ecefc27d052c1463a35ed8d0daf023ad5  mini_httpd.logrotate"
 sha512sums="d29027df1c5cc3b4f4c91915a729337028372374042d663431e7f0ca0e6bd5b3d1cf1658cc6d2e6f5fa576268e06b81a12fc7b954ccb779645d267c5b180e3e3  mini_httpd-1.26.tar.gz
 0ba18ce425ceb3f9fb18eeec7be2453263d76f81dfcc357fb8bd9d31bd89af69b030fa4d82bfe48441e81625a211e372aa06facd8fccacd5c0f33269a77de71f  fix-cgi.patch
 1e6ef2da61c82ff5e8bb79058c188954d72c69e9d25abdd9bca51f3122aac8729bcfd6e53ae7ee40807b9250698f2cde13dad51ffed962aa07004c7f456f9cb3  mini_httpd.conf
 9daa9052609136a461c912ee2b64829abf2c4c626553a12a3d45c2158be4ed0749126b5ea594fed02a6a4779d7869a073070c259ac28ca19171a168fcbb0632c  mini_httpd.initd
-ba2f8ee2436238a18cc75d3116caafbd244b163c0f8589236abe0584c407076b9f739eba5e7d4faadeb220cce38f1c4fa03d1c2b5f256c1e66428afa8370fdeb  mini_httpd.logrotate"
+701c8d393963836267289cba7352caaf61925c6a7e4903f0d418245415b214e17dcab3497697dd5c9ab80f3f71c9cb5dbcc0a3706bc6be25b6031da000ee0ef0  mini_httpd.logrotate"
diff --git a/main/mini_httpd/mini_httpd.logrotate b/main/mini_httpd/mini_httpd.logrotate
index 046b19defd..aff5ca0c28 100644
--- a/main/mini_httpd/mini_httpd.logrotate
+++ b/main/mini_httpd/mini_httpd.logrotate
@@ -8,7 +8,7 @@
 	sharedscripts
 	postrotate
 	for i in /run/mini_httpd/*.pid; do \
-		/etc/init.d/$(basename $i .pid) --quiet --ifstarted reload \
+		/etc/init.d/$(basename $i .pid) --quiet --ifstarted reload; \
 	done;
 	endscript
 }
-- 
2.12.2

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