Subject: pkg/27116: devel/glib needs to correct permission of libgmodule.so.13.10
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: pkgsrc-bugs
Date: 10/03/2004 02:30:49
>Number:         27116
>Category:       pkg
>Synopsis:       devel/glib needs to correct permission of libgmodule.so.13.10
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 02 17:43:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hiramatsu Yoshifumi
>Release:        SFU 3.5
>Organization:
	
>Environment:
	
	
System: Interix nile 3.5 SP-8.0.1969.1 x86 AMD_x86_Family15_Model12_Stepping0
Architecture: i386
Machine: i386
>Description:
On Interix, executing programs those depend on devel/glib fails
because devel/glib installs libgmodule with mode 444.

>How-To-Repeat:
bmake install in x11/gtk. It fails because devel/glib doesn't work.

>Fix:

diff -buNr glib.orig/distinfo glib/distinfo
--- glib.orig/distinfo	Sun Oct  3 01:04:11 2004
+++ glib/distinfo	Sun Oct  3 01:18:07 2004
@@ -4,7 +4,7 @@
 Size (glib-1.2.10.tar.gz) = 421480 bytes
 SHA1 (patch-aa) = e9c6046c3766d74919bb03f12cd8e9e32cd4f2f9
 SHA1 (patch-ab) = 56e5035d8c144733752e38e0c1e790dfe44f87b7
-SHA1 (patch-ac) = ab176e926d9fee6d463096ad3853e06718129acc
+SHA1 (patch-ac) = 6a444c0b8e6a099df246d9f3de828c6dc20faae8
 SHA1 (patch-ad) = a7c10916ccaef52a62415d129060a6dddbc5fbd8
 SHA1 (patch-ae) = 222a1f4c470fd1123deb3b4dd918b036b3607e59
 SHA1 (patch-af) = 8fa1db64eb7a44e83e9e2ad483b12cf9fe50341e
diff -buNr glib.orig/patches/patch-ac glib/patches/patch-ac
--- glib.orig/patches/patch-ac	Sun Oct  3 01:04:11 2004
+++ glib/patches/patch-ac	Sun Oct  3 01:18:07 2004
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.5 1999/10/22 23:34:23 tron Exp $
+$NetBSD$
 
---- gmodule/Makefile.in.orig	Wed Oct 20 19:55:27 1999
-+++ gmodule/Makefile.in	Wed Oct 20 19:55:59 1999
+--- gmodule/Makefile.in.orig	Fri Mar 16 00:48:51 2001
++++ gmodule/Makefile.in	Sun Oct  3 01:13:11 2004
 @@ -109,7 +109,7 @@
  lib_LTLIBRARIES = libgmodule.la libgplugin_a.la libgplugin_b.la
  
@@ -11,3 +11,14 @@
  
  
  libgmodule_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
+@@ -417,8 +417,8 @@
+ 	$(mkinstalldirs) $(DESTDIR)$(libdir)
+ 	@list='libgmodule.la'; for p in $$list; do \
+ 	 if test -f $$p; then \
+-	  echo "$(LIBTOOL)  --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
+-	  $(LIBTOOL)  --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
++	  echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
++	  $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
+ 	 else :; fi; \
+ 	done
+ 
>Release-Note:
>Audit-Trail:
>Unformatted: