pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2005Q1]: pkgsrc/net/openslp Pulup ticket 517 - requested by Ad...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/856f4c049380
branches:  pkgsrc-2005Q1
changeset: 491071:856f4c049380
user:      salo <salo%pkgsrc.org@localhost>
date:      Fri May 27 10:44:30 2005 +0000

description:
Pulup ticket 517 - requested by Adrian Portelli
security update for openslp

Revisions pulled up:
- pkgsrc/net/openslp/Makefile           1.26
- pkgsrc/net/openslp/buildlink3.mk      1.8
- pkgsrc/net/openslp/distinfo           1.12
- pkgsrc/net/openslp/patches/patch-ac   1.2
- pkgsrc/net/openslp/patches/patch-ae   1.2
- pkgsrc/net/openslp/patches/patch-ah   1.2
- pkgsrc/net/openslp/patches/patch-ad   removed
- pkgsrc/net/openslp/patches/patch-af   removed
- pkgsrc/net/openslp/patches/patch-ag   removed
- pkgsrc/net/openslp/patches/patch-ai   1.1

   Module Name:         pkgsrc
   Committed By:        adrianp
   Date:                Thu May 26 20:14:21 UTC 2005

   Modified Files:
        pkgsrc/net/openslp: Makefile buildlink3.mk distinfo
        pkgsrc/net/openslp/patches: patch-ac patch-ae patch-ah
   Added Files:
        pkgsrc/net/openslp/patches: patch-ai
   Removed Files:
        pkgsrc/net/openslp/patches: patch-ad patch-af patch-ag

   Log Message:
   - 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@localhost
   > Incorporated various bug fixes from SuSE and others.
   > Updated Autotools files for version 1.5+

diffstat:

 net/openslp/Makefile         |  21 +++++++++++++++------
 net/openslp/buildlink3.mk    |   4 ++--
 net/openslp/distinfo         |  18 ++++++++----------
 net/openslp/patches/patch-ac |  12 ++++++------
 net/openslp/patches/patch-ad |  14 --------------
 net/openslp/patches/patch-ae |  10 +++++-----
 net/openslp/patches/patch-af |  36 ------------------------------------
 net/openslp/patches/patch-ag |  16 ----------------
 net/openslp/patches/patch-ah |   4 ++--
 net/openslp/patches/patch-ai |  19 +++++++++++++++++++
 10 files changed, 57 insertions(+), 97 deletions(-)

diffs (250 lines):

diff -r e19ae39e1779 -r 856f4c049380 net/openslp/Makefile
--- a/net/openslp/Makefile      Fri May 27 01:01:05 2005 +0000
+++ b/net/openslp/Makefile      Fri May 27 10:44:30 2005 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2005/03/17 22:49:12 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.23.2.1 2005/05/27 10:44:30 salo Exp $
 
-DISTNAME=      openslp-1.2.0
-PKGREVISION=   1
+DISTNAME=      openslp-1.2.1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=openslp/}
 
@@ -36,11 +35,21 @@
 .include "../../mk/automake.mk"
 
 post-extract:
-       ${FIND} ${WRKSRC} -name "CVS" -print | ${XARGS} ${RM} -rf
-       ${RM} -fr ${WRKSRC}/doc/html/UsersGuide/.xvpics
+       @${FIND} ${WRKSRC} -name "CVS" -print | ${XARGS} ${RM} -rf
+       @${RM} -fr ${WRKSRC}/doc/html/UsersGuide/.xvpics
 
 pre-configure:
-       cd ${WRKSRC} && ${ACLOCAL} && ${AUTOHEADER} && ${AUTOCONF} &&   \
+       @cd ${WRKSRC} && ${ACLOCAL} && ${AUTOHEADER} && ${AUTOCONF} &&  \
                ${LOCALBASE}/bin/libtoolize && ${AUTOMAKE} --add-missing
 
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/openslp
+       @cd ${WRKSRC}/doc && ${PAX} -rw . ${PREFIX}/share/doc/openslp
+       @${FIND} ${PREFIX}/share/doc/openslp | ${XARGS} ${CHOWN} \
+               ${SHAREOWN}:${SHAREGRP}
+       @${FIND} ${PREFIX}/share/doc/openslp -type f | ${XARGS} ${CHMOD} \
+               ${SHAREMODE}
+       @${FIND} ${PREFIX}/share/doc/openslp -type d | ${XARGS} ${CHMOD} \
+               ${PKGDIRMODE}
+
 .include "../../mk/bsd.pkg.mk"
diff -r e19ae39e1779 -r 856f4c049380 net/openslp/buildlink3.mk
--- a/net/openslp/buildlink3.mk Fri May 27 01:01:05 2005 +0000
+++ b/net/openslp/buildlink3.mk Fri May 27 10:44:30 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2004/11/27 04:41:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7.4.1 2005/05/27 10:44:30 salo Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 OPENSLP_BUILDLINK3_MK:=        ${OPENSLP_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@
 
 .if !empty(OPENSLP_BUILDLINK3_MK:M+)
 BUILDLINK_DEPENDS.openslp+=    openslp>=1.0.1
-BUILDLINK_RECOMMENDED.openslp+=        openslp>=1.2.0
+BUILDLINK_RECOMMENDED.openslp+=        openslp>=1.2.1
 BUILDLINK_PKGSRCDIR.openslp?=  ../../net/openslp
 .endif # OPENSLP_BUILDLINK3_MK
 
diff -r e19ae39e1779 -r 856f4c049380 net/openslp/distinfo
--- a/net/openslp/distinfo      Fri May 27 01:01:05 2005 +0000
+++ b/net/openslp/distinfo      Fri May 27 10:44:30 2005 +0000
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.11 2005/02/24 12:13:58 agc Exp $
+$NetBSD: distinfo,v 1.11.2.1 2005/05/27 10:44:30 salo Exp $
 
-SHA1 (openslp-1.2.0.tar.gz) = 3525c74b1f8a56fe96fbca24c603bbe43028cc2b
-RMD160 (openslp-1.2.0.tar.gz) = e5b85553e26dab31ab137cf13988f2ed8d29b335
-Size (openslp-1.2.0.tar.gz) = 548410 bytes
-SHA1 (patch-ac) = 7f051530c654d92139ea03f8e33cd8f87720133f
-SHA1 (patch-ad) = 6b1f63d5ad1a6893fbf402f897700e4fa01ce161
-SHA1 (patch-ae) = 805c12cceaf338f2d5fcc5b47ef68ebe11d0a046
-SHA1 (patch-af) = 7f62a8532f14370415def8e0fa59c4ca7c6c9c4c
-SHA1 (patch-ag) = 6cf63c299bd04854df7e3272c1f3036c82ff5337
-SHA1 (patch-ah) = b14ae256a2041664ed0691b8901c986cccd7c169
+SHA1 (openslp-1.2.1.tar.gz) = 47ab19154084d2b467f09525f5351e9ab7193cf9
+RMD160 (openslp-1.2.1.tar.gz) = a31d516ba784ad893a740946082fe5e0f15a37ea
+Size (openslp-1.2.1.tar.gz) = 886195 bytes
+SHA1 (patch-ac) = 031177b9334b570e1021887ae2bdf56f4ba02c48
+SHA1 (patch-ae) = 1332580b2d9cb3e2e5c5da219c1036b9701161e5
+SHA1 (patch-ah) = f15c497b19f4bfc4efbd5cce0b50932733115824
+SHA1 (patch-ai) = 11baa3ef891677f1df78f75b93001580ff450e13
diff -r e19ae39e1779 -r 856f4c049380 net/openslp/patches/patch-ac
--- a/net/openslp/patches/patch-ac      Fri May 27 01:01:05 2005 +0000
+++ b/net/openslp/patches/patch-ac      Fri May 27 10:44:30 2005 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-ac,v 1.1 2004/11/27 04:41:12 jlam Exp $
+$NetBSD: patch-ac,v 1.1.4.1 2005/05/27 10:44:30 salo 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 -r e19ae39e1779 -r 856f4c049380 net/openslp/patches/patch-ad
--- a/net/openslp/patches/patch-ad      Fri May 27 01:01:05 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e19ae39e1779 -r 856f4c049380 net/openslp/patches/patch-ae
--- a/net/openslp/patches/patch-ae      Fri May 27 01:01:05 2005 +0000
+++ b/net/openslp/patches/patch-ae      Fri May 27 10:44:30 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.1 2004/11/27 04:41:12 jlam Exp $
+$NetBSD: patch-ae,v 1.1.4.1 2005/05/27 10:44:30 salo 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 @@
 -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 @@
  {
      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 -r e19ae39e1779 -r 856f4c049380 net/openslp/patches/patch-af
--- a/net/openslp/patches/patch-af      Fri May 27 01:01:05 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e19ae39e1779 -r 856f4c049380 net/openslp/patches/patch-ag
--- a/net/openslp/patches/patch-ag      Fri May 27 01:01:05 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r e19ae39e1779 -r 856f4c049380 net/openslp/patches/patch-ah
--- a/net/openslp/patches/patch-ah      Fri May 27 01:01:05 2005 +0000
+++ b/net/openslp/patches/patch-ah      Fri May 27 10:44:30 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ah,v 1.1 2004/11/27 05:08:35 jlam Exp $
+$NetBSD: patch-ah,v 1.1.4.1 2005/05/27 10:44:30 salo 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 -r e19ae39e1779 -r 856f4c049380 net/openslp/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openslp/patches/patch-ai      Fri May 27 10:44:30 2005 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ai,v 1.1.2.2 2005/05/27 10:44:30 salo 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`



Home | Main Index | Thread Index | Old Index