pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

netmask: Import netmask-2.4.4 as wip/netmask



Module Name:	pkgsrc-wip
Committed By:	Francisco J. Tsao Santín <tsao%disroot.org@localhost>
Pushed By:	tsao
Date:		Fri Oct 29 22:34:25 2021 +0200
Changeset:	43411f5c0b673d0de34539fe02c748c3827d6406

Modified Files:
	Makefile
Added Files:
	netmask/DESCR
	netmask/Makefile
	netmask/PLIST
	netmask/distinfo

Log Message:
netmask: Import netmask-2.4.4 as wip/netmask

This is a handy tool for generating terse netmasks in several common
formats. If you've ever maintained a firewall with more than a few rules
in it, you might use netmask to clean up and generalize sloppy rules
left by the netadmin before you. It will also convert netmasks from one
format to another for the day you change your firewall software.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=43411f5c0b673d0de34539fe02c748c3827d6406

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile         |  1 +
 netmask/DESCR    | 12 ++++++++++++
 netmask/Makefile | 24 ++++++++++++++++++++++++
 netmask/PLIST    |  4 ++++
 netmask/distinfo |  6 ++++++
 5 files changed, 47 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6cf050fccc..d9a95702a1 100644
--- a/Makefile
+++ b/Makefile
@@ -2560,6 +2560,7 @@ SUBDIR+=	netkit-routed
 SUBDIR+=	netkit-telnet
 SUBDIR+=	netkit-tftp
 SUBDIR+=	netlogo
+SUBDIR+=	netmask
 SUBDIR+=	netquery-git
 SUBDIR+=	netrik
 SUBDIR+=	netwib
diff --git a/netmask/DESCR b/netmask/DESCR
new file mode 100644
index 0000000000..1ba4e3fe90
--- /dev/null
+++ b/netmask/DESCR
@@ -0,0 +1,12 @@
+This is a handy tool for generating terse netmasks in several common formats.
+If you've ever maintained a firewall with more than a few rules in it, you
+might use netmask to clean up and generalize sloppy rules left by the netadmin
+before you.  It will also convert netmasks from one format to another for the
+day you change your firewall software.
+
+See the file INSTALL for building and installation instructions.
+
+Please send all bug reports by electronic mail to:
+    netmask-bug%trap.mtview.ca.us@localhost
+
+Netmask is free software.  See the file COPYING for copying conditions.
diff --git a/netmask/Makefile b/netmask/Makefile
new file mode 100644
index 0000000000..c01875ca69
--- /dev/null
+++ b/netmask/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	netmask
+GITHUB_TAG=	refs/tags/v2.4.4
+DISTNAME=	v2.4.4
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES=	sysutils	
+MASTER_SITES=	${MASTER_SITE_GITHUB:=tlby/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	tsao%disroot.org@localhost
+HOMEPAGE=	https://github.com/tlby/netmask/
+COMMENT=	Handy tool for generating terse netmasks in several common formats
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/netmask-2.4.4
+
+USE_TOOLS+=     autoreconf autoconf automake awk gmake digest makeinfo
+GNU_CONFIGURE=  yes
+INFO_FILES=	yes
+pre-configure:
+	cd ${WRKSRC}; \
+	./autogen
+.include "../../mk/bsd.pkg.mk"
diff --git a/netmask/PLIST b/netmask/PLIST
new file mode 100644
index 0000000000..6571513fbc
--- /dev/null
+++ b/netmask/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/netmask
+info/netmask.info
+man/man1/netmask.1
diff --git a/netmask/distinfo b/netmask/distinfo
new file mode 100644
index 0000000000..90aa4b2dc0
--- /dev/null
+++ b/netmask/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (netmask/v2.4.4.tar.gz) = 6553e883c09351694cbb52dc6b21746b407302fe
+RMD160 (netmask/v2.4.4.tar.gz) = 2cbdf361c445f2bff4d633975005a50741b5cebb
+SHA512 (netmask/v2.4.4.tar.gz) = 57beddd0671dfa8102a68a2e8194d04405358b188b10da215768580f022d040ab990089013816500aafe2090eba8a79aef1fafbd160526c985fbbf09ff69ffce
+Size (netmask/v2.4.4.tar.gz) = 45775 bytes


Home | Main Index | Thread Index | Old Index