Skip to content

Commit

Permalink
*/*: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Nov 18, 2017
1 parent a7d64df commit cb07a35
Show file tree
Hide file tree
Showing 3,340 changed files with 43,970 additions and 39,239 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion accessibility/rubygem-atk/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $FreeBSD$

PORTNAME= atk
PORTVERSION= 3.1.9
PORTVERSION= 3.2.0
CATEGORIES= accessibility rubygems
MASTER_SITES= RG

Expand Down
6 changes: 3 additions & 3 deletions accessibility/rubygem-atk/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1508247058
SHA256 (rubygem/atk-3.1.9.gem) = b5639c7482863ba723cb7412225d116019125ea7cb4c8453b1190964f64b89a2
SIZE (rubygem/atk-3.1.9.gem) = 6656
TIMESTAMP = 1510157275
SHA256 (rubygem/atk-3.2.0.gem) = 94b3242581e2ee66cd15ca71b63ff169714a83551c7bbbb48d68b5fc5af71099
SIZE (rubygem/atk-3.2.0.gem) = 6656
10 changes: 5 additions & 5 deletions arabic/libreoffice/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1504629659
SHA256 (libreoffice/i18n/LibreOffice_5.3.6_Linux_x86_deb_langpack_ar.tar.gz) = f0bbe39bcd65cd04fb3e9fd9876fed3f95581d2426c186d9e93b2823e25e482b
SIZE (libreoffice/i18n/LibreOffice_5.3.6_Linux_x86_deb_langpack_ar.tar.gz) = 2250522
SHA256 (libreoffice/i18n/LibreOffice_5.3.6_Linux_x86_deb_helppack_ar.tar.gz) = fcb58ea10c804f2081940f43236bb076e62c8af0f27c34bc962e648c95f46400
SIZE (libreoffice/i18n/LibreOffice_5.3.6_Linux_x86_deb_helppack_ar.tar.gz) = 6560037
TIMESTAMP = 1509656323
SHA256 (libreoffice/i18n/LibreOffice_5.3.7_Linux_x86_deb_langpack_ar.tar.gz) = 563e76d53e84b36fecdb3b26d6cc5c5b7373bbae61d337c0ddf8df75e083362a
SIZE (libreoffice/i18n/LibreOffice_5.3.7_Linux_x86_deb_langpack_ar.tar.gz) = 2250746
SHA256 (libreoffice/i18n/LibreOffice_5.3.7_Linux_x86_deb_helppack_ar.tar.gz) = 9c5c7847a94526ad215d42d1795a9ed5437b3f75d7465475a9ce4c172b67ce5b
SIZE (libreoffice/i18n/LibreOffice_5.3.7_Linux_x86_deb_helppack_ar.tar.gz) = 6560335
4 changes: 4 additions & 0 deletions archivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@
SUBDIR += php71-phar
SUBDIR += php71-zip
SUBDIR += php71-zlib
SUBDIR += php72-bz2
SUBDIR += php72-phar
SUBDIR += php72-zip
SUBDIR += php72-zlib
SUBDIR += pigz
SUBDIR += pixz
SUBDIR += plzip
Expand Down
2 changes: 1 addition & 1 deletion archivers/c-blosc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PLIST_SUB= VERSION="${PORTVERSION:R:R}" \
CMAKE_ARGS= -DBUILD_SHARED=ON

OPTIONS_DEFINE= STATIC TEST AVX2 LZ4 SNAPPY ZLIB ZSTD
OPTIONS_DEFAULT= STATIC LZ4 SNAPPY ZLIB ZSTD
OPTIONS_DEFAULT=STATIC LZ4 SNAPPY ZLIB ZSTD
OPTIONS_SUB= yes

AVX2_DESC= Attempt to build with AVX2 instructions
Expand Down
10 changes: 5 additions & 5 deletions archivers/go-compress/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PORTNAME= compress
PORTVERSION= 1.2.1
DISTVERSIONPREFIX= v
CATEGORIES= archivers
PKGNAMEPREFIX= go-
PKGNAMEPREFIX= go-

MAINTAINER= [email protected]
COMMENT= Go optimised compression packages
Expand All @@ -16,10 +16,10 @@ BUILD_DEPENDS= go-cpuid>=0:devel/go-cpuid \
go-crc32>=0:devel/go-crc32
RUN_DEPENDS:= ${BUILD_DEPENDS}

USE_GITHUB= yes
GH_ACCOUNT= klauspost
USES= go
GO_PKGNAME= github.com/klauspost/compress
USE_GITHUB= yes
GH_ACCOUNT= klauspost
USES= go
GO_PKGNAME= github.com/klauspost/compress
GO_TARGET= ${GO_PKGNAME}/flate \
${GO_PKGNAME}/gzip \
${GO_PKGNAME}/snappy \
Expand Down
1 change: 0 additions & 1 deletion archivers/kf5-karchive/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Created by: tcberner
# $FreeBSD$

PORTNAME= karchive
Expand Down
6 changes: 3 additions & 3 deletions archivers/kf5-karchive/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1507972153
SHA256 (KDE/frameworks/5.39.0/karchive-5.39.0.tar.xz) = 3cc31b2449bf690a3703d339875510f211dfb3d774737d80237da3474dde6865
SIZE (KDE/frameworks/5.39.0/karchive-5.39.0.tar.xz) = 113600
TIMESTAMP = 1509877816
SHA256 (KDE/frameworks/5.40.0/karchive-5.40.0.tar.xz) = 1e181495390ba730f2b1aa9354da2122e2aa592aaffdbce4164fd9dcb2d97bb1
SIZE (KDE/frameworks/5.40.0/karchive-5.40.0.tar.xz) = 113576
4 changes: 2 additions & 2 deletions archivers/lua51-zlib/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Created by: Sir l33tname <[email protected]>
# $FreeBSD$

PORTNAME= lua51
PORTNAME= zlib
PORTVERSION= 1.2
DISTVERSIONPREFIX=v
CATEGORIES= archivers
PKGNAMESUFFIX= -zlib
PKGNAMEPREFIX= lua51-

MAINTAINER= [email protected]
COMMENT= Simple streaming interface to zlib for the Lua Programming Language
Expand Down
2 changes: 1 addition & 1 deletion archivers/p5-Compress-Raw-Zlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= Compress-Raw-Zlib
PORTVERSION= 2.074
PORTVERSION= 2.075
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
Expand Down
6 changes: 3 additions & 3 deletions archivers/p5-Compress-Raw-Zlib/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1487569668
SHA256 (Compress-Raw-Zlib-2.074.tar.gz) = a369de78a36aa0951cdf1cd15c15109f2421e9b6d148d6322916906876ea7721
SIZE (Compress-Raw-Zlib-2.074.tar.gz) = 239604
TIMESTAMP = 1510757658
SHA256 (Compress-Raw-Zlib-2.075.tar.gz) = 38268dbe788c9abb35232beb338112b97ecfafc9269e661c8bb7c3b9262e247c
SIZE (Compress-Raw-Zlib-2.075.tar.gz) = 244479
1 change: 0 additions & 1 deletion archivers/php56-zip/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Created by: Alex Dupre <[email protected]>
# $FreeBSD$

PORTREVISION= 1
CATEGORIES= archivers

MASTERDIR= ${.CURDIR}/../../lang/php56
Expand Down
9 changes: 9 additions & 0 deletions archivers/php72-bz2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# $FreeBSD$

CATEGORIES= archivers

MASTERDIR= ${.CURDIR}/../../lang/php72

PKGNAMESUFFIX= -bz2

.include "${MASTERDIR}/Makefile"
9 changes: 9 additions & 0 deletions archivers/php72-phar/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# $FreeBSD$

CATEGORIES= archivers

MASTERDIR= ${.CURDIR}/../../lang/php72

PKGNAMESUFFIX= -phar

.include "${MASTERDIR}/Makefile"
41 changes: 41 additions & 0 deletions archivers/php72-phar/files/patch-config.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
--- config.m4.orig 2016-06-21 19:56:50 UTC
+++ config.m4
@@ -4,8 +4,38 @@ dnl config.m4 for extension phar
PHP_ARG_ENABLE(phar, for phar archive support,
[ --disable-phar Disable phar support], yes)

+PHP_ARG_WITH(pcre-dir, pcre install prefix,
+[ --with-pcre-dir PHAR: pcre install prefix], no, no)
+
+
if test "$PHP_PHAR" != "no"; then
+
+ dnl This is PECL build, check if bundled PCRE library is used
+ old_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS=$INCLUDES
+ AC_EGREP_CPP(yes,[
+#include <main/php_config.h>
+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE)
+yes
+#endif
+ ],[
+ PHP_PCRE_REGEX=yes
+ ],[
+ AC_EGREP_CPP(yes,[
+#include <main/php_config.h>
+#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE)
+yes
+#endif
+ ],[
+ PHP_PCRE_REGEX=pecl
+ PHP_ADD_INCLUDE($PHP_PCRE_DIR/include)
+ ],[
+ PHP_PCRE_REGEX=no
+ ])
+ ])
+
PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
+ PHP_HASH=yes
AC_MSG_CHECKING([for phar openssl support])
if test "$PHP_HASH_SHARED" != "yes"; then
if test "$PHP_HASH" != "no"; then
11 changes: 11 additions & 0 deletions archivers/php72-phar/files/patch-phar.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- phar.c.orig 2016-06-21 19:56:49 UTC
+++ phar.c
@@ -3589,7 +3589,7 @@ static const zend_module_dep phar_deps[]
ZEND_MOD_OPTIONAL("openssl")
ZEND_MOD_OPTIONAL("zlib")
ZEND_MOD_OPTIONAL("standard")
-#if defined(HAVE_HASH) && !defined(COMPILE_DL_HASH)
+#if defined(HAVE_HASH)
ZEND_MOD_REQUIRED("hash")
#endif
#if HAVE_SPL
9 changes: 9 additions & 0 deletions archivers/php72-zip/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# $FreeBSD$

CATEGORIES= archivers

MASTERDIR= ${.CURDIR}/../../lang/php72

PKGNAMESUFFIX= -zip

.include "${MASTERDIR}/Makefile"
9 changes: 9 additions & 0 deletions archivers/php72-zlib/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# $FreeBSD$

CATEGORIES= archivers

MASTERDIR= ${.CURDIR}/../../lang/php72

PKGNAMESUFFIX= -zlib

.include "${MASTERDIR}/Makefile"
10 changes: 10 additions & 0 deletions archivers/php72-zlib/files/patch-zlib.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- zlib.c.orig 2016-06-21 19:57:08 UTC
+++ zlib.c
@@ -1480,6 +1480,7 @@ static PHP_MSHUTDOWN_FUNCTION(zlib)
/* {{{ PHP_RINIT_FUNCTION */
static PHP_RINIT_FUNCTION(zlib)
{
+ ZLIBG(output_compression) = 0;
ZLIBG(compression_coding) = 0;
if (!ZLIBG(handler_registered)) {
ZLIBG(output_compression) = ZLIBG(output_compression_default);
2 changes: 1 addition & 1 deletion archivers/py-borgbackup/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= borgbackup
PORTVERSION= 1.1.0
DISTVERSION= 1.1.1
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand Down
6 changes: 3 additions & 3 deletions archivers/py-borgbackup/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1508672283
SHA256 (borgbackup-1.1.0.tar.gz) = b40c1120c480a8235ce403b8e6e7abf1377458896f438eafce60f54916789e6f
SIZE (borgbackup-1.1.0.tar.gz) = 2912847
TIMESTAMP = 1509728914
SHA256 (borgbackup-1.1.1.tar.gz) = a5092cfdc57b7f85ce192d64642f94dc0c09ee152a735ae341942532302d3346
SIZE (borgbackup-1.1.1.tar.gz) = 2988023
3 changes: 1 addition & 2 deletions archivers/py-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.1
CATEGORIES= archivers
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand Down
6 changes: 3 additions & 3 deletions archivers/py-brotli/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1492839405
SHA256 (Brotli-0.6.0.zip) = 880dc9e843b747b6428eb7c2333cf7fa56010e496e603e0fa1eb1921eab24f42
SIZE (Brotli-0.6.0.zip) = 478675
TIMESTAMP = 1510696052
SHA256 (Brotli-1.0.1.zip) = 36c5d56f4f20c952ed998b0d2f9839a282081fd1f18e82bc3b3e9348b27fbe6d
SIZE (Brotli-1.0.1.zip) = 482833
37 changes: 8 additions & 29 deletions archivers/rar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= rar
PORTVERSION= 5.4.0
PORTVERSION= 5.5.0
PORTEPOCH= 3
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
Expand All @@ -16,45 +16,24 @@ LICENSE_NAME= RAR license
LICENSE_FILE= ${WRKSRC}/license.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

BROKEN_powerpc= fails to install: File format not recognized
BROKEN_sparc64= fails to install: File format not recognized

IA32_BINARY_PORT= yes
RESTRICTED= only unmodified original package can be distributed
NO_BUILD= yes
WRKSRC= ${WRKDIR}/rar
PLIST_FILES= bin/rar lib/default.sfx etc/rarfiles.lst man/cat1/rar.1.gz
PORTDOCS= license.txt whatsnew.txt order.htm readme.txt

OPTIONS_DEFINE= DOCS SFX
OPTIONS_DEFAULT=SFX

SFX_DESC= SFX archive support (implies compat9x on FreeBSD 10 and up)

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
.if !defined(HAVE_COMPAT_IA32_KERN)
HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then ${ECHO_CMD} YES; fi
.endif
.if !defined(HAVE_COMPAT_IA32_KERN)
IGNORE= requires a kernel with compiled-in IA32 compatibility
.endif
.endif
PORTDOCS= *

.if ${OPSYS} == FreeBSD && ${PORT_OPTIONS:MSFX}
RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:misc/compat9x
.endif
OPTIONS_DEFINE= DOCS

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rar_static ${STAGEDIR}${PREFIX}/bin/rar
${INSTALL_PROGRAM} ${WRKSRC}/rar ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/rar.txt ${STAGEDIR}${PREFIX}/man/cat1/rar.1
${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/default.sfx ${STAGEDIR}${PREFIX}/lib

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/*.txt ${WRKSRC}/order.htm \
${STAGEDIR}${DOCSDIR}

.include <bsd.port.post.mk>
.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions archivers/rar/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1473360405
SHA256 (rarbsd-5.4.0.tar.gz) = 55698e907dba868c04d3e98e715938cf51999b3f4a5b9af95b2c8f5f60c0a309
SIZE (rarbsd-5.4.0.tar.gz) = 1602855
TIMESTAMP = 1502460028
SHA256 (rarbsd-5.5.0.tar.gz) = 49c2104ae14c186e78108192a7fba4cec45990ff3cde81b772837c73bb9a75e3
SIZE (rarbsd-5.5.0.tar.gz) = 943348
5 changes: 2 additions & 3 deletions archivers/rpm4/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= rpm
PORTVERSION= 4.13.0.1
PORTVERSION= 4.13.0.2
CATEGORIES= archivers
MASTER_SITES= http://ftp.rpm.org/releases/rpm-${PORTVERSION:R:R}.x/
PKGNAMESUFFIX= 4
Expand All @@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libpopt.so:devel/popt \
libnss3.so:security/nss
BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:textproc/gsed

USES= alias bdb gmake libarchive libtool lua:51 pathfix pkgconfig \
shebangfix tar:bzip2
Expand Down Expand Up @@ -50,7 +49,7 @@ PLIST_SUB= VERSION=${PORTVERSION} \
PORTDOCS= *

OPTIONS_DEFINE= PYTHON PLUGINS NLS DOCS
OPTIONS_DEFAULT=PYTHON PLUGINS
OPTIONS_DEFAULT=PYTHON
OPTIONS_SUB= yes

PYTHON_CONFIGURE_ENABLE=python
Expand Down
6 changes: 3 additions & 3 deletions archivers/rpm4/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1490795784
SHA256 (rpm-4.13.0.1.tar.bz2) = 27fc7ba7d419622b1ce34d6507aa70b0808bc344021d298072a0c2ec165f9b0d
SIZE (rpm-4.13.0.1.tar.bz2) = 4305261
TIMESTAMP = 1510109070
SHA256 (rpm-4.13.0.2.tar.bz2) = 2f3e2c07c354d16f2305ddd93ed030c8403d59b272f2fb6722445b091ff14194
SIZE (rpm-4.13.0.2.tar.bz2) = 3809178
2 changes: 1 addition & 1 deletion archivers/unarchiver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PORTNAME= unar
PORTVERSION= 1.10.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= archivers gnustep
MASTER_SITES= http://wakaba.c3.cx/releases/TheUnarchiver/
DISTNAME= ${PORTNAME}${PORTVERSION}_src
Expand Down
1 change: 0 additions & 1 deletion astro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
SUBDIR += garmindev
SUBDIR += geographiclib
SUBDIR += gkrellmoon2
SUBDIR += gmapcatcher
SUBDIR += google-earth
SUBDIR += gpsbabel
SUBDIR += gpsbabel14
Expand Down
Loading

0 comments on commit cb07a35

Please sign in to comment.