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
+12
View File
@@ -0,0 +1,12 @@
XFMail is X11 application for receiving electronic mail. It was created
using XForms library toolkit by T.C. Zhao and Mark Overmars.
It's partially compatible with MH style mail- boxes but it does not
require any mh tools to be installed on the system. You can read most of
your MH folders and messages with XFMail.
XFMail has very friendly user interface and it's extremely easy in use. It
implements most of the mail functionality in one program and it does
not require any additional tools.
It makes use of the faces libraries, showing the faces when available.
+32
View File
@@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.54 2013/01/26 21:38:09 adam Exp $
DISTNAME= xfmail-1.5.5
PKGREVISION= 7
CATEGORIES= mail x11
MASTER_SITES= ftp://xfmail.ufies.org/pub/xfmail/release/1.5.5/source/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xfmail.slappy.org/
COMMENT= Xforms based mail application for Unix operating systems
#LICENSE= gpl-gnu-v2
# A few files are.
#LICENSE+= mit-license
USE_X11BASE= YES
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= YES
INSTALLATION_DIRS+= share/doc/xfmail
post-install:
${INSTALL_DATA} ${WRKSRC}/Copyright ${DESTDIR}${PREFIX}/share/doc/xfmail
.include "../../databases/gdbm/buildlink3.mk"
.include "../../devel/glib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/xforms/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+37
View File
@@ -0,0 +1,37 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:04:45 joerg Exp $
share/xfmail/abook.xpm
share/xfmail/abort.xpm
share/xfmail/attach.xpm
share/xfmail/delete.xpm
share/xfmail/delsign.xpm
share/xfmail/edit.xpm
share/xfmail/exit.xpm
share/xfmail/forward.xpm
share/xfmail/gena.xpm
share/xfmail/help.xpm
share/xfmail/icon_mail.xpm
share/xfmail/icon_nomail.xpm
share/xfmail/insert.xpm
share/xfmail/insorig.xpm
share/xfmail/mail_edit.xpm
share/xfmail/mailcur.xbm
share/xfmail/mailcur_mask.xbm
share/xfmail/move.xpm
share/xfmail/newmail.xpm
share/xfmail/next.xpm
share/xfmail/nextu.xpm
share/xfmail/prev.xpm
share/xfmail/prevu.xpm
share/xfmail/print.xpm
share/xfmail/reply.xpm
share/xfmail/retr.xpm
share/xfmail/save.xpm
share/xfmail/send.xpm
share/xfmail/sign.xpm
share/xfmail/spell.xpm
share/xfmail/view.xpm
share/doc/xfmail/Copyright
man/man1/xfmail.1
lib/libeditor.la
lib/libmail.la
bin/xfmail
+11
View File
@@ -0,0 +1,11 @@
$NetBSD: distinfo,v 1.12 2013/04/29 21:23:24 joerg Exp $
SHA1 (xfmail-1.5.5.tar.bz2) = 7a98486d1f8cce956efaf37d9540369d5f327401
RMD160 (xfmail-1.5.5.tar.bz2) = bf3e866d6fa37b7b9959c532b1f4b82fb57eb307
Size (xfmail-1.5.5.tar.bz2) = 1185913 bytes
SHA1 (patch-aa) = 678f14ddf5a9360d82fc09cbc296620fe8c66125
SHA1 (patch-ab) = ca52f1038f190a310d7d3d5f1dece187a2958ce8
SHA1 (patch-ac) = f04aad8c7d44183cf16743c31c1779b42da500a1
SHA1 (patch-ad) = 91d92fb76b5ecf9c07295b942a34628ce212ae3d
SHA1 (patch-ae) = 8d1d16f62511b78fc20c47e78eebc83dd8feac8d
SHA1 (patch-src_mail_fmail.cpp) = c9e476c93c3ec1a94cb284fa4c5c662c15060729
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.6 2006/02/26 13:44:18 joerg Exp $
--- src/mail/fmail.h.orig 2004-01-02 03:54:01.000000000 +0000
+++ src/mail/fmail.h
@@ -170,7 +170,7 @@ char *strchr (), *strrchr ();
#define sys_nerr 65535
#else
#ifndef sys_nerr
- #ifndef __FreeBSD__
+ #if !defined (__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__)
extern int sys_nerr;
#endif
#endif
+25
View File
@@ -0,0 +1,25 @@
$NetBSD: patch-ab,v 1.6 2011/12/05 22:49:47 joerg Exp $
--- src/mail/addrbookdb.cpp.orig 2004-01-02 03:54:01.000000000 +0000
+++ src/mail/addrbookdb.cpp
@@ -33,6 +33,8 @@ using namespace std;
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
+#include <limits.h>
+#include <string.h>
#include "config.h"
#if HAVE_DIRENT_H
@@ -174,7 +176,11 @@ AddressBookDB::Load(const char *configdi
dir = opendir(configdir);
if (dir == NULL)
return false;
+#ifdef HAVE_READDIR_R
while (readdir_r(dir, &entry, &result) == 0 && result != NULL) {
+#else
+ while ( (result = readdir(dir)) != NULL) {
+#endif
if (NAMLEN(result) > 8 && strncmp(result->d_name, ".xfbook.", 8) == 0) {
strncpy(buf, result->d_name, NAMLEN(result));
buf[NAMLEN(result)] = '\0';
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.5 2005/03/16 16:17:42 rillig Exp $
--- configure.orig Sun Jan 18 19:01:45 2004
+++ configure Wed Mar 16 16:52:31 2005
@@ -27214,7 +27214,7 @@ done
-for ac_func in regcomp madvise vsnprintf snprintf flock lockf strchr memcpy memmove strtoul strerror sysconf sys_nerr utimes setlocale unsetenv
+for ac_func in regcomp madvise vsnprintf snprintf flock lockf strchr memcpy memmove strtoul strerror sysconf sys_nerr utimes setlocale unsetenv readdir_r
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.7 2005/03/16 16:17:42 rillig Exp $
--- src/include/config.h.in.orig Sun Jan 18 19:01:41 2004
+++ src/include/config.h.in Wed Mar 16 16:59:26 2005
@@ -115,6 +115,8 @@
/* Define to 1 if you have the `RAND_status' function. */
#undef HAVE_RAND_STATUS
+#undef HAVE_READDIR_R
+
/* Define to 1 if you have the `regcomp' function. */
#undef HAVE_REGCOMP
+22
View File
@@ -0,0 +1,22 @@
$NetBSD: patch-ae,v 1.3 2006/10/23 07:47:15 rillig Exp $
--- contrib/misc/build.sh.in.orig 2001-02-05 21:49:26.000000000 +0100
+++ contrib/misc/build.sh.in 2006-10-23 09:40:03.000000000 +0200
@@ -65,7 +65,7 @@ then
ERR=1
fi
-if [ "$ERR" == "1" ]
+if [ "$ERR" = "1" ]
then
echo "Exitting..."
exit
@@ -85,7 +85,7 @@ cd ..
$TAR cvvf $TEMPDIR/$NAME-$VERSION.tar $NAME
$GZIP $TEMPDIR/$NAME-$VERSION.tar
-echo "#!/bin/bash" > $TEMPDIR/$EXE
+echo "#!/bin/sh" > $TEMPDIR/$EXE
echo >> $TEMPDIR/$EXE
echo "cat > $NAME-$VERSION.uuencoded <<'REAL_EOF'" >> $TEMPDIR/$EXE
$UUENCODE $TEMPDIR/$NAME-$VERSION.tar.gz $NAME-$VERSION.tar.gz >>$TEMPDIR/$EXE
@@ -0,0 +1,38 @@
$NetBSD: patch-src_mail_fmail.cpp,v 1.1 2013/04/29 21:23:24 joerg Exp $
--- src/mail/fmail.cpp.orig 2013-04-29 19:31:08.000000000 +0000
+++ src/mail/fmail.cpp
@@ -1686,7 +1686,7 @@ compare_msgs(struct _mail_msg **msg1, st
}
unsigned long
-hash(const char *name) {
+my_hash(const char *name) {
unsigned long key = 0;
unsigned char c;
@@ -1791,7 +1791,7 @@ sort_folder(struct _mail_folder *folder)
if(m_id &&
((s = strchr(m_id->f_line,'<')) != NULL)) {
- unsigned long key = hash(s) % htsize;
+ unsigned long key = my_hash(s) % htsize;
make_entry(ht, key, htsize, s, msg);
}
msg->ref = NULL;
@@ -1808,13 +1808,13 @@ sort_folder(struct _mail_folder *folder)
ref=NULL;
m_id = find_field(msg,"In-Reply-To");
if(m_id && (s=strrchr(m_id->f_line,'<'))) {
- key = hash(s) % htsize;
+ key = my_hash(s) % htsize;
ref = find_entry(ht, key, htsize, s);
}
if(!ref) {
m_id=find_field(msg,"References");
if(m_id && (s=strrchr(m_id->f_line,'<'))) {
- key = hash(s) % htsize;
+ key = my_hash(s) % htsize;
ref = find_entry(ht, key, htsize, s);
}
}