aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2022-01-09 21:11:27 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2022-01-09 21:11:27 +0000
commit1938e368e49435266823f4b9951fd301f9ccf59b (patch)
tree0962a98cf7b53371b20e3111c5169ec70643c4d4
parent236666043e8f9f43edb87bac346ba6631d2ea7b5 (diff)
downloadports-1938e368e49435266823f4b9951fd301f9ccf59b.tar.gz
ports-1938e368e49435266823f4b9951fd301f9ccf59b.zip
archivers/unfoo: update to 1.0.8
- Follow new upstream - Switch from p7zip to 7-Zip PR: 260866
-rw-r--r--archivers/unfoo/Makefile6
-rw-r--r--archivers/unfoo/distinfo5
-rw-r--r--archivers/unfoo/files/patch-unfoo17
3 files changed, 23 insertions, 5 deletions
diff --git a/archivers/unfoo/Makefile b/archivers/unfoo/Makefile
index 6b30d90c9438..c85b3e00f41a 100644
--- a/archivers/unfoo/Makefile
+++ b/archivers/unfoo/Makefile
@@ -1,7 +1,7 @@
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
PORTNAME= unfoo
-PORTVERSION= 1.0.7
+PORTVERSION= 1.0.8
DISTVERSIONPREFIX= v
CATEGORIES= archivers
@@ -13,10 +13,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= unace:archivers/unace \
unrar:archivers/unrar \
- 7z:archivers/p7zip
+ 7zz:archivers/7-zip
USE_GITHUB= yes
-GH_ACCOUNT= vitaminmoo
+GH_ACCOUNT= jlec
NO_BUILD= yes
NO_ARCH= yes
diff --git a/archivers/unfoo/distinfo b/archivers/unfoo/distinfo
index 2ab28b9f7737..b2b1394aebbd 100644
--- a/archivers/unfoo/distinfo
+++ b/archivers/unfoo/distinfo
@@ -1,2 +1,3 @@
-SHA256 (vitaminmoo-unfoo-v1.0.7_GH0.tar.gz) = 0c0c1692c66a78ef673a5b1b5248184923782e375184a1d532330501e512f6ff
-SIZE (vitaminmoo-unfoo-v1.0.7_GH0.tar.gz) = 31808
+TIMESTAMP = 1641395014
+SHA256 (jlec-unfoo-v1.0.8_GH0.tar.gz) = badc62603f1f7293032b36a1a3f1051b715b31895700d116d74cba4cb68af1e5
+SIZE (jlec-unfoo-v1.0.8_GH0.tar.gz) = 31862
diff --git a/archivers/unfoo/files/patch-unfoo b/archivers/unfoo/files/patch-unfoo
new file mode 100644
index 000000000000..8ae1241d7415
--- /dev/null
+++ b/archivers/unfoo/files/patch-unfoo
@@ -0,0 +1,17 @@
+--- unfoo.orig 2014-07-17 08:18:00 UTC
++++ unfoo
+@@ -239,11 +239,11 @@ for i in "$@"; do
+ # Packed with 7zip, thanks Komoto
+ *.7z)
+ echo -n"$IAM: Unpacking 7zip archive $ITIS..."
+- if [ $(7z l -slt "$i" | grep Path | grep -v "$i" | cut -d' ' -f3 | need_subdir) == 1 ]; then
++ if [ $(7zz l -slt "$i" | grep Path | grep -v "$i" | cut -d' ' -f3 | need_subdir) == 1 ]; then
+ dirname=$(basename "$i" .7z)
+- 7z x -o"$dirname" "$i"
++ 7zz x -o"$dirname" "$i"
+ else
+- 7z x "$i"
++ 7zz x "$i"
+ fi
+ check_success
+ ;;