From marcin@ghost.pnet.one.pl  Sun Jul  2 21:44:00 2006
Return-Path: <marcin@ghost.pnet.one.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 72D7116A47B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 Jul 2006 21:44:00 +0000 (UTC)
	(envelope-from marcin@ghost.pnet.one.pl)
Received: from ghost.pnet.one.pl (xdsl-10260.wroclaw.dialog.net.pl [84.40.242.20])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DE8B943FD9
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 Jul 2006 21:43:57 +0000 (GMT)
	(envelope-from marcin@ghost.pnet.one.pl)
Received: from ghost.pnet.one.pl (smmsp@localhost [127.0.0.1])
	by ghost.pnet.one.pl (8.13.6/8.13.6) with ESMTP id k62LhmmQ096592;
	Sun, 2 Jul 2006 23:43:48 +0200 (CEST)
	(envelope-from marcin@ghost.pnet.one.pl)
Received: (from root@localhost)
	by ghost.pnet.one.pl (8.13.6/8.13.6/Submit) id k62LhmXo096591;
	Sun, 2 Jul 2006 23:43:48 +0200 (CEST)
	(envelope-from marcin)
Message-Id: <200607022143.k62LhmXo096591@ghost.pnet.one.pl>
Date: Sun, 2 Jul 2006 23:43:48 +0200 (CEST)
From: Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: alex@BSDGuru.org
Subject: [PATCH] polish/libgadu: file conflicts with polish/ekg
X-Send-Pr-Version: 3.113
X-GNATS-Notify: alex@BSDGuru.org

>Number:         99727
>Category:       ports
>Synopsis:       [PATCH] polish/libgadu: file conflicts with polish/ekg
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 02 21:50:16 GMT 2006
>Closed-Date:    Fri Jul 28 17:17:37 GMT 2006
>Last-Modified:  Fri Jul 28 17:17:37 GMT 2006
>Originator:     Marcin Wisnicki
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD ghost.pnet.one.pl 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jun 24 06:58:43 CEST 2006
>Description:
This is related to bug http://www.freebsd.org/cgi/query-pr.cgi?pr=99725

Following patch adds conflict with older versions of ekg to prevent overwrite
of libgadu.so. It is assumed that ports/99725 will be applied.

Additionally I hacked Makefile to install correct files instead of playing
with them in post-install stage.

Added file(s):
- files/patch-Makefile.in

Port maintainer (alex@BSDGuru.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- pl-libgadu-20051229_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/polish/libgadu.orig/Makefile /usr/ports/polish/libgadu/Makefile
--- /usr/ports/polish/libgadu.orig/Makefile	Sat May 13 03:03:09 2006
+++ /usr/ports/polish/libgadu/Makefile	Sun Jul  2 21:05:43 2006
@@ -2,17 +2,19 @@
 # Date created:		29 December 2005
 # Whom:			Aleksander Fafula <alex@BSDGuru.org>
 #
-# $FreeBSD: /repoman/r/pcvs/ports/polish/libgadu/Makefile,v 1.3 2006/05/13 01:03:09 edwin Exp $
+# $FreeBSD: ports/polish/libgadu/Makefile,v 1.3 2006/05/13 01:03:09 edwin Exp $
 
 PORTNAME=	libgadu
 PORTVERSION=	20051229
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	polish net
 MASTER_SITES=	http://bsdguru.org/distfiles/
 
 MAINTAINER=	alex@BSDGuru.org
 COMMENT=	This library is used by many IMs with Gadu-Gadu support
 
+CONFLICTS=	pl-ekg-1.[0-5]* pl-ekg-1.6,2
+
 USE_GMAKE=		yes
 USE_GNOME=		gnomehack pkgconfig
 USE_AUTOTOOLS=		aclocal:15 autoheader:259 autoconf:259
@@ -21,10 +23,5 @@
 CONFIGURE_ARGS=		--enable-shared --disable-static --without-openssl
 
 INSTALLS_SHLIB=		yes
-
-post-install:
-	${RM} ${PREFIX}/lib/libgadu.so ${PREFIX}/lib/libgadu.so.3
-	${MV} ${PREFIX}/lib/libgadu.so.3.3 ${PREFIX}/lib/libgadu.so.3
-	${LN} -s ${PREFIX}/lib/libgadu.so.3 ${PREFIX}/lib/libgadu.so
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/polish/libgadu.orig/files/patch-Makefile.in /usr/ports/polish/libgadu/files/patch-Makefile.in
--- /usr/ports/polish/libgadu.orig/files/patch-Makefile.in	Thu Jan  1 01:00:00 1970
+++ /usr/ports/polish/libgadu/files/patch-Makefile.in	Sun Jul  2 19:41:31 2006
@@ -0,0 +1,27 @@
+--- lib/Makefile.in.orig	Sat Jun 25 08:41:07 2005
++++ lib/Makefile.in	Sun Jul  2 19:41:00 2006
+@@ -27,7 +27,7 @@
+ 
+ SHAREDMM = libgadu.so
+ SHAREDM = $(SHAREDMM).$(VERSION_MAJOR)
+-SHARED = $(SHAREDM).$(VERSION_MINOR)
++SHARED = $(SHAREDM)
+ STATIC = libgadu.a
+ 
+ all:	@static@ @shared@
+@@ -57,7 +57,6 @@
+ 
+ $(SHARED): $(LOBJS)
+ 	$(CC) -shared -Wl,-soname,libgadu.so.$(VERSION_MAJOR) -o $(SHARED) $(LOBJS) $(LIBS) -lc
+-	$(LN_S) -f $(SHARED) $(SHAREDM)
+ 	$(LN_S) -f $(SHARED) $(SHAREDMM)
+ 
+ #
+@@ -82,7 +81,6 @@
+ 
+ install-shared:	install-common @strip_libgadu_so@
+ 	$(INSTALL) -m 755 $(SHARED) $(DESTDIR)$(libdir)
+-	cd $(DESTDIR)$(libdir) && $(LN_S) -f $(SHARED) $(SHAREDM)
+ 	cd $(DESTDIR)$(libdir) && $(LN_S) -f $(SHARED) $(SHAREDMM)
+ 
+ install-static:	install-common
--- pl-libgadu-20051229_2.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Jul 2 21:50:57 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99727 
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Sun Jul 2 21:58:10 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99727 

From: Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
To: bug-followup@FreeBSD.org, mwisnicki+freebsd@gmail.com
Cc:  
Subject: Re: ports/99727: [PATCH] polish/libgadu: file conflicts with
	polish/ekg
Date: Mon, 17 Jul 2006 22:37:12 +0200

 Previous patch didn't apply :(
 
 --- pl-libgadu-20051229_2-1.patch begins here ---
 diff -ruN /usr/ports/polish/libgadu.orig/Makefile /usr/ports/polish/libgadu/Makefile
 --- /usr/ports/polish/libgadu.orig/Makefile	Sat May 13 03:45:29 2006
 +++ /usr/ports/polish/libgadu/Makefile	Mon Jul 17 22:18:38 2006
 @@ -6,13 +6,15 @@
  
  PORTNAME=	libgadu
  PORTVERSION=	20051229
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	polish net
  MASTER_SITES=	http://bsdguru.org/distfiles/
  
  MAINTAINER=	alex@BSDGuru.org
  COMMENT=	This library is used by many IMs with Gadu-Gadu support
  
 +CONFLICTS=	pl-ekg-1.[0-5]* pl-ekg-1.6,2
 +
  USE_GMAKE=		yes
  USE_GNOME=		gnomehack pkgconfig
  USE_AUTOTOOLS=		aclocal:15 autoheader:259 autoconf:259
 @@ -21,10 +23,5 @@
  CONFIGURE_ARGS=		--enable-shared --disable-static --without-openssl
  
  INSTALLS_SHLIB=		yes
 -
 -post-install:
 -	${RM} ${PREFIX}/lib/libgadu.so ${PREFIX}/lib/libgadu.so.3
 -	${MV} ${PREFIX}/lib/libgadu.so.3.3 ${PREFIX}/lib/libgadu.so.3
 -	${LN} -s ${PREFIX}/lib/libgadu.so.3 ${PREFIX}/lib/libgadu.so
  
  .include <bsd.port.mk>
 diff -ruN /usr/ports/polish/libgadu.orig/files/patch-Makefile.in /usr/ports/polish/libgadu/files/patch-Makefile.in
 --- /usr/ports/polish/libgadu.orig/files/patch-Makefile.in	Thu Jan  1 01:00:00 1970
 +++ /usr/ports/polish/libgadu/files/patch-Makefile.in	Mon Jul 17 22:18:38 2006
 @@ -0,0 +1,27 @@
 +--- lib/Makefile.in.orig	Sat Jun 25 08:41:07 2005
 ++++ lib/Makefile.in	Sun Jul  2 19:41:00 2006
 +@@ -27,7 +27,7 @@
 + 
 + SHAREDMM = libgadu.so
 + SHAREDM = $(SHAREDMM).$(VERSION_MAJOR)
 +-SHARED = $(SHAREDM).$(VERSION_MINOR)
 ++SHARED = $(SHAREDM)
 + STATIC = libgadu.a
 + 
 + all:	@static@ @shared@
 +@@ -57,7 +57,6 @@
 + 
 + $(SHARED): $(LOBJS)
 + 	$(CC) -shared -Wl,-soname,libgadu.so.$(VERSION_MAJOR) -o $(SHARED) $(LOBJS) $(LIBS) -lc
 +-	$(LN_S) -f $(SHARED) $(SHAREDM)
 + 	$(LN_S) -f $(SHARED) $(SHAREDMM)
 + 
 + #
 +@@ -82,7 +81,6 @@
 + 
 + install-shared:	install-common @strip_libgadu_so@
 + 	$(INSTALL) -m 755 $(SHARED) $(DESTDIR)$(libdir)
 +-	cd $(DESTDIR)$(libdir) && $(LN_S) -f $(SHARED) $(SHAREDM)
 + 	cd $(DESTDIR)$(libdir) && $(LN_S) -f $(SHARED) $(SHAREDMM)
 + 
 + install-static:	install-common
 --- pl-libgadu-20051229_2-1.patch ends here ---
 
State-Changed-From-To: feedback->open 
State-Changed-By: itetcu 
State-Changed-When: Fri Jul 28 14:10:04 UTC 2006 
State-Changed-Why:  
maintainer timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99727 
State-Changed-From-To: open->closed 
State-Changed-By: itetcu 
State-Changed-When: Fri Jul 28 17:17:35 UTC 2006 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99727 
>Unformatted:
