Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
shc creates a stripped binary executable version of a shell script.
shc itself is not a compiler such as cc, but rather it encodes and
encrypts a shell script and generates C source code with the added
expiration capability. It then uses the system compiler to compile a
stripped binary which behaves exactly like the original script. Upon
execution, the compiled binary will decrypt and execute the code with
the shell -c option.
+19
View File
@@ -0,0 +1,19 @@
# $NetBSD: Makefile,v 1.6 2012/10/23 19:51:23 asau Exp $
#
DISTNAME= shc-3.7
CATEGORIES= sysutils
MASTER_SITES= http://www.datsi.fi.upm.es/~frosal/sources/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.datsi.fi.upm.es/~frosal/
COMMENT= Shell script to C compiler
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/shc ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/shc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
+3
View File
@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/30 09:41:49 grant Exp $
bin/shc
man/man1/shc.1
+6
View File
@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.2 2005/02/24 13:40:57 agc Exp $
SHA1 (shc-3.7.tgz) = ad0532dd16ee4d34ea2485552cef07eeebfd0fcd
RMD160 (shc-3.7.tgz) = c9a5c0c9364103cd3c8ed76d03e778b65a61c30d
Size (shc-3.7.tgz) = 18942 bytes
SHA1 (patch-aa) = 1b09da15c37374a87b94085d4b49977b4fd12db7
+36
View File
@@ -0,0 +1,36 @@
$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