Bug 60121 - www.code-aster.org reorganization: make its ports fetchable again.
Summary: www.code-aster.org reorganization: make its ports fetchable again.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 22:40 UTC by Thierry Thomas
Modified: 2003-12-10 23:12 UTC (History)
0 users

See Also:


Attachments
aster.diff (1.38 KB, patch)
2003-12-10 22:40 UTC, Thierry Thomas
no flags Details | Diff
eficas.diff (1.13 KB, patch)
2003-12-10 22:40 UTC, Thierry Thomas
no flags Details | Diff
homard.diff (1.02 KB, patch)
2003-12-10 22:40 UTC, Thierry Thomas
no flags Details | Diff
metis-edf.diff (957 bytes, patch)
2003-12-10 22:40 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas 2003-12-10 22:40:23 UTC
	The download page of www.code-aster.org has been rewritten "a la
	sourceforge", and they have tried to normalize the DISTNAMEs.

	Same MD5s => no portrevision bump.

	Gibi becomes fetchable.

Fix: Please apply the following patches:

diff -urN cad/astk-serveur.orig/Makefile cad/astk-serveur/Makefile
--- cad/astk-serveur.orig/Makefile	Mon Dec  8 18:59:15 2003
+++ cad/astk-serveur/Makefile	Wed Dec 10 22:45:23 2003
@@ -8,13 +8,13 @@
 PORTNAME=	astk
 PORTVERSION=	1.0.21
 CATEGORIES=	cad tk84
-MASTER_SITES=	http://www.code-aster.org/FICHIERS/code_aster/
+MASTER_SITES=	http://www.code-aster.org/FICHIERS/
 .if !defined(CLIENT_SEUL)
 PKGNAMESUFFIX=	-serveur
 .else
 PKGNAMESUFFIX=	-client
 .endif
-DISTNAME=	aster-${ASTER_VER}.src
+DISTNAME=	aster-src-${ASTER_VER}
 EXTRACT_SUFX=	.tar
 
 MAINTAINER=	ports@FreeBSD.org
@@ -47,7 +47,7 @@
 USE_REINPLACE=	yes
 REINPLACE_ARGS=	-i ""
 
-EXTDIR=		${WRKDIR}/${DISTNAME}
+EXTDIR=		${WRKDIR}/aster-${ASTER_VER}.src
 .if !defined(CLIENT_SEUL)
 WRKSRC=		${EXTDIR}/ASTK_SERV
 PATCHDIR=	${MASTERDIR}/files
diff -urN cad/astk-serveur.orig/distinfo cad/astk-serveur/distinfo
--- cad/astk-serveur.orig/distinfo	Mon Dec  8 18:59:15 2003
+++ cad/astk-serveur/distinfo	Wed Dec 10 21:21:49 2003
@@ -1 +1 @@
-MD5 (aster-7.2.0-2.src.tar) = 3c7163dffba0fa70c6b136480c05712e
+MD5 (aster-src-7.2.0-2.tar) = 3c7163dffba0fa70c6b136480c05712e
--- astk-serveur.diff ends here ---

diff -urN french/gibi.orig/Makefile french/gibi/Makefile
--- french/gibi.orig/Makefile	Mon Dec  8 02:59:52 2003
+++ french/gibi/Makefile	Wed Dec 10 22:23:52 2003
@@ -8,8 +8,8 @@
 PORTNAME=	gibi
 PORTVERSION=	2000
 CATEGORIES=	french cad linux
-MASTER_SITES=	# http://www.code-aster.org/FICHIERS/gibi/
-DISTNAME=	PACK_${PORTNAME}${ARCHI}${PORTVERSION}
+MASTER_SITES=	http://www.code-aster.org/FICHIERS/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-1.${ARCH}
 EXTRACT_SUFX=	.tar
 
 MAINTAINER=	ports@FreeBSD.org
@@ -77,23 +77,9 @@
 
 BRANDELF?=	/usr/bin/brandelf -t Linux
 
-do-fetch:
-	@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
-		${ECHO_MSG} "Because of licensing restrictions, you must fetch the binary"; \
-		${ECHO_MSG} "distribution manually.  Please access"; \
-		${ECHO_MSG} "<http://www.code-aster.org/telechargement/read_license_outils.php?prod=Gibi>"; \
-		${ECHO_MSG} "with a web browser, read the license carefully (in french),"; \
-		${ECHO_MSG} "check the box \"J'accepte les termes de la présente licence\""; \
-		${ECHO_MSG} "and click on the button \"Envoyer\"."; \
-		${ECHO_MSG} "On the second page, select Linux x86, Executable and 2000,"; \
-		${ECHO_MSG} "then click on the arrow to download the tarball"; \
-		${ECHO_MSG} "${DISTFILES}."; \
-		${ECHO_MSG} "Please place this file in ${DISTDIR}."; \
-	fi
-
 post-extract:
 	@(cd ${WRKDIR} && \
-		${TAR} xfz ${WRKDIR}/${DISTNAME:S/PACK/CASTEM/}.tar.gz)
+		${TAR} xfz ${WRKDIR}/CASTEM_${PORTNAME}PC_Linux_${PORTVERSION}.tar.gz)
 
 post-patch:
 	@${REINPLACE_CMD} -e "s|DIR='repertoire_install'|DIR='${GIBIDIR}'|"	\
diff -urN french/gibi.orig/distinfo french/gibi/distinfo
--- french/gibi.orig/distinfo	Sun Nov 16 00:29:08 2003
+++ french/gibi/distinfo	Wed Dec 10 21:47:47 2003
@@ -1 +1 @@
-MD5 (PACK_gibiPC_Linux_2000.tar) = 1ab42d8db97aaf3c86b26595d26aa9bc
+MD5 (gibi-2000-1.i386.tar) = 1ab42d8db97aaf3c86b26595d26aa9bc
--- gibi.diff ends here ---

diff -urN french/med.orig/Makefile french/med/Makefile
--- french/med.orig/Makefile	Wed Jul 23 16:35:27 2003
+++ french/med/Makefile	Wed Dec 10 21:57:51 2003
@@ -8,8 +8,8 @@
 PORTNAME=	med
 PORTVERSION=	2.1.5
 CATEGORIES=	french cad converters
-MASTER_SITES=	http://www.code-aster.org/FICHIERS/med/
-DISTNAME=	${PORTNAME}${PORTVERSION}_hdf5-1_src
+MASTER_SITES=	http://www.code-aster.org/FICHIERS/
+DISTNAME=	${PORTNAME}hdf-src-${PORTVERSION}-1.noarch
 EXTRACT_SUFX=	.tar
 
 MAINTAINER=	ports@FreeBSD.org
diff -urN french/med.orig/distinfo french/med/distinfo
--- french/med.orig/distinfo	Mon Jul 21 21:35:13 2003
+++ french/med/distinfo	Wed Dec 10 21:59:36 2003
@@ -1 +1 @@
-MD5 (med2.1.5_hdf5-1_src.tar) = a19a5f481fbf48b1a2934517dfb717c5
+MD5 (medhdf-src-2.1.5-1.noarch.tar) = a19a5f481fbf48b1a2934517dfb717c5
--- med.diff ends here ---
How-To-Repeat: 	make fetch...
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2003-12-10 22:55:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

I like fetching.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2003-12-10 23:11:51 UTC
State Changed
From-To: open->closed

Committed, thanks