Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
neurobin committed Nov 20, 2018
1 parent 3c95172 commit dea014f
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 13 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
CHANGES

4.0.1 Tue Nov 20 08:22:20 UTC 2018

* Add LDFLAGS environment variable (Thanks to zboszor <https://github.com/zboszor>)

4.0.0 Mon Nov 12 16:54:56 UTC 2018

* Add -H option for extra security without root (Thanks to intika <https://github.com/intika>). It protects against dumping, code injection, `cat /proc/pid/cmdline`, ptrace, etc.. (only works with Bourne shell (sh) scripts with no parameter)
Expand Down
20 changes: 10 additions & 10 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for shc 4.0.0.
# Generated by GNU Autoconf 2.69 for shc 4.0.1.
#
# Report bugs to <http://github.com/neurobin/shc/issues>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='shc'
PACKAGE_TARNAME='shc'
PACKAGE_VERSION='4.0.0'
PACKAGE_STRING='shc 4.0.0'
PACKAGE_VERSION='4.0.1'
PACKAGE_STRING='shc 4.0.1'
PACKAGE_BUGREPORT='http://github.com/neurobin/shc/issues'
PACKAGE_URL=''

Expand Down Expand Up @@ -1279,7 +1279,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures shc 4.0.0 to adapt to many kinds of systems.
\`configure' configures shc 4.0.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1346,7 +1346,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of shc 4.0.0:";;
short | recursive ) echo "Configuration of shc 4.0.1:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1437,7 +1437,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
shc configure 4.0.0
shc configure 4.0.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -1863,7 +1863,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by shc $as_me 4.0.0, which was
It was created by shc $as_me 4.0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2733,7 +2733,7 @@ fi
# Define the identity of the package.
PACKAGE='shc'
VERSION='4.0.0'
VERSION='4.0.1'
cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -5311,7 +5311,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by shc $as_me 4.0.0, which was
This file was extended by shc $as_me 4.0.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -5368,7 +5368,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
shc config.status 4.0.0
shc config.status 4.0.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([shc], [4.0.0], [http://github.com/neurobin/shc/issues])
AC_INIT([shc], [4.0.1], [http://github.com/neurobin/shc/issues])
AC_CONFIG_AUX_DIR(config)
#prefix="/usr"
AC_CONFIG_SRCDIR([src/shc.c])
Expand Down
7 changes: 6 additions & 1 deletion shc.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Automatically generated by Pandoc 1.19.2.4
.\"
.TH "shc" "1" "November 13, 2018" "shc user manual" ""
.TH "shc" "1" "November 20, 2018" "shc user manual" ""
.hy
.SH NAME
.PP
Expand Down Expand Up @@ -170,6 +170,11 @@ C compiler command \f[C][cc]\f[]
C compiler flags \f[C][none]\f[]
.RS
.RE
.TP
.B LDFLAGS
Linker flags \f[C][none]\f[]
.RS
.RE
.SH EXAMPLES
.PP
Compile a script which can be run on other systems with the trace option
Expand Down
2 changes: 1 addition & 1 deletion src/shc.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

static const char my_name[] = "shc";
static const char version[] = "Version 4.0.0";
static const char version[] = "Version 4.0.1";
static const char subject[] = "Generic Shell Script Compiler";
static const char cpright[] = "GNU GPL Version 3";
static const struct { const char * f, * s, * e; }
Expand Down

0 comments on commit dea014f

Please sign in to comment.