debian/0000755000000000000000000000000011760724374007201 5ustar debian/ant.properties0000644000000000000000000000030011742351436012065 0ustar compile.nowarn=yes compile.optimize=true link.offline=true link.url=file:///usr/share/doc/classpath-doc/api/ packagelist.loc=/usr/share/doc/classpath-doc/api jlha.jar=/usr/share/java/jlha.jar debian/compat0000644000000000000000000000000211742352231010364 0ustar 9 debian/copyright0000644000000000000000000000310011760725131011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jlha-utils Upstream-Contact: Ying-Chun Liu (PaulLiu) Source: http://sourceforge.net/projects/jlhafrontend/ Files: * Copyright: 2006 Ying-Chun Liu (PaulLiu) 2002 Michel Ishizuka License: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/control0000644000000000000000000000156311760725131010601 0ustar Source: jlha-utils Section: utils Priority: optional Maintainer: Ying-Chun Liu (PaulLiu) Build-Depends: cdbs (>= 0.4.36), debhelper (>= 9) Build-Depends-Indep: ant, default-jdk, docbook-to-man, libjlha-java Standards-Version: 3.9.3 Homepage: http://sourceforge.net/projects/jlhafrontend/ Package: jlha-utils Architecture: all Depends: default-jre-headless | java-runtime-headless | java2-runtime-headless, libjlha-java, ${misc:Depends} Provides: lzh-archiver Conflicts: lha (<< 1.14i-10.4) Description: command-line lzh archiver written in Java lzh is an archiving format generated by lha utility. jlha-utils is a command-line program for compressing or decompressing lzh files. It has a compatible interface to the lha program. . Note: Some of the functionality is missing currently, please read README.Debian for detailed information. debian/watch0000644000000000000000000000011711742351436010224 0ustar version=3 http://sf.net/jlhafrontend/jlhafrontend-(.*)\.tar\.gz debian uupdate debian/source/0000755000000000000000000000000011742353322010470 5ustar debian/source/format0000644000000000000000000000001411742353322011676 0ustar 3.0 (quilt) debian/jlha-utils.postinst0000644000000000000000000000136711742351436013064 0ustar #! /bin/sh # postinst script for jlha-utils # set -e case "$1" in configure) update-alternatives --quiet --install /usr/bin/lha lha /usr/bin/jlha 30 \ --slave /usr/share/man/man1/lha.1.gz lha.1.gz /usr/share/man/man1/jlha.1.gz update-alternatives --quiet --install /usr/bin/lzh-archiver lzh-archiver /usr/bin/jlha 30 \ --slave /usr/share/man/man1/lzh-archiver.1.gz lzh-archiver.1.gz /usr/share/man/man1/jlha.1.gz ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/clean0000644000000000000000000000000711742352204010170 0ustar jlha.1 debian/jlha-utils.prerm0000644000000000000000000000075311742351436012324 0ustar #! /bin/sh # prerm script for jlha-utils # set -e case "$1" in remove|upgrade|deconfigure) update-alternatives --quiet --remove lha /usr/bin/jlha update-alternatives --quiet --remove lzh-archiver /usr/bin/jlha ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/changelog0000644000000000000000000000407711760723263011057 0ustar jlha-utils (0.1.6-3) unstable; urgency=low * Change conflict to old lha. New lha package are using update-alternative so it is no longer conflict to this package. -- Ying-Chun Liu (PaulLiu) Tue, 29 May 2012 00:23:49 +0800 jlha-utils (0.1.6-2) unstable; urgency=low [Jari Aalto ] * Remove simple-patchsys.mk and upgrade to packaging format "3.0 quilt" which includes patch management built-in. (Closes: #668829) * Update to Standards-Version to 3.9.3 and debhelper to 9 to benefit from hardened build flags. * Update obsolete depends default-jdk-builddep with default-jdk. * Fix copyright-with-old-dh-make-debian-copyright (Lintian). [Ying-Chun Liu (PaulLiu) ] * Use debian/clean to clean up temporarily files. * Update debian/copyright format to v1.0 * Use debian/.manpages to install manpages -- Ying-Chun Liu (PaulLiu) Sun, 15 Apr 2012 03:46:19 +0800 jlha-utils (0.1.6-1) unstable; urgency=low * New upstream release (Closes: #519830) + Add 0/1/2 - to change header level + Fix NullPointerException bug when updating lzh with non-existing file * Bump standard version to 3.8.2, nothing needed to be changed * Use Homepage: field instead of the pseudo-field in long description * Re-format debian/copyright * debian/watch: + Use uupdate for easier update + Use uscan sourceforge redirector format * Build depends on default-jdk instead of gcj -- Ying-Chun Liu (PaulLiu) Sun, 26 Jul 2009 00:20:07 +0800 jlha-utils (0.1.5-1) unstable; urgency=low * New upstream release + Add t - Files are text files option + Add e - Convert from/to EUC-JP code option * Removing Uploaders field in debian/control. * Refine the format of Build-Depends in debian/control -- Ying-Chun Liu (PaulLiu) Mon, 22 Jan 2007 14:06:47 +0800 jlha-utils (0.1.4-1) unstable; urgency=low * Initial release (Closes: #382062) -- Ying-Chun Liu (PaulLiu) Mon, 18 Dec 2006 00:32:10 +0800 debian/jlha-utils.manpages0000644000000000000000000000000711742352367012766 0ustar jlha.1 debian/rules0000755000000000000000000000142011742352363010251 0ustar #!/usr/bin/make -f # debian/rules for jlha-utils (uses cdbs). # This file is public domain. UPSTREAM_VERSION := $(shell dpkg-parsechangelog |\ egrep '^Version:' | cut -f2 -\d' ' | cut -f1 -d- ) include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILDFILE := build.xml DEB_ANT_BUILD_TARGET := compile DEB_INSTALL_DOCS_ALL := TODO install/jlha-utils:: install -D -m 644 target/jlhafrontend.jar \ $(CURDIR)/debian/jlha-utils/usr/share/java/jlhafrontend-$(UPSTREAM_VERSION).jar dh_link /usr/share/java/jlhafrontend-$(UPSTREAM_VERSION).jar /usr/share/java/jlhafrontend.jar install -D -m 755 debian/jlha.sh debian/jlha-utils/usr/bin/jlha build/jlha-utils:: docbook-to-man debian/jlha.sgml > jlha.1 debian/README.Debian0000644000000000000000000000127311742351436011240 0ustar jlha-utils for Debian ----------------------- jlha-utils is command-line compatible to the popular "lha" lzh archiver. It should work as a replacement for lha, but some of the functionality of lha is not yet implemented. Currently it doesn't support "non-generic format". Since it only supports "generic format", it is better not using jlha to backup files in Un*x systems. The file permissions are not stored in generic format. And when extracting, the permissions are not restored either. However, jlha-utils should work well in many cases for many people, such as for GUI front-ends such as file-roller. -- Ying-Chun Liu (PaulLiu) Tue, 8 Aug 2006 23:12:38 +0800 debian/jlha.sgml0000644000000000000000000001652511742351436011007 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Ying-Chun"> Liu"> Jun 20, 2006"> 1"> grandpaul@gmail.com"> jlha-utils"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2006 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; lzh decompressor/compressor &dhpackage; archive_filefile DESCRIPTION This manual page documents briefly the &dhpackage; commands. This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhpackage; is a program extracts or creates LZH archive files. COMMANDS AND OPTIONS commands: Add files to archive EXtract files from archive List files from archive Verbose list files from archive Update files to archive Delete files from archive Move files to archive Create archive Print archive to stdout Test the integrity of an archive options: quiet output verbose output force overwrite existing files FILES are TEXT files Change LHA compression algorithm <dir> specify working directory. only works for (e/x) delete files after executing commands. only works for (a/u/c) ignore path. only works for (e/x) do not compress files (a/u) change header level (a/u) convert text file encoding from/to EUC-JP convert filename from Shift-JIS AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). This manual page is in public domain and is freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by anyone for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived.
debian/jlha.sh0000644000000000000000000000011111742351436010437 0ustar #!/bin/sh exec /usr/bin/java -jar /usr/share/java/jlhafrontend.jar "$@"