From a0455c78ca4d88114cd513ccabd4883b1391ca16 Mon Sep 17 00:00:00 2001 From: David Somero Date: Wed, 12 May 2010 17:41:12 +0200 Subject: [PATCH] libraries/libfwbuilder: Updated for version 3.0.4 --- libraries/libfwbuilder/README | 2 ++ libraries/libfwbuilder/libfwbuilder.SlackBuild | 12 ++++++++---- libraries/libfwbuilder/libfwbuilder.info | 6 +++--- libraries/libfwbuilder/slack-desc | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/libraries/libfwbuilder/README b/libraries/libfwbuilder/README index bf562f302f..3be3d438c3 100644 --- a/libraries/libfwbuilder/README +++ b/libraries/libfwbuilder/README @@ -6,3 +6,5 @@ editing using simple drag-and-drop operations. Firewall Builder currently supports iptables, ipfilter, OpenBSD PF, and Cisco PIX. This builds the shared libraries needed for Firewall Builder. + +This requires QT4. diff --git a/libraries/libfwbuilder/libfwbuilder.SlackBuild b/libraries/libfwbuilder/libfwbuilder.SlackBuild index 1ca84d2dfe..d303f2fade 100644 --- a/libraries/libfwbuilder/libfwbuilder.SlackBuild +++ b/libraries/libfwbuilder/libfwbuilder.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libfwbuilder -# Copyright 2007 David Somero +# Copyright 2008 David Somero Athens,TN USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libfwbuilder -VERSION=2.1.19 +VERSION=${VERSION:-3.0.4} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,10 +35,13 @@ 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" fi set -e @@ -60,12 +63,13 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --with-docdir=/usr/doc/$PRGNAM-$VERSION \ - --with-advanced-dns \ + --with-qmake=qmake-qt4 \ --build=$ARCH-slackware-linux make -make install DDIR=$PKG +make INSTALL_ROOT=$PKG install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/libraries/libfwbuilder/libfwbuilder.info b/libraries/libfwbuilder/libfwbuilder.info index 2e22e6f1b3..a59c31fc4b 100644 --- a/libraries/libfwbuilder/libfwbuilder.info +++ b/libraries/libfwbuilder/libfwbuilder.info @@ -1,8 +1,8 @@ PRGNAM="libfwbuilder" -VERSION="2.1.19" +VERSION="3.0.4" HOMEPAGE="http://www.fwbuilder.org" -DOWNLOAD="http://downloads.sourceforge.net/fwbuilder/libfwbuilder-2.1.19.tar.gz" -MD5SUM="47f828e91067e80e2dc91a316e762eac" +DOWNLOAD="http://downloads.sourceforge.net/fwbuilder/libfwbuilder-3.0.4.tar.gz" +MD5SUM="c4d23b9b72c9d2272ab1a41e2bc86903" MAINTAINER="David Somero" EMAIL="dsomero@hotmail.com" APPROVED="rworkman" diff --git a/libraries/libfwbuilder/slack-desc b/libraries/libfwbuilder/slack-desc index 1cac519644..7b3da15b61 100644 --- a/libraries/libfwbuilder/slack-desc +++ b/libraries/libfwbuilder/slack-desc @@ -11,9 +11,9 @@ libfwbuilder: libfwbuilder: This package contains shared libraries used by the libfwbuilder: the Firewall Builder (fwbuilder) application. libfwbuilder: +libfwbuilder: Homepage: http://www.fwbuilder.org libfwbuilder: libfwbuilder: libfwbuilder: libfwbuilder: libfwbuilder: -libfwbuilder: