aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ipsc
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ipsc')
-rw-r--r--sysutils/ipsc/Makefile18
-rw-r--r--sysutils/ipsc/distinfo5
-rw-r--r--sysutils/ipsc/files/ipsc.837
-rw-r--r--sysutils/ipsc/files/patch-Makefile8
-rw-r--r--sysutils/ipsc/files/patch-main.c33
5 files changed, 13 insertions, 88 deletions
diff --git a/sysutils/ipsc/Makefile b/sysutils/ipsc/Makefile
index e83c8557462f..1409afdeed44 100644
--- a/sysutils/ipsc/Makefile
+++ b/sysutils/ipsc/Makefile
@@ -1,20 +1,22 @@
PORTNAME= ipsc
-PORTVERSION= 0.4.3
-PORTREVISION= 1
+PORTVERSION= 0.4.4
CATEGORIES= sysutils
-MASTER_SITES= http://archive.debian.org/debian/pool/main/i/ipsc/
-DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
+MASTER_SITES= MASTER_SITES= https://codeberg.org/BSDforge/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
MAINTAINER= cy@FreeBSD.org
COMMENT= IP Subnet Calculator
-WWW= http://www.alaskaparadise.com/ipsc
+WWW= https://codeberg.org/BSDforge/${PORTNAME}
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKDIR}/${PORTNAME}/COPYING
BUILD_DEPENDS= ${PRIPS_WRKSRC}/prips.o:sysutils/prips:build
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
+WRKSRC= ${WRKDIR}/${PORTNAME}/src
ALL_TARGET= ipsc
-PLIST_FILES= bin/ipsc share/man/man8/ipsc.8.gz
+PLIST_FILES= bin/ipsc \
+ share/man/man8/ipsc.8.gz
PRIPS_WRKSRC!= cd ${.CURDIR}/../prips && ${MAKE} -V WRKSRC
@@ -23,6 +25,6 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ipsc ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${FILESDIR}/ipsc.8 ${STAGEDIR}${PREFIX}/share/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/ipsc.8 ${STAGEDIR}${PREFIX}/share/man/man8
.include <bsd.port.mk>
diff --git a/sysutils/ipsc/distinfo b/sysutils/ipsc/distinfo
index 2201ab8d4a57..3ff415fe712f 100644
--- a/sysutils/ipsc/distinfo
+++ b/sysutils/ipsc/distinfo
@@ -1,2 +1,3 @@
-SHA256 (ipsc_0.4.3.orig.tar.gz) = b05fedb22ed5ea6a3bfab0862c37f6f7a9ab7b35a371678cd13789f8da0ca398
-SIZE (ipsc_0.4.3.orig.tar.gz) = 24349
+TIMESTAMP = 1761844259
+SHA256 (ipsc-0.4.4.tar.gz) = dd298249e0a6ae453fe5d9014d4868a7ab162ad5474577cdd6172e14d67f08ad
+SIZE (ipsc-0.4.4.tar.gz) = 25068
diff --git a/sysutils/ipsc/files/ipsc.8 b/sysutils/ipsc/files/ipsc.8
deleted file mode 100644
index 4fe0e6e47544..000000000000
--- a/sysutils/ipsc/files/ipsc.8
+++ /dev/null
@@ -1,37 +0,0 @@
-.Dd December10, 2006
-.Dt ipsc 8
-.Os
-.Sh NAME
-.Nm ipsc
-.Nd IP Subnet Calculator
-.Sh SYNOPSIS
-.Nm
-.Op Options
-.Op addr/mask | addr/offset | addr
-.Sh DESCRIPTION
-The IP Subnet Calculator is a tool that
-allows network administrators to make calculations that
-will assist in subnetting a network. It also has a number
-of other useful functions.
-.Pp
-The options are as follows:
-.Bl -tag -width identXXXXXX
-.It Fl C <class>
-Network class (a, b, or c). Must be used with -B
-.It Fl B <bits>
-Subnet bits (must be used with -C).
-.It Fl i <if>
-Reverse engineer an interface (e.g. eth0).
-.It Fl a
-Print all information available.
-.It Fl g
-Print general information.
-.It Fl s
-Print all possible subnets.
-.It Fl h
-Print host information.
-.It Fl c
-Print CIDR information.
-.It Fl v
-Print the program version.
-.El
diff --git a/sysutils/ipsc/files/patch-Makefile b/sysutils/ipsc/files/patch-Makefile
deleted file mode 100644
index 8275baab7e32..000000000000
--- a/sysutils/ipsc/files/patch-Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
---- Makefile.orig Tue Jan 11 21:56:04 2000
-+++ Makefile Tue Jan 11 21:56:08 2000
-@@ -1,5 +1,3 @@
--CC = gcc
--CFLAGS = -g -Wall -O2
- LIBS = -lm
-
- GNOMELIBS = `gnome-config --libs gnomeui`
diff --git a/sysutils/ipsc/files/patch-main.c b/sysutils/ipsc/files/patch-main.c
deleted file mode 100644
index 8fd395c9b354..000000000000
--- a/sysutils/ipsc/files/patch-main.c
+++ /dev/null
@@ -1,33 +0,0 @@
---- main.c.orig Sun Sep 19 13:58:16 2004
-+++ main.c Sun Sep 19 13:58:51 2004
-@@ -142,18 +142,18 @@
-
- void usage(const char *prog)
- {
-- fprintf(stderr, "usage: %s [options] <addr/mask | addr/offset | addr>
-- -C <class> Network class (a, b, or c). Must be used with -B
-- -B <bits> Subnet bits (must be used with -C)
-- -i <if> Reverse engineer an interface (e.g. eth0)
-- -a Print all information available
-- -g Print general information
-- -s Print all possible subnets
-- -h Print host information
-- -c Print CIDR information
-- -v Print the program version
-- -? Print this help message
--
-+ fprintf(stderr, "usage: %s [options] <addr/mask | addr/offset | addr>\n\
-+ -C <class> Network class (a, b, or c). Must be used with -B\n\
-+ -B <bits> Subnet bits (must be used with -C)\n\
-+ -i <if> Reverse engineer an interface (e.g. eth0)\n\
-+ -a Print all information available\n\
-+ -g Print general information\n\
-+ -s Print all possible subnets\n\
-+ -h Print host information\n\
-+ -c Print CIDR information\n\
-+ -v Print the program version\n\
-+ -? Print this help message\n\
-+\n\
- \rReport bugs to %s\n",
- prog, MAINTAINER);
- }