[arch-commits] Commit in ufw/repos/community-any (PKGBUILD PKGBUILD service service)

Kyle Keen kkeen at archlinux.org
Sat Aug 22 12:25:22 UTC 2015


    Date: Saturday, August 22, 2015 @ 14:25:22
  Author: kkeen
Revision: 138636

archrelease: copy trunk to community-any

Added:
  ufw/repos/community-any/PKGBUILD
    (from rev 138635, ufw/trunk/PKGBUILD)
  ufw/repos/community-any/service
    (from rev 138635, ufw/trunk/service)
Deleted:
  ufw/repos/community-any/PKGBUILD
  ufw/repos/community-any/service

----------+
 PKGBUILD |   91 ++++++++++++++++++++++++++++++-------------------------------
 service  |   32 ++++++++++-----------
 2 files changed, 61 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-22 12:25:10 UTC (rev 138635)
+++ PKGBUILD	2015-08-22 12:25:22 UTC (rev 138636)
@@ -1,46 +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=3
-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 $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
-
-  # FS#35458 - correct iptables location
-  sed -e 's|sbin|bin|g' -i $pkgdir/usr/lib/python2.7/site-packages/ufw/*
-
-  install -Dm644 $srcdir/service $pkgdir/usr/lib/systemd/system/ufw.service
-  chmod 644 $pkgdir/etc/ufw/*.rules $pkgdir/usr/lib/ufw/*.rules
-
-  install -Dm755 $pkgdir/usr/sbin/$pkgname $pkgdir/usr/bin/$pkgname
-  rm -rf $pkgdir/usr/sbin
-}

Copied: ufw/repos/community-any/PKGBUILD (from rev 138635, ufw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-08-22 12:25:22 UTC (rev 138636)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# 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.34
+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
+        service)
+sha256sums=('49b512ec49e39f6d17ea679a052c54aebbe6f0640ef476577f07bb5a14cfb908'
+            'fdface6f4690e4748fbbd5661c02e1967a8750fdb23581d35516174017a3fe39')
+
+package() {
+  cd "$pkgname-$pkgver"
+  
+  # FS#28769 - move from /lib to /usr/lib
+  sed -i -e 's|/lib|/usr/lib|' \
+         -e 's|sbin|bin|g' setup.py
+
+  python2 setup.py install --root="$pkgdir"
+
+  # FS#35458 - correct iptables location
+  sed -i -e 's|sbin|bin|g' "$pkgdir/usr/lib/python2.7/site-packages/ufw/"*
+
+  install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/ufw.service"
+  chmod 644 "$pkgdir/etc/ufw/"*.rules "$pkgdir/usr/lib/ufw/"*.rules
+}

Deleted: service
===================================================================
--- service	2015-08-22 12:25:10 UTC (rev 138635)
+++ service	2015-08-22 12:25:22 UTC (rev 138636)
@@ -1,16 +0,0 @@
-[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

Copied: ufw/repos/community-any/service (from rev 138635, ufw/trunk/service)
===================================================================
--- service	                        (rev 0)
+++ service	2015-08-22 12:25:22 UTC (rev 138636)
@@ -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