Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 02:45:10 +0200
From:      "Starhost : N.Elsten" <elsten@starhost.nl>
To:        ports@FreeBSD.org
Subject:   Apache 1.3.27 modssl phpsuexec patch
Message-ID:  <198545482322.20030414024510@starhost.nl>

next in thread | raw e-mail | index | archive | help
------------3E531B01B827389
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear reader,

I made a patch for suexec and php for the apache13-modssl port. Maybey
you can include the patch in the port.
Attached you will find the diff files. The patch called
"patch-Makefile" is a patch you as the port maintainer should apply on
the Makefile from the port. And the file "patch-phpsuexec" should be
included in the dir "files/"

I would like to hear from you if you will eb adding my patch :).

Sincerly,


N.P.G. Elsten
Starhost
___________________________________________________________
Duiker 70               Verkoop:    sales@starhost.nl
1613 AH Grootebroek     Storing:    storing@starhost.nl
Tel.: +31 228 524472    Technische: helpdesk@starhost.nl
Fax.: +31 228 524468    Website:    http://www.starhost.nl
___________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQA/AwUBPpn2ir9NzcDv91UqEQKhDwCdG6l3PkRufagVw2Y3jQUoFAkQEZIAn28C
pXGQirqFLQCoDp5q0Zp/zqVT
=K2rk
-----END PGP SIGNATURE-----
------------3E531B01B827389
Content-Type: text/plain; name="patch-Makefile.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="patch-Makefile.txt"

LS0tIE1ha2VmaWxlX2VjaHQJU3VuIEFwciAxMyAyMTo1MToyMCAyMDAzCisrKyBNYWtlZmlsZQlT
dW4gQXByIDEzIDIzOjU1OjM1IDIwMDMKQEAgLTU3LDYgKzU3LDEwIEBACiAJCS0tc3VleGVjLWxv
Z2ZpbGU9L3Zhci9sb2cvaHR0cGQtc3VleGVjLmxvZyBcCiAJCS0tc3VleGVjLXVzZXJkaXI9JHtB
UEFDSEVfU1VFWEVDX1VTRVJESVJ9IFwKIAkJLS1zdWV4ZWMtc2FmZXBhdGg9JHtERUZBVUxUX1BB
VEh9CisuaWYgZGVmaW5lZChXSVRIX0FQQUNIRV9QSFBTVUVYRUMpCitTVUVYRUNfQ09ORis9XAor
ICAgICAgICAgICAgICAgIC0tZW5hYmxlLXN1ZXhlY3BocCAgICAgCisuZW5kaWYKIAogLmlmIGRl
ZmluZWQoQVBBQ0hFX1NVRVhFQ19VTUFTSykKIFNVRVhFQ19DT05GKz1cCg==

------------3E531B01B827389
Content-Type: text/plain; name="patch-phpsuexec.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="patch-phpsuexec.txt"

LS0tIGNvbmZpZ3VyZS5vcmlnICAgICAgU3VuIEFwciAxMyAyMzoxOTowOSAyMDAzCisrKyBjb25m
aWd1cmUgICBTdW4gQXByIDEzIDIzOjI5OjEzIDIwMDMKQEAgLTQ2MCw2ICs0NjAsNyBAQAogICAg
ICAgICAgICAgZWNobyAiIgogICAgICAgICAgICAgZWNobyAic3VFWEVDIG9wdGlvbnM6IgogICAg
ICAgICAgICAgZWNobyAiIC0tZW5hYmxlLXN1ZXhlYyAgICAgICAgZW5hYmxlIHRoZSBzdUVYRUMg
ZmVhdHVyZSIKKyAgICAgICAgICAgZWNobyAiIC0tZW5hYmxlLXN1ZXhlY3BocCAgICAgZW5hYmxl
IHN1RVhFQyBpbiBjb21iaW5hdGlvbiB3aXRoIHBocCIKICAgICAgICAgICAgIGVjaG8gIiAtLXN1
ZXhlYy1jYWxsZXI9TkFNRSAgIHNldCB0aGUgc3VFWEVDIHVzZXJuYW1lIG9mIHRoZSBhbGxvd2Vk
IGNhbGxlciBbJHN1ZXhlY19jYWxsZXJdIgogICAgICAgICAgICAgZWNobyAiIC0tc3VleGVjLWRv
Y3Jvb3Q9RElSICAgc2V0IHRoZSBzdUVYRUMgcm9vdCBkaXJlY3RvcnkgW1BSRUZJWC9zaGFyZS9o
dGRvY3NdIgogICAgICAgICAgICAgZWNobyAiIC0tc3VleGVjLWxvZ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bGQucGhwdHlwZSA9IFBIUDQ7CisgICAgICAgICAgICBj
bGQucGhwaGFuZGxlciA9IFBIUDRIQU5ETEVSOworICAgICAgICB9IGVsc2UgeworICAgICAgICAg
ICAgIGlmICghc3RyY21wKHItPmhhbmRsZXIsIFBIUDNUWVBFKSkgeworICAgICAgICAgICAgICAg
IGNsZC5waHB0eXBlID0gUEhQMzsKKyAgICAgICAgICAgICAgICBjbGQucGhwaGFuZGxlciA9IFBI
UDNIQU5ETEVSOworICAgICAgICAgICAgfSBlbHNlIHsKKyAgICAgICAgICAgICAgICAgY2xkLnBo
cHR5cGUgPSAwOworICAgICAgICAgICAgICB9CisgICAgICAgICAgfQorICAgICB9IGVsc2Ugewor
ICAgICAgICBjbGQucGhwdHlwZSA9IDA7CisgICAgICAgfQorI2VuZGlmCisKICAgICBpZiAoKGFy
Z3YwID0gc3RycmNocihyLT5maWxlbmFtZSwgJy8nKSkgIT0gTlVMTCkKIAlhcmd2MCsrOwogICAg
IGVsc2UKQEAgLTQyNSwxMCArNDcwLDEzIEBACiAJcmV0dXJuIGxvZ19zY3JpcHRlcnJvcihyLCBj
b25mLCBGT1JCSURERU4sIEFQTE9HX05PRVJSTk8sCiAJCQkgICAgICAgImF0dGVtcHQgdG8gaW52
b2tlIGRpcmVjdG9yeSBhcyBzY3JpcHQiKTsKICAgICBpZiAoIWFwX3N1ZXhlY19lbmFibGVkKSB7
Ci0JaWYgKCFhcF9jYW5fZXhlYygmci0+ZmluZm8pKQotCSAgICByZXR1cm4gbG9nX3NjcmlwdGVy
cm9yKHIsIGNvbmYsIEZPUkJJRERFTiwgQVBMT0dfTk9FUlJOTywKLQkJCQkgICAiZmlsZSBwZXJt
aXNzaW9ucyBkZW55IHNlcnZlciBleGVjdXRpb24iKTsKLSAgICB9CisgI2lmZGVmIElOQ0xVREVQ
SFAKKyAgICAgICAgIGlmICghY2xkLnBocHR5cGUpIAorICNlbmRpZgorICAgICAgICAgICAgaWYg
KCFhcF9jYW5fZXhlYygm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NMVURFUEhQCisgICAgaWYgKCF1c2VwaHApIHsKKyNlbmRpZgorICAgICAg
IGV4ZWN2KGNtZCwgJmFyZ3ZbM10pOworI2lmZGVmIElOQ0xVREVQSFAKKyAgICB9IGVsc2Ugewor
ICAgICAgICBleGVjdihuZXdhcmd2WzBdLCBuZXdhcmd2KTsKKyAgICAgIH0KKyNlbmRpZgogI2Vu
ZGlmIC8qTkVFRF9IQVNIQkFOR19FTVVMKi8KIAogICAgIC8qCg==

------------3E531B01B827389--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?198545482322.20030414024510>