diff options
author | agc <agc@pkgsrc.org> | 2007-10-29 15:05:20 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2007-10-29 15:05:20 +0000 |
commit | f61373b2e281638e86d41f9a4146ede1bb387784 (patch) | |
tree | 66c518ba49a12b82bd6df7482af9aa80f4b79f86 /net/openwbem/patches | |
parent | bbca178221c84f950ea7bcaabc8284f1fa7ea5c3 (diff) | |
download | pkgsrc-f61373b2e281638e86d41f9a4146ede1bb387784.tar.gz |
Initial import of openwbem-3.2.2 into the Packages Collection.
OpenWBEM is an enterprise-grade open-source implementation of WBEM,
written in C++, suitable for commercial and non-commercial
applications. It provides a foundation for development of management
frameworks that overcome cross-platform barriers and empower true
interoperability. Developers can use OpenWBEM as a management agent
and WBEM framework to provide applications for configuration and
change management, system health monitoring, and enterprise-wide
management functionality.
Diffstat (limited to 'net/openwbem/patches')
-rw-r--r-- | net/openwbem/patches/patch-aa | 27 | ||||
-rw-r--r-- | net/openwbem/patches/patch-ab | 14 | ||||
-rw-r--r-- | net/openwbem/patches/patch-ac | 22 | ||||
-rw-r--r-- | net/openwbem/patches/patch-ad | 13 |
4 files changed, 76 insertions, 0 deletions
diff --git a/net/openwbem/patches/patch-aa b/net/openwbem/patches/patch-aa new file mode 100644 index 00000000000..d8bd48f81ed --- /dev/null +++ b/net/openwbem/patches/patch-aa @@ -0,0 +1,27 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/10/29 15:05:21 agc Exp $ + +--- configure 2006/02/21 21:18:12 1.1 ++++ configure 2006/02/21 21:19:32 +@@ -4652,8 +4652,20 @@ + PLAT_CXXFLAGS="-DEXPERIMENTAL" + LIBS="$LIBS -lnetware" + ;; +-#*-*-netbsd*) +-# ;; ++*-*-netbsd*) ++ cat >>confdefs.h <<\_ACEOF ++#define NETBSD 1 ++_ACEOF ++ ++ PLAT_CFLAGS="-fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS" ++ PLAT_CXXFLAGS="-fPIC -D_REENTRANT -pipe -pthread -D_POSIX_PTHREAD_SEMANTICS" ++ CXXCOMMONLINKFLAGS="-pthread" ++ CXXBINLINKFLAGS="-Wl,-Bdynamic -Wl,-E $LDFLAGS" ++ CXXSHAREDLIBLINKFLAGS='-shared -fPIC -Wl,-soname -Wl,$@.$(LIBRARY_BINARY_VERSION)' ++ PLAT_OPTFLAGS="-O3" ++ PIDFILE_DIR="/var/run" ++ LIB_EXT="so" ++ ;; + *-*-freebsd*) + cat >>confdefs.h <<\_ACEOF + #define FREEBSD 1 diff --git a/net/openwbem/patches/patch-ab b/net/openwbem/patches/patch-ab new file mode 100644 index 00000000000..ddf1a091edd --- /dev/null +++ b/net/openwbem/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2007/10/29 15:05:21 agc Exp $ + +--- src/common/socket/OW_NwIface.cpp 2006/02/21 21:29:16 1.1 ++++ src/common/socket/OW_NwIface.cpp 2006/02/21 21:30:21 +@@ -73,6 +73,9 @@ + #elif defined (OW_DARWIN) + #include <net/if.h> + #include <sys/ioctl.h> ++#elif defined (__NetBSD__) ++ #include <net/if.h> ++ #include <sys/ioctl.h> + #else + + #ifdef OW_HAVE_STROPTS_H diff --git a/net/openwbem/patches/patch-ac b/net/openwbem/patches/patch-ac new file mode 100644 index 00000000000..b233de847ef --- /dev/null +++ b/net/openwbem/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 2007/10/29 15:05:21 agc Exp $ + +--- fake_library_creator.sh 2007/10/29 00:02:39 1.1 ++++ fake_library_creator.sh 2007/10/29 00:03:14 +@@ -94,7 +94,7 @@ + fi + fi + +- if [ "x$BASE_LIBNAME" == "x" ] ++ if [ "x$BASE_LIBNAME" = "x" ] + then + MINUS_NLM=`basename $FILENAME .nlm` + if [ "x$MINUS_NLM" != "x$FILENAME" ] +@@ -106,7 +106,7 @@ + + if [ "x$BASE_LIBNAME" != "x" ] + then +- if [ "x$LIB_EXT" == "x.nlm" ] ++ if [ "x$LIB_EXT" = "x.nlm" ] + then + IMPORT_FILE=$BASE_LIBNAME".imp" + CREATION_FUNCTION_NAME=`grep "$EXPORT_PREFIX" $IMPORT_FILE | sort -u` diff --git a/net/openwbem/patches/patch-ad b/net/openwbem/patches/patch-ad new file mode 100644 index 00000000000..f0a69bb47f0 --- /dev/null +++ b/net/openwbem/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2007/10/29 15:05:21 agc Exp $ + +--- etc/Makefile.in 2007/10/29 14:15:16 1.1 ++++ etc/Makefile.in 2007/10/29 14:17:27 +@@ -235,7 +235,7 @@ + target_alias = @target_alias@ + SUBDIRS = init sysconfig pam.d + openwbemconf_DATA = openwbem.conf ssleay.cnf owgencert +-openwbemconfdir = $(sysconfdir)/openwbem ++openwbemconfdir = ${DESTDIR}$(prefix)/share/examples/openwbem + EXTRA_DIST = openwbem.conf.sh owgencert.sh ssleay.cnf + CLEANFILES = openwbem.conf owgencert + SUFFIXES = .sh |