[arch-commits] Commit in mailgraph/repos/community-any (4 files)
Florian Pritz
bluewind at archlinux.org
Thu May 31 11:36:51 UTC 2018
Date: Thursday, May 31, 2018 @ 11:36:51
Author: bluewind
Revision: 334784
archrelease: copy trunk to community-any
Added:
mailgraph/repos/community-any/PKGBUILD
(from rev 334783, mailgraph/trunk/PKGBUILD)
mailgraph/repos/community-any/mailgraph.service
(from rev 334783, mailgraph/trunk/mailgraph.service)
Deleted:
mailgraph/repos/community-any/PKGBUILD
mailgraph/repos/community-any/mailgraph.service
-------------------+
PKGBUILD | 68 ++++++++++++++++++++++++++--------------------------
mailgraph.service | 20 +++++++--------
2 files changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-31 11:36:48 UTC (rev 334783)
+++ PKGBUILD 2018-05-31 11:36:51 UTC (rev 334784)
@@ -1,34 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Contributor: lp76 <l.peduto at gmail.com>
-pkgname=mailgraph
-pkgver=1.14
-pkgrel=4
-pkgdesc="A very simple mail statistics RRDtool frontend for Postfix and Sendmail"
-url="http://mailgraph.schweikert.ch/"
-arch=('any')
-license=('GPL')
-options=(emptydirs)
-depends=('rrdtool' 'perl-file-tail')
-source=("http://mailgraph.schweikert.ch/pub/$pkgname-$pkgver.tar.gz"
-mailgraph.service)
-md5sums=('0f0ae91968ea7ae0c1d14985c560530b'
- '92d411ab7f14083a77faa07b2ade653f')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i "s:mailgraph.rrd:/var/lib/mailgraph/mailgraph.rrd:" mailgraph.cgi
- sed -i "s:mailgraph_virus.rrd:/var/lib/mailgraph/mailgraph_virus.rrd:" mailgraph.cgi
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- #CGI_DIR=`grep 'ScriptAlias /cgi-bin/' /etc/httpd/conf/httpd.conf | awk '{print $3}' | sed 's|"||g'`
- CGI_DIR="/usr/share/webapps/mailgraph"
-
- install -D -m755 mailgraph.pl "$pkgdir/usr/bin/mailgraph.pl"
- install -D -m755 mailgraph.cgi "$pkgdir/$CGI_DIR/mailgraph.cgi"
- install -D -m755 mailgraph.css "$pkgdir/$CGI_DIR/mailgraph.css"
- install -D -m644 "$srcdir/mailgraph.service" "$pkgdir/usr/lib/systemd/system/mailgraph.service"
- install -d -m755 "$pkgdir/var/lib/mailgraph"
-}
Copied: mailgraph/repos/community-any/PKGBUILD (from rev 334783, mailgraph/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-31 11:36:51 UTC (rev 334784)
@@ -0,0 +1,34 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: lp76 <l.peduto at gmail.com>
+pkgname=mailgraph
+pkgver=1.14
+pkgrel=5
+pkgdesc="A very simple mail statistics RRDtool frontend for Postfix and Sendmail"
+url="http://mailgraph.schweikert.ch/"
+arch=('any')
+license=('GPL')
+options=(emptydirs)
+depends=('rrdtool' 'perl-file-tail')
+source=("https://mailgraph.schweikert.ch/pub/$pkgname-$pkgver.tar.gz"
+mailgraph.service)
+md5sums=('0f0ae91968ea7ae0c1d14985c560530b'
+ '92d411ab7f14083a77faa07b2ade653f')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i "s:mailgraph.rrd:/var/lib/mailgraph/mailgraph.rrd:" mailgraph.cgi
+ sed -i "s:mailgraph_virus.rrd:/var/lib/mailgraph/mailgraph_virus.rrd:" mailgraph.cgi
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ #CGI_DIR=`grep 'ScriptAlias /cgi-bin/' /etc/httpd/conf/httpd.conf | awk '{print $3}' | sed 's|"||g'`
+ CGI_DIR="/usr/share/webapps/mailgraph"
+
+ install -D -m755 mailgraph.pl "$pkgdir/usr/bin/mailgraph.pl"
+ install -D -m755 mailgraph.cgi "$pkgdir/$CGI_DIR/mailgraph.cgi"
+ install -D -m755 mailgraph.css "$pkgdir/$CGI_DIR/mailgraph.css"
+ install -D -m644 "$srcdir/mailgraph.service" "$pkgdir/usr/lib/systemd/system/mailgraph.service"
+ install -d -m755 "$pkgdir/var/lib/mailgraph"
+}
Deleted: mailgraph.service
===================================================================
--- mailgraph.service 2018-05-31 11:36:48 UTC (rev 334783)
+++ mailgraph.service 2018-05-31 11:36:51 UTC (rev 334784)
@@ -1,10 +0,0 @@
-[Service]
-SyslogIdentifier=mailgraph
-
-# if you use syslog instead of journald
-#ExecStart=/usr/bin/mailgraph.pl -l /var/log/everything.log --daemon-rrd /var/lib/mailgraph
-ExecStart=/bin/bash -c 'LANG=C /usr/bin/journalctl -af | /usr/bin/mailgraph.pl -c --daemon-rrd /var/lib/mailgraph -l -'
-
-
-[Install]
-WantedBy=multi-user.target
Copied: mailgraph/repos/community-any/mailgraph.service (from rev 334783, mailgraph/trunk/mailgraph.service)
===================================================================
--- mailgraph.service (rev 0)
+++ mailgraph.service 2018-05-31 11:36:51 UTC (rev 334784)
@@ -0,0 +1,10 @@
+[Service]
+SyslogIdentifier=mailgraph
+
+# if you use syslog instead of journald
+#ExecStart=/usr/bin/mailgraph.pl -l /var/log/everything.log --daemon-rrd /var/lib/mailgraph
+ExecStart=/bin/bash -c 'LANG=C /usr/bin/journalctl -af | /usr/bin/mailgraph.pl -c --daemon-rrd /var/lib/mailgraph -l -'
+
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list