]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/ncat
buildprocess: Add extra metadata to pak lfs files
[ipfire-2.x.git] / lfs / ncat
index e8d13f6054931b2d8ae1ec17203f6a5aa2b19061..c994706ddf3e58a59b32ab09dcc4f2d50703d253 100644 (file)
--- a/lfs/ncat
+++ b/lfs/ncat
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2019  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,9 @@
 
 include Config
 
-VER        = 7.60
+SUMMARY    = Network tool to concatenate and redirect sockets
+
+VER        = 7.91
 
 THISAPP    = ncat-$(VER)
 DL_FILE    = nmap-$(VER).tar.bz2
@@ -32,9 +34,11 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/nmap-$(VER)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = ncat
-PAK_VER    = 3
+PAK_VER    = 7
+
+DEPS       =
 
-DEPS       = ""
+SERVICES   =
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +48,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 4e454266559ddf2c4e2109866c62560c
+$(DL_FILE)_MD5 = 239cef725863ab454590a1bb8793b72b
 
 install : $(TARGET)
 
@@ -77,8 +81,18 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ncat-7.91-fix-a-unix-domain-socket-crash.patch     
+       $(UPDATE_AUTOMAKE)
        cd $(DIR_APP) && mkdir -p build
-       cd $(DIR_APP) && ./configure --prefix=/usr --without-nmapfe --without-zenmap --without-ndiff --without-nping -without-liblua --without-nmap-update
+       cd $(DIR_APP) && ./configure    \
+               --prefix=/usr           \
+               --without-nmapfe        \
+               --without-zenmap        \
+               --without-ndiff         \
+               --without-nping         \
+               --without-liblua        \
+               --without-nmap-update
+
        cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP)/ncat && make install
        ln -f -s /usr/bin/ncat /usr/bin/nc