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

7
mail/coolmail/DESCR Normal file
View File

@@ -0,0 +1,7 @@
Coolmail is like xbiff -- it watches your inbox mail file
and lets you know when you have mail. But unlike xbiff, it can launch
your favorite mail utility when you click on it, and it has cool
animated 3D graphics.
Please send bug reports and suggestions to me, Byron C. Darrah,
darrah@kaiwan.com. If that address bounces, try bdarr@sed.hac.com.

25
mail/coolmail/Makefile Normal file
View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.17 2012/10/08 12:19:06 asau Exp $
DISTNAME= coolmail-1.3
PKGREVISION= 3
CATEGORIES= mail x11
MASTER_SITES= ${MASTER_SITE_SUNSITE:=system/mail/biffs/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Xbiff replacement with 3D animation and sound
OPSYSVARS+= EXTRA_LIBS
EXTRA_LIBS.Interix= -lSM
MAKE_ENV+= EXTRA_LIBS=${EXTRA_LIBS:Q}
MAKE_ENV+= X11BASE=${PREFIX:Q}
INSTALLATION_DIRS= bin lib/X11/app-defaults ${PKGMANDIR}/man1
post-install:
${INSTALL_DATA} ${WRKSRC}/Coolmail.ad \
${DESTDIR}${PREFIX}/lib/X11/app-defaults/Coolmail
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

4
mail/coolmail/PLIST Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:59:41 zuntum Exp $
bin/coolmail
lib/X11/app-defaults/Coolmail
man/man1/coolmail.1

8
mail/coolmail/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.8 2012/06/23 21:45:24 dholland Exp $
SHA1 (coolmail-1.3.tgz) = 7b8dccf16f575827a595f1025294dfc66f00a6dc
RMD160 (coolmail-1.3.tgz) = e23a8e8a465d700163393e70ebed60870ddcbc95
Size (coolmail-1.3.tgz) = 26809 bytes
SHA1 (patch-aa) = dd16e3150674a92f4ad43270d523bbc1f5b5eb16
SHA1 (patch-ab) = 5734f1f7e57f59db437996c192b98c24b4356009
SHA1 (patch-ac) = 1054bda16101047024e2f6811034cfdc4d340a66

View File

@@ -0,0 +1,29 @@
$NetBSD: patch-aa,v 1.6 2010/02/04 01:48:01 joerg Exp $
--- Makefile.orig Thu Jan 11 10:55:40 1996
+++ Makefile Thu Jul 16 05:07:04 1998
@@ -26,6 +26,6 @@
LINK = $(CC)
-INCLUDES = -I/usr/X11R5/include
-LIB_DIRS = -L/usr/X11R5/lib
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man/man1
+INCLUDES = -I$(X11BASE)/include
+LIB_DIRS = -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib
+BINDIR = ${DESTDIR}$(PREFIX)/bin
+MANDIR = ${DESTDIR}$(PREFIX)/${PKGMANDIR}/man1
@@ -33,4 +33,6 @@
# feature.
-AUDIO = -DAUDIO
-AUDIO_MODULE = audio.o
+# Note. Audio works. I have no soundcards at present though, so I cannot
+# test it appropriately.
+#AUDIO = -DAUDIO
+#AUDIO_MODULE = audio.o
@@ -38,3 +40,3 @@
-LIBS = $(LIB_DIRS) -lXt -lX11 -lm -lXext
+LIBS = $(LIB_DIRS) -lXt -lX11 -lm -lXext $(EXTRA_LIBS)
COPTS = $(CFLAGS) $(AUDIO)

View File

@@ -0,0 +1,43 @@
$NetBSD: patch-ab,v 1.3 2012/06/23 21:45:24 dholland Exp $
- use standard headers
- use /var/mail as the default mail dir (XXX: shouldn't this be fed in
from pkgsrc somewhere?)
- use getlogin(), not cuserid().
--- coolmail.c.orig 1996-01-11 17:57:24.000000000 +0000
+++ coolmail.c
@@ -18,6 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <math.h>
#include <assert.h>
#include <signal.h>
@@ -34,7 +35,7 @@
#include "render1.h"
#include "mailbox.h"
-#define DEFAULT_MAIL_DIR "/var/spool/mail/"
+#define DEFAULT_MAIL_DIR "/var/mail/"
#define DEFAULT_COMMAND "xterm -n Elm -e mail\0"
#define DEFAULT_INTERVAL 30
#define DEFAULT_FRAMES 15
@@ -96,7 +97,6 @@ void cool_usage(void);
int main(int argc, char *argv[])
{
int reason;
- char username[L_cuserid];
/* Quickly scan for the -h option -- if it is present don't do anything
* but print out some help and exit. */
@@ -104,7 +104,7 @@ int main(int argc, char *argv[])
return(0);
/* Get the username and use it to create a default mailfile name */
- strcat(mailfile_str, cuserid(username));
+ strcat(mailfile_str, getlogin());
/* Initialize the renderer */
rend_init(&argc, argv, (float)150.0);

View File

@@ -0,0 +1,24 @@
$NetBSD: patch-ac,v 1.1 2005/10/22 17:56:31 rillig Exp $
The IRIX C compiler does not allow non-constant initializers for struct
members.
--- system/X11/display_list.c.orig Thu Jan 11 19:14:30 1996
+++ system/X11/display_list.c Sat Oct 22 19:49:39 2005
@@ -149,7 +149,7 @@ void disp_config(void)
XtResource mailfile = {"inbox", "Inbox", XtRString,
sizeof(str), 0, XtRString, mailfile_str};
XtResource monoflag = {"monochrome", "Monochrome", XtRBoolean,
- sizeof(mono), 0, XtRBoolean, &mono};
+ sizeof(mono), 0, XtRBoolean, NULL};
XtResource frmcount = {"frameCount", "FrameCount", XtRInt,
sizeof(frames), 0, XtRInt, &frames};
@@ -164,6 +164,7 @@ void disp_config(void)
strcpy(command_str, str);
XtGetApplicationResources(toplevel, &str, &mailfile, 1, NULL, 0);
strcpy(mailfile_str, str);
+ monoflag.default_addr = &mono;
XtGetApplicationResources(toplevel, &mono, &monoflag, 1, NULL, 0);
if (mono) color_mode = 0;