diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-01-14 19:04:28 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-01-14 19:04:28 +0000 |
commit | b220894da9bde50d2d57241b2520c9927635d057 (patch) | |
tree | f36e6ae2ca0e8ced89e6e00172ecf66157ef8d6c /www | |
parent | ec96839f0e6bf33c20c9131d9c30071f53cd4812 (diff) | |
download | ports-b220894da9bde50d2d57241b2520c9927635d057.tar.gz ports-b220894da9bde50d2d57241b2520c9927635d057.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/php-screw/Makefile | 4 | ||||
-rw-r--r-- | www/php-screw/distinfo | 2 | ||||
-rw-r--r-- | www/php-screw/files/patch-tools::screw.c | 42 | ||||
-rw-r--r-- | www/php-screw/pkg-message | 2 |
4 files changed, 4 insertions, 46 deletions
diff --git a/www/php-screw/Makefile b/www/php-screw/Makefile index 65b9619aa2d6..8faa7a7e93d8 100644 --- a/www/php-screw/Makefile +++ b/www/php-screw/Makefile @@ -6,7 +6,7 @@ # PORTNAME= php-screw -PORTVERSION= 1.2.1 +PORTVERSION= 1.3 CATEGORIES= www security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -25,7 +25,7 @@ USE_PHPIZE= yes CONFIGURE_ARGS+=--enable-php_screw=shared .include <bsd.port.pre.mk> -.include "${.CURDIR}/../../lang/php4/bsd.php.mk" +.include "${PORTSDIR}/lang/php4/bsd.php.mk" pre-everything:: @${ECHO} "" diff --git a/www/php-screw/distinfo b/www/php-screw/distinfo index 93eb940facab..6ad4dfbe5216 100644 --- a/www/php-screw/distinfo +++ b/www/php-screw/distinfo @@ -1 +1 @@ -MD5 (php_screw-1.2.1.tgz) = f53c28e0450bd1435f343c901a14f9fe +MD5 (php_screw-1.3.tgz) = ca06fd8ebb462dc4960831cb407488fd diff --git a/www/php-screw/files/patch-tools::screw.c b/www/php-screw/files/patch-tools::screw.c deleted file mode 100644 index f9236b30f103..000000000000 --- a/www/php-screw/files/patch-tools::screw.c +++ /dev/null @@ -1,42 +0,0 @@ ---- tools/screw.c.orig Sun Aug 31 00:55:45 2003 -+++ tools/screw.c Sun Aug 31 00:56:14 2003 -@@ -18,12 +18,12 @@ - - if (argc != 2) { - fprintf(stderr, "Usage: filename.\n"); -- exit(); -+ exit(1); - } - fp = fopen(argv[1], "r"); - if (fp == NULL) { - fprintf(stderr, "File not found(%s)\n", argv[1]); -- exit(); -+ exit(1); - } - - fstat(fileno(fp), &stat_buf); -@@ -36,13 +36,13 @@ - - if (memcmp(datap, PM9SCREW, PM9SCREW_LEN) == 0) { - fprintf(stderr, "Already Crypted(%s)\n", argv[1]); -- exit(); -+ exit(1); - } - - fp = fopen(oldfilename, "w"); - if (fp == NULL) { - fprintf(stderr, "Can not create backup file(%s)\n", oldfilename); -- exit(); -+ exit(1); - } - fwrite(datap, datalen, 1, fp); - fclose(fp); -@@ -56,7 +56,7 @@ - fp = fopen(argv[1], "w"); - if (fp == NULL) { - fprintf(stderr, "Can not create crypt file(%s)\n", oldfilename); -- exit(); -+ exit(1); - } - fwrite(PM9SCREW, PM9SCREW_LEN, 1, fp); - fwrite(newdatap, newdatalen, 1, fp); diff --git a/www/php-screw/pkg-message b/www/php-screw/pkg-message index a41377fdf0d1..d55d343ff0e3 100644 --- a/www/php-screw/pkg-message +++ b/www/php-screw/pkg-message @@ -4,6 +4,6 @@ You have installed the php-screw package. Edit %%LOCALBASE%%/etc/php.ini and add: -zend_extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/php_screw.so" +extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/php_screw.so" ***************************************************************************** |