mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/openvas-libraries: Updated for version 3.0.5.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
234b3757cd
commit
95b6ca251a
2 changed files with 7 additions and 11 deletions
|
@ -23,16 +23,14 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=openvas-libraries
|
PRGNAM=openvas-libraries
|
||||||
VERSION=${VERSION:-3.0.4}
|
VERSION=${VERSION:-3.0.5}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -89,10 +87,8 @@ make install DESTDIR=$PKG
|
||||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
( cd $PKG/usr/man
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
find . -type f -exec gzip -9 {} \;
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="openvas-libraries"
|
PRGNAM="openvas-libraries"
|
||||||
VERSION="3.0.4"
|
VERSION="3.0.5"
|
||||||
HOMEPAGE="http://www.openvas.org/"
|
HOMEPAGE="http://www.openvas.org/"
|
||||||
DOWNLOAD="http://wald.intevation.org/frs/download.php/717/openvas-libraries-3.0.4.tar.gz"
|
DOWNLOAD="http://wald.intevation.org/frs/download.php/729/openvas-libraries-3.0.5.tar.gz"
|
||||||
MD5SUM="938da193638593f2eeb09c85e9858ec2"
|
MD5SUM="a11dac34c35bdebb7fc2ecf643acdbab"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Marco Bonetti"
|
MAINTAINER="Marco Bonetti"
|
||||||
EMAIL="sid77@slackware.it"
|
EMAIL="sid77@slackware.it"
|
||||||
APPROVED="dsomero"
|
APPROVED="Erik Hanson"
|
||||||
|
|
Loading…
Reference in a new issue