pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/irrd build fix for a leafy package (plus some beau...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6441f661732
branches:  trunk
changeset: 577051:c6441f661732
user:      spz <spz%pkgsrc.org@localhost>
date:      Wed Jun 30 04:58:30 2010 +0000

description:
build fix for a leafy package (plus some beautifying)

diffstat:

 net/irrd/MESSAGE          |   2 ++
 net/irrd/Makefile         |   4 +++-
 net/irrd/distinfo         |   3 ++-
 net/irrd/patches/patch-ak |  22 ++++++++++++++++++++++
 4 files changed, 29 insertions(+), 2 deletions(-)

diffs (67 lines):

diff -r edf21e182715 -r c6441f661732 net/irrd/MESSAGE
--- a/net/irrd/MESSAGE  Wed Jun 30 02:08:20 2010 +0000
+++ b/net/irrd/MESSAGE  Wed Jun 30 04:58:30 2010 +0000
@@ -1,3 +1,5 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.2 2010/06/30 04:58:30 spz Exp $
 ===========================================================================
 
 The useful user documentation is ${PREFIX}/share/doc/irrd/irrd-user.pdf
diff -r edf21e182715 -r c6441f661732 net/irrd/Makefile
--- a/net/irrd/Makefile Wed Jun 30 02:08:20 2010 +0000
+++ b/net/irrd/Makefile Wed Jun 30 04:58:30 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2010/02/23 20:37:05 spz Exp $
+# $NetBSD: Makefile,v 1.43 2010/06/30 04:58:30 spz Exp $
 
 DISTNAME=              irrd2.3.9
 PKGNAME=               irrd-2.3.9
@@ -21,6 +21,8 @@
 
 WRKSRC=                        ${WRKDIR}/${DISTNAME}/src
 
+BUILD_DEFS+=           VARBASE
+
 PKG_SYSCONFSUBDIR=     irrd
 EGDIR=                 ${PREFIX}/share/examples/irrd
 DOCDIR=                        ${PREFIX}/share/doc/irrd
diff -r edf21e182715 -r c6441f661732 net/irrd/distinfo
--- a/net/irrd/distinfo Wed Jun 30 02:08:20 2010 +0000
+++ b/net/irrd/distinfo Wed Jun 30 04:58:30 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2010/02/23 20:37:05 spz Exp $
+$NetBSD: distinfo,v 1.14 2010/06/30 04:58:30 spz Exp $
 
 SHA1 (irrd2.3.9.tgz) = 73281b1f73bfa2267535d70906ff35c266083ec2
 RMD160 (irrd2.3.9.tgz) = de212320204cde0d05abf848e952f8f1bf06503d
@@ -11,3 +11,4 @@
 SHA1 (patch-ah) = 74a5e88dd79385ebb7bb3cb7a3cd6da46d26fd54
 SHA1 (patch-ai) = d256698195bc90727c54ddb3f55c14e0e4f0437f
 SHA1 (patch-aj) = c357f5da9f127978263b22220ea11e3e650eaaf0
+SHA1 (patch-ak) = 93a3d155ad981155c129358d91d1706eb952b65b
diff -r edf21e182715 -r c6441f661732 net/irrd/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/irrd/patches/patch-ak Wed Jun 30 04:58:30 2010 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ak,v 1.1 2010/06/30 04:58:30 spz Exp $
+
+--- programs/irr_notify/notify_msgs.c.orig     2009-04-20 18:51:16.000000000 +0000
++++ programs/irr_notify/notify_msgs.c
+@@ -161,7 +161,7 @@ void maint_request (trace_t *tr, FILE *f
+ 
+ #ifdef HAVE_SENDMAIL
+     sprintf (email, "%s < %s", SENDMAIL_CMD, buf);
+-#elif HAVE_MAIL
++#elif defined HAVE_MAIL
+     sprintf (email, "%s \"%s\" < %s", MAIL_CMD, to_addr, buf);
+ #else
+     trace (NORM, tr, "No mail or sendmail found\n");
+@@ -627,7 +627,7 @@ void send_email (trace_t *tr,  char *add
+ /*    chmod (msg_hdl[ndx[i]].fname, S_IRWXO|S_IRGRP|S_IRWXU); */
+ #ifdef HAVE_SENDMAIL
+       sprintf (buf, "%s < %s", SENDMAIL_CMD, msg_hdl[ndx[i]].fname);
+-#elif HAVE_MAIL
++#elif defined HAVE_MAIL
+       sprintf (buf, "%s \"%s\" < %s", MAIL_CMD, p, msg_hdl[ndx[i]].fname);
+ #else
+       trace (NORM, tr, "No mail or sendmail found\n");



Home | Main Index | Thread Index | Old Index