aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Hutchinson <portmaster@BSDforge.com>2026-04-30 06:47:48 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2026-05-01 18:53:46 +0000
commit06b2705ce694a919466f567b60cdcc253f767d29 (patch)
treed628ab245cb1fc93fb68678f77ab43af58d03c12
parentca4eb00533284bc43faced1f3fb6dcaef0944832 (diff)
archivers/archmerge: NEW PORT, replaces archivers/zipmix
Different compression programs result in different compression ratios and compress different types of files unequally. Archmerge will take the best files from each archive and create a new output file, which is guaranteed to be equal to, or smaller in size than both of the input files. Archmerge can also be used to perform boolean operations on archives, such as merging 2 archives together, or updating a new file. NOTE: in it's current incarnation. Archmerge only operates on zip archives. Additional compression algorithms and techniques will be added soon. WWW: https://codeberg.org/BSDforge/archmerge PR: 294920, 293749
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/archmerge/Makefile24
-rw-r--r--archivers/archmerge/distinfo3
-rw-r--r--archivers/archmerge/pkg-descr12
4 files changed, 40 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 56fa9fccb1ac..a0fba31c658d 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -10,6 +10,7 @@
SUBDIR += apache-commons-compress
SUBDIR += appscript
SUBDIR += arc
+ SUBDIR += archmerge
SUBDIR += arj
SUBDIR += ark
SUBDIR += arqiver
diff --git a/archivers/archmerge/Makefile b/archivers/archmerge/Makefile
new file mode 100644
index 000000000000..0e6c3aff0c60
--- /dev/null
+++ b/archivers/archmerge/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= archmerge
+DISTVERSION= 0.9.9
+CATEGORIES= archivers
+MASTER_SITES= https://codeberg.org/BSDforge/${PORTNAME}/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER= portmaster@BSDforge.com
+COMMENT= Produce a smaller zip file from two others with the best compressed files
+WWW= https://codeberg.org/BSDforge/${PORTNAME}
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= ncurses
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+PLIST_FILES= bin/arm \
+ share/doc/${PORTNAME}/README
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/arm ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/archivers/archmerge/distinfo b/archivers/archmerge/distinfo
new file mode 100644
index 000000000000..4b44caa35e23
--- /dev/null
+++ b/archivers/archmerge/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1777528560
+SHA256 (archmerge-0.9.9.tar.gz) = f48b1c4c8ca3705bfd4860eab4a73b3e307cf1322c5858fb2fc43a608ae927b9
+SIZE (archmerge-0.9.9.tar.gz) = 6184
diff --git a/archivers/archmerge/pkg-descr b/archivers/archmerge/pkg-descr
new file mode 100644
index 000000000000..59bf27372e5d
--- /dev/null
+++ b/archivers/archmerge/pkg-descr
@@ -0,0 +1,12 @@
+Different compression programs result in different
+compression ratios and compress different types of files
+unequally.
+Archmerge will take the best files from each archive and
+create a new output file, which is guaranteed to be equal
+to, or smaller in size than both of the input files. Archmerge
+can also be used to perform boolean operations on archives,
+such as merging 2 archives together, or updating a new file.
+
+NOTE: in it's current incarnation. Archmerge only operates on
+zip archives. Additional compression algorithms and techniques
+will be added soon.