[arch-commits] Commit in darkstat/repos/community-x86_64 (10 files)
Christian Hesse
eworm at gemini.archlinux.org
Sat Jan 22 20:40:46 UTC 2022
Date: Saturday, January 22, 2022 @ 20:40:46
Author: eworm
Revision: 1113485
archrelease: copy trunk to community-x86_64
Added:
darkstat/repos/community-x86_64/PKGBUILD
(from rev 1113484, darkstat/trunk/PKGBUILD)
darkstat/repos/community-x86_64/darkstat-sysusers.conf
(from rev 1113484, darkstat/trunk/darkstat-sysusers.conf)
darkstat/repos/community-x86_64/darkstat-tmpfiles.conf
(from rev 1113484, darkstat/trunk/darkstat-tmpfiles.conf)
darkstat/repos/community-x86_64/darkstat.conf
(from rev 1113484, darkstat/trunk/darkstat.conf)
darkstat/repos/community-x86_64/darkstat.service
(from rev 1113484, darkstat/trunk/darkstat.service)
Deleted:
darkstat/repos/community-x86_64/PKGBUILD
darkstat/repos/community-x86_64/darkstat-sysusers.conf
darkstat/repos/community-x86_64/darkstat-tmpfiles.conf
darkstat/repos/community-x86_64/darkstat.conf
darkstat/repos/community-x86_64/darkstat.service
------------------------+
PKGBUILD | 94 +++++++++++++++++++++++------------------------
darkstat-sysusers.conf | 2 -
darkstat-tmpfiles.conf | 4 +-
darkstat.conf | 4 +-
darkstat.service | 34 ++++++++---------
5 files changed, 69 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-22 20:40:35 UTC (rev 1113484)
+++ PKGBUILD 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -1,47 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=darkstat
-pkgver=3.0.721
-pkgrel=1
-pkgdesc='Network statistics gatherer (packet sniffer)'
-url='https://unix4lyfe.org/${pkgname}/'
-license=('GPL')
-arch=('x86_64')
-depends=('libpcap' 'zlib' 'gcc-libs')
-backup=('etc/conf.d/darkstat.conf')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/emikulic/${pkgname}/archive/refs/tags/${pkgver}.tar.gz"
- 'darkstat-sysusers.conf'
- 'darkstat-tmpfiles.conf'
- 'darkstat.service'
- 'darkstat.conf')
-sha256sums=('0b405a6c011240f577559d84db22684a6349b25067c3a800df12439783c25494'
- '81f7cac4bb3bdd10422938b33050dcb0245713082af1dd3a58fd63f51df29dbe'
- 'ccc508237a3aa5b1b2cff271877f6a92a0a189ff578ed2128731f7d8379a9fca'
- '81a29ba0fca9430f1a220fece1e88e8e80657fc1970b9327b6680e5f212e51df'
- '7ee7e3a04672bec76e10a65d3b2bc7cf3c41992652a7252d2bbefa79f7679923')
-
-prepare() {
- cd "${srcdir}/darkstat-${pkgver}"
-
- autoreconf -fi
-}
-
-build() {
- cd "${srcdir}/darkstat-${pkgver}"
-
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin
- make
-}
-
-package() {
- cd "${srcdir}/darkstat-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- install -D -m0644 "${srcdir}"/darkstat-sysusers.conf "${pkgdir}"/usr/lib/sysusers.d/darkstat.conf
- install -D -m0644 "${srcdir}"/darkstat-tmpfiles.conf "${pkgdir}"/usr/lib/tmpfiles.d/darkstat.conf
- install -D -m0644 "${srcdir}"/darkstat.service "${pkgdir}"/usr/lib/systemd/system/darkstat.service
- install -D -m0644 "${srcdir}"/darkstat.conf "${pkgdir}"/etc/conf.d/darkstat.conf
-}
Copied: darkstat/repos/community-x86_64/PKGBUILD (from rev 1113484, darkstat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -0,0 +1,47 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=darkstat
+pkgver=3.0.721
+pkgrel=2
+pkgdesc='Network statistics gatherer (packet sniffer)'
+url='https://unix4lyfe.org/darkstat/'
+license=('GPL')
+arch=('x86_64')
+depends=('libpcap' 'zlib' 'gcc-libs')
+backup=('etc/conf.d/darkstat.conf')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/emikulic/${pkgname}/archive/refs/tags/${pkgver}.tar.gz"
+ 'darkstat-sysusers.conf'
+ 'darkstat-tmpfiles.conf'
+ 'darkstat.service'
+ 'darkstat.conf')
+sha256sums=('0b405a6c011240f577559d84db22684a6349b25067c3a800df12439783c25494'
+ '81f7cac4bb3bdd10422938b33050dcb0245713082af1dd3a58fd63f51df29dbe'
+ 'ccc508237a3aa5b1b2cff271877f6a92a0a189ff578ed2128731f7d8379a9fca'
+ '81a29ba0fca9430f1a220fece1e88e8e80657fc1970b9327b6680e5f212e51df'
+ '7ee7e3a04672bec76e10a65d3b2bc7cf3c41992652a7252d2bbefa79f7679923')
+
+prepare() {
+ cd "${srcdir}/darkstat-${pkgver}"
+
+ autoreconf -fi
+}
+
+build() {
+ cd "${srcdir}/darkstat-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "${srcdir}/darkstat-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m0644 "${srcdir}"/darkstat-sysusers.conf "${pkgdir}"/usr/lib/sysusers.d/darkstat.conf
+ install -D -m0644 "${srcdir}"/darkstat-tmpfiles.conf "${pkgdir}"/usr/lib/tmpfiles.d/darkstat.conf
+ install -D -m0644 "${srcdir}"/darkstat.service "${pkgdir}"/usr/lib/systemd/system/darkstat.service
+ install -D -m0644 "${srcdir}"/darkstat.conf "${pkgdir}"/etc/conf.d/darkstat.conf
+}
Deleted: darkstat-sysusers.conf
===================================================================
--- darkstat-sysusers.conf 2022-01-22 20:40:35 UTC (rev 1113484)
+++ darkstat-sysusers.conf 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -1 +0,0 @@
-u darkstat - "darkstat user" /var/darkstat
Copied: darkstat/repos/community-x86_64/darkstat-sysusers.conf (from rev 1113484, darkstat/trunk/darkstat-sysusers.conf)
===================================================================
--- darkstat-sysusers.conf (rev 0)
+++ darkstat-sysusers.conf 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -0,0 +1 @@
+u darkstat - "darkstat user" /var/darkstat
Deleted: darkstat-tmpfiles.conf
===================================================================
--- darkstat-tmpfiles.conf 2022-01-22 20:40:35 UTC (rev 1113484)
+++ darkstat-tmpfiles.conf 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -1,2 +0,0 @@
-d /var/darkstat 0755 darkstat darkstat -
-f /var/darkstat/darkstat.dat 0644 darkstat darkstat -
Copied: darkstat/repos/community-x86_64/darkstat-tmpfiles.conf (from rev 1113484, darkstat/trunk/darkstat-tmpfiles.conf)
===================================================================
--- darkstat-tmpfiles.conf (rev 0)
+++ darkstat-tmpfiles.conf 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -0,0 +1,2 @@
+d /var/darkstat 0755 darkstat darkstat -
+f /var/darkstat/darkstat.dat 0644 darkstat darkstat -
Deleted: darkstat.conf
===================================================================
--- darkstat.conf 2022-01-22 20:40:35 UTC (rev 1113484)
+++ darkstat.conf 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -1,2 +0,0 @@
-DARKSTAT_IFACE="eth0"
-DARKSTAT_ARGS=""
Copied: darkstat/repos/community-x86_64/darkstat.conf (from rev 1113484, darkstat/trunk/darkstat.conf)
===================================================================
--- darkstat.conf (rev 0)
+++ darkstat.conf 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -0,0 +1,2 @@
+DARKSTAT_IFACE="eth0"
+DARKSTAT_ARGS=""
Deleted: darkstat.service
===================================================================
--- darkstat.service 2022-01-22 20:40:35 UTC (rev 1113484)
+++ darkstat.service 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -1,17 +0,0 @@
-[Unit]
-Description=Network statistics gatherer (packet sniffer)
-After=network.target
-
-[Service]
-Type=simple
-EnvironmentFile=/etc/conf.d/darkstat.conf
-PIDFile=/run/darkstat.pid
-ExecStart=/usr/sbin/darkstat --user "darkstat" --chroot "/var/darkstat" \
- --import "darkstat.dat" --export "darkstat.dat" \
- --pidfile /run/darkstat.pid \
- -b 0.0.0.0 \
- -i "$DARKSTAT_IFACE" $DARKSTAT_ARGS
-ExecStopPost=/bin/rm -f /run/darkstat.pid
-
-[Install]
-WantedBy=multi-user.target
Copied: darkstat/repos/community-x86_64/darkstat.service (from rev 1113484, darkstat/trunk/darkstat.service)
===================================================================
--- darkstat.service (rev 0)
+++ darkstat.service 2022-01-22 20:40:46 UTC (rev 1113485)
@@ -0,0 +1,17 @@
+[Unit]
+Description=Network statistics gatherer (packet sniffer)
+After=network.target
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/conf.d/darkstat.conf
+PIDFile=/run/darkstat.pid
+ExecStart=/usr/sbin/darkstat --user "darkstat" --chroot "/var/darkstat" \
+ --import "darkstat.dat" --export "darkstat.dat" \
+ --pidfile /run/darkstat.pid \
+ -b 0.0.0.0 \
+ -i "$DARKSTAT_IFACE" $DARKSTAT_ARGS
+ExecStopPost=/bin/rm -f /run/darkstat.pid
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list