mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Remove some ports that were created despite the expirations in place
This commit is contained in:
parent
ed859f495d
commit
1dd154ab4c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=565350
2
MOVED
2
MOVED
@ -16166,3 +16166,5 @@ security/greenbone-security-assistant9|security/greenbone-security-assistant|202
|
||||
misc/pnpids|misc/hwdata|2021-02-14|Rename package to upstreams name
|
||||
misc/cdcollect||2021-02-14|Has expired: Unmaintained and dead upstream (12+ years) depends on deprecated libraries as www/gtkhtml3
|
||||
security/krb5-116|security/krb5-118|2021-02-14|Has expired: EOL one year after the release of krb5 1.18
|
||||
lang/tauthon||2021-02-15|Dead upstream, incompatible with python 2 and python 3
|
||||
www/palemoon||2021-02-15|Depends on expired version of python
|
||||
|
@ -343,7 +343,6 @@
|
||||
SUBDIR += squeak
|
||||
SUBDIR += squirrel
|
||||
SUBDIR += swi-pl
|
||||
SUBDIR += tauthon
|
||||
SUBDIR += tcbasic
|
||||
SUBDIR += tcc
|
||||
SUBDIR += tcl-manual
|
||||
|
@ -1,176 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# This Makefile was copied from lang/python27 and then gradually
|
||||
# adapted/cleaned-up for Tauthon.
|
||||
# As for lang/python27, some core modules with extraneous dependencies are
|
||||
# disabled, and should be made available in other ports if the need arises (see
|
||||
# 'pkg-message').
|
||||
# -- Olivier Certner <olce.freebsd.ports@certner.fr>
|
||||
PORTNAME= tauthon
|
||||
DISTVERSION= 2.8.2
|
||||
CATEGORIES= lang python
|
||||
|
||||
MAINTAINER= olce.freebsd.ports@certner.fr
|
||||
COMMENT= Backward-compatible fork of Python 2.7 interpreter with Python 3.x features
|
||||
|
||||
LICENSE= PSFL
|
||||
|
||||
USES= pathfix shebangfix autoreconf ncurses pkgconfig readline:port ssl tar:xz
|
||||
PATHFIX_MAKEFILEIN= Makefile.pre.in
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= naftaliharris
|
||||
GH_PROJECT= tauthon
|
||||
GH_TAGNAME= v${DISTVERSION}
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
# Piggyback on Python support in shebangfix
|
||||
python_CMD= ${PREFIX}/bin/${NAME_VERSION}
|
||||
# Better be safe than sorry
|
||||
.for _DIRS in Demo/cgi Demo/comparisons Demo/curses Demo/parser Demo/pdist \
|
||||
Demo/pysvr Demo/scripts Demo/sockets Demo/tkinter/guido Demo/turtle \
|
||||
Demo/zlib Doc/includes Doc/tools Lib Lib/encodings Lib/ensurepip \
|
||||
Lib/idlelib Lib/lib2to3/pgen2 Lib/lib2to3/tests \
|
||||
Lib/lib2to3/tests/data Lib/plat-mac Lib/test Lib/test/crashers \
|
||||
Mac/BuildScript Mac/scripts Mac/Tools Modules/_ctypes/libffi \
|
||||
Parser PCbuild Python Tools/compiler Tools/faqwiz Tools/freeze \
|
||||
Tools/gdb Tools/i18n Tools/nuget Tools/pybench Tools/scripts \
|
||||
Tools/ssl Tools/unicode Tools/webchecker
|
||||
SHEBANG_FILES+= ${_DIRS}/*.py
|
||||
.endfor
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --enable-shared
|
||||
CONFIGURE_ENV+= ac_cv_opt_olimit_ok=no OPT="" # Null out OPT to respect user CFLAGS and remove optimizations
|
||||
|
||||
INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files
|
||||
|
||||
TEST_TARGET= buildbottest
|
||||
TEST_ARGS= TESTOPTS=-j${MAKE_JOBS_NUMBER}
|
||||
|
||||
MAKE_ARGS+= INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library
|
||||
|
||||
PLIST_SUB= ABI=${ABIFLAGS} \
|
||||
PORTVERSION=${PORTVERSION} \
|
||||
VERSION_NOMICRO=${VERSION_NOMICRO} \
|
||||
OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. https://bugs.python.org/issue19554
|
||||
|
||||
OPTIONS_DEFINE= DEBUG IPV6 LIBFFI LTO NLS OPTIMIZATIONS PYMALLOC THREADS
|
||||
OPTIONS_DEFAULT= LIBFFI PYMALLOC THREADS UCS4
|
||||
OPTIONS_SINGLE= UNICODE
|
||||
OPTIONS_SINGLE_UNICODE= UCS2 UCS4
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
LIBFFI_DESC= Use libffi from ports instead of bundled version
|
||||
LTO_DESC= Apply Link-Time Optimizations (needs OPTIMIZATIONS)
|
||||
NLS_DESC= Enable gettext support for the locale module
|
||||
OPTIMIZATIONS_DESC= Enable code optimizations and PGO (BROKEN)
|
||||
UCS2_DESC= Enable UCS2 Unicode Strings
|
||||
UCS4_DESC= Enable UCS4 Unicode Strings
|
||||
PYMALLOC_DESC= Enable specialized mallocs
|
||||
|
||||
DEBUG_CONFIGURE_WITH= pydebug
|
||||
IPV6_CONFIGURE_ENABLE= ipv6
|
||||
LIBFFI_CONFIGURE_WITH= system-ffi
|
||||
LIBFFI_LIB_DEPENDS= libffi.so:devel/libffi
|
||||
|
||||
LTO_IMPLIES= OPTIMIZATIONS
|
||||
LTO_CONFIGURE_WITH= lto
|
||||
|
||||
# Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat
|
||||
# to break in Python 2.7, or preprocessor complaints in Python >= 3.3
|
||||
# Upstream Issue: https://bugs.python.org/issue6299
|
||||
NLS_USES= gettext
|
||||
NLS_CPPFLAGS= -I${LOCALBASE}/include
|
||||
NLS_LIBS= -L${LOCALBASE}/lib -lintl
|
||||
NLS_CONFIGURE_ENV_OFF= ac_cv_lib_intl_textdomain=no ac_cv_header_libintl_h=no
|
||||
|
||||
OPTIMIZATIONS_CONFIGURE_ENABLE= optimizations
|
||||
OPTIMIZATIONS_BROKEN= Please disable OPTIMIZATIONS option for now\
|
||||
(some tests fail and no PGO profile is computed)
|
||||
|
||||
PYMALLOC_CONFIGURE_WITH=pymalloc
|
||||
|
||||
THREADS_CONFIGURE_WITH= threads
|
||||
THREADS_LDFLAGS= -lpthread
|
||||
|
||||
UCS2_CONFIGURE_ENABLE= unicode=ucs2
|
||||
UCS4_CONFIGURE_ENABLE= unicode=ucs4
|
||||
|
||||
PYTHON_PORTVERSION= ${DISTVERSION}
|
||||
|
||||
VERSION_NOMICRO= ${DISTVERSION:R}
|
||||
NAME_VERSION= tauthon${VERSION_NOMICRO}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# https://bugs.python.org/issue22521
|
||||
# https://bugs.python.org/issue23042
|
||||
.if !${PORT_OPTIONS:MLIBFFI} && ${ARCH} == i386
|
||||
BROKEN= You must use libffi from ports on i386. Enable the LIBFFI option
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == i386
|
||||
PLIST_SUB+= X86_ONLY=""
|
||||
.else
|
||||
PLIST_SUB+= X86_ONLY="@comment "
|
||||
.endif
|
||||
|
||||
.if ${ARCH:M*64*}
|
||||
PLIST_SUB+= 32BIT_ONLY="@comment "
|
||||
.else
|
||||
PLIST_SUB+= 32BIT_ONLY=""
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == powerpc64
|
||||
MAKE_ENV+= UNAME_m="powerpc64"
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == sparc64
|
||||
CFLAGS+= -DPYTHON_DEFAULT_RECURSION_LIMIT=900
|
||||
.endif
|
||||
|
||||
# See https://bugs.freebsd.org/115940 and https://bugs.freebsd.org/193650
|
||||
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS)
|
||||
PLIST_SUB+= NO_NIS="@comment "
|
||||
.else
|
||||
PLIST_SUB+= NO_NIS=""
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
|
||||
${WRKSRC}/Lib/cgi.py
|
||||
|
||||
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS)
|
||||
@${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \
|
||||
${WRKSRC}/setup.py
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
# Create symlink for tauthon executable
|
||||
${RLN} ${STAGEDIR}${PREFIX}/bin/${NAME_VERSION} \
|
||||
${STAGEDIR}${PREFIX}/bin/tauthon
|
||||
# Strip shared extensions
|
||||
for i in ${STAGEDIR}${PREFIX}/lib/${NAME_VERSION}/lib-dynload/*.so; do \
|
||||
${STRIP_CMD} $$i; done
|
||||
# This code block exists for the qemu-user enabled cross build environment.
|
||||
# When using this environment in poudriere, CC is not set to the default
|
||||
# of /usr/bin/cc and a cross-compile toolchain is used. We need to hand
|
||||
# edit this so that the run time configuration for python matches what the
|
||||
# FreeBSD base system provides. sbruno 02Aug2017
|
||||
.if ${CC} == /nxb-bin/usr/bin/cc
|
||||
@${REINPLACE_CMD} -e 's=/nxb-bin==' \
|
||||
${STAGEDIR}${PREFIX}/lib/${NAME_VERSION}/_sysconfigdata.py
|
||||
@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
|
||||
./tauthon -E -m compileall -d ${PREFIX}/lib/${NAME_VERSION} \
|
||||
${STAGEDIR}${PREFIX}/lib/${NAME_VERSION}/_sysconfigdata.py
|
||||
@cd ${WRKSRC} && ${SETENV} LD_LIBRARY_PATH=${WRKSRC} \
|
||||
./tauthon -E -O -m compileall -d ${PREFIX}/lib/${NAME_VERSION} \
|
||||
${STAGEDIR}${PREFIX}/lib/${NAME_VERSION}/_sysconfigdata.py
|
||||
@${REINPLACE_CMD} -e 's=/nxb-bin==' \
|
||||
${STAGEDIR}${PREFIX}/lib/${NAME_VERSION}/config/Makefile
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/Tools/gdb/libpython.py \
|
||||
${STAGEDIR}${PREFIX}/lib/lib${NAME_VERSION}.so.1-gdb.py
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1604584539
|
||||
SHA256 (naftaliharris-tauthon-2.8.2-v2.8.2_GH0.tar.gz) = 9423756fcb0afb652ae1ce3c7f0ac195e731e3a4f535a703991cf76bcb3ce267
|
||||
SIZE (naftaliharris-tauthon-2.8.2-v2.8.2_GH0.tar.gz) = 17701363
|
@ -1,10 +0,0 @@
|
||||
--- ./Doc/library/fcntl.rst.orig 2014-07-03 21:53:41.473098625 +1000
|
||||
+++ ./Doc/library/fcntl.rst 2014-07-03 21:54:04.342833056 +1000
|
||||
@@ -50,7 +50,6 @@ The module defines the following functio
|
||||
operations are typically defined in the library module :mod:`termios` and the
|
||||
argument handling is even more complicated.
|
||||
|
||||
- The op parameter is limited to values that can fit in 32-bits.
|
||||
Additional constants of interest for use as the *op* argument can be
|
||||
found in the :mod:`termios` module, under the same names as used in
|
||||
the relevant C header files.
|
@ -1,17 +0,0 @@
|
||||
# Description: A non-invasive partial backport of the Python3 distutils behaviour.
|
||||
# This allows Python's scripts to be properly suffixed (similar to Python 3.x) on
|
||||
# installation.
|
||||
# Submitted by: mva
|
||||
|
||||
--- Lib/distutils/command/build_scripts.py.orig 2014-07-26 09:52:20.000000000 UTC
|
||||
+++ Lib/distutils/command/build_scripts.py 2014-07-26 09:52:56.000000000 UTC
|
||||
@@ -126,6 +126,9 @@ class build_scripts (Command):
|
||||
file, oldmode, newmode)
|
||||
os.chmod(file, newmode)
|
||||
|
||||
+ # XXX should we modify self.outfiles?
|
||||
+ return outfiles
|
||||
+
|
||||
# copy_scripts ()
|
||||
|
||||
# class build_scripts
|
@ -1,34 +0,0 @@
|
||||
From 9934ce31b8447667f71c211e559a8de71e8263db Mon Sep 17 00:00:00 2001
|
||||
From: Brendan Molloy <brendan@bbqsrc.net>
|
||||
Date: Mon, 4 Jan 2016 23:14:06 +1100
|
||||
Subject: [PATCH] Check bytecode file actually exists and tests
|
||||
|
||||
Should solve issue 20397, where using the --record argument results
|
||||
in files that failed to generate bytecode files are added to the
|
||||
record file nonetheless.
|
||||
---
|
||||
Lib/distutils/command/install_lib.py | 17 +++++++++++++----
|
||||
Lib/distutils/tests/test_install_lib.py | 8 ++++++--
|
||||
2 files changed, 19 insertions(+), 6 deletions(-)
|
||||
|
||||
--- Lib/distutils/command/install_lib.py.orig 2015-12-05 19:46:56 UTC
|
||||
+++ Lib/distutils/command/install_lib.py
|
||||
@@ -168,10 +168,14 @@ class install_lib(Command):
|
||||
ext = os.path.splitext(os.path.normcase(py_file))[1]
|
||||
if ext != PYTHON_SOURCE_EXTENSION:
|
||||
continue
|
||||
- if self.compile:
|
||||
- bytecode_files.append(py_file + "c")
|
||||
- if self.optimize > 0:
|
||||
- bytecode_files.append(py_file + "o")
|
||||
+
|
||||
+ pyc_file = py_file + "c"
|
||||
+ if self.compile and os.path.isfile(pyc_file):
|
||||
+ bytecode_files.append(pyc_file)
|
||||
+
|
||||
+ pyo_file = py_file + "o"
|
||||
+ if self.optimize > 0 and os.path.isfile(pyo_file):
|
||||
+ bytecode_files.append(pyo_file)
|
||||
|
||||
return bytecode_files
|
||||
|
@ -1,30 +0,0 @@
|
||||
From 9934ce31b8447667f71c211e559a8de71e8263db Mon Sep 17 00:00:00 2001
|
||||
From: Brendan Molloy <brendan@bbqsrc.net>
|
||||
Date: Mon, 4 Jan 2016 23:14:06 +1100
|
||||
Subject: [PATCH] Check bytecode file actually exists and tests
|
||||
|
||||
Should solve issue 20397, where using the --record argument results
|
||||
in files that failed to generate bytecode files are added to the
|
||||
record file nonetheless.
|
||||
---
|
||||
Lib/distutils/command/install_lib.py | 17 +++++++++++++----
|
||||
Lib/distutils/tests/test_install_lib.py | 8 ++++++--
|
||||
2 files changed, 19 insertions(+), 6 deletions(-)
|
||||
|
||||
--- Lib/distutils/tests/test_install_lib.py.orig 2015-12-05 19:46:57 UTC
|
||||
+++ Lib/distutils/tests/test_install_lib.py
|
||||
@@ -64,8 +64,12 @@ class InstallLibTestCase(support.Tempdir
|
||||
cmd.distribution.packages = [pkg_dir]
|
||||
cmd.distribution.script_name = 'setup.py'
|
||||
|
||||
- # get_output should return 4 elements
|
||||
- self.assertGreaterEqual(len(cmd.get_outputs()), 2)
|
||||
+ # Create rubbish, uncompilable file
|
||||
+ f = os.path.join(pkg_dir, 'rubbish.py')
|
||||
+ self.write_file(f, 'rubbish()')
|
||||
+
|
||||
+ # get_output should return 3 elements
|
||||
+ self.assertEqual(len(cmd.get_outputs()), 3)
|
||||
|
||||
def test_get_inputs(self):
|
||||
pkg_dir, dist = self.create_dist()
|
@ -1,19 +0,0 @@
|
||||
# Taken and adapted from lang/python27 port
|
||||
# Description: Link scripts in the same way Python3 does
|
||||
# Submitted by: mva
|
||||
|
||||
--- Makefile.pre.in.orig 2014-06-30 04:05:39.000000000 +0200
|
||||
+++ Makefile.pre.in 2014-07-26 11:09:46.000000000 +0200
|
||||
@@ -900,6 +900,12 @@ bininstall: altbininstall
|
||||
(cd $(DESTDIR)$(LIBPC); $(LN) -s tauthon-$(VERSION).pc tauthon2.pc)
|
||||
-rm -f $(DESTDIR)$(LIBPC)/tauthon.pc
|
||||
(cd $(DESTDIR)$(LIBPC); $(LN) -s tauthon2.pc tauthon.pc)
|
||||
+ -rm -f $(DESTDIR)$(BINDIR)/idle
|
||||
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle2)
|
||||
+ -rm -f $(DESTDIR)$(BINDIR)/pydoc
|
||||
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc2)
|
||||
+ -rm -f $(DESTDIR)$(BINDIR)/2to3
|
||||
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3)
|
||||
|
||||
# Install the interpreter with $(VERSION) affixed
|
||||
# This goes into $(exec_prefix)
|
@ -1,21 +0,0 @@
|
||||
# pythonx.y-config --ldflags out of /usr and missing -L<install_lib_dir>
|
||||
# https://bugs.python.org/issue7352
|
||||
|
||||
--- Misc/python-config.in.orig 2015-10-18 07:24:01 UTC
|
||||
+++ Misc/python-config.in
|
||||
@@ -21,6 +21,7 @@ except getopt.error:
|
||||
if not opts:
|
||||
exit_with_usage()
|
||||
|
||||
+libdir = sysconfig.EXEC_PREFIX + '/lib'
|
||||
pyver = sysconfig.get_config_var('VERSION')
|
||||
getvar = sysconfig.get_config_var
|
||||
|
||||
@@ -50,6 +51,7 @@ for opt in opt_flags:
|
||||
# add the prefix/lib/pythonX.Y/config dir, but only if there is no
|
||||
# shared library in prefix/lib/.
|
||||
if opt == '--ldflags':
|
||||
+ libs.insert(0, '-L' + libdir)
|
||||
if not getvar('Py_ENABLE_SHARED'):
|
||||
libs.insert(0, '-L' + getvar('LIBPL'))
|
||||
if not getvar('PYTHONFRAMEWORK'):
|
@ -1,53 +0,0 @@
|
||||
--- ./Modules/fcntlmodule.c.orig 2014-07-03 21:57:10.429953240 +1000
|
||||
+++ ./Modules/fcntlmodule.c 2014-07-03 21:59:36.517210444 +1000
|
||||
@@ -98,20 +98,15 @@ fcntl_ioctl(PyObject *self, PyObject *ar
|
||||
{
|
||||
#define IOCTL_BUFSZ 1024
|
||||
int fd;
|
||||
- /* In PyArg_ParseTuple below, we use the unsigned non-checked 'I'
|
||||
+ /* In PyArg_ParseTuple below, we use the unsigned non-checked 'k'
|
||||
format for the 'code' parameter because Python turns 0x8000000
|
||||
into either a large positive number (PyLong or PyInt on 64-bit
|
||||
platforms) or a negative number on others (32-bit PyInt)
|
||||
whereas the system expects it to be a 32bit bit field value
|
||||
regardless of it being passed as an int or unsigned long on
|
||||
- various platforms. See the termios.TIOCSWINSZ constant across
|
||||
- platforms for an example of this.
|
||||
-
|
||||
- If any of the 64bit platforms ever decide to use more than 32bits
|
||||
- in their unsigned long ioctl codes this will break and need
|
||||
- special casing based on the platform being built on.
|
||||
+ various platforms.
|
||||
*/
|
||||
- unsigned int code;
|
||||
+ unsigned long code;
|
||||
int arg;
|
||||
int ret;
|
||||
char *str;
|
||||
@@ -119,7 +114,7 @@ fcntl_ioctl(PyObject *self, PyObject *ar
|
||||
int mutate_arg = 1;
|
||||
char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */
|
||||
|
||||
- if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl",
|
||||
+ if (PyArg_ParseTuple(args, "O&kw#|i:ioctl",
|
||||
conv_descriptor, &fd, &code,
|
||||
&str, &len, &mutate_arg)) {
|
||||
char *arg;
|
||||
@@ -170,7 +165,7 @@ fcntl_ioctl(PyObject *self, PyObject *ar
|
||||
}
|
||||
|
||||
PyErr_Clear();
|
||||
- if (PyArg_ParseTuple(args, "O&Is#:ioctl",
|
||||
+ if (PyArg_ParseTuple(args, "O&ks#:ioctl",
|
||||
conv_descriptor, &fd, &code, &str, &len)) {
|
||||
if (len > IOCTL_BUFSZ) {
|
||||
PyErr_SetString(PyExc_ValueError,
|
||||
@@ -192,7 +187,7 @@ fcntl_ioctl(PyObject *self, PyObject *ar
|
||||
PyErr_Clear();
|
||||
arg = 0;
|
||||
if (!PyArg_ParseTuple(args,
|
||||
- "O&I|i;ioctl requires a file or file descriptor,"
|
||||
+ "O&k|i;ioctl requires a file or file descriptor,"
|
||||
" an integer and optionally an integer or buffer argument",
|
||||
conv_descriptor, &fd, &code, &arg)) {
|
||||
return NULL;
|
@ -1,27 +0,0 @@
|
||||
# Add closefrom(2) support
|
||||
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242274
|
||||
# https://bugs.python.org/issue38061
|
||||
# TODO: Upstream
|
||||
|
||||
--- Modules/posixmodule.c.orig 2019-10-19 18:38:44 UTC
|
||||
+++ Modules/posixmodule.c
|
||||
@@ -6676,9 +6676,16 @@ posix_closerange(PyObject *self, PyObject *args)
|
||||
if (!PyArg_ParseTuple(args, "ii:closerange", &fd_from, &fd_to))
|
||||
return NULL;
|
||||
Py_BEGIN_ALLOW_THREADS
|
||||
- for (i = fd_from; i < fd_to; i++)
|
||||
- if (_PyVerify_fd(i))
|
||||
- close(i);
|
||||
+#ifdef __FreeBSD__
|
||||
+ if (fd_to >= sysconf(_SC_OPEN_MAX)) {
|
||||
+ closefrom(fd_from);
|
||||
+ } else
|
||||
+#endif
|
||||
+ {
|
||||
+ for (i = fd_from; i < fd_to; i++)
|
||||
+ if (_PyVerify_fd(i))
|
||||
+ close(i);
|
||||
+ }
|
||||
Py_END_ALLOW_THREADS
|
||||
Py_RETURN_NONE;
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Description: do not define __BSD_VISIBLE/_XOPEN_SOURCE/_POSIX_C_SOURCE
|
||||
# in include/python2.7/pyconfig.h
|
||||
# Submitted by: antoine
|
||||
|
||||
--- configure.orig 2014-09-06 14:42:50 UTC
|
||||
+++ configure
|
||||
@@ -2919,13 +2919,6 @@
|
||||
|
||||
|
||||
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
|
||||
-# certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
|
||||
-# them.
|
||||
-
|
||||
-$as_echo "#define __BSD_VISIBLE 1" >>confdefs.h
|
||||
-
|
||||
-
|
||||
-# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
|
||||
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
|
||||
|
||||
$as_echo "#define _BSD_TYPES 1" >>confdefs.h
|
||||
@@ -3293,9 +3286,8 @@
|
||||
# but used in struct sockaddr.sa_family. Reported by Tim Rice.
|
||||
SCO_SV/3.2)
|
||||
define_xopen_source=no;;
|
||||
- # On FreeBSD 4, the math functions C89 does not cover are never defined
|
||||
- # with _XOPEN_SOURCE and __BSD_VISIBLE does not re-enable them.
|
||||
- FreeBSD/4.*)
|
||||
+ # On FreeBSD, defining _XOPEN_SOURCE to 600 requests a strict environment.
|
||||
+ FreeBSD/*)
|
||||
define_xopen_source=no;;
|
||||
# On MacOS X 10.2, a bug in ncurses.h means that it craps out if
|
||||
# _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which
|
||||
--- configure.ac.orig 2014-09-06 14:42:50 UTC
|
||||
+++ configure.ac
|
||||
@@ -88,11 +88,6 @@
|
||||
AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features])
|
||||
|
||||
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
|
||||
-# certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
|
||||
-# them.
|
||||
-AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features])
|
||||
-
|
||||
-# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
|
||||
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
|
||||
AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
|
||||
|
||||
@@ -426,9 +421,8 @@
|
||||
# but used in struct sockaddr.sa_family. Reported by Tim Rice.
|
||||
SCO_SV/3.2)
|
||||
define_xopen_source=no;;
|
||||
- # On FreeBSD 4, the math functions C89 does not cover are never defined
|
||||
- # with _XOPEN_SOURCE and __BSD_VISIBLE does not re-enable them.
|
||||
- FreeBSD/4.*)
|
||||
+ # On FreeBSD, defining _XOPEN_SOURCE to 600 requests a strict environment.
|
||||
+ FreeBSD/*)
|
||||
define_xopen_source=no;;
|
||||
# On MacOS X 10.2, a bug in ncurses.h means that it craps out if
|
||||
# _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which
|
@ -1,93 +0,0 @@
|
||||
# Description: Partial script installation backport from Python3
|
||||
# Submitted by: mva
|
||||
|
||||
# Description: Some modules are installed via other ports
|
||||
|
||||
# Description: ossaudiodev detection fix backport
|
||||
|
||||
--- setup.py.orig 2017-04-22 03:42:03 UTC
|
||||
+++ setup.py
|
||||
@@ -15,6 +15,7 @@ from distutils.core import Extension, se
|
||||
from distutils.command.build_ext import build_ext
|
||||
from distutils.command.install import install
|
||||
from distutils.command.install_lib import install_lib
|
||||
+from distutils.command.build_scripts import build_scripts
|
||||
from distutils.spawn import find_executable
|
||||
|
||||
cross_compiling = "_PYTHON_HOST_PLATFORM" in os.environ
|
||||
@@ -33,7 +34,7 @@ host_platform = get_platform()
|
||||
COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
|
||||
|
||||
# This global variable is used to hold the list of modules to be disabled.
|
||||
-disabled_module_list = []
|
||||
+disabled_module_list = ["_bsddb", "_sqlite3", "_tkinter", "gdbm", "mpz"]
|
||||
|
||||
def add_dir_to_list(dirlist, dir):
|
||||
"""Add the directory 'dir' to the list 'dirlist' (at the front) if
|
||||
@@ -1234,7 +1235,7 @@ class PyBuildExt(build_ext):
|
||||
sysroot = macosx_sdk_root()
|
||||
f = os.path.join(sysroot, f[1:])
|
||||
|
||||
- if os.path.exists(f) and not db_incs:
|
||||
+ if os.path.exists(f):
|
||||
data = open(f).read()
|
||||
m = re.search(r"#s*define\s+HASHVERSION\s+2\s*", data)
|
||||
if m is not None:
|
||||
@@ -1624,9 +1625,10 @@ class PyBuildExt(build_ext):
|
||||
else:
|
||||
missing.append('linuxaudiodev')
|
||||
|
||||
- if (host_platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',
|
||||
- 'freebsd7', 'freebsd8')
|
||||
- or host_platform.startswith("gnukfreebsd")):
|
||||
+# Initial backport of https://hg.python.org/cpython/rev/50f1922bc1d5
|
||||
+
|
||||
+ if any(sys.platform.startswith(prefix)
|
||||
+ for prefix in ("linux", "freebsd", "gnukfreebsd")):
|
||||
exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )
|
||||
else:
|
||||
missing.append('ossaudiodev')
|
||||
@@ -2200,6 +2202,22 @@ class PyBuildInstallLib(install_lib):
|
||||
def is_chmod_supported(self):
|
||||
return hasattr(os, 'chmod')
|
||||
|
||||
+class PyBuildScripts(build_scripts):
|
||||
+ def copy_scripts(self):
|
||||
+ outfiles = build_scripts.copy_scripts(self)
|
||||
+ fullversion = '{0[0]}.{0[1]}'.format(sys.version_info)
|
||||
+ newoutfiles = []
|
||||
+ for filename in outfiles:
|
||||
+ if filename.endswith('2to3'):
|
||||
+ newfilename = filename + '-' + fullversion
|
||||
+ else:
|
||||
+ newfilename = filename + fullversion
|
||||
+ log.info('renaming {} to {}'.format(filename, newfilename))
|
||||
+ os.rename(filename, newfilename)
|
||||
+ newoutfiles.append(newfilename)
|
||||
+ return newoutfiles
|
||||
+
|
||||
+
|
||||
SUMMARY = """
|
||||
Python is an interpreted, interactive, object-oriented programming
|
||||
language. It is often compared to Tcl, Perl, Scheme or Java.
|
||||
@@ -2245,7 +2263,9 @@ def main():
|
||||
platforms = ["Many"],
|
||||
|
||||
# Build info
|
||||
- cmdclass = {'build_ext':PyBuildExt, 'install':PyBuildInstall,
|
||||
+ cmdclass = {'build_ext':PyBuildExt,
|
||||
+ 'build_scripts':PyBuildScripts,
|
||||
+ 'install':PyBuildInstall,
|
||||
'install_lib':PyBuildInstallLib},
|
||||
# The struct module is defined here, because build_ext won't be
|
||||
# called unless there's at least one extension module defined.
|
||||
@@ -2253,8 +2273,7 @@ def main():
|
||||
|
||||
# Scripts to install
|
||||
scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle',
|
||||
- 'Tools/scripts/2to3',
|
||||
- 'Lib/smtpd.py']
|
||||
+ 'Tools/scripts/2to3']
|
||||
)
|
||||
|
||||
# --install-platlib
|
@ -1,29 +0,0 @@
|
||||
--- setup.py 2020-11-10 14:32:40.701965000 +0000
|
||||
+++ setup.py 2020-11-10 14:53:04.048189000 +0000
|
||||
@@ -2329,6 +2329,10 @@
|
||||
listed here, it may still be supported, if there's a C compiler for
|
||||
it. Ask around on comp.lang.python -- or just try compiling Python
|
||||
yourself.
|
||||
+
|
||||
+This implementation, Tauthon, is a backward-compatible fork of
|
||||
+Python's 2.7.18 interpreter with new syntax, builtins, and libraries
|
||||
+backported from Python 3.x.
|
||||
"""
|
||||
|
||||
CLASSIFIERS = """
|
||||
@@ -2345,12 +2349,12 @@
|
||||
import warnings
|
||||
warnings.filterwarnings("ignore",category=DeprecationWarning)
|
||||
setup(# PyPI Metadata (PEP 301)
|
||||
name = "Python",
|
||||
version = sys.version.split()[0],
|
||||
- url = "http://www.python.org/%s" % sys.version[:3],
|
||||
- maintainer = "Guido van Rossum and the Python community",
|
||||
- maintainer_email = "python-dev@python.org",
|
||||
+ url = "https://github.com/naftaliharris/tauthon",
|
||||
+ maintainer = "Guido van Rossum, the Python community \
|
||||
+and the Tauthon developers",
|
||||
description = "A high-level object-oriented programming language",
|
||||
long_description = SUMMARY.strip(),
|
||||
license = "PSF license",
|
||||
classifiers = filter(None, CLASSIFIERS.split("\n")),
|
@ -1,22 +0,0 @@
|
||||
Tauthon is a backward-compatible fork of Python's 2.7.18 interpreter with new
|
||||
syntax, builtins, and libraries backported from Python 3.x.
|
||||
|
||||
Python code and C-extensions targeting Python 2.7 or below are expected to run
|
||||
unmodified on Tauthon and produce the same output. But with Tauthon, that code
|
||||
can now use some of the new features from Python 3.x.
|
||||
|
||||
This is not an official Python release. Because of its new features, while
|
||||
preserving 2.7 compatibility, Tauthon reports 2.8 as its major/minor versions.
|
||||
|
||||
Non-exhaustive list of new features:
|
||||
- Function Annotations
|
||||
- Keyword-Only Arguments
|
||||
- "async" and "await" Syntax
|
||||
- Argument-less "super"
|
||||
- New Metaclass Syntax
|
||||
- "nonlocal"
|
||||
- "yield from" Syntax
|
||||
- "concurrent.futures" Module
|
||||
- UTF-8 as the default source encoding
|
||||
|
||||
WWW: https://github.com/naftaliharris/tauthon
|
@ -1,13 +0,0 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
Note that some standard Python modules are not included as they require
|
||||
additional dependencies. These are:
|
||||
- bsddb
|
||||
- gdbm
|
||||
- sqlite3
|
||||
- tkinter
|
||||
If needed, they should be provided in other ports. Porters welcome!
|
||||
EOM
|
||||
}
|
||||
]
|
File diff suppressed because it is too large
Load Diff
@ -1304,7 +1304,6 @@
|
||||
SUBDIR += p5-pQuery
|
||||
SUBDIR += p5-webservice-validator-css-w3c
|
||||
SUBDIR += p5-webservice-validator-html-w3c
|
||||
SUBDIR += palemoon
|
||||
SUBDIR += paros
|
||||
SUBDIR += payara
|
||||
SUBDIR += pear-HTML_AJAX
|
||||
|
@ -1,196 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= palemoon
|
||||
# UXP_VERSION below *MUST BE UPDATED* according to DISTVERSION (see recorded
|
||||
# commit of the 'platform' git sub-module and corresponding release in
|
||||
# UXP/releases; see MASTER_SITES for base URLs).
|
||||
DISTVERSION= 29.0.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= https://repo.palemoon.org/MoonchildProductions/Pale-Moon/archive/:palemoon \
|
||||
https://repo.palemoon.org/MoonchildProductions/UXP/archive/:uxp
|
||||
DISTFILES= ${DISTVERSION}_Release.tar.gz:palemoon \
|
||||
RELBASE_${UXP_VERSION}.tar.gz:uxp
|
||||
DIST_SUBDIR= MoonchildProductions
|
||||
|
||||
MAINTAINER= olce.freebsd.ports@certner.fr
|
||||
COMMENT= Open-source web browser
|
||||
|
||||
LICENSE= MPL20 MISC
|
||||
LICENSE_COMB= multi
|
||||
LICENSE_NAME_MISC= Miscellaneous free and open-source licenses
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
LICENSE_FILE_MISC= ${WRKSRC}/platform/toolkit/content/license.html
|
||||
LICENSE_PERMS_MISC= dist-mirror pkg-mirror auto-accept
|
||||
|
||||
# Not sure about the real status of ARM, but only ARM packages of old versions of
|
||||
# PM are available in some Linux distros.
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
ONLY_FOR_ARCHS_REASON=Upstream only cares about i386/amd64
|
||||
|
||||
# Common deps & build options
|
||||
BUILD_DEPENDS= autoconf-2.13:devel/autoconf213 \
|
||||
yasm:devel/yasm \
|
||||
zip:archivers/zip \
|
||||
|
||||
LIB_DEPENDS= libdbus-1.so:devel/dbus \
|
||||
libdbus-glib-1.so:devel/dbus-glib \
|
||||
libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2
|
||||
|
||||
USES= pkgconfig perl5 gmake gnome xorg desktop-file-utils
|
||||
USE_PERL5= build
|
||||
# XXX
|
||||
# GTK3 support currently needs gtk20 and gconf2 to pass old-configure (and
|
||||
# maybe more).
|
||||
# See also: https://repo.palemoon.org/MoonchildProductions/UXP/issues/1638.
|
||||
USE_GNOME= cairo gdkpixbuf2 glib20 pango \
|
||||
gtk30 gtk20:build gconf2:build
|
||||
USE_XORG= xt x11 xcb xext xrender
|
||||
# 9 is the last version endorsed upstream (and was the default in ports when
|
||||
# this was written). Version bumps *MUST* be validated by the maintainer (after
|
||||
# thorough testing, and following upstream's recommendations. Hence
|
||||
# hardcoded. (For the record, building with clang produces malfunctioning
|
||||
# executables.)
|
||||
|
||||
# NOTE: We make sure that there are no runtime dependencies to GCC and
|
||||
# libstdc++. See [GCC-no-rdep-*] tags below. This should rather be solved in
|
||||
# the ports infrastructure proper (see PR 211154, which is a step towards that;
|
||||
# however, it still doesn't remove -rpath and doesn't provide the option to
|
||||
# link C++ code against base's libc++).
|
||||
USE_GCC= 9
|
||||
|
||||
# Put this here pending creation of USES=gtar
|
||||
BUILD_DEPENDS+= gtar:archivers/gtar
|
||||
BINARY_ALIAS+= tar=${LOCALBASE}/bin/gtar
|
||||
|
||||
BUILD_DEPENDS+= tauthon:lang/tauthon
|
||||
BINARY_ALIAS+= python=${LOCALBASE}/bin/tauthon \
|
||||
python2=${LOCALBASE}/bin/tauthon \
|
||||
python2.7=${LOCALBASE}/bin/tauthon
|
||||
|
||||
BUNDLE_LIBS= yes
|
||||
|
||||
## Options
|
||||
|
||||
# Official branding is enabled in compliance with Pale Moon's redistribution
|
||||
# license (see https://www.palemoon.org/redist.shtml), point 8b, as explicitly
|
||||
# confirmed by the owner (Moonchild; see
|
||||
# https://forum.palemoon.org/viewtopic.php?f=5&t=25625), provided options are
|
||||
# not modified beyond what is necessary to get a stable build on FreeBSD. So DO
|
||||
# NOT CHANGE default options without the maintainer's approval.
|
||||
|
||||
OPTIONS_SINGLE+= SOUND
|
||||
OPTIONS_SINGLE_SOUND= ALSA PULSEAUDIO
|
||||
OPTIONS_DEFAULT+= ALSA
|
||||
|
||||
OPTIONS_DEFINE+= SYNC
|
||||
OPTIONS_DEFAULT+= SYNC
|
||||
|
||||
OPTIONS_DEFINE+= SYSTEM_MALLOC
|
||||
|
||||
ALSA_BUILD_DEPENDS= ${PREFIX}/include/alsa/asoundlib.h:audio/alsa-lib
|
||||
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
||||
PULSEAUDIO_BUILD_DEPENDS=${LOCALBASE}/include/pulse/pulseaudio.h:audio/pulseaudio
|
||||
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
||||
|
||||
SYNC_DESC= Pale Moon Sync service (see https://www.palemoon.org/sync/)
|
||||
|
||||
SYSTEM_MALLOC_DESC= Use system's jemalloc instead of bundled one
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
## Vars and targets
|
||||
|
||||
UXP_VERSION= 20210205
|
||||
|
||||
WRKSRC= ${WRKDIR}/pale-moon
|
||||
|
||||
# Have GCC link with libc++. Needed because some library dependencies (e.g.,
|
||||
# libgraphite2.so) are linked against libc++ already, and mixing both with this
|
||||
# codebase results in instant executable crash.
|
||||
# As advised here:
|
||||
# https://libcxx.llvm.org/docs/UsingLibcxx.html#using-libc-with-gcc
|
||||
# with the change of linking gcc statically, so that this port doesn't need
|
||||
# to depend on GCC at all at runtime. [GCC-no-rdep-1]
|
||||
# This is similar to what 'compiler.mk' does on using "gcc-c++11-lib".
|
||||
CXXFLAGS+= -nostdinc++ -I/usr/include/c++/v1 -nodefaultlibs \
|
||||
-lc++ -lcxxrt -lm -lc -lgcc \
|
||||
-pthread -lpthread
|
||||
LDFLAGS+= -lgcc
|
||||
|
||||
DOT_MOZCONFIG= ${WRKSRC}/.mozconfig
|
||||
PM_BUILD_DIR= ${WRKSRC}/pmbuild
|
||||
|
||||
PALEMOON_DESKTOP=${WRKSRC}/palemoon/branding/official/palemoon.desktop
|
||||
|
||||
# Extract only -O options
|
||||
PM_OPTIMIZE=${CFLAGS:M-O*}
|
||||
|
||||
.for VAR in PM_BUILD_DIR PM_OPTIMIZE
|
||||
PM_MOZCONFIG_REINPLACE_ARGS+=-e 's!%%${VAR}%%!${${VAR}}!'
|
||||
.endfor
|
||||
|
||||
# Taken from bsd.gecko.mk. See comment there.
|
||||
.if defined(DISABLE_MAKE_JOBS) || defined(MAKE_JOBS_UNSAFE)
|
||||
MAKE_JOBS_NUMBER= 1
|
||||
.endif
|
||||
.if defined(MAKE_JOBS_NUMBER)
|
||||
MOZ_MAKE_FLAGS+= -j${MAKE_JOBS_NUMBER}
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
${RMDIR} ${WRKSRC}/platform
|
||||
${RLN} ${WRKDIR}/uxp ${WRKSRC}/platform
|
||||
|
||||
# Prepare '.mozconfig' for 'configure'
|
||||
pre-configure:
|
||||
${CP} ${FILESDIR}/dot.mozconfig ${DOT_MOZCONFIG}
|
||||
${REINPLACE_CMD} ${PM_MOZCONFIG_REINPLACE_ARGS} ${DOT_MOZCONFIG}
|
||||
.if ${PORT_OPTIONS:MALSA}
|
||||
${ECHO_CMD} ac_add_options --enable-alsa >> ${DOT_MOZCONFIG}
|
||||
${ECHO_CMD} ac_add_options --disable-pulseaudio >> ${DOT_MOZCONFIG}
|
||||
.endif
|
||||
.if ! ${PORT_OPTIONS:MSYNC}
|
||||
${ECHO_CMD} ac_add_options --disable-sync >> ${DOT_MOZCONFIG}
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MSYSTEM_MALLOC}
|
||||
${ECHO_CMD} ac_add_options --disable-jemalloc >> ${DOT_MOZCONFIG}
|
||||
.else
|
||||
${ECHO_CMD} ac_add_options --enable-jemalloc >> ${DOT_MOZCONFIG}
|
||||
.endif
|
||||
.if defined(MOZ_MAKE_FLAGS)
|
||||
${ECHO_CMD} mk_add_options MOZ_MAKE_FLAGS=${MOZ_MAKE_FLAGS:Q} \
|
||||
>> ${DOT_MOZCONFIG}
|
||||
.endif
|
||||
# Add build variables
|
||||
.for VAR in CPP CXXCPP CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS \
|
||||
LD AS AR RANLIB OBJDUMP NM
|
||||
.if defined(${VAR})
|
||||
# Remove -rpath options to GCC's directory [GCC-no-rdep-2]
|
||||
${ECHO_CMD} export ${VAR}=\"${${VAR}:N*-rpath*lib/gcc*}\" >> ${DOT_MOZCONFIG}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
# Running 'mach configure' separately is "strongly discouraged" (see Mozilla's
|
||||
# doc on build options configuration). Still, things seem to work correctly
|
||||
# here even with this separate step.
|
||||
do-configure:
|
||||
cd ${WRKSRC} && ${SETENV} PATH=${PATH} ./mach configure
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${SETENV} PATH=${PATH} ./mach build
|
||||
# Going through the package route (the only one documented upstream)
|
||||
cd ${WRKSRC} && ${SETENV} PATH=${PATH} ./mach package
|
||||
|
||||
do-install:
|
||||
${TAR} -C ${STAGEDIR}${PREFIX}/lib \
|
||||
-xf ${PM_BUILD_DIR:Q}/dist/palemoon*.tar* \
|
||||
palemoon
|
||||
${RLN} ${STAGEDIR}${PREFIX}/lib/palemoon/palemoon \
|
||||
${STAGEDIR}${PREFIX}/bin/palemoon
|
||||
${INSTALL_DATA} ${PALEMOON_DESKTOP} \
|
||||
${STAGEDIR}${PREFIX}/share/applications/palemoon.desktop
|
||||
${RLN} ${STAGEDIR}${PREFIX}/lib/palemoon/browser/icons/mozicon128.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/palemoon.png
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
TIMESTAMP = 1612807197
|
||||
SHA256 (MoonchildProductions/29.0.1_Release.tar.gz) = ea01c74ddf75cc4f8d5aaf5fdf9c145eb8ca0aab16e2969bb109589ec1c20a06
|
||||
SIZE (MoonchildProductions/29.0.1_Release.tar.gz) = 8535288
|
||||
SHA256 (MoonchildProductions/RELBASE_20210205.tar.gz) = 79103c7e01db3290317fa4712700e6f233c9b21f9244414b95811d7008b08c09
|
||||
SIZE (MoonchildProductions/RELBASE_20210205.tar.gz) = 305402568
|
@ -1,31 +0,0 @@
|
||||
# Standard build options for Pale Moon
|
||||
# See http://developer.palemoon.org/build/linux/
|
||||
|
||||
# The 'configure' ports step replaces %%VAR%% with content of Makefile's VAR
|
||||
# and appends lines to this file.
|
||||
|
||||
mk_add_options MOZ_OBJDIR=%%PM_BUILD_DIR%%
|
||||
|
||||
ac_add_options --enable-application=palemoon
|
||||
ac_add_options --enable-optimize="-w %%PM_OPTIMIZE%%"
|
||||
ac_add_options --enable-default-toolkit=cairo-gtk3
|
||||
ac_add_options --enable-strip
|
||||
ac_add_options --enable-devtools
|
||||
ac_add_options --disable-eme
|
||||
ac_add_options --disable-webrtc
|
||||
ac_add_options --disable-gamepad
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-necko-wifi
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --with-pthreads
|
||||
ac_add_options --enable-phoenix-extensions
|
||||
|
||||
ac_add_options --enable-official-branding
|
||||
export MOZILLA_OFFICIAL=1
|
||||
|
||||
# Don't bother compressing, mach's package is just intermediate file
|
||||
export MOZ_PKG_FORMAT=TAR
|
||||
|
||||
# Below this line, build options depending on port options, as well as make and
|
||||
# build flags, will be appended.
|
@ -1,17 +0,0 @@
|
||||
--- platform/config/gcc-stl-wrapper.template.h.orig 2021-02-05 18:43:01 UTC
|
||||
+++ platform/config/gcc-stl-wrapper.template.h
|
||||
@@ -32,6 +32,14 @@
|
||||
# define moz_dont_include_mozalloc_for_cstdlib
|
||||
#endif
|
||||
|
||||
+#ifndef moz_dont_include_mozalloc_for_type_traits
|
||||
+# define moz_dont_include_mozalloc_for_type_traits
|
||||
+#endif
|
||||
+
|
||||
+#ifndef moz_dont_include_mozalloc_for_limits
|
||||
+# define moz_dont_include_mozalloc_for_limits
|
||||
+#endif
|
||||
+
|
||||
// Include mozalloc after the STL header and all other headers it includes
|
||||
// have been preprocessed.
|
||||
#if !defined(MOZ_INCLUDE_MOZALLOC_H) && \
|
@ -1,14 +0,0 @@
|
||||
--- platform/gfx/harfbuzz/src/hb-blob.cc.orig 2021-02-05 18:43:01 UTC
|
||||
+++ platform/gfx/harfbuzz/src/hb-blob.cc
|
||||
@@ -24,9 +24,11 @@
|
||||
* Red Hat Author(s): Behdad Esfahbod
|
||||
*/
|
||||
|
||||
+#ifndef __FreeBSD__
|
||||
/* http://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html */
|
||||
#ifndef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 199309L
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#include "hb-private.hh"
|
@ -1,21 +0,0 @@
|
||||
--- platform/memory/mozjemalloc/jemalloc.c.orig 2021-02-05 18:43:01 UTC
|
||||
+++ platform/memory/mozjemalloc/jemalloc.c
|
||||
@@ -5251,7 +5251,7 @@ malloc_init_hard(void)
|
||||
* Another thread initialized the allocator before this one
|
||||
* acquired init_lock.
|
||||
*/
|
||||
-#ifndef MOZ_MEMORY_WINDOWS
|
||||
+#if !(defined(MOZ_MEMORY_WINDOWS) || defined(__FreeBSD__))
|
||||
malloc_mutex_unlock(&init_lock);
|
||||
#endif
|
||||
return (false);
|
||||
@@ -6755,7 +6755,8 @@ jemalloc_darwin_init(void)
|
||||
#define is_malloc_(a) malloc_is_ ## a
|
||||
#define is_malloc(a) is_malloc_(a)
|
||||
|
||||
-#if !defined(MOZ_MEMORY_DARWIN) && (is_malloc(malloc_impl) == 1)
|
||||
+#if !(defined(MOZ_MEMORY_DARWIN) || defined(MOZ_MEMORY_BSD)) && \
|
||||
+ (is_malloc(malloc_impl) == 1)
|
||||
# if defined(__GLIBC__) && !defined(__UCLIBC__)
|
||||
/*
|
||||
* glibc provides the RTLD_DEEPBIND flag for dlopen which can make it possible
|
@ -1,11 +0,0 @@
|
||||
--- platform/old-configure.in.orig 2021-02-05 18:43:01 UTC
|
||||
+++ platform/old-configure.in
|
||||
@@ -5554,7 +5554,7 @@ ac_configure_args="$_SUBDIR_CONFIG_ARGS"
|
||||
|
||||
# --with-system-nspr will have been converted into the relevant $NSPR_CFLAGS
|
||||
# and $NSPR_LIBS.
|
||||
-ac_configure_args="`echo $ac_configure_args | sed -e 's/--with-system-nspr\S* *//'`"
|
||||
+ac_configure_args="`echo $ac_configure_args | sed -e 's/--with-system-nspr[^[:space:]]* *//'`"
|
||||
|
||||
if test "$_INTL_API" = no; then
|
||||
ac_configure_args="$ac_configure_args --without-intl-api"
|
@ -1,14 +0,0 @@
|
||||
--- platform/python/mozbuild/mozbuild/configure/__init__.py.orig 2021-02-05 18:43:01 UTC
|
||||
+++ platform/python/mozbuild/mozbuild/configure/__init__.py
|
||||
@@ -192,8 +192,9 @@ class ConfigureSandbox(dict):
|
||||
b: __builtins__[b]
|
||||
for b in ('None', 'False', 'True', 'int', 'bool', 'any', 'all', 'len',
|
||||
'list', 'tuple', 'set', 'dict', 'isinstance', 'getattr',
|
||||
- 'hasattr', 'enumerate', 'range', 'zip')
|
||||
- }, __import__=forbidden_import, str=unicode)
|
||||
+ 'hasattr', 'enumerate', 'range', 'zip', '__build_class__')
|
||||
+ if b in __builtins__},
|
||||
+ __import__=forbidden_import, str=unicode)
|
||||
|
||||
# Expose a limited set of functions from os.path
|
||||
OS = ReadOnlyNamespace(path=ReadOnlyNamespace(**{
|
@ -1,14 +0,0 @@
|
||||
--- platform/python/mozbuild/mozbuild/frontend/sandbox.py.orig 2021-02-05 18:43:01 UTC
|
||||
+++ platform/python/mozbuild/mozbuild/frontend/sandbox.py
|
||||
@@ -115,7 +115,10 @@ class Sandbox(dict):
|
||||
def __init__(self, context, builtins=None, finder=default_finder):
|
||||
"""Initialize a Sandbox ready for execution.
|
||||
"""
|
||||
- self._builtins = builtins or self.BUILTINS
|
||||
+ self._builtins = ReadOnlyDict(
|
||||
+ (builtins or self.BUILTINS).viewitems() |
|
||||
+ {b: __builtins__[b] for b in ('__build_class__',)
|
||||
+ if b in __builtins__}.viewitems())
|
||||
dict.__setitem__(self, '__builtins__', self._builtins)
|
||||
|
||||
assert isinstance(self._builtins, ReadOnlyDict)
|
@ -1,33 +0,0 @@
|
||||
--- platform/python/virtualenv/site.py.orig 2021-02-05 18:43:01 UTC
|
||||
+++ platform/python/virtualenv/site.py
|
||||
@@ -233,10 +233,10 @@ def addsitepackages(known_paths, sys_prefix=sys.prefix
|
||||
elif os.sep == '/':
|
||||
sitedirs = [os.path.join(prefix,
|
||||
"lib",
|
||||
- "python" + sys.version[:3],
|
||||
+ "tauthon" + sys.version[:3],
|
||||
"site-packages"),
|
||||
os.path.join(prefix, "lib", "site-python"),
|
||||
- os.path.join(prefix, "python" + sys.version[:3], "lib-dynload")]
|
||||
+ os.path.join(prefix, "tauthon" + sys.version[:3], "lib-dynload")]
|
||||
lib64_dir = os.path.join(prefix, "lib64", "python" + sys.version[:3], "site-packages")
|
||||
if (os.path.exists(lib64_dir) and
|
||||
os.path.realpath(lib64_dir) not in [os.path.realpath(p) for p in sitedirs]):
|
||||
@@ -583,7 +583,7 @@ def virtual_install_main_packages():
|
||||
elif sys.platform == 'win32' and os.sep == '\\':
|
||||
paths = [os.path.join(sys.real_prefix, 'Lib'), os.path.join(sys.real_prefix, 'DLLs')]
|
||||
else:
|
||||
- paths = [os.path.join(sys.real_prefix, 'lib', 'python'+sys.version[:3])]
|
||||
+ paths = [os.path.join(sys.real_prefix, 'lib', 'tauthon'+sys.version[:3])]
|
||||
hardcoded_relative_dirs = paths[:] # for the special 'darwin' case below
|
||||
lib64_path = os.path.join(sys.real_prefix, 'lib64', 'python'+sys.version[:3])
|
||||
if os.path.exists(lib64_path):
|
||||
@@ -602,7 +602,7 @@ def virtual_install_main_packages():
|
||||
# This is a non-multiarch aware Python. Fallback to the old way.
|
||||
arch = sys.platform
|
||||
plat_path = os.path.join(sys.real_prefix, 'lib',
|
||||
- 'python'+sys.version[:3],
|
||||
+ 'tauthon'+sys.version[:3],
|
||||
'plat-%s' % arch)
|
||||
if os.path.exists(plat_path):
|
||||
paths.append(plat_path)
|
@ -1,20 +0,0 @@
|
||||
--- platform/python/virtualenv/virtualenv.py.orig 2021-02-05 18:43:01 UTC
|
||||
+++ platform/python/virtualenv/virtualenv.py
|
||||
@@ -49,7 +49,7 @@ try:
|
||||
except NameError:
|
||||
basestring = str
|
||||
|
||||
-py_version = 'python%s.%s' % (sys.version_info[0], sys.version_info[1])
|
||||
+py_version = 'tauthon%s.%s' % (sys.version_info[0], sys.version_info[1])
|
||||
|
||||
is_jython = sys.platform.startswith('java')
|
||||
is_pypy = hasattr(sys, 'pypy_version_info')
|
||||
@@ -131,6 +131,8 @@ if majver == 2:
|
||||
REQUIRED_MODULES.extend(['warnings', 'linecache', '_abcoll', 'abc'])
|
||||
if minver >= 7:
|
||||
REQUIRED_MODULES.extend(['_weakrefset'])
|
||||
+ if minver >= 8:
|
||||
+ REQUIRED_MODULES.extend(['_oserror'])
|
||||
if is_msys2:
|
||||
REQUIRED_MODULES.extend(['functools'])
|
||||
elif majver == 3:
|
@ -1,17 +0,0 @@
|
||||
Pale Moon(TM) offers you a browsing experience in a browser completely built
|
||||
from its own, independently developed source that has been forked off from
|
||||
Firefox/Mozilla code a number of years ago, with carefully selected features
|
||||
and optimizations to improve the browser's stability and user experience, while
|
||||
offering full customization and a growing collection of extensions and themes
|
||||
to make the browser truly your own.
|
||||
|
||||
Some of the main features:
|
||||
- Based on the Unified XUL Platform (UXP) containing our own optimized layout
|
||||
and rendering engine (Goanna).
|
||||
- Safe: Forked from mature Mozilla code and regularly updated with the latest
|
||||
security patches.
|
||||
- Secure: Additional security features and security-aware development
|
||||
- Zero ads; no telemetry, spyware or data gathering
|
||||
- Familiar, efficient, fully customizable interface
|
||||
|
||||
WWW: https://www.palemoon.org/
|
@ -1,57 +0,0 @@
|
||||
bin/palemoon
|
||||
lib/palemoon/application.ini
|
||||
lib/palemoon/browser/blocklist.xml
|
||||
lib/palemoon/browser/chrome.manifest
|
||||
lib/palemoon/browser/chrome/icons/default/default16.png
|
||||
lib/palemoon/browser/chrome/icons/default/default32.png
|
||||
lib/palemoon/browser/chrome/icons/default/default48.png
|
||||
lib/palemoon/browser/components/components.manifest
|
||||
lib/palemoon/browser/components/libbrowsercomps.so
|
||||
lib/palemoon/browser/defaults/profile/chrome/userChrome-example.css
|
||||
lib/palemoon/browser/defaults/profile/chrome/userContent-example.css
|
||||
lib/palemoon/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
|
||||
lib/palemoon/browser/icons/mozicon128.png
|
||||
lib/palemoon/browser/palemoon.res
|
||||
lib/palemoon/browser/searchplugins/bing.xml
|
||||
lib/palemoon/browser/searchplugins/duckduckgo-palemoon.xml
|
||||
lib/palemoon/browser/searchplugins/ecosia.xml
|
||||
lib/palemoon/browser/searchplugins/ekoru.xml
|
||||
lib/palemoon/browser/searchplugins/twitter.xml
|
||||
lib/palemoon/browser/searchplugins/wikipedia.xml
|
||||
lib/palemoon/browser/searchplugins/yahoo.xml
|
||||
lib/palemoon/browser/ua-update.json
|
||||
lib/palemoon/chrome.manifest
|
||||
lib/palemoon/defaults/pref/channel-prefs.js
|
||||
lib/palemoon/dependentlibs.list
|
||||
lib/palemoon/dictionaries/en-US.aff
|
||||
lib/palemoon/dictionaries/en-US.dic
|
||||
lib/palemoon/gtk2/libmozgtk.so
|
||||
lib/palemoon/icudt58l.dat
|
||||
lib/palemoon/libfreebl3.chk
|
||||
lib/palemoon/libfreebl3.so
|
||||
lib/palemoon/liblgpllibs.so
|
||||
lib/palemoon/libmozavcodec.so
|
||||
lib/palemoon/libmozavutil.so
|
||||
lib/palemoon/libmozgtk.so
|
||||
lib/palemoon/libmozsqlite3.so
|
||||
lib/palemoon/libnspr4.so
|
||||
lib/palemoon/libnss3.so
|
||||
lib/palemoon/libnssckbi.so
|
||||
lib/palemoon/libnssutil3.so
|
||||
lib/palemoon/libplc4.so
|
||||
lib/palemoon/libplds4.so
|
||||
lib/palemoon/libsmime3.so
|
||||
lib/palemoon/libsoftokn3.chk
|
||||
lib/palemoon/libsoftokn3.so
|
||||
lib/palemoon/libssl3.so
|
||||
lib/palemoon/libxul.so
|
||||
lib/palemoon/palemoon
|
||||
lib/palemoon/palemoon-bin
|
||||
lib/palemoon/palemoon.res
|
||||
lib/palemoon/platform.ini
|
||||
lib/palemoon/plugin-container
|
||||
lib/palemoon/precomplete
|
||||
lib/palemoon/removed-files
|
||||
lib/palemoon/run-mozilla.sh
|
||||
share/applications/palemoon.desktop
|
||||
share/pixmaps/palemoon.png
|
Loading…
Reference in New Issue
Block a user