Subject: Re: make package vs pkg_tarup
To: Stoned Elipot <seb@starfleet.univ-paris7.fr>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 02/27/2003 14:07:05
On Thu, 27 Feb 2003, Stoned Elipot wrote:
> The only fix I can see is to make pkg_add installing the INSTALL script
> in ${PKG_DBDIR}/${PKG}.
>
> Comments ?
I thin kyou're right. The patch below may fix this (untested!)
- Hubert
Index: perform.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/pkg_install/add/perform.c,v
retrieving revision 1.77
diff -u -r1.77 perform.c
--- perform.c 2003/01/10 11:55:44 1.77
+++ perform.c 2003/02/27 13:06:16
@@ -563,6 +649,8 @@
}
/* Make sure pkg_info can read the entry */
vsystem("%s a+rx %s", CHMOD_CMD, LogDir);
+ if (fexists(INSTALL_FNAME))
+ move_file(".", INSTALL_FNAME, LogDir);
if (fexists(DEINSTALL_FNAME))
move_file(".", DEINSTALL_FNAME, LogDir);
if (fexists(REQUIRE_FNAME))
--
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/