Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 00:40:00 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@terry.dragon2.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23006: update ports : net/centericq
Message-ID:  <200011211640.eALGe0G15654@Terry.Dorm8.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help
	Note: There was a bad value `update' for the field `>Class:'.
	It was set to the default value of `sw-bug'.


>Number:         23006
>Category:       ports
>Synopsis:       update ports : net/centericq
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 21 08:40:05 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD Terry.Dorm8.NCTU.edu.tw 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Nov 20 07:38:42 CST 2000 root@Terry.Dorm8.NCTU.edu.tw:/usr/obj/usr/src/sys/TERRY i386


	
>Description:

update centericq from 2.0.0 to 3.7.3

>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/net/centericq/Makefile centericq/Makefile
--- /usr/ports/net/centericq/Makefile	Fri Nov 17 20:27:01 2000
+++ centericq/Makefile	Wed Nov 22 00:27:09 2000
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	centericq
-PORTVERSION=	2.0.0
+PORTVERSION=	3.7.3
 CATEGORIES=	net
 MASTER_SITES=	http://konst.org.ua/download/
-DISTNAME=	center-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	ijliao@csie.nctu.edu.tw
 
 .include <bsd.port.pre.mk>
 .if ${OSVERSION} < 400010
@@ -20,18 +19,7 @@
 		-I/usr/include
 .endif
 
-WRKSRC=		${WRKDIR}/center
 USE_GMAKE=	yes
-
-post-patch:
-	@${PERL} -pi -e 's:__PREFIX__:${PREFIX}:' ${WRKSRC}/centerICQ.cc
-
-pre-build:
-	@(cd ${WRKDIR}/ktools/src; ${SETENV} CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" ${GMAKE} ${MAKE_ARGS} )
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/center ${PREFIX}/bin
-	@${MKDIR} ${PREFIX}/share/center
-	${INSTALL_DATA} ${WRKSRC}/sound/* ${PREFIX}/share/center
+HAS_CONFIGURE=	yes
 
 .include <bsd.port.post.mk>
diff -ruN /usr/ports/net/centericq/distinfo centericq/distinfo
--- /usr/ports/net/centericq/distinfo	Sun Dec 26 05:51:38 1999
+++ centericq/distinfo	Wed Nov 22 00:18:20 2000
@@ -1 +1 @@
-MD5 (center-2.0.0.tar.gz) = c7fe346cdd8a49242fe833c14584023a
+MD5 (centericq-3.7.3.tar.gz) = 79cfd9a0c8db8de14768b1bec6a37a94
diff -ruN /usr/ports/net/centericq/files/patch-aa centericq/files/patch-aa
--- /usr/ports/net/centericq/files/patch-aa	Sun Dec 26 05:51:40 1999
+++ centericq/files/patch-aa	Thu Jan  1 08:00:00 1970
@@ -1,35 +0,0 @@
---- ../ktools/src/Makefile.orig	Wed Nov 24 12:22:50 1999
-+++ ../ktools/src/Makefile	Sat Dec 25 13:32:33 1999
-@@ -1,15 +1,15 @@
- # macros and variables
- 
--CC = gcc
--CPP = g++
-+CC ?= gcc
-+CPP = ${CXX} 
- RANLIB = ranlib
- 
- INSTDIR = .
- INSTDIR_LIB = $(INSTDIR)
- 
--CFLAGS = #-g -Wall -DUNIX 
-+CFLAGS += #-g -Wall -DUNIX 
- 
--INCLUDE = -I/usr/include -I../include
-+INCLUDE = -I../include
- OBJS = konst.fs.o konst.process.o konst.interface.o konst.string.o konst.socket.o konst.parser.o konst.logic.o
- 
- #
-@@ -31,10 +31,10 @@
- all: $(LIB)
- 
- %.o : %.cc
--	$(CPP) $*.cc -c $(INCLUDE) $(SSLINCL) -o $*.o
-+	$(CPP) ${CXXFLAGS} $*.cc -c $(INCLUDE) $(SSLINCL) -o $*.o
- 
- %.o : %.c
--	$(CC) $*.c -c $(INCLUDE) $(SSLINCL) -o $*.o
-+	$(CC) ${CFLAGS} $*.c -c $(INCLUDE) $(SSLINCL) -o $*.o
- 
- clean:
- 	rm -f *.o $(LIB); \
diff -ruN /usr/ports/net/centericq/files/patch-ab centericq/files/patch-ab
--- /usr/ports/net/centericq/files/patch-ab	Sun Dec 26 05:51:40 1999
+++ centericq/files/patch-ab	Thu Jan  1 08:00:00 1970
@@ -1,22 +0,0 @@
---- Makefile.orig	Sat Dec 25 13:35:19 1999
-+++ Makefile	Sat Dec 25 13:36:05 1999
-@@ -1,14 +1,14 @@
- # macros and variables
--CC = gcc
--CPP = g++
-+CC ?= gcc
-+CPP = ${CXX} 
- 
- PROG1 = center
--CFLAGS = #-g -Wall -DUNIX 
-+CFLAGS += #-g -Wall -DUNIX 
- 
--INCLUDE = -I/usr/include -I../ktools/include
-+INCLUDE = -I../ktools/include
- KTLIBDIR = ../ktools
- LIB = $(KTLIBDIR)/libkonst.a
--LIBDIR = -L/usr/lib -L/usr/local/lib
-+LIBDIR = -L${LOCALBASE}/lib -L${PREFIX}/lib
- OBJS = centerICQ.o centerinfo.o phonebook.o icqlib.o center.o centersearch.o
- 
- # targets
diff -ruN /usr/ports/net/centericq/files/patch-ac centericq/files/patch-ac
--- /usr/ports/net/centericq/files/patch-ac	Sun Dec 26 05:51:41 1999
+++ centericq/files/patch-ac	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- centerICQ.cc.orig	Sat Dec 25 13:37:57 1999
-+++ centerICQ.cc	Sat Dec 25 13:38:46 1999
-@@ -1680,7 +1680,7 @@
-     mkdir(buf, S_IREAD | S_IWRITE | S_IEXEC);
-   
-     if(QanswerY) {
--	sprintf(fname, "cp /usr/local/lib/center/*.wav %s/.center", getenv("HOME"));
-+	sprintf(fname, "cp __PREFIX__/share/center/*.wav %s/.center", getenv("HOME"));
- 	system(fname);
-     }
- 
diff -ruN /usr/ports/net/centericq/pkg-plist centericq/pkg-plist
--- /usr/ports/net/centericq/pkg-plist	Sun Dec 26 05:51:44 1999
+++ centericq/pkg-plist	Wed Nov 22 00:30:01 2000
@@ -1,7 +1,6 @@
-bin/center
-share/center/Contact.wav
-share/center/Message.wav
-share/center/Online.wav
-share/center/email.wav
-share/center/url.wav
-@dirrm share/center
+bin/centericq
+share/centericq/email.wav
+share/centericq/file.wav
+share/centericq/msg.wav
+share/centericq/url.wav
+@dirrm share/centericq

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011211640.eALGe0G15654>