aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/gui-ufw/README3
-rw-r--r--network/gui-ufw/binfix.diff12
-rw-r--r--network/gui-ufw/gufw.desktop72
-rw-r--r--network/gui-ufw/gui-ufw.SlackBuild96
-rw-r--r--network/gui-ufw/gui-ufw.info10
-rw-r--r--network/gui-ufw/slack-desc19
6 files changed, 212 insertions, 0 deletions
diff --git a/network/gui-ufw/README b/network/gui-ufw/README
new file mode 100644
index 0000000000000..c2890ef653f65
--- /dev/null
+++ b/network/gui-ufw/README
@@ -0,0 +1,3 @@
+A very user-friendly way to manage ufw.
+
+Note: This uses an older release as it requires less dependencies and has the same functionality.
diff --git a/network/gui-ufw/binfix.diff b/network/gui-ufw/binfix.diff
new file mode 100644
index 0000000000000..d2208b5075355
--- /dev/null
+++ b/network/gui-ufw/binfix.diff
@@ -0,0 +1,12 @@
+--- gui-ufw-12.04.1/bin/gufw 2012-01-12 11:43:02.000000000 -0700
++++ gui-ufw-12.04.1-fix/bin/gufw 2016-01-12 18:50:01.738311270 -0700
+@@ -1,7 +1,7 @@
+ #!/bin/bash
+ LOCATIONS=(
+-"/usr/lib/python2.7/site-packages/gufw/gufw.py"
+-"/usr/lib/python2.6/site-packages/gufw/gufw.py"
++"/usr/lib64/python2.7/site-packages/gufw/gufw.py"
++"/usr/lib64/python2.6/site-packages/gufw/gufw.py"
+ "/usr/lib/python2.7/dist-packages/gufw/gufw.py"
+ "/usr/lib/python2.6/dist-packages/gufw/gufw.py"
+ )
diff --git a/network/gui-ufw/gufw.desktop b/network/gui-ufw/gufw.desktop
new file mode 100644
index 0000000000000..65d0569c04903
--- /dev/null
+++ b/network/gui-ufw/gufw.desktop
@@ -0,0 +1,72 @@
+[Desktop Entry]
+Version=1.0
+Name=Firewall Configuration
+Name[zh_TW]=防火牆設定
+Name[vi]=Cấu hình tường lửa
+Name[uk]=Конфігурація брандмауера
+Name[tr]=Güvenlik Duvarı Yapılandırması
+Name[sv]=Brandväggskonfiguration
+Name[sr]=Подешавање мрежне баријере
+Name[sq]=Konfigurimi i Murit mbrojtës
+Name[sl]=Nastavitev požarnega zidu
+Name[sk]=Nastavenia firewall
+Name[ru]=Настройка межсетевого экрана
+Name[pt_BR]=Configuração do Firewall
+Name[pl]=Konfiguracja zapory sieciowej
+Name[nl]=Firewall-instellingen
+Name[nb]=Konfigurasjon av brannmur
+Name[lv]=Ugunsmūra konfigurācija
+Name[id]=Konfigurasi firewall
+Name[hu]=Tűzfalbeállítás
+Name[hrx]=Fajř-vannt-ʃtelluŋŋ
+Name[hr]=Postavke vatrozida
+Name[gl]=Configuración da devasa
+Name[fr]=Configuration du pare-feu
+Name[fi]=Palomuurin asetukset
+Name[es]=Configuración del cortafuegos
+Name[en_AU]=Firewall Configuration
+Name[el]=Ρύθμιση τείχους προστασίας
+Name[de]=Firewall-Konfiguration
+Name[cs]=Nastavení firewallu
+Name[bg]=Конфигуриране на защитна стена
+Name[ast]=Configuración del tornafueos
+Name[ar]=إعدادات الجدار الناري
+Comment=Allows you to configure ufw firewall
+Comment[zh_TW]=允許您設定 ufw 防火牆
+Comment[vi]=Cho phép bạn cấu hình tường lửa ufw
+Comment[uk]=Дозволяє налаштувати брандмауер uwf
+Comment[tr]=Ufw güvenlik duvarı uygulamasını yapılandırmanıza yardımcı olur
+Comment[sv]=Låter dig konfigurera ufw-brandväggen
+Comment[sr]=Омогућава вам да подесите уфв мрежну баријеру
+Comment[sq]=Ju lejon te configuroni murin mbrojtes
+Comment[sl]=Omogoča nastavitev požarnega zidu ufw
+Comment[sk]=Umožní vám nastaviť ufw firewall
+Comment[ru]=Графическая оболочка для настройки межсетевого экрана ufw
+Comment[pt_BR]=Permite você configurar o firewall ufw
+Comment[pl]=Pozwala skonfigurować zaporę ufw
+Comment[nl]=Hiermee kunt u de ufw-firewall instellen
+Comment[nb]=Lar deg konfigurere ufw-brannmuren
+Comment[lv]=Ļauj jums konfigurēt ufw ugunsmūri
+Comment[id]=Memudahkan anda untuk mengkonfigurasi firewall ufw
+Comment[hu]=Az ufw tűzfal beállítása
+Comment[hrx]=Losst’tyģģ’ən ufw fajř-vannt ʃtellë
+Comment[hr]=Omogućava vam konfiguraciju ufw vatrozida
+Comment[gl]=Permítelle configurar a súa devasa ufw
+Comment[fr]=Vous permet de configurer le pare-feu « ufw »
+Comment[fi]=Graafinen käyttöliittymä ufw-palomuurin hallintaan
+Comment[es]=Permite configurar el cortafuegos ufw
+Comment[en_AU]=Allows you to configure ufw firewall
+Comment[el]=Σας επιτρέπει να ρυθμίσετε το τείχος προστασίας ufw
+Comment[de]=Erlaubt Ihnen, die ufw-Firewall zu konfigurieren
+Comment[cs]=Umožňuje nastavení firewallu ufw
+Comment[bg]=Дава ви възможност за настройка на защитната стена ufw
+Comment[ast]=Permite configurar el tornafuéu ufw
+Comment[ar]=يسٌمح لك بإعداد الجدار الناري UFW
+Categories=GNOME;GTK;Settings;Security;X-GNOME-Settings-Panel;X-GNOME-SystemSettings;X-Unity-Settings-Panel;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
+Exec=gufw
+Icon=gufw
+Terminal=false
+Type=Application
+X-GNOME-Settings-Panel=gufw
+X-Unity-Settings-Panel=gufw
+X-Ubuntu-Gettext-Domain=gufw
diff --git a/network/gui-ufw/gui-ufw.SlackBuild b/network/gui-ufw/gui-ufw.SlackBuild
new file mode 100644
index 0000000000000..73b25c41fe7ff
--- /dev/null
+++ b/network/gui-ufw/gui-ufw.SlackBuild
@@ -0,0 +1,96 @@
+#!/bin/sh
+
+# Slackware build script for gui-ufw
+#
+# Copyright 2016 Gethyn ThomasQuail <gethyn@bloodbathsoftworks.com>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=gui-ufw
+VERSION=${VERSION:-12.04.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/"$PRGNAM"_"$VERSION".orig.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Fixes paths in bin script
+patch -p1 < $CWD/binfix.diff
+
+python setup.py install --root=$PKG
+
+# Fix paths and cleanup
+mv $PKG/usr/share/man $PKG/usr/man
+install -D -m 0644 $PKG/usr/share/icons/hicolor/48x48/apps/gufw.png $PKG/usr/share/pixmaps/gufw.png
+rm -rf $PKG/usr/share/doc
+
+# Desktop file modded to be like newer releases of gufw
+install -D -m 0644 $CWD/gufw.desktop $PKG/usr/share/applications/gufw.desktop
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING.GPL3 INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/gui-ufw/gui-ufw.info b/network/gui-ufw/gui-ufw.info
new file mode 100644
index 0000000000000..ed5670ab1ab7f
--- /dev/null
+++ b/network/gui-ufw/gui-ufw.info
@@ -0,0 +1,10 @@
+PRGNAM="gui-ufw"
+VERSION="12.04.1"
+HOMEPAGE="http://gufw.org/"
+DOWNLOAD="http://archive.ubuntu.com/ubuntu/pool/universe/g/gui-ufw/gui-ufw_12.04.1.orig.tar.gz"
+MD5SUM="0f8e27ccac4957195eb74da4c4cb1b74"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="pygobject3 python-distutils-extra ufw"
+MAINTAINER="Gethyn ThomasQuail"
+EMAIL="gethyn@bloodbathsoftworks.com"
diff --git a/network/gui-ufw/slack-desc b/network/gui-ufw/slack-desc
new file mode 100644
index 0000000000000..3aee27511e990
--- /dev/null
+++ b/network/gui-ufw/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|' on
+# the right side marks the last column you can put a character in. You must make
+# exactly 11 lines for the formatting to be correct. It's also customary to
+# leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+gui-ufw: gui-ufw (GUI for Uncomplicated Firewall)
+gui-ufw:
+gui-ufw: A very user-friendly way to manage ufw.
+gui-ufw:
+gui-ufw: Homepage: http://gufw.org/
+gui-ufw:
+gui-ufw:
+gui-ufw:
+gui-ufw:
+gui-ufw:
+gui-ufw: