From nobody@FreeBSD.org  Tue Jul  8 05:54:24 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 82F89106567A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Jul 2008 05:54:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 647D18FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  8 Jul 2008 05:54:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m685sOVi054638
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 8 Jul 2008 05:54:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m685sNN4054625;
	Tue, 8 Jul 2008 05:54:23 GMT
	(envelope-from nobody)
Message-Id: <200807080554.m685sNN4054625@www.freebsd.org>
Date: Tue, 8 Jul 2008 05:54:23 GMT
From: bf <bf2006a@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH]math/glpk: update to 4.29
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         125395
>Category:       ports
>Synopsis:       [PATCH]math/glpk: update to 4.29
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    demon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 08 06:00:02 UTC 2008
>Closed-Date:    Tue Jul 15 13:06:07 UTC 2008
>Last-Modified:  Tue Jul 15 13:10:03 UTC 2008
>Originator:     bf
>Release:        7-STABLE i386
>Organization:
-
>Environment:
>Description:
       "* GLPK 4.29 (14:0:14) has been released

        * configure.ac
        The configure script was changed to disable optional features
        by default. For details see file INSTALL.

        * glpipp02.c
        A bug was fixed in the internal routine reduce_bounds. Thanks
        to Anne-Laurence Putz <anne-laurence.putz@eurodecision.com> for
        the bug report.

        * glpapi01.c
        New API routine glp_erase_prob was added.

        * glpapi13.c
        New API routines glp_read_mps and glp_write_mps were added.
        They replace API routines lpx_read_mps, lpx_read_freemps,
        lpx_write_mps, and lpx_write_freemps, which are deprecated.

        * glpapi14.c
        New API routines glp_read_lp and glp_write_lp were added. They
        replace API routines lpx_read_cpxlp and lpx_write_cpxlp, which
        are deprecated.

        * glpsql.c
        Minor bug was fixed. Thanks to Xypron <xypron.glpk@gmx.de> for
        the bug report."
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN glpk.orig/Makefile glpk/Makefile
--- glpk.orig/Makefile	2008-05-19 11:28:27.000000000 -0400
+++ glpk/Makefile	2008-07-08 01:44:26.045049914 -0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	glpk
-PORTVERSION=	4.28
+PORTVERSION=	4.29
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	glpk
@@ -25,7 +25,8 @@
 CFLAGS+=	-trigraphs
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS+=	--with-gmp --with-zlib
 
 .include <bsd.port.pre.mk>
 
@@ -51,7 +52,7 @@
 
 .if !defined(NOPORTDOCS)
 PORTDOCS=	bench.txt bench1.txt glpk.ps glpk_faq.txt gmpl.ps \
-		gomory.djvu opb.txt tables.txt
+		gomory.djvu opb.txt tables.txt updating.djvu
 .endif
 
 post-patch:
@@ -63,10 +64,14 @@
 
 .if !defined(NOPORTDOCS)
 	@${CP} ${WRKSRC}/doc/memo/gomory.djvu ${WRKSRC}/doc/
+	@${CP} ${WRKSRC}/doc/memo/updating.djvu ${WRKSRC}/doc/
 	@${MKDIR} ${DOCSDIR}
 	for docfile in ${PORTDOCS} ; do \
 		${INSTALL_MAN} ${WRKSRC}/doc/$${docfile} ${DOCSDIR} ; \
 	done
 .endif
 
+regression-test: build
+		@( cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check )
+
 .include <bsd.port.post.mk>
diff -ruN glpk.orig/distinfo glpk/distinfo
--- glpk.orig/distinfo	2008-05-19 11:28:27.000000000 -0400
+++ glpk/distinfo	2008-07-08 01:41:03.209442036 -0400
@@ -1,3 +1,3 @@
-MD5 (glpk-4.28.tar.gz) = 6e4f30c37fb189aec6c71b27f0a57449
-SHA256 (glpk-4.28.tar.gz) = 8faeb202e58a3a9f6a6a8b0e8ae557bcc30f712060b4871a530f070c14939fd8
-SIZE (glpk-4.28.tar.gz) = 1546104
+MD5 (glpk-4.29.tar.gz) = 1e2d341619162499bbdebc96ca1d99a4
+SHA256 (glpk-4.29.tar.gz) = 41f458ef830b8b4df730ff789fcb612bd9ad274c29fb8665a7039dba0865102c
+SIZE (glpk-4.29.tar.gz) = 1557255
diff -ruN glpk.orig/pkg-plist glpk/pkg-plist
--- glpk.orig/pkg-plist	2008-05-19 11:28:27.000000000 -0400
+++ glpk/pkg-plist	2008-07-08 01:41:03.209442036 -0400
@@ -34,4 +34,4 @@
 lib/libglpk.a
 lib/libglpk.la
 lib/libglpk.so
-lib/libglpk.so.13
+lib/libglpk.so.14


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->demon 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jul 8 06:00:17 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: bf <bf2006a@yahoo.com>
To: bug-followup@FreeBSD.org, maho@FreeBSD.org, co9co9@gmail.com
Cc:  
Subject: Re: ports/125395: [PATCH]math/glpk: update to 4.29
Date: Mon, 7 Jul 2008 23:16:58 -0700 (PDT)

 I proposed a patch to update math/glpk to 4.29:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=125395
 
 If it is approved demon@ et al., then you will have to make at least minor changes to math/clp and math/octave, because the version of the shared glpk library will be increased from 13 to 14.  Please inform us if this change causes any problems.
 
 Maho: if you would like me to do this for you as part of an update of octave to 3.0.1, please let me know.
 
 Regards,
          b.
 
 
       
State-Changed-From-To: open->closed 
State-Changed-By: demon 
State-Changed-When: Tue Jul 15 13:05:52 UTC 2008 
State-Changed-Why:  
Port updated, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/125395: commit references a PR
Date: Tue, 15 Jul 2008 13:01:24 +0000 (UTC)

 demon       2008-07-15 13:01:10 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/glpk            Makefile distinfo pkg-plist 
   Log:
   Update to 4.29.
   
   PR:             125395
   Submitted by:   bf <bf2006a@yahoo.com>
   
   Revision  Changes    Path
   1.29      +5 -3      ports/math/glpk/Makefile
   1.26      +3 -3      ports/math/glpk/distinfo
   1.24      +1 -1      ports/math/glpk/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
