Skip to content

Commit

Permalink
*/*: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: FreeBSD
  • Loading branch information
fichtner committed Apr 11, 2023
1 parent 910f099 commit bc9fc28
Show file tree
Hide file tree
Showing 4,691 changed files with 121,002 additions and 121,670 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/darkman/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORTNAME= darkman
DISTVERSIONPREFIX= v
DISTVERSION= 1.5.4
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= accessibility wayland

MAINTAINER= [email protected]
Expand Down
10 changes: 5 additions & 5 deletions arabic/libreoffice/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1677832798
SHA256 (libreoffice/i18n/LibreOffice_7.5.1_Linux_x86-64_deb_langpack_ar.tar.gz) = ec85d6eb4c3a492b7b2702d3fe2e304809649af8417124a392fde3cf18ba5721
SIZE (libreoffice/i18n/LibreOffice_7.5.1_Linux_x86-64_deb_langpack_ar.tar.gz) = 1762715
SHA256 (libreoffice/i18n/LibreOffice_7.5.1_Linux_x86-64_deb_helppack_ar.tar.gz) = a1f96e32c5ec68c61962cf1d1b235ba0807a5bfa1ca8d1fc84a6ec393dae2f41
SIZE (libreoffice/i18n/LibreOffice_7.5.1_Linux_x86-64_deb_helppack_ar.tar.gz) = 2265213
TIMESTAMP = 1680183347
SHA256 (libreoffice/i18n/LibreOffice_7.5.2_Linux_x86-64_deb_langpack_ar.tar.gz) = 9a1f3869569ca62206ba5c8673003d97ed105de35d3f65a41e78f96bd47f8abc
SIZE (libreoffice/i18n/LibreOffice_7.5.2_Linux_x86-64_deb_langpack_ar.tar.gz) = 1762576
SHA256 (libreoffice/i18n/LibreOffice_7.5.2_Linux_x86-64_deb_helppack_ar.tar.gz) = dd35973c072d8d527129d1c958c77ce5de9753945de79bd76e1ac76e047dcf7f
SIZE (libreoffice/i18n/LibreOffice_7.5.2_Linux_x86-64_deb_helppack_ar.tar.gz) = 2265024
3 changes: 3 additions & 0 deletions archivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
SUBDIR += paq
SUBDIR += par
SUBDIR += par2cmdline
SUBDIR += par2cmdline-turbo
SUBDIR += parchive
SUBDIR += pbzip2
SUBDIR += pear-File_Archive
Expand Down Expand Up @@ -184,6 +185,7 @@
SUBDIR += py-bup
SUBDIR += py-bz2file
SUBDIR += py-compressed-rtf
SUBDIR += py-cramjam
SUBDIR += py-libarchive-c
SUBDIR += py-lz4
SUBDIR += py-lzma
Expand All @@ -195,6 +197,7 @@
SUBDIR += py-rarfile
SUBDIR += py-rcssmin
SUBDIR += py-rjsmin
SUBDIR += py-sozipfile
SUBDIR += py-warctools
SUBDIR += py-xopen
SUBDIR += py-zopfli
Expand Down
2 changes: 1 addition & 1 deletion archivers/c-blosc2/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= c-blosc2
PORTVERSION= 2.7.1
PORTVERSION= 2.8.0
DISTVERSIONPREFIX= v
CATEGORIES= archivers

Expand Down
6 changes: 3 additions & 3 deletions archivers/c-blosc2/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1677770985
SHA256 (Blosc-c-blosc2-v2.7.1_GH0.tar.gz) = 38ec2cd50f5c5c918793823478147a5e55f7c50d1c10d210aba3a079db2f8a14
SIZE (Blosc-c-blosc2-v2.7.1_GH0.tar.gz) = 2794139
TIMESTAMP = 1680726020
SHA256 (Blosc-c-blosc2-v2.8.0_GH0.tar.gz) = be608cdf68deb02e0d3ee62e183942a0fe5d5d3185375b9b6566e2ae35a9bdbd
SIZE (Blosc-c-blosc2-v2.8.0_GH0.tar.gz) = 2757219
21 changes: 12 additions & 9 deletions archivers/maxcso/Makefile
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
PORTNAME= maxcso
PORTNAME= maxcso
DISTVERSIONPREFIX= v
DISTVERSION= 1.10.0
PORTREVISION= 2
CATEGORIES= archivers
DISTVERSION= 1.13.0-27
DISTVERSIONSUFFIX= -g528c69bf
CATEGORIES= archivers

MAINTAINER= ports@FreeBSD.org
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Fast ISO to CSO compressor for PSP and PS2 emulators
WWW= https://github.com/unknownbrackets/maxcso

LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE.md

LIB_DEPENDS= libuv.so:devel/libuv \
LIB_DEPENDS= libdeflate.so:archivers/libdeflate \
liblz4.so:archivers/liblz4 \
libuv.so:devel/libuv \
libzopfli.so:archivers/zopfli

USES= gmake pkgconfig compiler:c++11-lang

USES= compiler:c++11-lang gmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= unknownbrackets

PLIST_FILES= bin/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions archivers/maxcso/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1541531490
SHA256 (unknownbrackets-maxcso-v1.10.0_GH0.tar.gz) = 8fc56ab96536c0b12f890b34a83b4c4a5c1013756f8664037313132b7c2515eb
SIZE (unknownbrackets-maxcso-v1.10.0_GH0.tar.gz) = 3170809
TIMESTAMP = 1680728618
SHA256 (unknownbrackets-maxcso-v1.13.0-27-g528c69bf_GH0.tar.gz) = 5b09c933adc5e5bae54fdf85305e2b58841dc3ad33f095d4ff422491cd4a3fa0
SIZE (unknownbrackets-maxcso-v1.13.0-27-g528c69bf_GH0.tar.gz) = 3738129
30 changes: 10 additions & 20 deletions archivers/maxcso/files/patch-Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
--- Makefile.orig 2018-11-08 20:43:35 UTC
--- Makefile.orig 2023-02-12 18:33:37 UTC
+++ Makefile
@@ -5,6 +5,9 @@ CFLAGS += -W -Wall -Wextra -O2 -Wno-implicit-function-
CXXFLAGS += -W -Wall -Wextra -std=c++11 -O2 -Izopfli/src -I7zip -DNDEBUG=1 \
-Wno-unused-parameter -pthread
@@ -68,8 +68,8 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.c $(OBJDIR)/.done
$(CC) -c $(SRC_CFLAGS) $(CFLAGS) -o $@ $<

+CFLAGS += $(shell pkg-config --cflags libuv liblz4)
+CXXFLAGS += $(shell pkg-config --cflags libuv liblz4)
+
SRC_CXX_SRC = $(wildcard src/*.cpp)
SRC_CXX_OBJ = $(SRC_CXX_SRC:.cpp=.o)
CLI_CXX_SRC = $(wildcard cli/*.cpp)
@@ -23,8 +26,8 @@ ZOPFLI_C_OBJ = $(ZOPFLI_C_SRC:.c=.o)
%.o: %.c
$(CC) -c $(CFLAGS) -o $@ $<
# TODO: Perhaps detect and use system libdeflate if available.
-maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(ZOPFLI_C_OBJ) $(SRC_7ZIP) $(SRC_LIBDEFLATE)
- $(CXX) $(LDFLAGS) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ $(LIBS) $(EXTRA_LIBS)
+maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(SRC_7ZIP)
+ $(CXX) $(LDFLAGS) -o $@ $(SRC_CXXFLAGS) $(CXXFLAGS) $^ $(LIBS) $(EXTRA_LIBS) -lzopfli -ldeflate

-maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) $(ZOPFLI_C_OBJ) 7zip/7zip.a
- $(CXX) -o $@ $(CXXFLAGS) $^ -luv -llz4 -lz
+maxcso: $(SRC_CXX_OBJ) $(CLI_CXX_OBJ) 7zip/7zip.a
+ $(CXX) -o $@ $(CXXFLAGS) $^ $(shell pkg-config --libs libuv liblz4) -lzopfli -lz

7zip/7zip.a:
$(MAKE) -C 7zip 7zip.a
$(SRC_7ZIP):
$(MAKE) -f $(SRCDIR)/7zip/Makefile 7zip.a
3 changes: 2 additions & 1 deletion archivers/nfpm/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PORTNAME= nfpm
DISTVERSIONPREFIX= v
DISTVERSION= 2.27.1
DISTVERSION= 2.28.0
PORTREVISION= 1
CATEGORIES= archivers

MAINTAINER= [email protected]
Expand Down
10 changes: 5 additions & 5 deletions archivers/nfpm/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1679553415
SHA256 (go/archivers_nfpm/nfpm-v2.27.1/v2.27.1.mod) = 704e053beb844873b371ed5184efcdab943a6f12d25b0b8dafdf459882152cea
SIZE (go/archivers_nfpm/nfpm-v2.27.1/v2.27.1.mod) = 2904
SHA256 (go/archivers_nfpm/nfpm-v2.27.1/v2.27.1.zip) = c9d1447c8fb88d2c26a06134ca900f77f8b0d36e8123a533ea52a77981109ec5
SIZE (go/archivers_nfpm/nfpm-v2.27.1/v2.27.1.zip) = 539885
TIMESTAMP = 1680925529
SHA256 (go/archivers_nfpm/nfpm-v2.28.0/v2.28.0.mod) = aff3fe955755205f56c7ad92c2dd24cbd7cb5659dbd503bf8bc6329c1ca778c1
SIZE (go/archivers_nfpm/nfpm-v2.28.0/v2.28.0.mod) = 2904
SHA256 (go/archivers_nfpm/nfpm-v2.28.0/v2.28.0.zip) = 0fe48aac996d3c313aa972bb615d4dce2835b22e6beabbc108578d869a48d4b6
SIZE (go/archivers_nfpm/nfpm-v2.28.0/v2.28.0.zip) = 540504
2 changes: 1 addition & 1 deletion archivers/p5-Archive-Tar/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= Archive-Tar
PORTVERSION= 2.40
PORTVERSION= 3.00
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:BINGOS
Expand Down
6 changes: 3 additions & 3 deletions archivers/p5-Archive-Tar/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1628103810
SHA256 (Archive-Tar-2.40.tar.gz) = 2d3e357d6a994fa69f7b29d782464d0a6e02ac6600837e5474fa770ddebc9541
SIZE (Archive-Tar-2.40.tar.gz) = 65209
TIMESTAMP = 1680726432
SHA256 (Archive-Tar-3.00.tar.gz) = 0d71196b8c40ef7dae31e372f99e46e49816f8fbd0c8f4fef91ad3f51b99d226
SIZE (Archive-Tar-3.00.tar.gz) = 67297
36 changes: 36 additions & 0 deletions archivers/par2cmdline-turbo/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
PORTNAME= par2cmdline-turbo
PORTVERSION= 0.9.0
DISTVERSIONPREFIX= v
CATEGORIES= archivers

MAINTAINER= [email protected]
COMMENT= Tools for using Parity v2 Archive files using ParPar backend
WWW= https://github.com/animetosho/par2cmdline-turbo

LICENSE= GPLv2

ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= untested on other archs

USES= autoreconf compiler:c++11-lang
GNU_CONFIGURE= yes
LDFLAGS+= -lpthread

USE_GITHUB= yes
GH_ACCOUNT= animetosho

PORTDOCS= README.md
CONFLICTS= par2cmdline

PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify \
man/man1/par2.1.gz

OPTIONS_DEFINE= DOCS

TEST_TARGET= check

post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions archivers/par2cmdline-turbo/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1680203173
SHA256 (animetosho-par2cmdline-turbo-v0.9.0_GH0.tar.gz) = 95817b4d944e2ae01d045c5b569d04ff591fc7992e97ca9a13657d094642917a
SIZE (animetosho-par2cmdline-turbo-v0.9.0_GH0.tar.gz) = 3838037
11 changes: 11 additions & 0 deletions archivers/par2cmdline-turbo/files/patch-parpar-gf16-threadqueue.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- parpar/gf16/threadqueue.h.orig 2023-03-22 08:33:16 UTC
+++ parpar/gf16/threadqueue.h
@@ -252,7 +252,7 @@ class MessageThread {
pthread_t self = pthread_self();
if(!pthread_getschedparam(self, &policy, &param)) {
if(policy == SCHED_OTHER) {
- #ifdef __MACH__
+ #if defined(__MACH__) || defined(__FreeBSD__)
// MacOS doesn't support SCHED_BATCH, but does seem to permit priorities on SCHED_OTHER
int min = sched_get_priority_min(policy);
if(min < param.sched_priority) {
5 changes: 5 additions & 0 deletions archivers/par2cmdline-turbo/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Parity v2 Archive create/verify/recover using ParPar backend

This is a simple fork of par2cmdline which replaces core computation routines
with ParPar's processing backend, improving par2cmdline's performance on
x86/ARM platforms.
12 changes: 7 additions & 5 deletions archivers/par2cmdline/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PORTNAME= par2cmdline
PORTVERSION= 0.8.1
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= archivers

MAINTAINER= [email protected]
Expand All @@ -16,17 +17,18 @@ USE_GITHUB= yes
GH_ACCOUNT= Parchive

PORTDOCS= README
CONFLICTS= par2cmdline-tbb
CONFLICTS= par2cmdline-turbo

PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify man/man1/par2.1.gz
PLIST_FILES= bin/par2 bin/par2create bin/par2repair bin/par2verify \
man/man1/par2.1.gz

OPTIONS_DEFINE= DOCS

TEST_TARGET= check

post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR} && \
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.pre.mk>

Expand Down
7 changes: 0 additions & 7 deletions archivers/par2cmdline/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,3 @@ Parity v2 Archive create/verify/recover

par2cmdline is a program for creating and using PAR2 files to detect damage in
data files and repair them if necessary. It can be used with any kind of file.
Par files are especially popular on Usenet.

OpenMP multithreading was originally developed by Jussi Kansanen:
https://github.com/jkansanen/par2cmdline-mt
The original development was done on Sourceforge but stalled. For more
information from the original authors see:
http://parchive.sourceforge.net
10 changes: 6 additions & 4 deletions archivers/py-borgbackup/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= borgbackup
DISTVERSION= 1.2.3
DISTVERSION= 1.2.4
CATEGORIES= archivers python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,14 +11,15 @@ WWW= https://pypi.org/project/borgbackup/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

# note that borgbackup pins the msgpack version range per patchlevel version!
_BB_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.2<1.0.5_99:devel/py-msgpack@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.7:devel/py-setuptools_scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}msgpack>=1.0:devel/py-msgpack@${PY_FLAVOR}
${_BB_DEPENDS}
LIB_DEPENDS= liblz4.so:archivers/liblz4 \
libzstd.so:archivers/zstd \
libxxhash.so:devel/xxhash
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=19.0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}msgpack>=1.0:devel/py-msgpack@${PY_FLAVOR}
MAKE_ENV= BORG_OPENSSL_PREFIX=${OPENSSLBASE}
${_BB_DEPENDS}
TEST_DEPENDS= ${RUN_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}tox>3.2:devel/py-tox@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} \
Expand All @@ -27,6 +28,7 @@ TEST_DEPENDS= ${RUN_DEPENDS} \
fakeroot:security/fakeroot
USES= pkgconfig python:3.8+ ssl
USE_PYTHON= autoplist distutils
MAKE_ENV= BORG_OPENSSL_PREFIX=${OPENSSLBASE}

OPTIONS_DEFINE= FUSE
OPTIONS_DEFAULT= FUSE
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 = 1673634167
SHA256 (borgbackup-1.2.3.tar.gz) = e32418f8633c96fa9681352a56eb63b98e294203472c114a5242709d36966785
SIZE (borgbackup-1.2.3.tar.gz) = 4044577
TIMESTAMP = 1680857218
SHA256 (borgbackup-1.2.4.tar.gz) = a4bd54e9469e81b7a30a6711423115abc818d9cd844ecb1ca0e6104bc5374da8
SIZE (borgbackup-1.2.4.tar.gz) = 4056513
26 changes: 26 additions & 0 deletions archivers/py-cramjam/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
PORTNAME= cramjam
PORTVERSION= 2.6.2
CATEGORIES= archivers python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= [email protected]
COMMENT= Thin Python bindings to de/compression algorithms in Rust
WWW= https://github.com/milesgranger/pyrus-cramjam

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.13<0.14:devel/py-maturin@${PY_FLAVOR}

USES= cargo python:3.7+
USE_PYTHON= autoplist concurrent pep517

CARGO_BUILD= no
CARGO_INSTALL= no

post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +

.include <bsd.port.mk>
Loading

0 comments on commit bc9fc28

Please sign in to comment.