Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 01:24:44 GMT
From:      bf <bf2006a@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/131101: [PATCH]math/glpk: update to 4.35
Message-ID:  <200901290124.n0T1OiUn077607@www.freebsd.org>
Resent-Message-ID: <200901290130.n0T1U1Jn024429@freefall.freebsd.org>

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

>Number:         131101
>Category:       ports
>Synopsis:       [PATCH]math/glpk: update to 4.35
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 29 01:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        8-CURRENT i386
>Organization:
-
>Environment:
>Description:
Shared library version bump:

"Fri Jan 09 12:00:00 2009 Andrew Makhorin <mao@mai2.rcnet.ru>

        * GLPK 4.35 (20:0:20) has been released

        * glpk.h, glpapi.c, glpnet.c
        The following new API routines were added:
        glp_create_graph      create graph
        glp_set_graph_name    assign (change) graph name
        glp_add_vertices      add new vertices to graph
        glp_add_arc           add new arc to graph
        glp_erase_graph       erase graph content
        glp_delete_graph      delete graph
        glp_read_mincost      read minimum cost flow problem data in
                              DIMACS format
        glp_write_mincost     write minimum cost flow problem data in
                              DIMACS format
        glp_mincost_lp        convert minimum cost flow problem to LP
        glp_netgen            Klingman's network problem generator
        glp_gridgen           grid-like network problem generator
        glp_read_maxflow      read maximum flow problem data in DIMACS
                              format
        glp_write_maxflow     write maximum flow problem data in DIMACS
                              format
        glp_maxflow_lp        convert maximum flow problem to LP
        glp_rmfgen            Goldfarb's maximum flow problem generator

        * doc/glpk.*
        New edition of the reference manual was included.

        * examples/sample.min, examples/sample.max
        Two example data files in DIMACS format were added.

        * glplib04.c
        The statement "if (c = '\n') fflush(stdout)" was added to the
        internal routine xputc to provide "real-time" terminal output.
        Thanks to Luiz Bettoni <bettoni@cpgei.ct.utfpr.edu.br> for
        suggestion.

        * glpmpl05.c
        A minor bug was fixed in the internal routine mpl_fn_time2str.
        Thanks to Stefan Vigerske <stefan@vigerske.de> for bug report."
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN glpk.orig/Makefile glpk/Makefile
--- glpk.orig/Makefile	2009-01-28 19:41:08.864031182 -0500
+++ glpk/Makefile	2009-01-28 20:13:17.624352675 -0500
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	glpk
-PORTVERSION=	4.34
+PORTVERSION=	4.35
 CATEGORIES=	math
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	glpk
@@ -71,4 +71,7 @@
 	done
 .endif
 
+regression-test: build
+	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)
+
 .include <bsd.port.post.mk>
diff -ruN glpk.orig/distinfo glpk/distinfo
--- glpk.orig/distinfo	2009-01-28 19:41:08.865029353 -0500
+++ glpk/distinfo	2009-01-28 20:02:43.359926330 -0500
@@ -1,3 +1,3 @@
-MD5 (glpk-4.34.tar.gz) = be85bd4ee1e878535fa19ad37a1c77c4
-SHA256 (glpk-4.34.tar.gz) = 5088b586ea38c7a09d5398c597249190200b574d468af1a03bc16aa3023d9fe2
-SIZE (glpk-4.34.tar.gz) = 2068559
+MD5 (glpk-4.35.tar.gz) = d3277283a90c80d68d10832af6f63338
+SHA256 (glpk-4.35.tar.gz) = bdbf86176b6dba7a977b520ddbc77f3e7d620ce8f418d764f4dd95a89a54b5b6
+SIZE (glpk-4.35.tar.gz) = 2174494
diff -ruN glpk.orig/pkg-plist glpk/pkg-plist
--- glpk.orig/pkg-plist	2009-01-28 19:41:08.870026357 -0500
+++ glpk/pkg-plist	2009-01-28 20:02:43.359926330 -0500
@@ -21,6 +21,7 @@
 include/glpmat.h
 include/glpmpl.h
 include/glpmps.h
+include/glpnet.h
 include/glppds.h
 include/glpqmd.h
 include/glprgr.h
@@ -37,4 +38,4 @@
 lib/libglpk.a
 lib/libglpk.la
 lib/libglpk.so
-lib/libglpk.so.19
+lib/libglpk.so.20


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



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