debian/0000755000000000000000000000000012174501122007161 5ustar debian/copyright0000644000000000000000000000760712101435115011124 0ustar This package was debianized by Thierry Carrez on Mon, 29 Jun 2009 16:57:15 +0200 Source tarballs were downloaded from http://www.dnsjava.org/download/ Copyright: Copyright (c) 1999-2005, Brian Wellington Unit tests in tests subdirectory are: Copyright (c) 2005, Matthew J. Rutherford Copyright (c) 2005, University of Colorado at Boulder Tokenizer.java is also Copyright (C) 2003-2004 Nominum, Inc. Parts of ZoneTransferIn.java are derived from lib/dns/xfrin.c from BIND9: Copyright (C) 1999-2001 Internet Software Consortium Authors: Brian Wellington Unit tests contributed by Matthew J. Rutherford License: dnsjava is licensed under the following terms: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the dnsjava project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The same license and copyright applies to the Debian packaging. org/xbill/DNS/Tokenizer.java is licensed under the following terms: Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Parts of org/xbill/DNS/ZoneTransferIn.java are derived from lib/dns/xfrin.c from BIND 9, which is licensed under the following terms: Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. debian/patches/0000755000000000000000000000000012174500623010615 5ustar debian/patches/removes-bnd.jar-download.patch0000644000000000000000000000136312173437660016453 0ustar Index: dnsjava-2.1.5/build.xml =================================================================== --- dnsjava-2.1.5.orig/build.xml 2013-04-11 00:05:09.000000000 +0300 +++ dnsjava-2.1.5/build.xml 2013-07-23 11:32:39.000000000 +0300 @@ -46,10 +46,8 @@ - + classpath="/usr/share/java/bnd.jar"/> Bundle-Version: ${version} Bundle-Name: dnsjava is an implementation of DNS in Java debian/patches/build-bundle-default.patch0000644000000000000000000000104612174472333015635 0ustar Description: Patch enables building an OSGi bundle Changes the default target of the ant build.xml. The result jar file that will be used for the package will be an OSGi bundle enabled jar. Author: Damian Minkov --- a/build.xml +++ b/build.xml @@ -1,4 +1,4 @@ - + debian/patches/series0000644000000000000000000000007212173440173012033 0ustar build-bundle-default.patch removes-bnd.jar-download.patch debian/changelog0000644000000000000000000000413612174472603011052 0ustar dnsjava (2.1.5-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream release. * Update to remove internet connectivity requirement. (Closes: #708692) -- Damian Minkov Fri, 26 Jul 2013 16:08:27 +0300 dnsjava (2.1.4-0.1) unstable; urgency=low [ Damian Minkov ] * Non-maintainer upload. * New upstream release. (Closes: #699033) * Changed the source format to 3.0 (quilt). * Switched debhelper's compatibility level from 5 to 9. * Added patch to build bundle jar by default, that adds support for an OSGi bundle. * Removed a bad field from debian/control ("XSBC-Original-Maintainer"). * Changed Build-Depends switched debhelper version to 9. * Increased Standards-Version to 3.9.3. * Changed debian/rules to rename the built jar OSGi bundle file to the name used in the package. [ Raphaƫl Hertzog ] * Sponsoring the upload. * Drop Dm-Upload-Allowed field from debian/control since it's no longer used by dak. * Drop the useless debian/libdnsjava-java.jlibs. -- Damian Minkov Tue, 26 Mar 2013 10:45:35 +0200 dnsjava (2.0.8-1) unstable; urgency=low * Port package to pkg-java based largely on existing Ubuntu package. [ by sponsor moeller@d.o ] * New upstream version (Closes: #562199). * Disabled checks because of issue with byteArrayToString(). -- Chris Grzegorczyk Thu, 17 Dec 2009 01:08:10 -0800 dnsjava (2.0.6-0ubuntu3) karmic; urgency=low * debian/patches/run-tests.patch: Disable the AddressTest testsuite since it needs network and therefore fails on most buildds, resulting in FTBFS. -- Thierry Carrez Mon, 24 Aug 2009 13:48:12 +0200 dnsjava (2.0.6-0ubuntu2) karmic; urgency=low * debian/control: Downgrade minimal JRE requirements to java2-runtime-headless since code is java2-compatible. -- Thierry Carrez Mon, 24 Aug 2009 11:42:18 +0200 dnsjava (2.0.6-0ubuntu1) karmic; urgency=low * Initial release. New Eucalyptus dependency. -- Thierry Carrez Tue, 21 Jul 2009 15:17:03 +0200 debian/rules0000755000000000000000000000113412124052014010234 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java #DEB_ANT_CHECK_TARGET := run_tests DEB_JARS := junit ant-junit binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java:: mv org.xbill.dns_$(DEB_UPSTREAM_VERSION).jar $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar dh_install $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE).jar debian/compat0000644000000000000000000000000212102477517010372 0ustar 9 debian/README.Debian0000644000000000000000000000151012101435115011215 0ustar The checks were disabled for version 2.0.8 because of an issues with byteArrayToString. [junit] Testcase: test_rdataToString took 0,002 sec [junit] Testcase: test_toString took 0,006 sec [junit] Testcase: test_byteArrayFromString took 0,001 sec [junit] Testcase: test_byteArrayFromString_invalid took 0,003 sec [junit] Testcase: test_byteArrayToString took 0,009 sec [junit] FAILED [junit] expected:<" \031Aa[\];\"\\~\127\255"> but was:<" \031Aa[];\"\\~\127\255"> [junit] junit.framework.ComparisonFailure: expected:<" \031Aa[\];\"\\~\127\255"> but was:<" \031Aa[];\"\\~\127\255"> [junit] at org.xbill.DNS.RecordTest.test_byteArrayToString(RecordTest.java:553) [junit] The problem was reported to upstream, it is unclear for the moment if the bug if with the testing or with the main code. debian/source/0000755000000000000000000000000012101441056010460 5ustar debian/source/format0000644000000000000000000000001411665766553011720 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000020512101435115011333 0ustar dnsjava ======= run-tests.patch - Only a single patch is performed to exactly specify the jar file to be referenced for the testing debian/control0000644000000000000000000000123412174500774010600 0ustar Source: dnsjava Section: java Priority: optional Maintainer: Chris Grzegorczyk Uploaders: Graziano Obertelli , Kyo Lee Build-Depends-Indep: default-jdk, junit Build-Depends: ant, ant-optional, debhelper (>= 9), cdbs, bnd Standards-Version: 3.9.4 Homepage: http://www.dnsjava.org Package: libdnsjava-java Architecture: all Depends: ${misc:Depends} Description: Implementation of DNS in Java dnsjava is an implementation of DNS in Java. It can be used for queries, zone transfers, and dynamic updates. It includes a cache which can be used by clients, and a minimal implementation of a server. debian/watch0000644000000000000000000000007612101435115010213 0ustar version=3 http://www.dnsjava.org/download/dnsjava-(.+).tar.gz