summaryrefslogtreecommitdiff
path: root/sysutils/shc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-07-27 16:32:55 +0000
committerwiz <wiz@pkgsrc.org>2015-07-27 16:32:55 +0000
commit9aa6dea70cd1c188b95e14103689d9d0bbac3b89 (patch)
tree6928d63ae3267f0c2991489d3d18acd37fd24abb /sysutils/shc
parent061b79e6188c9ad8c22355e6c95bace38758866f (diff)
downloadpkgsrc-9aa6dea70cd1c188b95e14103689d9d0bbac3b89.tar.gz
Updated to 3.8.9, provided by Benedek Gergely oon pkgsrc-users:
Fixed incorrect implementation on rc4. Hidden all the binary executable symbols but one. Expiration date and most strings are encrypted too. All the encrypted payload is now randomized. Group and others read permision is now removed by default as read permision of the script exposes it to disassembling. Fixed bug: "rlax" used after encryption. Fixed bug: "vfork" fails on multiprocessor systems. Fixed sma11 -d option bug. Fixed untraceable() problems on FreeBSD. License clarification about the rc4 implementation. Bug on 64bit systems with expiration dates. Fixing a long standing bug making the source not hidden.
Diffstat (limited to 'sysutils/shc')
-rw-r--r--sysutils/shc/Makefile8
-rw-r--r--sysutils/shc/distinfo9
-rw-r--r--sysutils/shc/patches/patch-aa36
3 files changed, 10 insertions, 43 deletions
diff --git a/sysutils/shc/Makefile b/sysutils/shc/Makefile
index 997d40730f4..63e43c63994 100644
--- a/sysutils/shc/Makefile
+++ b/sysutils/shc/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2012/10/23 19:51:23 asau Exp $
+# $NetBSD: Makefile,v 1.7 2015/07/27 16:32:55 wiz Exp $
#
-DISTNAME= shc-3.7
+DISTNAME= shc-3.8.9
CATEGORIES= sysutils
MASTER_SITES= http://www.datsi.fi.upm.es/~frosal/sources/
EXTRACT_SUFX= .tgz
@@ -9,6 +9,10 @@ EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.datsi.fi.upm.es/~frosal/
COMMENT= Shell script to C compiler
+LICENSE= gnu-gpl-v2
+
+MAKE_FILE= makefile
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
diff --git a/sysutils/shc/distinfo b/sysutils/shc/distinfo
index a4936f07a0a..b40974667a7 100644
--- a/sysutils/shc/distinfo
+++ b/sysutils/shc/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:40:57 agc Exp $
+$NetBSD: distinfo,v 1.3 2015/07/27 16:32:55 wiz Exp $
-SHA1 (shc-3.7.tgz) = ad0532dd16ee4d34ea2485552cef07eeebfd0fcd
-RMD160 (shc-3.7.tgz) = c9a5c0c9364103cd3c8ed76d03e778b65a61c30d
-Size (shc-3.7.tgz) = 18942 bytes
-SHA1 (patch-aa) = 1b09da15c37374a87b94085d4b49977b4fd12db7
+SHA1 (shc-3.8.9.tgz) = ce62991a89a3d0812441ddbb728866d862c631da
+RMD160 (shc-3.8.9.tgz) = 59a69a302d88f698897bc971af03f6a9e3accbcf
+Size (shc-3.8.9.tgz) = 20846 bytes
diff --git a/sysutils/shc/patches/patch-aa b/sysutils/shc/patches/patch-aa
deleted file mode 100644
index 54c3a092c99..00000000000
--- a/sysutils/shc/patches/patch-aa
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2004/09/30 09:41:49 grant Exp $
-
---- Makefile.orig 2003-06-20 01:56:58.000000000 +1000
-+++ Makefile
-@@ -4,24 +4,24 @@
- INSTALL_PATH = /usr/local
-
- # For SCO
--CFLAGS = -b elf -O -D_SVID
-+#CFLAGS = -b elf -O -D_SVID
-
- # For IRIX
--CFLAGS = -xansi -fullwarn -O3 -g0
-+#CFLAGS = -xansi -fullwarn -O3 -g0
-
- # For Solaris
--CFLAGS = -fast -xO4 -s -v -Xa
-+#CFLAGS = -fast -xO4 -s -v -Xa
-
- # For HPUX
--CFLAGS = -Wall -O -Ae
-+#CFLAGS = -Wall -O -Ae
-
- # For OSF1
--CFLAGS = -w -verbose -fast -std1 -g0
-+#CFLAGS = -w -verbose -fast -std1 -g0
-
- # For GNU C compiler
--CFLAGS = -Wall -O6 -pedantic
-+#CFLAGS = -Wall -O6 -pedantic
-
--SHELL = /bin/sh
-+#SHELL = /bin/sh
-
- all: shc ask_for_test
-