diff options
author | sl1pkn07 | 2015-06-08 17:13:50 +0200 |
---|---|---|
committer | sl1pkn07 | 2015-06-08 17:13:50 +0200 |
commit | 12d079f07aedbb1b6a2fb357eb79a022976e1406 (patch) | |
tree | 7b282f5eae91d53791c2a43ab1a899ed72721d83 | |
download | aur-12d079f07aedbb1b6a2fb357eb79a022976e1406.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | LICENSE | 172 | ||||
-rw-r--r-- | PKGBUILD | 25 | ||||
-rw-r--r-- | lha.man.en | 139 |
5 files changed, 361 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9ea185cd2420 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = lha + pkgdesc = A compression and archive utility for LH-7 format archives + pkgver = 1.17 + pkgrel = 6 + url = http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/ + arch = i686 + arch = x86_64 + license = custom + source = ftp://ftp.uhulinux.hu/mirror/http%3A/www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/linux/lha117.tar.gz + source = LICENSE + source = lha.man.en + sha1sums = da97195db297d2d1f8f288b1b99eea426edb8170 + sha1sums = e62662e4b8ab2b11bf60d9803312f9743ad731e2 + sha1sums = 1c100e5178d324103fb6382edd3e96789a86a86a + depends_i686 = glibc + depends_x86_64 = lib32-glibc + +pkgname = lha + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..cdc76e82c5fe --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD +!lha.man.en +!LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..1f8218aa444a --- /dev/null +++ b/LICENSE @@ -0,0 +1,172 @@ +LICENSE taken from Debian package. + +Upstream Authors: + + LHarc 0.01-1.00: Yooichi Tagawa (LHa code taken from here, 1988-1989) + Nikkei-mix ID: y.tagawa (Now this is defunct BBS, Licensing term + in manual page come from his licence for lharc) + His new web page seems to be www2s.biglibe.ne.jp/~yex/ + yooedit2001@yahoo.co.jp is the contact e-mail address for another + software. Page updated at least July/2001 + + LHa 0.01-1.00: Masaru Oki (LHa original author, 1991-1992) + E-Mail address: oki@netbsd.org + + LHa 1.10-1.14: Nobutaka Watazaki (Last official release? 1993-1995) + ALICE-NET ALS00595 Nasty + E-Mail JBD02514@niftyserve.or.jp + E-Mail femcs@mbox.kyoto-inet.or.jp + NIFTY-Serve JBD02514 + E-Mail address: watazaki@shimadzu.co.jp + E-Mail address: watazaki@shimadzusd.co.jp + + Lha 1.14a-1.14e: Tsugio Okamoto <tsugio@muc.biglobe.ne.jp> (1996-2000) + LHa for UNIX V 1.15 Modified 2000 S. K. + LHA for UNIX V 1.16 Modified 2001 M. Ishii + LHA for UNIX V 1.17 Modified 2002 M. Ishii + + +Copyright: + +Original Source Code License Statement: + + /* Copyright (C) MCMLXXXIX Yooichi.Tagawa */ + /* Modified Nobutaka Watazaki */ + /* Thanks to H.Yoshizaki. (MS-DOS LHarc) */ + + +Original Authors License Statement (from man/lha.man, in Japanese +EUC-JP): + + 再配布について + 以下の条件で、再配布、転載、改変を許可します。 + + 1. 著作権表示を削除しないこと。 + + 2. 配布内容については、 + + a. 配布の際に存在する内容(すなわち ソー ス コー + ド、 ド キュメント、プログラマーへの手引きな + ど)が再配布されたものの中に必ず存在 す る こ + と。 改 変されているならば、それを明示したド + キュメントを用意すること。 + + b. LHa に対する付加価値が付けられて再配布される + 場合にはそれらもできるだけ含めるよう努力する + こと。また、その際には付加価値が付けられてい + ることを明示したドキュメントを用意すること。 + + c. バイナリのみの配布は許されない。(付加価値 の + ものも含む) + + 3. 最新版の配布に務めること。(義務はない) + + 注. なお、ネットでの配付は自由であるが、ネットに + アクセスできない方(雑誌および、 CDROM な ど + に よる)配付は、配付前にこちらに EMail をお + 願いします。配付前に出来ない際には、後日必ず + EMail をお願いします。 + + 4. このプログラムの存在や使用したことによって生じた損 + 害は全く保証しない。 + + 5. 作者は、このプログラムに不備があっても、それを訂 正 + する義務を負わない。 + + 6. このプログラムの一部、または全部を他のプログラムに + 組み込んで利用してもかまわない。この場合、そのプ ロ + グラムは LHa ではなく、 LHa と名乗ってはいけない。 + + 7. 商利用に関しては、上記の条件に加え、下記の条件のも + とにこれを認める。 + + a. このプログラムをメインとする商利用は禁 止 す + る。 + + b. 商利用の相手がこのプログラムの使用者として不 + 適切と判断した場合には配布しない。 + + c. インストールの手段として使用する場合、このプ + ログラムを使うことを相手に強制しない。この場 + 合、商利用者が作業を行う。また、そのときの損 + 害は、商利用者が全責任を負う。 + + d. 商利用を付加価値として行いこのプログラムを使 + 用する場合、商利用者は、そのサポートを行う。 + + +Original Authors License Statement (from man/lha.man, translated by +Osamu Aoki <debian@aokiconsulting.com>): + + Permission is given for redistribution, copy, and modification provided + following conditions are met. + + 1. Do not remove copyright clause. + 2. Distribution shall conform: + a. The content of redistribution (i.e., source code, documentation, + and reference guide for programmers) shall include original contents. + If contents are modified, the document clearly indicating + the fact of modification must be included. + b. If LHa is redistributed with added values, you must put your best + effort to include them (Translator comment: If read literally, + original Japanese was unclear what "them" means here. But + undoubtedly this "them" means source code for the added value + portion and this is a typical Japanese sloppy writing style to + abbreviate as such) Also the document clearly indicating that + added value was added must be included. + c. Binary only distribution is not allowed (including added value + ones.) + 3. You need to put effort to distribute the latest version (This is not + your duty). + + NB: Distribution on Internet is free. Please notify me by e-mail or + other means prior to the distribution if distribution is done through + non-Internet media (Magazine, CDROM etc.) If not, make sure to Email + me later. + + 4. Any damage caused by the existence and use of this program will not + be compensated. + + 5. Author will not be responsible to correct errors even if program is + defective. + + 6. This program, either as a part of this or as a whole of this, may be + included into other programs. In this case, that program is not LHa + and can not call itself LHa. + + 7. For commercial use, in addition to above conditions, following + condition needs to be met. + + a. The program whose content is mainly this program can not be used + commercially. + b. If the recipient of commercial use deems inappropriate as a + program user, you must not distribute. + c. If used as a method for the installation, you must not force + others to use this program. In this case, commercial user will + perform its work while taking full responsibility of its outcome. + d. If added value is done under the commercial use by using this + program, commercial user shall provide its support. + + +(Osamu Aoki also comments: + Here "commercial" may be interpreted as "for-fee". "Added value" seems + to mean "feature enhancement". ) + + +License Statement by Tsugio Okamoto (in Japanese EUC-JP): + + なお、ネットでの配付は自由ですが、ネットにアクセスできない方(雑誌および、 + CD-ROM などによる)への配付は、配付前にこちらに Inter-Net の方にE-Mail + を お願いします。 どこそこに、掲載するという旨があれば結構ですので。 + また、それも出来ない際には、後日 E-Mail を必ずお願いします。 + + +Translated License Statement by Tsugio Okamoto (translated by +GOTO Masanori <gotom@debian.org>): + + It's free to distribute on the network, but if you distribute for + the people who cannot access the network (by magazine or CD-ROM), + please send E-Mail (Inter-Net address) to the author before the + distribution. That's well where this software is appeard. + If you cannot do, you must send me the E-Mail later. + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..628825d7aacb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> + +pkgname=lha +pkgver=1.17 +pkgrel=6 +pkgdesc="A compression and archive utility for LH-7 format archives" +arch=('i686' 'x86_64') +url="http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/" +license=('custom') +depends_i686=('glibc') +depends_x86_64=('lib32-glibc') +source=("ftp://ftp.uhulinux.hu/mirror/http%3A/www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/linux/${pkgname}${pkgver/./}.tar.gz" + 'LICENSE' + 'lha.man.en') +sha1sums=('da97195db297d2d1f8f288b1b99eea426edb8170' + 'e62662e4b8ab2b11bf60d9803312f9743ad731e2' + '1c100e5178d324103fb6382edd3e96789a86a86a') + +package() { + install -Dm755 lha "${pkgdir}/usr/bin/lha" + install -Dm644 lha.man "${pkgdir}/usr/share/man/ja/man1/lha.1" + install -Dm644 lha.man.en "${pkgdir}/usr/share/man/man1/lha.1" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/lha.man.en b/lha.man.en new file mode 100644 index 000000000000..4335ebc18d64 --- /dev/null +++ b/lha.man.en @@ -0,0 +1,139 @@ + .\" lha - LZH un-archiver +.\" Copyright (c) 1996 Martin Schulze <joey@namib.north.de> +.\" +.\" This manual page is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program; if not, write to the Free Software +.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +.\" +.\" This manpage is written especially for Debian GNU/Linux. +.\" +.\" LHarc for UNIX V 1.02 Copyright(C) 1989 Y.Tagawa +.\" LHx for MSDOS V C2.01 Copyright(C) 1990 H.Yoshizaki +.\" LHx(arc) for OSK V 2.01 Modified 1990 Momozou +.\" LHa for UNIX V 1.00 Copyright(C) 1992 Masaru Oki +.\" +.\" Additions by Joerg Boehnke <joerg@oggi.oche.de> +.\" +.TH LHA 1 "22 Sept, 1998" "Debian GNU/Linux" "Archiver" +.SH NAME +LHa \- LZH un-archiver +.SH SYNOPSIS +.B lha +.B key +[ +.B - +] +.B {axelvudmcp} +[ +.B qvnfodizg012 +] +[ +.B w=<dir> +] +.I archive_file +[ +.I flie +\&.\|.\|. ] +.br +.B lha +.I archive_file +.SH DESCRIPTION +The +.B lha +program displays or extracts the contents of a LZH archive. + +For a list of commands, please refer to the executable. It will +display a list of valid commands and modifiers if you omit any +parameter. + +.TP +commands: + +.B a +Add(or replace) to archive + +.B x,e +EXtract from archive + +.B l,v +List / Verbose List + +.B u +Update newer files to archive + +.B d +Delete from archive + +.B m +Move to archive (means 'ad') + +.B c +re-Construct new archive + +.B p +Print to STDOUT from archive + +.B t +Test file CRC in archive + +.TP +options: + +.B q +quiet + +.B v +verbose + +.B n +not execute + +.B f +force (over write at extract) + +.B t +FILES are TEXT file + +.B o +use LHarc compatible method (a/u) + +.B w=<dir> +specify extract directory (x/e) + +.B d +delete FILES after (a/u/c) + +.B i +ignore directory path (x/e) + +.B z +files not compress (a/u) + +.B g +[Generic] format (for compatibility) + +.B 0/1/2 +header level (a/u) + +.B e +TEXT code convert from/to EUC + +.B y +filename multibyte convert + +.SH BUGS + +This manpage is poor, it really should be improved, but the original +is in Japanese. + +Try lha without any command line arguments to get help |