From nobody Sun Jul 7 16:54:02 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WHCyL47ygz5Q4pB; Sun, 07 Jul 2024 16:54:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WHCyL3JQkz4jRt; Sun, 7 Jul 2024 16:54:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720371242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4cfq51FWppvwSpzdXj03zGQVLNDrouLpZCOAqMZDHSA=; b=XHRGIFXjqGKWrPd9Xg2c3/QKI8Leq6mxyYUbkC6W2DYOfc/hli6GWaTktd7TSByhcIJ9sc 8N4eiaD3y97KnCTpokhqiY2WsAO6BvqtWV0T0ZPaUL96CIma9yo4s73JvF/9r+WB6jxtfq 1Y3D4Ww50HC41eUYdoE0V8tkQhkfnl3X2tCBPbmnElKSNQX65sBOrcqS0X+6SMdm7YPTjE GDQCiROrNaeDPwTM9VkLfS8pDzvbdPBbYszV6dJXApJlTMW7C6ZMN9Y2PpCp2RUoXS9G0m 3TRV7tAe1ch+6jfwoWkFutXnzNT2EsvRq0A+Rz4HmeUVmqr1wZnQ+YlhbHerdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720371242; a=rsa-sha256; cv=none; b=TK+0SljfXMSgiS+RIj2XB6yjETs7YRYQ8zN9/BvrtKf/+8cFgk/soIHYPxe8Yqj+4Dha4K crgY/19Sb8XhakxasxIZwLQc646Z74rR/SPGqu6JZZbZVEpkNPbmR1QTmh8LOKHC/OEBUw 9SIiamfb7lceNijA6cwIstxKG+lHl+VPxC2qeDRv3+soZ2E9WXeembCL/aP+To5m6LmziM zIf6H8JuUmIcS8R5hwDiZOhW2D/IQ9h8nZL3eNl2dUy4b81GqXkQy49vPqHh2n9i19wBrc 6khPwFaT1CfNYTJqZ06xWk1Q2qjN5QRjaiODsyKqAnnL5bxx60aDRrMpmWIcNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720371242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4cfq51FWppvwSpzdXj03zGQVLNDrouLpZCOAqMZDHSA=; b=nBfLamKcZt/dsH/b3cnk216uMRV5o1hOOcq8oGYugITm3yWVLS+2NWEj7WP/NRbVnJivjc zlkaeFgJjs8lJQXYZQUE1WA6WcxrbWwx8mWYhiyMxdk3KVwoB9lkMmiolm07dlDcngtkn3 K3kXkvl4BAslhHYSBKKvOtitb6F7NItBLKWY3HfiY0sFJNIjvvoejztQhZtOj04w+wRLSc gnf+ENqXwHI+Kh/37z06OHjXB/8sFNQmrxSDddM7Q/+bvbAsp3q7hfYLjQS1ulW/UczIos K79GdX4Nndr2/63QzkMZmIC1+j7PWkIbxQtiVPqAoTW8Z6gOjCzh6tWWMUa/ug== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WHCyL2vfgzGfw; Sun, 7 Jul 2024 16:54:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 467Gs2uL002691; Sun, 7 Jul 2024 16:54:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 467Gs29b002688; Sun, 7 Jul 2024 16:54:02 GMT (envelope-from git) Date: Sun, 7 Jul 2024 16:54:02 GMT Message-Id: <202407071654.467Gs29b002688@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rene Ladan Subject: git: 6f9ed518d644 - main - www/ffproxy: undeprecate, update to 1.72 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rene X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6f9ed518d644aaec268aaa827f2c103c223704ee Auto-Submitted: auto-generated The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f9ed518d644aaec268aaa827f2c103c223704ee commit 6f9ed518d644aaec268aaa827f2c103c223704ee Author: Chris Hutchinson AuthorDate: 2024-07-07 16:50:33 +0000 Commit: Rene Ladan CommitDate: 2024-07-07 16:53:36 +0000 www/ffproxy: undeprecate, update to 1.72 - Move distribution to site of submitter - Reword pkg-descr a bit PR: 279211 --- www/ffproxy/Makefile | 15 ++++-------- www/ffproxy/distinfo | 5 ++-- www/ffproxy/files/patch-Makefile.in | 20 ---------------- www/ffproxy/files/patch-dbs.h | 7 ------ www/ffproxy/files/patch-request.c | 47 ------------------------------------- www/ffproxy/files/patch-socket.c | 35 --------------------------- www/ffproxy/pkg-descr | 15 ++++++------ www/ffproxy/pkg-plist | 2 +- 8 files changed, 17 insertions(+), 129 deletions(-) diff --git a/www/ffproxy/Makefile b/www/ffproxy/Makefile index 5adf60d4210c..25b0f03e0fe0 100644 --- a/www/ffproxy/Makefile +++ b/www/ffproxy/Makefile @@ -1,21 +1,16 @@ PORTNAME= ffproxy -PORTVERSION= 1.6 -PORTREVISION= 1 +DISTVERSION= 1.72 CATEGORIES= www -MASTER_SITES= http://${PORTNAME}.sourceforge.net/${PORTNAME}/ \ - http://www.nevm.de/${PORTNAME}/ +MASTER_SITES= https://codeberg.org/BSDforge/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= portmaster@BSDforge.com COMMENT= Filtering HTTP proxy server -WWW= https://ffproxy.sourceforge.net +WWW= https://codeberg.org/BSDforge/ffproxy LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -DEPRECATED= Abandoned upstream, last update in 2006. Consider using www/squid -EXPIRATION_DATE=2024-06-30 - GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share +WRKSRC= ${WRKDIR}/${PORTNAME} .include diff --git a/www/ffproxy/distinfo b/www/ffproxy/distinfo index 98839d68b714..94d4f81eda9e 100644 --- a/www/ffproxy/distinfo +++ b/www/ffproxy/distinfo @@ -1,2 +1,3 @@ -SHA256 (ffproxy-1.6.tar.gz) = 45103673dd59295e0dd85ec5e235b1e9aace57d66c284101d865c197cb54c380 -SIZE (ffproxy-1.6.tar.gz) = 77535 +TIMESTAMP = 1716348681 +SHA256 (ffproxy-1.72.tar.gz) = f7dda759ae20f47f86361f55fa3a23cb6b2fbd631b89f8aca7264f6b6d7fa156 +SIZE (ffproxy-1.72.tar.gz) = 78395 diff --git a/www/ffproxy/files/patch-Makefile.in b/www/ffproxy/files/patch-Makefile.in deleted file mode 100644 index 5adc85773c0c..000000000000 --- a/www/ffproxy/files/patch-Makefile.in +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.in.orig 2005-01-05 15:50:10 UTC -+++ Makefile.in -@@ -48,7 +48,7 @@ man: - conf: - sed -e 's|_BASE_|$(pkgdatadir)|g' sample.config.s \ - > sample.config || cp sample.config.s sample.config -- cp sample.config ffproxy.conf -+ cp sample.config ffproxy.conf.sample - - installdirs: mkinstalldirs - $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) \ -@@ -73,7 +73,7 @@ install_man: man - $(INSTALL_DATA) ffproxy.8 $(DESTDIR)$(mandir)/man8 - - install_config: conf -- $(INSTALL_DATA) ffproxy.conf $(DESTDIR)$(sysconfdir) -+ $(INSTALL_DATA) ffproxy.conf.sample $(DESTDIR)$(sysconfdir) - - install_sample: conf - $(INSTALL_DATA) sample.config $(DESTDIR)$(pkgdatadir) diff --git a/www/ffproxy/files/patch-dbs.h b/www/ffproxy/files/patch-dbs.h deleted file mode 100644 index 1cd9aa823100..000000000000 --- a/www/ffproxy/files/patch-dbs.h +++ /dev/null @@ -1,7 +0,0 @@ ---- dbs.h.orig 2002-07-25 12:24:10 UTC -+++ dbs.h -@@ -1,3 +1,4 @@ -+#include - #include - - extern regex_t *a_ip[]; diff --git a/www/ffproxy/files/patch-request.c b/www/ffproxy/files/patch-request.c deleted file mode 100644 index 283c4db11c69..000000000000 --- a/www/ffproxy/files/patch-request.c +++ /dev/null @@ -1,47 +0,0 @@ ---- request.c.orig 2004-12-31 08:59:54 UTC -+++ request.c -@@ -49,7 +49,7 @@ - - static int read_header(int, struct req *); - static char sgetc(int); --static size_t getline(int, char[], int); -+static size_t get_line(int, char[], int); - static int do_request(int, struct req *); - - void -@@ -63,7 +63,7 @@ keep_alive: - (void) memset(&r, 0, sizeof(r)); - r.cl = clinfo; - -- if (getline(cl, buf, sizeof(buf)) < 1) -+ if (get_line(cl, buf, sizeof(buf)) < 1) - *buf = '\0'; - - if ((http_url(&r, buf)) == 0) { -@@ -189,7 +189,7 @@ read_header(int cl, struct req * r) - char *b, *p; - - i = 0; -- while ((len = getline(cl, buf, sizeof(buf))) > 0 && i < sizeof(r->header) - 1) { -+ while ((len = get_line(cl, buf, sizeof(buf))) > 0 && i < sizeof(r->header) - 1) { - b = buf; - while (isspace((int) *b) && *(b++) != '\0'); - if (*b == '\0') -@@ -228,7 +228,7 @@ sgetc(int s) - } - - static size_t --getline(int s, char buf[], int len) -+get_line(int s, char buf[], int len) - { - int c; - size_t i; -@@ -493,7 +493,7 @@ do_request(int cl, struct req * r) - } - if (r->type != CONNECT) { - i = 0; -- while ((len = getline(s, buf, sizeof(buf))) > 0 && i < sizeof(r->header) - 1) { -+ while ((len = get_line(s, buf, sizeof(buf))) > 0 && i < sizeof(r->header) - 1) { - DEBUG(("do_request() => got remote header line: (%s)", buf)); - r->header[i] = (char *) my_alloc(len + 1); - (void) strcpy(r->header[i++], buf); diff --git a/www/ffproxy/files/patch-socket.c b/www/ffproxy/files/patch-socket.c deleted file mode 100644 index 6bbae4d3e680..000000000000 --- a/www/ffproxy/files/patch-socket.c +++ /dev/null @@ -1,35 +0,0 @@ ---- socket.c.orig 2004-12-31 08:59:54 UTC -+++ socket.c -@@ -58,7 +58,7 @@ void - open_socket(void) - { - extern struct cfg config; -- struct sockaddr claddr; -+ struct sockaddr_storage claddr; - struct addrinfo hints[2], *res; - struct clinfo *clinfo; - struct pollfd s[2]; -@@ -135,7 +135,6 @@ open_socket(void) - if (config.bind_ipv6) - info("waiting for requests on %s port %d (IPv6)", *config.ipv6 ? config.ipv6 : "(any)", config.port); - -- claddr_len = sizeof(claddr); - config.ccount = 0; - cl = 0; - isipv4 = config.bind_ipv4; -@@ -160,13 +159,14 @@ open_socket(void) - } - } else - st = s[0].fd; -+ claddr_len = sizeof(claddr); - if ((cl = accept(st, (struct sockaddr *) & claddr, &claddr_len)) == -1) { - DEBUG(("open_socket() => accept() failed")); - continue; - } - - DEBUG(("open_socket() => connection, checking access")); -- clinfo = identify(&claddr, (socklen_t) isipv4 ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr_in6)); -+ clinfo = identify((struct sockaddr *)&claddr, claddr_len); - if (check_access(clinfo) != 0) { - DEBUG(("open_socket() => no access")); - if (config.logrequests) diff --git a/www/ffproxy/pkg-descr b/www/ffproxy/pkg-descr index 6d105d68a040..8c42daff768e 100644 --- a/www/ffproxy/pkg-descr +++ b/www/ffproxy/pkg-descr @@ -1,7 +1,8 @@ -ffproxy is a filtering HTTP proxy server. It is able to filter -by host, URL, and header. Custom header entries can be filtered -and added. It can even drop its privileges and optionally -chroot() to some directory. Logging to syslog() is supported, -as is using another auxiliary proxy server. Contacting IPv6 -servers is supported and allows transparent IPv6 over IPv4 -browsing. +ffproxy -- Fast Filtering Proxy, is a filtering HTTP/HTTPS proxy server. +It's capable of filtering by host, URL, and header. Custom header +entries can be created for filtering. It can also drop privileges and +optionally chroot(8) to a chosen directory. Logging to syslog(3) is +supported, as is using another auxiliary proxy server. An HTTP accelerator +feature (acting as a front-end to an HTTP server) is also included. +Contacting IPv6 servers as well as binding to IPv6 is supported which +allows transparent IPv6 over IPv4 browsing (and vice versa). diff --git a/www/ffproxy/pkg-plist b/www/ffproxy/pkg-plist index a0c195df4b91..0f38e607914e 100644 --- a/www/ffproxy/pkg-plist +++ b/www/ffproxy/pkg-plist @@ -3,7 +3,7 @@ bin/ffproxy share/man/man5/ffproxy.conf.5.gz share/man/man7/ffproxy.quick.7.gz share/man/man8/ffproxy.8.gz -%%DATADIR%%/db/access.dyndns +%%DATADIR%%/db/access.dyn-dns %%DATADIR%%/db/access.host %%DATADIR%%/db/access.ip %%DATADIR%%/db/filter.header.add