From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 28 07:50:15 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08E3216A425 for ; Tue, 28 Mar 2006 07:50:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3789E43D55 for ; Tue, 28 Mar 2006 07:50:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2S7oDGY060348 for ; Tue, 28 Mar 2006 07:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2S7oCkI060347; Tue, 28 Mar 2006 07:50:12 GMT (envelope-from gnats) Resent-Date: Tue, 28 Mar 2006 07:50:12 GMT Resent-Message-Id: <200603280750.k2S7oCkI060347@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, Fredrik Lindberg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E3F816A420 for ; Tue, 28 Mar 2006 07:40:17 +0000 (UTC) (envelope-from fli@shapeshifter.se) Received: from mx1.h3q.net (manticore.shapeshifter.se [212.37.5.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3138B43D48 for ; Tue, 28 Mar 2006 07:40:07 +0000 (GMT) (envelope-from fli@shapeshifter.se) Received: from localhost (localhost [127.0.0.1]) by mx1.h3q.net (Postfix) with ESMTP id D0D151A7CF for ; Tue, 28 Mar 2006 09:40:05 +0200 (CEST) Received: from mx1.h3q.net ([127.0.0.1]) by localhost (mx1.h3q.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21415-10 for ; Tue, 28 Mar 2006 09:40:04 +0200 (CEST) Received: from shapeshifter.se (sto-nat.se.tangram-group.net [212.37.5.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.h3q.net (Postfix) with ESMTP id 6F1FF1A751 for ; Tue, 28 Mar 2006 09:40:04 +0200 (CEST) Received: by shapeshifter.se (sSMTP sendmail emulation); Tue, 28 Mar 2006 09:40:04 +0200 Message-Id: <20060328074004.6F1FF1A751@mx1.h3q.net> Date: Tue, 28 Mar 2006 09:40:04 +0200 From: Fredrik Lindberg To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/95028: Update port: security/bioapi Teach mod_install to not remove shared objects on de-install 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: Tue, 28 Mar 2006 07:50:15 -0000 >Number: 95028 >Category: ports >Synopsis: Update port: security/bioapi Teach mod_install to not remove shared objects on de-install >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: Tue Mar 28 07:50:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Fredrik Lindberg >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD genesis.int.shapeshifter.se 7.0-CURRENT FreeBSD 7.0-CURRENT #19: Thu Mar 16 10:20:26 CET 2006 root@genesis.int.shapeshifter.se:/usr/obj/usr/src/sys/GENESIS i386 >Description: Teach the mod_install utility to not remove the shared object when de-registering a BSP module from the BioAPI registry. This is needed when adding BSP modules to the ports tree, as both the ports system and mod_install will try to remove the file on de-install. >How-To-Repeat: >Fix: --- bioapi-200603028.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/bioapi/Makefile,v retrieving revision 1.4 diff -u -d -r1.4 Makefile --- Makefile 23 Feb 2006 10:38:52 -0000 1.4 +++ Makefile 28 Mar 2006 07:15:36 -0000 @@ -7,7 +7,7 @@ PORTNAME= bioapi PORTVERSION= 1.2.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://www.qrivy.net/~michael/blua/bioapi/ \ http://shapeshifter.se/pub/bioapi/ Index: files/patch-apps-mod_install-install.c =================================================================== RCS file: /home/ncvs/ports/security/bioapi/files/patch-apps-mod_install-install.c,v retrieving revision 1.1 diff -u -d -r1.1 patch-apps-mod_install-install.c --- files/patch-apps-mod_install-install.c 15 Jan 2006 09:29:14 -0000 1.1 +++ files/patch-apps-mod_install-install.c 28 Mar 2006 07:15:36 -0000 @@ -1,5 +1,5 @@ --- apps/mod_install/install.c Wed Jun 8 02:51:04 2005 -+++ apps/mod_install/install.c Fri Nov 25 18:08:54 2005 ++++ apps/mod_install/install.c Tue Mar 28 08:59:05 2006 @@ -370,8 +370,13 @@ #if defined (LINUX) || defined (SOLARIS) if ( ( Action == INSTALL_ACTION_INSTALL ) || ( Action == INSTALL_ACTION_REFRESH ) ) @@ -16,3 +16,14 @@ } if ( Action == INSTALL_ACTION_UNINSTALL ) { +@@ -496,10 +501,6 @@ + } + else if ( Action == INSTALL_ACTION_UNINSTALL ) + { +-/* Linux-Port: Added the Linux branch */ +-#if defined (LINUX) || defined (SOLARIS) +- DeleteFile(szDstPath); +-#endif + printf( "Module uninstalled successfully.\n" ); + } + else if ( Action == INSTALL_ACTION_REFRESH ) --- bioapi-200603028.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: