pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel tevent: added version 0.9.37



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a46c5fa7301e
branches:  trunk
changeset: 389543:a46c5fa7301e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jan 03 19:30:47 2019 +0000

description:
tevent: added version 0.9.37

Tevent is an event system based on the talloc memory management library. It is
the core event system used in Samba.

The low level tevent has support for many event types, including timers,
signals, and the classic file descriptor events.

Tevent also provide helpers to deal with asynchronous code providing the
tevent_req (tevent request) functions.

diffstat:

 devel/Makefile                                                   |   3 +-
 devel/tevent/DESCR                                               |   8 +
 devel/tevent/Makefile                                            |  48 ++++++++++
 devel/tevent/PLIST                                               |   8 +
 devel/tevent/buildlink3.mk                                       |  14 ++
 devel/tevent/distinfo                                            |   7 +
 devel/tevent/patches/patch-buildtools_wafsamba_samba__install.py |  16 +++
 7 files changed, 103 insertions(+), 1 deletions(-)

diffs (142 lines):

diff -r 8a00a83bccb7 -r a46c5fa7301e devel/Makefile
--- a/devel/Makefile    Thu Jan 03 12:52:30 2019 +0000
+++ b/devel/Makefile    Thu Jan 03 19:30:47 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2766 2018/12/06 14:39:18 taca Exp $
+# $NetBSD: Makefile,v 1.2767 2019/01/03 19:30:47 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2648,6 +2648,7 @@
 SUBDIR+=       tclreadline
 SUBDIR+=       teem
 SUBDIR+=       tet3
+SUBDIR+=       tevent
 SUBDIR+=       tex-doclicense
 SUBDIR+=       tex-doclicense-doc
 SUBDIR+=       tex-etoolbox
diff -r 8a00a83bccb7 -r a46c5fa7301e devel/tevent/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tevent/DESCR        Thu Jan 03 19:30:47 2019 +0000
@@ -0,0 +1,8 @@
+Tevent is an event system based on the talloc memory management library. It is
+the core event system used in Samba.
+
+The low level tevent has support for many event types, including timers,
+signals, and the classic file descriptor events.
+
+Tevent also provide helpers to deal with asynchronous code providing the
+tevent_req (tevent request) functions.
diff -r 8a00a83bccb7 -r a46c5fa7301e devel/tevent/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tevent/Makefile     Thu Jan 03 19:30:47 2019 +0000
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1 2019/01/03 19:30:47 adam Exp $
+
+DISTNAME=      tevent-0.9.37
+CATEGORIES=    devel
+MASTER_SITES=  http://www.samba.org/ftp/tevent/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://tevent.samba.org/
+COMMENT=       Event system based on the talloc
+LICENSE=       gnu-gpl-v3 AND gnu-lgpl-v3
+
+BUILD_DEPENDS+=        libxslt-[0-9]*:../../textproc/libxslt
+BUILD_DEPENDS+=        docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
+CONFLICTS+=    samba<=4.9.4nb1
+
+USE_TOOLS+=            pkg-config
+HAS_CONFIGURE=         yes
+CONFIG_SHELL=          ${PYTHONBIN}
+CONFIGURE_SCRIPT=      ${WRKSRC}/buildtools/bin/waf
+CONFIGURE_ARGS+=       configure
+CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+=       --abi-check-disable
+CONFIGURE_ARGS+=       --disable-symbol-versions
+.if defined(MAKE_JOBS) && !empty(MAKE_JOBS) && !(defined(MAKE_JOBS_SAFE) && !empty(MAKE_JOBS_SAFE:M[nN][oO]))
+CONFIGURE_ARGS+=       --jobs=${MAKE_JOBS}
+.else
+CONFIGURE_ARGS+=       --jobs=1
+.endif
+PKGCONFIG_OVERRIDE+=   tevent.pc.in
+TEST_TARGET=           test
+
+PYTHON_VERSIONS_ACCEPTED=      27
+
+PY_PATCHPLIST=         yes
+REPLACE_PYTHON+=       buildtools/bin/waf
+
+SUBST_CLASSES+=                docbook
+SUBST_MESSAGE.docbook= Fixing docbook URLs.
+SUBST_FILES.docbook+=  buildtools/wafsamba/samba_conftests.py
+SUBST_FILES.docbook+=  buildtools/wafsamba/wafsamba.py
+SUBST_STAGE.docbook=   pre-configure
+SUBST_SED.docbook+=    -e 's,http://docbook.sourceforge.net/release/xsl/current,${PREFIX}/share/xsl/docbook,g'
+
+.include "../../devel/talloc/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8a00a83bccb7 -r a46c5fa7301e devel/tevent/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tevent/PLIST        Thu Jan 03 19:30:47 2019 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2019/01/03 19:30:47 adam Exp $
+include/tevent.h
+lib/libtevent.so
+lib/libtevent.so.${PKGVERSION}
+lib/libtevent.so.0
+lib/pkgconfig/tevent.pc
+${PYSITELIB}/_tevent.so
+${PYSITELIB}/tevent.py
diff -r 8a00a83bccb7 -r a46c5fa7301e devel/tevent/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tevent/buildlink3.mk        Thu Jan 03 19:30:47 2019 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/01/03 19:30:47 adam Exp $
+
+BUILDLINK_TREE+=       tevent
+
+.if !defined(TEVENT_BUILDLINK3_MK)
+TEVENT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.tevent+= tevent>=0.9.37
+BUILDLINK_PKGSRCDIR.tevent?=   ../../devel/tevent
+
+.include "../../devel/talloc/buildlink3.mk"
+.endif # TEVENT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -tevent
diff -r 8a00a83bccb7 -r a46c5fa7301e devel/tevent/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tevent/distinfo     Thu Jan 03 19:30:47 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/01/03 19:30:47 adam Exp $
+
+SHA1 (tevent-0.9.37.tar.gz) = 5b1c1c2bed1323ee5088b211f3e2d29d8822a10b
+RMD160 (tevent-0.9.37.tar.gz) = 1987c2aeaac2be767ccb979c06747e4b9777734b
+SHA512 (tevent-0.9.37.tar.gz) = 5d4833403e1c2f2749f00a389e4757261a4f22cd3a67c906001b36a8b622cc68a38e86d4eb475848a2121ebba054a7e7dac7f486d9f2906a401c3cc97fb447f4
+Size (tevent-0.9.37.tar.gz) = 603859 bytes
+SHA1 (patch-buildtools_wafsamba_samba__install.py) = 82e91af3125931767df06821983d40e6f94140c3
diff -r 8a00a83bccb7 -r a46c5fa7301e devel/tevent/patches/patch-buildtools_wafsamba_samba__install.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tevent/patches/patch-buildtools_wafsamba_samba__install.py  Thu Jan 03 19:30:47 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-buildtools_wafsamba_samba__install.py,v 1.1 2019/01/03 19:30:47 adam Exp $
+
+Apply correct install_name on Darwin.
+
+--- buildtools/wafsamba/samba_install.py.orig  2018-07-12 08:23:36.000000000 +0000
++++ buildtools/wafsamba/samba_install.py
+@@ -150,6 +150,9 @@ def install_library(self):
+             bld.symlink_as(os.path.join(install_path, install_link), os.path.basename(install_name))
+         if dev_link:
+             bld.symlink_as(os.path.join(install_path, dev_link), os.path.basename(install_name))
++        if getattr(self, 'samba_type', None) != 'PYTHON' and '-dynamiclib' in self.env['LINKFLAGS']:
++            self.env.append_value('LINKFLAGS', '-install_name')
++            self.env.append_value('LINKFLAGS', os.path.join(install_path, install_name))
+     finally:
+         bld.all_envs['default'] = default_env
+ 



Home | Main Index | Thread Index | Old Index