From owner-freebsd-ports@FreeBSD.ORG Fri Jan 29 22:49:52 2010 Return-Path: Delivered-To: FreeBSD-Ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 128FC1065694 for ; Fri, 29 Jan 2010 22:49:52 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f178.google.com (mail-iw0-f178.google.com [209.85.223.178]) by mx1.freebsd.org (Postfix) with ESMTP id B1C0B8FC1C for ; Fri, 29 Jan 2010 22:49:51 +0000 (UTC) Received: by iwn8 with SMTP id 8so2550933iwn.13 for ; Fri, 29 Jan 2010 14:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type:content-id; bh=uxiMrIyEO3YZU4MaeBt4WtouGEmaZkmTiZm9GP63Q3U=; b=TawflG8onoo401JWtnmVVmkxapVru5AhNccl6D63qeHffCUs8z/twHSUeuZRCHoqNM CEDc59lC6S3AD2IazTVXqFEMIS5YtKwqML9+ZVcfPqz3vMSvej66MpfeLJC9pKQFEYbi pPog5QCTwXDuP+mtucsSFDQhO81Q+onlcfklg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type:content-id; b=IZJHgQfcX+TnUx7e1aeNJwoDSR7s/nQhGIpiCwnNbNyj1AyHYbpXkRm398yagayahj NUOFEv0QMN060JWhQbbOAs/8wdrmQavSOVmESp9aQwFqhNT0IyAOIVZTD4OJmjk05dU/ m0MUlvbjiHDJ8+yv+xzKC474f21Pzj02Evwic= Received: by 10.231.166.68 with SMTP id l4mr2270368iby.40.1264805390918; Fri, 29 Jan 2010 14:49:50 -0800 (PST) Received: from centel.dataix.local (ppp-21.252.dialinfree.com [209.172.21.252]) by mx.google.com with ESMTPS id 22sm2352644iwn.12.2010.01.29.14.49.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 29 Jan 2010 14:49:49 -0800 (PST) Sender: "J. Hellenthal" Date: Fri, 29 Jan 2010 17:49:40 -0500 From: jhell To: FreeBSD Ports Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1091451658-827513871-1264803104=:3249" Content-ID: Cc: tdb@FreeBSD.org Subject: Patch to fix security/f-prot periodic annoyance. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2010 22:49:52 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1091451658-827513871-1264803104=:3249 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed Content-ID: The following patch "commented (#) in-line and attached" fixes the following annoyances. Example output that it fixes: Checking for denied zone transfers (AXFR and IXFR): Updating f-prot definitions: Error: Network - Could not resolve host failed. Everything else in periodic reports are spaced and default to off/no for ports that are installed. -: ${fpupdate_enable="YES"} # Do not assume the user wants this on!. +: ${fpupdate_enable:="NO"} case "$fpupdate_enable" in [Yy][Ee][Ss]) # Add to make sure we do not look like a failed zone # transfer. This can be confusing. + echo echo -n "Updating f-prot definitions: " - /usr/local/bin/fpupdate >/dev/null # If we are echoing our own output then we do not need any # feedback from the program whatsoever. This causes an # unseen line break to happen in the output above. + /usr/local/bin/fpupdate >>/dev/null 2>&1 if [ $? = 0 ]; then echo "done." rc=0 Best regards. -- jhell --1091451658-827513871-1264803104=:3249 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=900.fpupdate.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME=900.fpupdate.patch LS0tIDkwMC5mcHVwZGF0ZS5vcmlnCTIwMTAtMDEtMjkgMTY6NDY6MTEuODYx MzU2Mzg1IC0wNTAwDQorKysgOTAwLmZwdXBkYXRlCTIwMTAtMDEtMjkgMTY6 NDg6MDguODY4NTM0NjczIC0wNTAwDQpAQCAtMTAsMTIgKzEwLDEzIEBADQog CXNvdXJjZV9wZXJpb2RpY19jb25mcw0KIGZpDQogDQotOiAke2ZwdXBkYXRl X2VuYWJsZT0iWUVTIn0NCis6ICR7ZnB1cGRhdGVfZW5hYmxlOj0iTk8ifQ0K IA0KIGNhc2UgIiRmcHVwZGF0ZV9lbmFibGUiIGluDQogCVtZeV1bRWVdW1Nz XSkNCisJCWVjaG8NCiAJCWVjaG8gLW4gIlVwZGF0aW5nIGYtcHJvdCBkZWZp bml0aW9uczogIg0KLQkJL3Vzci9sb2NhbC9iaW4vZnB1cGRhdGUgPi9kZXYv bnVsbA0KKwkJL3Vzci9sb2NhbC9iaW4vZnB1cGRhdGUgPj4vZGV2L251bGwg Mj4mMQ0KIAkJaWYgWyAkPyA9IDAgXTsgdGhlbg0KIAkJCWVjaG8gImRvbmUu Ig0KIAkJCXJjPTANCg== --1091451658-827513871-1264803104=:3249--