summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-03-05 14:37:09 +0000
committerEray Aslan <eras@gentoo.org>2012-03-05 14:37:09 +0000
commit81f80ea2db319a48b361f2aed6a617bc0fc4d63b (patch)
treec0ec98e80523f8f00d8653365bf4fc0661151f5f /net-analyzer/postal
parentdxr3 unmask, works with v4l2, #350211 (diff)
downloadhistorical-81f80ea2db319a48b361f2aed6a617bc0fc4d63b.tar.gz
historical-81f80ea2db319a48b361f2aed6a617bc0fc4d63b.tar.bz2
historical-81f80ea2db319a48b361f2aed6a617bc0fc4d63b.zip
version bump
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/postal')
-rw-r--r--net-analyzer/postal/ChangeLog10
-rw-r--r--net-analyzer/postal/Manifest33
-rw-r--r--net-analyzer/postal/files/02_postal-0.72-nossl.patch72
-rw-r--r--net-analyzer/postal/postal-0.72.ebuild38
4 files changed, 136 insertions, 17 deletions
diff --git a/net-analyzer/postal/ChangeLog b/net-analyzer/postal/ChangeLog
index be21246b3663..e9a89fdf96e8 100644
--- a/net-analyzer/postal/ChangeLog
+++ b/net-analyzer/postal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/postal
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/postal/ChangeLog,v 1.8 2011/06/08 09:33:51 eras Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/postal/ChangeLog,v 1.9 2012/03/05 14:37:09 eras Exp $
+
+*postal-0.72 (05 Mar 2012)
+
+ 05 Mar 2012; Eray Aslan <eras@gentoo.org> +postal-0.72.ebuild,
+ +files/02_postal-0.72-nossl.patch:
+ version bump
08 Jun 2011; Eray Aslan <eras@gentoo.org> postal-0.70.ebuild,
+files/06_postal-0.70-ldflags.patch:
diff --git a/net-analyzer/postal/Manifest b/net-analyzer/postal/Manifest
index bf72cd015e1a..72695598abec 100644
--- a/net-analyzer/postal/Manifest
+++ b/net-analyzer/postal/Manifest
@@ -3,28 +3,31 @@ Hash: SHA256
AUX 01_postal-0.70-gcc43.patch 268 RMD160 182ea97d399e25c6d7b7521d8d1213d7f3ac7c79 SHA1 4a20c9061b5089ec5e611133c504b8e20cc9bf83 SHA256 6e952639dfbb641f5367daec44c7a38e902b061239e2d5de578333b8b6bfc46a
AUX 02_postal-0.70-nossl.patch 1945 RMD160 e9dd1ff6e8171277f9290debe6c89a931d0f411f SHA1 14d0fa3e3ff39462fe43ca6d0353420afe1f58bf SHA256 47b7b3ae380076504e9bf98df59255a807d5ca3b33895bf9823d4c6e005044c2
+AUX 02_postal-0.72-nossl.patch 1905 RMD160 5bd837d4560233b9848274736222d4b34a44ad32 SHA1 6bafcaa47607444b9b83cabbb85414d0bb1b7a2a SHA256 bd9befe311d72ddf027b1ae2ece4ce33747b8883fe7c86dc244f84f7252369d0
AUX 03_postal-0.70-c++0x-integrated.patch 7118 RMD160 a6e4a5af4033ed9235fe8f2c405128f4523852e0 SHA1 c59d0039cfe8f4c640d3e33e34a67e9787454c0b SHA256 687341a58889402a0681d0630b1a7ef2380129af34a431c5358fe454cb0e37ed
AUX 04_postal-0.70-warnings.patch 445 RMD160 0574ab04ebebbf2ecdf92bb17937212934976ce9 SHA1 dc8a4f0bd1dcd7970799329d2d0a7ad79a5895fa SHA256 369b174bc39454cd6ca854cb05d403a56f739a1ab341a22bd2192a73e43791d1
AUX 05_postal-0.70-openssl-1.patch 529 RMD160 87e0e347aa87c3527fd39022f7aef17954b28a83 SHA1 474a95d108a24b2d74cd0dc6f92d0afafcb41d7e SHA256 552d803986a8adba0f7b88337ba215b41eb0c14a6f61f93e88821dfdb5269b54
AUX 06_postal-0.70-ldflags.patch 1276 RMD160 3f24df8a02c95a2fc73a4a7ca64bc5b3ad67f939 SHA1 f3e0016bece570d05ba08db1e6fe49ae4ca81363 SHA256 63c3ba423c1de13ae3db7d0fa6bd3fb54fc9c1327fe22e9d241febda836a2c60
DIST postal-0.70.tgz 99965 RMD160 2b23ab0d60abfeaad32adf7ba65134d0f267294a SHA1 d02dc900eb645aa993c5747fa434a0af4b0fb7e0 SHA256 ce7f7650fbe1aecc7543dbbdc74e86229c03e14e3534193341ad78dfb8662b42
+DIST postal-0.72.tgz 106720 RMD160 d0823aafb215f4fd3c81d1365d61b039254eb436 SHA1 fd2998ae4caa84836cd49475f719978d99fa7bfe SHA256 70d59adf8ab006a6ea389d8f276a265de743330458f5c1affb97d86bb0663bad
EBUILD postal-0.70.ebuild 1286 RMD160 217f333c7967a4850ac9f3154c2175937368699f SHA1 d9c428f23e033b3ef50bcae7b9c275a8d6171063 SHA256 bf8f2eebfab52c1a40257d8e107bd5e4b74d6d15a9acdce4aaef37644f5f90d7
-MISC ChangeLog 1597 RMD160 8ca69ae20d245686315d77283460d5f76db50b02 SHA1 ce4c70a45f459072bd5f53db9162220e894dc45f SHA256 68d51d80321f7ea3e8e36f4e86d91c53624221d926441ee045e0ca214c441a33
+EBUILD postal-0.72.ebuild 1192 RMD160 e4ea99e5bb5c322dee5e5e521d6ff8bd7a38b786 SHA1 37d69c915f03fcd25615119400ea42d4ea91be59 SHA256 5ab43936d59673b41dae26b94210b5513ad645286e072d96d50d700c774f84bd
+MISC ChangeLog 1743 RMD160 23659af404d1d929079b5376813917b854b0708a SHA1 1368c96223004f8c2c98c4ac993ff702f9d45979 SHA256 cbcb17e4248bc87d37de294fbc83d7d0813525f95dea080f646e76c35a9accf9
MISC metadata.xml 162 RMD160 fd38b82541901b3c6df18b630d79fe7883ae3f01 SHA1 e6aecefcc2137d6047cedfe447686775ab59cb48 SHA256 569031668e39895fb20829fb17a49a91a83e8f41b2195b0f04825c4340d2af6b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iQIbBAEBCAAGBQJN70INAAoJE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FYGMqoq1iKJ2ZcieT/iH8TZThb5/vyDsUHC4WJmmE8bSU729LYsvpfPDEu0AcISM
+KogrQhkFtIREq4ASZXDDELG+JeIhRI/Cm4XIkNoomSy9/1Y7Tj1Dyqvg8Tvk9MsD
+1CXYUWcJ1cVWKDEU6+Mz0FFT27LjTFuTIB8T6uCPP9EYMh4JjR3QI87uWcitTqQc
+jY/yDw5wA3KiIKYZdLr2UMcmPtMW01sWwb3U7UchHjiYlng/I5VIi+YA4C9fzZXX
+qIDNls+gAGVIEPVHT9UKfGAOrsExfKmCrs6NjMsoTIH/jStm9cc4uz+MiFlHyn0O
+2URREnNul6/CzBBaa4AUal3S8jW8xBrWEdjl0wt601Vj4WUNx3tNIAnXouxbSMxV
+Rckfr9P3IJ1jD1m0ifVK
+=zLgR
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/postal/files/02_postal-0.72-nossl.patch b/net-analyzer/postal/files/02_postal-0.72-nossl.patch
new file mode 100644
index 000000000000..238dbdbb783d
--- /dev/null
+++ b/net-analyzer/postal/files/02_postal-0.72-nossl.patch
@@ -0,0 +1,72 @@
+diff -NrU5 postal-0.69.orig/configure.in postal-0.69/configure.in
+--- configure.in 2008-04-09 03:08:28.000000000 +0200
++++ configure.in 2008-04-23 22:37:41.000000000 +0200
+@@ -13,15 +13,28 @@
+ else
+ stripping="-s"
+ fi
+
+ AC_ARG_ENABLE(openssl,
+- [ --disable-openssl disables openssl support],
+- DISABLEOPENSSL=$opensslval, DISABLEOPENSSL=no)
++ [ --disable-openssl disable openssl support],
++ [ if test $enableval = yes; then
++ DISABLEOPENSSL=no
++ else
++ DISABLEOPENSSL=yes
++ fi ]
++ ,
++ [ DISABLEOPENSSL=no ])
++
+ AC_ARG_ENABLE(gnutls,
+- [ --disable-gnutls disables gnutls support],
+- DISABLEGNUTLS=$gnutlsval, DISABLEGNUTLS=no)
++ [ --disable-gnutls disables gnutls support],
++ [if test $enableval = yes; then
++ DISABLEGNUTLS=no
++ else
++ DISABLEGNUTLS=yes
++ fi]
++ ,
++ [ DISABLEGNUTLS=no ])
+
+ dnl Checks for programs.
+ AC_LANG_CPLUSPLUS
+ AC_PROG_CC
+ AC_PROG_CXX
+@@ -118,17 +131,17 @@
+ crypt_ldflags=
+ if [[ "$GNUTLS" = "no" ]]; then
+ gnutls=""
+ else
+ gnutls="#define USE_GNUTLS"
+- crypt_ldflags="$extra_ldflags -lgnutls -lgcrypt"
++ crypt_ldflags=" -lgnutls -lgcrypt"
+ fi
+ if [[ "$OPENSSL" = "no" ]]; then
+ openssl=""
+ else
+ openssl="#define USE_OPENSSL"
+- crypt_ldflags="$extra_ldflags -lssl -lcrypto"
++ crypt_ldflags=" -lssl -lcrypto"
+ fi
+
+ AC_SUBST(large_file)
+ large_file=""
+
+diff -NrU5 postal-0.69.orig/Makefile.in postal-0.69/Makefile.in
+--- Makefile.in 2008-04-10 03:19:34.000000000 +0200
++++ Makefile.in 2008-04-23 22:37:13.000000000 +0200
+@@ -16,11 +16,11 @@
+ INSTALL=@INSTALL@
+
+ TESTEXE=ex-test
+ BASEOBJS=userlist.o thread.o results.o address.o tcp.o cmd5.o mutex.o logit.o expand.o @extra_objs@
+ LFLAGS=-lstdc++ @extra_ldflags@
+-CRYPTLFLAGS=-lstdc++ @crypt_ldflags@
++CRYPTLFLAGS=-lstdc++ @extra_ldflags@ @crypt_ldflags@
+
+
+ ALLOBJS=$(BASEOBJS) smtp.o client.o basictcp.o bhmusers.o smtpserver.o
+
+ postal: postal.cpp $(BASEOBJS) postal.h smtp.o
diff --git a/net-analyzer/postal/postal-0.72.ebuild b/net-analyzer/postal/postal-0.72.ebuild
new file mode 100644
index 000000000000..542f94255fc3
--- /dev/null
+++ b/net-analyzer/postal/postal-0.72.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/postal/postal-0.72.ebuild,v 1.1 2012/03/05 14:37:09 eras Exp $
+
+EAPI=4
+inherit autotools eutils
+
+DESCRIPTION="SMTP and POP mailserver benchmark. Supports SSL, randomized user accounts and more."
+HOMEPAGE="http://www.coker.com.au/postal/"
+SRC_URI="http://www.coker.com.au/postal/${P}.tgz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="ssl gnutls"
+#ssl is an alias for openssl. If both ssl and gnutls are enabled, automagic will
+#enable only gnutls.
+DEPEND="ssl? (
+ !gnutls? ( >=dev-libs/openssl-0.9.8g )
+ gnutls? ( >=net-libs/gnutls-2.2.2 )
+ )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/01_${PN}-0.70-gcc43.patch"
+ epatch "${FILESDIR}/02_${PN}-0.72-nossl.patch"
+ epatch "${FILESDIR}/03_${PN}-0.70-c++0x-integrated.patch"
+ epatch "${FILESDIR}/04_${PN}-0.70-warnings.patch"
+ epatch "${FILESDIR}/05_${PN}-0.70-openssl-1.patch"
+ epatch "${FILESDIR}/06_${PN}-0.70-ldflags.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-stripping \
+ $(use_enable ssl openssl) \
+ $(use_enable gnutls)
+}