1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Update to 1.0.3.

PR:		227563
Submitted by:	maintainer
This commit is contained in:
Vanilla I. Shu 2018-05-12 03:24:10 +00:00
parent 46987c53d9
commit 8e5f97bacc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=469702
5 changed files with 46 additions and 25 deletions

View File

@ -1,10 +1,9 @@
# Created by: dpejesh@yahoo.com # Created by: David Shane Holden <dpejesh@yahoo.com>
# $FreeBSD$ # $FreeBSD$
PORTNAME= libqb PORTNAME= libqb
PORTVERSION= 1.0.2 PORTVERSION= 1.0.3
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= https://github.com/ClusterLabs/libqb/releases/download/v${PORTVERSION}/
MAINTAINER= dpejesh@yahoo.com MAINTAINER= dpejesh@yahoo.com
COMMENT= High performance logging, tracing, ipc, and polling library COMMENT= High performance logging, tracing, ipc, and polling library
@ -12,20 +11,31 @@ COMMENT= High performance logging, tracing, ipc, and polling library
LICENSE= LGPL21 LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_FILE= ${WRKSRC}/COPYING
TEST_DEPENDS= checkmk:devel/check
GROUPS= haclient GROUPS= haclient
QB_SOCKET_DIR?= /var/run/qb QB_SOCKET_DIR?= /var/run/qb
PLIST_SUB+= QB_SOCKET_DIR=${QB_SOCKET_DIR} PLIST_SUB+= QB_SOCKET_DIR=${QB_SOCKET_DIR}
USE_GITHUB= yes
GH_ACCOUNT= ClusterLabs
GH_TAGNAME= v${PORTVERSION}
USE_BINUTILS= yes
USE_LDCONFIG= yes USE_LDCONFIG= yes
USES= autoreconf gmake libtool pathfix pkgconfig tar:xz USES= autoreconf gmake libtool pathfix pkgconfig tar:xz
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-socket-dir=${QB_SOCKET_DIR} CONFIGURE_ARGS= --with-socket-dir=${QB_SOCKET_DIR}
INSTALL_TARGET= install-strip LDFLAGS+= -B${LOCALBASE}/bin
PATHFIX_MAKEFILEIN= Makefile.am PATHFIX_MAKEFILEIN= Makefile.am
INSTALL_TARGET= install-strip
TEST_TARGET= check
OPTIONS_DEFINE= DOXYGEN OPTIONS_DEFINE= DOXYGEN
OPTIONS_SUB= yes OPTIONS_SUB= yes
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
post-install: post-install:

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1495648740 TIMESTAMP = 1523289774
SHA256 (libqb-1.0.2.tar.xz) = bbc4614a0f2abb78dbbd5da489f8cc828425c29c39ab743436801b379e87f229 SHA256 (ClusterLabs-libqb-1.0.3-v1.0.3_GH0.tar.gz) = 730387ef08616ec3267c1af6bc679a5092c2ce56f16d71a2cb7369ee65221559
SIZE (libqb-1.0.2.tar.xz) = 451564 SIZE (ClusterLabs-libqb-1.0.3-v1.0.3_GH0.tar.gz) = 227704

View File

@ -2,9 +2,9 @@ Disable check for pthread_spin_lock() since it doesn't support
PTHREAD_PROCESS_SHARED. This causes libqb to fallback gracefully PTHREAD_PROCESS_SHARED. This causes libqb to fallback gracefully
to using pthread mutexes without having to patch anything. to using pthread mutexes without having to patch anything.
--- configure.ac.orig 2017-05-19 12:54:05 UTC --- configure.ac.orig 2017-12-21 09:02:11 UTC
+++ configure.ac +++ configure.ac
@@ -212,7 +212,7 @@ AC_CHECK_FUNCS([alarm clock_gettime ftru @@ -218,7 +218,7 @@ AC_CHECK_FUNCS([alarm clock_gettime \
AX_SAVE_FLAGS AX_SAVE_FLAGS
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LIBS="$LIBS $PTHREAD_LIBS" LIBS="$LIBS $PTHREAD_LIBS"

View File

@ -0,0 +1,11 @@
--- lib/Makefile.am.orig 2018-04-02 21:49:55 UTC
+++ lib/Makefile.am
@@ -135,6 +135,8 @@ install-exec-hook: qblog_script.ld
sed -i -- "s/libqb.so.<digit>/$${so_ver}/" \
"$(DESTDIR)$(libdir)/libqb.so-t" "$(DESTDIR)$(pkgconfigexecdir)/libqb.pc"
mv -f "$(DESTDIR)$(libdir)/libqb.so-t" "$(DESTDIR)$(libdir)/libqb.so"
+ rm -f "$(DESTDIR)$(pkgconfigexecdir)/libqb.pc--"
+ rm -f "$(DESTDIR)$(libdir)/libqb.so-t--"
endif
if HAVE_SPLINT

View File

@ -15,7 +15,7 @@ include/qb/qbutil.h
lib/libqb.a lib/libqb.a
lib/libqb.so lib/libqb.so
lib/libqb.so.0 lib/libqb.so.0
lib/libqb.so.0.18.2 lib/libqb.so.0.19.0
libdata/pkgconfig/libqb.pc libdata/pkgconfig/libqb.pc
%%DOXYGEN%%man/man3/qbarray.h.3.gz %%DOXYGEN%%man/man3/qbarray.h.3.gz
%%DOXYGEN%%man/man3/qbatomic.h.3.gz %%DOXYGEN%%man/man3/qbatomic.h.3.gz