pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
rdsn-git: Rename package name to rdsn-git
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sat Feb 27 20:54:17 2016 +0100
Changeset: c823094e18d49555906e78c86305820f87dbf43f
Added Files:
rdsn-git/DESCR
rdsn-git/Makefile
rdsn-git/PLIST
rdsn-git/distinfo
rdsn-git/patches/patch-include_dsn_internal_ports.h
rdsn-git/patches/patch-src_dev_cpp_file__utils.cpp
rdsn-git/patches/patch-src_dev_cpp_utils.cpp
Removed Files:
rdns-git/DESCR
rdns-git/Makefile
rdns-git/PLIST
rdns-git/distinfo
rdns-git/patches/patch-include_dsn_internal_ports.h
rdns-git/patches/patch-src_dev_cpp_file__utils.cpp
rdns-git/patches/patch-src_dev_cpp_utils.cpp
Log Message:
rdsn-git: Rename package name to rdsn-git
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c823094e18d49555906e78c86305820f87dbf43f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rdns-git/DESCR | 24 ------------
rdns-git/Makefile | 38 ------------------
rdns-git/PLIST | 8 ----
rdns-git/distinfo | 17 --------
.../patches/patch-include_dsn_internal_ports.h | 18 ---------
rdns-git/patches/patch-src_dev_cpp_file__utils.cpp | 45 ----------------------
rdns-git/patches/patch-src_dev_cpp_utils.cpp | 31 ---------------
rdsn-git/DESCR | 24 ++++++++++++
rdsn-git/Makefile | 38 ++++++++++++++++++
rdsn-git/PLIST | 8 ++++
rdsn-git/distinfo | 17 ++++++++
.../patches/patch-include_dsn_internal_ports.h | 18 +++++++++
rdsn-git/patches/patch-src_dev_cpp_file__utils.cpp | 45 ++++++++++++++++++++++
rdsn-git/patches/patch-src_dev_cpp_utils.cpp | 31 +++++++++++++++
14 files changed, 181 insertions(+), 181 deletions(-)
diffs:
diff --git a/rdns-git/DESCR b/rdns-git/DESCR
deleted file mode 100644
index c0dbd8e..0000000
--- a/rdns-git/DESCR
+++ /dev/null
@@ -1,24 +0,0 @@
-Robust Distributed System Nucleus (rDSN)
-
-Developed by System Research Group of Microsoft Research Asia, Robust
-Distributed System Nucleus (rDSN), is now open source. rDSN is an open
-framework for developers, students, and researchers to quickly build and
-manage high-performance and robust distributed systems, and the latter is
-critical for the success of many emerging technologies today such as cloud
-computing, big data, and IoT (Internet of Things).
-
-The idea of this framework arises during the team's past efforts to (semi-)
-automatically test, debug, optimize, monitor, scale, replicate, compose, and
-reason about distributed systems. A lot of challenges were encountered in those
-projects, and most are due to the fact that the initial development process had
-not consider these goals, resulting later maintenance difficulties.
-
-rDSN provides a coherent framework from which developers build their systems
-with minor adjustment from traditional development styles. Code built on atop
-of rDSN conforms to certain principles, and can be upgraded later with little
-or no cost for achieving the aforementioned goals. An early version of rDSN has
-been used in Bing for building a distributed data service, and the system has
-been online and running well. Based on feedbacks from the production teams,
-rDSN is improved and now made public with an open source license. The goal is
-to benefit the community especially developers, students, and researchers who
-are working on distributed systems in various ways.
diff --git a/rdns-git/Makefile b/rdns-git/Makefile
deleted file mode 100644
index 0f79a06..0000000
--- a/rdns-git/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
-
-PKGNAME= rdns-3.9.0
-CATEGORIES= net
-
-GIT_REPOSITORIES= rdns
-GIT_REPO.rdns= https://github.com/Microsoft/rDSN.git
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://github.com/Microsoft/rDSN
-COMMENT= Robust Distributed System Nucleus
-LICENSE= mit
-
-WRKSRC= ${WRKDIR}/${PKGBASE}
-CONFIGURE_DIRS= ${WRKDIR}/build
-
-USE_TOOLS+= pax
-USE_LANGUAGES= c c++
-USE_CMAKE= yes
-GCC_REQD+= 4.8
-
-CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
-CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc
-CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++
-
-CMAKE_ARG_PATH= ${WRKSRC}
-
-INSTALLATION_DIRS= include
-
-post-extract:
- ${RUN} mkdir -p ${WRKDIR}/build
-
-post-install:
- cd ${WRKSRC}/include && ${PAX} -rw . ${DESTDIR}${PREFIX}/include
-
-.include "../../wip/mk/git-package.mk"
-.include "../../devel/boost-libs/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/rdns-git/PLIST b/rdns-git/PLIST
deleted file mode 100644
index ba1c939..0000000
--- a/rdns-git/PLIST
+++ /dev/null
@@ -1,8 +0,0 @@
-@comment $NetBSD$
-include/__libunwind_config.h
-include/libunwind.h
-include/mach-o/compact_unwind_encoding.h
-include/unwind.h
-lib/libunwind.so
-lib/libunwind.so.1
-lib/libunwind.so.1.0
diff --git a/rdns-git/distinfo b/rdns-git/distinfo
deleted file mode 100644
index 7a7c6c9..0000000
--- a/rdns-git/distinfo
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
-
-SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
-RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
-Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
-SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
-RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
-Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
-SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
-RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
-Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
-SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
-RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
-Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
-SHA1 (patch-include_dsn_internal_ports.h) = ded80af0cad9a718dc226be2aef24c194d7ba0ad
-SHA1 (patch-src_dev_cpp_file__utils.cpp) = 53c12e7167b329aa65922bc3df83cbcf8102c832
-SHA1 (patch-src_dev_cpp_utils.cpp) = 7574b9489f874817690ac28a4a84b346b2b877c0
diff --git a/rdns-git/patches/patch-include_dsn_internal_ports.h b/rdns-git/patches/patch-include_dsn_internal_ports.h
deleted file mode 100644
index 72daaf1..0000000
--- a/rdns-git/patches/patch-include_dsn_internal_ports.h
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD$
-
---- include/dsn/internal/ports.h.orig 2016-02-27 19:03:52.000000000 +0000
-+++ include/dsn/internal/ports.h
-@@ -44,7 +44,7 @@ __pragma(warning(disable:4127))
- # define __thread __declspec(thread)
- # define __selectany __declspec(selectany) extern
-
--# elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
-+# elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
-
- # include <unistd.h>
-
-@@ -120,4 +120,3 @@ namespace dsn
- # define snprintf_p std::snprintf
- # endif
- # endif
--
diff --git a/rdns-git/patches/patch-src_dev_cpp_file__utils.cpp b/rdns-git/patches/patch-src_dev_cpp_file__utils.cpp
deleted file mode 100644
index 7af515f..0000000
--- a/rdns-git/patches/patch-src_dev_cpp_file__utils.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-$NetBSD$
-
---- src/dev/cpp/file_utils.cpp.orig 2016-02-27 19:03:52.000000000 +0000
-+++ src/dev/cpp/file_utils.cpp
-@@ -76,7 +76,11 @@
-
- # if defined(__APPLE__)
- # include <libproc.h>
--#endif
-+# endif
-+
-+# if defined(__NetBSD__)
-+# include <sys/sysctl.h>
-+# endif
-
- # define getcwd_ getcwd
- # define rmdir_ rmdir
-@@ -1102,6 +1106,27 @@ out_error:
- }
-
- path = tls_path_buffer;
-+# elif defined(__NetBSD__)
-+ if (pid == -1)
-+ {
-+ pid = ::getpid();
-+ }
-+
-+#ifdef KERN_PROC_PATHNAME
-+ static const int name[] = {
-+ CTL_KERN, KERN_PROC_ARGS, pid, KERN_PROC_PATHNAME,
-+ };
-+
-+ size_t len = TLS_PATH_BUFFER_SIZE;
-+ if (sysctl(name, __arraycount(name), tls_path_buffer, &len, NULL, 0) == -1)
-+ {
-+ return ERR_PATH_NOT_FOUND;
-+ }
-+
-+ path = tls_path_buffer;
-+#else
-+# error not implemented yet
-+#endif
- # else
- # error not implemented yet
- # endif
diff --git a/rdns-git/patches/patch-src_dev_cpp_utils.cpp b/rdns-git/patches/patch-src_dev_cpp_utils.cpp
deleted file mode 100644
index 37fa723..0000000
--- a/rdns-git/patches/patch-src_dev_cpp_utils.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD$
-
---- src/dev/cpp/utils.cpp.orig 2016-02-27 19:03:52.000000000 +0000
-+++ src/dev/cpp/utils.cpp
-@@ -45,6 +45,8 @@
- # include <sys/thr.h>
- # elif defined(__APPLE__)
- # include <pthread.h>
-+# elif defined(__NetBSD__)
-+# include <lwp.h>
- # endif
-
- # ifdef __TITLE__
-@@ -69,6 +71,8 @@ namespace dsn {
- return static_cast<int>(lwpid);
- # elif defined(__APPLE__)
- return static_cast<int>(pthread_mach_thread_np(pthread_self()));
-+# elif defined(__NetBSD__)
-+ return static_cast<int>(_lwp_self());
- # else
- # error not implemented yet
- # endif
-@@ -506,8 +510,3 @@ namespace dsn
- return true;
- }
- } // end namespace dsn
--
--
--
--
--
diff --git a/rdsn-git/DESCR b/rdsn-git/DESCR
new file mode 100644
index 0000000..c0dbd8e
--- /dev/null
+++ b/rdsn-git/DESCR
@@ -0,0 +1,24 @@
+Robust Distributed System Nucleus (rDSN)
+
+Developed by System Research Group of Microsoft Research Asia, Robust
+Distributed System Nucleus (rDSN), is now open source. rDSN is an open
+framework for developers, students, and researchers to quickly build and
+manage high-performance and robust distributed systems, and the latter is
+critical for the success of many emerging technologies today such as cloud
+computing, big data, and IoT (Internet of Things).
+
+The idea of this framework arises during the team's past efforts to (semi-)
+automatically test, debug, optimize, monitor, scale, replicate, compose, and
+reason about distributed systems. A lot of challenges were encountered in those
+projects, and most are due to the fact that the initial development process had
+not consider these goals, resulting later maintenance difficulties.
+
+rDSN provides a coherent framework from which developers build their systems
+with minor adjustment from traditional development styles. Code built on atop
+of rDSN conforms to certain principles, and can be upgraded later with little
+or no cost for achieving the aforementioned goals. An early version of rDSN has
+been used in Bing for building a distributed data service, and the system has
+been online and running well. Based on feedbacks from the production teams,
+rDSN is improved and now made public with an open source license. The goal is
+to benefit the community especially developers, students, and researchers who
+are working on distributed systems in various ways.
diff --git a/rdsn-git/Makefile b/rdsn-git/Makefile
new file mode 100644
index 0000000..bed02e6
--- /dev/null
+++ b/rdsn-git/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
+
+PKGNAME= rdsn-3.9.0
+CATEGORIES= net
+
+GIT_REPOSITORIES= rdsn
+GIT_REPO.rdsn= https://github.com/Microsoft/rDSN.git
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/Microsoft/rDSN
+COMMENT= Robust Distributed System Nucleus
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}/${PKGBASE}
+CONFIGURE_DIRS= ${WRKDIR}/build
+
+USE_TOOLS+= pax
+USE_LANGUAGES= c c++
+USE_CMAKE= yes
+GCC_REQD+= 4.8
+
+CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+= -DCMAKE_C_COMPILER=gcc
+CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=g++
+
+CMAKE_ARG_PATH= ${WRKSRC}
+
+INSTALLATION_DIRS= include
+
+post-extract:
+ ${RUN} mkdir -p ${WRKDIR}/build
+
+post-install:
+ cd ${WRKSRC}/include && ${PAX} -rw . ${DESTDIR}${PREFIX}/include
+
+.include "../../wip/mk/git-package.mk"
+.include "../../devel/boost-libs/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/rdsn-git/PLIST b/rdsn-git/PLIST
new file mode 100644
index 0000000..ba1c939
--- /dev/null
+++ b/rdsn-git/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+include/__libunwind_config.h
+include/libunwind.h
+include/mach-o/compact_unwind_encoding.h
+include/unwind.h
+lib/libunwind.so
+lib/libunwind.so.1
+lib/libunwind.so.1.0
diff --git a/rdsn-git/distinfo b/rdsn-git/distinfo
new file mode 100644
index 0000000..7a7c6c9
--- /dev/null
+++ b/rdsn-git/distinfo
@@ -0,0 +1,17 @@
+$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
+
+SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
+RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
+Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
+SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
+RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
+Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
+SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
+RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
+Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
+SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
+RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
+Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-include_dsn_internal_ports.h) = ded80af0cad9a718dc226be2aef24c194d7ba0ad
+SHA1 (patch-src_dev_cpp_file__utils.cpp) = 53c12e7167b329aa65922bc3df83cbcf8102c832
+SHA1 (patch-src_dev_cpp_utils.cpp) = 7574b9489f874817690ac28a4a84b346b2b877c0
diff --git a/rdsn-git/patches/patch-include_dsn_internal_ports.h b/rdsn-git/patches/patch-include_dsn_internal_ports.h
new file mode 100644
index 0000000..72daaf1
--- /dev/null
+++ b/rdsn-git/patches/patch-include_dsn_internal_ports.h
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- include/dsn/internal/ports.h.orig 2016-02-27 19:03:52.000000000 +0000
++++ include/dsn/internal/ports.h
+@@ -44,7 +44,7 @@ __pragma(warning(disable:4127))
+ # define __thread __declspec(thread)
+ # define __selectany __declspec(selectany) extern
+
+-# elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
++# elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
+
+ # include <unistd.h>
+
+@@ -120,4 +120,3 @@ namespace dsn
+ # define snprintf_p std::snprintf
+ # endif
+ # endif
+-
diff --git a/rdsn-git/patches/patch-src_dev_cpp_file__utils.cpp b/rdsn-git/patches/patch-src_dev_cpp_file__utils.cpp
new file mode 100644
index 0000000..7af515f
--- /dev/null
+++ b/rdsn-git/patches/patch-src_dev_cpp_file__utils.cpp
@@ -0,0 +1,45 @@
+$NetBSD$
+
+--- src/dev/cpp/file_utils.cpp.orig 2016-02-27 19:03:52.000000000 +0000
++++ src/dev/cpp/file_utils.cpp
+@@ -76,7 +76,11 @@
+
+ # if defined(__APPLE__)
+ # include <libproc.h>
+-#endif
++# endif
++
++# if defined(__NetBSD__)
++# include <sys/sysctl.h>
++# endif
+
+ # define getcwd_ getcwd
+ # define rmdir_ rmdir
+@@ -1102,6 +1106,27 @@ out_error:
+ }
+
+ path = tls_path_buffer;
++# elif defined(__NetBSD__)
++ if (pid == -1)
++ {
++ pid = ::getpid();
++ }
++
++#ifdef KERN_PROC_PATHNAME
++ static const int name[] = {
++ CTL_KERN, KERN_PROC_ARGS, pid, KERN_PROC_PATHNAME,
++ };
++
++ size_t len = TLS_PATH_BUFFER_SIZE;
++ if (sysctl(name, __arraycount(name), tls_path_buffer, &len, NULL, 0) == -1)
++ {
++ return ERR_PATH_NOT_FOUND;
++ }
++
++ path = tls_path_buffer;
++#else
++# error not implemented yet
++#endif
+ # else
+ # error not implemented yet
+ # endif
diff --git a/rdsn-git/patches/patch-src_dev_cpp_utils.cpp b/rdsn-git/patches/patch-src_dev_cpp_utils.cpp
new file mode 100644
index 0000000..37fa723
--- /dev/null
+++ b/rdsn-git/patches/patch-src_dev_cpp_utils.cpp
@@ -0,0 +1,31 @@
+$NetBSD$
+
+--- src/dev/cpp/utils.cpp.orig 2016-02-27 19:03:52.000000000 +0000
++++ src/dev/cpp/utils.cpp
+@@ -45,6 +45,8 @@
+ # include <sys/thr.h>
+ # elif defined(__APPLE__)
+ # include <pthread.h>
++# elif defined(__NetBSD__)
++# include <lwp.h>
+ # endif
+
+ # ifdef __TITLE__
+@@ -69,6 +71,8 @@ namespace dsn {
+ return static_cast<int>(lwpid);
+ # elif defined(__APPLE__)
+ return static_cast<int>(pthread_mach_thread_np(pthread_self()));
++# elif defined(__NetBSD__)
++ return static_cast<int>(_lwp_self());
+ # else
+ # error not implemented yet
+ # endif
+@@ -506,8 +510,3 @@ namespace dsn
+ return true;
+ }
+ } // end namespace dsn
+-
+-
+-
+-
+-
Home |
Main Index |
Thread Index |
Old Index