[gentoo-commits] repo/proj/prefix:master commit in: app-arch/unzip/

2020-12-26 Thread Fabian Groffen
commit: 622cc50d95d6a612679d34eff0286859808d5982
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sat Dec 26 13:08:13 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sat Dec 26 13:08:13 2020 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=622cc50d

app-arch/unzip: drop ~m68k-mint

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 app-arch/unzip/unzip-6.0_p21-r2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-arch/unzip/unzip-6.0_p21-r2.ebuild 
b/app-arch/unzip/unzip-6.0_p21-r2.ebuild
index cb723c61a9..09846ee072 100644
--- a/app-arch/unzip/unzip-6.0_p21-r2.ebuild
+++ b/app-arch/unzip/unzip-6.0_p21-r2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/infozip/${MY_P}.tar.gz
 
 LICENSE="Info-ZIP"
 SLOT="0"
-KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="bzip2 natspec unicode"
 
 DEPEND="bzip2? ( app-arch/bzip2 )
@@ -64,7 +64,6 @@ src_configure() {
*bsd* | *dragonfly*) TARGET="bsd" ;;
*-darwin*)   TARGET="macosx" ;;
*-solaris*)  TARGET="generic" ;;
-   *-mint*) TARGET="generic" ;;
*-cygwin*)   TARGET="generic" ;;
*) die "Unknown target; please update the ebuild to handle ${CHOST} 
" ;;
esac



[gentoo-commits] repo/proj/prefix:master commit in: app-arch/unzip/

2020-12-15 Thread Fabian Groffen
commit: 8e5ab09d13a91ef86e9aa1148ea77638558bdced
Author: Fabian Groffen  gentoo  org>
AuthorDate: Tue Dec 15 19:05:20 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Tue Dec 15 19:05:20 2020 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=8e5ab09d

app-arch/unzip: drop ~ppc-aix

Bug: https://bugs.gentoo.org/760057
Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 app-arch/unzip/unzip-6.0_p21-r2.ebuild | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/app-arch/unzip/unzip-6.0_p21-r2.ebuild 
b/app-arch/unzip/unzip-6.0_p21-r2.ebuild
index 0f0cdaa560..cb723c61a9 100644
--- a/app-arch/unzip/unzip-6.0_p21-r2.ebuild
+++ b/app-arch/unzip/unzip-6.0_p21-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/infozip/${MY_P}.tar.gz
 
 LICENSE="Info-ZIP"
 SLOT="0"
-KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="bzip2 natspec unicode"
 
 DEPEND="bzip2? ( app-arch/bzip2 )
@@ -64,8 +64,6 @@ src_configure() {
*bsd* | *dragonfly*) TARGET="bsd" ;;
*-darwin*)   TARGET="macosx" ;;
*-solaris*)  TARGET="generic" ;;
-   *-aix*)  TARGET="gcc"; append-cppflags "-DNO_LCHMOD"; 
append-ldflags "-Wl,-blibpath:${EPREFIX}/usr/$(get_libdir)" ;;
-   *-hpux*) TARGET="gcc"; append-ldflags 
"-Wl,+b,${EPREFIX}/usr/$(get_libdir)" ;;
*-mint*) TARGET="generic" ;;
*-cygwin*)   TARGET="generic" ;;
*) die "Unknown target; please update the ebuild to handle ${CHOST} 
" ;;



[gentoo-commits] repo/proj/prefix:master commit in: app-arch/unzip/, app-arch/unzip/files/

2018-11-19 Thread Fabian Groffen
commit: db0865445d76ed1c2c1704458d1dceed1fde0194
Author: Fabian Groffen  gentoo  org>
AuthorDate: Mon Nov 19 16:38:30 2018 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Mon Nov 19 16:38:30 2018 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=db086544

app-arch/unzip: sync

Signed-off-by: Fabian Groffen  gentoo.org>
Package-Manager: Portage-2.3.40.3-prefix, Repoman-2.3.9

 app-arch/unzip/Manifest|  2 +-
 .../unzip/files/unzip-6.0-format-security.patch| 91 ++
 app-arch/unzip/unzip-6.0-r3.ebuild | 82 ---
 ...nzip-6.0_p20.ebuild => unzip-6.0_p21-r2.ebuild} | 20 +++--
 4 files changed, 101 insertions(+), 94 deletions(-)

diff --git a/app-arch/unzip/Manifest b/app-arch/unzip/Manifest
index 3b13649240..c338085389 100644
--- a/app-arch/unzip/Manifest
+++ b/app-arch/unzip/Manifest
@@ -1,2 +1,2 @@
 DIST unzip60.tar.gz 1376845 BLAKE2B 
5016d300b4452018a391f4ebc03c6960c068df400a0407c0c60bd7bb5ec5012031f916d8b204a6149ba291c2c35beba40d9b43c76fc093026e79471329ab0e47
 SHA512 
0694e403ebc57b37218e00ec1a406cae5cc9c5b52b6798e0d4590840b6cdbf9ddc0d9471f67af783e960f8fa2e620394d51384257dca23d06bcd90224a80ce5d
-DIST unzip_6.0-20.debian.tar.xz 16680 BLAKE2B 
17ce9234ac485eab4e5188b555af31dcb0db577b199e0c58991ba7211c4c80edce52b72e89cc4d82b000b70bed1ac90262c0972507f28f054af2cebd0ca33b48
 SHA512 
7212cb110291581c2e465dc8ea5130eabffc4e0369d6245e8c26fa9d350bed904847d6e1191afaaa2d3fc23bd05fda7da80439d0c06b88f5331b01c9eff97fbe
+DIST unzip_6.0-21.debian.tar.xz 17740 BLAKE2B 
098a84e5b05f819f9c8c6a6656fdb2359dfb5b93f63444e55347e0bef9735fa48bf1631a658a2cb6d0c604e7e740e47b57910d251b74e5df7c8b9468acfe55f4
 SHA512 
f7bce4156ac13c34da3f991df3ae88b0db99b0810c7f8904ea3ac666a4cb2788d7182056f2bbd82d7519d0e0ee31a10af47bee08f360ceb859e5fbfc6e15ef36

diff --git a/app-arch/unzip/files/unzip-6.0-format-security.patch 
b/app-arch/unzip/files/unzip-6.0-format-security.patch
new file mode 100644
index 00..c61c135963
--- /dev/null
+++ b/app-arch/unzip/files/unzip-6.0-format-security.patch
@@ -0,0 +1,91 @@
+Fix build with -Werror=format-security
+
+Origin: 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=master-next=f7d80257afcfefdc85b6745328f2d12b957a848b
+Author: Edwin Plauchu 
+
+diff --git a/extract.c b/extract.c
+index 7cd9123..25c5a62 100644
+--- a/extract.c
 b/extract.c
+@@ -475,7 +475,7 @@ int extract_or_test_files(__G)/* return PK-type error 
code */
+ Info(slide, 0x401, ((char *)slide,
+   LoadFarString(CentSigMsg), j + blknum*DIR_BLKSIZ + 1));
+ Info(slide, 0x401, ((char *)slide,
+-  LoadFarString(ReportMsg)));
++  "%s",LoadFarString(ReportMsg)));
+ error_in_archive = PK_BADERR;
+ }
+ reached_end = TRUE; /* ...so no more left to do */
+@@ -754,8 +754,8 @@ int extract_or_test_files(__G)/* return PK-type error 
code */
+
+ #ifndef SFX
+ if (no_endsig_found) {  /* just to make sure */
+-Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
+-Info(slide, 0x401, ((char *)slide, LoadFarString(ReportMsg)));
++Info(slide, 0x401, ((char *)slide, "%s", LoadFarString(EndSigMsg)));
++Info(slide, 0x401, ((char *)slide, "%s", LoadFarString(ReportMsg)));
+ if (!error_in_archive)   /* don't overwrite stronger error */
+ error_in_archive = PK_WARN;
+ }
+diff --git a/list.c b/list.c
+index 15e0011..0b484f6 100644
+--- a/list.c
 b/list.c
+@@ -181,7 +181,7 @@ int list_files(__G)/* return PK-type error code */
+ Info(slide, 0x401,
+  ((char *)slide, LoadFarString(CentSigMsg), j));
+ Info(slide, 0x401,
+- ((char *)slide, LoadFarString(ReportMsg)));
++ ((char *)slide, "%s", LoadFarString(ReportMsg)));
+ return PK_BADERR;   /* sig not found */
+ }
+ }
+@@ -507,7 +507,7 @@ int list_files(__G)/* return PK-type error code */
+ && (!G.ecrec.is_zip64_archive)
+ && (memcmp(G.sig, end_central_sig, 4) != 0)
+) {  /* just to make sure again */
+-Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
++Info(slide, 0x401, ((char *)slide, "%s", 
LoadFarString(EndSigMsg)));
+ error_in_archive = PK_WARN;   /* didn't find sig */
+ }
+
+@@ -591,7 +591,7 @@ int get_time_stamp(__G__ last_modtime, nmember)  /* return 
PK-type error code */
+ Info(slide, 0x401,
+  ((char *)slide, LoadFarString(CentSigMsg), j));
+ Info(slide, 0x401,
+- ((char *)slide, LoadFarString(ReportMsg)));
++ ((char *)slide, "%s", LoadFarString(ReportMsg)));
+ return PK_BADERR; 

[gentoo-commits] repo/proj/prefix:master commit in: app-arch/unzip/

2016-05-19 Thread Michael Haubenwallner
commit: 7981c98bd9a1b55a1fe2272ae7b52b93e4bef971
Author: Michael Haubenwallner  ssi-schaefer 
 com>
AuthorDate: Thu May 19 13:21:58 2016 +
Commit: Michael Haubenwallner  gentoo  org>
CommitDate: Thu May 19 13:22:22 2016 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7981c98b

app-arch/unzip: for Cygwin use generic target

Package-Manager: portage-2.2.28-prefix

 app-arch/unzip/unzip-6.0-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-arch/unzip/unzip-6.0-r3.ebuild 
b/app-arch/unzip/unzip-6.0-r3.ebuild
index 3677a01..d56ae6c 100644
--- a/app-arch/unzip/unzip-6.0-r3.ebuild
+++ b/app-arch/unzip/unzip-6.0-r3.ebuild
@@ -60,6 +60,7 @@ src_compile() {
*-aix*)  TARGET=gcc; append-cppflags "-DNO_LCHMOD"; 
append-ldflags "-Wl,-blibpath:${EPREFIX}/usr/$(get_libdir)" ;;
*-hpux*) TARGET=gcc; append-ldflags 
"-Wl,+b,${EPREFIX}/usr/$(get_libdir)" ;;
*-mint*) TARGET=generic ;;
+   *-cygwin*)   TARGET=generic ;;
*) die "Unknown target, you suck" ;;
esac
 



[gentoo-commits] repo/proj/prefix:master commit in: app-arch/unzip/

2016-05-19 Thread Michael Haubenwallner
commit: 17b06e1b9690aa2ede9d29c190ef52063139296f
Author: Michael Haubenwallner  ssi-schaefer 
 com>
AuthorDate: Thu May 19 13:21:28 2016 +
Commit: Michael Haubenwallner  gentoo  org>
CommitDate: Thu May 19 13:22:22 2016 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=17b06e1b

app-arch/unzip: update metadata.xml

Package-Manager: portage-2.2.28-prefix

 app-arch/unzip/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-arch/unzip/metadata.xml b/app-arch/unzip/metadata.xml
index a186eb6..564fd76 100644
--- a/app-arch/unzip/metadata.xml
+++ b/app-arch/unzip/metadata.xml
@@ -1,7 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   base-system
+   
+   base-sys...@gentoo.org
+   Gentoo Base System
+   

Use dev-libs/libnatspec to 
correctly decode non-ascii file names archived in Windows.