From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 3 22:20:06 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B14D8733 for ; Mon, 3 Jun 2013 22:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 985E01B61 for ; Mon, 3 Jun 2013 22:20:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r53MK6Eg052834 for ; Mon, 3 Jun 2013 22:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r53MK6f1052833; Mon, 3 Jun 2013 22:20:06 GMT (envelope-from gnats) Resent-Date: Mon, 3 Jun 2013 22:20:06 GMT Resent-Message-Id: <201306032220.r53MK6f1052833@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rene Ladan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 055A9469 for ; Mon, 3 Jun 2013 22:12:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id D243D1AD4 for ; Mon, 3 Jun 2013 22:12:05 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r53MC561012300 for ; Mon, 3 Jun 2013 22:12:05 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r53MC5NN012299; Mon, 3 Jun 2013 22:12:05 GMT (envelope-from nobody) Message-Id: <201306032212.r53MC5NN012299@oldred.freebsd.org> Date: Mon, 3 Jun 2013 22:12:05 GMT From: Rene Ladan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/179279: security/scannedonly: remove support for expired net/samba34 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 22:20:06 -0000 >Number: 179279 >Category: ports >Synopsis: security/scannedonly: remove support for expired net/samba34 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 03 22:20:06 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Rene Ladan >Release: FreeBSD 9.1 >Organization: >Environment: Ports Tree r319807 >Description: - Remove support for expired net/samba34 by deleting the if ${SAMBA_PORT}==net/samba34 blocks. - Convert Makefile header. - Fix typo in pkg-message >How-To-Repeat: `Tools/scripts/rmport net/samba34` mentions this port. >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 319807) +++ Makefile (working copy) @@ -1,9 +1,5 @@ -# New ports collection makefile for: scannedonly -# Date created: 20 January 2011 -# Whom: girald@etcom.ufrgs.br -# +# Created by: girald@etcom.ufrgs.br # $FreeBSD$ -# PORTNAME= scannedonly PORTVERSION= 0.21 @@ -37,40 +33,12 @@ SAMBA_PORT?= net/samba${SAMBA_VERSION:C/([0-9]*)\.([0-9]*).*/\1\2/} -# If samba34 is installed, we need the sources from samba. -# We don't if samba3[56] is installed. -# http://olivier.sessink.nl/scannedonly/faq.html -.if ${SAMBA_PORT} == net/samba34 -BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${SAMBA_PORT}:configure -CONFIGURE_ARGS+=\ - --with-samba-source=${WRKDIR}/../../../${SAMBA_PORT}/work/samba-${SAMBA_VERSION}/source3 -USE_AUTOTOOLS= autoconf -.endif - PLIST_FILES= sbin/scannedonlyd_clamav \ bin/scannedonly_prescan -.if ${SAMBA_PORT} == net/samba34 -PLIST_FILES+= lib/samba/vfs/scannedonly.so -PLIST_DIRS= lib/samba/vfs \ - lib/samba -.endif MAN8= ${PORTNAME}_prescan.8 \ ${PORTNAME}d_clamav.8 MANCOMPRESSED= yes -# Hackery to avoid death for non-obvious reasons if detected -# SAMBA_VERSION doesn't match the PORTVERSION of samba in ports -pre-everything:: -.if ${SAMBA_PORT} == net/samba34 - @if [ "$$(${MAKE} -C ${PORTSDIR}/${SAMBA_PORT} -V PORTVERSION)" \ - != "${SAMBA_VERSION}" ] ; \ - then ${ECHO_MSG} -n "==> Bailing. Version of Samba on system is "; \ - ${ECHO_MSG} "${SAMBA_VERSION}, which does not match" ; \ - ${ECHO_MSG} " that in ports. Please update Samba and try again." ; \ - ${FALSE} ; \ - fi -.endif - post-patch: @${REINPLACE_CMD} \ -e 's|/var/lib/scannedonly/scan|/var/run/scannedonlyd.sock|g' \ Index: pkg-message =================================================================== --- pkg-message (revision 319807) +++ pkg-message (working copy) @@ -1,7 +1,7 @@ ************************************************** * WARNING! * * * -* Make sure you've enough socker buffer size. * +* Make sure you've enough socket buffer size. * * Consider increasing kern.ipc.maxsockbuf adding * * at least the following sysctl setting to * * /etc/sysctl.conf: * >Release-Note: >Audit-Trail: >Unformatted: