[subethasmtp] 01/01: Initial release (Closes: #884909)

Christopher Stuart Hoskin mans0954 at moszumanska.debian.org
Thu Dec 21 10:13:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

mans0954 pushed a commit to branch master
in repository subethasmtp.

commit 36e9355cf837accf1e4163f0b546d8a61e3ceea4
Author: Christopher Hoskin <mans0954 at debian.org>
Date:   Thu Dec 21 10:13:09 2017 +0000

    Initial release (Closes: #884909)
---
 debian/changelog                  |  5 ++++
 debian/compat                     |  1 +
 debian/control                    | 38 +++++++++++++++++++++++++
 debian/copyright                  | 23 +++++++++++++++
 debian/libsubethasmtp-java.poms   | 29 +++++++++++++++++++
 debian/maven.ignoreRules          |  6 ++++
 debian/maven.properties           |  1 +
 debian/maven.rules                |  4 +++
 debian/patches/guavamini.patch    | 59 +++++++++++++++++++++++++++++++++++++++
 debian/patches/junit-extras.patch | 23 +++++++++++++++
 debian/patches/series             |  2 ++
 debian/rules                      | 10 +++++++
 debian/source/format              |  1 +
 debian/subethasmtp-dev.dirs       |  2 ++
 debian/subethasmtp-dev.install    |  4 +++
 debian/subethasmtp-docs.docs      |  2 ++
 debian/subethasmtp1.dirs          |  1 +
 debian/subethasmtp1.install       |  1 +
 debian/watch                      |  4 +++
 19 files changed, 216 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cd9875e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+subethasmtp (4.0~rc6-1) unstable; urgency=medium
+
+  * Initial release (Closes: #884909)
+
+ -- Christopher Hoskin <mans0954 at debian.org>  Thu, 21 Dec 2017 07:18:45 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ed14b15
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,38 @@
+Source: subethasmtp
+Priority: optional
+Maintainer: Christopher Hoskin <mans0954 at debian.org>
+Build-Depends: debhelper (>= 10), maven-debian-helper, junit4
+Standards-Version: 4.1.2
+Section: java
+Homepage: https://github.com/davidmoten/subethasmtp
+Vcs-Git: https://anonscm.debian.org/git/pkg-java/subethasmtp.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/subethasmtp.git/
+
+Package: libsubethasmtp-java
+Architecture: all
+Depends: ${maven:Depends}, ${misc:Depends}
+Description: Java library for receiving SMTP mail
+ SubEtha SMTP is a Java library which allows your application to receive SMTP
+ mail with a simple, easy-to-understand API.
+ .
+ This component can be used in almost any kind of email processing application.
+ Hypothetical (and not-so hypothetical) uses include:
+ .
+  * A mailing list manager (see SubEthaMail)
+  * A mail server that delivers mail to user inboxes
+  * A mail archiver like The Mail Archive
+  * An email test harness (see Wiser)
+  * An email2fax system
+  * SMTPseudo A filtering forwarding server
+  * Baton SMTP proxy for one or more backends (rules based on sender/envelope)
+  * Mireka - Mail server and SMTP proxy with detailed logging, statistics and
+    built-in, fail-fast filters
+ .
+ Features
+ .
+  * Supports minimum SMTP specification described in rfc2821 (4.5.1)
+  * Supports STARTTLS
+  * Supports SMTP AUTH
+  * Supports SMTP over SSL/TLS (via specification of server socket factories)
+  * Uses builders for concise code and a discoverable API
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..59b2876
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,23 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: subethasmtp
+Source: https://github.com/davidmoten/subethasmtp
+
+Files: *
+Copyright: 2006-2007 SubEthaMail.org
+License: Apache-2.0
+Comment: The README.md lists Ian McFarland, Jon Stevens, Jeff Schnitzer,
+ Edouard De Oliveira, Scott Hernandez and Dave Moten as significant
+ contributors.
+
+Files: debian/*
+Copyright: 2017 Christopher Hoskin <mans0954 at debian.org>
+License: Apache-2.0
+
+Files: ./src/main/java/org/subethamail/smtp/internal/io/CRLFTerminatedReader.java
+ ./src/main/java/org/subethamail/smtp/internal/io/DotUnstuffingInputStream.java
+Copyright: 2000-2006, The Apache Software Foundation.
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
diff --git a/debian/libsubethasmtp-java.poms b/debian/libsubethasmtp-java.poms
new file mode 100644
index 0000000..3f6e30a
--- /dev/null
+++ b/debian/libsubethasmtp-java.poms
@@ -0,0 +1,29 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+pom.xml --no-parent
+junit-extras/pom.xml --no-parent
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..b7b1d65
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,6 @@
+
+javax.activation activation * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.jacoco jacoco-maven-plugin * * * *
+#com.github.davidmoten guava-mini * * * *
+com.github.davidmoten junit-extras * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..ab18ddd
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1 @@
+maven.test.skip=false
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..e6f625a
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,4 @@
+#s/org.jsr-305/com.google.code.findbugs/ s/ri/jsr305/ * s/0\..*/debian/ * *
+com.google.code.findbugs s/findbugs-annotations/annotations/ * s/.*/debian/ * *
+junit junit jar s/4.*/4.x/ * *
+s/com.github.davidmoten/com.google.guava/  s/guava-mini/guava/ * s/.*/debian/ * *
diff --git a/debian/patches/guavamini.patch b/debian/patches/guavamini.patch
new file mode 100644
index 0000000..33955eb
--- /dev/null
+++ b/debian/patches/guavamini.patch
@@ -0,0 +1,59 @@
+Subject: Upstream uses a subset of Guava,we should use packaged Guava
+Forwarded: not-needed
+Author: Christopher Hoskin <mans0954 at debian.org>
+Last-Update: 2017-12-01
+--- a/src/main/java/org/subethamail/smtp/client/SMTPClient.java
++++ b/src/main/java/org/subethamail/smtp/client/SMTPClient.java
+@@ -18,7 +18,7 @@
+ import org.subethamail.smtp.internal.io.DotTerminatedOutputStream;
+ import org.subethamail.smtp.internal.io.ExtraDotOutputStream;
+ 
+-import com.github.davidmoten.guavamini.Preconditions;
++import com.google.common.base.Preconditions;
+ 
+ /**
+  * A very low level abstraction of the STMP stream which knows how to handle the
+--- a/src/main/java/org/subethamail/smtp/client/SmartClient.java
++++ b/src/main/java/org/subethamail/smtp/client/SmartClient.java
+@@ -14,7 +14,7 @@
+ import org.slf4j.LoggerFactory;
+ import org.subethamail.smtp.client.SMTPClient.Response;
+ 
+-import com.github.davidmoten.guavamini.Preconditions;
++import com.google.common.base.Preconditions;
+ 
+ /**
+  * A somewhat smarter abstraction of an SMTP client which doesn't require
+--- a/src/main/java/org/subethamail/smtp/internal/io/ReceivedHeaderStream.java
++++ b/src/main/java/org/subethamail/smtp/internal/io/ReceivedHeaderStream.java
+@@ -16,7 +16,7 @@
+ 
+ import org.subethamail.smtp.internal.util.TextUtils;
+ 
+-import com.github.davidmoten.guavamini.Preconditions;
++import com.google.common.base.Preconditions;
+ 
+ /**
+  * Prepends a Received: header at the beginning of the input stream.
+--- a/src/main/java/org/subethamail/smtp/internal/util/TextUtils.java
++++ b/src/main/java/org/subethamail/smtp/internal/util/TextUtils.java
+@@ -4,7 +4,7 @@
+ import java.util.Collection;
+ import java.util.Iterator;
+ 
+-import com.github.davidmoten.guavamini.annotations.VisibleForTesting;
++import com.google.common.annotations.VisibleForTesting;
+ 
+ /**
+  * @author Jeff Schnitzer
+--- a/src/main/java/org/subethamail/smtp/server/SMTPServer.java
++++ b/src/main/java/org/subethamail/smtp/server/SMTPServer.java
+@@ -29,7 +29,7 @@
+ import org.subethamail.smtp.helper.SimpleMessageListenerAdapter;
+ import org.subethamail.smtp.internal.server.CommandHandler;
+ 
+-import com.github.davidmoten.guavamini.Preconditions;
++import com.google.common.base.Preconditions;
+ 
+ /**
+  * Main SMTPServer class. Construct this object, set the hostName, port, and
diff --git a/debian/patches/junit-extras.patch b/debian/patches/junit-extras.patch
new file mode 100644
index 0000000..5ee3ce3
--- /dev/null
+++ b/debian/patches/junit-extras.patch
@@ -0,0 +1,23 @@
+Subject: Add junit-extras to the build
+Forwarded: not-needed
+Author: Christopher Hoskin <mans0954 at debian.org>
+Last-Update: 2017-12-01
+--- a/pom.xml
++++ b/pom.xml
+@@ -7,7 +7,7 @@
+     </parent>
+     <artifactId>subethasmtp</artifactId>
+     <version>4.0-RC6</version>
+-    <packaging>jar</packaging>
++    <packaging>pom</packaging>
+     <name>${project.artifactId}</name>
+     <description>A fork of a fork (!) of SubEtha, an easy-to-use server-side SMTP library for Java.</description>
+     <url>https://github.com/davidmoten/subethasmtp</url>
+@@ -150,4 +150,7 @@
+             <scope>test</scope>
+         </dependency>
+     </dependencies>
++  <modules>
++    <module>junit-extras</module>
++  </modules>
+ </project>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f5409cd
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+junit-extras.patch
+guavamini.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..eb3e2f6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+%:
+	dh $@
+
+
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/subethasmtp-dev.dirs b/debian/subethasmtp-dev.dirs
new file mode 100644
index 0000000..4418816
--- /dev/null
+++ b/debian/subethasmtp-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
diff --git a/debian/subethasmtp-dev.install b/debian/subethasmtp-dev.install
new file mode 100644
index 0000000..61c9409
--- /dev/null
+++ b/debian/subethasmtp-dev.install
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*
+usr/share/pkgconfig/*
diff --git a/debian/subethasmtp-docs.docs b/debian/subethasmtp-docs.docs
new file mode 100644
index 0000000..efea0a6
--- /dev/null
+++ b/debian/subethasmtp-docs.docs
@@ -0,0 +1,2 @@
+README.Debian
+README.source
diff --git a/debian/subethasmtp1.dirs b/debian/subethasmtp1.dirs
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/subethasmtp1.dirs
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/subethasmtp1.install b/debian/subethasmtp1.install
new file mode 100644
index 0000000..3ddde58
--- /dev/null
+++ b/debian/subethasmtp1.install
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..466c9df
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/subethasmtp-$1\.tar\.gz/,\
+  uversionmangle=s/-RC/~rc/ \
+  https://github.com/davidmoten/subethasmtp/tags .*/v?(\d\S+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/subethasmtp.git



More information about the pkg-java-commits mailing list