debian/0000755000000000000000000000000011640662722007174 5ustar debian/compat0000644000000000000000000000000211640662722010372 0ustar 7 debian/copyright0000644000000000000000000000107611640662722011133 0ustar This work was packaged for Debian by: Stefan Denker on Sat, 25 Jun 2011 15:17:08 +0200 It was downloaded from: http://downloads.sourceforge.net/project/dumbster/ Upstream Author: Jason Kitchen Copyright: Copyright (C) 2003-2011 Jason Kitchen License: Apache License 2.0, see "/usr/share/common-licenses/Apache-2.0" The Debian packaging is: Copyright (C) 2011 Stefan Denker and is licensed under the Apache License 2.0, see "/usr/share/common-licenses/Apache-2.0". debian/watch0000644000000000000000000000024411640662722010225 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 opts=dversionmangle=s/\+debian$// \ http://sf.net/dumbster/dumbster(.*)-all.zip debian/README.Debian0000644000000000000000000000055511640662722011242 0ustar dumbster for Debian ------------------- * The .jar files resides under /usr/share/java/dumbster.jar. you also need to add gnumail.jar, gnumail-providers.jar and inetlib.jar to your classpath for dumbster to work. Alternativly, you could use oracles javamail project (non-free). -- Stefan Denker Sat, 25 Jun 2011 15:17:08 +0200 debian/README.source0000644000000000000000000000041411640662722011352 0ustar dumbster for Debian ------------------- The dumbster project on sourceforge releases binary and Source together in one package. I've repackaged the source into a tar.gz file. The automated repackaging process can be accessed via "debian/rules get_orig_source" debian/rules0000755000000000000000000000114611640662722010256 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk export DESTDIR=debian/libdumbster-java # Add here any variable or target overrides you need. # Set either a single (JAVA_HOME) or multiple (JAVA_HOME_DIRS) java locations JAVA_HOME = /usr/lib/jvm/default-java/ DEB_JARS := /usr/share/java/ant-junit.jar # override build and clean target DEB_ANT_BUILD_TARGET = compile DEB_ANT_CLEAN_TARGET = clean # i want install and test rules to be run DEB_ANT_INSTALL_TARGET = jar javadoc DEB_ANT_CHECK_TARGET = test get-orig-source: bash debian/get_orig_source.sh debian/source/0000755000000000000000000000000011640662722010474 5ustar debian/source/format0000644000000000000000000000001411640662722011702 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000050511650006740011037 0ustar dumbster (1.6+debian-2) unstable; urgency=low * Change dependency to default-jdk (Closes: #643511) -- Stefan Denker Wed, 28 Sep 2011 19:13:57 +0200 dumbster (1.6+debian-1) unstable; urgency=low * Initial release -- Stefan Denker Sat, 25 Jun 2011 15:17:08 +0200 debian/control0000644000000000000000000000174311640662722010604 0ustar Source: dumbster Section: java Priority: extra Maintainer: Stefan Denker Build-Depends: cdbs, debhelper (>= 7.0.50~) Build-Depends-Indep: default-jdk , libgnumail-java , junit , ant , ant-optional Standards-Version: 3.9.2 Homepage: http://quintanasoft.com/dumbster/ Package: libdumbster-java Architecture: all Depends: ${shlibs:Depends} , ${misc:Depends} , libgnumail-java Suggests: junit Description: very simple fake SMTP Server for testing purposes The Dumbster is a very simple fake SMTP server designed for unit and system testing applications that send email messages. It responds to all standard SMTP commands but does not deliver messages to the user. The messages are stored within the Dumbster for later extraction and verification. . The Dumbster slots itself very easily into your testing strategy. As long as your application talks to an email server using SMTP then the Dumbster can be used to test the application with no code changes debian/docs0000644000000000000000000000007311640662722010047 0ustar notice.txt TEST-com.dumbster.smtp.AllTests.txt version.txt debian/get_orig_source.sh0000644000000000000000000000043711640662722012713 0ustar #!/bin/bash uscan --force-download TEMPDIR=`mktemp -d` mkdir $TEMPDIR/dumbster/ unzip -q -d $TEMPDIR/dumbster/ ../dumbster1.6-all.zip GZIP=-9 tar -C $TEMPDIR --exclude="dumbster/lib*" --exclude="dumbster/dumbster*.jar" -czf ../dumbster_1.6+debian.orig.tar.gz dumbster rm -rf $TEMPDIR debian/dirs0000644000000000000000000000006211640662722010056 0ustar usr/share/java/ usr/share/doc/libdumbster-java/apidebian/patches/0000755000000000000000000000000011640662722010623 5ustar debian/patches/SynchronizeSimpleSmtpServer.diff0000644000000000000000000000106111640662722017173 0ustar --- a/src/com/dumbster/smtp/SimpleSmtpServer.java +++ b/src/com/dumbster/smtp/SimpleSmtpServer.java @@ -252,11 +252,11 @@ public static SimpleSmtpServer start(int port) { SimpleSmtpServer server = new SimpleSmtpServer(port); Thread t = new Thread(server); - t.start(); - // Block until the server socket is created synchronized (server) { + t.start(); try { + // Block until the server socket is created server.wait(); } catch (InterruptedException e) { // Ignore don't care. debian/patches/buildxml.diff0000644000000000000000000000634611640662722013306 0ustar Index: trunk/build.xml =================================================================== --- trunk.orig/build.xml 2011-07-30 14:07:24.000000000 +0200 +++ trunk/build.xml 2011-07-30 14:11:02.000000000 +0200 @@ -20,14 +20,17 @@ + + + - + - + @@ -35,12 +38,24 @@ - - + + + + + + + + + + + + + + @@ -58,7 +73,11 @@ - + + + + + @@ -90,12 +109,16 @@ - + + - + + + + @@ -114,4 +137,4 @@ - \ No newline at end of file + debian/patches/BindProblemTest.diff0000644000000000000000000000074011640662722014513 0ustar --- a/test-src/com/dumbster/smtp/BindProblemTest.java +++ b/test-src/com/dumbster/smtp/BindProblemTest.java @@ -24,6 +24,7 @@ */ public class BindProblemTest extends TestCase { + private static final int SMTP_PORT = 1081; private SimpleSmtpServer server; /** @@ -31,7 +32,7 @@ */ protected void setUp() throws Exception { super.setUp(); - server = SimpleSmtpServer.start(); + server = SimpleSmtpServer.start(SMTP_PORT); } /** debian/patches/series0000644000000000000000000000010411640662722012033 0ustar BindProblemTest.diff SynchronizeSimpleSmtpServer.diff buildxml.diff