diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 3 | ||||
-rw-r--r-- | devel/bzr/Makefile | 40 | ||||
-rw-r--r-- | devel/bzr/distinfo | 3 | ||||
-rw-r--r-- | devel/bzr/files/patch-ssh_hostname | 167 | ||||
-rw-r--r-- | devel/bzr/pkg-descr | 7 | ||||
-rw-r--r-- | devel/chromium-gn/Makefile | 30 | ||||
-rw-r--r-- | devel/chromium-gn/pkg-descr | 4 | ||||
-rw-r--r-- | devel/mongo-cxx-driver/Makefile | 47 | ||||
-rw-r--r-- | devel/mongo-cxx-driver/distinfo | 3 | ||||
-rw-r--r-- | devel/mongo-cxx-driver/files/patch-SConstruct | 33 | ||||
-rw-r--r-- | devel/mongo-cxx-driver/files/patch-boost-1.67 | 26 | ||||
-rw-r--r-- | devel/mongo-cxx-driver/pkg-descr | 7 | ||||
-rw-r--r-- | devel/mongo-cxx-driver/pkg-plist | 112 |
13 files changed, 0 insertions, 482 deletions
diff --git a/devel/Makefile b/devel/Makefile index 583e8c8ee2f2..5d4a0fcddbc4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -270,7 +270,6 @@ SUBDIR += busybee SUBDIR += byacc SUBDIR += byaccj - SUBDIR += bzr SUBDIR += c2mdoc SUBDIR += caf SUBDIR += calibrator @@ -310,7 +309,6 @@ SUBDIR += checkbashisms SUBDIR += checkheaders SUBDIR += chroma - SUBDIR += chromium-gn SUBDIR += chrpath SUBDIR += chruby SUBDIR += cil @@ -1509,7 +1507,6 @@ SUBDIR += mm-common SUBDIR += modd SUBDIR += mongo-c-driver - SUBDIR += mongo-cxx-driver SUBDIR += mono-addins SUBDIR += monodevelop SUBDIR += monotone diff --git a/devel/bzr/Makefile b/devel/bzr/Makefile deleted file mode 100644 index 06318a137342..000000000000 --- a/devel/bzr/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# Created by: Ulf Lilleengen -# $FreeBSD$ - -PORTNAME= bzr -PORTVERSION= 2.7.0.6622 -CATEGORIES= devel -MASTER_SITES= https://distfiles.over-yonder.net/bzr/ - -MAINTAINER= fullermd@over-yonder.net -COMMENT= Distributed version control system by Canonical - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING.txt - -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testtools>=0:devel/py-testtools@${PY_FLAVOR} - -OPTIONS_DEFINE= SFTP CA_BUNDLE -SFTP_DESC= Paramiko for SFTP support -CA_BUNDLE_DESC= Include CA bundle for SSL cert validation -OPTIONS_DEFAULT= SFTP CA_BUNDLE - -SFTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR} -CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss - -USES= gettext python:2.7 shebangfix tar:xz -SHEBANG_FILES= bzr -USE_PYTHON= distutils cython autoplist -PYDISTUTILS_PKGNAME= bzr -MAKE_ENV= BZR_LOG=/dev/null - -WRKSRC= ${WRKDIR}/bzr-2.7.1dev - -post-install: - ${INSTALL_MAN} ${WRKSRC}/bzr.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bzrlib/*.so - -do-test: - cd ${WRKSRC} && ./bzr selftest - -.include <bsd.port.mk> diff --git a/devel/bzr/distinfo b/devel/bzr/distinfo deleted file mode 100644 index 2cf2821b7312..000000000000 --- a/devel/bzr/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1567646065 -SHA256 (bzr-2.7.0.6622.tar.xz) = 9aafabb8984c4c962526e150a2dfbf2908462df6c64ae7f0c2d26e58e3c59637 -SIZE (bzr-2.7.0.6622.tar.xz) = 5840088 diff --git a/devel/bzr/files/patch-ssh_hostname b/devel/bzr/files/patch-ssh_hostname deleted file mode 100644 index 46eb86bfcbf5..000000000000 --- a/devel/bzr/files/patch-ssh_hostname +++ /dev/null @@ -1,167 +0,0 @@ -Source: https://launchpadlibrarian.net/370632961/24_ssh_hostnames-lp1710979 -Description: Refuse to connect to ssh hostnames starting with a dash. Fixes LP:1710979 -Author: Jelmer Vernooij <jelmer@jelmer.uk> -Origin: commit, Revision ID: jelmer@jelmer.uk-20170819145828-qk2p7qlg5j2fbsiz - -* Security fix: hostnames starting with a dash in bzr+ssh URLs - are now filtered out when using a subprocess SSH client. - . - Thanks to Augie Fackler for reporting. - (Jelmer Vernooij, #1710979) - - -=== modified file 'bzrlib/tests/test_ssh_transport.py' ---- - bzrlib/tests/test_ssh_transport.py | 38 ++++++++++++++++++++++++++++++++++++- - bzrlib/transport/ssh.py | 16 +++++++++++++-- - 2 files changed, 51 insertions(+), 3 deletions(-) - -Index: bzrlib/tests/test_ssh_transport.py -=================================================================== ---- bzrlib/tests/test_ssh_transport.py -+++ bzrlib/tests/test_ssh_transport.py -@@ -22,6 +22,7 @@ from bzrlib.transport.ssh import ( - SSHCorpSubprocessVendor, - LSHSubprocessVendor, - SSHVendorManager, -+ StrangeHostname, - ) - - -@@ -161,6 +162,19 @@ class SSHVendorManagerTests(TestCase): - - class SubprocessVendorsTests(TestCase): - -+ def test_openssh_command_tricked(self): -+ vendor = OpenSSHSubprocessVendor() -+ self.assertEqual( -+ vendor._get_vendor_specific_argv( -+ "user", "-oProxyCommand=blah", 100, command=["bzr"]), -+ ["ssh", "-oForwardX11=no", "-oForwardAgent=no", -+ "-oClearAllForwardings=yes", -+ "-oNoHostAuthenticationForLocalhost=yes", -+ "-p", "100", -+ "-l", "user", -+ "--", -+ "-oProxyCommand=blah", "bzr"]) -+ - def test_openssh_command_arguments(self): - vendor = OpenSSHSubprocessVendor() - self.assertEqual( -@@ -171,6 +185,7 @@ class SubprocessVendorsTests(TestCase): - "-oNoHostAuthenticationForLocalhost=yes", - "-p", "100", - "-l", "user", -+ "--", - "host", "bzr"] - ) - -@@ -184,9 +199,16 @@ class SubprocessVendorsTests(TestCase): - "-oNoHostAuthenticationForLocalhost=yes", - "-p", "100", - "-l", "user", -- "-s", "host", "sftp"] -+ "-s", "--", "host", "sftp"] - ) - -+ def test_openssh_command_tricked(self): -+ vendor = SSHCorpSubprocessVendor() -+ self.assertRaises( -+ StrangeHostname, -+ vendor._get_vendor_specific_argv, -+ "user", "-oProxyCommand=host", 100, command=["bzr"]) -+ - def test_sshcorp_command_arguments(self): - vendor = SSHCorpSubprocessVendor() - self.assertEqual( -@@ -209,6 +231,13 @@ class SubprocessVendorsTests(TestCase): - "-s", "sftp", "host"] - ) - -+ def test_lsh_command_tricked(self): -+ vendor = LSHSubprocessVendor() -+ self.assertRaises( -+ StrangeHostname, -+ vendor._get_vendor_specific_argv, -+ "user", "-oProxyCommand=host", 100, command=["bzr"]) -+ - def test_lsh_command_arguments(self): - vendor = LSHSubprocessVendor() - self.assertEqual( -@@ -231,6 +260,13 @@ class SubprocessVendorsTests(TestCase): - "--subsystem", "sftp", "host"] - ) - -+ def test_plink_command_tricked(self): -+ vendor = PLinkSubprocessVendor() -+ self.assertRaises( -+ StrangeHostname, -+ vendor._get_vendor_specific_argv, -+ "user", "-oProxyCommand=host", 100, command=["bzr"]) -+ - def test_plink_command_arguments(self): - vendor = PLinkSubprocessVendor() - self.assertEqual( -Index: bzrlib/transport/ssh.py -=================================================================== ---- bzrlib/transport/ssh.py -+++ bzrlib/transport/ssh.py -@@ -46,6 +46,10 @@ else: - from paramiko.sftp_client import SFTPClient - - -+class StrangeHostname(errors.BzrError): -+ _fmt = "Refusing to connect to strange SSH hostname %(hostname)s" -+ -+ - SYSTEM_HOSTKEYS = {} - BZR_HOSTKEYS = {} - -@@ -360,6 +364,11 @@ class SubprocessVendor(SSHVendor): - # tests, but beware of using PIPE which may hang due to not being read. - _stderr_target = None - -+ @staticmethod -+ def _check_hostname(arg): -+ if arg.startswith('-'): -+ raise StrangeHostname(hostname=arg) -+ - def _connect(self, argv): - # Attempt to make a socketpair to use as stdin/stdout for the SSH - # subprocess. We prefer sockets to pipes because they support -@@ -424,9 +433,9 @@ class OpenSSHSubprocessVendor(Subprocess - if username is not None: - args.extend(['-l', username]) - if subsystem is not None: -- args.extend(['-s', host, subsystem]) -+ args.extend(['-s', '--', host, subsystem]) - else: -- args.extend([host] + command) -+ args.extend(['--', host] + command) - return args - - register_ssh_vendor('openssh', OpenSSHSubprocessVendor()) -@@ -439,6 +448,7 @@ class SSHCorpSubprocessVendor(Subprocess - - def _get_vendor_specific_argv(self, username, host, port, subsystem=None, - command=None): -+ self._check_hostname(host) - args = [self.executable_path, '-x'] - if port is not None: - args.extend(['-p', str(port)]) -@@ -460,6 +470,7 @@ class LSHSubprocessVendor(SubprocessVend - - def _get_vendor_specific_argv(self, username, host, port, subsystem=None, - command=None): -+ self._check_hostname(host) - args = [self.executable_path] - if port is not None: - args.extend(['-p', str(port)]) -@@ -481,6 +492,7 @@ class PLinkSubprocessVendor(SubprocessVe - - def _get_vendor_specific_argv(self, username, host, port, subsystem=None, - command=None): -+ self._check_hostname(host) - args = [self.executable_path, '-x', '-a', '-ssh', '-2', '-batch'] - if port is not None: - args.extend(['-P', str(port)]) diff --git a/devel/bzr/pkg-descr b/devel/bzr/pkg-descr deleted file mode 100644 index 3639a9d555a1..000000000000 --- a/devel/bzr/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Bazaar (bzr) is a decentralized revision control system, designed to be -easy for developers and end users alike. Bazaar is part of the GNU -project to develop a complete free operating systemand a project of -Canonical. Bazaar directly supports both central version control (like -cvs/svn) and distributed version control (like git/hg). - -WWW: http://bazaar.canonical.com/ diff --git a/devel/chromium-gn/Makefile b/devel/chromium-gn/Makefile deleted file mode 100644 index 32a5b13c4118..000000000000 --- a/devel/chromium-gn/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# $FreeBSD$ - -CATEGORIES= devel www -PKGNAMESUFFIX= -gn - -MAINTAINER= pizzamig@FreeBSD.org -COMMENT= Gn meta build framework - -DEPRECATED= Uses deprecated version of python, use devel/gn instead -EXPIRATION_DATE= 2020-12-31 - -MASTERDIR= ${.CURDIR}/../../www/chromium - -BROKEN_FreeBSD_11_powerpc64= fails to compile: safe_math_clang_gcc_impl.h:132:45: '__builtin_subcb' was not declared in this scope -BROKEN_FreeBSD_12_powerpc64= fails to compile: safe_math_clang_gcc_impl.h:132:45: '__builtin_subcb' was not declared in this scope - -BUILDTYPE= Release -NO_BUILD= yes - -PLIST= ${.CURDIR}/pkg-plist -PKGMESSAGE= ${.CURDIR}/pkg-message -DESCR= ${.CURDIR}/pkg-descr -PLIST_FILES= bin/gn - -GN_ONLY= yes - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/gn ${STAGEDIR}${PREFIX}/bin - -.include "${MASTERDIR}/Makefile" diff --git a/devel/chromium-gn/pkg-descr b/devel/chromium-gn/pkg-descr deleted file mode 100644 index 17c2b7485725..000000000000 --- a/devel/chromium-gn/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -GN is a meta-build system that generates NinjaBuild files so that you can build -Chromium with Ninja. - -WWW: https://chromium.googlesource.com/chromium/src/tools/gn/ diff --git a/devel/mongo-cxx-driver/Makefile b/devel/mongo-cxx-driver/Makefile deleted file mode 100644 index 5755e9ef6062..000000000000 --- a/devel/mongo-cxx-driver/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -# Created by: Simun Mikecin <numisemis@yahoo.com> -# $FreeBSD$ - -PORTNAME= mongo-cxx-driver -PORTVERSION= 1.1.2 -DISTVERSIONPREFIX=legacy- -PORTREVISION= 14 -CATEGORIES= devel - -MAINTAINER= numisemis@yahoo.com -COMMENT= MongoDB Legacy C++ Driver - -LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/APACHE-2.0.txt - -BROKEN_SSL= openssl -BROKEN_SSL_REASON_openssl= use of undeclared identifier 'BIO_s_file_internal' - -LIB_DEPENDS= libboost_system.so:devel/boost-libs - -MAKE_JOBS_UNSAFE= yes - -OPTIONS_DEFINE= SCRAM-SHA-1 -OPTIONS_DEFAULT= SCRAM-SHA-1 - -SCRAM-SHA-1_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 -SCRAM-SHA-1_MAKE_ARGS= --use-sasl-client --ssl -SCRAM-SHA-1_DESC= SCRAM-SHA-1 authentication mechanism support. - -USE_GITHUB= yes -GH_ACCOUNT= mongodb -GH_PROJECT= mongo-cxx-driver - -USES= compiler:c++11-lang scons:python2 ssl -MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ - --cc=${CC} \ - --cxx=${CXX} -USE_LDCONFIG= yes - -.include <bsd.port.pre.mk> - -.if ${SSL_DEFAULT} == base -BROKEN_FreeBSD_12= use of undeclared identifier 'BIO_s_file_internal' -BROKEN_FreeBSD_13= use of undeclared identifier 'BIO_s_file_internal' -.endif - -.include <bsd.port.post.mk> diff --git a/devel/mongo-cxx-driver/distinfo b/devel/mongo-cxx-driver/distinfo deleted file mode 100644 index 5317d88f11c5..000000000000 --- a/devel/mongo-cxx-driver/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1466666234 -SHA256 (mongodb-mongo-cxx-driver-legacy-1.1.2_GH0.tar.gz) = 8c52cae798086c3e9d0e6fe488c3378601db858cc71944b6b83440d8b00298f4 -SIZE (mongodb-mongo-cxx-driver-legacy-1.1.2_GH0.tar.gz) = 1577527 diff --git a/devel/mongo-cxx-driver/files/patch-SConstruct b/devel/mongo-cxx-driver/files/patch-SConstruct deleted file mode 100644 index 6b694d2724e5..000000000000 --- a/devel/mongo-cxx-driver/files/patch-SConstruct +++ /dev/null @@ -1,33 +0,0 @@ ---- SConstruct.orig 2015-08-18 15:46:59 UTC -+++ SConstruct -@@ -354,6 +354,30 @@ env_vars.Add('SHLINKFLAGS', - help='Sets flags for the linker when building shared libraries', - converter=variable_shlex_converter) - -+env_vars.Add('CXX', -+ help='Sets path to the C++ compiler', -+ converter=variable_shlex_converter) -+ -+env_vars.Add('CC', -+ help='Sets path to the C compiler', -+ converter=variable_shlex_converter) -+ -+env_vars.Add('PREFIX', -+ help='Sets PREFIX path', -+ converter=variable_shlex_converter) -+ -+env_vars.Add('PKGCONFIGDIR', -+ help='Sets PKGCONFIGDIR path', -+ converter=variable_shlex_converter) -+ -+env_vars.Add('destdir', -+ help='Sets destdir path', -+ converter=variable_shlex_converter) -+ -+env_vars.Add('DESTDIR', -+ help='Sets DESTDIR path', -+ converter=variable_shlex_converter) -+ - # don't run configure if user calls --help - if GetOption('help'): - Return() diff --git a/devel/mongo-cxx-driver/files/patch-boost-1.67 b/devel/mongo-cxx-driver/files/patch-boost-1.67 deleted file mode 100644 index bdfbf452653f..000000000000 --- a/devel/mongo-cxx-driver/files/patch-boost-1.67 +++ /dev/null @@ -1,26 +0,0 @@ -src/mongo/client/command_writer.cpp:68:78: error: no member named 'next' in namespace 'boost' - const std::vector<WriteOperation*>::const_iterator next = boost::next(batch_iter); - ~~~~~~~^ -src/mongo/util/net/message_port.h:34:38: error: expected class name -class AbstractMessagingPort : boost::noncopyable { - ^ - ---- src/mongo/util/net/message_port.h.orig 2016-06-21 19:15:24 UTC -+++ src/mongo/util/net/message_port.h -@@ -20,8 +20,15 @@ - #include "mongo/config.h" - - #include <boost/shared_ptr.hpp> --#include <boost/utility.hpp> - #include <vector> -+ -+#include <boost/version.hpp> -+#if BOOST_VERSION < 106700 -+#include <boost/utility.hpp> -+#else -+#include <boost/next_prior.hpp> -+#include <boost/noncopyable.hpp> -+#endif - - #include "mongo/util/net/message.h" - #include "mongo/util/net/sock.h" diff --git a/devel/mongo-cxx-driver/pkg-descr b/devel/mongo-cxx-driver/pkg-descr deleted file mode 100644 index 6cdd2952e7d7..000000000000 --- a/devel/mongo-cxx-driver/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Official Mongo C++ Driver - -Mongo (from "humongous") is a high-performance, open source, -schema-free, document-oriented database. A common name in the -"NOSQL" community. - -WWW: https://github.com/mongodb/mongo-cxx-driver diff --git a/devel/mongo-cxx-driver/pkg-plist b/devel/mongo-cxx-driver/pkg-plist deleted file mode 100644 index 7e2f87c89c8e..000000000000 --- a/devel/mongo-cxx-driver/pkg-plist +++ /dev/null @@ -1,112 +0,0 @@ -include/mongo/base/data_cursor.h -include/mongo/base/data_view.h -include/mongo/base/disallow_copying.h -include/mongo/base/encoded_value_storage.h -include/mongo/base/error_codes.h -include/mongo/base/parse_number.h -include/mongo/base/status-inl.h -include/mongo/base/status.h -include/mongo/base/status_with.h -include/mongo/base/string_data-inl.h -include/mongo/base/string_data.h -include/mongo/bson/bson-inl.h -include/mongo/bson/bson.h -include/mongo/bson/bson_db.h -include/mongo/bson/bson_field.h -include/mongo/bson/bson_validate.h -include/mongo/bson/bsonelement.h -include/mongo/bson/bsonmisc.h -include/mongo/bson/bsonobj.h -include/mongo/bson/bsonobjbuilder.h -include/mongo/bson/bsonobjiterator.h -include/mongo/bson/bsontypes.h -include/mongo/bson/inline_decls.h -include/mongo/bson/oid.h -include/mongo/bson/ordering.h -include/mongo/bson/timestamp.h -include/mongo/bson/util/builder.h -include/mongo/client/autolib.h -include/mongo/client/bulk_operation_builder.h -include/mongo/client/bulk_update_builder.h -include/mongo/client/bulk_upsert_builder.h -include/mongo/client/dbclient.h -include/mongo/client/dbclient_rs.h -include/mongo/client/dbclientcursor.h -include/mongo/client/dbclientinterface.h -include/mongo/client/exceptions.h -include/mongo/client/export_macros.h -include/mongo/client/gridfs.h -include/mongo/client/index_spec.h -include/mongo/client/init.h -include/mongo/client/options.h -include/mongo/client/redef_macros.h -include/mongo/client/sasl_client_authenticate.h -include/mongo/client/undef_macros.h -include/mongo/client/write_concern.h -include/mongo/client/write_options.h -include/mongo/client/write_result.h -include/mongo/config.h -include/mongo/db/jsobj.h -include/mongo/db/json.h -include/mongo/geo/boundingbox.h -include/mongo/geo/constants.h -include/mongo/geo/coordinates.h -include/mongo/geo/coordinates2d.h -include/mongo/geo/coordinates2dgeographic.h -include/mongo/geo/geometry.h -include/mongo/geo/geometrycollection.h -include/mongo/geo/geoobj.h -include/mongo/geo/interface.h -include/mongo/geo/linestring.h -include/mongo/geo/multilinestring.h -include/mongo/geo/multipoint.h -include/mongo/geo/multipolygon.h -include/mongo/geo/namespaces.h -include/mongo/geo/parser-impl.h -include/mongo/geo/parser.h -include/mongo/geo/point.h -include/mongo/geo/polygon.h -include/mongo/geo/queryutils.h -include/mongo/logger/appender.h -include/mongo/logger/component_message_log_domain.h -include/mongo/logger/labeled_level.h -include/mongo/logger/log_component.h -include/mongo/logger/log_component_settings.h -include/mongo/logger/log_domain.h -include/mongo/logger/log_manager.h -include/mongo/logger/log_severity-inl.h -include/mongo/logger/log_severity.h -include/mongo/logger/logger.h -include/mongo/logger/logstream_builder.h -include/mongo/logger/message_event.h -include/mongo/logger/message_log_domain.h -include/mongo/platform/atomic_intrinsics.h -include/mongo/platform/atomic_intrinsics_gcc_atomic.h -include/mongo/platform/atomic_intrinsics_gcc_intel.h -include/mongo/platform/atomic_intrinsics_gcc_sync.h -include/mongo/platform/atomic_intrinsics_win32.h -include/mongo/platform/atomic_word.h -include/mongo/platform/atomic_word_cxx11.h -include/mongo/platform/atomic_word_intrinsics.h -include/mongo/platform/compiler.h -include/mongo/platform/compiler_gcc.h -include/mongo/platform/compiler_msvc.h -include/mongo/platform/cstdint.h -include/mongo/platform/endian.h -include/mongo/platform/float_utils.h -include/mongo/platform/hash_namespace.h -include/mongo/platform/strnlen.h -include/mongo/platform/unordered_map.h -include/mongo/platform/windows_basic.h -include/mongo/stdx/functional.h -include/mongo/util/assert_util.h -include/mongo/util/mongoutils/str.h -include/mongo/util/net/hostandport.h -include/mongo/util/net/message.h -include/mongo/util/net/message_port.h -include/mongo/util/net/operation.h -include/mongo/util/net/sock.h -include/mongo/util/shared_buffer.h -include/mongo/util/time_support.h -include/mongo/version.h -lib/libmongoclient.a |