ports/60121: www.code-aster.org reorganization: make its ports fetchable again.
Thierry Thomas
thierry at pompo.net
Wed Dec 10 22:40:28 UTC 2003
>Number: 60121
>Category: ports
>Synopsis: www.code-aster.org reorganization: make its ports fetchable again.
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 10 14:40:23 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Thierry Thomas
>Release: FreeBSD 5.1-RELEASE-p10 i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD ws90bj.pompo.net 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Tue Oct 14 23:06:50 CEST 2003 root at ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-031014 i386
>Description:
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.
>How-To-Repeat:
make fetch...
>Fix:
Please apply the following patches:
--- aster.diff begins here ---
diff -urN french/aster.orig/Makefile french/aster/Makefile
--- french/aster.orig/Makefile Tue Dec 9 22:15:34 2003
+++ french/aster/Makefile Wed Dec 10 22:54:01 2003
@@ -8,8 +8,8 @@
PORTNAME= aster
PORTVERSION= 7.2.0
CATEGORIES= french cad python tk84
-MASTER_SITES= http://www.code-aster.org/FICHIERS/code_aster/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-2.src
+MASTER_SITES= http://www.code-aster.org/FICHIERS/
+DISTNAME= ${PORTNAME}-src-${PORTVERSION}-2
EXTRACT_SUFX= .tar
MAINTAINER= ports at FreeBSD.org
@@ -52,7 +52,8 @@
USE_REINPLACE= yes
REINPLACE_ARGS= -i ""
-WRKSRC= ${WRKDIR}/${DISTNAME}/${vaster}
+EXTDIR= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-2.src
+WRKSRC= ${EXTDIR}/${vaster}
PLIST_SUB= ASTERDIR=${PORTNAME}/${vaster}
.if defined(WITHOUT_ASTK) || defined(WITHOUT_ASTK_CLI)
PKGMESSAGE= ${PKGDIR}/pkg-message.sans-astk
@@ -157,8 +158,8 @@
ASTKDIR= ${LOCALBASE}/${LASTKDIR}
post-extract:
- @(cd ${WRKDIR}/${DISTNAME} && \
- ${TAR} xfz ${WRKDIR}/${DISTNAME}/${PORTNAME}.tar.gz)
+ @(cd ${EXTDIR} && \
+ ${TAR} xfz ${EXTDIR}/${PORTNAME}.tar.gz)
post-patch:
.for mk_file in ${MK_FILES}
diff -urN french/aster.orig/distinfo french/aster/distinfo
--- french/aster.orig/distinfo Mon Dec 8 18:59:42 2003
+++ french/aster/distinfo Wed Dec 10 21:16:31 2003
@@ -1 +1 @@
-MD5 (aster-7.2.0-2.src.tar) = 3c7163dffba0fa70c6b136480c05712e
+MD5 (aster-src-7.2.0-2.tar) = 3c7163dffba0fa70c6b136480c05712e
--- aster.diff ends here ---
--- astk-serveur.diff begins here ---
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 at 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 ---
--- eficas.diff begins here ---
diff -urN french/eficas.orig/Makefile french/eficas/Makefile
--- french/eficas.orig/Makefile Mon Dec 8 18:59:48 2003
+++ french/eficas/Makefile Wed Dec 10 22:39:09 2003
@@ -5,11 +5,11 @@
# $FreeBSD: ports/french/eficas/Makefile,v 1.3 2003/12/08 02:07:21 oliver Exp $
#
-PORTNAME= Eficas
-PORTVERSION= 1.5
+PORTNAME= eficas
+PORTVERSION= 1.5.3
CATEGORIES= french cad python
-MASTER_SITES= http://www.code-aster.org/FICHIERS/eficas/
-DISTNAME= ${PORTNAME}V${PORTVERSION:C/\./_/}b3AsterSTA7
+MASTER_SITES= http://www.code-aster.org/FICHIERS/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= ports at FreeBSD.org
COMMENT= ASter Command FIle Editor
@@ -26,6 +26,8 @@
USE_REINPLACE= yes
REINPLACE_ARGS= -i ""
NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}/EficasV1_5b3AsterSTA7
LEFICASDIR?= apps/${PORTNAME}
EFICASDIR= ${PREFIX}/${LEFICASDIR}
diff -urN french/eficas.orig/distinfo french/eficas/distinfo
--- french/eficas.orig/distinfo Mon Dec 8 18:59:48 2003
+++ french/eficas/distinfo Wed Dec 10 21:32:42 2003
@@ -1 +1 @@
-MD5 (EficasV1_5b3AsterSTA7.tar.gz) = e110284f10050c932abf27f9bf56ab01
+MD5 (eficas-1.5.3-1.tar.gz) = e110284f10050c932abf27f9bf56ab01
--- eficas.diff ends here ---
--- gibi.diff begins 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 at 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 ---
--- homard.diff begins here ---
diff -urN french/homard.orig/Makefile french/homard/Makefile
--- french/homard.orig/Makefile Mon Dec 8 18:59:48 2003
+++ french/homard/Makefile Wed Dec 10 22:31:33 2003
@@ -8,8 +8,8 @@
PORTNAME= homard
PORTVERSION= 6.2
CATEGORIES= french cad linux python
-MASTER_SITES= http://www.code-aster.org/FICHIERS/homard/
-DISTNAME= ${PORTNAME:U}_V${PORTVERSION}.Linux
+MASTER_SITES= http://www.code-aster.org/FICHIERS/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1.${ARCH}
MAINTAINER= ports at FreeBSD.org
COMMENT= A refinement and de-refinement mesh tool
@@ -30,6 +30,8 @@
USE_REINPLACE= yes
REINPLACE_ARGS= -i ""
NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME:U}_V${PORTVERSION}.Linux
LHOMARDDIR?= apps/${PORTNAME}
ASTER_VER= 7.2
diff -urN french/homard.orig/distinfo french/homard/distinfo
--- french/homard.orig/distinfo Mon Dec 8 18:59:48 2003
+++ french/homard/distinfo Wed Dec 10 21:53:52 2003
@@ -1 +1 @@
-MD5 (HOMARD_V6.2.Linux.tar.gz) = 4dced6bc6912450d18bd55cf484fc46b
+MD5 (homard-6.2-1.i386.tar.gz) = 4dced6bc6912450d18bd55cf484fc46b
--- homard.diff ends here ---
--- med.diff begins 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 at 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 ---
--- metis-edf.diff begins here ---
diff -urN math/metis-edf.orig/Makefile math/metis-edf/Makefile
--- math/metis-edf.orig/Makefile Tue Dec 9 22:15:55 2003
+++ math/metis-edf/Makefile Wed Dec 10 22:14:52 2003
@@ -8,7 +8,8 @@
PORTNAME= metis-edf
PORTVERSION= 3.1
CATEGORIES= math
-MASTER_SITES= http://www.code-aster.org/FICHIERS/metis/
+MASTER_SITES= http://www.code-aster.org/FICHIERS/
+DISTNAME= ${PORTNAME}-src-${PORTVERSION}-1.noarch
MAINTAINER= ports at FreeBSD.org
COMMENT= Meshes partionning tool used by Code_Aster
@@ -22,6 +23,8 @@
F77?= f77
FFLAGS?= -O2
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
.if ${MACHINE_ARCH} != "i386"
diff -urN math/metis-edf.orig/distinfo math/metis-edf/distinfo
--- math/metis-edf.orig/distinfo Tue Dec 9 22:15:55 2003
+++ math/metis-edf/distinfo Wed Dec 10 22:04:52 2003
@@ -1 +1 @@
-MD5 (metis-edf-3.1.tar.gz) = 1762b6678d5d017771745c30cf6df0ac
+MD5 (metis-edf-src-3.1-1.noarch.tar.gz) = 1762b6678d5d017771745c30cf6df0ac
--- metis-edf.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list