pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan  3 19:30:47 UTC 2019

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/tevent: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/devel/tevent/patches:
            patch-buildtools_wafsamba_samba__install.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2766 -r1.2767 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/tevent/DESCR pkgsrc/devel/tevent/Makefile \
    pkgsrc/devel/tevent/PLIST pkgsrc/devel/tevent/buildlink3.mk \
    pkgsrc/devel/tevent/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/tevent/patches/patch-buildtools_wafsamba_samba__install.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2766 pkgsrc/devel/Makefile:1.2767
--- pkgsrc/devel/Makefile:1.2766        Thu Dec  6 14:39:18 2018
+++ pkgsrc/devel/Makefile       Thu Jan  3 19:30:47 2019
@@ -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+=  tcllib
 SUBDIR+=       tclreadline
 SUBDIR+=       teem
 SUBDIR+=       tet3
+SUBDIR+=       tevent
 SUBDIR+=       tex-doclicense
 SUBDIR+=       tex-doclicense-doc
 SUBDIR+=       tex-etoolbox

Added files:

Index: pkgsrc/devel/tevent/DESCR
diff -u /dev/null pkgsrc/devel/tevent/DESCR:1.1
--- /dev/null   Thu Jan  3 19:30:47 2019
+++ pkgsrc/devel/tevent/DESCR   Thu Jan  3 19:30:47 2019
@@ -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.
Index: pkgsrc/devel/tevent/Makefile
diff -u /dev/null pkgsrc/devel/tevent/Makefile:1.1
--- /dev/null   Thu Jan  3 19:30:47 2019
+++ pkgsrc/devel/tevent/Makefile        Thu Jan  3 19:30:47 2019
@@ -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"
Index: pkgsrc/devel/tevent/PLIST
diff -u /dev/null pkgsrc/devel/tevent/PLIST:1.1
--- /dev/null   Thu Jan  3 19:30:47 2019
+++ pkgsrc/devel/tevent/PLIST   Thu Jan  3 19:30:47 2019
@@ -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
Index: pkgsrc/devel/tevent/buildlink3.mk
diff -u /dev/null pkgsrc/devel/tevent/buildlink3.mk:1.1
--- /dev/null   Thu Jan  3 19:30:47 2019
+++ pkgsrc/devel/tevent/buildlink3.mk   Thu Jan  3 19:30:47 2019
@@ -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
Index: pkgsrc/devel/tevent/distinfo
diff -u /dev/null pkgsrc/devel/tevent/distinfo:1.1
--- /dev/null   Thu Jan  3 19:30:47 2019
+++ pkgsrc/devel/tevent/distinfo        Thu Jan  3 19:30:47 2019
@@ -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

Index: pkgsrc/devel/tevent/patches/patch-buildtools_wafsamba_samba__install.py
diff -u /dev/null pkgsrc/devel/tevent/patches/patch-buildtools_wafsamba_samba__install.py:1.1
--- /dev/null   Thu Jan  3 19:30:47 2019
+++ pkgsrc/devel/tevent/patches/patch-buildtools_wafsamba_samba__install.py     Thu Jan  3 19:30:47 2019
@@ -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