Date: Monday, April 3, 2023 @ 03:55:43
  Author: blakkheim
Revision: 1434278

archrelease: copy trunk to community-testing-any

Added:
  ufw/repos/community-testing-any/
  ufw/repos/community-testing-any/PKGBUILD
    (from rev 1434277, ufw/trunk/PKGBUILD)
  ufw/repos/community-testing-any/keys/
  ufw/repos/community-testing-any/service
    (from rev 1434277, ufw/trunk/service)

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 service  |   16 ++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: ufw/repos/community-testing-any/PKGBUILD (from rev 1434277, 
ufw/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2023-04-03 03:55:43 UTC (rev 1434278)
@@ -0,0 +1,52 @@
+# Maintainer: T.J. Townsend <[email protected]>
+# Contributor: Kyle Keen <[email protected]>
+# Contributor: BartÅ‚omiej Piotrowski <[email protected]>
+# Contributor: Jaroslav Lichtblau <[email protected]>
+# Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
+# Contributor: Sorin Ionescu <[email protected]>
+
+pkgname=ufw
+pkgver=0.36.1
+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' '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/user6.rules')
+source=("https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz";
+        
"https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz.asc";
+        service)
+sha256sums=('1c57e78fbf2970f0cc9c56ea87a231e6d83d825e55b9e31e2c88b91b0ea03c8c'
+            'SKIP'
+            'fdface6f4690e4748fbbd5661c02e1967a8750fdb23581d35516174017a3fe39')
+validpgpkeys=('4C20C06B5D8BDE688854D28A51DBDC58CC559573')
+
+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 shell-completion/bash -t 
"$pkgdir/usr/share/bash-completion/completions/ufw"
+  install -Dm644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/ufw.service"
+  chmod 644 "$pkgdir/etc/ufw/"*.rules
+}

Copied: ufw/repos/community-testing-any/service (from rev 1434277, 
ufw/trunk/service)
===================================================================
--- community-testing-any/service                               (rev 0)
+++ community-testing-any/service       2023-04-03 03:55:43 UTC (rev 1434278)
@@ -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

Reply via email to