Subject: pkg/16787: New package - security/php4-mhash (PHP4 extension for the mhash hash algorithms library)
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 05/13/2002 14:03:45
>Number: 16787
>Category: pkg
>Synopsis: New package - security/php4-mhash (PHP4 extension for the mhash hash algorithms library)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon May 13 05:04:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Lubomir Sedlacik
>Release: NetBSD 1.5ZB
>Organization:
>Environment:
>Description:
PHP is a programming language designed to be embedded into web pages.
This module provides PHP4 access to the mhash hash algorithms library.
>How-To-Repeat:
shar (shell archive) of php4-mhash directory in pkgsrc/security/ is attached.
save attachment as e.g. php4-mhash.sh and run 'sh php4-mhash.sh' to extract
directory/files from archive.
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# php4-mhash
# php4-mhash/Makefile
# php4-mhash/DESCR
# php4-mhash/distinfo
#
echo c - php4-mhash
mkdir -p php4-mhash > /dev/null 2>&1
echo x - php4-mhash/Makefile
sed 's/^X//' >php4-mhash/Makefile << 'END-of-php4-mhash/Makefile'
X# $NetBSD$
X
XMODNAME= mhash
XCATEGORIES+= security
XPKGREVISION= # empty
XCOMMENT= PHP4 extension for the mhash hash algorithms library
X
XUSE_BUIDLINK_ONLY= yes
X
X.include "../../www/php4/Makefile.module"
X
XCONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_DIR}
X
X.include "../../security/mhash/buildlink.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-php4-mhash/Makefile
echo x - php4-mhash/DESCR
sed 's/^X//' >php4-mhash/DESCR << 'END-of-php4-mhash/DESCR'
XPHP is a programming language designed to be embedded into web pages.
XThis module provides PHP4 access to the mhash hash algorithms library.
END-of-php4-mhash/DESCR
echo x - php4-mhash/distinfo
sed 's/^X//' >php4-mhash/distinfo << 'END-of-php4-mhash/distinfo'
X$NetBSD$
X
XSHA1 (php-4.1.2.tar.gz) = fc4f9685b2b26d6e12af2e746a34fadfe57f0466
XSize (php-4.1.2.tar.gz) = 3359964 bytes
END-of-php4-mhash/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted: