[arch-commits] Commit in ferm/repos/community-any (6 files)

Sébastien Luttringer seblu at nymeria.archlinux.org
Sun Feb 3 14:27:55 UTC 2013


    Date: Sunday, February 3, 2013 @ 15:27:55
  Author: seblu
Revision: 83592

archrelease: copy trunk to community-any

Added:
  ferm/repos/community-any/PKGBUILD
    (from rev 83591, ferm/trunk/PKGBUILD)
  ferm/repos/community-any/ferm.service
    (from rev 83591, ferm/trunk/ferm.service)
Deleted:
  ferm/repos/community-any/PKGBUILD
  ferm/repos/community-any/ferm.conf
  ferm/repos/community-any/ferm.rc
  ferm/repos/community-any/ferm.service

--------------+
 PKGBUILD     |   77 +++++++++++++++++++++++++--------------------------------
 ferm.conf    |    3 --
 ferm.rc      |   26 -------------------
 ferm.service |   22 ++++++++--------
 4 files changed, 46 insertions(+), 82 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-03 14:27:49 UTC (rev 83591)
+++ PKGBUILD	2013-02-03 14:27:55 UTC (rev 83592)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
-# Contributor: Marti Raudsepp <marti at juffo.org>
-# Contributor: Manuel Mazzuola <origin.of at gmail.com>
-
-pkgname=ferm
-pkgver=2.1.2
-pkgrel=1
-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" "etc/conf.d/$pkgname")
-source=(
-  "http://ferm.foo-projects.org/download/${pkgver:0:3}/$pkgname-$pkgver.tar.gz"
-  "$pkgname.conf"
-  "$pkgname.rc"
-  "$pkgname.service")
-md5sums=('bcfeae169c4e8e9a702df19f453605ed'
-         'd6fd57e1ba4cb72cfa87a35f551653d7'
-         'ce1b1cb54ec71f804b86f12f339d9631'
-         '26df9a01e03eb89a4ec3350230092777')
-
-package() {
-  # software setup
-  pushd $pkgname-$pkgver
-  make PREFIX="${pkgdir}/usr" install
-  popd
-  # install initscripts
-  install -Dm 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname"
-  install -Dm 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname"
-  # install systemd service
-  install -Dm 644 $pkgname.service \
-    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  # setup default config
-  install -D -m 644 "$pkgdir/usr/share/doc/ferm/examples/workstation.ferm" \
-    "$pkgdir/etc/$pkgname.conf"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: ferm/repos/community-any/PKGBUILD (from rev 83591, ferm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-02-03 14:27:55 UTC (rev 83592)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
+# Contributor: Marti Raudsepp <marti at juffo.org>
+# Contributor: Manuel Mazzuola <origin.of at gmail.com>
+
+pkgname=ferm
+pkgver=2.1.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=('bcfeae169c4e8e9a702df19f453605ed'
+         '26df9a01e03eb89a4ec3350230092777')
+
+package() {
+  # software setup
+  pushd $pkgname-$pkgver
+  make PREFIX="${pkgdir}/usr" install
+  popd
+  # systemd
+  install -Dm 644 $pkgname.service \
+    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  # setup default config
+  install -D -m 644 "$pkgdir/usr/share/doc/ferm/examples/workstation.ferm" \
+    "$pkgdir/etc/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: ferm.conf
===================================================================
--- ferm.conf	2013-02-03 14:27:49 UTC (rev 83591)
+++ ferm.conf	2013-02-03 14:27:55 UTC (rev 83592)
@@ -1,3 +0,0 @@
-# vim:set ts=2 sw=2 ft=sh et:
-
-CONFIG_FILE='/etc/ferm.conf'

Deleted: ferm.rc
===================================================================
--- ferm.rc	2013-02-03 14:27:49 UTC (rev 83591)
+++ ferm.rc	2013-02-03 14:27:55 UTC (rev 83592)
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-case "$1" in
-  start)
-    status 'Loading FERM rules' ferm "$CONFIG_FILE" &&
-      add_daemon ${0##*/} || exit 1
-    ;;
-  stop)
-    status 'Clearing FERM rules' ferm -F "$CONFIG_FILE" &&
-      rm_daemon ${0##*/} || exit 1
-    ;;
-  restart)
-    $0 stop
-    $0 start
-    ;;
-  *)
-    echo "usage: ${0##*/} {start|stop|restart}" >&2
-    exit 1
-    ;;
-esac
-
-# vim:set ts=2 sw=2 ft=sh et:

Deleted: ferm.service
===================================================================
--- ferm.service	2013-02-03 14:27:49 UTC (rev 83591)
+++ ferm.service	2013-02-03 14:27:55 UTC (rev 83592)
@@ -1,11 +0,0 @@
-[Unit]
-Description=for Easy Rule Making
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/sbin/ferm /etc/ferm.conf
-ExecStop=/usr/sbin/ferm -F /etc/ferm.conf
-
-[Install]
-WantedBy=multi-user.target

Copied: ferm/repos/community-any/ferm.service (from rev 83591, ferm/trunk/ferm.service)
===================================================================
--- ferm.service	                        (rev 0)
+++ ferm.service	2013-02-03 14:27:55 UTC (rev 83592)
@@ -0,0 +1,11 @@
+[Unit]
+Description=for Easy Rule Making
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/sbin/ferm /etc/ferm.conf
+ExecStop=/usr/sbin/ferm -F /etc/ferm.conf
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list