ports/54762: New port, french/homard: a refinement and de-refinement mesh tool (used by Code_Aster).

Thierry Thomas thierry at pompo.net
Wed Jul 23 23:37:58 UTC 2003


Le Mer 23 jul 03 à 12:09:16 +0200, Oliver Lehmann <oliver at FreeBSD.org>
 écrivait :
> Synopsis: New port, french/homard: a refinement and de-refinement mesh tool (used by Code_Aster).
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: oliver
> State-Changed-When: Wed Jul 23 03:08:02 PDT 2003
> State-Changed-Why: 
>  ===>  Extracting for fr-homard-5.5
>  >> Checksum mismatch for homard_linux_5.5.tar.gz.
> 
> Please check why the checksum changed, and what is different between the new
> tarball and the old archive (diff -ruN). Then send a fix for that issue please.

Thanks for your other commits, and sorry for the delay (social event
this evening...).

The differences don't seem very important, but the binary has been
renamed, and perhaps updated:

--- homard.diff begins here ---
diff -urN work.orig/ASTER_HOMARD/aster_homard_py/aster_homard_utilitaires.py work/ASTER_HOMARD/aster_homard_py/aster_homard_utilitaires.py
--- work.orig/ASTER_HOMARD/aster_homard_py/aster_homard_utilitaires.py	Tue Mar 26 14:23:57 2002
+++ work/ASTER_HOMARD/aster_homard_py/aster_homard_utilitaires.py	Wed May 14 17:12:06 2003
@@ -8,7 +8,7 @@
 #                   1 : ce n'est pas un repertoire
 #
 def tue_rep (nomrep) :
-#  print "Arguments a l'entree de",__name__,":",nomrep
+#  print "\nArguments a l'entree de",__name__,":",nomrep
 #
 # 1. C'est un repertoire
 #
@@ -20,14 +20,19 @@
     for nomfic in Liste :
       fic_total = os.path.join(nomrep,nomfic)
       if os.path.islink (fic_total) :
+#        print "... passage par le os.path.islink pour ",nomfic," : ",fic_total
         os.unlink (fic_total)
+      elif os.path.isdir(fic_total) :
+#        print "... passage par le os.path.isdir pour ",nomfic," : ",fic_total
+        codret = tue_rep(fic_total)
       else :
-        os.chmod  (fic_total,755)
+#        print "... passage par le else pour ",nomfic," : ",fic_total
+        os.chmod  (fic_total,493)
         os.remove (fic_total)
 #
 # 1.2. Menage du repertoire lui-meme
 #
-    os.chmod (nomrep,755)
+    os.chmod (nomrep,493)
     os.rmdir (nomrep)
 #
     codret = 0
@@ -242,4 +247,4 @@
   D3_refe={'code_de_retour': 0, 'rep_trav': '/tmp' }
   D3_calc=cree_rep_trav(D3)
   verif ("Test sur cree_rep_trav" ,D3_refe,D3_calc)
-#
\ No newline at end of file
+#
diff -urN work.orig/ASTER_HOMARD/homard work/ASTER_HOMARD/homard
--- work.orig/ASTER_HOMARD/homard	Wed Dec 11 09:41:17 2002
+++ work/ASTER_HOMARD/homard	Wed May 14 17:38:32 2003
@@ -5,13 +5,16 @@
 #
 # Ceci est la zone a modifier pour une installation sur une nouvelle machine.
 # HOMARD_REP_PRO : repertoire contenant les procedures de couplage ASTER-HOMARD
-# HOMARD_REP_EXE : repertoire contenant l'executable de HOMARD, sous ses
-#                  differentes versions. Ex : HOMARD_V5.5.out
-# PYTHON_EXE : executable python que l'on a installe pour Code_ASTER
+HOMARD_REP_PRO=??????
+#
+# HOMARD_REP_EXE : l'executable de HOMARD est place dans un sous-repertoire
+#                  de HOMARD_REP_EXE. Ce sous-repertoire a pour nom le 
+#                  retour de la commande uname.
+#                  Ex : $HOMARD_REP_EXE/Linux/HOMARD_V5.5.out
+HOMARD_REP_EXE=??????
 #
-HOMARD_REP_PRO=/??????/homard
-HOMARD_REP_EXE=/??????/homard
-PYTHON_EXE=/??????/python
+# PYTHON_EXE : executable python que l'on a installe pour Code_ASTER
+PYTHON_EXE=??????
 #
 ###################################################################################
 #
diff -urN work.orig/A_Lire.txt work/A_Lire.txt
--- work.orig/A_Lire.txt	Wed Dec 11 09:39:49 2002
+++ work/A_Lire.txt	Wed May 14 17:41:39 2003
@@ -28,7 +28,7 @@
 
 3.2. Que faut-il faire ?
 ------------------------
-Le fichier contenant l'exécutable est à placer dans un répertoire au choix, sans changer son nom. Ce répertoire sera appelé "HOMARD_REP_EXE" dans la suite de ce mode d'emploi.
+On choisit un répertoire d'installation, appelé "HOMARD_REP_EXE" dans la suite de ce mode d'emploi. Dans ce répertoire "HOMARD_REP_EXE", on crée un sous-répertoire dont le nom est celui du système d'exploitation de la machine. C'est ce qui est retourné par la commande Unix "uname". Par exemple, "Linux", "SunOS", etc. Le fichier contenant l'exécutable est à placer dans ce sous-répertoire, sans changer son nom.
 
 
 4. Les procédures de couplage
Binary files work.orig/HOMARD_5.5.out and work/HOMARD_5.5.out differ
Binary files work.orig/HOMARD_V5.5.out and work/HOMARD_V5.5.out differ
--- homard.diff ends here ---

=> I shall test it again with aster, and send a fix.

Truly yours,
-- 
Th. Thomas.



More information about the freebsd-ports-bugs mailing list