[arch-commits] Commit in ferm/repos/community-any (4 files)
Sébastien Luttringer
seblu at archlinux.org
Thu May 28 21:32:19 UTC 2015
Date: Thursday, May 28, 2015 @ 23:32:19
Author: seblu
Revision: 134290
archrelease: copy trunk to community-any
Added:
ferm/repos/community-any/PKGBUILD
(from rev 134289, ferm/trunk/PKGBUILD)
ferm/repos/community-any/ferm.service
(from rev 134289, ferm/trunk/ferm.service)
Deleted:
ferm/repos/community-any/PKGBUILD
ferm/repos/community-any/ferm.service
--------------+
PKGBUILD | 72 +++++++++++++++++++++++++++++----------------------------
ferm.service | 28 +++++++++++-----------
2 files changed, 52 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-05-28 21:32:07 UTC (rev 134289)
+++ PKGBUILD 2015-05-28 21:32:19 UTC (rev 134290)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-# Contributor: Marti Raudsepp <marti at juffo.org>
-# Contributor: Manuel Mazzuola <origin.of at gmail.com>
-
-pkgname=ferm
-pkgver=2.2
-pkgrel=2
-pkgdesc='Tool to maintain complex firewalls'
-arch=('any')
-url='http://ferm.foo-projects.org/'
-license=('GPL2')
-depends=('iptables' 'perl')
-optdepends=('ebtables' 'arptables' 'ipset')
-backup=("etc/$pkgname.conf")
-source=(
- "http://ferm.foo-projects.org/download/${pkgver:0:3}/$pkgname-$pkgver.tar.gz"
- "$pkgname.service")
-md5sums=('f2d6e6950d90c768ef9e1f055a01fba2'
- '24f425eda3de65ce15e7b013db3800bc')
-
-package() {
- # software setup
- cd $pkgname-$pkgver
- make PREFIX="$pkgdir/usr" install
- cd "$pkgdir"
- # setup default config
- install -D -m 644 usr/share/doc/ferm/examples/workstation.ferm etc/$pkgname.conf
- # /usr merge
- mv usr/sbin usr/bin
- # systemd
- install -Dm 644 "$srcdir/$pkgname.service" usr/lib/systemd/system/$pkgname.service
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ferm/repos/community-any/PKGBUILD (from rev 134289, ferm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-05-28 21:32:19 UTC (rev 134290)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Marti Raudsepp <marti at juffo.org>
+# Contributor: Manuel Mazzuola <origin.of at gmail.com>
+
+pkgname=ferm
+pkgver=2.2
+pkgrel=3
+pkgdesc='Tool to maintain complex firewalls'
+arch=('any')
+url='http://ferm.foo-projects.org/'
+license=('GPL2')
+depends=('iptables' 'perl')
+optdepends=('ebtables' 'arptables' 'ipset')
+backup=("etc/$pkgname.conf")
+source=(
+ "http://ferm.foo-projects.org/download/${pkgver:0:3}/$pkgname-$pkgver.tar.gz"
+ "$pkgname.service")
+md5sums=('f2d6e6950d90c768ef9e1f055a01fba2'
+ '9c5ece2628fd86a73b70f9c39df63e9f')
+
+package() {
+ # software setup
+ cd $pkgname-$pkgver
+ make PREFIX="$pkgdir/usr" install
+ cd "$pkgdir"
+ # setup default config
+ install -D -m 644 usr/share/doc/ferm/examples/workstation.ferm etc/$pkgname.conf
+ # remove fancy docs
+ rm usr/share/doc/ferm/ferm.{html,txt}
+ # /usr merge
+ mv usr/sbin usr/bin
+ # systemd
+ install -Dm 644 "$srcdir/$pkgname.service" usr/lib/systemd/system/$pkgname.service
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: ferm.service
===================================================================
--- ferm.service 2015-05-28 21:32:07 UTC (rev 134289)
+++ ferm.service 2015-05-28 21:32:19 UTC (rev 134290)
@@ -1,13 +0,0 @@
-[Unit]
-Description=for Easy Rule Making
-After=ipset.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/bin/ferm /etc/ferm.conf
-ExecReload=/usr/bin/ferm /etc/ferm.conf
-ExecStop=/usr/bin/ferm -F /etc/ferm.conf
-
-[Install]
-WantedBy=multi-user.target
Copied: ferm/repos/community-any/ferm.service (from rev 134289, ferm/trunk/ferm.service)
===================================================================
--- ferm.service (rev 0)
+++ ferm.service 2015-05-28 21:32:19 UTC (rev 134290)
@@ -0,0 +1,15 @@
+[Unit]
+Description=for Easy Rule Making
+After=ipset.service
+Before=network-pre.target
+Wants=network-pre.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/ferm /etc/ferm.conf
+ExecReload=/usr/bin/ferm /etc/ferm.conf
+ExecStop=/usr/bin/ferm -F /etc/ferm.conf
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list