From owner-dev-commits-ports-main@freebsd.org Fri Sep 10 13:23:01 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D22236ACA5A; Fri, 10 Sep 2021 13:23:01 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H5c4j5Z4jz3lpw; Fri, 10 Sep 2021 13:23:01 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 94E3E56C0; Fri, 10 Sep 2021 13:23:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18ADN19P074997; Fri, 10 Sep 2021 13:23:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18ADN1UW074996; Fri, 10 Sep 2021 13:23:01 GMT (envelope-from git) Date: Fri, 10 Sep 2021 13:23:01 GMT Message-Id: <202109101323.18ADN1UW074996@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rainer Hurling Subject: git: c3c3d04764ff - main - ftp/bftpd: Remove unnecessary patchfile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rhurlin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c3c3d04764ff6d1999b34cb807383999babf7bda Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2021 13:23:01 -0000 The branch main has been updated by rhurlin: URL: https://cgit.FreeBSD.org/ports/commit/?id=c3c3d04764ff6d1999b34cb807383999babf7bda commit c3c3d04764ff6d1999b34cb807383999babf7bda Author: Jesse Smith AuthorDate: 2021-09-10 05:39:54 +0000 Commit: Rainer Hurling CommitDate: 2021-09-10 13:21:52 +0000 ftp/bftpd: Remove unnecessary patchfile While here, pet portlint and remove unneeded post-patch. PR: 258395 --- ftp/bftpd/Makefile | 5 ++--- ftp/bftpd/files/patch-commands.c | 27 --------------------------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/ftp/bftpd/Makefile b/ftp/bftpd/Makefile index 28e190bda7dc..84c841887d55 100644 --- a/ftp/bftpd/Makefile +++ b/ftp/bftpd/Makefile @@ -10,13 +10,13 @@ COMMENT= Very configurable FTP server that can do chroot easily LICENSE= GPLv2 +USES= autoreconf gmake + GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-pam # Fix build with clang 11 CFLAGS+= -fcommon -USES= autoreconf gmake - WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= sbin/${PORTNAME} etc/${PORTNAME}.conf.sample \ @@ -29,7 +29,6 @@ post-patch: @${REINPLACE_CMD} -e 's,/etc/bftpd.conf,${PREFIX}/etc/bftpd.conf,' \ ${WRKSRC}/mypaths.h @${REINPLACE_CMD} -e 's, -ldl,,g' ${WRKSRC}/configure.in - @${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -r do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/ diff --git a/ftp/bftpd/files/patch-commands.c b/ftp/bftpd/files/patch-commands.c deleted file mode 100644 index ae750c46d425..000000000000 --- a/ftp/bftpd/files/patch-commands.c +++ /dev/null @@ -1,27 +0,0 @@ ---- commands.c.orig 2011-05-20 14:39:41.000000000 -0300 -+++ commands.c 2011-05-20 14:40:45.000000000 -0300 -@@ -18,9 +18,6 @@ - #ifdef HAVE_SYS_SOCKET_H - #include - #endif --#ifdef HAVE_ASM_SOCKET_H --#include --#endif - #ifdef HAVE_NETINET_IN_H - #include - #endif -@@ -35,12 +32,8 @@ - #endif - #include - #include --#ifdef HAVE_WAIT_H --# include --#else --# ifdef HAVE_SYS_WAIT_H --# include --# endif -+#ifdef HAVE_SYS_WAIT_H -+#include - #endif - - #include "mystring.h"