Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nmap spk #3267

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cross/nmap/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = nmap
PKG_VERS = 7.40
PKG_VERS = 7.70
PKG_EXT = tar.bz2
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://nmap.org/dist
Expand Down
1 change: 1 addition & 0 deletions cross/nmap/PLIST
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bin:bin/ndiff
bin:bin/nmap
bin:bin/nping
shr:share/nmap
6 changes: 3 additions & 3 deletions cross/nmap/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nmap-7.40.tar.bz2 SHA1 f5d44b1ae193058307aee98142ef64e3d627b455
nmap-7.40.tar.bz2 SHA256 9e14665fffd054554d129d62c13ad95a7b5c7a046daa2290501909e65f4d3188
nmap-7.40.tar.bz2 MD5 9c5a28bfb46228bade82b238408c065e
nmap-7.70.tar.bz2 SHA1 71057361a0953bba5967dc0385de77f3eed792de
nmap-7.70.tar.bz2 SHA256 847b068955f792f4cc247593aca6dc3dc4aae12976169873247488de147a6e18
nmap-7.70.tar.bz2 MD5 84eb6fbe788e0d4918c2b1e39421bf79
20 changes: 20 additions & 0 deletions spk/nmap/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
SPK_NAME = nmap
SPK_VERS = 7.40
SPK_REV = 0
SPK_ICON = src/nmap.png

DEPENDS = cross/$(SPK_NAME)

MAINTAINER = SynoCommunity
DESCRIPTION = Nmap [Network Mapper] is a free and open source utility for network discovery and security auditing
RELOAD_UI = no
DISPLAY_NAME = nmap
STARTABLE = no
CHANGELOG = ""

HOMEPAGE = https://nmap.org/
LICENSE = https://svn.nmap.org/nmap/COPYING

SERVICE_SETUP = src/service-setup.sh

include ../../mk/spksrc.spk.mk
Empty file added spk/nmap/PLIST
Empty file.
Binary file added spk/nmap/src/nmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions spk/nmap/src/service-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
service_postinst ()
{
mkdir -p /usr/local/bin
ln -s /var/packages/"${SYNOPKG_PKGNAME}"/target/bin/nmap /usr/local/bin/nmap
}

service_postuninst ()
{
rm -f /usr/local/bin/nmap
}