summaryrefslogtreecommitdiff
path: root/net/openslp/patches
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-05-26 20:14:21 +0000
committeradrianp <adrianp@pkgsrc.org>2005-05-26 20:14:21 +0000
commit28583edea33da86c32e2e0c7e127d4629a24c486 (patch)
tree3d324d7af36914950f01248bbdd990bb94eef840 /net/openslp/patches
parentc96dd5c4a14be3e5f58e819a89ac2e6993f932d2 (diff)
downloadpkgsrc-28583edea33da86c32e2e0c7e127d4629a24c486.tar.gz
- Update to 1.2.1 - ok'ed jlam@
- This incorporates security fixes from SuSE to address the issues they found From the ChangeLog: > 02/04/2005 jcalcote@novell.com > Incorporated various bug fixes from SuSE and others. > Updated Autotools files for version 1.5+
Diffstat (limited to 'net/openslp/patches')
-rw-r--r--net/openslp/patches/patch-ac12
-rw-r--r--net/openslp/patches/patch-ad14
-rw-r--r--net/openslp/patches/patch-ae10
-rw-r--r--net/openslp/patches/patch-af36
-rw-r--r--net/openslp/patches/patch-ag16
-rw-r--r--net/openslp/patches/patch-ah4
-rw-r--r--net/openslp/patches/patch-ai19
7 files changed, 32 insertions, 79 deletions
diff --git a/net/openslp/patches/patch-ac b/net/openslp/patches/patch-ac
index 55f2a6a661e..7d6c791fca8 100644
--- a/net/openslp/patches/patch-ac
+++ b/net/openslp/patches/patch-ac
@@ -1,13 +1,13 @@
-$NetBSD: patch-ac,v 1.1 2004/11/27 04:41:12 jlam Exp $
+$NetBSD: patch-ac,v 1.2 2005/05/26 20:14:21 adrianp Exp $
---- configure.in.orig 2004-02-04 15:07:33.000000000 -0500
+--- configure.in.orig 2005-05-26 19:42:13.000000000 +0100
+++ configure.in
-@@ -155,7 +155,7 @@ dnl ************************************
+@@ -159,7 +159,7 @@ dnl ************************************
dnl Checks for header files.
dnl ***********************************************************************
- AC_STDC_HEADERS
--AC_HAVE_HEADERS(string.h sys/types.h stdint.h netinet/in.h)
-+AC_HAVE_HEADERS(string.h sys/types.h stdint.h netinet/in.h bits/ioctls.h)
+ AC_HEADER_STDC
+-AC_CHECK_HEADERS(string.h sys/types.h stdint.h netinet/in.h)
++AC_CHECK_HEADERS(string.h sys/types.h stdint.h netinet/in.h bits/ioctls.h)
dnl ***********************************************************************
dnl Checks for data types.
diff --git a/net/openslp/patches/patch-ad b/net/openslp/patches/patch-ad
deleted file mode 100644
index 94fb73d39fe..00000000000
--- a/net/openslp/patches/patch-ad
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2004/11/27 04:41:12 jlam Exp $
-
---- common/slp_dhcp.c.orig 2003-02-12 17:18:16.000000000 -0500
-+++ common/slp_dhcp.c
-@@ -66,7 +66,9 @@
- #include <sys/socket.h>
- #include <sys/ioctl.h>
- #include <net/if_arp.h>
-+#if HAVE_BITS_IOCTLS_H
- #include <bits/ioctls.h>
-+#endif
- #include <sys/time.h>
- #endif
-
diff --git a/net/openslp/patches/patch-ae b/net/openslp/patches/patch-ae
index 2d42daab45f..a2f2a79e588 100644
--- a/net/openslp/patches/patch-ae
+++ b/net/openslp/patches/patch-ae
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.1 2004/11/27 04:41:12 jlam Exp $
+$NetBSD: patch-ae,v 1.2 2005/05/26 20:14:21 adrianp Exp $
---- common/slp_attr_l.l.orig 2002-05-10 01:23:43.000000000 -0400
+--- common/slp_attr_l.l.orig 2005-05-26 20:00:07.000000000 +0100
+++ common/slp_attr_l.l
@@ -82,9 +82,9 @@ int slp_attr_wrap(void);
@@ -9,7 +9,7 @@ $NetBSD: patch-ae,v 1.1 2004/11/27 04:41:12 jlam Exp $
-void slp_attr_close_lexer(unsigned int handle);
+void slp_attr_close_lexer(unsigned long handle);
--uint slp_attr_init_lexer(char *s);
+-unsigned int slp_attr_init_lexer(char *s);
+unsigned long slp_attr_init_lexer(char *s);
@@ -23,11 +23,11 @@ $NetBSD: patch-ae,v 1.1 2004/11/27 04:41:12 jlam Exp $
{
memset(&buf[0], 0x00, 2052);
strncpy(&buf[0], s, 2052);
-- return((uint)yy_scan_buffer(&buf[0], strlen(s) + 2));
+- return((unsigned int)yy_scan_buffer(&buf[0], strlen(s) + 2));
+ return((unsigned long)yy_scan_buffer(&buf[0], strlen(s) + 2));
}
--void attr_close_lexer(uint handle)
+-void attr_close_lexer(unsigned int handle)
+void attr_close_lexer(unsigned long handle)
{
// assert(handle != 0);
diff --git a/net/openslp/patches/patch-af b/net/openslp/patches/patch-af
deleted file mode 100644
index ffc6fb51bc1..00000000000
--- a/net/openslp/patches/patch-af
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-af,v 1.1 2004/11/27 04:41:12 jlam Exp $
-
---- common/slp_filter_l.l.orig 2002-05-10 01:23:43.000000000 -0400
-+++ common/slp_filter_l.l
-@@ -76,9 +76,9 @@ static char buf[2052];
-
- void slp_filter_error(char *, ...);
-
--void slp_filter_close_lexer(unsigned int handle);
-+void slp_filter_close_lexer(unsigned long handle);
-
--unsigned int slp_filter_init_lexer(const char *s);
-+unsigned long slp_filter_init_lexer(const char *s);
-
- %}
-
-@@ -150,16 +150,16 @@ not_reserved [^()\&|!=<>~\n]
-
- %%
-
--void filter_close_lexer(unsigned int handle)
-+void filter_close_lexer(unsigned long handle)
- {
- yy_delete_buffer((YY_BUFFER_STATE)handle);
- }
-
--unsigned int slp_filter_init_lexer(const char *s)
-+unsigned long slp_filter_init_lexer(const char *s)
- {
- memset(&buf[0], 0x00, 2052);
- strncpy(&buf[0], s, 2048);
-- return((uint)yy_scan_buffer(&buf[0], strlen(s) + 2));
-+ return((unsigned long)yy_scan_buffer(&buf[0], strlen(s) + 2));
- }
-
- void slp_filter_error(char *s, ...)
diff --git a/net/openslp/patches/patch-ag b/net/openslp/patches/patch-ag
deleted file mode 100644
index cfa1ed9a814..00000000000
--- a/net/openslp/patches/patch-ag
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2004/11/27 04:41:12 jlam Exp $
-
---- common/slp_spi.c.orig 2002-09-10 00:38:25.000000000 -0400
-+++ common/slp_spi.c
-@@ -267,9 +267,9 @@ SLPSpiHandle SLPSpiOpen(const char* spif
- fp = fopen(spifile,"r");
- if(fp)
- {
-- result = xmalloc(sizeof(structSLPSpiHandle));
-+ result = xmalloc(sizeof(*result));
- if(result == 0) return 0;
-- memset(result, 0, sizeof(structSLPSpiHandle));
-+ memset(result, 0, sizeof(*result));
-
- result->spifile = xstrdup(spifile);
- result->cacheprivate = cacheprivate;
diff --git a/net/openslp/patches/patch-ah b/net/openslp/patches/patch-ah
index 49bf8bd4aed..ab57ec6fde9 100644
--- a/net/openslp/patches/patch-ah
+++ b/net/openslp/patches/patch-ah
@@ -1,6 +1,6 @@
-$NetBSD: patch-ah,v 1.1 2004/11/27 05:08:35 jlam Exp $
+$NetBSD: patch-ah,v 1.2 2005/05/26 20:14:21 adrianp Exp $
---- common/Makefile.am.orig 2003-02-13 00:19:57.000000000 -0500
+--- common/Makefile.am.orig 2005-05-26 20:10:45.000000000 +0100
+++ common/Makefile.am
@@ -21,6 +21,7 @@ libcommonlibslp_la_SOURCES = \
slp_xmalloc.c \
diff --git a/net/openslp/patches/patch-ai b/net/openslp/patches/patch-ai
new file mode 100644
index 00000000000..6c36fcc0bcc
--- /dev/null
+++ b/net/openslp/patches/patch-ai
@@ -0,0 +1,19 @@
+$NetBSD: patch-ai,v 1.1 2005/05/26 20:14:21 adrianp Exp $
+
+--- Makefile.am.orig 2005-02-25 21:37:57.000000000 +0000
++++ Makefile.am
+@@ -21,10 +21,10 @@ install-data-local:
+ if [ -f $$file ]; then true; \
+ else cp -f $(srcdir)/etc/slp.spi $(DESTDIR)$(sysconfdir); \
+ fi
+- rm -rf $(DESTDIR)$(DOC_DIR)
+- mkdir -p $(DESTDIR)$(DOC_DIR)
+- cp -r $(srcdir)/doc/* $(DESTDIR)$(DOC_DIR)
+- rm -rf `find $(DESTDIR)$(DOC_DIR) -name CVS`
++# rm -rf $(DESTDIR)$(DOC_DIR)
++# mkdir -p $(DESTDIR)$(DOC_DIR)
++# cp -r $(srcdir)/doc/* $(DESTDIR)$(DOC_DIR)
++# rm -rf `find $(DESTDIR)$(DOC_DIR) -name CVS`
+
+ dist-hook:
+ -rm -rf `find $(distdir)/doc -name CVS`