From owner-freebsd-ports Sun Jan 6 23:16:36 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.chesneycorp.com (sdsl-216-36-93-161.dsl.lax.megapath.net [216.36.93.161]) by hub.freebsd.org (Postfix) with SMTP id 1580137B402 for ; Sun, 6 Jan 2002 23:16:34 -0800 (PST) Received: (qmail 32297 invoked from network); 7 Jan 2002 07:16:33 -0000 Received: from unknown (HELO mark) (192.168.1.14) by 192.168.1.2 with SMTP; 7 Jan 2002 07:16:33 -0000 From: "Mark Chesney" To: Cc: Subject: FreeBSD Port: pure-ftpd-1.0.7 Date: Mon, 7 Jan 2002 00:16:29 -0700 Organization: Chesney Corporation Message-ID: <025801c1974b$3a45f850$0e01a8c0@mark> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, This is my suggested patch to the port Makefile to give the user options to make the FTP server look more professional. Mark --- Makefile.orig Fri Dec 28 19:23:51 2001 +++ Makefile Mon Jan 7 00:05:14 2002 @@ -65,6 +65,16 @@ CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib .endif +# disable banner? +.if defined(WITHOUT_BANNER) +CONFIGURE_ARGS+= --without-banner +.endif + +# disable humor? +.if defined(WITHOUT_HUMOR) +CONFIGURE_ARGS+= --without-humor +.endif + MAN8= pure-ftpd.8 pure-ftpwho.8 pure-mrtginfo.8 pure-statsdecode.8 \ pure-uploadscript.8 pure-pw.8 pure-pwconvert.8 pure-quotacheck.8 @@ -100,6 +110,8 @@ support, lang is one of" @${ECHO} " english, german, romanian, french, french-funny, polish, spanish," @${ECHO} " dutch, italian, brazilian-portuguese, danish, slovak, korean or swedish." + @${ECHO} "WITHOUT_BANNER=1 - Don't display an initial banner" + @${ECHO} "WITHOUT_HUMOR=1 - Disable humor" @${ECHO} post-install: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message