Initial commit
This commit is contained in:
13
filezilla/README
Normal file
13
filezilla/README
Normal file
@@ -0,0 +1,13 @@
|
||||
FileZilla Client is a fast and reliable cross-platform FTP, FTPS and
|
||||
SFTP client with lots of useful features and an intuitive graphical user
|
||||
interface.
|
||||
|
||||
pugixml is an optional dependency - to use an installed version of pugixml,
|
||||
run the script as "PUGIXML=yes ./filezilla.SlackBuild" - otherwise, the
|
||||
build will use an included copy of pugixml.
|
||||
|
||||
|
||||
N.B.
|
||||
Filzilla requires c++17, so it can be built with gcc-8 and more recent
|
||||
In this slackbuild gcc-10.2.0 is used, there are some gcc version dependent
|
||||
flags set in slackbuild.
|
||||
13
filezilla/doinst.sh
Normal file
13
filezilla/doinst.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -x /usr/bin/update-mime-database ]; then
|
||||
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
123
filezilla/filezilla.SlackBuild
Normal file
123
filezilla/filezilla.SlackBuild
Normal file
@@ -0,0 +1,123 @@
|
||||
#!/bin/sh
|
||||
# Slackware build script for filezilla
|
||||
|
||||
# Copyright 2007-2009 Grigorios Bouzakis <grbzks@xsmail.com>
|
||||
# Copyright 2010-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||
# Copyright 2022 Sergei Fedosoff <eleksir@gmail.com>
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Permission to use, copy, modify, and distribute this software for any purpose
|
||||
# with or without fee is hereby granted, provided that the above copyright
|
||||
# notice and this permission notice appear in all copies.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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
|
||||
# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS 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=filezilla
|
||||
VERSION=${VERSION:-3.60.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_EXs}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/EXs}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -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
|
||||
|
||||
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README GPL.html"
|
||||
|
||||
# Check if we have pugixml package
|
||||
if [ "${PUGIXML:-no}" = "yes" ]; then
|
||||
pugixml="--with-pugixml=system"
|
||||
else
|
||||
pugixml="--with-pugixml=builtin"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xf $CWD/FileZilla_${VERSION}_src.tar.bz2
|
||||
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 {} \+
|
||||
|
||||
CFLAGS="-g $SLKFLAGS -rdynamic" \
|
||||
LDFLAGS="-rdynamic -Wl,--export-dynamic -Wl,-E -Wl,--no-as-needed -Wl,-O2" \
|
||||
CXXFLAGS="$CFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--disable-manualupdatecheck \
|
||||
--disable-autoupdatecheck \
|
||||
--enable-locales \
|
||||
--enable-static \
|
||||
$pugixml \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make -j$(nproc)
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
mv $PKG/usr/share/filezilla/docs/fzdefaults.xml.example $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
# remove empty docdir
|
||||
rmdir $PKG/usr/share/filezilla/docs
|
||||
|
||||
# Use our own .desktop which has no BOM characters
|
||||
cp $CWD/filezilla.desktop $PKG/usr/share/applications/
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/slack-required > $PKG/install/slack-required
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
16
filezilla/filezilla.desktop
Normal file
16
filezilla/filezilla.desktop
Normal file
@@ -0,0 +1,16 @@
|
||||
[Desktop Entry]
|
||||
Name=FileZilla
|
||||
GenericName=FTP client
|
||||
GenericName[da]=FTP-klient
|
||||
GenericName[de]=FTP-Client
|
||||
GenericName[fr]=Client FTP
|
||||
Comment=Download and upload files via FTP, FTPS and SFTP
|
||||
Comment[da]=Download og upload filer via FTP, FTPS og SFTP
|
||||
Comment[de]=Dateien über FTP, FTPS und SFTP übertragen
|
||||
Comment[fr]=Transférer des fichiers via FTP, FTPS et SFTP
|
||||
Exec=filezilla
|
||||
Terminal=false
|
||||
Icon=filezilla
|
||||
Type=Application
|
||||
Categories=Network;FileTransfer;
|
||||
Version=1.0
|
||||
11
filezilla/filezilla.info
Normal file
11
filezilla/filezilla.info
Normal file
@@ -0,0 +1,11 @@
|
||||
PRGNAM="filezilla"
|
||||
VERSION="3.60.2"
|
||||
HOMEPAGE="https://filezilla-project.org/"
|
||||
DOWNLOAD="https://download.filezilla-project.org/client/FileZilla_3.60.2_src.tar.bz2"
|
||||
MD5SUM="72dd72bb97a39cdda07a0e35a7400751"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
BUILDREQUIRES="wxGTK3 libfilezilla"
|
||||
REQUIRES="wxGTK3 libfilezilla"
|
||||
MAINTAINER="Sergei Fedosoff"
|
||||
EMAIL="eleksir@gmail.com"
|
||||
19
filezilla/slack-desc
Normal file
19
filezilla/slack-desc
Normal file
@@ -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 ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
filezilla: filezilla (the free FTP solution)
|
||||
filezilla:
|
||||
filezilla: FileZilla is a fast and reliable cross-platform FTP, FTPS, and SFTP
|
||||
filezilla: client with lots of useful features and an intuitive user interface.
|
||||
filezilla:
|
||||
filezilla: Homepage: https://filezilla-project.org/
|
||||
filezilla:
|
||||
filezilla:
|
||||
filezilla:
|
||||
filezilla:
|
||||
filezilla:
|
||||
2
filezilla/slack-required
Normal file
2
filezilla/slack-required
Normal file
@@ -0,0 +1,2 @@
|
||||
libfilezilla
|
||||
wxGTK3
|
||||
Reference in New Issue
Block a user