git: a3996e67f8ed - main - net/aslookup: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Feb 2024 12:52:53 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a3996e67f8ed63d2b79b959992e7ac81772b62db
commit a3996e67f8ed63d2b79b959992e7ac81772b62db
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-29 12:27:12 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-29 12:52:28 +0000
net/aslookup: Remove expired port
net/aslookup
---
MOVED | 1 +
net/Makefile | 1 -
net/aslookup/Makefile | 27 ----
net/aslookup/distinfo | 3 -
net/aslookup/files/patch-Makefile | 42 ------
net/aslookup/files/patch-aslookup.c | 251 ------------------------------------
net/aslookup/pkg-descr | 9 --
net/aslookup/pkg-plist | 3 -
8 files changed, 1 insertion(+), 336 deletions(-)
diff --git a/MOVED b/MOVED
index 1c231c39e743..2ea5a55a3f92 100644
--- a/MOVED
+++ b/MOVED
@@ -3018,3 +3018,4 @@ multimedia/flvstreamer||2024-02-29|Has expired: Last release 2010 and no active
devel/ptypes||2024-02-29|Has expired: Abandoned upstream, doesn't fetch
misc/skyutils||2024-02-29|Has expired: Library used for deprecated port misc/smssend
net-mgmt/unifi7||2024-02-29|Has expired: EOLed upstream, switch to newer version
+net/aslookup||2024-02-29|Has expired: Lookup returns nothing
diff --git a/net/Makefile b/net/Makefile
index bbce75f90a40..7ed06b1d35a1 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -31,7 +31,6 @@
SUBDIR += arprelease
SUBDIR += arrowdl
SUBDIR += asio
- SUBDIR += aslookup
SUBDIR += asterisk-chan_sccp
SUBDIR += asterisk-g72x
SUBDIR += asterisk18
diff --git a/net/aslookup/Makefile b/net/aslookup/Makefile
deleted file mode 100644
index a98f993566e9..000000000000
--- a/net/aslookup/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-PORTNAME= aslookup
-PORTVERSION= 0.13d
-CATEGORIES= net
-MASTER_SITES= http://aslookup.bgpview.org/download/ \
- https://BSDforce.com/source/net/aslookup/
-DISTNAME= ${PORTNAME}-beta${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Tool that searches the sequence of AS numbers
-WWW= http://aslookup.bgpview.org/index-e.html
-
-BROKEN= Lookup returns nothing
-DEPRECATED= Lookup returns nothing
-EXPIRATION_DATE=2024-02-29
-
-CFLAGS+= -DARINDB -DJPNICDB -DAPNICDB
-
-OPTIONS_DEFINE= DOCS
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/aslookup ${STAGEDIR}${PREFIX}/bin
- @if [ ! -d ${STAGEDIR}${PREFIX}/share/doc/aslookup ]; then \
- ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/aslookup; fi
- ${INSTALL_DATA} ${WRKSRC}/readme-eng.txt ${WRKSRC}/readme-jp.txt \
- ${STAGEDIR}${PREFIX}/share/doc/aslookup
-
-.include <bsd.port.mk>
diff --git a/net/aslookup/distinfo b/net/aslookup/distinfo
deleted file mode 100644
index 7346618adeed..000000000000
--- a/net/aslookup/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1590002488
-SHA256 (aslookup-beta0.13d.tar.gz) = bed372c27329cc87e2438c19015695ca16586e4083ae73f54fd92471fc506a35
-SIZE (aslookup-beta0.13d.tar.gz) = 12986
diff --git a/net/aslookup/files/patch-Makefile b/net/aslookup/files/patch-Makefile
deleted file mode 100644
index 8d41786fbe85..000000000000
--- a/net/aslookup/files/patch-Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
---- Makefile.orig 2009-09-20 11:00:57 UTC
-+++ Makefile
-@@ -2,9 +2,9 @@
- # Makefile,v 1.7 2005/12/07 02:57:18 kuniaki Exp
-
- PROGS = aslookup
--VERSION = beta0.13c
-+VERSION = beta0.13d
- DISTNAME = $(PROGS)-$(VERSION)
--CVSTAG = b013c
-+CVSTAG = b013d
- CVS_COMMAND = cvs
- INSTALLCMD = /usr/bin/install
-
-@@ -22,7 +22,7 @@ TARCMD =/usr/bin/tar
- SHELL =/bin/sh
- .SUFFIXES: .c .o
-
--CC = gcc
-+CC ?= gcc
-
- BINDIR =/usr/local/bin
-
-@@ -34,12 +34,12 @@ MANDIR =/usr/local/man/man1
- # if you have radb mirror server (trawhois), you specify RALOCAL flag.
- # Because aslookup will use local radb server.
- # AND, If you are using solaris, Please add option "-DSOLARIS".
--# CFLAGS =
--# CFLAGS = -DJPIXDB -DJPNICDB -DAPNICDB -g -O
--CFLAGS = -DRALOCAL -DJPNICDB -DAPNICDB -g -O
--# CFLAGS = -DJPNICDB -DAPNICDB -DLOG -DSOLARIS -g -O
--# CFLAGS = -DARINDB -DJPNICDB -DAPNICDB -DLOG -DDEBUG -g -O
--# CFLAGS = -DARINDB -DJPNICDB -DAPNICDB -g -O
-+# CFLAGS +=
-+# CFLAGS += -DJPIXDB -DJPNICDB -DAPNICDB -g -O
-+# CFLAGS += -DRALOCAL -DJPNICDB -DAPNICDB -g -O
-+# CFLAGS += -DJPNICDB -DAPNICDB -DLOG -DSOLARIS -g -O
-+# CFLAGS += -DARINDB -DJPNICDB -DAPNICDB -DLOG -DDEBUG -g -O
-+# CFLAGS += -DARINDB -DJPNICDB -DAPNICDB -g -O
- INCDIR = -I./
-
- # This line is for solaris.
diff --git a/net/aslookup/files/patch-aslookup.c b/net/aslookup/files/patch-aslookup.c
deleted file mode 100644
index 6756a78290a4..000000000000
--- a/net/aslookup/files/patch-aslookup.c
+++ /dev/null
@@ -1,251 +0,0 @@
---- aslookup.c.orig 2009-09-20 11:00:21 UTC
-+++ aslookup.c
-@@ -48,12 +48,12 @@
- #include <time.h>
- #include <stdlib.h>
-
--#define VERSION "ASLookup Beta Version 0.13"
-+#define VERSION "ASLookup Beta Version 0.13d"
- #define COPYRIGHT "Copyright (C) 1998 - 2000 K.Kondo, Internet Initiative Japan Inc.\r\nCopyright (c) 2005 K.Kondo, Bugest-Network"
- #define REVISION "aslookup.c,v 1.7 2005/12/07 02:56:35 kuniaki Exp"
-
- #ifdef RALOCAL
--#define RADB "bvtest.bugest.net"
-+#define RADB "whois.epoch.net"
- #define WHOIS 43
- #endif /* _ifedef RALOCAL */
- #ifndef RALOCAL
-@@ -109,7 +109,7 @@ char *connecthost;
- }
- #endif /* _ifdef LOG */
-
--int dbopen()
-+void dbopen()
- {
- struct hostent *hp;
- struct sockaddr_in sin;
-@@ -137,14 +137,14 @@ int dbopen()
- #endif
- }
-
--int dbclose()
-+void dbclose()
- {
- write(sc, "q\n", 2);
- close(sc);
-
- }
-
--int batchmode()
-+void batchmode()
- {
- write(sc, "!!\n", 3);
- }
-@@ -198,7 +198,7 @@ char *type;
- return(ret);
- }
-
--int sread(buf, len)
-+void sread(buf, len)
- char *buf;
- int len;
- {
-@@ -285,7 +285,7 @@ u_long asn;
- char asstr[128];
- char *data;
-
-- sprintf(asstr, "!man,AS%d\n", asn);
-+ sprintf(asstr, "!man,AS%lu\n", asn);
-
- #ifdef DEBUG
- printf("Command : %s", asstr);
-@@ -512,7 +512,7 @@ char *retc;
- connectlog(JPWHOIS);
- #endif
-
-- sprintf(line, "AS%d\n", asn);
-+ sprintf(line, "AS%lu\n", asn);
- write(jpsoc,line,strlen(line));
-
- jpfd = fdopen(jpsoc, "r");
-@@ -571,7 +571,7 @@ char *retc;
- connectlog(APWHOIS);
- #endif
-
-- sprintf(line, "AS%d\n", asn);
-+ sprintf(line, "AS%lu\n", asn);
- write(apsoc,line,strlen(line));
-
- apfd = fdopen(apsoc, "r");
-@@ -686,7 +686,7 @@ char *retc;
- connectlog(JIWHOIS);
- #endif
-
-- sprintf(line, "AS%d\n", asn);
-+ sprintf(line, "AS%lu\n", asn);
- write(jisoc,line,strlen(line));
-
- jifd = fdopen(jisoc, "r");
-@@ -710,7 +710,7 @@ char *retc;
- }
- #endif /* _JPIXDB */
-
--int searchas(aslist)
-+void searchas(aslist)
- char *aslist;
- {
- char aslistbuf[1024];
-@@ -738,7 +738,7 @@ char *aslist;
- #ifdef DEBUG
- printf("DEBUG: descr field not found\n");
- #endif
-- printf(" AS%d:????????\n", asnum);
-+ printf(" AS%lu:????????\n", asnum);
- }
- #ifdef DEBUG
- printf("DB Type -> RPSL?\n");
-@@ -771,7 +771,7 @@ char *aslist;
- if (desce != NULL) {
- *desce = '\0';
- }
-- printf(" AS%d:%s\n", asnum, descs);
-+ printf(" AS%lu:%s\n", asnum, descs);
- }
- free(obj);
- } else {
-@@ -779,7 +779,7 @@ char *aslist;
-
- #ifdef JPIXDB
- if (jpix(asnum, &asname) != NULL) {
-- printf(" AS%d:%s\n", asnum, asname);
-+ printf(" AS%lu:%s\n", asnum, asname);
- } else {
- #endif
- #ifdef ARINDB
-@@ -790,7 +790,7 @@ char *aslist;
- #ifdef JPNICDB
- if (strcmp(asname, JPNICTAG) == 0) {
- if (jpnic(asnum, &asname) != NULL) {
-- printf(" AS%d:%s (JPNIC)\n",
-+ printf(" AS%lu:%s (JPNIC)\n",
- asnum, asname);
- fg = 1;
- } else {
-@@ -801,7 +801,7 @@ char *aslist;
- #ifdef APNICDB
- if (strcmp(asname, APNICTAG) == 0) {
- if (apnic(asnum, &asname) != NULL) {
-- printf(" AS%d:%s (APNIC)\n",
-+ printf(" AS%lu:%s (APNIC)\n",
- asnum, asname);
- fg = 1;
- } else {
-@@ -811,11 +811,11 @@ char *aslist;
- #endif
- if (strlen(asname) != 0) {
- if (fg == 0) {
-- printf(" AS%d:%s (ARIN)\n",
-+ printf(" AS%lu:%s (ARIN)\n",
- asnum, asname);
- }
- } else {
-- printf(" AS%d:????????\n", asnum);
-+ printf(" AS%lu:????????\n", asnum);
- }
- }
- #endif /* ARINDB */
-@@ -823,11 +823,11 @@ char *aslist;
- #ifdef JPNICDB
- #ifdef APNICDB
- if (jpnic(asnum, &asname) != NULL) {
-- printf(" AS%d:%s (JPNIC)\n", asnum, asname);
-+ printf(" AS%lu:%s (JPNIC)\n", asnum, asname);
- } else if (apnic(asnum, &asname) != NULL) {
-- printf(" AS%d:%s (APNIC)\n", asnum, asname);
-+ printf(" AS%lu:%s (APNIC)\n", asnum, asname);
- } else {
-- printf(" AS%d:????????\n", asnum);
-+ printf(" AS%lu:????????\n", asnum);
- }
- #endif
- #endif
-@@ -835,9 +835,9 @@ char *aslist;
- #ifdef JPNICDB
- #ifndef APNICDB
- if (jpnic(asnum, &asname) != NULL) {
-- printf(" AS%d:%s (JPNIC)\n", asnum, asname);
-+ printf(" AS%lu:%s (JPNIC)\n", asnum, asname);
- } else {
-- printf(" AS%d:????????\n", asnum);
-+ printf(" AS%lu:????????\n", asnum);
- }
- #endif
- #endif
-@@ -845,16 +845,16 @@ char *aslist;
- #ifndef JPNICDB
- #ifdef APNICDB
- if (apnic(asnum, &asname) != NULL) {
-- printf(" AS%d:%s (APNIC)\n", asnum, asname);
-+ printf(" AS%lu:%s (APNIC)\n", asnum, asname);
- } else {
-- printf(" AS%d:????????\n", asnum);
-+ printf(" AS%lu:????????\n", asnum);
- }
- #endif
- #endif
-
- #ifndef JPNICDB
- #ifndef APNICDB
-- printf(" AS%d:????????\n", asnum);
-+ printf(" AS%lu:????????\n", asnum);
- #endif
- #endif
-
-@@ -906,7 +906,7 @@ ASPATHCACHE *data;
- return(ret);
- }
-
--int freecache()
-+void freecache()
- {
- ASPATHCACHE *ptr;
-
-@@ -918,7 +918,7 @@ int freecache()
- }
- }
-
--int parsestdin()
-+void parsestdin()
- {
-
- char line[2048];
-@@ -1020,6 +1020,7 @@ char *fname;
- }
- fclose(fp);
- freecache();
-+ return(0);
- }
-
- int host2as(hn)
-@@ -1065,7 +1066,7 @@ char *hn;
- #endif
-
- if (getas(adstr, &getasnum) == 0) {
-- printf("% Search Fail\n");
-+ printf("%% Search Fail\n");
- } else {
- #ifdef DEBUG
- printf("Search AS : %s\n",getasnum);
-@@ -1088,10 +1089,11 @@ char *hn;
- asptr++;
- }
- }
-+ return(0);
- }
-
-
--main(argc, argv)
-+int main(argc, argv)
- int argc;
- char *argv[];
- {
diff --git a/net/aslookup/pkg-descr b/net/aslookup/pkg-descr
deleted file mode 100644
index 14fad8b78f92..000000000000
--- a/net/aslookup/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-ASLOOKUP is the tool which searches the sequence of the AS number specified
-with the parameter from IRR and indicates the first line of Description
-of the AS Object.
-
-Advantages:
-You can search many AS Numbers at once.
-You can use result of "show ip bgp" command with a CISCO router.
-You can search to ARIN, JPNIC and APNIC whois database.
-You can search AS Number from IP Addresses.
diff --git a/net/aslookup/pkg-plist b/net/aslookup/pkg-plist
deleted file mode 100644
index 6241928ec749..000000000000
--- a/net/aslookup/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/aslookup
-%%PORTDOCS%%%%DOCSDIR%%/readme-eng.txt
-%%PORTDOCS%%%%DOCSDIR%%/readme-jp.txt