From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 8 06:00:03 2008 Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG> Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 120961065679 for <freebsd-ports-bugs@hub.freebsd.org>; Tue, 8 Jul 2008 06:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DF1C08FC16 for <freebsd-ports-bugs@hub.freebsd.org>; Tue, 8 Jul 2008 06:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m686023q080006 for <freebsd-ports-bugs@freefall.freebsd.org>; Tue, 8 Jul 2008 06:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m68602YP080005; Tue, 8 Jul 2008 06:00:02 GMT (envelope-from gnats) Resent-Date: Tue, 8 Jul 2008 06:00:02 GMT Resent-Message-Id: <200807080600.m68602YP080005@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, bf <bf2006a@yahoo.com> 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 X-Send-Pr-Version: www-3.1 Cc: Subject: ports/125395: [PATCH]math/glpk: update to 4.29 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs> List-Post: <mailto:freebsd-ports-bugs@freebsd.org> List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe> X-List-Received-Date: Tue, 08 Jul 2008 06:00:03 -0000 >Number: 125395 >Category: ports >Synopsis: [PATCH]math/glpk: update to 4.29 >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: Tue Jul 08 06:00:02 UTC 2008 >Closed-Date: >Last-Modified: >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: >Unformatted: