aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-30 05:31:23 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-30 05:31:23 +0000
commit767e8987a8fc3b24360bbf8c497971c09be706a3 (patch)
treee41ab076863234327dd55bbd89901b423a83dd29
parentmake sure type doesnt error if strip begins with a - (diff)
downloadportage-master_2262.tar.gz
portage-master_2262.tar.bz2
portage-master_2262.zip
Add support for unpacking lha/lhz archives.master_2262
svn path=/main/trunk/; revision=2202
-rw-r--r--ChangeLog3
-rwxr-xr-xbin/ebuild-default-functions.sh4
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d605950a0..d5100fb42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,9 @@
2. /var/cache/edb/world is now /var/lib/portage/world.
3. /etc/portage/profile/virtuals is _USER_ configs only.
+ 30 Oct 2005; Mike Frysinger <vapier@gentoo.org> bin/ebuild-default-functions.sh:
+ Add support for unpacking lha/lhz archives.
+
02 Oct 2005; Mike Frysinger <vapier@gentoo.org> bin/prepall:
Touchup the library checks to handle ABI dirs, make sure .a/.la files aren't
installed into /lib* dirs, make sure .a/.la files are chmod a-x, and make
diff --git a/bin/ebuild-default-functions.sh b/bin/ebuild-default-functions.sh
index db4539122..effc36987 100755
--- a/bin/ebuild-default-functions.sh
+++ b/bin/ebuild-default-functions.sh
@@ -141,6 +141,10 @@ unpack() {
;;
RAR|rar)
unrar x -idq "${srcdir}/${x}" || die "$myfail"
+ ;;
+ LHa|LHA|lha|lzh)
+ lha xqf "${srcdir}/${x}" || die "$myfail"
+ ;;
*)
echo "unpack ${x}: file format not recognized. Ignoring."
;;