summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-10-14 07:55:57 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-10-14 07:55:57 +0000
commit0af9b58d3af08e67e8da4129a2afd03fcf7b9a7d (patch)
tree590c05a96345e5cb9d525c3826e8066effa0f19d /net-libs/openslp/files
parentmask openslp 1.3 (diff)
downloadgentoo-2-0af9b58d3af08e67e8da4129a2afd03fcf7b9a7d.tar.gz
gentoo-2-0af9b58d3af08e67e8da4129a2afd03fcf7b9a7d.tar.bz2
gentoo-2-0af9b58d3af08e67e8da4129a2afd03fcf7b9a7d.zip
Version bump for bug 181715 thanks to wschlich
(Portage version: 2.1.3.12)
Diffstat (limited to 'net-libs/openslp/files')
-rw-r--r--net-libs/openslp/files/digest-openslp-1.2.13
-rw-r--r--net-libs/openslp/files/digest-openslp-1.3.03
-rw-r--r--net-libs/openslp/files/openslp-compile_fix.patch14
-rw-r--r--net-libs/openslp/files/openslp-no_install_doc.patch21
-rw-r--r--net-libs/openslp/files/openslp-opt.patch25
5 files changed, 63 insertions, 3 deletions
diff --git a/net-libs/openslp/files/digest-openslp-1.2.1 b/net-libs/openslp/files/digest-openslp-1.2.1
deleted file mode 100644
index b6d85969e8fc..000000000000
--- a/net-libs/openslp/files/digest-openslp-1.2.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 ff9999d1b44017281dd00ed2c4d32330 openslp-1.2.1.tar.gz 886195
-RMD160 a31d516ba784ad893a740946082fe5e0f15a37ea openslp-1.2.1.tar.gz 886195
-SHA256 08c7ec1e76fdd66461b3784d52047f594405f31ba2791ab0c1ec7c97639f5fbd openslp-1.2.1.tar.gz 886195
diff --git a/net-libs/openslp/files/digest-openslp-1.3.0 b/net-libs/openslp/files/digest-openslp-1.3.0
new file mode 100644
index 000000000000..33831d927a84
--- /dev/null
+++ b/net-libs/openslp/files/digest-openslp-1.3.0
@@ -0,0 +1,3 @@
+MD5 5f89c11ba72c44b5bd296733601027f0 openslp-1.3.0.tar.gz 567430
+RMD160 0fb5a69f4002bfd504f0f2a4bddbef174c782145 openslp-1.3.0.tar.gz 567430
+SHA256 786e5ced948d5fe9f52ef489115e5bdec3c4ec8cc05ae97aeeeca7d393d749a4 openslp-1.3.0.tar.gz 567430
diff --git a/net-libs/openslp/files/openslp-compile_fix.patch b/net-libs/openslp/files/openslp-compile_fix.patch
new file mode 100644
index 000000000000..22bb3d6e2b7c
--- /dev/null
+++ b/net-libs/openslp/files/openslp-compile_fix.patch
@@ -0,0 +1,14 @@
+--- openslp-1.3.0/common/slp_spi.c~ 2004-03-04 03:38:49.000000000 +0100
++++ openslp-1.3.0/common/slp_spi.c 2004-03-04 03:38:49.000000000 +0100
+@@ -267,9 +267,9 @@
+ fp = fopen(spifile,"r");
+ if(fp)
+ {
+- result = xmalloc(sizeof(structSLPSpiHandle));
++ result = xmalloc(sizeof(struct _SLPSpiHandle));
+ if(result == 0) return 0;
+- memset(result, 0, sizeof(structSLPSpiHandle));
++ memset(result, 0, sizeof(struct _SLPSpiHandle));
+
+ result->spifile = xstrdup(spifile);
+ result->cacheprivate = cacheprivate;
diff --git a/net-libs/openslp/files/openslp-no_install_doc.patch b/net-libs/openslp/files/openslp-no_install_doc.patch
new file mode 100644
index 000000000000..9f7e3d2ee562
--- /dev/null
+++ b/net-libs/openslp/files/openslp-no_install_doc.patch
@@ -0,0 +1,21 @@
+--- openslp-1.3.0/Makefile.am~ 2004-03-04 03:56:37.000000000 +0100
++++ openslp-1.3.0/Makefile.am 2004-03-04 03:56:37.000000000 +0100
+@@ -5,7 +5,6 @@
+
+ SUBDIRS = common libslpattr slpd libslp slptool test
+ EXTRA_DIST = win32 doc etc README.W32 FAQ
+-DOC_DIR = $(prefix)/doc/openslp-$(VERSION)
+
+ install-data-local:
+ mkdir -p $(DESTDIR)$(sysconfdir)
+@@ -22,10 +21,6 @@
+ 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`
+
+ dist-hook:
+ # rm -rf `find $(distdir)/doc -name CVS`
diff --git a/net-libs/openslp/files/openslp-opt.patch b/net-libs/openslp/files/openslp-opt.patch
new file mode 100644
index 000000000000..0fe9af3c947d
--- /dev/null
+++ b/net-libs/openslp/files/openslp-opt.patch
@@ -0,0 +1,25 @@
+--- openslp-1.0.11/configure.in.orig 2003-03-11 05:20:05.000000000 +0100
++++ openslp-1.0.11/configure.in 2003-04-18 00:34:27.000000000 +0200
+@@ -120,9 +120,6 @@
+ if test X"$debug" = X"yes"; then
+ CFLAGS="$CFLAGS -Werror"
+ fi
+- if test X"$debug" = X"no"; then
+- OPTFLAGS="-O3"
+- fi
+
+ elif $CC -V 2>&1 | grep "WorkShop Compilers"; then
+ dnl Allow C++ style comments
+@@ -161,9 +158,9 @@
+ dnl ***********************************************************************
+ dnl Checks for libraries.
+ dnl ***********************************************************************
+-AC_CHECK_LIB(resolv, inet_aton)
+-AC_CHECK_LIB(socket, main)
+-AC_CHECK_LIB(nsl, gethostbyname)
++AC_SEARCH_LIBS(inet_aton, resolv)
++AC_SEARCH_LIBS(socket, socket)
++AC_SEARCH_LIBS(gethostbyname, nsl)
+ AC_CHECK_LIB(m, main)
+ AC_CHECK_FUNCS(ceil log10 strncasecmp strcasecmp )
+ AC_OUTPUT(Makefile common/Makefile libslpattr/Makefile libslp/Makefile \