[arch-commits] Commit in ufw/repos/community-any (5 files)

bpiotrowski at nymeria.archlinux.org bpiotrowski at nymeria.archlinux.org
Wed Jan 23 21:01:47 UTC 2013


    Date: Wednesday, January 23, 2013 @ 22:01:47
  Author: bpiotrowski
Revision: 82755

archrelease: copy trunk to community-any

Added:
  ufw/repos/community-any/PKGBUILD
    (from rev 82754, ufw/trunk/PKGBUILD)
  ufw/repos/community-any/service
    (from rev 82754, ufw/trunk/service)
Deleted:
  ufw/repos/community-any/PKGBUILD
  ufw/repos/community-any/rc.d
  ufw/repos/community-any/service

----------+
 PKGBUILD |   91 +++++++++++++++++++++++++++++--------------------------------
 rc.d     |   64 ------------------------------------------
 service  |   27 ++++++++++--------
 3 files changed, 60 insertions(+), 122 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-23 21:01:36 UTC (rev 82754)
+++ PKGBUILD	2013-01-23 21:01:47 UTC (rev 82755)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
-# Contributor: Sorin Ionescu <sorin.ionescu at gmail.com>
-
-pkgname=ufw
-pkgver=0.33
-pkgrel=1
-pkgdesc="Uncomplicated and easy to use CLI tool for managing a netfilter firewall"
-arch=('any')
-url="https://launchpad.net/ufw"
-license=('GPL3')
-depends=('iptables' 'python2')
-backup=('etc/ufw/before.rules'
-        'etc/ufw/before6.rules'
-        'etc/ufw/after.rules'
-        'etc/ufw/after6.rules'
-        'etc/ufw/ufw.conf'
-        'etc/ufw/user.rules'
-        'etc/ufw/sysctl.conf'
-        'etc/default/ufw'
-        'usr/lib/ufw/user.rules'
-        'usr/lib/ufw/user6.rules')
-source=(http://launchpad.net/$pkgname/$pkgver/$pkgver/+download/${pkgname}-${pkgver}.tar.gz
-        rc.d
-        service)
-md5sums=('3747b453d76709e5a99da209fc0bb5f5'
-         '3d32964a23e0d6b3b7002272154bfad3'
-         'd125e918ce9a832c528e6982cf6f6d98')
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  
-  # FS#28769 - move from /lib to /usr/lib
-  sed -e 's|/lib|/usr/lib|' -i setup.py
-
-  python2 setup.py install --root=$pkgdir
-
-  install -Dm755 $srcdir/rc.d $pkgdir/etc/rc.d/$pkgname
-  install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/ufw.service
-
-  install -D -m755 $pkgdir/usr/sbin/$pkgname $pkgdir/usr/bin/$pkgname
-  rm -rf $pkgdir/usr/sbin
-
-  chmod 644 $pkgdir/etc/ufw/*.rules $pkgdir/usr/lib/ufw/*.rules
-}

Copied: ufw/repos/community-any/PKGBUILD (from rev 82754, ufw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-01-23 21:01:47 UTC (rev 82755)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
+# Contributor: Sorin Ionescu <sorin.ionescu at gmail.com>
+
+pkgname=ufw
+pkgver=0.33
+pkgrel=2
+pkgdesc="Uncomplicated and easy to use CLI tool for managing a netfilter firewall"
+arch=('any')
+url="https://launchpad.net/ufw"
+license=('GPL3')
+depends=('iptables' 'python2')
+backup=('etc/ufw/before.rules'
+        'etc/ufw/before6.rules'
+        'etc/ufw/after.rules'
+        'etc/ufw/after6.rules'
+        'etc/ufw/ufw.conf'
+        'etc/ufw/user.rules'
+        'etc/ufw/sysctl.conf'
+        'etc/default/ufw'
+        'usr/lib/ufw/user.rules'
+        'usr/lib/ufw/user6.rules')
+source=(http://launchpad.net/$pkgname/$pkgver/$pkgver/+download/${pkgname}-${pkgver}.tar.gz
+        service)
+sha256sums=('5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8'
+            'fdface6f4690e4748fbbd5661c02e1967a8750fdb23581d35516174017a3fe39')
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  
+  # FS#28769 - move from /lib to /usr/lib
+  sed -e 's|/lib|/usr/lib|' -i setup.py
+
+  python2 setup.py install --root=$pkgdir
+
+  install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/ufw.service
+
+  install -Dm755 $pkgdir/usr/sbin/$pkgname $pkgdir/usr/bin/$pkgname
+  rm -rf $pkgdir/usr/sbin
+
+  chmod 644 $pkgdir/etc/ufw/*.rules $pkgdir/usr/lib/ufw/*.rules
+}

Deleted: rc.d
===================================================================
--- rc.d	2013-01-23 21:01:36 UTC (rev 82754)
+++ rc.d	2013-01-23 21:01:47 UTC (rev 82755)
@@ -1,64 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-[ -x /usr/bin/ufw ] || exit 0
-
-for s in "/usr/lib/ufw/ufw-init-functions" "/etc/ufw/ufw.conf" ; do
-    if [ -s "$s" ]; then
-        . "$s"
-    else
-        echo "Could not find $s (aborting)"
-        exit 1
-    fi
-done
-
-error=0
-case "$1" in
-start)
-    if [ "$ENABLED" = "yes" ] || [ "$ENABLED" = "YES" ]; then
-        stat_busy "Starting ufw"
-        if ! ufw_start; then
-            stat_fail
-        else
-            add_daemon ufw
-            stat_done
-        fi
-
-    else
-        echo "Skip starting firewall:" "ufw (not enabled)"
-    fi
-    ;;
-stop)
-    if [ "$ENABLED" = "yes" ] || [ "$ENABLED" = "YES" ]; then
-        stat_busy "Stopping ufw"
-        if ! ufw_stop; then
-            stat_fail
-        else
-            rm_daemon ufw
-            stat_done
-        fi
-    else
-        echo "Skip stopping firewall:" "ufw (not enabled)"
-    fi
-    ;;
-restart|force-reload)
-    stat_busy "Reloading ufw"
-    if ! ufw_reload; then
-        stat_fail
-    else
-        stat_done
-    fi
-    ;;
-status)
-    ufw_status
-    ;;
-*)
-    echo "Usage: /etc/rc.d/ufw {start|stop|restart|force-reload|status}"
-    exit 1
-    ;;
-esac
-
-exit 0
-

Deleted: service
===================================================================
--- service	2013-01-23 21:01:36 UTC (rev 82754)
+++ service	2013-01-23 21:01:47 UTC (rev 82755)
@@ -1,11 +0,0 @@
-[Unit]
-Description=CLI Netfilter Manager
-
-[Service]
-Type=oneshot
-ExecStart=/usr/lib/ufw/ufw-init start
-ExecStop=/usr/lib/ufw/ufw-init stop
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target

Copied: ufw/repos/community-any/service (from rev 82754, ufw/trunk/service)
===================================================================
--- service	                        (rev 0)
+++ service	2013-01-23 21:01:47 UTC (rev 82755)
@@ -0,0 +1,16 @@
+[Unit]
+Description=CLI Netfilter Manager
+DefaultDependencies=no
+After=systemd-sysctl.service
+Before=sysinit.target
+ConditionPathExists=|/etc/ufw/ufw.conf
+ConditionDirectoryNotEmpty=|/usr/lib/ufw
+
+[Service]
+Type=oneshot
+ExecStart=/usr/lib/ufw/ufw-init start
+ExecStop=/usr/lib/ufw/ufw-init stop
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list