summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/barnyard2/barnyard2.SlackBuild19
-rw-r--r--network/barnyard2/barnyard2.info6
2 files changed, 13 insertions, 12 deletions
diff --git a/network/barnyard2/barnyard2.SlackBuild b/network/barnyard2/barnyard2.SlackBuild
index 87c0e1f3e6..3b3f96a711 100644
--- a/network/barnyard2/barnyard2.SlackBuild
+++ b/network/barnyard2/barnyard2.SlackBuild
@@ -26,8 +26,8 @@
# Revision date 2012/09/15
PRGNAM=barnyard2
-VERSION=${VERSION:-1.9}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.13}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -63,17 +63,18 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-2-$VERSION.tar.gz
+cd $PRGNAM-2-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+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="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+./autogen.sh
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
diff --git a/network/barnyard2/barnyard2.info b/network/barnyard2/barnyard2.info
index ab55466db6..1c6ef981dd 100644
--- a/network/barnyard2/barnyard2.info
+++ b/network/barnyard2/barnyard2.info
@@ -1,8 +1,8 @@
PRGNAM="barnyard2"
-VERSION="1.9"
+VERSION="1.13"
HOMEPAGE="http://www.securixlive.com/barnyard2/"
-DOWNLOAD="http://www.securixlive.com/download/barnyard2/barnyard2-1.9.tar.gz"
-MD5SUM="fadb3bb25dd4cc4ed2fb674e06031ee9"
+DOWNLOAD="https://github.com/firnsy/barnyard2/archive/v2-1.13.tar.gz"
+MD5SUM="212066058364f18a4806720b271ffd87"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""