diff options
-rw-r--r-- | network/csync/csync.SlackBuild | 19 | ||||
-rw-r--r-- | network/csync/csync.info | 6 | ||||
-rw-r--r-- | network/csync/doinst.sh | 3 |
3 files changed, 14 insertions, 14 deletions
diff --git a/network/csync/csync.SlackBuild b/network/csync/csync.SlackBuild index 48a4257b6f..d65948b387 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 ed339b703b..cd7c78baa6 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 4c8b725660..1a7efd6136 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 - - |