sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (28e57891d8d368d9baf259c834af41d129aa9fbf)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (28e57891d8d368d9baf259c834af41d129aa9fbf)
- Date: Thu, 28 May 2009 16:32:45 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
shell-term-fm/mksh/BUILD | 8 +++++---
shell-term-fm/mksh/CONFIGURE | 1 +
shell-term-fm/mksh/DEPENDS | 5 ++++-
shell-term-fm/mksh/DETAILS | 14 +++++++-------
shell-term-fm/mksh/HISTORY | 11 +++++++++++
shell-term-fm/mksh/INSTALL | 12 ++++++------
shell-term-fm/mksh/PRE_BUILD | 6 ++++--
7 files changed, 38 insertions(+), 19 deletions(-)
New commits:
commit 28e57891d8d368d9baf259c834af41d129aa9fbf
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
mksh: => R38
diff --git a/shell-term-fm/mksh/BUILD b/shell-term-fm/mksh/BUILD
index 46697c2..2bc940e 100755
--- a/shell-term-fm/mksh/BUILD
+++ b/shell-term-fm/mksh/BUILD
@@ -1,4 +1,6 @@
-cd $SOURCE_DIRECTORY &&
-/bin/sh ./Build.sh -r &&
+sh ./Build.sh -r &&
gzip -n9 mksh.1 &&
-./test.sh -v >/var/log/mksh.test.log 2>&1
+
+if [[ $MKSH_TEST == y ]]; then
+ ./test.sh -v > "$INSTALL_ROOT/tmp/mksh.test.log" 2>&1
+fi
diff --git a/shell-term-fm/mksh/CONFIGURE b/shell-term-fm/mksh/CONFIGURE
new file mode 100755
index 0000000..1c2e36c
--- /dev/null
+++ b/shell-term-fm/mksh/CONFIGURE
@@ -0,0 +1 @@
+config_query MKSH_TEST "Run the regression test suite?" n
diff --git a/shell-term-fm/mksh/DEPENDS b/shell-term-fm/mksh/DEPENDS
index f4f26ab..e6710df 100755
--- a/shell-term-fm/mksh/DEPENDS
+++ b/shell-term-fm/mksh/DEPENDS
@@ -1 +1,4 @@
-depends ed
+if [[ $MKSH_TEST == y ]]; then
+ depends perl &&
+ depends ed
+fi
diff --git a/shell-term-fm/mksh/DETAILS b/shell-term-fm/mksh/DETAILS
index ca381be..4577e68 100755
--- a/shell-term-fm/mksh/DETAILS
+++ b/shell-term-fm/mksh/DETAILS
@@ -1,16 +1,16 @@
SPELL=mksh
- VERSION=R36b
+ VERSION=R38
SOURCE=$SPELL-$VERSION.cpio.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
- SOURCE_URL[0]=http://www.mirbsd.org/dist/mir/mksh/$SOURCE
- SOURCE_URL[1]=http://pub.allbsd.org/dist/mir/mksh/$SOURCE
- WEB_SITE=http://mirbsd.de/mksh
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
+ SOURCE_URL[0]=https://www.mirbsd.org/MirOS/dist/mir/$SPELL/$SOURCE
+ SOURCE_URL[1]=http://pub.allbsd.org/MirOS/dist/mir/$SPELL/$SOURCE
+ WEB_SITE=http://www.mirbsd.org/mksh.htm
ENTERED=20060928
-
SOURCE_HASH=sha512:1e0e7f26d5f1c8710c7b90ec44a417b7853188ffd2e59aa35d95a62a1cb87cc6027eff91c05f6074e2427538ace58ee8bd4eb80f5adf4da2f416e9573ee15eb1
+
SOURCE_HASH=sha512:95068686d4baa18f73d8e489a6fb511aa543a5b3813f6738e57e28ffcfbe324c815bc909574afdeaf310b4d4a0c2b91ff16c5042c454ae31e804b184158fdc29
# I suggest to add this to the list (shortname MIROS or MIRBSD please)
LICENSE[0]=http://mirbsd.de/MirOS-Licence
SHORT="MirBSD Korn Shell"
-cat <<-'EOF'
+cat << EOF
mksh is the MirBSD enhanced version of the Public Domain Korn
shell (pdksh), a bourne-compatible shell which is largely si-
milar to the original AT&T Korn shell. It includes bug fixes
diff --git a/shell-term-fm/mksh/HISTORY b/shell-term-fm/mksh/HISTORY
index 64e0e5a..7816968 100644
--- a/shell-term-fm/mksh/HISTORY
+++ b/shell-term-fm/mksh/HISTORY
@@ -1,3 +1,14 @@
+2009-05-29 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to R38; quoting paths; renewed offsite,
mirrors
+ * BUILD: removed `cd' -- should be in PRE_BUILD; don't send garbage to
+ /var/log; use correct $INSTALL_ROOT prefix
+ * INSTALL: quoting paths; removed tab; increased verbosity
+ * PRE_BUILD: quoting paths; cleaned up
+ * CONFIGURE: added for the regression test suite
+ * DEPENDS: added perl to deps; depend on ed+perl if test option has
been
+ selected
+ * BUILD: run test script if test option has been selected
+
2008-12-16 Thomas Orgis <sobukus AT sourcemage.org>
* DETAILS: bump to R36b
diff --git a/shell-term-fm/mksh/INSTALL b/shell-term-fm/mksh/INSTALL
index 840778d..9107190 100755
--- a/shell-term-fm/mksh/INSTALL
+++ b/shell-term-fm/mksh/INSTALL
@@ -1,8 +1,8 @@
-if install_config_file dot.mkshrc $INSTALL_ROOT/etc/skel/.mkshrc; then
- chmod 0644 $INSTALL_ROOT/etc/skel/.mkshrc
+if install_config_file dot.mkshrc "$INSTALL_ROOT/etc/skel/.mkshrc"; then
+ chmod 0644 "$INSTALL_ROOT/etc/skel/.mkshrc"
fi &&
-install -d -o root -g root -m 755 ${INSTALL_ROOT}/bin &&
-install -c -s -o root -g root -m 555 mksh ${INSTALL_ROOT}/bin/ &&
-install -d -o root -g root -m 755 ${INSTALL_ROOT}/usr/share/man/man1 &&
-install -c -o root -g root -m 444 mksh.1.gz
${INSTALL_ROOT}/usr/share/man/man1/
+install -d -o root -g root -vm 755 "$INSTALL_ROOT/bin" &&
+install -c -s -o root -g root -vm 555 mksh "$INSTALL_ROOT/bin" &&
+install -d -o root -g root -vm 755 "$INSTALL_ROOT/usr/share/man/man1" &&
+install -c -o root -g root -vm 444 mksh.1.gz
"$INSTALL_ROOT/usr/share/man/man1"
diff --git a/shell-term-fm/mksh/PRE_BUILD b/shell-term-fm/mksh/PRE_BUILD
index 6860f3b..51df40a 100755
--- a/shell-term-fm/mksh/PRE_BUILD
+++ b/shell-term-fm/mksh/PRE_BUILD
@@ -1,4 +1,6 @@
verify_file &&
-mk_source_dir $SOURCE_DIRECTORY &&
+mk_source_dir "$SOURCE_DIRECTORY" &&
+cd "$BUILD_DIRECTORY" &&
+
# We need a cpio handler...
-cd $BUILD_DIRECTORY && gzip -dc $SOURCE_CACHE/$SOURCE | cpio -mid
+gunzip -c "$SOURCE_CACHE/$SOURCE" | cpio -mid
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (28e57891d8d368d9baf259c834af41d129aa9fbf), Vlad Glagolev, 05/28/2009
Archive powered by MHonArc 2.6.24.