- remove sendmail path from php.ini (not needed)
- add in similar fopen disable patch for php.ini-optimized - bump version to php-4.0.6p1 to reflect all the backports and bugfixes in the last two commits
This commit is contained in:
parent
60f5c024d4
commit
93dc70075d
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.52 2001/10/04 21:27:44 avsm Exp $
|
||||
# $OpenBSD: Makefile,v 1.53 2001/10/04 21:53:04 avsm Exp $
|
||||
|
||||
MULTI_PACKAGES= -pear
|
||||
SUBPACKAGE?=
|
||||
@ -12,8 +12,8 @@ ONLY_FOR_ARCHS= i386 m68k sparc
|
||||
|
||||
V= 4.0.6
|
||||
DISTNAME= php-${V}
|
||||
PKGNAME= php4-${V}
|
||||
FULLPKGNAME-pear= php4-pear-${V}
|
||||
PKGNAME= php4-${V}p1
|
||||
FULLPKGNAME-pear= php4-pear-${V}p1
|
||||
|
||||
CATEGORIES= www lang
|
||||
NEED_VERSION= 1.435
|
||||
|
@ -1,9 +1,9 @@
|
||||
$OpenBSD: patch-php_ini-dist,v 1.1 2001/10/04 21:27:44 avsm Exp $
|
||||
$OpenBSD: patch-php_ini-dist,v 1.2 2001/10/04 21:53:04 avsm Exp $
|
||||
URL fopen off by default - this is one of those things that people hardly
|
||||
ever use, and can turn local exploits into remote ones.
|
||||
|
||||
--- php.ini-dist.orig Mon Oct 1 18:52:38 2001
|
||||
+++ php.ini-dist Mon Oct 1 18:54:44 2001
|
||||
--- php.ini-dist.orig Fri Jun 1 03:20:49 2001
|
||||
+++ php.ini-dist Thu Oct 4 22:39:04 2001
|
||||
@@ -349,7 +349,7 @@ upload_max_filesize = 2M
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
|
||||
@ -13,12 +13,3 @@ ever use, and can turn local exploits into remote ones.
|
||||
|
||||
; Define the anonymous ftp password (your email address)
|
||||
;from="john@doe.com"
|
||||
@@ -439,7 +439,7 @@ SMTP = localhost
|
||||
sendmail_from = me@localhost.com
|
||||
|
||||
; For Unix only. You may supply arguments as well (default: 'sendmail -t -i').
|
||||
-;sendmail_path =
|
||||
+sendmail_path = /usr/sbin/sendmail
|
||||
|
||||
[Logging]
|
||||
; These configuration directives are used by the example logging mechanism.
|
||||
|
19
www/php4/patches/patch-php_ini-optimized
Normal file
19
www/php4/patches/patch-php_ini-optimized
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-php_ini-optimized,v 1.1 2001/10/04 21:53:04 avsm Exp $
|
||||
--- php.ini-optimized.orig Thu Oct 4 22:37:46 2001
|
||||
+++ php.ini-optimized Thu Oct 4 22:38:32 2001
|
||||
@@ -249,7 +249,7 @@ upload_max_filesize = 2M ; Maximum
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
; Fopen wrappers ;
|
||||
;;;;;;;;;;;;;;;;;;
|
||||
-allow_url_fopen = On ; Whether to allow the treatment of URLs (like http:// or ftp://) as files
|
||||
+allow_url_fopen = Off ; Whether to allow the treatment of URLs (like http:// or ftp://) as files
|
||||
;from="john@doe.com" ; Define the anonymous ftp password (your email address)
|
||||
|
||||
|
||||
@@ -510,4 +510,4 @@ sockets.use_system_read = Off ; Use the
|
||||
|
||||
; Local Variables:
|
||||
; tab-width: 4
|
||||
-; End:
|
||||
\ No newline at end of file
|
||||
+; End:
|
Loading…
Reference in New Issue
Block a user