summaryrefslogtreecommitdiff
path: root/net/irrd
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2010-06-30 04:58:30 +0000
committerspz <spz@pkgsrc.org>2010-06-30 04:58:30 +0000
commitca4e5d40ac03fb0eeaec63b71f576fef3051a601 (patch)
tree5b6aa667a06eb5d4c92a77d8d921ef66a6560df5 /net/irrd
parentacdb1eb0fa3549eb6634a9f8e8aec1ca802db1f2 (diff)
downloadpkgsrc-ca4e5d40ac03fb0eeaec63b71f576fef3051a601.tar.gz
build fix for a leafy package (plus some beautifying)
Diffstat (limited to 'net/irrd')
-rw-r--r--net/irrd/MESSAGE2
-rw-r--r--net/irrd/Makefile4
-rw-r--r--net/irrd/distinfo3
-rw-r--r--net/irrd/patches/patch-ak22
4 files changed, 29 insertions, 2 deletions
diff --git a/net/irrd/MESSAGE b/net/irrd/MESSAGE
index 2b5a76bbb96..0d6215a9a35 100644
--- a/net/irrd/MESSAGE
+++ b/net/irrd/MESSAGE
@@ -1,4 +1,6 @@
===========================================================================
+$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
or ${PREFIX}/share/doc/irrd/irrd-user.sgml
diff --git a/net/irrd/Makefile b/net/irrd/Makefile
index 48c7faffa88..4663ae91514 100644
--- a/net/irrd/Makefile
+++ b/net/irrd/Makefile
@@ -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 @@ USE_TOOLS+= automake autoconf flex perl:run yacc
WRKSRC= ${WRKDIR}/${DISTNAME}/src
+BUILD_DEFS+= VARBASE
+
PKG_SYSCONFSUBDIR= irrd
EGDIR= ${PREFIX}/share/examples/irrd
DOCDIR= ${PREFIX}/share/doc/irrd
diff --git a/net/irrd/distinfo b/net/irrd/distinfo
index 0067e5b1191..3cc53656236 100644
--- a/net/irrd/distinfo
+++ b/net/irrd/distinfo
@@ -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-ag) = 9b23300fcaf1b1a48547fff2501f1e81ba86ed0c
SHA1 (patch-ah) = 74a5e88dd79385ebb7bb3cb7a3cd6da46d26fd54
SHA1 (patch-ai) = d256698195bc90727c54ddb3f55c14e0e4f0437f
SHA1 (patch-aj) = c357f5da9f127978263b22220ea11e3e650eaaf0
+SHA1 (patch-ak) = 93a3d155ad981155c129358d91d1706eb952b65b
diff --git a/net/irrd/patches/patch-ak b/net/irrd/patches/patch-ak
new file mode 100644
index 00000000000..4352bc698a8
--- /dev/null
+++ b/net/irrd/patches/patch-ak
@@ -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");