diff --git a/security/pfSense-pkg-nmap/Makefile b/security/pfSense-pkg-nmap/Makefile index f5d28c4031ae..c4ecad2dac15 100644 --- a/security/pfSense-pkg-nmap/Makefile +++ b/security/pfSense-pkg-nmap/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= pfSense-pkg-nmap -PORTVERSION= 1.4.1 +PORTVERSION= 1.4.2 CATEGORIES= security MASTER_SITES= # empty DISTFILES= # empty diff --git a/security/pfSense-pkg-nmap/files/usr/local/pkg/nmap.inc b/security/pfSense-pkg-nmap/files/usr/local/pkg/nmap.inc index 45a87d647ffe..2a139a050947 100644 --- a/security/pfSense-pkg-nmap/files/usr/local/pkg/nmap.inc +++ b/security/pfSense-pkg-nmap/files/usr/local/pkg/nmap.inc @@ -30,33 +30,6 @@ require_once("pkg-utils.inc"); require_once("util.inc"); -function nmap_install() { - $destination_file = "/usr/local/share/nmap/nmap-mac-prefixes"; - $pfs_version = substr(trim(file_get_contents("/etc/version")), 0, 3); - switch ($pfs_version) { - case "2.1": - $source_file = "/usr/pbi/nmap-" . php_uname("m") . "/share/nmap/nmap-mac-prefixes"; - break; - case "2.2": - $source_file = "/usr/pbi/nmap-" . php_uname("m") . "/local/share/nmap/nmap-mac-prefixes"; - break; - default: - return null; - } - /* Only copy the file if it doesn't exist */ - if (file_exists($source_file) && !file_exists($destination_file)) { - safe_mkdir(dirname($destination_file)); - @symlink($source_file, $destination_file); - } -} - -function nmap_deinstall() { - $destination_file = "/usr/local/share/nmap/nmap-mac-prefixes"; - if (is_link($destination_file)) { - @unlink($destination_file); - } -} - function nmap_custom_php_validation_command($post, &$input_errors) { if (empty($post['hostname'])) { $input_errors[] = gettext("You must enter an IP address to scan."); diff --git a/security/pfSense-pkg-nmap/files/usr/local/pkg/nmap.xml b/security/pfSense-pkg-nmap/files/usr/local/pkg/nmap.xml index 665b40e9d09a..e4b5d463cff2 100644 --- a/security/pfSense-pkg-nmap/files/usr/local/pkg/nmap.xml +++ b/security/pfSense-pkg-nmap/files/usr/local/pkg/nmap.xml @@ -42,7 +42,7 @@ ]]> nmap - 1.4.1 + 1.4.2 Diagnostics: NMap Scan yes @@ -135,10 +135,4 @@ nmap_custom_php_validation_command($_POST, $input_errors); - - nmap_install(); - - - nmap_deinstall(); - diff --git a/security/pfSense-pkg-nmap/files/usr/local/share/pfSense-pkg-nmap/info.xml b/security/pfSense-pkg-nmap/files/usr/local/share/pfSense-pkg-nmap/info.xml index e75999fad6d1..019c35fd6b88 100644 --- a/security/pfSense-pkg-nmap/files/usr/local/share/pfSense-pkg-nmap/info.xml +++ b/security/pfSense-pkg-nmap/files/usr/local/share/pfSense-pkg-nmap/info.xml @@ -7,17 +7,10 @@ It supports ping scanning (determine which hosts are up), many port scanning techniques (determine what services the hosts are offering), version detection (determine what application/service is running on a port), and TCP/IP fingerprinting (remote host OS or device identification). It also offers flexible target and port specification, decoy/stealth scanning, SunRPC scanning, and more.]]> Security - nmap-6.47-##ARCH##.pbi - https://packages.pfsense.org/packages/config/nmap/nmap.xml - 1.4.1 + 1.4.2 RELEASE https://doc.pfsense.org/index.php/Nmap_package - 2.2 + 2.3 nmap.xml - security - bin/nmap:security/nmap - - security/nmap -