[arch-commits] Commit in arptables/repos (18 files)

seblu at nymeria.archlinux.org seblu at nymeria.archlinux.org
Thu Jan 24 11:14:44 UTC 2013


    Date: Thursday, January 24, 2013 @ 12:14:44
  Author: seblu
Revision: 82774

archrelease: copy trunk to community-i686, community-x86_64

Added:
  arptables/repos/community-i686/PKGBUILD
    (from rev 82773, arptables/trunk/PKGBUILD)
  arptables/repos/community-i686/arptables.service
    (from rev 82773, arptables/trunk/arptables.service)
  arptables/repos/community-i686/arptables.systemd
    (from rev 82773, arptables/trunk/arptables.systemd)
  arptables/repos/community-x86_64/PKGBUILD
    (from rev 82773, arptables/trunk/PKGBUILD)
  arptables/repos/community-x86_64/arptables.service
    (from rev 82773, arptables/trunk/arptables.service)
  arptables/repos/community-x86_64/arptables.systemd
    (from rev 82773, arptables/trunk/arptables.systemd)
Deleted:
  arptables/repos/community-i686/PKGBUILD
  arptables/repos/community-i686/arptables.conf
  arptables/repos/community-i686/arptables.install
  arptables/repos/community-i686/arptables.rc
  arptables/repos/community-i686/arptables.service
  arptables/repos/community-i686/arptables.systemd
  arptables/repos/community-x86_64/PKGBUILD
  arptables/repos/community-x86_64/arptables.conf
  arptables/repos/community-x86_64/arptables.install
  arptables/repos/community-x86_64/arptables.rc
  arptables/repos/community-x86_64/arptables.service
  arptables/repos/community-x86_64/arptables.systemd

------------------------------------+
 community-i686/PKGBUILD            |  103 ++++++++++++++++-------------------
 community-i686/arptables.conf      |    7 --
 community-i686/arptables.install   |   10 ---
 community-i686/arptables.rc        |   34 -----------
 community-i686/arptables.service   |   22 +++----
 community-i686/arptables.systemd   |   43 +++++++-------
 community-x86_64/PKGBUILD          |  103 ++++++++++++++++-------------------
 community-x86_64/arptables.conf    |    7 --
 community-x86_64/arptables.install |   10 ---
 community-x86_64/arptables.rc      |   34 -----------
 community-x86_64/arptables.service |   22 +++----
 community-x86_64/arptables.systemd |   43 +++++++-------
 12 files changed, 162 insertions(+), 276 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-i686/PKGBUILD	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-# Contributor: Michal Soltys <soltys at ziu.info>
-
-pkgname=arptables
-pkgver=0.0.3_4
-pkgrel=3
-pkgdesc='ARP filtering utility'
-arch=('i686' 'x86_64')
-url='http://ebtables.sourceforge.net/'
-license=('GPL')
-backup=("etc/$pkgname.conf" "etc/conf.d/$pkgname")
-install=$pkgname.install
-source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz"
-        "$pkgname.conf"
-        "$pkgname.rc"
-        "$pkgname.systemd"
-        "$pkgname.service")
-md5sums=('1d4ab05761f063b0751645d8f2b8f8e5'
-         '00bfb5bd8a83a5b466c650ee5d8f86f3'
-         '60e0319b55b1ef9e13d9ac03dd98c8d4'
-         '65a9ed0b866f727184a87e4d480975bd'
-         'b26771191e52905d8aea6333c26cb1c3')
-
-build() {
-  cd $pkgname-v${pkgver//_/-}
-  make
-}
-
-package() {
-  pushd $pkgname-v${pkgver//_/-}
-  make install \
-    DESTDIR="$pkgdir" \
-    PREFIX=/usr \
-    LIBDIR=/usr/lib/arptables \
-    BINDIR=/usr/sbin \
-    MANDIR=/usr/share/man \
-    INITDIR=/etc/rc.d \
-    SYSCONFIGDIR=/etc
-  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 755 $pkgname.systemd \
-    "$pkgdir/usr/lib/systemd/scripts/$pkgname"
-  install -Dm 644 $pkgname.service \
-    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  # default config file
-  install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: arptables/repos/community-i686/PKGBUILD (from rev 82773, arptables/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-01-24 11:14:44 UTC (rev 82774)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Michal Soltys <soltys at ziu.info>
+
+pkgname=arptables
+pkgver=0.0.4
+pkgrel=1
+pkgdesc='ARP filtering utility'
+arch=('i686' 'x86_64')
+url='http://ebtables.sourceforge.net/'
+depends=('glibc' 'perl' 'bash')
+license=('GPL')
+backup=("etc/$pkgname.conf")
+source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz"
+        "$pkgname.systemd"
+        "$pkgname.service")
+md5sums=('c2e99c3aa9d78c9dfa30710ca3168182'
+         'e54342a833c52b2bc67e7985e8f8fdfd'
+         'b26771191e52905d8aea6333c26cb1c3')
+
+build() {
+  cd $pkgname-v${pkgver//_/-}
+  make
+}
+
+package() {
+  pushd $pkgname-v${pkgver//_/-}
+  make install \
+    DESTDIR="$pkgdir" \
+    PREFIX=/usr \
+    LIBDIR=/usr/lib/arptables \
+    BINDIR=/usr/sbin \
+    MANDIR=/usr/share/man \
+    INITDIR=/etc/rc.d \
+    SYSCONFIGDIR=/etc
+  popd
+  # systemd
+  install -Dm 755 $pkgname.systemd \
+    "$pkgdir/usr/lib/systemd/scripts/$pkgname"
+  install -Dm 644 $pkgname.service \
+    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  # default config file
+  install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
+  # remove upstream rc
+  rm -rf "$pkgdir/etc/rc.d"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/arptables.conf
===================================================================
--- community-i686/arptables.conf	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-i686/arptables.conf	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,7 +0,0 @@
-# Configuration file used to load/save configuration.
-CONFIG_FILE='/etc/arptables.conf'
-
-# Save configuration on stop/restart.
-#SAVE_ON_STOP=yes
-
-# vim:set ts=2 sw=2 ft=sh et:

Deleted: community-i686/arptables.install
===================================================================
--- community-i686/arptables.install	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-i686/arptables.install	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,10 +0,0 @@
-## arg 1:  the new package version
-## arg 2:  the old package version
-post_upgrade() {
-  [ $(vercmp "$2" '0.0.3_4-2') -gt 0 ] || cat <<EOF
-Config file have been moved from /etc/arptables/arptables to /etc/arptables.conf.
-You can revert to the previous location by editing /etc/conf.d/arptables.
-EOF
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Deleted: community-i686/arptables.rc
===================================================================
--- community-i686/arptables.rc	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-i686/arptables.rc	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-case "$1" in
-  start)
-    stat_busy 'Loading arptables rules'
-    arptables-restore < "$CONFIG_FILE" &&
-      add_daemon ${0##*/} && stat_done || stat_die
-    ;;
-  stop)
-    [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save
-    stat_busy 'Clearing arptables rules'
-    arptables-restore < /dev/null &&
-      rm_daemon ${0##*/} && stat_done || stat_die
-    ;;
-  restart)
-    $0 start
-    $0 stop
-    ;;
-  save)
-    stat_busy 'Saving arptables rules'
-    arptables-save > "$CONFIG_FILE" &&
-      stat_done || stat_die
-    ;;
-  *)
-    echo "usage: ${0##*/} {start|stop|restart|save}" >&2
-    exit 1
-    ;;
-esac
-
-# vim:set ts=2 sw=2 ft=sh et:

Deleted: community-i686/arptables.service
===================================================================
--- community-i686/arptables.service	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-i686/arptables.service	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,11 +0,0 @@
-[Unit]
-Description=ARP Tables
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/lib/systemd/scripts/arptables start
-ExecStop=/usr/lib/systemd/scripts/arptables stop
-
-[Install]
-WantedBy=multi-user.target

Copied: arptables/repos/community-i686/arptables.service (from rev 82773, arptables/trunk/arptables.service)
===================================================================
--- community-i686/arptables.service	                        (rev 0)
+++ community-i686/arptables.service	2013-01-24 11:14:44 UTC (rev 82774)
@@ -0,0 +1,11 @@
+[Unit]
+Description=ARP Tables
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/lib/systemd/scripts/arptables start
+ExecStop=/usr/lib/systemd/scripts/arptables stop
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/arptables.systemd
===================================================================
--- community-i686/arptables.systemd	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-i686/arptables.systemd	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-. /etc/conf.d/arptables
-
-case $1 in
-  start)
-    arptables-restore < "$CONFIG_FILE"
-  ;;
-  stop)
-    [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save
-    arptables-restore < /dev/null
-  ;;
-  save)
-    arptables-save > "$CONFIG_FILE"
-  ;;
-  *)
-    echo "usage: ${0##*/} {start|stop|save}" >&2
-    exit 1
-  ;;
-esac
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: arptables/repos/community-i686/arptables.systemd (from rev 82773, arptables/trunk/arptables.systemd)
===================================================================
--- community-i686/arptables.systemd	                        (rev 0)
+++ community-i686/arptables.systemd	2013-01-24 11:14:44 UTC (rev 82774)
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+CONFIG_FILE='/etc/arptables.conf'
+
+case $1 in
+  start)
+    arptables-restore < "$CONFIG_FILE"
+  ;;
+  stop)
+    arptables-restore < /dev/null
+  ;;
+  save)
+    arptables-save > "$CONFIG_FILE"
+  ;;
+  *)
+    echo "usage: ${0##*/} {start|stop|save}" >&2
+    exit 1
+  ;;
+esac
+
+# vim:set ts=2 sw=2 ft=sh et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-x86_64/PKGBUILD	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
-# Contributor: Daniel Micay <danielmicay at gmail.com>
-# Contributor: Michal Soltys <soltys at ziu.info>
-
-pkgname=arptables
-pkgver=0.0.3_4
-pkgrel=3
-pkgdesc='ARP filtering utility'
-arch=('i686' 'x86_64')
-url='http://ebtables.sourceforge.net/'
-license=('GPL')
-backup=("etc/$pkgname.conf" "etc/conf.d/$pkgname")
-install=$pkgname.install
-source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz"
-        "$pkgname.conf"
-        "$pkgname.rc"
-        "$pkgname.systemd"
-        "$pkgname.service")
-md5sums=('1d4ab05761f063b0751645d8f2b8f8e5'
-         '00bfb5bd8a83a5b466c650ee5d8f86f3'
-         '60e0319b55b1ef9e13d9ac03dd98c8d4'
-         '65a9ed0b866f727184a87e4d480975bd'
-         'b26771191e52905d8aea6333c26cb1c3')
-
-build() {
-  cd $pkgname-v${pkgver//_/-}
-  make
-}
-
-package() {
-  pushd $pkgname-v${pkgver//_/-}
-  make install \
-    DESTDIR="$pkgdir" \
-    PREFIX=/usr \
-    LIBDIR=/usr/lib/arptables \
-    BINDIR=/usr/sbin \
-    MANDIR=/usr/share/man \
-    INITDIR=/etc/rc.d \
-    SYSCONFIGDIR=/etc
-  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 755 $pkgname.systemd \
-    "$pkgdir/usr/lib/systemd/scripts/$pkgname"
-  install -Dm 644 $pkgname.service \
-    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  # default config file
-  install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: arptables/repos/community-x86_64/PKGBUILD (from rev 82773, arptables/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-01-24 11:14:44 UTC (rev 82774)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Michal Soltys <soltys at ziu.info>
+
+pkgname=arptables
+pkgver=0.0.4
+pkgrel=1
+pkgdesc='ARP filtering utility'
+arch=('i686' 'x86_64')
+url='http://ebtables.sourceforge.net/'
+depends=('glibc' 'perl' 'bash')
+license=('GPL')
+backup=("etc/$pkgname.conf")
+source=("http://downloads.sourceforge.net/ebtables/$pkgname-v${pkgver//_/-}.tar.gz"
+        "$pkgname.systemd"
+        "$pkgname.service")
+md5sums=('c2e99c3aa9d78c9dfa30710ca3168182'
+         'e54342a833c52b2bc67e7985e8f8fdfd'
+         'b26771191e52905d8aea6333c26cb1c3')
+
+build() {
+  cd $pkgname-v${pkgver//_/-}
+  make
+}
+
+package() {
+  pushd $pkgname-v${pkgver//_/-}
+  make install \
+    DESTDIR="$pkgdir" \
+    PREFIX=/usr \
+    LIBDIR=/usr/lib/arptables \
+    BINDIR=/usr/sbin \
+    MANDIR=/usr/share/man \
+    INITDIR=/etc/rc.d \
+    SYSCONFIGDIR=/etc
+  popd
+  # systemd
+  install -Dm 755 $pkgname.systemd \
+    "$pkgdir/usr/lib/systemd/scripts/$pkgname"
+  install -Dm 644 $pkgname.service \
+    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  # default config file
+  install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
+  # remove upstream rc
+  rm -rf "$pkgdir/etc/rc.d"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/arptables.conf
===================================================================
--- community-x86_64/arptables.conf	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-x86_64/arptables.conf	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,7 +0,0 @@
-# Configuration file used to load/save configuration.
-CONFIG_FILE='/etc/arptables.conf'
-
-# Save configuration on stop/restart.
-#SAVE_ON_STOP=yes
-
-# vim:set ts=2 sw=2 ft=sh et:

Deleted: community-x86_64/arptables.install
===================================================================
--- community-x86_64/arptables.install	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-x86_64/arptables.install	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,10 +0,0 @@
-## arg 1:  the new package version
-## arg 2:  the old package version
-post_upgrade() {
-  [ $(vercmp "$2" '0.0.3_4-2') -gt 0 ] || cat <<EOF
-Config file have been moved from /etc/arptables/arptables to /etc/arptables.conf.
-You can revert to the previous location by editing /etc/conf.d/arptables.
-EOF
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Deleted: community-x86_64/arptables.rc
===================================================================
--- community-x86_64/arptables.rc	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-x86_64/arptables.rc	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-case "$1" in
-  start)
-    stat_busy 'Loading arptables rules'
-    arptables-restore < "$CONFIG_FILE" &&
-      add_daemon ${0##*/} && stat_done || stat_die
-    ;;
-  stop)
-    [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save
-    stat_busy 'Clearing arptables rules'
-    arptables-restore < /dev/null &&
-      rm_daemon ${0##*/} && stat_done || stat_die
-    ;;
-  restart)
-    $0 start
-    $0 stop
-    ;;
-  save)
-    stat_busy 'Saving arptables rules'
-    arptables-save > "$CONFIG_FILE" &&
-      stat_done || stat_die
-    ;;
-  *)
-    echo "usage: ${0##*/} {start|stop|restart|save}" >&2
-    exit 1
-    ;;
-esac
-
-# vim:set ts=2 sw=2 ft=sh et:

Deleted: community-x86_64/arptables.service
===================================================================
--- community-x86_64/arptables.service	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-x86_64/arptables.service	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,11 +0,0 @@
-[Unit]
-Description=ARP Tables
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/lib/systemd/scripts/arptables start
-ExecStop=/usr/lib/systemd/scripts/arptables stop
-
-[Install]
-WantedBy=multi-user.target

Copied: arptables/repos/community-x86_64/arptables.service (from rev 82773, arptables/trunk/arptables.service)
===================================================================
--- community-x86_64/arptables.service	                        (rev 0)
+++ community-x86_64/arptables.service	2013-01-24 11:14:44 UTC (rev 82774)
@@ -0,0 +1,11 @@
+[Unit]
+Description=ARP Tables
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/lib/systemd/scripts/arptables start
+ExecStop=/usr/lib/systemd/scripts/arptables stop
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/arptables.systemd
===================================================================
--- community-x86_64/arptables.systemd	2013-01-24 11:14:34 UTC (rev 82773)
+++ community-x86_64/arptables.systemd	2013-01-24 11:14:44 UTC (rev 82774)
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-. /etc/conf.d/arptables
-
-case $1 in
-  start)
-    arptables-restore < "$CONFIG_FILE"
-  ;;
-  stop)
-    [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save
-    arptables-restore < /dev/null
-  ;;
-  save)
-    arptables-save > "$CONFIG_FILE"
-  ;;
-  *)
-    echo "usage: ${0##*/} {start|stop|save}" >&2
-    exit 1
-  ;;
-esac
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: arptables/repos/community-x86_64/arptables.systemd (from rev 82773, arptables/trunk/arptables.systemd)
===================================================================
--- community-x86_64/arptables.systemd	                        (rev 0)
+++ community-x86_64/arptables.systemd	2013-01-24 11:14:44 UTC (rev 82774)
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+CONFIG_FILE='/etc/arptables.conf'
+
+case $1 in
+  start)
+    arptables-restore < "$CONFIG_FILE"
+  ;;
+  stop)
+    arptables-restore < /dev/null
+  ;;
+  save)
+    arptables-save > "$CONFIG_FILE"
+  ;;
+  *)
+    echo "usage: ${0##*/} {start|stop|save}" >&2
+    exit 1
+  ;;
+esac
+
+# vim:set ts=2 sw=2 ft=sh et:




More information about the arch-commits mailing list