diff options
Diffstat (limited to 'network/zmap')
-rw-r--r-- | network/zmap/zmap.SlackBuild | 13 | ||||
-rw-r--r-- | network/zmap/zmap.info | 6 |
2 files changed, 11 insertions, 8 deletions
diff --git a/network/zmap/zmap.SlackBuild b/network/zmap/zmap.SlackBuild index a65b5270a6070..82c1713eea593 100644 --- a/network/zmap/zmap.SlackBuild +++ b/network/zmap/zmap.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=zmap -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i "s|install(SCRIPT InstallConfFiles.cmake)|#install(SCRIPT InstallConfFiles.cmake)|" CMakeLists.txt + mkdir -p build cd build cmake \ @@ -77,7 +79,7 @@ cd build -DENABLE_DEVELOPMENT=OFF \ -DWITH_JSON=ON \ -DCMAKE_BUILD_TYPE=Release .. - make + make make install DESTDIR=$PKG cd .. @@ -89,11 +91,12 @@ find $PKG/usr/man -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 rm -rf $PKG/usr/share -mv $PKG/etc/zmap/zmap.conf $PKG/etc/zmap/zmap.conf.new -mv $PKG/etc/zmap/blacklist.conf $PKG/etc/zmap/blacklist.conf.new +mkdir -p $PKG/etc/zmap/ +cp conf/zmap.conf $PKG/etc/zmap/zmap.conf.new +cp conf/blacklist.conf $PKG/etc/zmap/blacklist.conf.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS CHANGELOG INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS CHANGELOG INSTALL LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/zmap/zmap.info b/network/zmap/zmap.info index 58acf59d72880..961d392ced54f 100644 --- a/network/zmap/zmap.info +++ b/network/zmap/zmap.info @@ -1,8 +1,8 @@ PRGNAM="zmap" -VERSION="1.2.1" +VERSION="2.1.0" HOMEPAGE="https://zmap.io" -DOWNLOAD="https://github.com/zmap/zmap/archive/v1.2.1.tar.gz" -MD5SUM="3e740b54c88c29bb03494b986f440b51" +DOWNLOAD="https://github.com/zmap/zmap/archive/v2.1.0.tar.gz" +MD5SUM="0e6b9b0628eb1d3360fbd9ea56e36693" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="byacc gengetopt json-c" |