Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 19:01:48 +0200
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/94484: [MAINTAINER] audio/cpige: update to 1.4-2 to fix coredumping
Message-ID:  <1142442108.97478@it.buh.tecnik93.com>
Resent-Message-ID: <200603151710.k2FHALvV096342@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94484
>Category:       ports
>Synopsis:       [MAINTAINER] audio/cpige: update to 1.4-2 to fix coredumping
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 15 17:10:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-PRERELEASE #0: Fri Feb 24 07:01:54 EET 2006
    root@it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_B_P



>Description:


Update to 1.4-2:
- fix buffer overflow in config file parsing
- fix loop trying to detect if an unsigned integer is below 0

Supersede ports/94474, which should be closed.

Tinderbox tested on:	4,5,6-STABLE and oldish HEAD (all i386)


>How-To-Repeat:





>Fix:


--- cpige.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/cpige/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	23 Feb 2006 01:09:17 -0000	1.9
+++ Makefile	15 Mar 2006 16:48:01 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cpige
-DISTVERSION=	1.4
+DISTVERSION=	1.4-2
 CATEGORIES=	audio
 MASTER_SITES=	http://ed.zehome.com/cpige/
 
@@ -17,8 +17,12 @@
 
 MAKE_ARGS=	CC="${CC}"
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:S/-1//}
 PLIST_FILES=	bin/cpige
+
+.ifdef(WITH_DEBUG)
+CFLAGS=        -O -g -DDEBUG
+STRIP=
+.endif
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/audio/cpige/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	23 Feb 2006 00:24:14 -0000	1.7
+++ distinfo	15 Mar 2006 16:48:01 -0000
@@ -1,3 +1,3 @@
-MD5 (cpige-1.4.tar.gz) = 50aa8eb75cbabcaef61ad3cb03561acb
-SHA256 (cpige-1.4.tar.gz) = 890d4c23de8e9ad1d628252491112d7e1c3ad1b62f26f790e4867f128f5503f9
-SIZE (cpige-1.4.tar.gz) = 28454
+MD5 (cpige-1.4-2.tar.gz) = 21316625bf1a8bd159530006e437386f
+SHA256 (cpige-1.4-2.tar.gz) = ff3e962fc20646a3ee7d80f451d568a818d15bbaa7aab537ae49af3f962a96fe
+SIZE (cpige-1.4-2.tar.gz) = 28979
--- cpige.diff ends here ---



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



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