]> git.pld-linux.org Git - packages/mksh.git/commitdiff
- mark version as PLD; requested by upstream
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 12 Jul 2011 06:04:43 +0000 (06:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mksh-distro.patch -> 1.1
    mksh.spec -> 1.29

mksh-distro.patch [new file with mode: 0644]
mksh.spec

diff --git a/mksh-distro.patch b/mksh-distro.patch
new file mode 100644 (file)
index 0000000..56bb1a7
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ur mksh.org/check.t mksh/check.t
+--- mksh.org/check.t   2011-06-12 16:59:07.000000000 +0200
++++ mksh/check.t       2011-07-12 08:00:42.528102214 +0200
+@@ -25,7 +25,7 @@
+ # http://www.research.att.com/~gsf/public/ifs.sh
+ expected-stdout:
+-      @(#)MIRBSD KSH R40 2011/06/12
++      @(#)MIRBSD KSH R40 2011/06/12 @DISTRO@
+ description:
+       Check version of shell.
+ stdin:
+diff -ur mksh.org/sh.h mksh/sh.h
+--- mksh.org/sh.h      2011-06-12 16:59:09.000000000 +0200
++++ mksh/sh.h  2011-07-12 08:01:04.445312267 +0200
+@@ -153,7 +153,7 @@
+ #ifdef EXTERN
+ __RCSID("$MirOS: src/bin/mksh/sh.h,v 1.476 2011/06/12 14:58:45 tg Exp $");
+ #endif
+-#define MKSH_VERSION "R40 2011/06/12"
++#define MKSH_VERSION "R40 2011/06/12 @DISTRO@"
+ #ifndef MKSH_INCLUDES_ONLY
index 1c4b7bc09874deb6db6736b8ea7d4b40130acd99..687a375b17a194dc0c8d62c4ecc69037230b3b4c 100644 (file)
--- a/mksh.spec
+++ b/mksh.spec
@@ -16,6 +16,7 @@ Patch1:               %{name}-circumflex.patch
 Patch2:                %{name}-no_stop_alias.patch
 Patch3:                %{name}-tty.patch
 Patch4:                %{name}-test.patch
+Patch5:                %{name}-distro.patch
 URL:           https://www.mirbsd.org/mksh.htm
 %if %{with tests}
 BuildRequires: ed
@@ -86,6 +87,9 @@ mv mksh/* .; rmdir mksh
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+
+sed -i -e 's#@DISTRO@# PLD/Linux 3.0#g' check.t sh.h
 
 %build
 install -d out
This page took 0.130021 seconds and 4 git commands to generate.