Debian Bug report logs -
#156733
php4: Please enable pspell support
Reported by: Anthony DeRobertis <asd@suespammers.org>
Date: Thu, 15 Aug 2002 01:03:01 UTC
Severity: wishlist
Tags: patch
Merged with 147728
Found in versions 4:4.1.2-4, 4:4.3.10-2
Fixed in version php-pspell/5.1.2-1
Done: Ondřej Surý <ondrej@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Adam Conrad <adconrad@0c3.net>, php4@packages.qa.debian.org:
Bug#156733; Package php4.
(full text, mbox, link).
Acknowledgement sent to Anthony DeRobertis <asd@suespammers.org>:
New Bug report received and forwarded. Copy sent to Adam Conrad <adconrad@0c3.net>, php4@packages.qa.debian.org.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php4
Version: 4:4.1.2-4
Severity: wishlist
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I believe the following patch will do the job. This patch is against
4.1.2-4.
diff -rdNU3 php4-4.1.2/debian/control php4-4.1.2.new/debian/control
- --- php4-4.1.2/debian/control Wed Aug 14 15:34:22 2002
+++ php4-4.1.2.new/debian/control Wed Aug 14 15:32:52 2002
@@ -2,7 +2,7 @@
Section: web
Priority: optional
Maintainer: Adam Conrad <adconrad@0c3.net>
- -Build-Depends: debhelper (>= 2.0.40), bison, caudium-dev (>= 2:1.0.37-1), flex, apache-dev (>= 1.3.23), freetds-dev, libbz2-dev, libc-client2001-dev (>= 4:2001adebian-6), libcurl-dev (>= 7.8) | libcurl-ssl-dev (>= 7.8), libdb2-dev (>=2:2.7.7-2.1), libexpat1-dev (>= 1.95.2-2.1), libfreetype6-dev, libgd-dev, libjpeg62-dev, libmagick5-dev (>=5.2.0), libmcal0-dev (>= 0.6), libmhash-dev (>= 0.8.8), libmm11-dev, libmysqlclient10-dev, libldap2-dev, libpam0g-dev, libpcre3-dev, libpng2-dev, librecode-dev, libsablot0-dev (>= 0.60), libsnmp4.2-dev, libttf-dev, libxmltok1-dev, libxml2-dev (>= 2.4.2), libxslt1-dev, re2c, t1lib-dev, unixodbc-dev, xlibs-dev, zlib1g-dev, gcc-3.0 [arm]
+Build-Depends: debhelper (>= 2.0.40), bison, caudium-dev (>= 2:1.0.37-1), flex, apache-dev (>= 1.3.23), freetds-dev, libbz2-dev, libc-client2001-dev (>= 4:2001adebian-6), libcurl-dev (>= 7.8) | libcurl-ssl-dev (>= 7.8), libdb2-dev (>=2:2.7.7-2.1), libexpat1-dev (>= 1.95.2-2.1), libfreetype6-dev, libgd-dev, libjpeg62-dev, libmagick5-dev (>=5.2.0), libmcal0-dev (>= 0.6), libmhash-dev (>= 0.8.8), libmm11-dev, libmysqlclient10-dev, libldap2-dev, libpam0g-dev, libpcre3-dev, libpng2-dev, libpspell-dev, librecode-dev, libsablot0-dev (>= 0.60), libsnmp4.2-dev, libttf-dev, libxmltok1-dev, libxml2-dev (>= 2.4.2), libxslt1-dev, re2c, t1lib-dev, unixodbc-dev, xlibs-dev, zlib1g-dev, gcc-3.0 [arm]
Build-Conflicts: bind-dev, libtool (= 1.4b-1), libtool (= 1.4b-2), libtool (= 1.4b-3), libmysqlclient10 (= 3.23.41-1)
Standards-Version: 3.1.1
@@ -132,6 +132,18 @@
Description: ODBC module for php4
This package provides a module for database access through ODBC drivers.
It uses the unixODBC library as an ODBC provider.
+ .
+ PHP4 is an HTML-embedded scripting language. Much of its syntax is borrowed
+ from C, Java and Perl with a couple of unique PHP-specific features thrown
+ in. The goal of the language is to allow web developers to write
+ dynamically generated pages quickly.
+
+Package: php4-pspell
+Architecture: any
+Depends: ${shlibs:Depends}, ${zend:Depends}
+Description: Character recoding module for php4
+ This package provides a module to use the aspell alternative-spelling
+ repressor.
.
PHP4 is an HTML-embedded scripting language. Much of its syntax is borrowed
from C, Java and Perl with a couple of unique PHP-specific features thrown
diff -rdNU3 php4-4.1.2/debian/php4-pspell.postinst php4-4.1.2.new/debian/php4-pspell.postinst
- --- php4-4.1.2/debian/php4-pspell.postinst Wed Dec 31 19:00:00 1969
+++ php4-4.1.2.new/debian/php4-pspell.postinst Wed Aug 14 13:56:46 2002
@@ -0,0 +1,50 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" != "configure" ]; then
+ exit 0
+fi
+
+if [ -n "$2" ]; then
+# we're upgrading. don't ask again
+ exit 0
+fi
+
+if [ -f /etc/php4/apache/php.ini ]; then
+ if ! grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*pspell.so" /etc/php4/apache/php.ini; then
+ echo "You are installing pspell support for php4, but it's not"
+ echo "enabled in your /etc/php4/apache/php.ini."
+ echo
+ echo "To enable it you need to add this line:"
+ echo
+ echo "extension=pspell.so"
+ echo
+ echo -n "Do you want me to add it now [Y/n] ?"
+ read a
+ if ! echo $a | grep -iq ^n; then
+ echo "extension=pspell.so" >> /etc/php4/apache/php.ini
+ fi
+ fi
+fi
+
+if [ -f /etc/php4/cgi/php.ini ]; then
+ if ! grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*pspell.so" /etc/php4/cgi/php.ini; then
+ echo "You are installing pspell support for php4, but it's not"
+ echo "enabled in your /etc/php4/cgi/php.ini."
+ echo
+ echo "To enable it you need to add this line:"
+ echo
+ echo "extension=pspell.so"
+ echo
+ echo -n "Do you want me to add it now [Y/n] ?"
+ read a
+ if ! echo $a | grep -iq ^n; then
+ echo "extension=pspell.so" >> /etc/php4/cgi/php.ini
+ fi
+ fi
+fi
+
+exit 0
diff -rdNU3 php4-4.1.2/debian/php4-pspell.prerm php4-4.1.2.new/debian/php4-pspell.prerm
- --- php4-4.1.2/debian/php4-pspell.prerm Wed Dec 31 19:00:00 1969
+++ php4-4.1.2.new/debian/php4-pspell.prerm Wed Aug 14 13:58:12 2002
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" != "remove" -a "$1" != "purge" ]; then
+ exit 0
+fi
+
+if [ -f /etc/php4/apache/php.ini ]; then
+ if grep -q "^extension[[:space:]]*=[[:space:]]*pspell.so" /etc/php4/apache/php.ini; then
+ echo "You are removing pspell support for php4, but it is still"
+ echo "enabled in your /etc/php4/apache/php.ini."
+ echo
+ echo "You should remove this line:"
+ echo
+ echo "extension=pspell.so"
+ echo
+ echo -n "Do you want me to do it now [Y/n] ?"
+ read a
+ if ! echo $a | grep -iq ^n; then
+ cat /etc/php4/apache/php.ini |grep -v "^[[:space:]]*extension[[:space:]]*=[[:space:]]*pspell.so" > /etc/php4/apache/php.ini.pspellremove
+ mv /etc/php4/apache/php.ini.pspellremove /etc/php4/apache/php.ini
+ fi
+ fi
+fi
+
+if [ -f /etc/php4/cgi/php.ini ]; then
+ if grep -q "^extension[[:space:]]*=[[:space:]]*pspell.so" /etc/php4/cgi/php.ini; then
+ echo "You are removing pspell support for php4, but it is still"
+ echo "enabled in your /etc/php4/cgi/php.ini."
+ echo
+ echo "You should remove this line:"
+ echo
+ echo "extension=pspell.so"
+ echo
+ echo -n "Do you want me to do it now [Y/n] ?"
+ read a
+ if ! echo $a | grep -iq ^n; then
+ cat /etc/php4/cgi/php.ini |grep -v "^[[:space:]]*extension[[:space:]]*=[[:space:]]*pspell.so" > /etc/php4/cgi/php.ini.pspellremove
+ mv /etc/php4/cgi/php.ini.pspellremove /etc/php4/cgi/php.ini
+ fi
+ fi
+fi
+
+exit 0
diff -rdNU3 php4-4.1.2/debian/rules php4-4.1.2.new/debian/rules
- --- php4-4.1.2/debian/rules Wed Aug 14 15:34:22 2002
+++ php4-4.1.2.new/debian/rules Wed Aug 14 15:16:09 2002
@@ -52,7 +52,7 @@
--with-zlib \
--without-pgsql
- -modules=curl domxml gd imap ldap mcal mhash mysql odbc recode snmp sybase xslt
+modules=curl domxml gd imap ldap mcal mhash mysql odbc pspell recode snmp sybase xslt
apachever=$(shell dpkg -s apache-dev | grep ^Version | cut -d\ -f2 | cut -d- -f1)
php4ver=$(shell head -1 debian/changelog | cut -d\ -f 2 | sed 's/[()]//g')
caudiumver=$(shell dpkg -s caudium-dev | grep ^Version | cut -d\ -f2 | cut -d- -f1)
@@ -119,7 +119,8 @@
--with-snmp=shared \
--enable-ucd-snmp-hack \
--with-sybase-ct=shared,/usr \
- - --with-ttf=shared,/usr --with-t1lib=shared,/usr
+ --with-ttf=shared,/usr --with-t1lib=shared,/usr \
+ --with-pspell=shared
#HACK to get c-client staticly link with imap
ifeq ($(DEB_HOST_ARCH),i386)
- -- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux bohr 2.4.16 #2 SMP Wed Nov 28 05:25:00 EST 2001 i686
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages php4 depends on:
ii apache-common 1.3.26-1 Support files for all Apache webse
ii fileutils 4.1-10 GNU file management utilities
ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file
ii libc6 2.2.5-11.1 GNU C Library: Shared libraries an
ii libdb2 2:2.7.7.0-7 The Berkeley database routines (ru
ii libexpat1 1.95.2-6 XML parsing C library - runtime li
ii libmm11 1.1.3-6.1 Shared memory library
ii libpam0g 0.72-35 Pluggable Authentication Modules l
ii libpcre3 3.4-1.1 Philip Hazel's Perl Compatible Reg
ii mime-support 3.19-1 MIME files 'mime.types' & 'mailcap
ii zlib1g 1:1.1.4-3 compression library - runtime
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9Wv0z+z+IwlXqWf4RAglXAJ4tfZdjMBEgfc/Ti9feFfR+Wn/uOACghHjs
QZK0fikChwrsrsgRC6uWK00=
=+S4X
-----END PGP SIGNATURE-----
Information forwarded to debian-bugs-dist@lists.debian.org, Adam Conrad <adconrad@0c3.net>:
Bug#156733; Package php4.
(full text, mbox, link).
Acknowledgement sent to Erich Schubert <erich@debian.org>:
Extra info received and forwarded to list. Copy sent to Adam Conrad <adconrad@0c3.net>.
(full text, mbox, link).
Message #12 received at 156733@bugs.debian.org (full text, mbox, reply):
Package: php4
Version: 4:4.3.10-2
Followup-For: Bug #156733
Hi,
the wishlist bugs for adding the pspell extension have been open for
almost *three years* now. I've even php4 packages for woody with the
pspell extension added, it's trivial (and a patch was provided).
All you need to do is add the pspell build dependency, enable to module
and add it to your build scripts (debian/control etc.)
Please do so, so I don't have to build my own php4 packages all the time
with such a minor difference only... ;-)
(and in fact I don't think it will make the package much more difficult
than it already is... I know about the difficulties, I backported the
latest php4 package to woody, dropping apache2 and cadmium because of
build problems with these - pspell was easy as a charm...)
Greetings,
Erich
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#156733; Package php4.
(full text, mbox, link).
Acknowledgement sent to Ondrej Sury <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #17 received at 156733@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Erich and Anthony,
you may as well consider building separated source php-pspell and
building php4-pspell and php5-pspell out of it using php{4,5}-dev.
I think Adam has some plans with IMAP extension to make it example how
it can be done.
Adam? What do you think?
Ondrej.
--
Ondrej Sury <ondrej@sury.org>
[signature.asc (application/pgp-signature, inline)]
Reply sent to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Anthony DeRobertis <asd@suespammers.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #22 received at 147728-close@bugs.debian.org (full text, mbox, reply):
Source: php-pspell
Source-Version: 5.1.2-1
We believe that the bug you reported is fixed in the latest version of
php-pspell, which is due to be installed in the Debian FTP archive:
php-pspell_5.1.2-1.diff.gz
to pool/main/p/php-pspell/php-pspell_5.1.2-1.diff.gz
php-pspell_5.1.2-1.dsc
to pool/main/p/php-pspell/php-pspell_5.1.2-1.dsc
php-pspell_5.1.2.orig.tar.gz
to pool/main/p/php-pspell/php-pspell_5.1.2.orig.tar.gz
php4-pspell_5.1.2-1_i386.deb
to pool/main/p/php-pspell/php4-pspell_5.1.2-1_i386.deb
php5-pspell_5.1.2-1_i386.deb
to pool/main/p/php-pspell/php5-pspell_5.1.2-1_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 147728@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ondřej Surý <ondrej@debian.org> (supplier of updated php-pspell package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 22 Mar 2006 15:10:44 +0100
Source: php-pspell
Binary: php5-pspell php4-pspell
Architecture: source i386
Version: 5.1.2-1
Distribution: unstable
Urgency: low
Maintainer: Ondřej Surý <ondrej@debian.org>
Changed-By: Ondřej Surý <ondrej@debian.org>
Description:
php4-pspell - pspell module for php4
php5-pspell - pspell module for php5
Closes: 147728 156733 242552
Changes:
php-pspell (5.1.2-1) unstable; urgency=low
.
* Initial release. (Closes: #147728, #156733, #242552)
* Use 3.01 version of PHP license.
Files:
ddee048993b5b249778f0a8b88649042 755 web optional php-pspell_5.1.2-1.dsc
02c867f7069bf700b31146da27431f03 9106 web optional php-pspell_5.1.2.orig.tar.gz
9f8457a7f5df2ee9c715f36190e7557d 10751 web optional php-pspell_5.1.2-1.diff.gz
78a59b57b4dcc4393393ae7cba3616ff 14268 web optional php5-pspell_5.1.2-1_i386.deb
abc490816236efec70cc534c25ef2d67 13922 web optional php4-pspell_5.1.2-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEMNT79OZqfMIN8nMRApHeAJ9o+v+Z3A6QEPpnDZHsdp+nWay9BgCfVdoR
tDNAVnUb6krikmAhanZ0RnI=
=TRZm
-----END PGP SIGNATURE-----
Reply sent to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Anthony DeRobertis <asd@suespammers.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #27 received at 156733-close@bugs.debian.org (full text, mbox, reply):
Source: php-pspell
Source-Version: 5.1.2-1
We believe that the bug you reported is fixed in the latest version of
php-pspell, which is due to be installed in the Debian FTP archive:
php-pspell_5.1.2-1.diff.gz
to pool/main/p/php-pspell/php-pspell_5.1.2-1.diff.gz
php-pspell_5.1.2-1.dsc
to pool/main/p/php-pspell/php-pspell_5.1.2-1.dsc
php-pspell_5.1.2.orig.tar.gz
to pool/main/p/php-pspell/php-pspell_5.1.2.orig.tar.gz
php4-pspell_5.1.2-1_i386.deb
to pool/main/p/php-pspell/php4-pspell_5.1.2-1_i386.deb
php5-pspell_5.1.2-1_i386.deb
to pool/main/p/php-pspell/php5-pspell_5.1.2-1_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 156733@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ondřej Surý <ondrej@debian.org> (supplier of updated php-pspell package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 22 Mar 2006 15:10:44 +0100
Source: php-pspell
Binary: php5-pspell php4-pspell
Architecture: source i386
Version: 5.1.2-1
Distribution: unstable
Urgency: low
Maintainer: Ondřej Surý <ondrej@debian.org>
Changed-By: Ondřej Surý <ondrej@debian.org>
Description:
php4-pspell - pspell module for php4
php5-pspell - pspell module for php5
Closes: 147728 156733 242552
Changes:
php-pspell (5.1.2-1) unstable; urgency=low
.
* Initial release. (Closes: #147728, #156733, #242552)
* Use 3.01 version of PHP license.
Files:
ddee048993b5b249778f0a8b88649042 755 web optional php-pspell_5.1.2-1.dsc
02c867f7069bf700b31146da27431f03 9106 web optional php-pspell_5.1.2.orig.tar.gz
9f8457a7f5df2ee9c715f36190e7557d 10751 web optional php-pspell_5.1.2-1.diff.gz
78a59b57b4dcc4393393ae7cba3616ff 14268 web optional php5-pspell_5.1.2-1_i386.deb
abc490816236efec70cc534c25ef2d67 13922 web optional php4-pspell_5.1.2-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEMNT79OZqfMIN8nMRApHeAJ9o+v+Z3A6QEPpnDZHsdp+nWay9BgCfVdoR
tDNAVnUb6krikmAhanZ0RnI=
=TRZm
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 11 Aug 2008 07:35:15 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 01:42:36 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.