aboutsummaryrefslogtreecommitdiff
path: root/network/csync
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-30 15:28:32 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:18:46 +0700
commite83e701e931ecf5750d2111d85df202870294dde (patch)
treed7c4adffce59d33d45ba1fd1263e7c2582fb9415 /network/csync
parent9cf4a908bf0418700a561760756d59ae4ce2a4e5 (diff)
network/csync: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/csync')
-rw-r--r--network/csync/csync.SlackBuild22
-rw-r--r--network/csync/csync.info2
2 files changed, 13 insertions, 11 deletions
diff --git a/network/csync/csync.SlackBuild b/network/csync/csync.SlackBuild
index 6ffd7a93f1aa..8e724e5b623b 100644
--- a/network/csync/csync.SlackBuild
+++ b/network/csync/csync.SlackBuild
@@ -22,25 +22,27 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220330 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - fix download URL.
+# - i486 => i586.
+# - no useless INSTALL in doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=csync
VERSION=${VERSION:-0.50.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,8 +52,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -75,9 +77,9 @@ 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 \
+ -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 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Fix for gcc-5.2.0
# "ISO C does not support ‘__FUNCTION__’ predefined identifier"
@@ -111,7 +113,7 @@ mkdir $PKG/usr/doc
mv $PKG/usr/share/doc/csync $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc ; rmdir $PKG/usr/share 2>/dev/null || true
cp -a \
- AUTHORS COPYING ChangeLog INSTALL README \
+ AUTHORS COPYING ChangeLog README \
$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/csync/csync.info b/network/csync/csync.info
index 737aba37db8f..2cae70227846 100644
--- a/network/csync/csync.info
+++ b/network/csync/csync.info
@@ -1,7 +1,7 @@
PRGNAM="csync"
VERSION="0.50.0"
HOMEPAGE="http://www.csync.org"
-DOWNLOAD="https://open.cryptomilk.org/attachments/download/27/csync-0.50.0.tar.xz"
+DOWNLOAD="http://ftp.osuosl.org/pub/gentoo/distfiles/csync-0.50.0.tar.xz"
MD5SUM="4f022aaa19ecd8008b03876dd65a9df2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""