debian/0000755000000000000000000000000012235421234007164 5ustar debian/maven.rules0000644000000000000000000000027012235420722011346 0ustar * javacc-maven-plugin * s/2\..*/2.6/ * maven-javadoc-plugin * s/2\..*/2.6.1/ * maven-assembly-plugin * s/2\..*/2.2-beta-5/ * log4j * s/1\.2\..*/1.2.x/ * junit * s/3\..*/3.x/ debian/libapache-mime4j-java-doc.install0000644000000000000000000000006012235420722015326 0ustar apidocs/ /usr/share/libapache-mime4j-java-doc/ debian/rules0000755000000000000000000000360112235420722010245 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 UPVER=$(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d- -f1) SKIPTEST=false ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) SKIPTEST=true endif %: dh $@ \ --with javahelper override_dh_installchangelogs: dh_installchangelogs RELEASE_NOTES.txt override_dh_auto_build: # can't use mvn-debian because of libapache-mime4j-doc -- see # mvn-debian's source mh_patchpoms -plibapache-mime4j-java mvn -o -s /etc/maven2/settings-debian.xml \ -Dmaven.test.skip=$(SKIPTEST) package # build javadoc javadoc \ -d apidocs/ \ -sourcepath core/src/main/java/:benchmark/src/main/java/:storage/src/main/java/:dom/src/main/java/ \ -exclude org.apache.james.mime4j.field.address.parser:org.apache.james.mime4j.field.contentdisposition.parser:org.apache.james.mime4j.field.contenttype.parser:org.apache.james.mime4j.field.datetime.parser:org.apache.james.mime4j.field.language.parser:org.apache.james.mime4j.field.mimeversion.parser:org.apache.james.mime4j.field.structured.parser \ -subpackages org.apache.james.mime4j \ org.apache.james.mime4j.core \ org.apache.james.mime4j.dom \ org.apache.james.mime4j.benchmark \ org.apache.james.mime4j.storage override_dh_auto_install: dh_auto_install mh_installpoms -plibapache-mime4j-java -e$(UPVER) for i in core dom storage benchmark; do \ mh_installjar -plibapache-mime4j-java -l $$i/pom.xml -j$(UPVER) -e$(UPVER) \ $$i/target/apache-mime4j-$$i-debian.jar ; \ done rm -rf $(CURDIR)/debian/libapache-mime4j-java/usr/share/maven-repo/org/apache/james/apache-mime4j-examples/ \ $(CURDIR)/debian/libapache-mime4j-java/usr/share/maven-repo/org/apache/james/apache-mime4j-project/ override_dh_auto_clean: dh_auto_clean mh_unpatchpoms -plibapache-mime4j-java -v -rm -rf target/ */target/ -rm -rf debian/.mh/ debian/libapache-mime4j-java.classpath0000644000000000000000000000041412235420722015102 0ustar usr/share/java/apache-mime4j-benchmark.jar /usr/share/java/commons-io.jar usr/share/java/apache-mime4j-dom.jar /usr/share/java/apache-mime4j-core.jar usr/share/java/apache-mime4j-storage.jar /usr/share/java/apache-mime4j-core.jar /usr/share/java/apache-mime4j-dom.jar debian/watch0000644000000000000000000000015412235420722010216 0ustar version=3 http://www.apache.org/dist/james/mime4j/(\d+.*)/apache-mime4j-project-(\d+.*)-source-release\.zip debian/control0000644000000000000000000000317412235420722010575 0ustar Source: apache-mime4j Section: java Priority: extra Maintainer: David Paleino Build-Depends: debhelper (>= 9~) , default-jdk , maven2 , maven-debian-helper , maven-repo-helper , javahelper Build-Depends-Indep: libmaven-assembly-plugin-java , libmaven-javadoc-plugin-java , libjavacc-maven-plugin-java , junit , liblog4j1.2-java , libcommons-io-java Standards-Version: 3.9.5 Homepage: http://james.apache.org/mime4j/ Vcs-Git: git://anonscm.debian.org/collab-maint/apache-mime4j.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/apache-mime4j.git Package: libapache-mime4j-java Architecture: all Depends: ${misc:Depends} , ${java:Depends} Recommends: ${java:Recommends} Description: MIME and RFC822 parser for Java mime4j provides a parser, MimeStreamParser, for e-mail message streams in plain rfc822 and MIME format. The parser uses a callback mechanism to report parsing events such as the start of an entity header, the start of a body, etc. If you are familiar with the SAX XML parser interface you should have no problem getting started with mime4j. Package: libapache-mime4j-java-doc Section: doc Architecture: all Depends: ${misc:Depends} Description: MIME and RFC822 parser for Java - documentation mime4j provides a parser, MimeStreamParser, for e-mail message streams in plain rfc822 and MIME format. The parser uses a callback mechanism to report parsing events such as the start of an entity header, the start of a body, etc. If you are familiar with the SAX XML parser interface you should have no problem getting started with mime4j. . This package contains the API documentation. debian/changelog0000644000000000000000000000370612235420722011045 0ustar apache-mime4j (0.7.2-2) unstable; urgency=low * Upload to unstable * Fixed Vcs-* fields in debian/control * Updated debian/watch * Standards-Version bump to 3.9.5, no changes needed -- David Paleino Sun, 03 Nov 2013 11:13:27 +0100 apache-mime4j (0.7.2-1) experimental; urgency=low * New upstream version. * Build-Depend on default-jdk (Closes: #683501). * Fixed debian/watch. * Manually build javadoc, waiting to understand how to properly configure maven-javadoc-plugin. * Standards-Version bump to 3.9.4, no changes needed. * Bump debhelper compatibility to 9. * Drop dependency on JRE. * Updated debian/copyright. * Add Class-Path to generated jars, and use javahelper to determine runtime dependencies. -- David Paleino Sun, 30 Dec 2012 22:12:41 +0100 apache-mime4j (0.6.1-2) unstable; urgency=low * Upload to unstable -- David Paleino Mon, 14 Feb 2011 16:10:55 +0100 apache-mime4j (0.6.1-1) experimental; urgency=low * New upstream version * debian/rules: also install the .pom file in the versioned directory in the Maven repository. * debian/copyright fixed according to current DEP-5 * Standards-Version bumped to 3.9.1, no changes needed -- David Paleino Sat, 15 Jan 2011 02:12:34 +0100 apache-mime4j (0.6-2) unstable; urgency=low * debian/rules: install the correct jarfile * debian/maven.rules and debian/maven.ignoreRules added: use mh_patchpom and mh_unpatchpoms in debian/rules, instead of patching the pom.xml. * debian/patches/00-fix_build.patch refreshed, now using mh_*patchpom* for most things * debian/docs removed -- RELEASE_NOTES.txt is installed as the upstream changelog -- David Paleino Tue, 13 Jul 2010 09:28:28 +0200 apache-mime4j (0.6-1) unstable; urgency=low * Initial release (Closes: #585601) -- David Paleino Thu, 08 Jul 2010 13:22:14 +0200 debian/copyright0000644000000000000000000000166712235420722011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: * Copyright: © 2004-2012, The Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: © 2010-2012, David Paleino License: Apache-2.0 License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Comment: on Debian systems, the complete text of the Apache version 2.0 license can be found in "/usr/share/common-licenses/Apache-2.0". debian/source/0000755000000000000000000000000012235420722010465 5ustar debian/source/format0000644000000000000000000000001412235420722011673 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012235420722010614 5ustar debian/patches/series0000644000000000000000000000002312235420722012024 0ustar 00-fix_build.patch debian/patches/00-fix_build.patch0000644000000000000000000000675212235420722014031 0ustar From: David Paleino Subject: fix pom.xml to build Forwarded: no --- assemble/pom.xml | 3 ++- core/pom.xml | 1 + dom/pom.xml | 2 ++ pom.xml | 11 ++++++++++- storage/pom.xml | 1 + 5 files changed, 16 insertions(+), 2 deletions(-) --- apache-mime4j.orig/pom.xml +++ apache-mime4j/pom.xml @@ -110,6 +110,15 @@ + org.apache.maven.plugins + maven-compiler-plugin + true + + 1.5 + 1.5 + + + org.apache.rat apache-rat-plugin true @@ -143,7 +152,7 @@ maven-jar-plugin - ${project.build.outputDirectory}/META-INF/MANIFEST.MF + Apache Mime4j ${project.version} --- apache-mime4j.orig/dom/pom.xml +++ apache-mime4j/dom/pom.xml @@ -49,6 +49,7 @@ junit junit + 3.8.2 jar test @@ -67,6 +68,7 @@ org.codehaus.mojo javacc-maven-plugin + 2.6 generate-jjtree --- apache-mime4j.orig/assemble/pom.xml +++ apache-mime4j/assemble/pom.xml @@ -59,6 +59,7 @@ org.apache.maven.plugins maven-assembly-plugin + 2.2-beta-5 ${basedir}/src/assemble/ gnu @@ -102,4 +103,4 @@ - \ No newline at end of file + --- apache-mime4j.orig/core/pom.xml +++ apache-mime4j/core/pom.xml @@ -35,6 +35,7 @@ junit junit + 3.8.2 jar test --- apache-mime4j.orig/storage/pom.xml +++ apache-mime4j/storage/pom.xml @@ -41,6 +41,7 @@ junit junit + 3.8.2 jar test debian/maven.ignoreRules0000644000000000000000000000014012235420722012506 0ustar * apache-rat-plugin * maven-remote-resources-plugin * maven-source-plugin * maven-bundle-plugin debian/compat0000644000000000000000000000000212235420722010363 0ustar 9 debian/libapache-mime4j-java.poms0000644000000000000000000000016112235420722014075 0ustar pom.xml --no-parent core/pom.xml dom/pom.xml storage/pom.xml benchmark/pom.xml examples/pom.xml assemble/pom.xml