Skip to content

Commit

Permalink
Framework: partially sync with upstream
Browse files Browse the repository at this point in the history
Taken from: FreeBSD
  • Loading branch information
fichtner committed Sep 30, 2021
1 parent 4a919d7 commit 930ebe0
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 15 deletions.
16 changes: 15 additions & 1 deletion MOVED
Original file line number Diff line number Diff line change
Expand Up @@ -9128,7 +9128,6 @@ sysutils/sievelog||2017-04-30|Has expired: Unfetchable for more than six months
sysutils/ldapenter||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
sysutils/py-danzfs||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
sysutils/plasma-applet-apcups||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
sysutils/pdsh||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
deskutils/superswitcher||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
deskutils/plasma-applet-playwolf||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
deskutils/nagaina||2017-04-30|Has expired: Unfetchable for more than six months (google code has gone away)
Expand Down Expand Up @@ -16486,3 +16485,18 @@ net-mgmt/zabbix52-frontend||2021-09-19|Has expired: Unsupported by upstream
net-mgmt/zabbix52-java||2021-09-19|Has expired: Unsupported by upstream
net-mgmt/zabbix52-proxy||2021-09-19|Has expired: Unsupported by upstream
net-mgmt/zabbix52-server||2021-09-19|Has expired: Unsupported by upstream
devel/py-pyyaml-env-tag|devel/py-pyyaml_env_tag|2021-09-28|Renamed to match upstream naming
mail/opensmtpd-devel|mail/opensmtpd|2021-09-28|Has expired: move to offical releases
devel/erlang-exmpp||2021-09-30|Removed, last upstream patches over 10 years ago
sysutils/showbeastie||2021-09-30|Broken on FreeBSD 12 and above since 2018
www/squid3|www/squid|2021-09-30|Has expired: Unsupported by upstream
sysutils/cfengine310|sysutils/cfengine317|2021-09-30|Has expired: OpenSSL 1.1.X is not supported.
security/py-paramiko1|security/py-paramiko|2021-09-30|Has expired: Out of date version. No consumer now. Use security/py-paramiko
sysutils/cfengine-masterfiles310|sysutils/cfengine-masterfiles317|2021-09-30|Has expired: cfengine310 will retire at FreeBSD 11 EOL
security/openca-tools-forked|security/libscep|2021-09-30|Has expired: Use modern port security/libscep instead
multimedia/sms1xxx-kmod|multimedia/webcamd|2021-09-30|Has expired: Supports DVB API v3 only. Use multimedia/webcamd instead
sysutils/cfengine311|sysutils/cfengine317|2021-09-30|Has expired: OpenSSL 1.1.X is not supported.
sysutils/cfengine-masterfiles311|sysutils/cfengine-masterfiles317|2021-09-30|Has expired: cfengine311 will retire at FreeBSD 11 EOL
mail/postfix35|mail/postfix|2021-09-30|Has expired: It is only here until FreeBSD 11 is EoL (Postfix >= 3.6 requires OpenSSL >= 1.1.x)
graphics/drm-fbsd11.2-kmod||2021-09-30|Removed, only useful on EOL FreeBSD 11.4
devel/qca-legacy|devel/qca|2021-09-30|Removed, only useful on EOL FreeBSD 11.4
2 changes: 1 addition & 1 deletion Mk/Scripts/rust-compat11-canary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eu
set -o pipefail

if [ "${OPSYS}" != FreeBSD ] || [ "${OSVERSION}" -lt 1200000 ]; then
if [ "${OPSYS}" != FreeBSD ] ; then
exit 0
fi

Expand Down
6 changes: 0 additions & 6 deletions Mk/Uses/qca.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@ IGNORE+= USES=qca takes no arguments
_QCA_LIB= libqca-qt5.so

_QCA_DEFAULT_PORT= devel/qca
_QCA_LEGACY_PORT= devel/qca-legacy

. if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} == base
_QCA_CHOSEN_PORT= LEGACY
. else
_QCA_CHOSEN_PORT= DEFAULT
. endif

LIB_DEPENDS+= ${_QCA_LIB}:${_QCA_${_QCA_CHOSEN_PORT}_PORT}

Expand Down
11 changes: 11 additions & 0 deletions Mk/bsd.lto.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# LTO Support

LTO_Include_MAINTAINER= [email protected]

.if !defined(LTO_UNSAFE)
# Overridable as a user may want to use -flto
LTO_FLAGS?= -flto=thin
CFLAGS+= ${LTO_FLAGS}
CXXFLAGS+= ${LTO_FLAGS}
LDFLAGS+= ${LTO_FLAGS}
.endif
6 changes: 5 additions & 1 deletion Mk/bsd.port.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ OSVERSION!= ${AWK} '/^\#define[[:blank:]]__FreeBSD_version/ {print $$3}' < ${SRC
.endif
_EXPORTED_VARS+= OSVERSION

.if (${OPSYS} == FreeBSD && (${OSVERSION} < 1104000 || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1202000))) || \
.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1202000) || \
(${OPSYS} == DragonFly && ${DFLYVERSION} < 400400)
_UNSUPPORTED_SYSTEM_MESSAGE= Ports Collection support for your ${OPSYS} version has ended, and no ports\
are guaranteed to build on this system. Please upgrade to a supported release.
Expand Down Expand Up @@ -1799,6 +1799,10 @@ INSTALL_TARGET:= ${INSTALL_TARGET:S/^install-strip$/install/g}
.endif
.endif

.if defined(USE_LTO)
.include "${PORTSDIR}/Mk/bsd.lto.mk"
.endif

.if !defined(WITHOUT_SSP)
.include "${PORTSDIR}/Mk/bsd.ssp.mk"
.endif
Expand Down
2 changes: 2 additions & 0 deletions Templates/BSD.local.dist
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@
vendor_completions.d
..
..
icons
..
info
..
java
Expand Down
8 changes: 2 additions & 6 deletions Tools/scripts/tindex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ ERROR_ADDRESS=root@localhost
# Location of ports tree and source trees
export BASEDIR=/a/tindex
export PORTSDIR=${BASEDIR}/ports
export SRCDIR11=${BASEDIR}/src.11
export SRCDIR12=${BASEDIR}/src.12
export SRCDIR13=${BASEDIR}/src.13
export SRCDIR14=${BASEDIR}/src.14
Expand Down Expand Up @@ -114,9 +113,6 @@ export INDEX_JOBS=3
export INDEX_QUIET=1

# First update the source trees to get current OSVERSION
${SVN} -q up ${SRCDIR11}/sys/sys
OSVERSION11=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR11}/sys/sys/param.h)

${SVN} -q up ${SRCDIR12}/sys/sys
OSVERSION12=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR12}/sys/sys/param.h)

Expand All @@ -127,15 +123,15 @@ ${GIT} -C ${SRCDIR14} pull --rebase -q
OSVERSION14=$(awk '/^#define[[:blank:]]__FreeBSD_version/ {print $3}' < ${SRCDIR14}/sys/sys/param.h)

cd ${PORTSDIR}
rm -f INDEX-11 INDEX-11.bz2 INDEX-12 INDEX-12.bz2 INDEX-13 INDEX-13.bz2 INDEX-14 INDEX-14.bz2
rm -f INDEX-12 INDEX-12.bz2 INDEX-13 INDEX-13.bz2 INDEX-14 INDEX-14.bz2
OLD_HEAD=$(${GIT} rev-parse HEAD)
if ! ${GIT} pull --ff-only > git.log 2>&1 ; then
(echo "Git update failed with conflicts:";
cat git.log) | mail -s "Ports Git update failed" ${ERROR_ADDRESS}
exit 1
fi

for branch in 11.x 12.x 13.x 14.x; do
for branch in 12.x 13.x 14.x; do
release=$(echo $branch | sed -e 's,.x,,')

eval _osver=\$OSVERSION${release}
Expand Down

0 comments on commit 930ebe0

Please sign in to comment.