From owner-freebsd-ports@FreeBSD.ORG Mon Jan 9 21:11:47 2012 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 3CB13106567F for ; Mon, 9 Jan 2012 21:11:47 +0000 (UTC) (envelope-from michael.scheidell@secnap.com) Received: from mx2.secnap.com.ionspam.net (mx2.secnap.com.ionspam.net [216.134.223.54]) by mx1.freebsd.org (Postfix) with ESMTP id 02B508FC17 for ; Mon, 9 Jan 2012 21:11:46 +0000 (UTC) Received: from mx2.secnap.com.ionspam.net (unknown [10.71.0.54]) by mx2.secnap.com.ionspam.net (Postfix) with ESMTP id 5EAD0D23CD4 for ; Mon, 9 Jan 2012 16:11:46 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.com; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id; s=dkim; t=1326143505; x=1327957905; bh=It NAYzspSUTRJ25xuiWY7SrG4otw2eJSF/RZL/6P+gY=; b=hAJNIKtT2eK/WVYCi2 OrXLWkgbdaJfWNZfugaYYpm2VloktvKiz/oXYZvZVDa8ltKZDyuyy+g98AYm4l0n lgPelgqY9oavitA6YMunA95ECGw7rVsX7sihBWVy0mNgcuKXck38VFhepOhecIv/ aqscQ15G3itQToqgyqPOHNlGY= X-Amavis-Modified: Mail body modified (using disclaimer) - mx2.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.17 at mx2.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (unknown [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx2.secnap.com.ionspam.net (Postfix) with ESMTPS id A3590D23C83 for ; Mon, 9 Jan 2012 16:11:45 -0500 (EST) Received: from macintosh.secnap.com (10.70.3.3) by USBCTDC001.secnap.com (10.70.1.1) with Microsoft SMTP Server (TLS) id 14.0.722.0; Mon, 9 Jan 2012 16:11:45 -0500 Message-ID: <4F0B5810.6030109@secnap.com> Date: Mon, 9 Jan 2012 16:11:44 -0500 From: Michael Scheidell User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: References: <4F0B4E5F.8040802@secnap.com> <4F0B56BC.6080601@yandex.ru> In-Reply-To: <4F0B56BC.6080601@yandex.ru> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: archivers/zip in 9.x: 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: Mon, 09 Jan 2012 21:11:47 -0000 On 1/9/12 4:06 PM, Ruslan Mahmatkhanov wrote: >> (at what OSVERSION was zip included in the base?) >> >> > > > unzip, not zip. I believe it should be handled in bsd.port.mk like it > done for USE_XZ. Something like: > > .if defined(USE_ZIP) && ${OSVERSION} < 900000 > EXTRACT_DEPENDS+= > ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip > .endif > > Correct OSVERSION should be used instead of 900000. There is also > should be some logic for UNZIP_CMD. > any idea what OSVERSION that would be? < 900045 ? EXTRACT_DEPENDS.. yes, forgot. because, TODAY: make -V OSVERSION 900044 grep ZIP /usr/ports/Mk/bsd.* /usr/ports/Mk/bsd.commands.mk:UNZIP_CMD?= ${LOCALBASE}/bin/unzip -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 >*| *SECNAP Network Security Corporation * Best Mobile Solutions Product of 2011 * Best Intrusion Prevention Product * Hot Company Finalist 2011 * Best Email Security Product * Certified SNORT Integrator ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ ______________________________________________________________________