[arch-commits] Commit in smokeping/repos/community-any (8 files)
Florian Pritz
bluewind at archlinux.org
Mon Jan 11 23:16:32 UTC 2016
Date: Tuesday, January 12, 2016 @ 00:16:32
Author: bluewind
Revision: 156036
archrelease: copy trunk to community-any
Added:
smokeping/repos/community-any/PKGBUILD
(from rev 156035, smokeping/trunk/PKGBUILD)
smokeping/repos/community-any/htdocs-makefile.patch
(from rev 156035, smokeping/trunk/htdocs-makefile.patch)
smokeping/repos/community-any/install
(from rev 156035, smokeping/trunk/install)
smokeping/repos/community-any/service
(from rev 156035, smokeping/trunk/service)
Deleted:
smokeping/repos/community-any/PKGBUILD
smokeping/repos/community-any/htdocs-makefile.patch
smokeping/repos/community-any/install
smokeping/repos/community-any/service
-----------------------+
PKGBUILD | 67 ++++++++++++++++++++++++------------------------
htdocs-makefile.patch | 22 +++++++--------
install | 20 +++++++-------
service | 22 +++++++--------
4 files changed, 66 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-11 23:16:27 UTC (rev 156035)
+++ PKGBUILD 2016-01-11 23:16:32 UTC (rev 156036)
@@ -1,33 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Contributor: Christos Nouskas nous <nous at archlinux.us>
-
-pkgname=smokeping
-pkgver=2.6.11
-pkgrel=2
-pkgdesc="A tool to keep track of your network latency"
-arch=('any')
-url="http://oss.oetiker.ch/smokeping/"
-license=('GPL2')
-depends=('perl-config-grammar' 'perl-digest-hmac' 'perl-libwww' 'rrdtool' 'perl-fcgi' 'perl-cgi-fast'
- 'perl-io-tty' 'perl-net-dns' 'perl-net-snmp' 'perl-net-telnet' 'perl-ldap' 'perl-net-openssh')
-source=(http://oss.oetiker.ch/smokeping/pub/smokeping-${pkgver}.tar.gz
-service)
-sha256sums=('f2b3c386e95a74af2b1e7aec6410d0a58852339f00e9963f3c770cfd85ba30dd'
- '4691650aed6c7341bf3a898f63c8ad03f2453d4ce9874e83f24ced5ee21317d9')
-install=install
-
-build() {
- cd "$srcdir"/${pkgname}-${pkgver}
-
- ./configure --prefix=/usr --sysconfdir=/etc/smokeping --with-htdocs-dir=/srv/http/smokeping
- make
-}
-
-package() {
- cd "$srcdir"/${pkgname}-${pkgver}
- make DESTDIR="$pkgdir" install
-
- install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/smokeping.service"
- chmod 700 "$pkgdir/etc/smokeping"
-}
-
Copied: smokeping/repos/community-any/PKGBUILD (from rev 156035, smokeping/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-01-11 23:16:32 UTC (rev 156036)
@@ -0,0 +1,34 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Christos Nouskas nous <nous at archlinux.us>
+
+pkgname=smokeping
+pkgver=2.6.11
+pkgrel=3
+pkgdesc="A tool to keep track of your network latency"
+arch=('any')
+url="http://oss.oetiker.ch/smokeping/"
+license=('GPL2')
+depends=('perl-config-grammar' 'perl-digest-hmac' 'perl-libwww' 'rrdtool' 'perl-fcgi' 'perl-cgi-fast'
+ 'perl-io-tty' 'perl-net-dns' 'perl-net-snmp' 'perl-net-telnet' 'perl-ldap' 'perl-net-openssh')
+source=(http://oss.oetiker.ch/smokeping/pub/smokeping-${pkgver}.tar.gz
+service)
+sha256sums=('f2b3c386e95a74af2b1e7aec6410d0a58852339f00e9963f3c770cfd85ba30dd'
+ '4691650aed6c7341bf3a898f63c8ad03f2453d4ce9874e83f24ced5ee21317d9')
+install=install
+
+build() {
+ cd "$srcdir"/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr --sysconfdir=/etc/smokeping --with-htdocs-dir=/srv/http/smokeping
+ make
+}
+
+package() {
+ cd "$srcdir"/${pkgname}-${pkgver}
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/smokeping.service"
+ chmod 700 "$pkgdir/etc/smokeping"
+ install -dm700 "$pkgdir/var/lib/smokeping"
+}
+
Deleted: htdocs-makefile.patch
===================================================================
--- htdocs-makefile.patch 2016-01-11 23:16:27 UTC (rev 156035)
+++ htdocs-makefile.patch 2016-01-11 23:16:32 UTC (rev 156036)
@@ -1,11 +0,0 @@
---- a/htdocs/Makefile.in 2013-03-04 14:07:55.000000000 +0100
-+++ b/htdocs/Makefile.in 2013-09-04 19:00:19.802492714 +0200
-@@ -433,7 +433,7 @@
- install-data-local:
- $(MKDIR) -p $(DESTDIR)$(HTDOCSDIR)
- $(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
-- $(ECHO) "exec $(prefix)/bin/smokeping_cgi $(prefix)/etc/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
-+ $(ECHO) "exec $(prefix)/bin/smokeping_cgi $(sysconfdir)/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
- chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
-
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
Copied: smokeping/repos/community-any/htdocs-makefile.patch (from rev 156035, smokeping/trunk/htdocs-makefile.patch)
===================================================================
--- htdocs-makefile.patch (rev 0)
+++ htdocs-makefile.patch 2016-01-11 23:16:32 UTC (rev 156036)
@@ -0,0 +1,11 @@
+--- a/htdocs/Makefile.in 2013-03-04 14:07:55.000000000 +0100
++++ b/htdocs/Makefile.in 2013-09-04 19:00:19.802492714 +0200
+@@ -433,7 +433,7 @@
+ install-data-local:
+ $(MKDIR) -p $(DESTDIR)$(HTDOCSDIR)
+ $(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
+- $(ECHO) "exec $(prefix)/bin/smokeping_cgi $(prefix)/etc/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
++ $(ECHO) "exec $(prefix)/bin/smokeping_cgi $(sysconfdir)/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
+ chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
Deleted: install
===================================================================
--- install 2016-01-11 23:16:27 UTC (rev 156035)
+++ install 2016-01-11 23:16:32 UTC (rev 156036)
@@ -1,10 +0,0 @@
-post_install() {
- getent group smokeping &>/dev/null || groupadd -g 181 smokeping >/dev/null
- getent passwd smokeping &>/dev/null || useradd -u 181 -d /var/lib/smokeping -g smokeping -s /bin/false smokeping >/dev/null
- chown -R smokeping:smokeping /srv/http/smokeping /etc/smokeping
-}
-
-post_upgrade() {
- post_install
-}
-
Copied: smokeping/repos/community-any/install (from rev 156035, smokeping/trunk/install)
===================================================================
--- install (rev 0)
+++ install 2016-01-11 23:16:32 UTC (rev 156036)
@@ -0,0 +1,10 @@
+post_install() {
+ getent group smokeping &>/dev/null || groupadd -g 181 smokeping >/dev/null
+ getent passwd smokeping &>/dev/null || useradd -u 181 -d /var/lib/smokeping -g smokeping -s /bin/false smokeping >/dev/null
+ chown -R smokeping:smokeping /srv/http/smokeping /etc/smokeping /var/lib/smokeping
+}
+
+post_upgrade() {
+ post_install
+}
+
Deleted: service
===================================================================
--- service 2016-01-11 23:16:27 UTC (rev 156035)
+++ service 2016-01-11 23:16:32 UTC (rev 156036)
@@ -1,11 +0,0 @@
-[Unit]
-Description=SmokePing Daemon
-After=network.target
-
-[Service]
-User=smokeping
-ExecStart=/usr/bin/smokeping --nodaemon --config=/etc/smokeping/config
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
Copied: smokeping/repos/community-any/service (from rev 156035, smokeping/trunk/service)
===================================================================
--- service (rev 0)
+++ service 2016-01-11 23:16:32 UTC (rev 156036)
@@ -0,0 +1,11 @@
+[Unit]
+Description=SmokePing Daemon
+After=network.target
+
+[Service]
+User=smokeping
+ExecStart=/usr/bin/smokeping --nodaemon --config=/etc/smokeping/config
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list