Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
wmBiff is a WindowMaker docking utility, that displays the number of
total messages or unread mail messages in differrent mailboxes.
+27
View File
@@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.55 2013/06/06 12:54:42 wiz Exp $
DISTNAME= wmbiff-0.4.26
PKGREVISION= 21
CATEGORIES= mail x11 windowmaker
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wmbiff/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/wmbiff/
COMMENT= WindowMaker xbuffy-like "mail-checker"
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
EX_DIR= ${PREFIX}/share/examples/wmbiff
INSTALLATION_DIRS+= ${EX_DIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/wmbiff/sample.wmbiffrc ${DESTDIR}${EX_DIR}
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/gnutls/libgnutls-config.mk"
.include "../../wm/windowmaker/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+7
View File
@@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:04:45 joerg Exp $
bin/wmbiff
man/man1/wmbiff.1
man/man5/wmbiffrc.5
share/examples/wmbiff/sample.wmbiffrc
share/wmbiff/skins/wmbiff-master-contrast.xpm
share/wmbiff/skins/wmbiff-master-led.xpm
+9
View File
@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.16 2013/01/17 15:55:31 joerg Exp $
SHA1 (wmbiff-0.4.26.tar.gz) = cb2fc49bc741209c22d8a50f0f164e34c4a9332d
RMD160 (wmbiff-0.4.26.tar.gz) = f5ccb17fb6846283cb7cde7996310a65600a8883
Size (wmbiff-0.4.26.tar.gz) = 200237 bytes
SHA1 (patch-aa) = 0a4607f2e5d6d3066d9b9994665b659dfbcc003b
SHA1 (patch-ab) = d84f1c4333d7c192748f5170460563ae7fe0955d
SHA1 (patch-ac) = 338ead6affeec348315c5cedd5cf413e7652abac
SHA1 (patch-wmbiff_gnutls-common.c) = 645e2c2f463d20cf063f4a2ab0c6268daaa0cc85
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.6 2005/09/06 15:49:35 adam Exp $
--- Makefile.in.orig 2004-10-11 00:30:40.000000000 +0000
+++ Makefile.in
@@ -121,7 +121,7 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-SUBDIRS = wmgeneral wmbiff autoconf scripts
+SUBDIRS = wmgeneral wmbiff autoconf
EXTRA_DIST = ChangeLog FAQ README.licq TODO
ACLOCAL_FLAGS = -I autoconf
+35
View File
@@ -0,0 +1,35 @@
$NetBSD: patch-ab,v 1.5 2004/08/27 10:10:22 tron Exp $
--- wmbiff/ShellClient.c.orig 2004-06-18 23:28:16.000000000 +0200
+++ wmbiff/ShellClient.c 2004-08-27 12:03:23.000000000 +0200
@@ -152,6 +152,21 @@
return (strdup_ordie(bigbuffer));
}
+static char *mystrcasestr(const char *big, const char *little)
+{
+ int blen, llen;
+
+ blen = strlen(big);
+ llen = strlen(little);
+ while (blen >= llen) {
+ if (strncasecmp(big, little, llen) == 0)
+ return (char *)big;
+ big++;
+ blen--;
+ }
+ return NULL;
+}
+
int shellCmdCheck(Pop3 pc)
{
int count_status = 0;
@@ -189,7 +204,7 @@
pc->UnreadMsgs = 0;
pc->TotalMsgs = count_status;
}
- } else if (strcasestr(commandOutput, "unable")) {
+ } else if (mystrcasestr(commandOutput, "unable") != NULL) {
return -1;
} else if (sscanf(commandOutput, "%9s\n", pc->TextStatus) == 1) {
/* validate the string input */
+37
View File
@@ -0,0 +1,37 @@
$NetBSD: patch-ac,v 1.8 2013/01/17 15:55:31 joerg Exp $
--- wmbiff/tlsComm.c.orig 2004-10-11 00:29:47.000000000 +0000
+++ wmbiff/tlsComm.c
@@ -385,16 +385,16 @@ int
tls_check_certificate(struct connection_state *scs,
const char *remote_hostname)
{
- int certstat;
+ int verify_ret, certstat;
const gnutls_datum *cert_list;
int cert_list_size = 0;
gnutls_x509_crt cert;
if (gnutls_auth_get_type(scs->tls_state) != GNUTLS_CRD_CERTIFICATE) {
bad_certificate(scs, "Unable to get certificate from peer.\n");
- return; /* bad_cert will exit if -skip-certificate-check was not given */
+ return 0; /* bad_cert will exit if -skip-certificate-check was not given */
}
- certstat = gnutls_certificate_verify_peers(scs->tls_state);
+ verify_ret = gnutls_certificate_verify_peers2(scs->tls_state, &certstat);
if (certstat == GNUTLS_E_NO_CERTIFICATE_FOUND) {
bad_certificate(scs, "server presented no certificate.\n");
#ifdef GNUTLS_CERT_CORRUPTED
@@ -412,10 +412,12 @@ tls_check_certificate(struct connection_
"server's certificate is invalid or not X.509.\n"
"there may be a problem with the certificate stored in your certfile\n");
}
+#ifdef GNUTLS_CERT_NOT_TRUSTED
} else if (certstat & GNUTLS_CERT_NOT_TRUSTED) {
TDM(DEBUG_INFO, "server's certificate is not trusted.\n");
TDM(DEBUG_INFO,
"to verify that a certificate is trusted, use the certfile option.\n");
+#endif
}
if (gnutls_x509_crt_init(&cert) < 0) {
@@ -0,0 +1,42 @@
$NetBSD: patch-wmbiff_gnutls-common.c,v 1.2 2012/07/05 10:30:58 drochner Exp $
Fix build with GnuTLS 3.0.
--- wmbiff/gnutls-common.c.orig 2004-06-23 02:52:42.000000000 +0000
+++ wmbiff/gnutls-common.c
@@ -3,7 +3,6 @@
#include <stdlib.h>
#include <string.h>
#include <gnutls/gnutls.h>
-#include <gnutls/extra.h>
#include <gnutls/x509.h>
#include <gnutls/openpgp.h>
#include <time.h>
@@ -334,8 +333,8 @@ void print_openpgp_info(gnutls_session s
void print_cert_vrfy(gnutls_session session)
{
- int status;
- status = gnutls_certificate_verify_peers(session);
+ int verify_ret, status;
+ verify_ret = gnutls_certificate_verify_peers2(session, &status);
printf("\n");
if (status == GNUTLS_E_NO_CERTIFICATE_FOUND) {
@@ -508,7 +507,6 @@ void print_list(void)
printf("Compression methods:");
printf(" ZLIB");
- printf(", LZO");
printf(", NULL\n");
}
@@ -636,8 +634,6 @@ void parse_comp(char **comp, int ncomp,
comp_priority[j++] = GNUTLS_COMP_NULL;
if (strncasecmp(comp[i], "ZLI", 3) == 0)
comp_priority[j++] = GNUTLS_COMP_ZLIB;
- if (strncasecmp(comp[i], "LZO", 3) == 0)
- comp_priority[j++] = GNUTLS_COMP_LZO;
}
comp_priority[j] = 0;
}