[arch-commits] Commit in ipset/repos (16 files)

seblu at nymeria.archlinux.org seblu at nymeria.archlinux.org
Thu Jan 24 12:55:11 UTC 2013


    Date: Thursday, January 24, 2013 @ 13:55:11
  Author: seblu
Revision: 82785

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

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

--------------------------------+
 community-i686/PKGBUILD        |   95 ++++++++++++++++++---------------------
 community-i686/ipset.conf      |    7 --
 community-i686/ipset.rc        |   33 -------------
 community-i686/ipset.service   |   24 ++++-----
 community-i686/ipset.systemd   |   43 ++++++++---------
 community-x86_64/PKGBUILD      |   95 ++++++++++++++++++---------------------
 community-x86_64/ipset.conf    |    7 --
 community-x86_64/ipset.rc      |   33 -------------
 community-x86_64/ipset.service |   24 ++++-----
 community-x86_64/ipset.systemd |   43 ++++++++---------
 10 files changed, 156 insertions(+), 248 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-01-24 12:55:01 UTC (rev 82784)
+++ community-i686/PKGBUILD	2013-01-24 12:55:11 UTC (rev 82785)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
-
-pkgname=ipset
-pkgver=6.16.1
-pkgrel=1
-pkgdesc='Administration tool for IP sets'
-arch=('i686' 'x86_64')
-url='http://ipset.netfilter.org'
-license=('GPL2')
-depends=('libmnl')
-backup=("etc/$pkgname.conf" "etc/conf.d/$pkgname")
-options=('!libtool')
-source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2"
-        "$pkgname.conf"
-        "$pkgname.rc"
-        "$pkgname.systemd"
-        "$pkgname.service")
-md5sums=('9fd70c825f052db7dc9d5ba0562b7083'
-         '3e606a2823a700b4e9c5f17511a6f6a5'
-         'de89b054d967036e08b13bc6a7235286'
-         'dfc3105b89ed41fc4a1feb4f4f13f2a3'
-         'b032241b96b5802975fe4321cc511c6b')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --with-kmod=no
-  make
-}
-
-package() {
-  pushd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  # install doc
-  install -dm755 "$pkgdir/usr/share/doc/$pkgname"
-  install -m644 README UPGRADE ChangeLog "$pkgdir/usr/share/doc/$pkgname"
-  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: ipset/repos/community-i686/PKGBUILD (from rev 82784, ipset/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-01-24 12:55:11 UTC (rev 82785)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
+
+pkgname=ipset
+pkgver=6.16.1
+pkgrel=2
+pkgdesc='Administration tool for IP sets'
+arch=('i686' 'x86_64')
+url='http://ipset.netfilter.org'
+license=('GPL2')
+depends=('libmnl' 'bash')
+backup=("etc/$pkgname.conf")
+options=('!libtool')
+source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2"
+        "$pkgname.systemd"
+        "$pkgname.service")
+md5sums=('9fd70c825f052db7dc9d5ba0562b7083'
+         '7daa4f163eef9db216cb4c428e0342a3'
+         'b032241b96b5802975fe4321cc511c6b')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-kmod=no
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  # install doc
+  install -dm755 "$pkgdir/usr/share/doc/$pkgname"
+  install -m644 README UPGRADE ChangeLog "$pkgdir/usr/share/doc/$pkgname"
+  # install pkgconfig file
+  install -Dm644 lib/libipset.pc "$pkgdir/usr/lib/pkgconfig/libipset.pc"
+  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"
+}
+
+# vim:set ts=2 sw=2 et:

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

Deleted: community-i686/ipset.rc
===================================================================
--- community-i686/ipset.rc	2013-01-24 12:55:01 UTC (rev 82784)
+++ community-i686/ipset.rc	2013-01-24 12:55:11 UTC (rev 82785)
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-case "$1" in
-  start)
-    stat_busy 'Loading IP sets'
-    ipset restore < "$CONFIG_FILE" && add_daemon ${0##*/} && stat_done || stat_die
-    ;;
-  stop)
-    [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save
-    stat_busy 'Clearing IP sets'
-    ipset destroy &&
-      rm_daemon ${0##*/} && stat_done || stat_die
-    ;;
-  restart)
-    $0 stop
-    $0 start
-    ;;
-  save)
-    stat_busy 'Saving IP sets'
-    ipset 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/ipset.service
===================================================================
--- community-i686/ipset.service	2013-01-24 12:55:01 UTC (rev 82784)
+++ community-i686/ipset.service	2013-01-24 12:55:11 UTC (rev 82785)
@@ -1,12 +0,0 @@
-[Unit]
-Description=IP Sets
-Before=iptables.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/lib/systemd/scripts/ipset start
-ExecStop=/usr/lib/systemd/scripts/ipset stop
-
-[Install]
-WantedBy=multi-user.target

Copied: ipset/repos/community-i686/ipset.service (from rev 82784, ipset/trunk/ipset.service)
===================================================================
--- community-i686/ipset.service	                        (rev 0)
+++ community-i686/ipset.service	2013-01-24 12:55:11 UTC (rev 82785)
@@ -0,0 +1,12 @@
+[Unit]
+Description=IP Sets
+Before=iptables.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/lib/systemd/scripts/ipset start
+ExecStop=/usr/lib/systemd/scripts/ipset stop
+
+[Install]
+WantedBy=multi-user.target

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

Copied: ipset/repos/community-i686/ipset.systemd (from rev 82784, ipset/trunk/ipset.systemd)
===================================================================
--- community-i686/ipset.systemd	                        (rev 0)
+++ community-i686/ipset.systemd	2013-01-24 12:55:11 UTC (rev 82785)
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+CONFIG_FILE='/etc/ipset.conf'
+
+case $1 in
+  start)
+    ipset restore < "$CONFIG_FILE"
+  ;;
+  stop)
+    ipset destroy
+  ;;
+  save)
+    ipset 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 12:55:01 UTC (rev 82784)
+++ community-x86_64/PKGBUILD	2013-01-24 12:55:11 UTC (rev 82785)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
-
-pkgname=ipset
-pkgver=6.16.1
-pkgrel=1
-pkgdesc='Administration tool for IP sets'
-arch=('i686' 'x86_64')
-url='http://ipset.netfilter.org'
-license=('GPL2')
-depends=('libmnl')
-backup=("etc/$pkgname.conf" "etc/conf.d/$pkgname")
-options=('!libtool')
-source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2"
-        "$pkgname.conf"
-        "$pkgname.rc"
-        "$pkgname.systemd"
-        "$pkgname.service")
-md5sums=('9fd70c825f052db7dc9d5ba0562b7083'
-         '3e606a2823a700b4e9c5f17511a6f6a5'
-         'de89b054d967036e08b13bc6a7235286'
-         'dfc3105b89ed41fc4a1feb4f4f13f2a3'
-         'b032241b96b5802975fe4321cc511c6b')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --with-kmod=no
-  make
-}
-
-package() {
-  pushd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  # install doc
-  install -dm755 "$pkgdir/usr/share/doc/$pkgname"
-  install -m644 README UPGRADE ChangeLog "$pkgdir/usr/share/doc/$pkgname"
-  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: ipset/repos/community-x86_64/PKGBUILD (from rev 82784, ipset/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-01-24 12:55:11 UTC (rev 82785)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
+
+pkgname=ipset
+pkgver=6.16.1
+pkgrel=2
+pkgdesc='Administration tool for IP sets'
+arch=('i686' 'x86_64')
+url='http://ipset.netfilter.org'
+license=('GPL2')
+depends=('libmnl' 'bash')
+backup=("etc/$pkgname.conf")
+options=('!libtool')
+source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2"
+        "$pkgname.systemd"
+        "$pkgname.service")
+md5sums=('9fd70c825f052db7dc9d5ba0562b7083'
+         '7daa4f163eef9db216cb4c428e0342a3'
+         'b032241b96b5802975fe4321cc511c6b')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --with-kmod=no
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  # install doc
+  install -dm755 "$pkgdir/usr/share/doc/$pkgname"
+  install -m644 README UPGRADE ChangeLog "$pkgdir/usr/share/doc/$pkgname"
+  # install pkgconfig file
+  install -Dm644 lib/libipset.pc "$pkgdir/usr/lib/pkgconfig/libipset.pc"
+  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"
+}
+
+# vim:set ts=2 sw=2 et:

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

Deleted: community-x86_64/ipset.rc
===================================================================
--- community-x86_64/ipset.rc	2013-01-24 12:55:01 UTC (rev 82784)
+++ community-x86_64/ipset.rc	2013-01-24 12:55:11 UTC (rev 82785)
@@ -1,33 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-case "$1" in
-  start)
-    stat_busy 'Loading IP sets'
-    ipset restore < "$CONFIG_FILE" && add_daemon ${0##*/} && stat_done || stat_die
-    ;;
-  stop)
-    [[ $SAVE_ON_STOP =~ [yY][eE][sS] ]] && $0 save
-    stat_busy 'Clearing IP sets'
-    ipset destroy &&
-      rm_daemon ${0##*/} && stat_done || stat_die
-    ;;
-  restart)
-    $0 stop
-    $0 start
-    ;;
-  save)
-    stat_busy 'Saving IP sets'
-    ipset 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/ipset.service
===================================================================
--- community-x86_64/ipset.service	2013-01-24 12:55:01 UTC (rev 82784)
+++ community-x86_64/ipset.service	2013-01-24 12:55:11 UTC (rev 82785)
@@ -1,12 +0,0 @@
-[Unit]
-Description=IP Sets
-Before=iptables.service
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/lib/systemd/scripts/ipset start
-ExecStop=/usr/lib/systemd/scripts/ipset stop
-
-[Install]
-WantedBy=multi-user.target

Copied: ipset/repos/community-x86_64/ipset.service (from rev 82784, ipset/trunk/ipset.service)
===================================================================
--- community-x86_64/ipset.service	                        (rev 0)
+++ community-x86_64/ipset.service	2013-01-24 12:55:11 UTC (rev 82785)
@@ -0,0 +1,12 @@
+[Unit]
+Description=IP Sets
+Before=iptables.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/lib/systemd/scripts/ipset start
+ExecStop=/usr/lib/systemd/scripts/ipset stop
+
+[Install]
+WantedBy=multi-user.target

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

Copied: ipset/repos/community-x86_64/ipset.systemd (from rev 82784, ipset/trunk/ipset.systemd)
===================================================================
--- community-x86_64/ipset.systemd	                        (rev 0)
+++ community-x86_64/ipset.systemd	2013-01-24 12:55:11 UTC (rev 82785)
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+CONFIG_FILE='/etc/ipset.conf'
+
+case $1 in
+  start)
+    ipset restore < "$CONFIG_FILE"
+  ;;
+  stop)
+    ipset destroy
+  ;;
+  save)
+    ipset 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