FreeBSD Bugzilla – Attachment 181014 Details for
Bug 217966
www/node012: Remove expired port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove www/node012
0002-www-node012-Remove-expired-port.diff (text/plain), 13.53 KB, created by
Bradley T. Hughes
on 2017-03-20 19:03:10 UTC
(
hide
)
Description:
Remove www/node012
Filename:
MIME Type:
Creator:
Bradley T. Hughes
Created:
2017-03-20 19:03:10 UTC
Size:
13.53 KB
patch
obsolete
>From dade674854229db998782a7bca9c9403b4d7af98 Mon Sep 17 00:00:00 2001 >From: "Bradley T. Hughes" <bradleythughes@fastmail.fm> >Date: Mon, 20 Mar 2017 08:32:05 +0000 >Subject: [PATCH 2/2] www/node012: Remove expired port. > >Support for Node.js 0.12.x ended on 2016-12-31. Users should upgrade to >a supported release. >--- > MOVED | 1 + > www/Makefile | 1 - > www/node012/Makefile | 61 ----------- > www/node012/distinfo | 3 - > www/node012/files/patch-common.gypi | 10 -- > ...h-deps_v8_src_base_platform_platform-freebsd.cc | 69 ------------- > ...tch-deps_v8_src_base_platform_platform-posix.cc | 11 -- > .../files/patch-deps_v8_src_compiler_instruction.h | 11 -- > www/node012/pkg-descr | 3 - > www/node012/pkg-message | 1 - > www/node012/pkg-plist | 113 --------------------- > 11 files changed, 1 insertion(+), 283 deletions(-) > delete mode 100644 www/node012/Makefile > delete mode 100644 www/node012/distinfo > delete mode 100644 www/node012/files/patch-common.gypi > delete mode 100644 www/node012/files/patch-deps_v8_src_base_platform_platform-freebsd.cc > delete mode 100644 www/node012/files/patch-deps_v8_src_base_platform_platform-posix.cc > delete mode 100644 www/node012/files/patch-deps_v8_src_compiler_instruction.h > delete mode 100644 www/node012/pkg-descr > delete mode 100644 www/node012/pkg-message > delete mode 100644 www/node012/pkg-plist > >diff --git MOVED MOVED >index 66117f0ddba6..bdcae79fdabf 100644 >--- MOVED >+++ MOVED >@@ -9144,3 +9144,4 @@ textproc/rubygem-github-markdown||2017-03-16|Has expired: This gem is not mainta > chinese/irssi|irc/irssi|2017-03-17|Use irc/irssi, which can handle Chinese locales > archivers/macutils||2017-03-19|Has expired: Not maintained in 16 years, many missing header inclusions > www/npm012|www/npm|2017-03-20|Has expired: Depends on deprecated www/node012. Please use www/npm instead. >+www/node012|www/node|2017-03-20|Has expired: Upstream support has ended. Please use www/node instead. >diff --git www/Makefile www/Makefile >index 31f511bfec0a..4f38d2b16293 100644 >--- www/Makefile >+++ www/Makefile >@@ -551,7 +551,6 @@ > SUBDIR += nginx-naxsi > SUBDIR += nibbleblog > SUBDIR += node >- SUBDIR += node012 > SUBDIR += node4 > SUBDIR += node6 > SUBDIR += nostromo >diff --git www/node012/Makefile www/node012/Makefile >deleted file mode 100644 >index fe3c736a33df..000000000000 >--- www/node012/Makefile >+++ /dev/null >@@ -1,61 +0,0 @@ >-# Created by: Jin-Sih Lin <linpct@gmail.com> >-# $FreeBSD$ >- >-PORTNAME= node >-PORTVERSION= 0.12.18 >-DISTVERSIONPREFIX= v >-CATEGORIES= www >-MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ >-PKGNAMESUFFIX= 012 >- >-MAINTAINER= bradleythughes@fastmail.fm >-COMMENT= V8 JavaScript for client and server >- >-LICENSE= MIT >-LICENSE_FILE= ${WRKSRC}/LICENSE >- >-USES= compiler execinfo gmake python:2 >-HAS_CONFIGURE= yes >-USE_LDCONFIG= yes >- >-DEPRECATED= Upstream has placed 0.12.x in maintenance mode, see https://github.com/nodejs/LTS#lts_schedule >-EXPIRATION_DATE= 2016-12-31 >- >-CONFLICTS_INSTALL= node[456]-[0-9]* node010-[0-9]* node-[0-9]* node-devel-[0-9]* iojs-[0-9]* >- >-ONLY_FOR_ARCHS= i386 amd64 >-CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --without-npm --shared-zlib >-PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} >-REINPLACE_ARGS= -i '' >-MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX} >- >-.include <bsd.port.pre.mk> >- >-.if ${COMPILER_TYPE} == clang >-MAKE_ENV+= LINK=clang++ >-CFLAGS+= -Wno-unused-private-field >-.if ${COMPILER_VERSION} >= 33 >-CFLAGS+= -Wno-nested-anon-types -Wno-unused-function >-.if ${COMPILER_VERSION} >= 34 >-CFLAGS+= -Wno-unused-const-variable >-.endif >-.endif >-.else >-MAKE_ARGS+= strictaliasing=off >-USE_GCC= any >-.endif >- >-post-patch: >- @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ >- ${WRKSRC}/deps/v8/tools/gyp/v8.gyp >- @${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ >- ${WRKSRC}/configure >- @${REINPLACE_CMD} -e "s|'python',|'${PYTHON_CMD}',|" \ >- ${WRKSRC}/deps/v8/build/shim_headers.gypi \ >- ${WRKSRC}/deps/v8/tools/gyp/v8.gyp \ >- ${WRKSRC}/deps/v8/src/d8.gyp >- >-post-install: >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node >- >-.include <bsd.port.post.mk> >diff --git www/node012/distinfo www/node012/distinfo >deleted file mode 100644 >index b24aa802477d..000000000000 >--- www/node012/distinfo >+++ /dev/null >@@ -1,3 +0,0 @@ >-TIMESTAMP = 1482769688 >-SHA256 (node-v0.12.18.tar.gz) = 6b48461dff7a002cedba45a016af81f66a79b465cee1d7bfe5bd74910c1a7bfa >-SIZE (node-v0.12.18.tar.gz) = 19842591 >diff --git www/node012/files/patch-common.gypi www/node012/files/patch-common.gypi >deleted file mode 100644 >index 4ab84352e646..000000000000 >--- www/node012/files/patch-common.gypi >+++ /dev/null >@@ -1,10 +0,0 @@ >---- common.gypi.orig 2016-09-28 09:34:52 UTC >-+++ common.gypi >-@@ -182,7 +182,6 @@ >- [ 'OS in "linux freebsd openbsd solaris android"', { >- 'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ], >- 'cflags_cc': [ >-- '-fno-delete-null-pointer-checks', >- '-fno-exceptions', >- '-fno-rtti', >- ], >diff --git www/node012/files/patch-deps_v8_src_base_platform_platform-freebsd.cc www/node012/files/patch-deps_v8_src_base_platform_platform-freebsd.cc >deleted file mode 100644 >index 501d6cf62b05..000000000000 >--- www/node012/files/patch-deps_v8_src_base_platform_platform-freebsd.cc >+++ /dev/null >@@ -1,69 +0,0 @@ >---- deps/v8/src/base/platform/platform-freebsd.cc.orig 2016-09-27 17:30:02 UTC >-+++ deps/v8/src/base/platform/platform-freebsd.cc >-@@ -131,23 +131,23 @@ std::vector<OS::SharedLibraryAddress> OS >- addr_buffer[0] = '0'; >- addr_buffer[1] = 'x'; >- addr_buffer[10] = 0; >-- int result = read(fd, addr_buffer + 2, 8); >-- if (result < 8) break; >-+ ssize_t bytes_read = read(fd, addr_buffer + 2, 8); >-+ if (bytes_read < 8) break; >- unsigned start = StringToLong(addr_buffer); >-- result = read(fd, addr_buffer + 2, 1); >-- if (result < 1) break; >-+ bytes_read = read(fd, addr_buffer + 2, 1); >-+ if (bytes_read < 1) break; >- if (addr_buffer[2] != '-') break; >-- result = read(fd, addr_buffer + 2, 8); >-- if (result < 8) break; >-+ bytes_read = read(fd, addr_buffer + 2, 8); >-+ if (bytes_read < 8) break; >- unsigned end = StringToLong(addr_buffer); >- char buffer[MAP_LENGTH]; >-- int bytes_read = -1; >-+ bytes_read = -1; >- do { >- bytes_read++; >- if (bytes_read >= MAP_LENGTH - 1) >- break; >-- result = read(fd, buffer + bytes_read, 1); >-- if (result < 1) break; >-+ bytes_read = read(fd, buffer + bytes_read, 1); >-+ if (bytes_read < 1) break; >- } while (buffer[bytes_read] != '\n'); >- buffer[bytes_read] = 0; >- // Ignore mappings that are not executable. >-@@ -182,13 +182,13 @@ VirtualMemory::VirtualMemory(size_t size >- >- VirtualMemory::VirtualMemory(size_t size, size_t alignment) >- : address_(NULL), size_(0) { >-- DCHECK(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); >-+ DCHECK((alignment % OS::AllocateAlignment()) == 0); >- size_t request_size = RoundUp(size + alignment, >- static_cast<intptr_t>(OS::AllocateAlignment())); >- void* reservation = mmap(OS::GetRandomMmapAddr(), >- request_size, >- PROT_NONE, >-- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >-+ MAP_PRIVATE | MAP_ANON, >- kMmapFd, >- kMmapFdOffset); >- if (reservation == MAP_FAILED) return; >-@@ -260,7 +260,7 @@ void* VirtualMemory::ReserveRegion(size_ >- void* result = mmap(OS::GetRandomMmapAddr(), >- size, >- PROT_NONE, >-- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, >-+ MAP_PRIVATE | MAP_ANON, >- kMmapFd, >- kMmapFdOffset); >- >-@@ -288,7 +288,7 @@ bool VirtualMemory::UncommitRegion(void* >- return mmap(base, >- size, >- PROT_NONE, >-- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, >-+ MAP_PRIVATE | MAP_ANON | MAP_FIXED, >- kMmapFd, >- kMmapFdOffset) != MAP_FAILED; >- } >diff --git www/node012/files/patch-deps_v8_src_base_platform_platform-posix.cc www/node012/files/patch-deps_v8_src_base_platform_platform-posix.cc >deleted file mode 100644 >index 851615c47682..000000000000 >--- www/node012/files/patch-deps_v8_src_base_platform_platform-posix.cc >+++ /dev/null >@@ -1,11 +0,0 @@ >---- deps/v8/src/base/platform/platform-posix.cc.orig 2016-09-27 17:30:02 UTC >-+++ deps/v8/src/base/platform/platform-posix.cc >-@@ -327,7 +327,7 @@ int OS::GetCurrentThreadId() { >- #elif V8_OS_ANDROID >- return static_cast<int>(gettid()); >- #else >-- return static_cast<int>(pthread_self()); >-+ return static_cast<int>(reinterpret_cast<intptr_t>(pthread_self())); >- #endif >- } >- >diff --git www/node012/files/patch-deps_v8_src_compiler_instruction.h www/node012/files/patch-deps_v8_src_compiler_instruction.h >deleted file mode 100644 >index 2b3cd9b8a5bf..000000000000 >--- www/node012/files/patch-deps_v8_src_compiler_instruction.h >+++ /dev/null >@@ -1,11 +0,0 @@ >---- deps/v8/src/compiler/instruction.h.orig 2016-09-27 17:30:02 UTC >-+++ deps/v8/src/compiler/instruction.h >-@@ -722,7 +722,7 @@ OStream& operator<<(OStream& os, const C >- >- typedef std::deque<Constant, zone_allocator<Constant> > ConstantDeque; >- typedef std::map<int, Constant, std::less<int>, >-- zone_allocator<std::pair<int, Constant> > > ConstantMap; >-+ zone_allocator<std::pair<const int, Constant> > > ConstantMap; >- >- >- typedef std::deque<Instruction*, zone_allocator<Instruction*> > >diff --git www/node012/pkg-descr www/node012/pkg-descr >deleted file mode 100644 >index 079aa9b45c25..000000000000 >--- www/node012/pkg-descr >+++ /dev/null >@@ -1,3 +0,0 @@ >-node - evented I/O for V8 javascript >- >-WWW: http://nodejs.org/ >diff --git www/node012/pkg-message www/node012/pkg-message >deleted file mode 100644 >index 87d7ce8d688e..000000000000 >--- www/node012/pkg-message >+++ /dev/null >@@ -1 +0,0 @@ >-Note: If you need npm (Node Package Manager), please install www/npm. >diff --git www/node012/pkg-plist www/node012/pkg-plist >deleted file mode 100644 >index 34aacf754b21..000000000000 >--- www/node012/pkg-plist >+++ /dev/null >@@ -1,113 +0,0 @@ >-bin/node >-include/node/android-ifaddrs.h >-include/node/ares.h >-include/node/ares_version.h >-include/node/common.gypi >-include/node/config.gypi >-include/node/libplatform/libplatform.h >-include/node/nameser.h >-include/node/node.h >-include/node/node_buffer.h >-include/node/node_internals.h >-include/node/node_object_wrap.h >-include/node/node_version.h >-include/node/openssl/aes.h >-include/node/openssl/asn1.h >-include/node/openssl/asn1_mac.h >-include/node/openssl/asn1t.h >-include/node/openssl/bio.h >-include/node/openssl/blowfish.h >-include/node/openssl/bn.h >-include/node/openssl/buffer.h >-include/node/openssl/camellia.h >-include/node/openssl/cast.h >-include/node/openssl/cmac.h >-include/node/openssl/cms.h >-include/node/openssl/comp.h >-include/node/openssl/conf.h >-include/node/openssl/conf_api.h >-include/node/openssl/crypto.h >-include/node/openssl/des.h >-include/node/openssl/des_old.h >-include/node/openssl/dh.h >-include/node/openssl/dsa.h >-include/node/openssl/dso.h >-include/node/openssl/dtls1.h >-include/node/openssl/e_os2.h >-include/node/openssl/ebcdic.h >-include/node/openssl/ec.h >-include/node/openssl/ecdh.h >-include/node/openssl/ecdsa.h >-include/node/openssl/engine.h >-include/node/openssl/err.h >-include/node/openssl/evp.h >-include/node/openssl/hmac.h >-include/node/openssl/idea.h >-include/node/openssl/krb5_asn.h >-include/node/openssl/kssl.h >-include/node/openssl/lhash.h >-include/node/openssl/md4.h >-include/node/openssl/md5.h >-include/node/openssl/mdc2.h >-include/node/openssl/modes.h >-include/node/openssl/obj_mac.h >-include/node/openssl/objects.h >-include/node/openssl/ocsp.h >-include/node/openssl/opensslconf.h >-include/node/openssl/opensslv.h >-include/node/openssl/ossl_typ.h >-include/node/openssl/pem.h >-include/node/openssl/pem2.h >-include/node/openssl/pkcs12.h >-include/node/openssl/pkcs7.h >-include/node/openssl/pqueue.h >-include/node/openssl/rand.h >-include/node/openssl/rc2.h >-include/node/openssl/rc4.h >-include/node/openssl/ripemd.h >-include/node/openssl/rsa.h >-include/node/openssl/safestack.h >-include/node/openssl/seed.h >-include/node/openssl/sha.h >-include/node/openssl/srp.h >-include/node/openssl/srtp.h >-include/node/openssl/ssl.h >-include/node/openssl/ssl2.h >-include/node/openssl/ssl23.h >-include/node/openssl/ssl3.h >-include/node/openssl/stack.h >-include/node/openssl/symhacks.h >-include/node/openssl/tls1.h >-include/node/openssl/ts.h >-include/node/openssl/txt_db.h >-include/node/openssl/ui.h >-include/node/openssl/ui_compat.h >-include/node/openssl/whrlpool.h >-include/node/openssl/x509.h >-include/node/openssl/x509_vfy.h >-include/node/openssl/x509v3.h >-include/node/pthread-fixes.h >-include/node/smalloc.h >-include/node/stdint-msvc2008.h >-include/node/tree.h >-include/node/uv-aix.h >-include/node/uv-bsd.h >-include/node/uv-darwin.h >-include/node/uv-errno.h >-include/node/uv-linux.h >-include/node/uv-sunos.h >-include/node/uv-threadpool.h >-include/node/uv-unix.h >-include/node/uv-version.h >-include/node/uv-win.h >-include/node/uv.h >-include/node/v8-debug.h >-include/node/v8-platform.h >-include/node/v8-profiler.h >-include/node/v8-testing.h >-include/node/v8-util.h >-include/node/v8.h >-include/node/v8config.h >-include/node/v8stdint.h >-@(,,444) man/man1/node.1.gz >-share/systemtap/tapset/node.stp >-- >2.12.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
bhughes
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 217966
: 181014