diff --git a/network/filezilla/configure.patch b/network/filezilla/configure.patch new file mode 100644 index 0000000000..a1dfa62e29 --- /dev/null +++ b/network/filezilla/configure.patch @@ -0,0 +1,11 @@ +--- FileZilla3/trunk/configure.in 2011/05/23 21:41:42 4047 ++++ FileZilla3/trunk/configure.in 2011/05/24 06:15:19 4048 +@@ -464,7 +464,7 @@ + # SQLite3 + # ------- + +- PKG_CHECK_MODULES(LIBSQLITE3, sqdlite3 >= 3.7,, [ ++ PKG_CHECK_MODULES(LIBSQLITE3, sqlite3 >= 3.7,, [ + + AC_CHECK_HEADER(sqlite3.h,, + [ diff --git a/network/filezilla/doinst.sh b/network/filezilla/doinst.sh index 9424ce43ff..9830478e8c 100644 --- a/network/filezilla/doinst.sh +++ b/network/filezilla/doinst.sh @@ -11,3 +11,4 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 fi fi + diff --git a/network/filezilla/filezilla.SlackBuild b/network/filezilla/filezilla.SlackBuild index 065070fba6..fa48f4be09 100644 --- a/network/filezilla/filezilla.SlackBuild +++ b/network/filezilla/filezilla.SlackBuild @@ -22,7 +22,7 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=filezilla -VERSION=${VERSION:-3.4.0} +VERSION=${VERSION:-3.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,6 +71,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/FileZilla_${VERSION}_src.tar.bz2 cd $PRGNAM-$VERSION + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -78,6 +79,17 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix a little typo +# This is only needed for 3.5.0 +# Future version will have this included, so no longer needed for 3.5.1+ +patch -p2 < $CWD/configure.patch + +# Re-Run autogen.sh after applying the patch +./autogen.sh + +# Added LDFLAGS to make it compileable, thanks to LQ +# http://www.linuxquestions.org/questions/slackware-14/libsndfile-from-slackbuilds-org-fails-to-build-695456/ +LDFLAGS="-ldl" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/network/filezilla/filezilla.info b/network/filezilla/filezilla.info index 4a89840eec..c03ef7bed5 100644 --- a/network/filezilla/filezilla.info +++ b/network/filezilla/filezilla.info @@ -1,8 +1,8 @@ PRGNAM="filezilla" -VERSION="3.4.0" +VERSION="3.5.0" HOMEPAGE="http://filezilla-project.org/" -DOWNLOAD="http://downloads.sourceforge.net/filezilla/FileZilla_3.4.0_src.tar.bz2" -MD5SUM="837fbea08366b9f9de02b1671994697e" +DOWNLOAD="http://downloads.sourceforge.net/filezilla/FileZilla_3.5.0_src.tar.bz2" +MD5SUM="6a83c3afe99c2679d5a3aa73607d80a7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Willy Sudiarto Raharjo"