From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 3 05:20:10 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57E541065695 for ; Wed, 3 Nov 2010 05:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 94AD38FC17 for ; Wed, 3 Nov 2010 05:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA35K9BV082022 for ; Wed, 3 Nov 2010 05:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA35K9pT082021; Wed, 3 Nov 2010 05:20:09 GMT (envelope-from gnats) Resent-Date: Wed, 3 Nov 2010 05:20:09 GMT Resent-Message-Id: <201011030520.oA35K9pT082021@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, NAKAJI Hiroyuki Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C736106566C for ; Wed, 3 Nov 2010 05:18:06 +0000 (UTC) (envelope-from nakaji@www.heimat.gr.jp) Received: from www.heimat.gr.jp (www.heimat.gr.jp [60.32.13.194]) by mx1.freebsd.org (Postfix) with ESMTP id B9D658FC12 for ; Wed, 3 Nov 2010 05:18:05 +0000 (UTC) Received: from www.heimat.gr.jp (localhost [127.0.0.1]) by www.heimat.gr.jp (8.14.4/8.14.4) with ESMTP id oA34cxbD097359 for ; Wed, 3 Nov 2010 13:38:59 +0900 (JST) (envelope-from nakaji@www.heimat.gr.jp) Received: (from nakaji@localhost) by www.heimat.gr.jp (8.14.4/8.14.4/Submit) id oA34cwV6097356; Wed, 3 Nov 2010 13:38:58 +0900 (JST) (envelope-from nakaji) Message-Id: <201011030438.oA34cwV6097356@www.heimat.gr.jp> Date: Wed, 3 Nov 2010 13:38:58 +0900 (JST) From: NAKAJI Hiroyuki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/151907: [NEW PORT] security/sophie: A daemon which uses 'libsavi' library from Sophos X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 05:20:10 -0000 >Number: 151907 >Category: ports >Synopsis: [NEW PORT] security/sophie: A daemon which uses 'libsavi' library from Sophos >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: Wed Nov 03 05:20:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: NAKAJI Hiroyuki >Release: FreeBSD 7.3-STABLE amd64 >Organization: >Environment: System: FreeBSD www.heimat.gr.jp 7.3-STABLE FreeBSD 7.3-STABLE #41: Tue May 25 00:21:47 JST 2010 >Description: Sophie is a daemon which uses 'libsavi' library from Sophos anti virus vendor. WWW: http://www.sophos.com/ Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- sophie-3.05.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sophie # sophie/pkg-descr # sophie/Makefile # sophie/pkg-plist # sophie/files # sophie/files/patch-sav_if:s_comput.h # sophie/files/sophie.in # sophie/distinfo # echo c - sophie mkdir -p sophie > /dev/null 2>&1 echo x - sophie/pkg-descr sed 's/^X//' >sophie/pkg-descr << '3cb2c10b3de34a3d58c47a7a146d5918' XSophie is a daemon which uses 'libsavi' library from Sophos anti virus vendor. X XWWW: http://www.sophos.com/ 3cb2c10b3de34a3d58c47a7a146d5918 echo x - sophie/Makefile sed 's/^X//' >sophie/Makefile << 'd6f72b4397f6c876ca26d7059d2e9d7f' X# New ports collection makefile for: sophie X# Date created: 2010-11-03 X# Whom: NAKAJI Hiroyuki X# X# $FreeBSD$ X# X XPORTNAME= sophie XPORTVERSION= 3.05 XCATEGORIES= security XMASTER_SITES= http://www.clanfield.info/sophie/ X XMAINTAINER= nakaji@jp.freebsd.org XCOMMENT= A daemon which uses 'libsavi' library from Sophos X XGNU_CONFIGURE= yes XUSE_RC_SUBR= ${PORTNAME} X XMAN8= ${PORTNAME}.8 X X.if (WITH_NETWORK) XCONFIGURE_ARGS+= --enable-net X.endif X XONLY_FOR_ARCHS= i386 amd64 X X.include X X.if exists(${LOCALBASE}/lib/libsavi.so.3) && !exists(${LOCALBASE}/lib/libsavi.so) XFAKELIBDIR=${WRKDIR}/lib XCONFIGURE_ARGS+=LDDLFLAGS='-shared -L ${FAKELIBDIR}' X.elif !exists(${LOCALBASE}/lib/libsavi.so) XIGNORE= please install Sophos Anti-Virus first X.endif X X.if defined(FAKELIBDIR) Xpre-configure: X ${MKDIR} ${FAKELIBDIR} X ${LN} -s ${LOCALBASE}/lib/libsavi.so.3 ${FAKELIBDIR}/libsavi.so X.endif X Xpost-configure: X @${REINPLACE_CMD} -e 's|/etc/sophie.savi|${PREFIX}/etc/sophie.savi|g' \ X ${WRKSRC}/sophie.cfg Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg ${PREFIX}/etc/${PORTNAME}.cfg.sample X ${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.savi ${PREFIX}/etc/${PORTNAME}.savi.sample X.if !defined(NO_INSTALL_MANPAGES) X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MAN8PREFIX}/man/man8 X.endif X X.include d6f72b4397f6c876ca26d7059d2e9d7f echo x - sophie/pkg-plist sed 's/^X//' >sophie/pkg-plist << 'fdf6c9176fcbe443a01f24554ae34187' X@comment $FreeBSD$ Xbin/sophie Xetc/sophie.cfg.sample Xetc/sophie.savi.sample fdf6c9176fcbe443a01f24554ae34187 echo c - sophie/files mkdir -p sophie/files > /dev/null 2>&1 echo x - sophie/files/patch-sav_if:s_comput.h sed 's/^X//' >sophie/files/patch-sav_if:s_comput.h << '43c390a3c8d9839cd7ded57f07bb0539' X--- sav_if/s_comput.h.orig 2009-09-18 21:22:27.000000000 +0900 X+++ sav_if/s_comput.h 2009-09-18 21:22:52.000000000 +0900 X@@ -642,7 +642,7 @@ X * Hardware platform. X */ X X-# if defined(__i386__) X+# if defined(__i386__) || defined(__amd64__) X # define __SOPHOS_I386__ X # elif (defined(__hppa__) && defined(_PA_RISC1_1)) X # define __SOPHOS_HP_PA__ 43c390a3c8d9839cd7ded57f07bb0539 echo x - sophie/files/sophie.in sed 's/^X//' >sophie/files/sophie.in << '90c54a7c507a1971bdd930a983d897b7' X#!/bin/sh X# X# $FreeBSD$ X# X# X# PROVIDE: sophie X# REQUIRE: NETWORKING SERVERS DAEMON X# BEFORE: amavisd X# KEYWORD: shutdown X# X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf X# to enable this service: X# X#sophie_enable="YES" X# X X. /etc/rc.subr X Xname=sophie Xrcvar=$(set_rcvar) X Xload_rc_config ${name} X X# Defaults X: ${sophie_enable:="NO"} X# Requirements Xrequired_files="%%PREFIX%%/etc/sophie.cfg" X Xcommand=%%PREFIX%%/bin/${name} Xcommand_args="-D -C %%PREFIX%%/etc/sophie.cfg" X Xrun_rc_command "$1" 90c54a7c507a1971bdd930a983d897b7 echo x - sophie/distinfo sed 's/^X//' >sophie/distinfo << '5743c90f4f37d0ad281fc307a55d5f3f' XSHA256 (sophie-3.05.tar.gz) = 4531f3a4bea1ad1a936e3beda0dbd2fcdf5f022e34e0b249c2ee9bd26e480021 XSIZE (sophie-3.05.tar.gz) = 190674 5743c90f4f37d0ad281fc307a55d5f3f exit --- sophie-3.05.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: