git: f96e9184f9d1 - main - www/larbin: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 11 Jun 2024 16:07:14 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f96e9184f9d18ef4a676c24374deccaf0dfe2ab5

commit f96e9184f9d18ef4a676c24374deccaf0dfe2ab5
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-06-11 16:06:43 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-06-11 16:07:07 +0000

    www/larbin: Remove expired port
    
    2024-05-31 www/larbin: Abandonware, obsolete web crawler
---
 MOVED                                  |  1 +
 www/Makefile                           |  1 -
 www/larbin/Makefile                    | 72 ----------------------------------
 www/larbin/distinfo                    |  2 -
 www/larbin/files/patch-adns_internal.h | 31 ---------------
 www/larbin/files/pkg-message.in        | 11 ------
 www/larbin/pkg-descr                   | 19 ---------
 7 files changed, 1 insertion(+), 136 deletions(-)

diff --git a/MOVED b/MOVED
index 99097f9762f1..df2269542848 100644
--- a/MOVED
+++ b/MOVED
@@ -3296,3 +3296,4 @@ www/bkmrkconv||2024-06-11|Has expired: Obsolete utility, generated files are alr
 www/chems||2024-06-11|Has expired: Abandonware, last release in 2009 and no activity since upstream
 www/cssed||2024-06-11|Has expired: Abandonware and broken, doesn't work with Python 3.x
 www/goose||2024-06-11|Has expired: Abandonware, last update in 2003 and upstream is dead
+www/larbin||2024-06-11|Has expired: Abandonware, obsolete web crawler
diff --git a/www/Makefile b/www/Makefile
index 1e0c7b507a5a..73cf630f3d90 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -295,7 +295,6 @@
     SUBDIR += kohana
     SUBDIR += ladybird
     SUBDIR += lagrange
-    SUBDIR += larbin
     SUBDIR += libapreq2
     SUBDIR += libdatachannel
     SUBDIR += libdom
diff --git a/www/larbin/Makefile b/www/larbin/Makefile
deleted file mode 100644
index 30284c2449b2..000000000000
--- a/www/larbin/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-PORTNAME=	larbin
-PORTVERSION=	2.6.3
-PORTREVISION=	3
-CATEGORIES=	www
-MASTER_SITES=	SF
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	HTTP crawler with an easy interface
-WWW=		http://www.ailleret.com/
-
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-DEPRECATED=	Abandonware, obsolete web crawler
-EXPIRATION_DATE=2024-05-31
-
-BUILD_DEPENDS=	bash:shells/bash \
-		makedepend:devel/makedepend
-
-USES=		gmake shebangfix
-SHEBANG_FILES=	configure
-GNU_CONFIGURE=	yes
-MAKE_JOBS_UNSAFE=	yes
-
-SUB_FILES=	pkg-message
-
-PORTDOCS=	*
-PLIST_FILES=	bin/larbin etc/larbin.conf.sample
-
-OPTIONS_DEFINE=	DOCS
-
-pre-everything::
-	@${ECHO_MSG} "====================================================================="
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "Make sure you have a look at the larbin documentation available at:"
-	@${ECHO_MSG} "  http://larbin.sourceforge.net/custom-eng.html."
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "====================================================================="
-
-post-extract:
-	@(cd ${WRKSRC}/src/utils && ${MV} string.h mystring.h)
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/CC=/s|echo|${TRUE:T}| ; \
-		 /CXX=/s|echo|${TRUE:T}| ; \
-		 /-lpthread/d' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e \
-		's|CFLAGS:=-O3|CFLAGS+=| ; \
-		 s|CXXFLAGS:=|CXXFLAGS+=| ; \
-		 s|-O3|| ; \
-		 s|-I-||' ${WRKSRC}/src/larbin.make
-	@${REINPLACE_CMD} -e \
-		'/delete \[\] tab/s|^|//|' ${WRKSRC}/src/utils/histogram.cc
-	@${FIND} ${WRKSRC}/src -name "*.cc" -or -name "*.h" | ${XARGS} \
-		${REINPLACE_CMD} -e \
-		's|utils/string.h|utils/mystring.h| ; \
-		 s|<iostream.h>|<iostream>| ; \
-		 s|<string.h>|<cstring>| ; \
-		 s|\([[:blank:]]\)cerr|\1std::cerr|g ; \
-		 s|\([[:blank:]]\)cout|\1std::cout|g ; \
-		 s|\([[:blank:]]\)endl|\1std::endl|g'
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/larbin ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/larbin.conf ${STAGEDIR}${PREFIX}/etc/larbin.conf.sample
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/www/larbin/distinfo b/www/larbin/distinfo
deleted file mode 100644
index ac0ff7770f96..000000000000
--- a/www/larbin/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (larbin-2.6.3.tar.gz) = 73c41fe9c1b7e06593b7e35f91b7a3251762fb93c83cedf208beaeeaca3a6f4d
-SIZE (larbin-2.6.3.tar.gz) = 132993
diff --git a/www/larbin/files/patch-adns_internal.h b/www/larbin/files/patch-adns_internal.h
deleted file mode 100644
index a8d7cf8f7525..000000000000
--- a/www/larbin/files/patch-adns_internal.h
+++ /dev/null
@@ -1,31 +0,0 @@
---- adns/internal.h.orig	2002-01-02 10:44:52 UTC
-+++ adns/internal.h
-@@ -151,15 +151,17 @@ typedef struct allocnode {
-   struct allocnode *next, *back;
- } allocnode;
- 
--union maxalign {
-+typedef union maxalign {
-   byte d[1];
-   struct in_addr ia;
-   long l;
-   void *p;
-   void (*fp)(void);
-   union maxalign *up;
--} data;
-+} data_t;
- 
-+extern data_t data;
-+
- typedef struct {
-   void *ext;
-   void (*callback)(adns_query parent, adns_query child);
-@@ -567,7 +569,7 @@ typedef enum {
- } parsedomain_flags;
- 
- adns_status adns__parse_domain(adns_state ads, int serv, adns_query qu,
--			       vbuf *vb, parsedomain_flags flags,
-+			       vbuf *vb, adns_queryflags flags,
- 			       const byte *dgram, int dglen, int *cbyte_io, int max);
- /* vb must already have been initialised; it will be reset if necessary.
-  * If there is truncation, vb->used will be set to 0; otherwise
diff --git a/www/larbin/files/pkg-message.in b/www/larbin/files/pkg-message.in
deleted file mode 100644
index 70266f846288..000000000000
--- a/www/larbin/files/pkg-message.in
+++ /dev/null
@@ -1,11 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-You must invoke larbin with the name of the configuration file, e.g:
-larbin -c config-file
-
-Documentation: %%DOCSDIR%%
-Configuration file: %%PREFIX%%/etc/larbin.conf.sample
-EOM
-}
-]
diff --git a/www/larbin/pkg-descr b/www/larbin/pkg-descr
deleted file mode 100644
index e767284935a1..000000000000
--- a/www/larbin/pkg-descr
+++ /dev/null
@@ -1,19 +0,0 @@
-Larbin is a powerful web crawler (also called [web] robot, spider...).  It
-is intended to fetch a large number of web pages to fill the database of a
-search engine.  With a network fast enough, Larbin is able to fetch more than
-100 million pages on a standard PC.
-
-Larbin was initially developed for the XYLEME project in the VERSO team at
-INRIA.  The goal of Larbin was to go and fetch XML pages on the web to fill
-the database of an xml-oriented search engine.
-
-The following can be done with Larbin:
-
-	o A crawler for a search engine
-	o A crawler for a specialized search enginer (xml, images, mp3...)
-	o Statistics on the web (about servers or page contents)
-
-Larbin is created by: Sebastien Ailleret
-
-See also: http://larbin.sourceforge.net/
-See also: https://www.sourceforge.net/projects/larbin