Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9f20c7515b3832b8965da6a727f77b0ffb029f85)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9f20c7515b3832b8965da6a727f77b0ffb029f85)
  • Date: Thu, 29 Oct 2015 18:30:48 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

archive/lha/BUILD | 12 ------
archive/lha/HISTORY | 8 +++-
archive/lha/PRE_BUILD | 15 ++++++++
archive/lha/lha.1 | 93
++++++++++++++++++++++++++++++++++++++++++++++++++
archive/lha/lha.n | 93
--------------------------------------------------
5 files changed, 116 insertions(+), 105 deletions(-)

New commits:
commit 9f20c7515b3832b8965da6a727f77b0ffb029f85
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

lha: Fix installation

- Moved patching instructions to PRE_BUILD
- Merged sedit code into a single script
- Replaced SCRIPT_DIRECTORY with SPELL_DIRECTORY
- Rename manpage to reflect the right section

diff --git a/archive/lha/BUILD b/archive/lha/BUILD
index 11d295e..8f58e6d 100755
--- a/archive/lha/BUILD
+++ b/archive/lha/BUILD
@@ -1,11 +1 @@
- sedit "s:/local::" Makefile &&
- sedit "s:MANSECT\ =\ n:MANSECT\ =\ 1:" Makefile &&
- sedit "s:/usr/bin:${INSTALL_ROOT}/usr/bin:" Makefile &&
- sedit "s:/usr/man:${INSTALL_ROOT}/usr/man:" Makefile &&
- sedit "s/-O2/$CFLAGS/" Makefile &&
- cp $SCRIPT_DIRECTORY/lha.n man/lha.n &&
- cd src/ &&
- patch -p0 < $SCRIPT_DIRECTORY/lha.patch &&
- patch -p0 < $SCRIPT_DIRECTORY/lha.obscure_buf_oflow.patch &&
- cd - &&
- make
+make
diff --git a/archive/lha/HISTORY b/archive/lha/HISTORY
index d57896a..84dd2a2 100644
--- a/archive/lha/HISTORY
+++ b/archive/lha/HISTORY
@@ -1,3 +1,9 @@
+2015-10-29 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, PRE_BUILD: Moved patching instructions to PRE_BUILD
+ Merged sedit code into a single script
+ Replaced SCRIPT_DIRECTORY with SPELL_DIRECTORY
+ * PRE_BUILD, lha.n: Renamed manpage to reflect section 1
+
2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed MAINTAINER.

@@ -15,7 +21,7 @@
* BUILD: removed install for BUILD_API=2

2004-05-16 Seth Woolley <seth AT tautology.org>
- * BUILD, DETAILS, lha.obscure_buf_oflow.patch: obscure buffer
+ * BUILD, DETAILS, lha.obscure_buf_oflow.patch: obscure buffer
overflow fix

2004-05-09 Seth Woolley <seth AT tautology.org>
diff --git a/archive/lha/PRE_BUILD b/archive/lha/PRE_BUILD
new file mode 100755
index 0000000..ab56651
--- /dev/null
+++ b/archive/lha/PRE_BUILD
@@ -0,0 +1,15 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+sedit '
+ /^OPTIMIZE[^=]*=/s/-O2 //
+ s/^[^ ]*DIR /#&/
+ /^MANSECT/s/=.*/= 1/
+ ${
+ aOPTIMIZE += '"$CFLAGS"'
+ aMANDIR = '"$INSTALL_ROOT"'/usr/share/man
+ aBINDIR = '"$INSTALL_ROOT"'/usr/bin
+ }
+' Makefile &&
+cp $SPELL_DIRECTORY/lha.1 man/ &&
+patch -d src -p0 < $SPELL_DIRECTORY/lha.patch &&
+patch -d src -p0 < $SPELL_DIRECTORY/lha.obscure_buf_oflow.patch
diff --git a/archive/lha/lha.1 b/archive/lha/lha.1
new file mode 100644
index 0000000..8dce26e
--- /dev/null
+++ b/archive/lha/lha.1
@@ -0,0 +1,93 @@
+.\" define .EX/.EE (for multiline user-command examples; normal Courier font)
+.de EX
+.in +4n
+.nf
+.ft CW
+..
+.de EE
+.ft R
+.fi
+.in -4n
+..
+.\" =========================================================================
+.TH LHA 1
+.SH NAME
+lha \- lzh un-archiver
+.PD
+.SH SYNOPSIS
+\fBlha\fP [\fB\-\fP] {\fB\ axelvudmcp\fP} [\fB\qvnfodizg012\fP] [\fB\
w=<dir>\fP]
+\fIarchive_file [\fIfile(s)\fP\]
+.PD
+.\" =========================================================================
+.SH DESCRIPTION
+The \fIlha\fP 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.
+.PD
+.\" =========================================================================
+.SH ARGUMENTS
+.TP
+.IR a
+add (or replace) to archive
+.TP
+.IR l,v
+list, verbose list
+.TP
+.IR u
+update newer files to archive
+.TP
+.IR d
+delete from archive
+.TP
+.IR m
+move to archive
+.TP
+.IR c
+reconstruct new archive
+.TP
+.IR p
+print to STDOUT from archive
+.TP
+.IR t
+test file CRC in archive
+.\" =========================================================================
+.SH OPTIONS
+.B q
+quiet
+.TP
+.B v
+verbose
+.TP
+.B n
+not execute
+.TP
+.B f
+force (overwrite at extract)
+.TP
+.B t
+FILES are TEXT-files
+.TP
+.B o
+use LHarc compatible compression method
+.TP
+.B w=dir
+specify extract directory
+.TP
+.B d
+delete files afterwards
+.TP
+.B i
+ignore directory path
+.TP
+.B z
+files not compress
+.TP
+.B g
+Generic format (for compatibility)
+.TP
+.B 0,1,2
+header level
+.TP
+.B e
+TEXT code convert from/to EUC
+.PD
diff --git a/archive/lha/lha.n b/archive/lha/lha.n
deleted file mode 100644
index 8dce26e..0000000
--- a/archive/lha/lha.n
+++ /dev/null
@@ -1,93 +0,0 @@
-.\" define .EX/.EE (for multiline user-command examples; normal Courier font)
-.de EX
-.in +4n
-.nf
-.ft CW
-..
-.de EE
-.ft R
-.fi
-.in -4n
-..
-.\" =========================================================================
-.TH LHA 1
-.SH NAME
-lha \- lzh un-archiver
-.PD
-.SH SYNOPSIS
-\fBlha\fP [\fB\-\fP] {\fB\ axelvudmcp\fP} [\fB\qvnfodizg012\fP] [\fB\
w=<dir>\fP]
-\fIarchive_file [\fIfile(s)\fP\]
-.PD
-.\" =========================================================================
-.SH DESCRIPTION
-The \fIlha\fP 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.
-.PD
-.\" =========================================================================
-.SH ARGUMENTS
-.TP
-.IR a
-add (or replace) to archive
-.TP
-.IR l,v
-list, verbose list
-.TP
-.IR u
-update newer files to archive
-.TP
-.IR d
-delete from archive
-.TP
-.IR m
-move to archive
-.TP
-.IR c
-reconstruct new archive
-.TP
-.IR p
-print to STDOUT from archive
-.TP
-.IR t
-test file CRC in archive
-.\" =========================================================================
-.SH OPTIONS
-.B q
-quiet
-.TP
-.B v
-verbose
-.TP
-.B n
-not execute
-.TP
-.B f
-force (overwrite at extract)
-.TP
-.B t
-FILES are TEXT-files
-.TP
-.B o
-use LHarc compatible compression method
-.TP
-.B w=dir
-specify extract directory
-.TP
-.B d
-delete files afterwards
-.TP
-.B i
-ignore directory path
-.TP
-.B z
-files not compress
-.TP
-.B g
-Generic format (for compatibility)
-.TP
-.B 0,1,2
-header level
-.TP
-.B e
-TEXT code convert from/to EUC
-.PD



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (9f20c7515b3832b8965da6a727f77b0ffb029f85), Ismael Luceno, 10/29/2015

Archive powered by MHonArc 2.6.24.

Top of Page