Date: Tue, 28 Mar 2006 09:40:04 +0200 From: Fredrik Lindberg <fli@shapeshifter.se> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/95028: Update port: security/bioapi Teach mod_install to not remove shared objects on de-install Message-ID: <20060328074004.6F1FF1A751@mx1.h3q.net> Resent-Message-ID: <200603280750.k2S7oCkI060347@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060328074004.6F1FF1A751>