Bug 117145

Summary: [PATCH] math/dislin - update to 9.2
Product: Ports & Packages Reporter: Daniel Voisine <voisined>
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Daniel Voisine 2007-10-12 23:50:02 UTC
Distfile removed from master site, currently unfetchable.

Upgrade to Dislin 9.2

Change log at http://www.mps.mpg.de/dislin/news.html

Fix: The following patch

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/math/dislin && make install
Comment 1 dfilter service freebsd_committer freebsd_triage 2008-02-16 22:52:30 UTC
thierry     2008-02-16 22:52:24 UTC

  FreeBSD ports repository

  Modified files:
    math/dislin          Makefile distinfo-5.4 distinfo-6.0 
                         pkg-descr pkg-plist 
    math/dislin/files    dislin.sh.in pkg-message.in 
  Removed files:
    math/dislin          distinfo 
  Log:
  Upgrade to 9.2 and unbreak.
  
  Change log at <http://www.mps.mpg.de/dislin/news.html>
  
  PR:             ports/117145
  Submitted by:   Daniel Voisine <voisined (at) wit.edu>
  
  Revision  Changes    Path
  1.28      +11 -7     ports/math/dislin/Makefile
  1.9       +0 -3      ports/math/dislin/distinfo (dead)
  1.6       +3 -3      ports/math/dislin/distinfo-5.4
  1.6       +3 -3      ports/math/dislin/distinfo-6.0
  1.2       +4 -1      ports/math/dislin/files/dislin.sh.in
  1.3       +1 -9      ports/math/dislin/files/pkg-message.in
  1.2       +1 -1      ports/math/dislin/pkg-descr
  1.4       +5 -9      ports/math/dislin/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"
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2014-06-01 06:41:13 UTC
State Changed
From-To: open->feedback


It seems that the file has been updated: 

=> dislin-9.2.fbsd-6.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. 
=> Attempting to fetch from ftp://ftp.gwdg.de/pub/grafik/dislin/unix/. 
fetch: ftp://ftp.gwdg.de/pub/grafik/dislin/unix/dislin-9.2.fbsd-6.0.tar.gz: size mismatch: expected 13918462, actual 14463705 
=> Attempting to fetch from ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/distfiles/. 
fetch: ftp://ftp.fr.freebsd.org/pub/FreeBSD/ports/distfiles/dislin-9.2.fbsd-6.0.tar.gz: File unavailable (e.g., file not found, no access) 
=> Couldn't fetch it - please try to retrieve this 
=> port manually into /usr/ports/distfiles/ and try again. 
*** Error code 1 

Moreover, I guess that compat6x should be used on FreeBSD-7 and 8, and 
I propose the following patch: 

--- dislin.diff begins here --- 
--- math/dislin/Makefile.orig	2007-12-23 21:37:11.000000000 +0100 
+++ math/dislin/Makefile	2007-12-23 21:37:44.000000000 +0100 
@@ -20,8 +20,6 @@ 
NO_BUILD=	yes 
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION} 

-BROKEN=		does not fetch 
- 
MD5_FILE=	${MASTERDIR}/distinfo${BINVER} 
PLIST_SUB+=	VER=${PORTVERSION} MAJ=${MAJ} 
SUB_FILES=	dislin.sh pkg-message 
@@ -43,6 +41,10 @@ 
BINVER=		-6.0 
.endif 

+.if ${OSVERSION} >= 700000 
+LIB_DEPENDS+=	z.3:${PORTSDIR}/misc/compat6x 
+.endif 
+ 
do-install: 
cd ${WRKSRC} && ${SETENV} DISLIN=${DISLIN_DIR} ${SH} INSTALL 
${INSTALL_SCRIPT} ${WRKDIR}/dislin.sh ${DISLIN_DIR}/bin 
--- dislin.diff ends here --- 

Could you please check it? 



Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2014-06-01 06:41:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry


Take it.
Comment 4 Thierry Thomas freebsd_committer freebsd_triage 2014-06-01 06:41:13 UTC
State Changed
From-To: feedback->closed


Committed, after feedback time-out. 

Anyway, thanks for your PR!