[20207] trunk/dports/archivers/lha

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 27 11:36:20 PDT 2006


Revision: 20207
          http://trac.macosforge.org/projects/macports/changeset/20207
Author:   takanori at macports.org
Date:     2006-10-27 11:36:20 -0700 (Fri, 27 Oct 2006)

Log Message:
-----------
Version 1.14i-ac20050924p1.

It seems that some known security flaws (CVE-2006-4335, CVE-2006-4337, and
CVE-2006-4338) have been fixed in this version. Closes ticket #10932.

Modified Paths:
--------------
    trunk/dports/archivers/lha/Portfile

Removed Paths:
-------------
    trunk/dports/archivers/lha/files/patch-Makefile

Modified: trunk/dports/archivers/lha/Portfile
===================================================================
--- trunk/dports/archivers/lha/Portfile	2006-10-27 18:34:32 UTC (rev 20206)
+++ trunk/dports/archivers/lha/Portfile	2006-10-27 18:36:20 UTC (rev 20207)
@@ -2,25 +2,39 @@
 
 PortSystem 1.0
 name		lha
-version		114i
+version		1.14i-ac20050924p1
+epoch		20061016
 categories	archivers sysutils
 description	Utility for creating and opening lzh archives
 maintainers	jc at crazic.ru
 long_description ${description}
-homepage	http://www2m.biglobe.ne.jp/~dolphin/lha/lha-unix.htm
-master_sites	http://www2m.biglobe.ne.jp/~dolphin/lha/prog/
-checksums	md5 5225884d557b91f04124693e2c5c9e94
+homepage	http://lha.sourceforge.jp/
+set sfjpid	22231
+master_sites	http://keihanna.dl.sourceforge.jp/lha/${sfjpid}/ \
+		http://qgpop.dl.sourceforge.jp/lha/${sfjpid}/ \
+		http://osdn.dl.sourceforge.jp/lha/${sfjpid}/
+checksums	md5 9f52430410928ba4390a73a41a36d56f \
+		sha1 2491c8b584c21759f1d3819f57fa0e1cbc235092 \
+		rmd160 7603dc93d8afdeed6cfbaa193f68ae4283bea39b
 
-use_configure	no
-
-patchfiles	patch-Makefile
-
 post-build	{
 	system "strip ${build.dir}/src/$name"
 }
 
+test.run	yes
+test.target	check
+
 destroot	{
 	xinstall -m 755 -d ${destroot}/${prefix}/bin
-
 	file copy ${build.dir}/src/$name ${destroot}/${prefix}/bin
 }
+
+post-destroot	{
+	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/olddoc
+	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/man
+	xinstall -m 644 -W ${worksrcpath} 00readme.autoconf ChangeLog Hacking_of_LHa header.doc.euc ${destroot}${prefix}/share/doc/${name}
+	foreach f {*.txt *.euc *.eng} {
+		eval xinstall -m 644 [glob ${worksrcpath}/olddoc/${f}] ${destroot}${prefix}/share/doc/${name}/olddoc
+	}
+	xinstall -m 644 ${worksrcpath}/man/lha.man ${destroot}${prefix}/share/doc/${name}/man
+}

Deleted: trunk/dports/archivers/lha/files/patch-Makefile
===================================================================
--- trunk/dports/archivers/lha/files/patch-Makefile	2006-10-27 18:34:32 UTC (rev 20206)
+++ trunk/dports/archivers/lha/files/patch-Makefile	2006-10-27 18:36:20 UTC (rev 20207)
@@ -1,11 +0,0 @@
---- Makefile-orig	Fri Dec 15 15:13:16 2000
-+++ Makefile	Wed Aug  4 18:13:51 2004
-@@ -20,7 +20,7 @@
- 
- #MACHINE     = -DSYSTIME_HAS_NO_TM -DFTIME -DEUC
- #MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC -DHAVE_TM_ZONE -DSYSV_SYSTEM_DIR
--MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR -DMKTIME
-+MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR -DMKTIME -DHAVE_NO_LCHOWN
- 
- #OPTIMIZE	= -O2 -fstrength-reduce -fomit-frame-pointer
- OPTIMIZE	= -O2 -DSUPPORT_LH7 -DMKSTEMP

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061027/47191a02/attachment.html


More information about the macports-changes mailing list