Update to ipcalc-1.4.
from robert at peichaer dot org
This commit is contained in:
parent
2071810bf7
commit
9b5b3baef7
@ -1,12 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2011/06/23 22:50:28 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2012/08/24 07:05:51 ajacoutot Exp $
|
||||
|
||||
COMMENT= small network calculator
|
||||
|
||||
DISTNAME= ipcalc-1.3
|
||||
REVISION= 2
|
||||
DISTNAME= ipcalc-1.4
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://spootnik.org/ipcalc/
|
||||
HOMEPAGE= https://github.com/pyr/ipcalc
|
||||
|
||||
MAINTAINER= Pierre-Yves Ritschard <pyr@spootnik.org>
|
||||
|
||||
@ -16,7 +15,7 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
MASTER_SITES= https://github.com/downloads/pyr/ipcalc/
|
||||
|
||||
FAKE_FLAGS= MANDIR="${PREFIX}/man/man"
|
||||
|
||||
|
@ -1,5 +1,2 @@
|
||||
MD5 (ipcalc-1.3.tar.gz) = C6bKBaBbYsa0KEJ6KiMFVg==
|
||||
RMD160 (ipcalc-1.3.tar.gz) = QirN8iyD91mjXj0ZnI7MWwA46DI=
|
||||
SHA1 (ipcalc-1.3.tar.gz) = wi500ensIW/e5uAzAQHyevK6HiQ=
|
||||
SHA256 (ipcalc-1.3.tar.gz) = rQ3pbHkuORkzx8nayvIumyFcTM6IaSrqkJEwQrsxNtQ=
|
||||
SIZE (ipcalc-1.3.tar.gz) = 4298
|
||||
SHA256 (ipcalc-1.4.tar.gz) = b5ikwAXdYNjJkNyeadzH4Z1HShr3V5N/DJoQ/RfvTLc=
|
||||
SIZE (ipcalc-1.4.tar.gz) = 4965
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-ipcalc_1,v 1.1 2010/04/03 21:54:54 sthen Exp $
|
||||
--- ipcalc.1.orig Sat Apr 3 22:43:17 2010
|
||||
+++ ipcalc.1 Sat Apr 3 22:43:18 2010
|
||||
@@ -67,6 +67,7 @@ Operates only on network finding and splitting in whic
|
||||
detailed information for each network.
|
||||
.It Fl c
|
||||
Includes the cisco wildcard syntax in the output where applicable.
|
||||
+.El
|
||||
.Sh NETMASKS
|
||||
Netmasks can be specified in one of three ways:
|
||||
.Bl -tag -width Ds
|
||||
@@ -77,3 +78,4 @@ set in the address.
|
||||
A traditionnal IPv4 address such as 255.255.255.0
|
||||
.It Cm hex notation address
|
||||
An address in hex notation such as 0xffffff00
|
||||
+.El
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-ipcalc_c,v 1.1 2011/01/14 09:53:24 eric Exp $
|
||||
--- ipcalc.c.orig Thu Jan 13 15:24:39 2011
|
||||
+++ ipcalc.c Thu Jan 13 15:27:10 2011
|
||||
@@ -233,7 +233,7 @@ split(in_addr_t add, u_char pfxlen, char *masktab, int
|
||||
err(1, "out of memory");
|
||||
tab[0] = i;
|
||||
} else {
|
||||
- if ((tab = realloc(tab, sz + 1)) == NULL)
|
||||
+ if ((tab = realloc(tab, (sz + 1) * sizeof(int))) == NULL)
|
||||
err(1, "out of memory");
|
||||
tab[sz] = i;
|
||||
}
|
Loading…
Reference in New Issue
Block a user