[arch-commits] Commit in ufw/repos/community-any (5 files)
Kyle Keen
kkeen at archlinux.org
Sun Jun 3 20:13:55 UTC 2018
Date: Sunday, June 3, 2018 @ 20:13:54
Author: kkeen
Revision: 339542
archrelease: copy trunk to community-any
Added:
ufw/repos/community-any/PKGBUILD
(from rev 339541, ufw/trunk/PKGBUILD)
ufw/repos/community-any/service
(from rev 339541, ufw/trunk/service)
Deleted:
ufw/repos/community-any/PKGBUILD
ufw/repos/community-any/service
ufw/repos/community-any/ufw.install
-------------+
PKGBUILD | 104 +++++++++++++++++++++++++++-------------------------------
service | 32 ++++++++---------
ufw.install | 13 -------
3 files changed, 65 insertions(+), 84 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-03 20:13:39 UTC (rev 339541)
+++ PKGBUILD 2018-06-03 20:13:54 UTC (rev 339542)
@@ -1,55 +0,0 @@
-# $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.35
-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')
-install=ufw.install
-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'
- 'etc/ufw/user.rules'
- 'etc/ufw/user6.rules')
-source=(http://launchpad.net/$pkgname/$pkgver/$pkgver/+download/$pkgname-$pkgver.tar.gz
- service)
-sha256sums=('662f865bc83bf8aa1a40a6fe578bc2ce796ff60a1be2c1103def7db1b91f8509'
- 'fdface6f4690e4748fbbd5661c02e1967a8750fdb23581d35516174017a3fe39')
-
-# this /usr/lib/ufw/ rules were moved to /etc/ufw
-# remove /usr/lib from backup in O.36?
-
-prepare() {
- 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
-
- # FS#35458, FS#54110 - correct iptables location
- sed -i -e 's|sbin|bin|g' setup.py
- sed -i -e 's|sbin|bin|g' src/util.py
-}
-
-package() {
- cd "$pkgname-$pkgver"
-
- python2 setup.py install --root="$pkgdir"
-
- install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/ufw.service"
- chmod 644 "$pkgdir/etc/ufw/"*.rules
-}
Copied: ufw/repos/community-any/PKGBUILD (from rev 339541, ufw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-03 20:13:54 UTC (rev 339542)
@@ -0,0 +1,49 @@
+# $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.35
+pkgrel=4
+pkgdesc="Uncomplicated and easy to use CLI tool for managing a netfilter firewall"
+arch=('any')
+url="https://launchpad.net/ufw"
+license=('GPL3')
+depends=('iptables' 'python')
+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'
+ 'etc/ufw/user.rules'
+ 'etc/ufw/user6.rules')
+source=("http://launchpad.net/$pkgname/$pkgver/$pkgver/+download/$pkgname-$pkgver.tar.gz"
+ service)
+sha256sums=('662f865bc83bf8aa1a40a6fe578bc2ce796ff60a1be2c1103def7db1b91f8509'
+ 'fdface6f4690e4748fbbd5661c02e1967a8750fdb23581d35516174017a3fe39')
+
+prepare() {
+ 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
+
+ # FS#35458, FS#54110 - correct iptables location
+ sed -i -e 's|sbin|bin|g' setup.py
+ sed -i -e 's|sbin|bin|g' src/util.py
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ python3 setup.py install --root="$pkgdir"
+
+ install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/ufw.service"
+ chmod 644 "$pkgdir/etc/ufw/"*.rules
+}
Deleted: service
===================================================================
--- service 2018-06-03 20:13:39 UTC (rev 339541)
+++ service 2018-06-03 20:13:54 UTC (rev 339542)
@@ -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 339541, ufw/trunk/service)
===================================================================
--- service (rev 0)
+++ service 2018-06-03 20:13:54 UTC (rev 339542)
@@ -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
Deleted: ufw.install
===================================================================
--- ufw.install 2018-06-03 20:13:39 UTC (rev 339541)
+++ ufw.install 2018-06-03 20:13:54 UTC (rev 339542)
@@ -1,13 +0,0 @@
-post_upgrade() {
- if [ "$(vercmp $2 0.35-2)" -lt 0 ]; then
- echo ">>>"
- echo ">>> IMPORTANT UFW UPGRADE NOTICE"
- echo ">>> ----------------------------"
- echo ">>> Version 0.35 has moved several config files."
- echo ">>> You may need to copy your versions of the files"
- echo ">>> to the new location."
- echo ">>> /usr/lib/ufw/user.rules.pacsave -> /etc/ufw/user.rules"
- echo ">>> /usr/lib/ufw/user6.rules.pacsave -> /etc/ufw/user6.rules"
- echo ">>>"
- fi
-}
More information about the arch-commits
mailing list