update to 0.7.0. sthen@ ok.

This commit is contained in:
fgsch 2009-01-14 21:06:39 +00:00
parent e633be3a74
commit 6993493052
8 changed files with 72 additions and 96 deletions

View File

@ -1,30 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/14 21:16:14 steven Exp $
# $OpenBSD: Makefile,v 1.2 2009/01/14 21:06:39 fgsch Exp $
COMMENT= performance and usability oriented extensions to C
COMMENT = performance and usability oriented extensions to C
V= 0.4.0
DISTNAME= libmowgli-$V
PKGNAME= mowgli-$V
V = 0.7.0
DISTNAME = libmowgli-$V
PKGNAME = mowgli-$V
SHARED_LIBS= mowgli 0.0
SHARED_LIBS = mowgli 1.0
CATEGORIES= devel
HOMEPAGE= http://www.atheme.org/projects/mowgli.shtml
CATEGORIES = devel
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= http://distfiles.atheme.org/
EXTRACT_SUFX= .tgz
MASTER_SITES = http://distfiles.atheme.org/
EXTRACT_SUFX = .tgz
CONFIGURE_STYLE=gnu
MAKE_ENV = LIBmowgli_VERSION=${LIBmowgli_VERSION}
MAKE_ENV= LIBmowgli_VERSION=${LIBmowgli_VERSION}
CONFIGURE_STYLE = gnu
NO_REGRESS= Yes
NO_REGRESS = Yes
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (libmowgli-0.4.0.tgz) = RrA+isALtJptuWldHBQ6/w==
RMD160 (libmowgli-0.4.0.tgz) = ByZCNp1L+3w1AaeG32G7C8mxnb4=
SHA1 (libmowgli-0.4.0.tgz) = OriKYC5t7UQJlanqsZ8LsI7cUPs=
SHA256 (libmowgli-0.4.0.tgz) = CD82e6ZHLGjHNtGvL1dUoZBRMJiCV8dkARyR226C6P4=
SIZE (libmowgli-0.4.0.tgz) = 106528
MD5 (libmowgli-0.7.0.tgz) = QCwt4Np/g/XjOQOXrZlLIA==
RMD160 (libmowgli-0.7.0.tgz) = l7Bf180NTZBGAP/1G8AyKY/weEQ=
SHA1 (libmowgli-0.7.0.tgz) = 2aApqrHNZRibfINRp/U3Iysr49s=
SHA256 (libmowgli-0.7.0.tgz) = +dxJWf4Uw/9WJ+NTY8gVCQ91r7D31zPUhVa7INj2xOY=
SIZE (libmowgli-0.7.0.tgz) = 115534

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-buildsys_mk_in,v 1.1 2009/01/14 21:06:39 fgsch Exp $
--- buildsys.mk.in.orig Tue Jan 6 20:52:37 2009
+++ buildsys.mk.in Tue Jan 6 20:54:10 2009
@@ -73,7 +73,7 @@ OBJS4 = ${OBJS3:.d=.o}
OBJS5 = ${OBJS4:.erl=.beam}
OBJS += ${OBJS5:.m=.o}
-.SILENT:
+#.SILENT:
.SUFFIXES: .beam .c .cc .cxx .d .erl .m
.PHONY: all subdirs pre-depend depend install install-extra uninstall uninstall-extra clean distclean
@@ -398,4 +398,4 @@ INSTALL_FAILED = printf "\033[K\033[0;31mFailed to ins
DELETE_OK = printf "\033[K\033[0;34mDeleted \033[1;34m$$i\033[0;34m.\033[0m\n"
DELETE_FAILED = printf "\033[K\033[0;31mFailed to delete \033[1;31m$$i\033[0;31m!\033[0m\n"; exit 1
--include .deps
+#-include .deps

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-configure,v 1.1 2009/01/14 21:06:39 fgsch Exp $
--- configure.orig Tue Jan 6 20:54:16 2009
+++ configure Tue Jan 6 20:54:36 2009
@@ -3008,14 +3008,14 @@ echo "${ECHO_T}Win32" >&6; }
echo "${ECHO_T}POSIX" >&6; }
LIB_CPPFLAGS='-DPIC'
LIB_CFLAGS='-fPIC'
- LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}.${LIB_MAJOR}'
+ LIB_LDFLAGS='-shared -fPIC -Wl,-soname=${LIB}'
LIB_PREFIX='lib'
LIB_SUFFIX='.so'
PLUGIN_CPPFLAGS='-DPIC'
PLUGIN_CFLAGS='-fPIC'
PLUGIN_LDFLAGS='-shared -fPIC'
PLUGIN_SUFFIX='.so'
- INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0 && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${libdir}/$$i.${LIB_MAJOR} && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${libdir}/$$i'
+ INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$$i'
UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR} ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0'
CLEAN_LIB=''
;;

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-mk_init_mk,v 1.1.1.1 2007/09/14 21:16:14 steven Exp $
--- mk/init.mk.orig Fri Sep 14 22:56:03 2007
+++ mk/init.mk Fri Sep 14 22:56:18 2007
@@ -1,5 +1,5 @@
# Shut up GNU make
-.SILENT:
+#.SILENT:
OBJECTIVE_DIRECTORIES =
OBJECTIVE_LIBS =
@@ -16,5 +16,5 @@ SHOW_CFLAGS ?= $(VERBOSE)
LIBDIR = $(libdir)
BINDIR = $(bindir)
INCLUDEDIR = $(pkgincludedir)
-CFLAGS += -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/xorg/include
-CXXFLAGS += -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/xorg/include
+CFLAGS += -DHAVE_CONFIG_H
+CXXFLAGS += -DHAVE_CONFIG_H

View File

@ -1,22 +1,9 @@
$OpenBSD: patch-src_libmowgli_Makefile,v 1.1.1.1 2007/09/14 21:16:14 steven Exp $
--- src/libmowgli/Makefile.orig Fri Sep 14 22:56:43 2007
+++ src/libmowgli/Makefile Fri Sep 14 22:57:10 2007
@@ -3,8 +3,7 @@ include ../../mk/init.mk
PICLDFLAGS = $(LIBLDFLAGS)
-OBJECTIVE_LIBS = libmowgli$(SHARED_SUFFIX)
-OBJECTIVE_SONAME_SUFFIX = 1
+OBJECTIVE_LIBS = libmowgli$(SHARED_SUFFIX).${LIBmowgli_VERSION}
LIBADD += $(DYNAMIC_LD_LIBS)
@@ -77,8 +76,3 @@ HEADERS = \
include ../../mk/objective.mk
install-posthook:
- @mv ${DESTDIR}/${LIBDIR}/libmowgli$(SHARED_SUFFIX) ${DESTDIR}/${LIBDIR}/libmowgli$(SHARED_SUFFIX).1.0.0
- @ln -sf libmowgli$(SHARED_SUFFIX).1.0.0 \
- ${DESTDIR}/${LIBDIR}/libmowgli$(SHARED_SUFFIX).1
- @ln -sf libmowgli$(SHARED_SUFFIX).1 \
- ${DESTDIR}/${LIBDIR}/libmowgli$(SHARED_SUFFIX)
$OpenBSD: patch-src_libmowgli_Makefile,v 1.2 2009/01/14 21:06:39 fgsch Exp $
--- src/libmowgli/Makefile.orig Tue Jan 6 21:03:01 2009
+++ src/libmowgli/Makefile Tue Jan 6 21:03:47 2009
@@ -1,4 +1,4 @@
-LIB = ${LIB_PREFIX}mowgli${LIB_SUFFIX}
+LIB = ${LIB_PREFIX}mowgli${LIB_SUFFIX}.${LIBmowgli_VERSION}
LIB_MAJOR = 2
LIB_MINOR = 0
DISTCLEAN = mowgli_config.h

View File

@ -1,34 +1,2 @@
libmowgli is a class library containing performance and usability
oriented extensions to C.
It contains:
- mowgli_alloc: A safe wrapper around malloc/free.
- mowgli_argstack: Safe serialization of valists.
- mowgli_assert: Various assertion routines that can be used.
- mowgli_bitvector: Bitmasks with an unlimited level of precision.
- mowgli_dictionary: A keyword-backed definition hashtable class.
- mowgli_error_backtrace: Provide feedback to users on what caused the
error they are receiving.
- mowgli_exception: Assertions with user feedback.
- mowgli_formatter: A simple token formatter which is sometimes useful.
- mowgli_global_storage: A simple global storage library.
- mowgli_hash: A portable implementation of the FNV-1 hash.
- mowgli_heap: An optimistic heap-based memory allocator
- mowgli_hook: A simple hooks API you can use for your application,
which allows for hooks to provide both application data
and user data.
- mowgli_ioevent: Portable I/O completion ports for many OSes.
- mowgli_list: A high performance linked lists implementation with O(1)
scalability for most common operations.
- mowgli_logger: An internal class for handling logging of exceptions.
- mowgli_memorypool: A class which allows for memory pooling.
- mowgli_module: A wrapper around dlopen(3) and dlsym(3).
- mowgli_object: A simple class which provides reference counted
pointers and polymorphism of structs.
- mowgli_object_class: Classing and subclassing for objects.
- mowgli_object_metadata: Metadata for objects.
- mowgli_object_messaging: Messaging and signalling for objects.
- mowgli_queue: A simple class which implements double-ended queues.
- mowgli_random: A high performance psuedo-random number generator.
- mowgli_signal: A wrapper for sigaction(2).
- mowgli_spinlock: Portable spinlocks.

View File

@ -1,8 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/14 21:16:14 steven Exp $
@comment $OpenBSD: PLIST,v 1.2 2009/01/14 21:06:39 fgsch Exp $
%%SHARED%%
include/libmowgli/
include/libmowgli/mowgli.h
include/libmowgli/mowgli_alloc.h
include/libmowgli/mowgli_allocation_policy.h
include/libmowgli/mowgli_allocator.h
include/libmowgli/mowgli_argstack.h
include/libmowgli/mowgli_assert.h
include/libmowgli/mowgli_bitvector.h
@ -26,6 +28,7 @@ include/libmowgli/mowgli_object.h
include/libmowgli/mowgli_object_class.h
include/libmowgli/mowgli_object_messaging.h
include/libmowgli/mowgli_object_metadata.h
include/libmowgli/mowgli_patricia.h
include/libmowgli/mowgli_queue.h
include/libmowgli/mowgli_random.h
include/libmowgli/mowgli_signal.h