summaryrefslogtreecommitdiff
path: root/www/php-screw
diff options
context:
space:
mode:
Diffstat (limited to 'www/php-screw')
-rw-r--r--www/php-screw/Makefile59
-rw-r--r--www/php-screw/distinfo2
-rw-r--r--www/php-screw/files/patch-php_screw.c18
-rw-r--r--www/php-screw/files/patch-tools__Makefile11
-rw-r--r--www/php-screw/files/pkg-message.in12
-rw-r--r--www/php-screw/pkg-descr5
-rw-r--r--www/php-screw/pkg-plist3
7 files changed, 0 insertions, 110 deletions
diff --git a/www/php-screw/Makefile b/www/php-screw/Makefile
deleted file mode 100644
index 2d1c68550efb..000000000000
--- a/www/php-screw/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-# Created by: Alex Dupre <sysadmin@alexdupre.com>
-# $FreeBSD$
-
-PORTNAME= screw
-PORTVERSION= 1.5
-PORTREVISION= 1
-CATEGORIES= www security
-MASTER_SITES= SF/${PORTNAME}/OldFiles
-PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
-DISTNAME= php_screw-${PORTVERSION}
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= PHP script encryption tool
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-CRYPTKEY?= 11152, 368, 192, 1281, 62
-
-USES= php:phpize libtool
-USE_PHP= zlib
-PLIST_SUB= PHP_EXTDIR="${PHP_EXT_DIR}"
-SUB_FILES= pkg-message
-
-CONFIGURE_ARGS= --enable-php_screw=shared
-
-pre-everything::
- @${ECHO_CMD} ""
- @${ECHO_CMD} "To achieve real security, define your own encryption"
- @${ECHO_CMD} "seed key (CRYPTKEY); longer is better."
- @${ECHO_CMD} ""
- @${ECHO_CMD} "make CRYPTKEY=\"234, 84, 39664, 771, 9853\""
- @${ECHO_CMD} ""
-
-post-patch:
- @${ECHO_CMD} "short pm9screw_mycryptkey[] = { ${CRYPTKEY} };" > \
- ${WRKSRC}/my_screw.h
-
-do-build:
- (cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \
- ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
- (cd ${BUILD_WRKSRC}/tools && ${SETENV} ${MAKE_ENV} ${MAKE} \
- ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
-
-do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
- ${INSTALL_LIB} ${WRKSRC}/modules/php_screw.so \
- ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/tools/screw ${STAGEDIR}${PREFIX}/bin
- @${MKDIR} ${STAGEDIR}${PREFIX}/etc/php
- @${ECHO_CMD} "extension=${PREFIX}/lib/php/${PHP_EXT_DIR}/php_screw.so" > \
- ${STAGEDIR}${PREFIX}/etc/php/ext-30-screw.ini
-
-.include <bsd.port.mk>
diff --git a/www/php-screw/distinfo b/www/php-screw/distinfo
deleted file mode 100644
index 11ffea0273c3..000000000000
--- a/www/php-screw/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (php_screw-1.5.tgz) = 1448e3776dcbf3ea5160073386f71733c367a7725a47f97a2e29c143b4832fe9
-SIZE (php_screw-1.5.tgz) = 7307
diff --git a/www/php-screw/files/patch-php_screw.c b/www/php-screw/files/patch-php_screw.c
deleted file mode 100644
index 382ca29b65d7..000000000000
--- a/www/php-screw/files/patch-php_screw.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- php_screw.c.orig 2010-04-11 10:55:39.000000000 +0200
-+++ php_screw.c 2010-04-11 10:56:01.000000000 +0200
-@@ -121,7 +121,6 @@
-
- PHP_MINIT_FUNCTION(php_screw)
- {
-- CG(extended_info) = 1;
-
- org_compile_file = zend_compile_file;
- zend_compile_file = pm9screw_compile_file;
-@@ -130,7 +129,6 @@
-
- PHP_MSHUTDOWN_FUNCTION(php_screw)
- {
-- CG(extended_info) = 1;
- zend_compile_file = org_compile_file;
- return SUCCESS;
- }
diff --git a/www/php-screw/files/patch-tools__Makefile b/www/php-screw/files/patch-tools__Makefile
deleted file mode 100644
index cc3dd8308b3f..000000000000
--- a/www/php-screw/files/patch-tools__Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- tools/Makefile.orig Sat Nov 9 15:08:17 2002
-+++ tools/Makefile Sat Nov 9 15:08:33 2002
-@@ -1,7 +1,7 @@
- all: screw
-
- screw: screw.c zencode.c
-- gcc -o screw screw.c zencode.c -lz
-+ ${CC} -o screw screw.c zencode.c -lz
-
- clean:
- /bin/rm *.o *.so screw
diff --git a/www/php-screw/files/pkg-message.in b/www/php-screw/files/pkg-message.in
deleted file mode 100644
index 6b1ab9aec8f6..000000000000
--- a/www/php-screw/files/pkg-message.in
+++ /dev/null
@@ -1,12 +0,0 @@
-[
-{ type: install
- message: <<EOM
-You have installed the php-screw package.
-
-The following line has been added to %%PREFIX%%/etc/php/ext-30-screw.ini,
-so that the extension is automatically enabled:
-
-extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/php_screw.so"
-EOM
-}
-]
diff --git a/www/php-screw/pkg-descr b/www/php-screw/pkg-descr
deleted file mode 100644
index de8dcc50dd7f..000000000000
--- a/www/php-screw/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-PHP Screw is a PHP script encryption tool. When you are developing a
-commercial package using PHP, the script can be distributed as encrypted
-up until just before execution, preserving your intellectual property.
-
-WWW: https://sourceforge.net/projects/php-screw/
diff --git a/www/php-screw/pkg-plist b/www/php-screw/pkg-plist
deleted file mode 100644
index b679eebb5814..000000000000
--- a/www/php-screw/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/screw
-lib/php/%%PHP_EXT_DIR%%/php_screw.so
-etc/php/ext-30-screw.ini