ports/100039: linux_base-fc4 not upgradable with portupgrade -s
Boris Samorodov
bsam at ipt.ru
Mon Jul 10 21:20:30 UTC 2006
The following reply was made to PR ports/100039; it has been noted by GNATS.
From: Boris Samorodov <bsam at ipt.ru>
To: bug-followup at FreeBSD.org, freebsd-gnats at stsp.in-berlin.de
Cc:
Subject: Re: ports/100039: linux_base-fc4 not upgradable with portupgrade -s
Date: Tue, 11 Jul 2006 01:11:30 +0400
Please, check out if the patch helps:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/linux_base-fc4/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile 9 Jul 2006 20:50:07 -0000 1.15
+++ Makefile 10 Jul 2006 21:06:37 -0000
@@ -172,6 +172,9 @@
#
@${MV} ${WRKSRC}/etc/nsswitch.conf ${WRKSRC}/etc/nsswitch.conf.dist
+# Fix usr/bin/*db4* permissions to allow "portupgrade -s"
+ @${CHMOD} u+w ${WRKSRC}/usr/bin/*db4*
+
@${FIND} ${WRKSRC}/bin ${WRKSRC}/sbin/ ${WRKSRC}/usr/bin \
${WRKSRC}/usr/sbin -type f -print0 | ${XARGS} -0 ${FILE} \
| ${GREP} ELF | ${CUT} -d : -f 1 \
WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
More information about the freebsd-emulation
mailing list