diff options
-rw-r--r-- | net/xymon/Makefile | 7 | ||||
-rw-r--r-- | net/xymon/distinfo | 3 | ||||
-rw-r--r-- | net/xymon/patches/patch-lib_sha2.c | 13 |
3 files changed, 21 insertions, 2 deletions
diff --git a/net/xymon/Makefile b/net/xymon/Makefile index f62e7fcaf1a..4c56cb55906 100644 --- a/net/xymon/Makefile +++ b/net/xymon/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2012/06/14 07:44:39 sbd Exp $ +# $NetBSD: Makefile,v 1.21 2012/08/13 18:47:40 marino Exp $ # DISTNAME= xymon-4.3.7 @@ -193,6 +193,11 @@ MAKE_ENV+= ${TOOLS_ENV} MENUFILES= b2t-blue.gif b2t-grey.gif t2b-blue.gif t2b-grey.gif MENUFILES+= xymonmenu-blue.css xymonmenu-grey.css + +post-patch: + ${CP} ${WRKSRC}/build/Makefile.FreeBSD \ + ${WRKSRC}/build/Makefile.DragonFly + post-install: .for file in ${MENUFILES} chmod 0644 ${DESTDIR}${EXAMPLEDIR}/www/menu/${file} diff --git a/net/xymon/distinfo b/net/xymon/distinfo index cdbb1c40a0e..6390ca83d9f 100644 --- a/net/xymon/distinfo +++ b/net/xymon/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2012/04/28 18:26:19 gendalia Exp $ +$NetBSD: distinfo,v 1.9 2012/08/13 18:47:40 marino Exp $ SHA1 (xymon-4.3.7.tar.gz) = 29339157a1a6155d134ed1ad9985391d43034ee8 RMD160 (xymon-4.3.7.tar.gz) = 9547eac47a5893f978cace54b5761e9cabe75941 @@ -13,4 +13,5 @@ SHA1 (patch-ah) = 29942670246f55cf4e703b028cd9a0dcb0acb681 SHA1 (patch-build_rrd.sh) = 6c9393b93265d3c6d5bda801a875ec66f3759b01 SHA1 (patch-build_snmp.sh) = 4141c6e2bebea078ac662b7585e579f2af8ee64f SHA1 (patch-configure) = 7b71ed7a567124a2aa36d9bf9188209649e88a4d +SHA1 (patch-lib_sha2.c) = 363b1680bfb70acfd5a4f768fb9688f4511846be SHA1 (patch-xymond_rrd_do__vmstat.c) = 8062acc24e9b0e767c5abd3373641aa7b9a5b2ae diff --git a/net/xymon/patches/patch-lib_sha2.c b/net/xymon/patches/patch-lib_sha2.c new file mode 100644 index 00000000000..55e159af213 --- /dev/null +++ b/net/xymon/patches/patch-lib_sha2.c @@ -0,0 +1,13 @@ +$NetBSD: patch-lib_sha2.c,v 1.1 2012/08/13 18:47:40 marino Exp $ + +--- lib/sha2.c.orig 2011-03-08 17:20:28.000000000 +0000 ++++ lib/sha2.c +@@ -51,7 +51,7 @@ + #define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE + #define SHA224_BLOCK_SIZE SHA256_BLOCK_SIZE + +-#ifdef HAVE_STDINT_H ++#if defined(__FreeBSD__) || defined(__DragonFly__) + #include <stdint.h> + #else + typedef unsigned char uint8_t; |