Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into kde5-import
Browse files Browse the repository at this point in the history
  • Loading branch information
tcberner committed Dec 15, 2017
2 parents 2cebff4 + 665fbeb commit 4b6e614
Show file tree
Hide file tree
Showing 1,252 changed files with 32,781 additions and 8,726 deletions.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ AUTHOR: mat@FreeBSD.org
need FLAVORS to be set. A USE_PYTHON=noflavors can be set if the port is
using distutils but flavors are not wanted.

A new USE_PYTHON=optsuffix that will adds PYTHON_PKGNAMESUFFIX has been added
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added
to cope with Python ports that did not have the Python PKGNAMEPREFIX but are
flavored.

Expand Down
5 changes: 5 additions & 0 deletions MOVED
Original file line number Diff line number Diff line change
Expand Up @@ -9891,3 +9891,8 @@ security/krb5-113|security/krb5-114|2017-12-03|Has expired: EOL twelve months af
net/bird6|net/bird@ipv6|2017-12-06|Moved to a flavored version
devel/kore-notls|devel/kore@notls|2017-12-06|Moved to a flavored version
devel/llvm-cheri128|devel/llvm-cheri|2017-12-07|A single cheri compiler can now target 128-bit and 256-bit capabilities
audio/cd-console||2017-12-13|Has expired: No public distfiles
textproc/pecl-cld||2017-12-13|Has expired: Depends on expired devel/cld
textproc/p5-Lingua-Identify-CLD||2017-12-13|Has expired: Depends on expired devel/cld
devel/cld||2017-12-13|Has expired: Unfetchable for more than six months (google code has gone away)
devel/py-ode|devel/py-PyODE|2017-12-14|Rename to reflect official Python modules naming scheme
2 changes: 1 addition & 1 deletion Mk/Scripts/qa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ proxydeps() {
fi
already="${already} ${dep_file}"
done <<-EOT
$(ldd -a "${STAGEDIR}${file}" | \
$(env LD_LIBMAP_DISABLE=1 ldd -a "${STAGEDIR}${file}" | \
awk '\
BEGIN {section=0}\
/^\// {section++}\
Expand Down
8 changes: 4 additions & 4 deletions Mk/Uses/gnome.mk
Original file line number Diff line number Diff line change
Expand Up @@ -390,13 +390,13 @@ pygobject_USE_GNOME_IMPL= glib20

# Have to keep two components because the _DETECT file is not the same.
py3gobject3_DETECT= ${LOCALBASE}/share/py3gobject3/.keep
py3gobject3_BUILD_DEPENDS= py3?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
py3gobject3_RUN_DEPENDS= py3?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
py3gobject3_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
py3gobject3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
py3gobject3_USE_GNOME_IMPL= glib20

pygobject3_DETECT= ${LOCALBASE}/share/pygobject3/.keep
pygobject3_BUILD_DEPENDS= py2?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
pygobject3_RUN_DEPENDS= py2?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
pygobject3_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
pygobject3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
pygobject3_USE_GNOME_IMPL= glib20

pygtk2_DETECT= ${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc
Expand Down
6 changes: 0 additions & 6 deletions Mk/Uses/perl5.mk
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ SITE_ARCH_REL?= ${SITE_PERL_REL}/${PERL_ARCH}/${PERL_VER}
SITE_ARCH?= ${LOCALBASE}/${SITE_ARCH_REL}
SITE_MAN3_REL?= ${SITE_PERL_REL}/man/man3
SITE_MAN3?= ${PREFIX}/${SITE_MAN3_REL}
. if defined(THIS_IS_OLD_PERL)
SITE_MAN1_REL?= share/man/man1
. else
SITE_MAN1_REL?= ${SITE_PERL_REL}/man/man1
. endif
SITE_MAN1?= ${PREFIX}/${SITE_MAN1_REL}

PERL5?= ${LOCALBASE}/bin/perl${PERL_VERSION}
Expand Down Expand Up @@ -245,9 +241,7 @@ CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \
INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"
CONFIGURE_SCRIPT?= Makefile.PL
MAN3PREFIX?= ${PREFIX}/${SITE_PERL_REL}
. if !defined(THIS_IS_OLD_PERL)
MAN1PREFIX?= ${PREFIX}/${SITE_PERL_REL}
. endif
.undef HAS_CONFIGURE

. if !target(do-configure)
Expand Down
20 changes: 13 additions & 7 deletions Mk/Uses/python.mk
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ FLAVOR= ${FLAVORS:[1]}
. endif
.endif

.if ${FLAVOR:Mpy[23]*}
.if ${FLAVOR:Mpy[23][0-9]}
_PYTHON_VERSION= ${FLAVOR:S/py//:C/(.)/\1./}
.endif

Expand All @@ -463,11 +463,12 @@ PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
.endif

# To avoid having dependencies with @ and empty flavor:
.if empty(FLAVOR)
PY_FLAVOR= ${PYTHON_VERSION:S/^python/py/:S/.//}
.else
PY_FLAVOR= ${FLAVOR}
.endif
# _PYTHON_VERSION is either set by (first that matches):
# - If using Python flavors, from the current Python flavor
# - If using a version restriction (USES=python:3.4+), from the first
# acceptable default Python version.
# - From PYTHON_DEFAULT
PY_FLAVOR= py${_PYTHON_VERSION:S/.//}

# Pass PYTHON_VERSION down the dependency chain. This ensures that
# port A -> B -> C all will use the same python version and do not
Expand Down Expand Up @@ -566,8 +567,13 @@ RUN_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR}
.endif

.if defined(_PYTHON_FEATURE_CONCURRENT)
.if !defined(_PYTHON_FEATURE_FLAVORS) && (${_PYTHON_VERSION_MINIMUM:M3*} || ${_PYTHON_VERSION_MAXIMUM:M2*})
DEV_WARNING+= "USE_PYTHON=concurrent when only one of Python 2 or 3 is supported AND not using flavors does not make any sense"
.endif
_USES_POST+= uniquefiles:dirs
.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
.if defined(_PYTHON_FEATURE_FLAVORS) && ${FLAVOR} == ${FLAVORS:[1]}
UNIQUE_DEFAULT_LINKS= yes
.elif !defined(_PYTHON_FEATURE_FLAVORS) && ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION}
UNIQUE_DEFAULT_LINKS= yes
.else
UNIQUE_DEFAULT_LINKS= no
Expand Down
35 changes: 35 additions & 0 deletions UPDATING
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,41 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.

20171215:
AFFECTS: users of finance/gnucash
AUTHOR: madpilot@FreeBSD.org

The gnucash port has been converted too use flavors, the GUILE1
and GUILE2 options have been converted to flavors so that two
separate packages can be provided.

Since the next major release of gnucash will drop guile1 support,
the default flavor package is compiled against guile2, switching
the previous default.

Users who intend to stay on the guile1 version should deinstall
the default gnucash package and install the gnucash-guile1 package.

20171214:
AFFECTS: all ports users
AUTHOR: adamw@FreeBSD.org

Support for some deprecated variables is going to be removed soon. If
you use any of the following constructs (usually in /etc/make.conf),
you must switch to the new incantations:

OLD NEW
------------------------------- ------------------------------
WITH_[...] OPTIONS_SET= [...]
WITHOUT_[...] OPTIONS_UNSET= [...]
WITHOUT_NLS OPTIONS_UNSET= NLS
NOPORTDOCS OPTIONS_UNSET= DOCS
NOPORTEXAMPLES OPTIONS_UNSET= EXAMPLES
WITH_BDB_VER=[...] DEFAULT_VERSIONS+= bdb=[...]
OVERRIDE_LINUX_BASE_PORT=[...] DEFAULT_VERSIONS+= linux=[...]
WITH_OPENSSL_BASE DEFAULT_VERSIONS+= ssl=base
WITH_OPENSSL_PORT DEFAULT_VERSIONS+= ssl=port

20171205:
AFFECTS: users of dns/powerdns
AUTHOR: krion@FreeBSD.org
Expand Down
15 changes: 7 additions & 8 deletions archivers/brotli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# $FreeBSD$

PORTNAME= brotli
PORTVERSION= 0.6.0
PORTREVISION= 1
PORTVERSION= 1.0.2
DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= archivers devel
Expand All @@ -17,14 +16,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= google

USES= cmake compiler:c++0x pkgconfig
USES= autoreconf:build compiler:c++0x gmake libtool pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes

CMAKE_ARGS= -DBUILD_TESTING:BOOL=OFF
INSTALL_TARGET= install-strip
PLIST_SUB= SHLIBVER=${PORTVERSION}

post-install:
${LN} -s libbrotlicommon.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libbrotlicommon.so.0
${LN} -s libbrotlidec.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libbrotlidec.so.0
${LN} -s libbrotlienc.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libbrotlienc.so.0
pre-configure:
(cd ${WRKSRC} && ./bootstrap)

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions archivers/brotli/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1498054439
SHA256 (google-brotli-v0.6.0_GH0.tar.gz) = 69cdbdf5709051dd086a2f020f5abf9e32519eafe0ad6be820c667c3a9c9ee0f
SIZE (google-brotli-v0.6.0_GH0.tar.gz) = 19838761
TIMESTAMP = 1511961437
SHA256 (google-brotli-v1.0.2_GH0.tar.gz) = c2cf2a16646b44771a4109bb21218c8e2d952babb827796eb8a800c1f94b7422
SIZE (google-brotli-v1.0.2_GH0.tar.gz) = 23736359
121 changes: 121 additions & 0 deletions archivers/brotli/files/patch-freebsd-upstream
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
From 1ca15159d6a7d4b202de17a94abf52c6c1d5988a Mon Sep 17 00:00:00 2001
From: Bernard Spil <Sp1l@users.noreply.github.com>
Date: Wed, 29 Nov 2017 22:38:16 +0100
Subject: [PATCH 1/4] Fix missing symbols errors in libbrotlienc and dec (#623)

When using autotools to build the binary and libraries, the resulting libraries don't link `brotlicommon` or `m`.
This was detected when building cURL 7.57.0 which has now has brotli support. During configure it was failing
```
checking run-time libs availability... failed
configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lbrotlidec -lz -L/usr/local/lib
```
inspection of config.log showed missing symbols from libbrotlicommon as the cause.

This patch results in the encryption and decryption libs to be properly linked against libbrotlicommon and libm.
See also https://bugs.freebsd.org/223966
---
Makefile.am | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index c4ced6da..ace7a850 100644
--- Makefile.am.orig
+++ Makefile.am
@@ -23,8 +23,10 @@ libbrotlicommon_la_SOURCES = $(BROTLI_COMMON_C) $(BROTLI_COMMON_H)
libbrotlicommon_la_LDFLAGS = $(AM_LDFLAGS) $(LIBBROTLI_VERSION_INFO) $(LDFLAGS)
libbrotlidec_la_SOURCES = $(BROTLI_DEC_C) $(BROTLI_DEC_H)
libbrotlidec_la_LDFLAGS = $(AM_LDFLAGS) $(LIBBROTLI_VERSION_INFO) $(LDFLAGS)
+libbrotlidec_la_LIBADD = libbrotlicommon.la -lm
libbrotlienc_la_SOURCES = $(BROTLI_ENC_C) $(BROTLI_ENC_H)
libbrotlienc_la_LDFLAGS = $(AM_LDFLAGS) $(LIBBROTLI_VERSION_INFO) $(LDFLAGS)
+libbrotlienc_la_LIBADD = libbrotlicommon.la -lm

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \

From c8c8389ed3101279b79d93210b33f63dca8af74c Mon Sep 17 00:00:00 2001
From: Eugene Kliuchnikov <eustas@google.com>
Date: Thu, 30 Nov 2017 11:02:54 +0100
Subject: [PATCH 2/4] Do not rely on bash arithmetic in `bootstrap` (#625)

---
bootstrap | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/bootstrap b/bootstrap
index 2f43f50e..7c7020d3 100755
--- bootstrap.orig
+++ bootstrap
@@ -1,19 +1,24 @@
# !/bin/sh -e

+REQUIRED='is required, but not installed.'
+bc -v >/dev/null 2>&1 || { echo >&2 "'bc' $REQUIRED"; exit 1; }
+sed --version >/dev/null 2>&1 || { echo >&2 "'sed' $REQUIRED"; exit 1; }
+autoreconf --version >/dev/null 2>&1 || { echo >&2 "'autoconf' $REQUIRED"; exit 1; }
+
mkdir m4 2>/dev/null

BROTLI_ABI_HEX=`sed -n 's/#define BROTLI_ABI_VERSION 0x//p' c/common/version.h`
-BROTLI_ABI_INT=`echo $((16#$BROTLI_ABI_HEX))`
-BROTLI_ABI_CURRENT=$(($BROTLI_ABI_INT >> 24))
-BROTLI_ABI_REVISION=$((($BROTLI_ABI_INT >> 12) & 4095))
-BROTLI_ABI_AGE=$(($BROTLI_ABI_INT & 4095))
+BROTLI_ABI_INT=`echo "ibase=16;$BROTLI_ABI_HEX" | bc`
+BROTLI_ABI_CURRENT=`expr $BROTLI_ABI_INT / 16777216`
+BROTLI_ABI_REVISION=`expr $BROTLI_ABI_INT / 4096 % 4096`
+BROTLI_ABI_AGE=`expr $BROTLI_ABI_INT % 4096`
BROTLI_ABI_INFO="$BROTLI_ABI_CURRENT:$BROTLI_ABI_REVISION:$BROTLI_ABI_AGE"

BROTLI_VERSION_HEX=`sed -n 's/#define BROTLI_VERSION 0x//p' c/common/version.h`
-BROTLI_VERSION_INT=`echo $((16#$BROTLI_VERSION_HEX))`
-BROTLI_VERSION_MAJOR=$(($BROTLI_VERSION_INT >> 24))
-BROTLI_VERSION_MINOR=$((($BROTLI_VERSION_INT >> 12) & 4095))
-BROTLI_VERSION_PATCH=$(($BROTLI_VERSION_INT & 4095))
+BROTLI_VERSION_INT=`echo "ibase=16;$BROTLI_VERSION_HEX" | bc`
+BROTLI_VERSION_MAJOR=`expr $BROTLI_VERSION_INT / 16777216`
+BROTLI_VERSION_MINOR=`expr $BROTLI_VERSION_INT / 4096 % 4096`
+BROTLI_VERSION_PATCH=`expr $BROTLI_VERSION_INT % 4096`
BROTLI_VERSION="$BROTLI_VERSION_MAJOR.$BROTLI_VERSION_MINOR.$BROTLI_VERSION_PATCH"

sed -r "s/[0-9]+:[0-9]+:[0-9]+/$BROTLI_ABI_INFO/" Makefile.am -i

From 62194f204d90a5a95310a6949f00a0c6c5ca07bd Mon Sep 17 00:00:00 2001
From: Bernard Spil <Sp1l@users.noreply.github.com>
Date: Mon, 4 Dec 2017 15:17:49 +0100
Subject: [PATCH 4/4] Work around Linuxisms (#627)

Missed this in my previous tests. Sorry for that.

On BSDs, both bc and sed are part of the base operating system. For sed this results in an error as the check construct (--version) is a GNU-ism and only works for GNU sed, not for bsd sed.
Similarly, BSD sed does not take parameters after the filename(s) operated on. Moving `-i` to the front fixes that. `-r` is provided for GNU compat in BSD sed as an alias of `-E`. The `-i` option in BSD sed requires an extension to work in-place.

(thank you for picking up the nginx module too!)
---
bootstrap | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/bootstrap b/bootstrap
index 7c7020d3..dbaea15d 100755
--- bootstrap.orig
+++ bootstrap
@@ -2,7 +2,9 @@

REQUIRED='is required, but not installed.'
bc -v >/dev/null 2>&1 || { echo >&2 "'bc' $REQUIRED"; exit 1; }
+if [ `uname -s` != "FreeBSD" ]; then
sed --version >/dev/null 2>&1 || { echo >&2 "'sed' $REQUIRED"; exit 1; }
+fi
autoreconf --version >/dev/null 2>&1 || { echo >&2 "'autoconf' $REQUIRED"; exit 1; }

mkdir m4 2>/dev/null
@@ -21,7 +23,7 @@ BROTLI_VERSION_MINOR=`expr $BROTLI_VERSION_INT / 4096 % 4096`
BROTLI_VERSION_PATCH=`expr $BROTLI_VERSION_INT % 4096`
BROTLI_VERSION="$BROTLI_VERSION_MAJOR.$BROTLI_VERSION_MINOR.$BROTLI_VERSION_PATCH"

-sed -r "s/[0-9]+:[0-9]+:[0-9]+/$BROTLI_ABI_INFO/" Makefile.am -i
-sed -r "s/\[[0-9]+\.[0-9]+\.[0-9]+\]/[$BROTLI_VERSION]/" configure.ac -i
+sed -i.bak -r "s/[0-9]+:[0-9]+:[0-9]+/$BROTLI_ABI_INFO/" Makefile.am
+sed -i.bak -r "s/\[[0-9]+\.[0-9]+\.[0-9]+\]/[$BROTLI_VERSION]/" configure.ac

autoreconf --install --force --symlink || exit $
18 changes: 11 additions & 7 deletions archivers/brotli/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
bin/bro
bin/brotli
include/brotli/decode.h
include/brotli/encode.h
include/brotli/port.h
include/brotli/types.h
lib/libbrotlicommon.a
lib/libbrotlicommon.so
lib/libbrotlicommon.so.0
lib/libbrotlicommon.so.0.6.0
lib/libbrotlicommon.so.1
lib/libbrotlicommon.so.%%SHLIBVER%%
lib/libbrotlidec.a
lib/libbrotlidec.so
lib/libbrotlidec.so.0
lib/libbrotlidec.so.0.6.0
lib/libbrotlidec.so.1
lib/libbrotlidec.so.%%SHLIBVER%%
lib/libbrotlienc.a
lib/libbrotlienc.so
lib/libbrotlienc.so.0
lib/libbrotlienc.so.0.6.0
lib/libbrotlienc.so.1
lib/libbrotlienc.so.%%SHLIBVER%%
libdata/pkgconfig/libbrotlicommon.pc
libdata/pkgconfig/libbrotlidec.pc
libdata/pkgconfig/libbrotlienc.pc
%%PORTDOCS%%%%PORTDOCS%%%%DOCSDIR%%/README
12 changes: 10 additions & 2 deletions archivers/jzlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ MASTER_SITES= http://www.jcraft.com/jzlib/
MAINTAINER= danilo@FreeBSD.org
COMMENT= Reimplementation of zlib in pure Java

LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt

USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_ARCH= yes

JAR_FILE= ${WRKSRC}/src/main/java/${PORTNAME}.jar

Expand All @@ -26,12 +30,16 @@ do-build:
${JAR} -cf ${PORTNAME}.jar

do-install:
${INSTALL_DATA} ${JAR_FILE} ${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}.jar

do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
.for file in ChangeLog LICENSE.txt README
@${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}/${DOCSDIR}
.endfor

do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example/* ${STAGEDIR}/${EXAMPLESDIR}
${INSTALL_DATA} ${JAR_FILE} ${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}.jar

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion archivers/pecl-phk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LICENSE= PHP301

USES= php:pecl
USE_PHP= hash:build
IGNORE_WITH_PHP= 70 71
IGNORE_WITH_PHP= 70 71 72

CONFIGURE_ARGS= --enable-phk

Expand Down
Loading

0 comments on commit 4b6e614

Please sign in to comment.