diff options
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 a65b5270a6..82c1713eea 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 |