r45848 - in /trunk/libembperl-perl/debian: README.Debian changelog control libembperl-perl.postinst libembperl-perl.prerm

gwolf at users.alioth.debian.org gwolf at users.alioth.debian.org
Thu Oct 15 16:46:40 UTC 2009


Author: gwolf
Date: Thu Oct 15 16:46:33 2009
New Revision: 45848

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=45848
Log:
Preparing upload for libembperl-perl

Modified:
    trunk/libembperl-perl/debian/README.Debian
    trunk/libembperl-perl/debian/changelog
    trunk/libembperl-perl/debian/control
    trunk/libembperl-perl/debian/libembperl-perl.postinst
    trunk/libembperl-perl/debian/libembperl-perl.prerm

Modified: trunk/libembperl-perl/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libembperl-perl/debian/README.Debian?rev=45848&op=diff
==============================================================================
--- trunk/libembperl-perl/debian/README.Debian (original)
+++ trunk/libembperl-perl/debian/README.Debian Thu Oct 15 16:46:33 2009
@@ -1,19 +1,35 @@
 Debian-specific notes for Embperl
 =================================
 
-NB: Embperl is not (yet) threadsafe and will not work with any of
-    apache2's threaded models in mod_perl mode.  In Debian terms, if
-    you want to use libembperl-perl with apache2 and mod_perl2, you
-    must use the "apache2-mpm-prefork" apache2 package.
-    Full apache2 thread support is currently slated for Embperl v2.1
+Thread safety (and possible options)
+-------------
 
-This package has been compiled with support for mod_perl (versions 1
-and 2) and libxslt.  The Embperl CGI scripts are installed into
-/usr/lib/cgi-bin.
+NB: Embperl is not threadsafe and will not work with any of apache2's
+    threaded models in mod_perl mode.  In Debian terms, if you want to
+    use libembperl-perl with apache2 and mod_perl2, you must use the
+    "apache2-mpm-prefork" apache2 package.
+
+If you are running a threaded flavor of Apache, or if you are using
+any other webserver, you should run Embperl through the FastCGI-based
+application server.
+
+This package has been compiled with support for mod_perl and libxslt.
+The Embperl CGI scripts are installed into /usr/lib/cgi-bin.
+
+Crypto support
+--------------
 
 See crypto/README in the source package for instructions on building
 with source encryption support.  Since this feature relies on storing
 the encryption key in the executable, there is no way to ship this
 precompiled.
 
- -- Angus Lees <gus at debian.org>, Sun Oct  9 19:18:16 2005
+Deprecation notice
+------------------
+
+Note that, as of late 2007, upstream development of Embperl has
+halted; Embperl is regarded as stable and well-behaving, and it is
+still supported in Debian. However, we urge you to think twice before
+using it for new systems development.
+
+ -- Gunnar Wolf <gwolf at debian.org>, Thu, 15 Oct 2009 11:39:18 -0500

Modified: trunk/libembperl-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libembperl-perl/debian/changelog?rev=45848&op=diff
==============================================================================
--- trunk/libembperl-perl/debian/changelog (original)
+++ trunk/libembperl-perl/debian/changelog Thu Oct 15 16:46:33 2009
@@ -1,9 +1,4 @@
-libembperl-perl (2.3.0-1) UNRELEASED; urgency=low
-
-  Problems:
-  README.Debian is clearly outdated (look at the version number it mentions)
-  haven't done a full review
-  --Ryan52
+libembperl-perl (2.3.0-1) unstable; urgency=low
 
   [ Jonathan Yu ]
   * New upstream release
@@ -46,7 +41,16 @@
   * Change Section to "perl".
   * Remove dbinitembperlapache (created by test suite).
 
- -- Jonathan Yu <jawnsy at cpan.org>  Wed, 14 Oct 2009 17:01:38 -0400
+  [ Gunnar Wolf ]
+  * Updated README.Debian to reflect the current reality re: thread
+    safety, dropping mentions of obsolete mod_perl v1 and mentioning the
+    deprecation of embperl itself
+  * Reload Apache if a2enmod/a2dismod was called in postinst/prerm
+  * Added Suggests: apache2-mpm-prefork, as it is the closer we can get to
+    get the non-threaded versions of Apache2 by default besides
+    documenting, which is already done in README.Debian. (Closes: #412521)
+
+ -- Gunnar Wolf <gwolf at debian.org>  Thu, 15 Oct 2009 11:43:24 -0500
 
 libembperl-perl (2.2.0-3.1) unstable; urgency=low
 

Modified: trunk/libembperl-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libembperl-perl/debian/control?rev=45848&op=diff
==============================================================================
--- trunk/libembperl-perl/debian/control (original)
+++ trunk/libembperl-perl/debian/control Thu Oct 15 16:46:33 2009
@@ -16,7 +16,7 @@
 Architecture: any
 Depends: ${perl:Depends}, ${shlibs:Depends}, libwww-perl, libcgi-pm-perl | perl-modules (>= 5.8.0) | libcgi-perl
 Recommends: libapache2-mod-perl2 (>= 2.0.2-2.3) | libfcgi-perl, libapache-sessionx-perl
-Suggests: mmm-mode, libdbix-recordset-perl
+Suggests: mmm-mode, libdbix-recordset-perl, apache2-mpm-prefork
 Description: A system for building dynamic websites with Perl
  Embperl gives you the power to embed Perl code in your HTML/XML
  documents and the ability to build your Web site out of small

Modified: trunk/libembperl-perl/debian/libembperl-perl.postinst
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libembperl-perl/debian/libembperl-perl.postinst?rev=45848&op=diff
==============================================================================
--- trunk/libembperl-perl/debian/libembperl-perl.postinst (original)
+++ trunk/libembperl-perl/debian/libembperl-perl.postinst Thu Oct 15 16:46:33 2009
@@ -4,9 +4,12 @@
 
 #DEBHELPER#
 
-if [ "$1" = configure ] && dpkg --compare-versions "$2" lt 2.0b12dev1-1; then
+if [ "$1" = configure ]
     if [ -x /usr/sbin/a2enmod ]; then
 	a2enmod zembperl || true
+	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+	    invoke-rc.d apache2 reload || true
+	fi
     fi
 fi
 

Modified: trunk/libembperl-perl/debian/libembperl-perl.prerm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libembperl-perl/debian/libembperl-perl.prerm?rev=45848&op=diff
==============================================================================
--- trunk/libembperl-perl/debian/libembperl-perl.prerm (original)
+++ trunk/libembperl-perl/debian/libembperl-perl.prerm Thu Oct 15 16:46:33 2009
@@ -7,6 +7,9 @@
 if [ "$1" = remove ]; then
     if [ -x /usr/sbin/a2dismod ]; then
 	a2dismod zembperl || true
+	if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+	    invoke-rc.d apache2 reload || true
+	fi
     fi
 fi
 




More information about the Pkg-perl-cvs-commits mailing list