pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/benchmarks/postal
Module Name: pkgsrc
Committed By: ktnb
Date: Mon Nov 16 01:14:42 UTC 2026
Modified Files:
pkgsrc/benchmarks/postal: Makefile distinfo
pkgsrc/benchmarks/postal/patches: patch-aa patch-ab patch-bhmusers.h
patch-smtp.h
Log Message:
postal: update to 0.76
(0.76)
* Updated control file to include homepage and git repository.
* #define PATH_MAX if it's not already defined, for HURD.
(0.75)
* Fix some compiler warnings.
* Stop autoconf controlling stripping.
(0.74)
* Add -b option to bind to an address to bhm
* Add changes from NMU and use Debhelper compat level 9.
* Fix buffer underrun.
* Made it build with GCC-6.
(0.73)
* Do not #include <gcrypt.h> when unnecessary.
* Stop linking against libgcrypt.
* Build against GnuTLS v3.
* Make postal correctly issue the quit command after delivery
failure.
* Fixed a bunch of valgrind errors.
* Fixed a nasty bug with tab separated fields.
(0.72)
* Make LMTP work.
* Accept a tab as a field delimiter for the user-list file.
(0.71)
* Made rabid get the password right when -u is used.
* Made rabid correctly check for the '.' at the end of the results
of the list command.
* Made all the programs correctly handle a userlist that has empty
lines.
* Use the -lgcrypt option when using gcrypt.
* Only call gcry_control() if GNUTLS_VERSION_NUMBER <= 0x020b00
* Ignore blank lines in user list.
* Add subject, date, and msgid to the md5sum in the client.
* Stop using gnutls_kx_set_priority()
* Rewrote a lot of the md5 checking code, now the md5 hash is
stored in a header. It should work now.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/benchmarks/postal/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/benchmarks/postal/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/benchmarks/postal/patches/patch-aa \
pkgsrc/benchmarks/postal/patches/patch-ab
cvs rdiff -u -r1.1 -r1.2 pkgsrc/benchmarks/postal/patches/patch-bhmusers.h \
pkgsrc/benchmarks/postal/patches/patch-smtp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/benchmarks/postal/Makefile
diff -u pkgsrc/benchmarks/postal/Makefile:1.27 pkgsrc/benchmarks/postal/Makefile:1.28
--- pkgsrc/benchmarks/postal/Makefile:1.27 Fri May 16 20:15:39 2025
+++ pkgsrc/benchmarks/postal/Makefile Mon Nov 16 01:14:42 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2025/05/16 20:15:39 zafer Exp $
+# $NetBSD: Makefile,v 1.28 2026/11/16 01:14:42 ktnb Exp $
-DISTNAME= postal-0.70
-PKGREVISION= 6
+DISTNAME= postal-0.76
CATEGORIES= benchmarks
MASTER_SITES= https://www.coker.com.au/postal/
EXTRACT_SUFX= .tgz
Index: pkgsrc/benchmarks/postal/distinfo
diff -u pkgsrc/benchmarks/postal/distinfo:1.12 pkgsrc/benchmarks/postal/distinfo:1.13
--- pkgsrc/benchmarks/postal/distinfo:1.12 Tue Oct 26 10:02:55 2021
+++ pkgsrc/benchmarks/postal/distinfo Mon Nov 16 01:14:42 2026
@@ -1,17 +1,17 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 10:02:55 nia Exp $
+$NetBSD: distinfo,v 1.13 2026/11/16 01:14:42 ktnb Exp $
-BLAKE2s (postal-0.70.tgz) = b0e6594efa3c659dc65ca66595af57d84537e30598d5e090f0db801c31c40055
-SHA512 (postal-0.70.tgz) = 81356d32e56559a267994c2a18fa7b83c04556423f650404aeb7a8ce3d43d9fbd036b0fa545bccdc8caff8b375f95707031858046f4f99242f4cb23c7809bdb5
-Size (postal-0.70.tgz) = 99965 bytes
+BLAKE2s (postal-0.76.tgz) = 090b352862c3c558ea0cb3db837e37872e044f7565b14880f4eff5721d977eb9
+SHA512 (postal-0.76.tgz) = d47ea765e0cc6efdab1335d2dc71536dc68b6f411447c78500ace3f4deab2d01cfe3f91dbe47aadbd0b2f98d47f6d410dad8bc43096909acab3d2da719d16bb5
+Size (postal-0.76.tgz) = 100260 bytes
SHA1 (patch-Makefile.in) = 45f7357ff4407033818599a76b9c929b6c09b127
-SHA1 (patch-aa) = 0d85ec46202e0077d7f435547158eff65eab8a69
-SHA1 (patch-ab) = 38ed0b1ad550b31e8d46639e43b243e0e2b99cf5
+SHA1 (patch-aa) = 914a3730c0f60861253a53845a11ac4d817c5ea5
+SHA1 (patch-ab) = 2ad728bfdcbc796bb0a88f4baef395ad059018ad
SHA1 (patch-ad) = 3707f465c6a69c94fd862fb7863a3c8cb6519366
SHA1 (patch-ae) = 094165c454fb87c9cbacfae6e9ab2bb38f4d15a2
SHA1 (patch-af) = ce387f94ff18a9a6b67dfe5a07740cc8340e6cfb
SHA1 (patch-basictcp.cpp) = fb29a5b4ae0a59681a28ca96cdc52a632a2f1b29
SHA1 (patch-bhmusers.cpp) = 4cdbb026eb8da5bc42aae304e35869542e19ac60
-SHA1 (patch-bhmusers.h) = 430fdea85b33a331442b67d988b203715171dcad
+SHA1 (patch-bhmusers.h) = 82666bdcc6eec63a0b8e1e8705900a15fb318f75
SHA1 (patch-smtp.cpp) = a91db5779f1ef8cf6d514c1304d20d01a4548772
-SHA1 (patch-smtp.h) = 876ece300ee53085b61bb1d16efffa907e733a43
+SHA1 (patch-smtp.h) = f5fb2dde72b0202ef518f10d759cb295a9a3e58a
SHA1 (patch-tcp.cpp) = 6a41a7629607d0238d85bf754b3eb59c407d2757
Index: pkgsrc/benchmarks/postal/patches/patch-aa
diff -u pkgsrc/benchmarks/postal/patches/patch-aa:1.3 pkgsrc/benchmarks/postal/patches/patch-aa:1.4
--- pkgsrc/benchmarks/postal/patches/patch-aa:1.3 Thu May 23 14:59:13 2013
+++ pkgsrc/benchmarks/postal/patches/patch-aa Mon Nov 16 01:14:42 2026
@@ -1,16 +1,17 @@
-$NetBSD: patch-aa,v 1.3 2013/05/23 14:59:13 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2026/11/16 01:14:42 ktnb Exp $
---- postal.cpp.orig 2007-01-14 04:40:23.000000000 +0000
+--- postal.cpp.orig 2014-08-18 17:24:20.000000000 +0000
+++ postal.cpp
-@@ -10,12 +10,22 @@
+@@ -10,6 +10,7 @@
#include <stdio.h>
#include "postal.h"
#include "logit.h"
+#include <cstdlib>
#ifdef USE_GNUTLS
#include <errno.h>
- #include <gcrypt.h>
- GCRY_THREAD_OPTION_PTHREAD_IMPL;
+ #if GNUTLS_VERSION_NUMBER <= 0x020b00
+@@ -18,6 +19,16 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
+ #endif /* GNUTLS_VERSION_NUMBER */
#endif
+#ifdef __NetBSD__
@@ -22,11 +23,12 @@ $NetBSD: patch-aa,v 1.3 2013/05/23 14:59
+# define HAVE_STRUCT_SIGACTION_SA_SIGACTION
+#endif
+
++
void usage()
{
printf("Usage: postal [-m maximum-message-size] [-M minimum-message-size] [-t threads]\n"
-@@ -152,7 +162,9 @@ int main(int argc, char **argv)
- struct sigaction sa;
+@@ -161,7 +172,9 @@ int main(int argc, char **argv)
+ memset(&sa, 0, sizeof(sa));
sa.sa_sigaction = NULL;
sa.sa_handler = SIG_IGN;
+#ifdef HAVE_STRUCT_SIGACTION_SA_SIGACTION
Index: pkgsrc/benchmarks/postal/patches/patch-ab
diff -u pkgsrc/benchmarks/postal/patches/patch-ab:1.3 pkgsrc/benchmarks/postal/patches/patch-ab:1.4
--- pkgsrc/benchmarks/postal/patches/patch-ab:1.3 Thu May 23 14:59:13 2013
+++ pkgsrc/benchmarks/postal/patches/patch-ab Mon Nov 16 01:14:42 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-ab,v 1.3 2013/05/23 14:59:13 joerg Exp $
+$NetBSD: patch-ab,v 1.4 2026/11/16 01:14:42 ktnb Exp $
---- rabid.cpp.orig 2008-05-26 11:40:30.000000000 +0200
-+++ rabid.cpp 2011-11-24 01:18:38.758256000 +0100
-@@ -18,6 +18,15 @@
- GCRY_THREAD_OPTION_PTHREAD_IMPL;
+--- rabid.cpp.orig 2014-08-18 17:24:20.000000000 +0000
++++ rabid.cpp
+@@ -21,6 +21,16 @@ GCRY_THREAD_OPTION_PTHREAD_IMPL;
#endif
+ #include <cstring>
+#ifdef __NetBSD__
+# include <sys/param.h>
@@ -15,13 +15,14 @@ $NetBSD: patch-ab,v 1.3 2013/05/23 14:59
+# define HAVE_STRUCT_SIGACTION_SA_SIGACTION
+#endif
+
++
void usage()
{
printf("Usage: rabid [-r max-connections-per-minute] [-p processes] [-l local-address]\n"
-@@ -138,7 +147,9 @@
- UserList ul(argv[optind + 1], true, strip_domain);
+@@ -144,7 +154,9 @@ int main(int argc, char **argv)
struct sigaction sa;
+ memset(&sa, 0, sizeof(sa));
+#ifdef HAVE_STRUCT_SIGACTION_SA_SIGACTION
sa.sa_sigaction = NULL;
+#endif
Index: pkgsrc/benchmarks/postal/patches/patch-bhmusers.h
diff -u pkgsrc/benchmarks/postal/patches/patch-bhmusers.h:1.1 pkgsrc/benchmarks/postal/patches/patch-bhmusers.h:1.2
--- pkgsrc/benchmarks/postal/patches/patch-bhmusers.h:1.1 Thu May 23 14:59:13 2013
+++ pkgsrc/benchmarks/postal/patches/patch-bhmusers.h Mon Nov 16 01:14:42 2026
@@ -1,27 +1,13 @@
-$NetBSD: patch-bhmusers.h,v 1.1 2013/05/23 14:59:13 joerg Exp $
+$NetBSD: patch-bhmusers.h,v 1.2 2026/11/16 01:14:42 ktnb Exp $
---- bhmusers.h.orig 2013-05-23 13:33:27.000000000 +0000
+--- bhmusers.h.orig 2026-11-16 01:08:36.675089835 +0000
+++ bhmusers.h
-@@ -7,10 +7,12 @@ using namespace std;
- #include "conf.h"
+@@ -18,7 +18,7 @@ typedef struct
+ int sync_time;
+ } BHM_DATA;
- #ifdef HAVE_EXT_HASH_MAP
--using namespace __gnu_cxx;
- #include <ext/hash_map>
-+using namespace __gnu_cxx;
-+#define HASH_NS __gnu_cxx
- #else
- #include <hash_map.h>
-+#define HASH_NS std
- #endif
-
- #include "postal.h"
-@@ -34,7 +36,7 @@ namespace __gnu_cxx
- };
- }
-
--typedef hash_map<string, BHM_DATA , hash<string> > NAME_MAP;
-+typedef hash_map<string, BHM_DATA , HASH_NS::hash<string> > NAME_MAP;
+-typedef std::tr1::unordered_map<string, BHM_DATA, hash<string> > NAME_MAP;
++typedef std::tr1::unordered_map<string, BHM_DATA, std::tr1::hash<string> > NAME_MAP;
class BHMUsers
{
Index: pkgsrc/benchmarks/postal/patches/patch-smtp.h
diff -u pkgsrc/benchmarks/postal/patches/patch-smtp.h:1.1 pkgsrc/benchmarks/postal/patches/patch-smtp.h:1.2
--- pkgsrc/benchmarks/postal/patches/patch-smtp.h:1.1 Thu May 23 14:59:13 2013
+++ pkgsrc/benchmarks/postal/patches/patch-smtp.h Mon Nov 16 01:14:42 2026
@@ -1,27 +1,13 @@
-$NetBSD: patch-smtp.h,v 1.1 2013/05/23 14:59:13 joerg Exp $
+$NetBSD: patch-smtp.h,v 1.2 2026/11/16 01:14:42 ktnb Exp $
---- smtp.h.orig 2013-05-23 13:31:35.000000000 +0000
+--- smtp.h.orig 2026-11-16 01:08:10.411213218 +0000
+++ smtp.h
-@@ -7,10 +7,12 @@ using namespace std;
- #include <time.h>
- #include "conf.h"
- #ifdef HAVE_EXT_HASH_MAP
--using namespace __gnu_cxx;
- #include <ext/hash_map>
-+using namespace __gnu_cxx;
-+#define HASH_NS __gnu_cxx
- #else
- #include <hash_map.h>
-+#define HASH_NS std
- #endif
- #include "tcp.h"
- #include "mutex.h"
-@@ -30,7 +32,7 @@ struct eqlng
+@@ -25,7 +25,7 @@ struct eqlng
}
};
--typedef hash_map<unsigned long, string *, hash<unsigned long>, eqlng> NAME_MAP;
-+typedef hash_map<unsigned long, string *, HASH_NS::hash<unsigned long>, eqlng> NAME_MAP;
+-typedef std::tr1::unordered_map<unsigned long, string *, hash<unsigned long>, eqlng> NAME_MAP;
++typedef std::tr1::unordered_map<unsigned long, string *, std::tr1::hash<unsigned long>, eqlng> NAME_MAP;
class smtpData
{
Home |
Main Index |
Thread Index |
Old Index