diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-04 14:30:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-05 06:25:14 +0700 |
commit | da848500d1f7fd5b196edada0087990ee5858fc0 (patch) | |
tree | f7f1aea133edf9d2a4d6540a8fec37d62aa18d7d /network/zmap/zmap.SlackBuild | |
parent | b5acfb316cadc62a60aab0d696431df852eb7f58 (diff) |
network/zmap: Updated for version 2.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/zmap/zmap.SlackBuild')
-rw-r--r-- | network/zmap/zmap.SlackBuild | 13 |
1 files changed, 8 insertions, 5 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 |