diff options
author | tron <tron@pkgsrc.org> | 2003-01-31 12:57:07 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2003-01-31 12:57:07 +0000 |
commit | 0536f2aed62ac7763c8df94fc12b04b918ce234b (patch) | |
tree | f48638f599c5e4a8716b19012658a63786646bb0 /mail/wmbiff/patches | |
parent | 64e8e0c656188faa89ec4088798af15b78fe85f8 (diff) | |
download | pkgsrc-0536f2aed62ac7763c8df94fc12b04b918ce234b.tar.gz |
Update "wmbiff" package to version 0.4.13. This version fix numerous
bugs discovered this version 0.3.1 and adds many features like e.g.
IPv6 support.
Diffstat (limited to 'mail/wmbiff/patches')
-rw-r--r-- | mail/wmbiff/patches/patch-aa | 82 | ||||
-rw-r--r-- | mail/wmbiff/patches/patch-ab | 42 |
2 files changed, 34 insertions, 90 deletions
diff --git a/mail/wmbiff/patches/patch-aa b/mail/wmbiff/patches/patch-aa index 6ddb0913b2b..62632481a2e 100644 --- a/mail/wmbiff/patches/patch-aa +++ b/mail/wmbiff/patches/patch-aa @@ -1,71 +1,13 @@ -$NetBSD: patch-aa,v 1.4 2001/11/14 08:14:59 tron Exp $ +$NetBSD: patch-aa,v 1.5 2003/01/31 12:57:08 tron Exp $ ---- Makefile.orig Sun Jun 24 20:31:25 2001 -+++ Makefile Thu Nov 1 12:35:28 2001 -@@ -2,16 +2,18 @@ - WMBIFF_VERSION="0.3.1" - DESTDIR= --prefix=/usr/local -+prefix=${PREFIX} - bindir=${prefix}/bin --mandir=${prefix}/share/man -+mandir=${prefix}/man -+datadir=${prefix}/share/examples/wmbiff -+ - CONF=/etc - - CC = gcc --LIBDIR = -L/usr/X11R6/lib -+LIBDIR = -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib - LIBS = -lXpm -lXext -lX11 --CFLAGS = -O2 -Wall - #CFLAGS = -g -Wall -pedantic -- -+#CFLAGS += -Wall -I${PREFIX}/include -I${X11BASE}/include -+CFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include - EXTRAFLAGS = -DWMBIFF_VERSION='$(WMBIFF_VERSION)' - #EXTRAFLAGS += -DDEBUG_POP3 -DDEBUG_IMAP4 -DDEBUG_LICQ \ - # -DDEBUG_MBOX -DDEBUG_MAILDIR -DDEBUG -DDEBUG_MAIL_COUNT -@@ -24,14 +26,8 @@ - ../wmgeneral/list.o \ - charutil.o - --INSTALL = /usr/bin/install --INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 --INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 --INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 -- -- - .c.o: -- $(CC) $(CFLAGS) $(EXTRAFLAGS) -c $< -o $*.o -+ ${CC} ${CFLAGS} $(EXTRAFLAGS) -c $< -o $*.o - - all: wmbiff-master.xpm wmbiff - -@@ -39,7 +35,7 @@ - ln -s wmbiff-master-led.xpm wmbiff-master.xpm - - wmbiff: $(OBJS) -- $(CC) $(CFLAGS) $(EXTRAFLAGS) -o wmbiff -lX11 -lnsl $^ $(LIBDIR) $(LIBS) -+ $(CC) ${CFLAGS} ${LDFLAGS} $(EXTRAFLAGS) -o wmbiff -lX11 $^ $(LIBDIR) $(LIBS) - - clean: - for i in $(OBJS) ; do \ -@@ -50,12 +46,11 @@ - distclean: clean - - install: wmbiff -- $(INSTALL_DIR) $(DESTDIR)$(bindir) -- $(INSTALL_DIR) $(DESTDIR)$(mandir)/man1 -- $(INSTALL_DIR) $(DESTDIR)$(mandir)/man5 -- $(INSTALL_PROGRAM) wmbiff $(DESTDIR)$(bindir) -- $(INSTALL_FILE) wmbiff.1 $(DESTDIR)$(mandir)/man1 -- $(INSTALL_FILE) wmbiffrc.5 $(DESTDIR)$(mandir)/man5 -+ ${BSD_INSTALL_PROGRAM} wmbiff $(DESTDIR)$(bindir) -+ ${BSD_INSTALL_MAN} wmbiff.1 $(DESTDIR)$(mandir)/man1 -+ ${BSD_INSTALL_MAN} wmbiffrc.5 $(DESTDIR)$(mandir)/man5 -+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)/$(datadir) -+ ${BSD_INSTALL_DATA} sample.wmbiffrc $(DESTDIR)$(datadir)/ - - # CODING STYLE AND INDENTATION [2001-Mar-12]: - # +--- Makefile.in.orig Sat Jan 25 05:31:04 2003 ++++ Makefile.in Thu Jan 30 13:39:32 2003 +@@ -120,7 +120,7 @@ + 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 diff --git a/mail/wmbiff/patches/patch-ab b/mail/wmbiff/patches/patch-ab index 57720638ac7..069f25fc3a4 100644 --- a/mail/wmbiff/patches/patch-ab +++ b/mail/wmbiff/patches/patch-ab @@ -1,28 +1,30 @@ -$NetBSD: patch-ab,v 1.2 2001/07/04 19:04:16 magick Exp $ +$NetBSD: patch-ab,v 1.3 2003/01/31 12:57:08 tron Exp $ ---- wmbiff.c.orig Sun Jun 24 20:31:25 2001 -+++ wmbiff.c -@@ -18,6 +18,10 @@ - #include <X11/Xlib.h> - #include <X11/xpm.h> +--- wmbiff/wmbiff.c.orig Sat Jan 25 07:02:17 2003 ++++ wmbiff/wmbiff.c Thu Jan 30 13:30:38 2003 +@@ -24,6 +24,14 @@ + #include <errno.h> + #include <string.h> -+#ifdef __NetBSD__ ++#if defined(FreeBSD) || defined(__NetBSD__) || defined(__OpenBSD__) +#include <paths.h> +#endif + ++#ifndef _PATH_MAILDIR ++#define _PATH_MAILDIR "/var/mail" ++#endif ++ #include "../wmgeneral/wmgeneral.h" #include "../wmgeneral/misc.h" -@@ -77,7 +81,12 @@ - if ((m = getenv("MAIL")) != NULL) { - strcpy(mbox[0].path, m); - } else if ((m = getenv("USER")) != NULL) { -+#ifdef _PATH_MAILDIR -+ strcpy(mbox[0].path, _PATH_MAILDIR "/"); -+#else -+ - strcpy(mbox[0].path, "/var/mail/"); -+#endif - strcat(mbox[0].path, m); - } - +@@ -363,8 +371,8 @@ + strcpy(mbox[0].path, m); + } else if ((m = getenv("USER")) != NULL) { + /* we are using MAIL environment var. type mbox */ +- DMA(DEBUG_INFO, "Using /var/mail/%s.\n", m); +- strcpy(mbox[0].path, "/var/mail/"); ++ DMA(DEBUG_INFO, "Using " _PATH_MAILDIR "/%s.\n", m); ++ strcpy(mbox[0].path, _PATH_MAILDIR); + strcat(mbox[0].path, m); + } else { + DMA(DEBUG_ERROR, "Cannot open config file '%s' nor use the " |