ports/58778: [non maintainer] Update port: net/aim to 1.5.286

Eric P. Scott eps+aim15286 at ana.com
Fri Oct 31 19:00:39 UTC 2003


>Number:         58778
>Category:       ports
>Synopsis:       [non-maintainer] Update port: net/aim to 1.5.286
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 31 11:00:36 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Eric P. Scott
>Release:        FreeBSD 4.8-SECURITY i386
>Organization:
ana-systems, Inc.
>Environment:
System: FreeBSD tools 4.8-SECURITY FreeBSD 4.8-SECURITY #0: Sun Oct 5 02:22:12 GMT 2003 root at builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
	N.B. I sent this to the listed maintainer last week;
	No response/no action.  There have been no maintainer
	updates in nearly two years.

	This diff updates to version 1.5.286 and removes
	restrictions on where the files can be installed.  It
	also warns the user if both audio/linux-esound and
	audio/esound are absent, since aim invokes esdplay by
	default.

	Addendum: added a ulimit since aim sometimes SIGSEGVs
	on exit.  This misbehavior is not FreeBSD-specific; I
	was able to reproduce it under "native" Linux.  Sigh.
>How-To-Repeat:
>Fix:
diff -ruN aim.bak/Makefile aim/Makefile
--- aim.bak/Makefile	Fri Feb 21 05:14:34 2003
+++ aim/Makefile	Wed Oct 29 10:51:10 2003
@@ -2,15 +2,15 @@
 # Date created:		Sat Jan 13 12:40:20 GMT 2001
 # Whom:			Roger Hardiman <roger at freebsd.org>
 #
-# $FreeBSD: ports/net/aim/Makefile,v 1.3 2003/02/21 13:14:34 knu Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	aim
-PORTVERSION=	1.5.234
+PORTVERSION=	1.5.286
 CATEGORIES=	net linux
-MASTER_SITES=	ftp://ftp.newaol.com/aimgen/73010/
-DISTNAME=	aim-${PORTVERSION}-1
-EXTRACT_SUFX=	.i386.tgz
+MASTER_SITES=	ftp://ftp.newaol.com/aimgen/380469/
+DISTNAME=	aim-${PORTVERSION}
+EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	p9711422 at mmu.edu.my
 COMMENT=	AOL's Instant Messenger (AIM) client
@@ -23,15 +23,23 @@
 NO_BUILD=	yes
 USE_XLIB=	yes
 
-# This port will only work when PREFIX is /usr/local because the aim
-# program is hard coded to look for important files in /usr/local/lib/aim
-PREFIX=		/usr/local
-
+# must not strip
+STRIP=
+TAR?=		/usr/bin/tar
 do-install:
-	${CP} ${WRKSRC}/usr/local/bin/aim ${PREFIX}/bin
-	${CP} ${WRKSRC}/usr/local/lib/lib* ${PREFIX}/lib
-	${MKDIR} ${PREFIX}/lib/aim
-	${CP} -R ${WRKSRC}/usr/local/lib/aim/* ${PREFIX}/lib/aim
-	${RM} -rf ${PREFIX}/lib/aim/source
+	${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/aim ${PREFIX}/libexec
+	(cd ${WRKSRC}/usr/lib;exec ${TAR} --exclude aim/source -cf - *)|(cd ${PREFIX}/lib;exec ${TAR} -xpf -)
+	@echo "#!/bin/sh" >${PREFIX}/bin/aim
+	@echo "ulimit -Sc 0" >>${PREFIX}/bin/aim
+	@echo -n "exec ${PREFIX}/libexec/aim --install_dir ${PREFIX}/lib/aim" >>${PREFIX}/bin/aim
+	@echo ' "$$@"' >>${PREFIX}/bin/aim
+	${CHMOD} ${BINMODE} ${PREFIX}/bin/aim
+
+post-install:
+.if !exists(/compat/linux/usr/bin/esdplay) && !exists(${PREFIX}/bin/esdplay)
+	@${ECHO_MSG} "-----------------------------------------------------------------"
+	@${ECHO_MSG} "Install audio/linux-esound or disable Sounds in aim's Preferences"
+	@${ECHO_MSG} "-----------------------------------------------------------------"
+.endif
 
 .include <bsd.port.mk>
diff -ruN aim.bak/distinfo aim/distinfo
--- aim.bak/distinfo	Thu Dec  6 07:03:02 2001
+++ aim/distinfo	Fri Oct 24 10:06:20 2003
@@ -1 +1 @@
-MD5 (aim-1.5.234-1.i386.tgz) = 44e2a45af8ef654a99e7deb88f577d03
+MD5 (aim-1.5.286.tgz) = c724e43269e31947e4aa0fec3b4d5e50
diff -ruN aim.bak/pkg-plist aim/pkg-plist
--- aim.bak/pkg-plist	Thu Dec  6 07:03:02 2001
+++ aim/pkg-plist	Fri Oct 24 14:07:10 2003
@@ -6,11 +6,15 @@
 lib/libXptl.so
 lib/libXptl.so.1
 lib/libextgtk.so
-lib/libextgtk.so.1      
+lib/libextgtk.so.1
 lib/aim/CoolBos.so
 lib/aim/CoolBos.so.1
 lib/aim/CoolBucky.so
 lib/aim/CoolBucky.so.1
+lib/aim/CoolHttp.so
+lib/aim/CoolHttp.so.1
+lib/aim/CoolPeer.so
+lib/aim/CoolPeer.so.1
 lib/aim/CoolSocket.so
 lib/aim/CoolSocket.so.1
 lib/aim/CoolSos.so
@@ -101,7 +105,6 @@
 lib/aim/help/sounds_prefs.htm
 lib/aim/help/turning_an_away.htm
 lib/aim/help/uninstalling.htm
-lib/aim/help/images/BL.gif
 lib/aim/help/images/add_buddy.gif
 lib/aim/help/images/aimheaderleft.gif
 lib/aim/help/images/away.gif
@@ -111,11 +114,20 @@
 lib/aim/help/images/chat_message2.gif
 lib/aim/help/images/im.gif
 lib/aim/help/images/sign_on.gif
+lib/aim/sounds/cashregister.wav
 lib/aim/sounds/dooropen.wav
 lib/aim/sounds/doorslam.wav
 lib/aim/sounds/imrcv.wav
 lib/aim/sounds/imsend.wav
+lib/aim/sounds/moo.wav
+lib/aim/sounds/newalert.wav
+lib/aim/sounds/newmail.wav
+lib/aim/sounds/phone.wav
 lib/aim/sounds/ring.wav
+lib/aim/sounds/talkbeg.wav
+lib/aim/sounds/talkend.wav
+lib/aim/sounds/talkstop.wav
+libexec/aim
 @dirrm lib/aim/extra
 @dirrm lib/aim/help/images
 @dirrm lib/aim/help
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list