debian/0000755000000000000000000000000011345374566007204 5ustar debian/postinst0000644000000000000000000000163511345167037011010 0ustar #!/bin/sh -e case "$1" in configure|upgrade) WEBSERVERS="apache apache-ssl apache2" for apache in $WEBSERVERS; do if [ -d "/etc/$apache/conf.d" ] && \ [ -x "/etc/init.d/$apache" ] && \ [ ! -e "/etc/$apache/conf.d/xajax.conf" ] then echo "Installing xajax configuration file for $apache.." ln -sf /etc/xajax/apache.conf \ /etc/$apache/conf.d/xajax.conf if [ -f "/var/run/$apache.pid" ]; then invoke-rc.d $apache reload fi fi done ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/changelog0000644000000000000000000000503011345374541011045 0ustar php-xajax (0.5-1) unstable; urgency=low * New upstream release (Closes: #522139) * Switch to dpkg-source 3.0 (quilt) format * Added ${misc:Depends} to depends * Build in binary-indep target * Updated to Debian policy 3.8.4. -- David Gil Mon, 08 Mar 2010 13:08:17 +0100 php-xajax (0.2.5-4) unstable; urgency=low * Bump Standards-Version to 3.8.0: + debian/control: Added Homepage field. * debian/control + Added Vcs-Svn and Vcs-Browser fields. + Updated project homepage. * debian/rules: Link examples to /usr/share/doc/php-xajax/examples and tests to /usr/share/php/tests/xajax (Closes: #391615). They are still under /usr/share/php/xajax in order to be ready to run out of the box. * debian/README.Debian: mention the presence of examples and tests in the package and the way to access them. -- David Gil Thu, 31 Jul 2008 10:57:50 +0200 php-xajax (0.2.5-3) unstable; urgency=low * Really fixed "Undefined variable: sResponse" notice. Completed previous patch with http://xajax.svn.sourceforge.net/viewvc/xajax/branches/xajax_0.2.4/xajax/ xajax.inc.php?r1=356&r2=359&view=patch -- David Gil Mon, 18 Jun 2007 21:08:08 +0200 php-xajax (0.2.5-2) unstable; urgency=low * Fixed "Undefined variable: sResponse" notice (Closes: #427686) -- David Gil Wed, 06 Jun 2007 11:00:17 +0200 php-xajax (0.2.5-1) unstable; urgency=high * New upstream release, which fixes the following security vulnerabilities: + Cross-site scripting (XSS) vulnerability (CVE-2005-3325) + Unspecified vulnerability with unknown impact and attack vectors, not related to XSS (CVE-2007-2740) and (Closes: #426103) * Removed DH_COMPAT environment variable in debian/rules. Created a debian/compat file instead. * Renamed source package from xajax to php-xajax and remake source to use a tar.gz instead of a .zip -- David Gil Mon, 28 May 2007 09:44:40 +0200 php-xajax (0.2.4-2) unstable; urgency=low * debian/rules: Added build and configure targets (Closes: #395789). * debian/control: Add Javier Fernandez-Sanguino Pen~a to the Uploaders: field. -- David Gil Sat, 11 Nov 2006 20:59:14 +0100 php-xajax (0.2.4-1) unstable; urgency=low * Initial release (Closes: #353117). * Renamed source package from xajax to php-xajax and remake source to use a tar.gz instead of a .zip -- David Gil Mon, 03 Jul 2006 11:37:02 +0200 debian/source/0000755000000000000000000000000011345167037010475 5ustar debian/source/format0000644000000000000000000000001411345542253011700 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000250011345167037011125 0ustar This package was debianized by David Gil on Mon, 03 Jul 2006 10:29:21 +0200. The current Debian maintainer is David Gil It was downloaded from: http://xajax.sourceforge.net Upstream Authors: Jared White J. Max Wilson Eion Robb Copyright Holder: (c) 2005-2006 Jared White & J. Max Wilson License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. debian/apache.conf0000644000000000000000000000106011345167037011262 0ustar Alias /xajax "/usr/share/php/xajax" Options -Indexes deny from all Options -Indexes allow from all Options +Indexes order deny,allow deny from all allow from 127.0.0.0/255.0.0.0 Options +Indexes order deny,allow deny from all allow from 127.0.0.0/255.0.0.0 debian/rules0000755000000000000000000000351311345170265010254 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 #export DH_COMPAT=5 XAJAX_DIR=$(CURDIR)/debian/php-xajax configure: configure-stamp configure-stamp: dh_testdir touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir touch build-stamp clean: dh_testdir dh_testroot dh_clean install: dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/php-xajax. install -d -o root -g www-data $(XAJAX_DIR)/usr/share/php/xajax cp -r xajax_core/ examples/ xajax_js/ tests/ \ $(XAJAX_DIR)/usr/share/php/xajax/ # apache configuration file install -d $(XAJAX_DIR)/etc/xajax/ cp -r debian/apache.conf $(XAJAX_DIR)/etc/xajax/apache.conf # example&tests links install -d $(XAJAX_DIR)/usr/share/doc/php-xajax ln -sf /usr/share/php/xajax/examples $(XAJAX_DIR)/usr/share/doc/php-xajax/ install -d $(XAJAX_DIR)/usr/share/php/tests ln -sf /usr/share/php/xajax/tests $(XAJAX_DIR)/usr/share/php/tests/xajax # Build architecture-independent files here. binary-arch: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installexamples dh_installman dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/control0000644000000000000000000000147311345374544010610 0ustar Source: php-xajax Section: web Priority: optional Maintainer: David Gil Uploaders: Javier Fernandez-Sanguino Pen~a Build-Depends: debhelper (>= 5.0.0) Standards-Version: 3.8.4 Homepage: http://xajaxproject.org/ Vcs-Svn: svn://xajax.svn.sourceforge.net/svnroot/xajax Vcs-Browser: http://xajax.svn.sourceforge.net/viewvc/xajax/ Package: php-xajax Architecture: all Depends: ${misc:Depends}, php5 | php5-cgi | php5-cli | php4 | php4-cgi | php4-cli Description: A library to develop Ajax applications Xajax is an open source PHP class library that allows you to easily create powerful, web-based, Ajax applications using HTML, CSS, JavaScript, and PHP. Applications developed with xajax can asynchronously call server-side PHP functions and update content without reloading the page. debian/README.Debian0000644000000000000000000000117611345167037011243 0ustar xajax for Debian ---------------- The Debian package ships with a default configuration file for apache. It is located under the /etc/xajax/ directory and it is automatically symlinked into the /etc/APACHE-SERVER/conf.d directory. All configuration changes will also be removed when the package is purged. Make sure to adjust the configuration file provided to suit your needs. This package contains a set of tests and examples ready to run out of the box. You can play with them at http://localhost/xajax/examples and http://localhost/xajax/tests -- David Gil Thu, 31 Jul 2008 12:05:25 +0200 debian/compat0000644000000000000000000000000211345167037010373 0ustar 5 debian/postrm0000644000000000000000000000140011345167037010437 0ustar #!/bin/sh -e case "$1" in purge|remove) WEBSERVERS="apache apache-ssl apache2" for apache in $WEBSERVERS; do if [ -f "/etc/$apache/conf.d/xajax.conf" ]; then echo "Removing xajax configuration file for $apache.." rm -f /etc/$apache/conf.d/xajax.conf if [ -f "/var/run/$apache.pid" ]; then invoke-rc.d $apache reload fi fi done ;; upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0