aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-19 17:49:50 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-19 15:20:49 -0600
commit0ed8479f07b5a0616389343c09de44d5d2772f2a (patch)
tree2804b2aee35dab0f232a14be12d1c736461dbba4 /network
parent9cca4ded5bc63c87890ef0f99b6f16924b894833 (diff)
network/csync: Updated for version 0.50.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/csync/csync.SlackBuild19
-rw-r--r--network/csync/csync.info6
-rw-r--r--network/csync/doinst.sh3
3 files changed, 14 insertions, 14 deletions
diff --git a/network/csync/csync.SlackBuild b/network/csync/csync.SlackBuild
index 48a4257b6fbc..d65948b3870a 100644
--- a/network/csync/csync.SlackBuild
+++ b/network/csync/csync.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=csync
-VERSION=0.44.0
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.50.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -58,12 +58,16 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+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 {} \;
# Make our build directory
mkdir build
@@ -82,9 +86,8 @@ cd ..
# Don't clobber config files
mv $PKG/etc/csync/csync_exclude.conf $PKG/etc/csync/csync_exclude.conf.new
mv $PKG/etc/csync/csync.conf $PKG/etc/csync/csync.conf.new
-mv $PKG/etc/csync/csync_log.conf $PKG/etc/csync/csync_log.conf.new
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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 {} \;
@@ -93,7 +96,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 TODO \
+ AUTHORS COPYING ChangeLog INSTALL 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 ed339b703b01..cd7c78baa626 100644
--- a/network/csync/csync.info
+++ b/network/csync/csync.info
@@ -1,8 +1,8 @@
PRGNAM="csync"
-VERSION="0.44.0"
+VERSION="0.50.0"
HOMEPAGE="http://www.csync.org"
-DOWNLOAD="http://www.csync.org/files/csync-0.44.0.tar.gz"
-MD5SUM="9f3a38d1608146ad0775feb475567972"
+DOWNLOAD="https://open.cryptomilk.org/attachments/download/27/csync-0.50.0.tar.xz"
+MD5SUM="4f022aaa19ecd8008b03876dd65a9df2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="log4c iniparser check"
diff --git a/network/csync/doinst.sh b/network/csync/doinst.sh
index 4c8b725660d8..1a7efd61362e 100644
--- a/network/csync/doinst.sh
+++ b/network/csync/doinst.sh
@@ -13,6 +13,3 @@ config() {
config etc/csync/csync_exclude.conf.new
config etc/csync/csync.conf.new
-config etc/csync/csync_log.conf.new
-
-