debian/0000755000000000000000000000000012224426351007167 5ustar debian/libhttpunit-java.install0000644000000000000000000000007311337310655014047 0ustar debian/README.Debian-source usr/share/doc/libhttpunit-java debian/libhttpunit-java-doc.doc-base.10000644000000000000000000000044511154560051014755 0ustar Document: libhttpunit-java-doc1 Title: API for HttpUnit Author: Russell Gold Abstract: Automated web site testing toolkit Section: Programming Format: HTML Index: /usr/share/doc/libhttpunit-java-doc/api/index.html Files: /usr/share/doc/libhttpunit-java-doc/api/*.html debian/maven.rules0000644000000000000000000000047312222064156011354 0ustar s/nekohtml/net.sourceforge.nekohtml/ nekohtml jar s/.*/debian/ * s/xerces/xml-apis/ s/xmlParserAPIs/xml-apis-1.4/ jar s/.*/debian/ * s/jtidy/net.sf.jtidy/ * * s/.*/debian/ * s/javax.servlet/javax.servlet.jsp/ jsp-api jar s/2\..*/2.1/ * * javax.servlet servlet-api jar s/2\..*/2.5/ * * junit junit jar s/.*/3.x/ * * debian/libhttpunit-java-doc.doc-base.20000644000000000000000000000046511154560051014760 0ustar Document: libhttpunit-java-doc2 Title: HttpUnit User Manual Author: Russell Gold Abstract: Short manual of HttpUnit explaining its usage Section: Programming Format: HTML Index: /usr/share/doc/libhttpunit-java-doc/manual/index.html Files: /usr/share/doc/libhttpunit-java-doc/manual/* debian/watch0000644000000000000000000000013111254616277010225 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://sf.net/httpunit/httpunit-([\d\.]*).zip debian/README.Debian-source0000644000000000000000000000111611154560051012522 0ustar The upstream tarball has been modified as follows, to comply with DFSG: * All .jar files in jars directory has been removed to comply with DFSG, as its source is not included in this package. * The supplied httpunit.jar has also been deleted to prevent confusion. * The doc/tutorial/*.zip files and doc/api directories have also been deleted, as these are regenerated during the build. * Removed web-app_2_{2,3}.dtd and web-app_2_4.xsd from META-INF directory, as they are not DFSG conformant. -- Miguel Landaeta Fri, 06 Mar 2009 14:40:41 -0430 debian/rules0000755000000000000000000000050511670240525010250 0ustar #!/usr/bin/make -f export JAVA_HOME := /usr/lib/jvm/default-java %: dh --with javahelper --with jh_maven_repo_helper $@ override_dh_auto_clean: dh_auto_clean ant total-clean rm -f doc/tutorial/task1.zip override_dh_auto_build: ant -propertyfile debian/ant.properties dist get-orig-source: sh -e debian/orig-tar.sh debian/changelog0000644000000000000000000001056212224426261011045 0ustar httpunit (1.7+dfsg-10) unstable; urgency=low [ Miguel Landaeta ] * Remove Michael Koch from Uploaders list. Thanks for your work on this package. (Closes: #654021). * Update copyright file. * Fix incorrect dependency info on junit in POM file (Closes: #724925). * Use canonical URLs on Vcs-* fields. * Update copyright file. [ Emmanuel Bourg ] * Updated Standards-Version to 3.9.4 (no changes) * Removed the build dependency on libgnujaf-java -- Miguel Landaeta Sun, 29 Sep 2013 14:29:50 -0300 httpunit (1.7+dfsg-9) unstable; urgency=low [ James Page ] * Fix FTBFS with OpenJDK7 (LP: #888940) (Closes: #651419): - d/ant.properties: Specify source/target as 1.5 for javac and javadoc ant tasks to ensure backwards compatibility and work around Java 7 encoding errors. - d/rules: Use ant.properties. -- Miguel Landaeta Thu, 08 Dec 2011 18:33:30 -0430 httpunit (1.7+dfsg-8) unstable; urgency=low * Fixup XML parsing with correct JAX-P 1.4 API's: - d/control: Restore libxerces2-java dependency. - d/maven.rules: Map xmlParserAPIs->xml-apis-1.4. - d/mavenIgnore.rules: Drop - no longer required. - d/patches/add_classpath_to_manifest: Restore xercesImpl.jar to Class-Path. -- James Page Thu, 27 Oct 2011 17:13:23 +0100 httpunit (1.7+dfsg-7) unstable; urgency=low * Fix maven metadata to use libservlet2.5-java artifacts * Drop dependency on libxerces2-java; no longer required as JAX-P implementation is provided by default-jdk. * Added myself to Uploaders. -- James Page Sun, 23 Oct 2011 20:38:26 +0100 httpunit (1.7+dfsg-6) unstable; urgency=low * Update maven metadata about jtidy dependency. (Closes: #643749). * Fix minor lintian warnings about control file. * Make copyright file DEP-5 compliant. * Drop almost all versioned dependencies since they are satisfied in squeeze. -- Miguel Landaeta Thu, 29 Sep 2011 07:37:34 -0430 httpunit (1.7+dfsg-5.1) unstable; urgency=low * Non-maintainer upload. * debian/control: - add version contraint on maven-repo-helper (>= 1.6) - Bumped Standards-Version to 3.9.2. No changes neeeded. * debian/rules: simplify installation by using dh --with jh_maven_repo_helper * debian/libhttpunit.poms: add parameters for jh_maven_repo_helper -- Ludovic Claude Mon, 26 Sep 2011 23:01:21 +0200 httpunit (1.7+dfsg-5) unstable; urgency=low * Team upload [ Ludovic Claude ] * debian/control: add version contraint on maven-repo-helper * debian/rules: simplify installation by using mh_install * debian/libhttpunit.poms: add parameters for mh_install [ Torsten Werner ] * Change Section: java for source package. * Remove Java runtime from Depends. * Update Standards-Version: 3.9.1. * Set JAVA_HOME in debian/rules. * Switch to libservlet2.5-java. -- Torsten Werner Fri, 02 Sep 2011 23:19:04 +0200 httpunit (1.7+dfsg-4) unstable; urgency=low * Added libservlet2.4-java runtime dependency -- Gabriele Giacone <1o5g4r8o@gmail.com> Fri, 19 Feb 2010 22:47:48 +0100 httpunit (1.7+dfsg-3) unstable; urgency=low [ Gabriele Giacone ] * Added Maven support. * Bumped Standards-Version to 3.8.4. No changes neeeded. * Changed source format to 3.0, removed dpatch dependency. * Replaced cdbs with debhelper, and bumped compat level to 7. [ Miguel Landaeta ] * Updated to Depend and Build-Depend on default JRE and JDK, and use javahelper. [ Torsten Werner ] * Remove README.source refering dpatch. -- Torsten Werner Thu, 18 Feb 2010 23:06:53 +0100 httpunit (1.7+dfsg-2) unstable; urgency=low [ Miguel Landaeta ] * Added Vcs-* fields. * Added Class-Path entry to the manifest. (Closes: #536205) * Bumped Standards-Version to 3.8.2; no changes required. * Fixed wrong-section-according-to-package-name lintian warning. libhttpunit-java is now under java section. [ Michael Koch ] * Fixed watch file to use SF redirector. * Added debian/README.source. * Added myself to Uploaders. * Updated to Standards-Version 3.8.3. -- Michael Koch Fri, 18 Sep 2009 07:35:15 +0200 httpunit (1.7+dfsg-1) unstable; urgency=low * Initial release (closes: #518350). -- Miguel Landaeta Fri, 06 Mar 2009 23:45:36 -0430 debian/patches/0000755000000000000000000000000012224426313010614 5ustar debian/patches/use_system_jars0000755000000000000000000000210011337070603013753 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## use_system_jars.dpatch by Miguel Landaeta ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Configure build to use jar installed on system. @DPATCH@ diff -urNad httpunit-1.7+dfsg~/build.xml httpunit-1.7+dfsg/build.xml --- httpunit-1.7+dfsg~/build.xml 2008-05-20 16:25:36.000000000 +0000 +++ httpunit-1.7+dfsg/build.xml 2009-03-04 21:19:43.000000000 +0000 @@ -41,7 +41,7 @@ - + @@ -302,10 +302,12 @@ + debian/patches/fix_set_encoding0000755000000000000000000000220111337070603014045 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## fix_set_encoding.dpatch by Miguel Landaeta ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: method setCharEncoding from Tidy class was removed from API. ## DP: now the methods setInputEncoding and setOutputEncoding must be used. @DPATCH@ diff -urNad httpunit-1.7+dfsg~/src/com/meterware/httpunit/parsing/JTidyHTMLParser.java httpunit-1.7+dfsg/src/com/meterware/httpunit/parsing/JTidyHTMLParser.java --- httpunit-1.7+dfsg~/src/com/meterware/httpunit/parsing/JTidyHTMLParser.java 2008-05-20 16:25:36.000000000 +0000 +++ httpunit-1.7+dfsg/src/com/meterware/httpunit/parsing/JTidyHTMLParser.java 2009-03-04 21:25:54.000000000 +0000 @@ -87,7 +87,8 @@ private static Tidy getParser( URL url ) { Tidy tidy = new Tidy(); - tidy.setCharEncoding( org.w3c.tidy.Configuration.UTF8 ); + tidy.setInputEncoding( "UTF8" ); + tidy.setOutputEncoding( "UTF8" ); tidy.setQuiet( true ); tidy.setShowWarnings( HTMLParserFactory.isParserWarningsEnabled() ); if (!HTMLParserFactory.getHTMLParserListeners().isEmpty()) { debian/patches/series0000644000000000000000000000007311337070603012032 0ustar use_system_jars fix_set_encoding add_classpath_to_manifest debian/patches/add_classpath_to_manifest0000755000000000000000000000163311652472050015732 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## add_classpath_to_manifest.dpatch by Florian Weimer ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: add Class-Path entry to the manifest, so packages using ## DP: httpunit don't have to worry about httpunit's internal dependencies. @DPATCH@ diff -urNad httpunit-1.7+dfsg~/build.xml httpunit-1.7+dfsg/build.xml --- httpunit-1.7+dfsg~/build.xml 2008-05-20 09:55:36.000000000 -0430 +++ httpunit-1.7+dfsg/build.xml 2009-07-25 14:30:26.000000000 -0430 @@ -241,6 +241,9 @@ Build-Time: ${TSTAMP} + + + debian/libhttpunit-java-doc.docs0000644000000000000000000000033011154560051014062 0ustar dist/httpunit-1.7/doc/api dist/httpunit-1.7/doc/manual dist/httpunit-1.7/doc/release_notes.html dist/httpunit-1.7/doc/sslfaq.html dist/httpunit-1.7/doc/tutorial dist/httpunit-1.7/examples debian/README.Debian-source debian/orig-tar.sh0000755000000000000000000000174311640164203011253 0ustar #!/bin/sh -e PACKAGE="httpunit" DEB_VERSION=`dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p'` VERSION=`echo $DEB_VERSION | sed -e 's/+dfsg$//'` TARBALL="${PACKAGE}_${DEB_VERSION}.orig.tar.gz" SITE="download.sourceforge.net/pub/sourceforge/h/ht/$PACKAGE/$PACKAGE-${VERSION}.zip" MIRROR="http://www.mirrorservice.org/sites" NONDFSG="jars/* lib/* doc/tutorial/*.zip doc/api/* META-INF/*.dtd META-INF/*.xsd" rm -rf get-orig-source $TARBALL mkdir get-orig-source wget ${MIRROR}/${SITE} -O get-orig-source/${PACKAGE}-${VERSION}.zip unzip -d get-orig-source get-orig-source/${PACKAGE}-${VERSION}.zip cd get-orig-source/${PACKAGE}-${VERSION} && rm -rf ${NONDFSG} cd $OLDPWD mv get-orig-source/${PACKAGE}-${VERSION} get-orig-source/${PACKAGE}-${DEB_VERSION} GZIP=--best tar czf ${PACKAGE}_${DEB_VERSION}.orig.tar.gz -C get-orig-source \ ${PACKAGE}-${DEB_VERSION} rm -rf get-orig-source echo " "${TARBALL}" created; move it to the right destination to build the package" debian/ant.properties0000644000000000000000000000017711670240525012075 0ustar # Ensure that source and target are 1.5 # For backwards compat on Java 7 ant.build.javac.source=1.5 ant.build.javac.target=1.5 debian/source/0000755000000000000000000000000012224426313010465 5ustar debian/source/format0000644000000000000000000000001411337070603011674 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211337073007010365 0ustar 7 debian/copyright0000644000000000000000000000657412222064156011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: httpunit Upstream-Contact: Russell Gold Source: http://httpunit.org/ Files: * Copyright: © 2000-2008, Russell Gold License: other Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: examples/GoogleMapsExample.java Copyright: © 2008, Wolfgang Fahl, BITPlan GmbH (http://www.bitplan.com) License: other Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: © 2009-2013, Miguel Landaeta , © 2010, Gabriele Giacone <1o5g4r8o@gmail.com> License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. debian/libhttpunit-java-doc.doc-base.30000644000000000000000000000047311154560051014760 0ustar Document: libhttpunit-java-doc3 Title: HttpUnit Tutorial Author: Russell Gold Abstract: Brief tutorial of HttpUnit with tasks and examples Section: Programming Format: HTML Index: /usr/share/doc/libhttpunit-java-doc/tutorial/task1.html Files: /usr/share/doc/libhttpunit-java-doc/tutorial/* debian/pom.xml0000644000000000000000000001271111337070603010505 0ustar 4.0.0 httpunit httpunit 1.7 A library for testing websites programmatically src test META-INF META-INF org.codehaus.mojo cobertura-maven-plugin org.apache.maven.plugins maven-source-plugin attach-sources package jar test-jar org.codehaus.mojo build-helper-maven-plugin 1.0 add-source generate-sources add-source src-1.4 org.apache.maven.plugins maven-jar-plugin org.apache.maven.plugins maven-surefire-plugin never false **/TestSuite$1.class **/EventAwareTestCase.class **/WebClientTest.class **/WebPageTest.class maven-javadoc-plugin maven-surefire-report-plugin META-INF maven-jxr-plugin org.codehaus.mojo findbugs-maven-plugin Normal org.codehaus.mojo cobertura-maven-plugin rhino js 1.6R5 junit junit 3.8.1 nekohtml nekohtml 0.9.5 javax.servlet servlet-api 2.4 jtidy jtidy 4aug2000r7-dev xerces xercesImpl 2.6.1 xerces xmlParserAPIs 2.6.1 javax.mail mail 1.4 test repo1 http://repo1.maven.org/maven2/ true true debian/libhttpunit-java.jlibs0000644000000000000000000000002111337310655013475 0ustar lib/httpunit.jar debian/control0000644000000000000000000000343412222064156010575 0ustar Source: httpunit Maintainer: Debian Java Maintainers Uploaders: Miguel Landaeta , James Page Section: java Priority: optional Build-Depends: default-jdk, ant, javahelper, debhelper (>= 7.0.50~), rhino, libjtidy-java, junit, libgnumail-java, libservlet2.5-java, libnekohtml-java, libxerces2-java, maven-repo-helper (>= 1.6) Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/httpunit/ Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/httpunit Homepage: http://httpunit.org/ Package: libhttpunit-java Architecture: all Depends: libnekohtml-java, rhino, libjtidy-java, libservlet2.5-java, libxerces2-java, ${misc:Depends} Recommends: junit Suggests: libhttpunit-java-doc (= ${binary:Version}) Description: automated web site testing toolkit HttpUnit emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. Package: libhttpunit-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libhttpunit-java (= ${binary:Version}), default-jdk-doc Description: documentation for libhttpunit-java Documentation for HttpUnit which is an automated web site testing toolkit. . HttpUnit emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links. . This package includes a small manual, the javadoc API, a tutorial and examples. debian/libhttpunit-java.poms0000644000000000000000000000004311633746355013365 0ustar debian/pom.xml --usj-name=httpunit