aboutsummaryrefslogtreecommitdiff
path: root/gnunet
diff options
context:
space:
mode:
Diffstat (limited to 'gnunet')
-rwxr-xr-xgnunet/gnunet.SlackBuild21
-rw-r--r--gnunet/gnunet.info8
2 files changed, 14 insertions, 15 deletions
diff --git a/gnunet/gnunet.SlackBuild b/gnunet/gnunet.SlackBuild
index 0a00c26..89b906d 100755
--- a/gnunet/gnunet.SlackBuild
+++ b/gnunet/gnunet.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnunet
-VERSION=${VERSION:-0.15.3}
+VERSION=${VERSION:-0.21.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_slackcoder}
@@ -60,14 +60,15 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION*.tar.gz
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 {} \;
+
+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 {} \;
./configure \
--prefix=/usr \
@@ -79,9 +80,7 @@ cd $PRGNAM-$VERSION
--disable-static \
--build=$ARCH-slackware-linux
make
-make DESTDIR="$PKG" install
-
-# make install does not exist for this project
+DESTDIR="$PKG" make install
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
diff --git a/gnunet/gnunet.info b/gnunet/gnunet.info
index 679a788..a22e14e 100644
--- a/gnunet/gnunet.info
+++ b/gnunet/gnunet.info
@@ -1,8 +1,8 @@
PRGNAM="gnunet"
-VERSION="0.15.3"
+VERSION="0.21.0"
HOMEPAGE="https://gnunet.org"
-DOWNLOAD="http://ftpmirror.gnu.org/gnunet/gnunet-0.15.3.tar.gz"
-MD5SUM="af4851ee8752bdc2bff3745355921aba"
-REQUIRES="jansson libmicrohttpd libsodium"
+DOWNLOAD="https://ftpmirror.gnu.org/gnu/gnunet/gnunet-0.21.0.tar.gz"
+MD5SUM="bea71cd62208138c69977db8fd96e8e1"
+REQUIRES="libmicrohttpd postgresql"
MAINTAINER="Slack Coder"
EMAIL="slackcoder@server.ky"