summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/lz4json/Makefile6
-rw-r--r--archivers/lz4json/files/patch-lz4jsoncat.c (renamed from archivers/lz4json/files/patch-warnings)33
-rw-r--r--archivers/szip/Makefile8
-rw-r--r--archivers/xarchiver/Makefile4
-rw-r--r--archivers/xarchiver/distinfo6
-rw-r--r--archivers/xarchiver/files/patch-src_main.c6
-rw-r--r--archivers/xarchiver/files/patch-src_window.c6
-rw-r--r--archivers/xarchiver/pkg-plist35
8 files changed, 41 insertions, 63 deletions
diff --git a/archivers/lz4json/Makefile b/archivers/lz4json/Makefile
index b4da0b1fe203..95535f235f27 100644
--- a/archivers/lz4json/Makefile
+++ b/archivers/lz4json/Makefile
@@ -7,6 +7,8 @@ MAINTAINER= ports@virtual-estates.net
COMMENT= Unpack Mozilla lz4json files, such as bookmarks and session restore
WWW= https://github.com/andikleen/lz4json
+LICENSE= BSD2CLAUSE
+
LIB_DEPENDS= liblz4.so:archivers/liblz4
USES= uidfix
@@ -14,8 +16,8 @@ USES= uidfix
USE_GITHUB= yes
GH_ACCOUNT= andikleen
GH_TAGNAME= c44c5100
-PLIST_FILES= bin/lz4jsoncat share/man/man1/lz4jsoncat.1${COMPRESS_EXT}
-
MAKEFILE= ${FILESDIR}/BSDmakefile
+PLIST_FILES= bin/lz4jsoncat \
+ share/man/man1/lz4jsoncat.1${COMPRESS_EXT}
.include <bsd.port.mk>
diff --git a/archivers/lz4json/files/patch-warnings b/archivers/lz4json/files/patch-lz4jsoncat.c
index 13c4f68607a7..df45ec27f180 100644
--- a/archivers/lz4json/files/patch-warnings
+++ b/archivers/lz4json/files/patch-lz4jsoncat.c
@@ -1,24 +1,17 @@
---- lz4jsoncat.c 2019-12-29 00:44:09.000000000 -0500
-+++ lz4jsoncat.c 2023-08-22 01:48:00.646059000 -0400
-@@ -1,3 +1,3 @@
--/*
-+/*
- * Dump mozilla style lz4json files.
- *
-@@ -30,15 +30,19 @@
+--- lz4jsoncat.c.orig 2025-06-24 19:59:38 UTC
++++ lz4jsoncat.c
+@@ -29,7 +29,9 @@
+ #include <stdlib.h>
#include <stdint.h>
#ifndef __APPLE__
+-#include <endian.h>
+# if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFlyBSD__)
+#include <sys/endian.h>
-+# else
- #include <endian.h>
-+# endif
++#endif
#else
#define htole32(x) x /* assume apple targets are little endian */
#endif
-
--#include "lz4.h"
-+#include <lz4.h>
+@@ -38,8 +40,8 @@ int main(int ac, char **av)
int main(int ac, char **av)
{
@@ -28,21 +21,27 @@
+ int fd = open(*++av, O_RDONLY);
if (fd < 0) {
perror(*av);
-@@ -56,5 +60,5 @@
+ continue;
+@@ -55,7 +57,7 @@ int main(int ac, char **av)
+ }
char *map = mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0);
- if (map == (char *)-1) {
+ if (map == MAP_FAILED) {
perror(*av);
exit(1);
-@@ -64,5 +68,5 @@
+ }
+@@ -63,7 +65,7 @@ int main(int ac, char **av)
+ fprintf(stderr, "%s: not a mozLZ4a file\n", *av);
exit(1);
}
- size_t outsz = htole32(*(uint32_t *) (map + 8));
+ ssize_t outsz = htole32(*(uint32_t *) (map + 8));
char *out = malloc(outsz);
if (!out) {
-@@ -88,5 +92,2 @@
+ fprintf(stderr, "Cannot allocate memory\n");
+@@ -87,6 +89,3 @@ int main(int ac, char **av)
+ }
return 0;
}
-
diff --git a/archivers/szip/Makefile b/archivers/szip/Makefile
index 0c1666f00d37..97e62ed4e2a0 100644
--- a/archivers/szip/Makefile
+++ b/archivers/szip/Makefile
@@ -10,9 +10,15 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Fast compression utility
WWW= http://www.compressconsult.com/szip/
-NO_WRKSUBDIR= yes
+LICENSE= SZ
+LICENSE_NAME= Szip License
+LICENSE_FILE= ${WRKSRC}/readme.txt
+LICENSE_PERMS= auto-accept
+
MAKEFILE= makefile
+NO_WRKSUBDIR= yes
+
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *.txt
diff --git a/archivers/xarchiver/Makefile b/archivers/xarchiver/Makefile
index 3c25c1eb403c..2664a77420d0 100644
--- a/archivers/xarchiver/Makefile
+++ b/archivers/xarchiver/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xarchiver
-DISTVERSION= 0.5.4.25
+DISTVERSION= 0.5.4.26
CATEGORIES= archivers
MAINTAINER= eduardo@FreeBSD.org
@@ -26,6 +26,8 @@ GNU_CONFIGURE= yes
PORTSCOUT= limit:^\d\.\d\.\d\.\d+$ # avoid tags like identical_to_xfce_git_content
+PORTDOCS= *
+
OPTIONS_DEFINE= DOCS NLS
OPTIONS_GROUP= FORMATS
OPTIONS_GROUP_FORMATS= ARJ LZO RAR
diff --git a/archivers/xarchiver/distinfo b/archivers/xarchiver/distinfo
index a7f056a72656..0736c12487a4 100644
--- a/archivers/xarchiver/distinfo
+++ b/archivers/xarchiver/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742762547
-SHA256 (ib-xarchiver-0.5.4.25_GH0.tar.gz) = dfd70c9081790399c32d9d716a55060e5136ff0ad1a94a84988a55fd6f771ceb
-SIZE (ib-xarchiver-0.5.4.25_GH0.tar.gz) = 1164484
+TIMESTAMP = 1757364848
+SHA256 (ib-xarchiver-0.5.4.26_GH0.tar.gz) = 58e4fb2c1fb8421573a31cf3b4dfec301076d61f48ac5720df632986c87e9573
+SIZE (ib-xarchiver-0.5.4.26_GH0.tar.gz) = 1190919
diff --git a/archivers/xarchiver/files/patch-src_main.c b/archivers/xarchiver/files/patch-src_main.c
index 2c499398688b..de45af95c4d8 100644
--- a/archivers/xarchiver/files/patch-src_main.c
+++ b/archivers/xarchiver/files/patch-src_main.c
@@ -1,6 +1,6 @@
---- src/main.c.orig 2022-08-25 20:42:45 UTC
+--- src/main.c.orig 2025-09-01 12:04:54 UTC
+++ src/main.c
-@@ -410,7 +410,7 @@ static void xa_check_available_archivers ()
+@@ -478,7 +478,7 @@ static void xa_check_available_archivers ()
/* GNU zip */
type = XARCHIVETYPE_GZIP;
@@ -9,7 +9,7 @@
if (path)
archiver[type].is_compressor = TRUE;
-@@ -906,11 +906,11 @@ static void xa_check_available_archivers ()
+@@ -1014,11 +1014,11 @@ static void xa_check_available_archivers ()
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(prefs_window->prefer_unzip)) ||
(!is7za && !lsar))
{
diff --git a/archivers/xarchiver/files/patch-src_window.c b/archivers/xarchiver/files/patch-src_window.c
index 9cb92732efd6..94cf467bbe66 100644
--- a/archivers/xarchiver/files/patch-src_window.c
+++ b/archivers/xarchiver/files/patch-src_window.c
@@ -1,7 +1,7 @@
---- src/window.c.orig 2020-06-30 13:19:44 UTC
+--- src/window.c.orig 2025-09-01 12:04:54 UTC
+++ src/window.c
-@@ -1823,7 +1823,7 @@ ArchiveType xa_detect_archive_type (const gchar *filen
- xa.type = XARCHIVETYPE_LZ4;
+@@ -1844,7 +1844,7 @@ ArchiveType xa_detect_archive_type (const gchar *filen
+ }
else if (memcmp(magic, "LZIP", 4) == 0)
xa.type = XARCHIVETYPE_LZIP;
- else if (memcmp(magic, "\x5d\x00\x00\x80", 4) == 0)
diff --git a/archivers/xarchiver/pkg-plist b/archivers/xarchiver/pkg-plist
index 2615d6520f29..d9c8c21180bb 100644
--- a/archivers/xarchiver/pkg-plist
+++ b/archivers/xarchiver/pkg-plist
@@ -1,39 +1,6 @@
bin/xarchiver
libexec/thunar-archive-plugin/xarchiver.tap
-share/man/man1/xarchiver.1.gz
share/applications/xarchiver.desktop
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/ch01.html
-%%PORTDOCS%%%%DOCSDIR%%/ch01s01.html
-%%PORTDOCS%%%%DOCSDIR%%/ch01s02.html
-%%PORTDOCS%%%%DOCSDIR%%/ch01s03.html
-%%PORTDOCS%%%%DOCSDIR%%/ch02.html
-%%PORTDOCS%%%%DOCSDIR%%/ch02s01.html
-%%PORTDOCS%%%%DOCSDIR%%/ch02s02.html
-%%PORTDOCS%%%%DOCSDIR%%/ch03.html
-%%PORTDOCS%%%%DOCSDIR%%/ch03s01.html
-%%PORTDOCS%%%%DOCSDIR%%/ch03s02.html
-%%PORTDOCS%%%%DOCSDIR%%/ch03s03.html
-%%PORTDOCS%%%%DOCSDIR%%/ch03s04.html
-%%PORTDOCS%%%%DOCSDIR%%/ch04.html
-%%PORTDOCS%%%%DOCSDIR%%/ch04s01.html
-%%PORTDOCS%%%%DOCSDIR%%/ch04s02.html
-%%PORTDOCS%%%%DOCSDIR%%/ch04s03.html
-%%PORTDOCS%%%%DOCSDIR%%/ch04s04.html
-%%PORTDOCS%%%%DOCSDIR%%/ch04s05.html
-%%PORTDOCS%%%%DOCSDIR%%/ch04s06.html
-%%PORTDOCS%%%%DOCSDIR%%/images/add_dialog.png
-%%PORTDOCS%%%%DOCSDIR%%/images/archive_comment_dialog.png
-%%PORTDOCS%%%%DOCSDIR%%/images/archive_properties.png
-%%PORTDOCS%%%%DOCSDIR%%/images/extract_dialog.png
-%%PORTDOCS%%%%DOCSDIR%%/images/multi_extract_dialog.png
-%%PORTDOCS%%%%DOCSDIR%%/images/new_dialog.png
-%%PORTDOCS%%%%DOCSDIR%%/images/password_dialog.png
-%%PORTDOCS%%%%DOCSDIR%%/images/pref_dialog.png
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/xarchiver.css
share/icons/hicolor/16x16/apps/xarchiver.png
share/icons/hicolor/24x24/apps/xarchiver.png
share/icons/hicolor/32x32/apps/xarchiver.png
@@ -80,6 +47,7 @@ share/icons/hicolor/scalable/apps/xarchiver.svg
%%NLS%%share/locale/sq/LC_MESSAGES/xarchiver.mo
%%NLS%%share/locale/sr/LC_MESSAGES/xarchiver.mo
%%NLS%%share/locale/sv/LC_MESSAGES/xarchiver.mo
+%%NLS%%share/locale/ta/LC_MESSAGES/xarchiver.mo
%%NLS%%share/locale/te/LC_MESSAGES/xarchiver.mo
%%NLS%%share/locale/th/LC_MESSAGES/xarchiver.mo
%%NLS%%share/locale/tr/LC_MESSAGES/xarchiver.mo
@@ -89,6 +57,7 @@ share/icons/hicolor/scalable/apps/xarchiver.svg
%%NLS%%share/locale/vi/LC_MESSAGES/xarchiver.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/xarchiver.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/xarchiver.mo
+share/man/man1/xarchiver.1.gz
share/pixmaps/xarchiver/xarchiver-add.png
share/pixmaps/xarchiver/xarchiver-close.png
share/pixmaps/xarchiver/xarchiver-extract.png