git: a96fd33a52b9 - main - www/mod_amazon_proxy: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 30 Sep 2024 19:12:58 UTC
The branch main has been updated by rene:

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

commit a96fd33a52b99e9fe5ee3a0e693bc61e5dd449a3
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-09-30 19:12:47 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-09-30 19:12:53 +0000

    www/mod_amazon_proxy: Remove expired port
    
    2024-09-30 www/mod_amazon_proxy: Abandonware, last updated in 2010
---
 MOVED                                              |  1 +
 www/Makefile                                       |  1 -
 www/mod_amazon_proxy/Makefile                      | 56 ----------------------
 www/mod_amazon_proxy/distinfo                      |  2 -
 .../files/patch-mod_amazon_proxy.c                 | 12 -----
 www/mod_amazon_proxy/pkg-descr                     |  2 -
 www/mod_amazon_proxy/pkg-plist                     |  2 -
 7 files changed, 1 insertion(+), 75 deletions(-)

diff --git a/MOVED b/MOVED
index 4583c6a1d989..2d0431a9e385 100644
--- a/MOVED
+++ b/MOVED
@@ -3497,3 +3497,4 @@ games/adonthell-wastesedge||2024-09-30|Has expired: Depends on deprecated port g
 games/adonthell||2024-09-30|Has expired: Unmaintained in tree and broken for months
 www/thundercache||2024-09-30|Has expired: Deprecated and outdated, product is still being maintained upstream
 math/tablix||2024-09-30|Has expired: Abandonware, upstream is gone and source code is no longer available
+www/mod_amazon_proxy||2024-09-30|Has expired: Abandonware, last updated in 2010
diff --git a/www/Makefile b/www/Makefile
index 84499c4e4094..f6a71c5ac321 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -371,7 +371,6 @@
     SUBDIR += mitmproxy
     SUBDIR += mknmz-wwwoffle
     SUBDIR += mnogosearch
-    SUBDIR += mod_amazon_proxy
     SUBDIR += mod_asn
     SUBDIR += mod_auth_cas
     SUBDIR += mod_auth_cookie_mysql2
diff --git a/www/mod_amazon_proxy/Makefile b/www/mod_amazon_proxy/Makefile
deleted file mode 100644
index 2a3eb9deebbf..000000000000
--- a/www/mod_amazon_proxy/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-PORTNAME=	mod_amazon_proxy
-PORTVERSION=	20100913
-PORTREVISION=	1
-CATEGORIES=	www
-MASTER_SITES=	LOCAL/tota/${PORTNAME}
-
-MAINTAINER=	tota@FreeBSD.org
-COMMENT=	Amazon Auth Proxy for Product Advertising API
-WWW=		https://github.com/machu/mod_amazon_proxy
-
-DEPRECATED=	Abandonware, last updated in 2010
-EXPIRATION_DATE=2024-09-30
-
-LIB_DEPENDS=	libapreq2.so:www/libapreq2
-
-USES=		apache
-AP_FAST_BUILD=	yes
-AP_LIB=	${LOCALBASE}/lib -lcrypto
-
-CONFFILE=	httpd-amazon-proxy.conf
-CONFDIR=	${PREFIX}/${APACHEETCDIR}/Includes
-
-PORTDOCS=	README
-PORTEXAMPLES=	rpaproxy.yaml
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|modules|${APACHEMODDIR}|' ${WRKSRC}/${CONFFILE}.sample
-
-post-install:
-	@${MKDIR} ${STAGEDIR}${CONFDIR}
-	${INSTALL_DATA} ${WRKSRC}/${CONFFILE}.sample ${STAGEDIR}${CONFDIR}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-
-x-generate-tarball:
-	${SETENV} ${FETCH_ENV} ${FETCH_BINARY} -m -o ${PORTNAME}.tar.gz \
-		https://github.com/machu/mod_amazon_proxy/tarball/master
-	target=`${TAR} -tvf ${PORTNAME}.tar.gz | head -n 1`; \
-	dir=`${ECHO} $${target} | ${AWK} '{print $$9}' | ${SED} -e 's|/$$||'`; \
-	year=`${ECHO} $${target} | ${AWK} '{print $$8}'`; \
-	month=`${ECHO} $${target} | ${AWK} '{print $$6}'`; \
-	day=`${ECHO} $${target} | ${AWK} '{print $$7}'`; \
-	date=`date -j -f "%B %d %Y" "$${month} $${day} $${year}" +"%Y%m%d"`; \
-	${TAR} -zxf ${PORTNAME}.tar.gz; \
-	${RM} ${PORTNAME}.tar.gz; \
-	${RM} $${dir}/Makefile; \
-	${RM} $${dir}/modules.mk; \
-	${MV} $${dir} ${PORTNAME}-$${date}; \
-	${TAR} -zcf ${PORTNAME}-$${date}.tar.gz ${PORTNAME}-$${date}; \
-	${RM} -r ${PORTNAME}-$${date}
-
-.include <bsd.port.mk>
diff --git a/www/mod_amazon_proxy/distinfo b/www/mod_amazon_proxy/distinfo
deleted file mode 100644
index 14d2f5b73eeb..000000000000
--- a/www/mod_amazon_proxy/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mod_amazon_proxy-20100913.tar.gz) = a6fd29b12b8e3c6faccad90fbdc4252fbfb142f5f93e39a6fcc2e0607bca9b32
-SIZE (mod_amazon_proxy-20100913.tar.gz) = 3106
diff --git a/www/mod_amazon_proxy/files/patch-mod_amazon_proxy.c b/www/mod_amazon_proxy/files/patch-mod_amazon_proxy.c
deleted file mode 100644
index 37f8fc379ce6..000000000000
--- a/www/mod_amazon_proxy/files/patch-mod_amazon_proxy.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- mod_amazon_proxy.c.orig	2010-09-13 22:34:13.000000000 +0900
-+++ mod_amazon_proxy.c	2014-09-20 20:09:28.000000000 +0900
-@@ -25,7 +25,9 @@
- #include "http_protocol.h"
- #include "http_log.h"
- #include "ap_config.h"
-+#include "apr_base64.h"
- #include <apreq2/apreq_param.h>
-+#include <apreq2/apreq_util.h>
- 
- typedef struct {
-     const char *access_key;
diff --git a/www/mod_amazon_proxy/pkg-descr b/www/mod_amazon_proxy/pkg-descr
deleted file mode 100644
index eaaf7c2c5249..000000000000
--- a/www/mod_amazon_proxy/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-Authentication Proxy Server of Amazon Product Advertising API for
-Apache module.
diff --git a/www/mod_amazon_proxy/pkg-plist b/www/mod_amazon_proxy/pkg-plist
deleted file mode 100644
index 142ae85cca8d..000000000000
--- a/www/mod_amazon_proxy/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-%%APACHEMODDIR%%/mod_amazon_proxy.so
-@sample %%APACHEETCDIR%%/Includes/httpd-amazon-proxy.conf.sample