[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-11-17 Thread Mikle Kolyada
commit: d6b2b64d9485e267022d78347666838b86f41d75
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Nov 17 15:39:30 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Nov 17 15:39:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b2b64d

sys-apps/file: arm stable wrt bug #669282

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/file/file-5.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 4f971359238..706ef51ca29 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 
sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-11-09 Thread Mikle Kolyada
commit: 899cb52699158d8bb6959d1b8eae4b554577
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Nov  9 19:06:13 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Nov  9 19:06:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899cb526

sys-apps/file: s390/sh/m68k stable

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/file/file-5.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 8d6b96093d6..4f971359238 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 
sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-11-02 Thread Matt Turner
commit: 5424d9c2cb3b23bab781a6d4662584b476409872
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Nov  2 07:50:05 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Nov  2 07:50:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5424d9c2

sys-apps/file-5.34: alpha stable, bug 669282

Signed-off-by: Matt Turner  gentoo.org>

 sys-apps/file/file-5.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 9d3bb9d660c..8d6b96093d6 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-10-26 Thread Sergei Trofimovich
commit: 26167db525ccef35e6e801bf4daaa820facf0504
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 26 19:59:24 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 26 20:19:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26167db5

sys-apps/file: stable 5.34 for ppc, bug #669282

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc"

 sys-apps/file/file-5.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 8935371675a..08e85cf79bb 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-10-26 Thread Sergei Trofimovich
commit: 0fce50fcd9c904c2b9d742c420df73a4196a72c2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 26 19:59:59 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 26 20:19:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fce50fc

sys-apps/file: stable 5.34 for ppc64, bug #669282

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc64"

 sys-apps/file/file-5.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 08e85cf79bb..9d3bb9d660c 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-10-26 Thread Sergei Trofimovich
commit: dfedaf901826a343571fc9bf8bcc2236c3a9749b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 26 19:58:15 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 26 20:19:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfedaf90

sys-apps/file: stable 5.34 for hppa, bug #669282

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="hppa"

 sys-apps/file/file-5.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index bd1b4740ec4..8935371675a 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-10-26 Thread Sergei Trofimovich
commit: 412370ccde7afa7ce70deb478eaeb18c3a91af4f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 26 19:54:52 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 26 20:19:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412370cc

sys-apps/file: stable 5.34 for ia64, bug #669282

Signed-off-by: Sergei Trofimovich  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="ia64"

 sys-apps/file/file-5.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 3fd39465128..bd1b4740ec4 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-10-23 Thread Sergei Trofimovich
commit: 7d933214a0b80eca40a66b0dda1c5ad3e37021e9
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Oct 23 05:19:16 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Oct 23 18:23:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d933214

sys-apps/file: stable 5.34 for sparc, bug #669282

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-apps/file/file-5.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 12995564049..7f4db1dca73 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-10-22 Thread Mikle Kolyada
commit: fe112223ceb8da5e1405e4f9ac0b10f424aa99dd
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Oct 22 15:53:23 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Oct 22 15:53:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe112223

sys-apps/file: amd64 stable wrt bug #669282

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 sys-apps/file/file-5.34.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 848fa28a482..12995564049 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-10-22 Thread Lars Wendler
commit: 30840c90ad79e16625a0b6eba62ea1a5c8b8b854
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Oct 22 08:12:26 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Oct 22 08:12:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30840c90

sys-apps/file: Bump to version 5.35

Signed-off-by: Lars Wendler  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/file/Manifest |   1 +
 sys-apps/file/file-5.35.ebuild | 126 +
 2 files changed, 127 insertions(+)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 94dc07219c9..4999f4b174c 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,2 +1,3 @@
 DIST file-5.33.tar.gz 817060 BLAKE2B 
735f176f09085243dacaddda1b734ef2191ff1684f08022ed1874e84fd0c84679b5a765383c5c5ad27a7216abc23b9c2211fb7110846122563e18285de0f0e51
 SHA512 
36c9f2e2aa814b5557eef114fdd3de159688c7a3c9632a9f5c6355c4d2a5694cee81279bda80897616fca07289a7fedb1f797439a2903c76dc84870694773c9e
 DIST file-5.34.tar.gz 840219 BLAKE2B 
20f34684e583d1cb42967f1106d979a42f55fd78097e26929ab4e6cd470b0d3a12c9f1fad89c982ed42869455ba0f3381c812ed00c31112e5ad17edcd50783e0
 SHA512 
57849f8496fd356a66e5559804fdd907059dc2e2f75ede470a25c65b1c499481aad3d7978454b15a15e94c07c9d6795864e8705304a2281dacf1c4e31501bed8
+DIST file-5.35.tar.gz 865425 BLAKE2B 
325b95bc45b8e21b568ad816f8c1817dc170f56b78e460ac9bb18c70f22df2491c37f7f9c38c3d85010a7a609e75c26b19b6adef208137cb04c4c40fbe8c1d05
 SHA512 
cbecc52e9209be8bc090752d0672efa181625d4e1e688e63edd1f5657b29bad69364a477fb4ed85d1fa413b8002c8578c86153d2acaaecce78446c0ca6ea9e38

diff --git a/sys-apps/file/file-5.35.ebuild b/sys-apps/file/file-5.35.ebuild
new file mode 100644
index 000..9ac215be618
--- /dev/null
+++ b/sys-apps/file/file-5.35.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 libtool toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/glensc/file.git;
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="https://www.darwinsys.com/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+src_prepare() {
+   default
+
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README.md python/README.python.md || die
+   sed 's...@readme.md@README.python.md@' -i python/setup.py || die #662090
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   --disable-libseccomp
+   --enable-fsect-man5
+   $(use_enable static-libs static)
+   $(use_enable zlib)
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build || die
+   cd "${WORKDIR}"/build || die
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE="${S}" \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared --disable-libseccomp
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   emake
+   else
+   cd src || die
+   emake magic.h #586444
+   emake libmagic.la
+   fi
+}
+
+src_compile() {
+   if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
+   emake -C "${WORKDIR}"/build/src magic.h #586444
+ 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-07-25 Thread Lars Wendler
commit: 8b66dfac4898666bd95c77dde05e1f0b973f4b42
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul 25 11:55:27 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul 25 11:55:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b66dfac

sys-apps/file: Fixed installation with USE="python"

Closes: https://bugs.gentoo.org/662090
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 sys-apps/file/file-5.34.ebuild | 3 ++-
 sys-apps/file/file-.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
index 536dd456e9b..848fa28a482 100644
--- a/sys-apps/file/file-5.34.ebuild
+++ b/sys-apps/file/file-5.34.ebuild
@@ -40,7 +40,8 @@ src_prepare() {
elibtoolize
 
# don't let python README kill main README #60043
-   mv python/README.md README.python.md || die
+   mv python/README.md python/README.python.md || die
+   sed 's...@readme.md@README.python.md@' -i python/setup.py || die #662090
 }
 
 multilib_src_configure() {

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index f346e1b700a..8bdee5d348a 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -41,7 +41,8 @@ src_prepare() {
elibtoolize
 
# don't let python README kill main README #60043
-   mv python/README.md README.python.md || die
+   mv python/README.md python/README.python.md || die
+   sed 's...@readme.md@README.python.md@' -i python/setup.py || die #662090
 }
 
 multilib_src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-07-25 Thread Lars Wendler
commit: 0c43c5e2cc25b5282e050961d9987ad8267a1129
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul 25 08:23:49 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul 25 08:24:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c43c5e2

sys-apps/file: Synced live ebuild.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 sys-apps/file/file-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 5d861f8b67a..f346e1b700a 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -41,7 +41,7 @@ src_prepare() {
elibtoolize
 
# don't let python README kill main README #60043
-   mv python/README.md README.python || die
+   mv python/README.md README.python.md || die
 }
 
 multilib_src_configure() {
@@ -62,7 +62,7 @@ src_configure() {
mkdir -p "${WORKDIR}"/build || die
cd "${WORKDIR}"/build || die
tc-export_build_env BUILD_C{C,XX}
-   ECONF_SOURCE=${S} \
+   ECONF_SOURCE="${S}" \
ac_cv_header_zlib_h=no \
ac_cv_lib_z_gzopen=no \
CHOST=${CBUILD} \



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-07-25 Thread Lars Wendler
commit: f4bc2e1bf534264478f49618ce8ef22fc9c95c78
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul 25 08:03:50 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul 25 08:24:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4bc2e1b

sys-apps/file: Adjusted dependency on libseccomp.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 sys-apps/file/file-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index c63c8f1a289..5d861f8b67a 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -32,7 +32,7 @@ DEPEND="
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}
python? ( !dev-python/python-magic )
-   seccomp? ( sys-libs/libseccomp )"
+   seccomp? ( sys-libs/libseccomp[${MULTILIB_USEDEP}] )"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-07-25 Thread Lars Wendler
commit: b5bfecffca0907548ee112b1eb401b40022c5181
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul 25 08:22:57 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul 25 08:24:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5bfecff

sys-apps/file: Bump to version 5.34

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 sys-apps/file/Manifest |   1 +
 sys-apps/file/file-5.34.ebuild | 125 +
 2 files changed, 126 insertions(+)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 25da8f481e0..94dc07219c9 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1 +1,2 @@
 DIST file-5.33.tar.gz 817060 BLAKE2B 
735f176f09085243dacaddda1b734ef2191ff1684f08022ed1874e84fd0c84679b5a765383c5c5ad27a7216abc23b9c2211fb7110846122563e18285de0f0e51
 SHA512 
36c9f2e2aa814b5557eef114fdd3de159688c7a3c9632a9f5c6355c4d2a5694cee81279bda80897616fca07289a7fedb1f797439a2903c76dc84870694773c9e
+DIST file-5.34.tar.gz 840219 BLAKE2B 
20f34684e583d1cb42967f1106d979a42f55fd78097e26929ab4e6cd470b0d3a12c9f1fad89c982ed42869455ba0f3381c812ed00c31112e5ad17edcd50783e0
 SHA512 
57849f8496fd356a66e5559804fdd907059dc2e2f75ede470a25c65b1c499481aad3d7978454b15a15e94c07c9d6795864e8705304a2281dacf1c4e31501bed8

diff --git a/sys-apps/file/file-5.34.ebuild b/sys-apps/file/file-5.34.ebuild
new file mode 100644
index 000..536dd456e9b
--- /dev/null
+++ b/sys-apps/file/file-5.34.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 libtool toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/glensc/file.git;
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="https://www.darwinsys.com/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+src_prepare() {
+   default
+
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README.md README.python.md || die
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   --disable-libseccomp
+   --enable-fsect-man5
+   $(use_enable static-libs static)
+   $(use_enable zlib)
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build || die
+   cd "${WORKDIR}"/build || die
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE="${S}" \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared --disable-libseccomp
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   emake
+   else
+   cd src || die
+   emake magic.h #586444
+   emake libmagic.la
+   fi
+}
+
+src_compile() {
+   if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
+   emake -C "${WORKDIR}"/build/src magic.h #586444
+   emake -C "${WORKDIR}"/build/src file
+   PATH="${WORKDIR}/build/src:${PATH}"
+   fi
+   multilib-minimal_src_compile
+
+   if use python ; then
+   cd python || die
+   distutils-r1_src_compile
+   fi
+}
+
+multilib_src_install() {
+   if multilib_is_native_abi ; then
+   default
+   else
+   emake -C src 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-07-24 Thread Lars Wendler
commit: 50a60cacf345479f45bba88b324c28231694e7d1
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 24 08:56:23 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 24 08:58:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a60cac

sys-apps/file: Synced live ebuild.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 sys-apps/file/file-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index eb7620e857d..c63c8f1a289 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
 DISTUTILS_OPTIONAL=1
 
-inherit distutils-r1 libtool ltprune toolchain-funcs multilib-minimal
+inherit distutils-r1 libtool toolchain-funcs multilib-minimal
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="https://github.com/glensc/file.git;
@@ -122,5 +122,5 @@ multilib_src_install_all() {
cd python || die
distutils-r1_src_install
fi
-   prune_libtool_files
+   find "${ED}" -name "*.la" -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/, sys-apps/file/files/

2018-07-24 Thread Lars Wendler
commit: 6d0b89f14127625f091fe9edbec9ca41ac1accd2
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 24 08:55:05 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 24 08:58:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0b89f1

sys-apps/file: Revbump to fix berkdb file magic

Bumped straight to stable

Closes: https://bugs.gentoo.org/661922
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 .../{file-5.33-r3.ebuild => file-5.33-r4.ebuild}   |  5 ++--
 .../file/files/file-5.33-berkdb_bogus_magic.patch  | 33 ++
 2 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-5.33-r3.ebuild 
b/sys-apps/file/file-5.33-r4.ebuild
similarity index 95%
rename from sys-apps/file/file-5.33-r3.ebuild
rename to sys-apps/file/file-5.33-r4.ebuild
index e9203f385ff..1221edeea29 100644
--- a/sys-apps/file/file-5.33-r3.ebuild
+++ b/sys-apps/file/file-5.33-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
 DISTUTILS_OPTIONAL=1
 
-inherit distutils-r1 libtool ltprune toolchain-funcs multilib-minimal
+inherit distutils-r1 libtool toolchain-funcs multilib-minimal
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="https://github.com/glensc/file.git;
@@ -36,6 +36,7 @@ RDEPEND="${DEPEND}
 PATCHES=(
"${FILESDIR}"/${P}-CVE-2018-10360.patch
"${FILESDIR}"/${P}-gl_VISIBILITY-macro.patch
+   "${FILESDIR}"/${P}-berkdb_bogus_magic.patch #661922
 )
 
 src_prepare() {
@@ -129,5 +130,5 @@ multilib_src_install_all() {
cd python || die
distutils-r1_src_install
fi
-   prune_libtool_files
+   find "${ED}" -name "*.la" -delete || die
 }

diff --git a/sys-apps/file/files/file-5.33-berkdb_bogus_magic.patch 
b/sys-apps/file/files/file-5.33-berkdb_bogus_magic.patch
new file mode 100644
index 000..7627bafc6ef
--- /dev/null
+++ b/sys-apps/file/files/file-5.33-berkdb_bogus_magic.patch
@@ -0,0 +1,33 @@
+From 4fb6a59df80d4974f8230bfce36e38e6de7d574f Mon Sep 17 00:00:00 2001
+From: Christos Zoulas 
+Date: Thu, 24 May 2018 18:54:40 +
+Subject: [PATCH] fix bogus magic
+
+---
+ magic/Magdir/dbpf | 8 +++-
+ 1 file changed, 3 insertions(+), 5 deletions(-)
+
+diff --git a/magic/Magdir/dbpf b/magic/Magdir/dbpf
+index 65cab61e..8545720d 100644
+--- a/magic/Magdir/dbpf
 b/magic/Magdir/dbpf
+@@ -1,6 +1,6 @@
+ 
+ 
#--
+-# $File: dbpf,v 1.1 2017/10/13 20:47:14 christos Exp $
++# $File: dbpf,v 1.2 2018/05/24 18:54:40 christos Exp $
+ # dppf:   Maxis Database Packed Files, the stored data file format used 
by all
+ # Maxis games after the Sims: http://wiki.niotso.org/DBPF
+ # http://www.wiki.sc4devotion.com/index.php?title=DBPF
+@@ -9,9 +9,7 @@
+ >4ulelong x   \b, version: %u.
+ >>8   ulelong x   \b%u
+ >>>36 ulelong x   \b, files: %u
++>>24  ledate  !0  \b, created: %s
++>>28  ledate  !0  \b, modified: %s
+ !:ext dbpf/package/dat/sc4
+ !:mimeapplication/x-maxis-dbpf
+-4 ulelong 1
+->8ulelong !1
+->>24  ledate  !0  \b, created: %s
+->>>28 ledate  !0  \b, modified: %s



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/files/, sys-apps/file/

2018-07-19 Thread Thomas Deutschmann
commit: 9bb8160bd3bbd28d2b5f3b50e9e657537a4a32ba
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Jul 19 16:12:18 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Jul 19 16:12:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb8160b

sys-apps/file: Add missing gl_VISIBILITY macro in configure script

Closes: https://bugs.gentoo.org/661508
Package-Manager: Portage-2.3.42, Repoman-2.3.9
RepoMan-Options: --force

 .../{file-5.33-r2.ebuild => file-5.33-r3.ebuild}   |   8 +-
 .../file/files/file-5.33-gl_VISIBILITY-macro.patch | 116 +
 2 files changed, 123 insertions(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.33-r2.ebuild 
b/sys-apps/file/file-5.33-r3.ebuild
similarity index 93%
rename from sys-apps/file/file-5.33-r2.ebuild
rename to sys-apps/file/file-5.33-r3.ebuild
index e67df7bc93a..e9203f385ff 100644
--- a/sys-apps/file/file-5.33-r2.ebuild
+++ b/sys-apps/file/file-5.33-r3.ebuild
@@ -33,11 +33,17 @@ DEPEND="
 RDEPEND="${DEPEND}
python? ( !dev-python/python-magic )"
 
-PATCHES=( "${FILESDIR}"/${P}-CVE-2018-10360.patch )
+PATCHES=(
+   "${FILESDIR}"/${P}-CVE-2018-10360.patch
+   "${FILESDIR}"/${P}-gl_VISIBILITY-macro.patch
+)
 
 src_prepare() {
default
 
+   # We are patching configure script so fix timestamp to avoid autoreconf
+   touch -r compile configure
+
[[ ${PV} == "" ]] && eautoreconf
elibtoolize
 

diff --git a/sys-apps/file/files/file-5.33-gl_VISIBILITY-macro.patch 
b/sys-apps/file/files/file-5.33-gl_VISIBILITY-macro.patch
new file mode 100644
index 000..cef3cb5518b
--- /dev/null
+++ b/sys-apps/file/files/file-5.33-gl_VISIBILITY-macro.patch
@@ -0,0 +1,116 @@
+https://bugs.gentoo.org/661508
+
+--- a/configure
 b/configure
+@@ -638,6 +638,8 @@
+ IS_CROSS_COMPILE_FALSE
+ IS_CROSS_COMPILE_TRUE
+ LIBOBJS
++HAVE_VISIBILITY
++CFLAG_VISIBILITY
+ OTOOL64
+ OTOOL
+ LIPO
+@@ -12512,7 +12519,92 @@
+ # Only expand once:
+ 
+ 
+-gl_VISIBILITY
++
++
++  CFLAG_VISIBILITY=
++  HAVE_VISIBILITY=0
++  if test -n "$GCC"; then
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the 
-Werror option is usable" >&5
++$as_echo_n "checking whether the -Werror option is usable... " >&6; }
++if ${gl_cv_cc_vis_werror+:} false; then :
++  $as_echo_n "(cached) " >&6
++else
++
++  gl_save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -Werror"
++  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h.  */
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++  gl_cv_cc_vis_werror=yes
++else
++  gl_cv_cc_vis_werror=no
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++  CFLAGS="$gl_save_CFLAGS"
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5
++$as_echo "$gl_cv_cc_vis_werror" >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple 
visibility declarations" >&5
++$as_echo_n "checking for simple visibility declarations... " >&6; }
++if ${gl_cv_cc_visibility+:} false; then :
++  $as_echo_n "(cached) " >&6
++else
++
++  gl_save_CFLAGS="$CFLAGS"
++  CFLAGS="$CFLAGS -fvisibility=hidden"
++if test $gl_cv_cc_vis_werror = yes; then
++CFLAGS="$CFLAGS -Werror"
++  fi
++  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
++/* end confdefs.h.  */
++extern __attribute__((__visibility__("hidden"))) int hiddenvar;
++ extern __attribute__((__visibility__("default"))) int 
exportedvar;
++ extern __attribute__((__visibility__("hidden"))) int hiddenfunc 
(void);
++ extern __attribute__((__visibility__("default"))) int 
exportedfunc (void);
++ void dummyfunc (void) {}
++
++int
++main ()
++{
++
++  ;
++  return 0;
++}
++_ACEOF
++if ac_fn_c_try_compile "$LINENO"; then :
++  gl_cv_cc_visibility=yes
++else
++  gl_cv_cc_visibility=no
++fi
++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
++  CFLAGS="$gl_save_CFLAGS"
++fi
++
++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
++$as_echo "$gl_cv_cc_visibility" >&6; }
++if test $gl_cv_cc_visibility = yes; then
++  CFLAG_VISIBILITY="-fvisibility=hidden"
++  HAVE_VISIBILITY=1
++fi
++  fi
++
++
++
++cat >>confdefs.h <<_ACEOF
++#define HAVE_VISIBILITY $HAVE_VISIBILITY
++_ACEOF
++
++
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+ $as_echo_n "checking for ANSI C header files... " >&6; }
+ if ${ac_cv_header_stdc+:} false; then :
+@@ -16194,7 +16286,7 @@
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+-test -z "am__include" && continue
++test -z "$am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # Find all dependency output files, they are included 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-07-18 Thread Michał Górny
commit: 484185fb1153137859562af70e78a64a4112e5b8
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul 18 14:08:47 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul 18 14:37:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=484185fb

sys-apps/file: Enable py3.7

 sys-apps/file/file-5.33-r2.ebuild | 2 +-
 sys-apps/file/file-.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-5.33-r2.ebuild 
b/sys-apps/file/file-5.33-r2.ebuild
index c01383f7205..e67df7bc93a 100644
--- a/sys-apps/file/file-5.33-r2.ebuild
+++ b/sys-apps/file/file-5.33-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 libtool ltprune toolchain-funcs multilib-minimal

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 72de11bc591..eb7620e857d 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 libtool ltprune toolchain-funcs multilib-minimal



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-06-22 Thread Mikle Kolyada
commit: 38d5709547d294cbbff427237798cc08f08062f6
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Jun 22 17:51:43 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Jun 22 17:51:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38d57095

sys-apps/file: Drop old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/file/Manifest|   1 -
 sys-apps/file/file-5.32-r1.ebuild | 124 -
 sys-apps/file/file-5.33-r1.ebuild | 125 --
 3 files changed, 250 deletions(-)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index e5fb79cb1b2..25da8f481e0 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,2 +1 @@
-DIST file-5.32.tar.gz 797025 BLAKE2B 
d00196a2331b7325acc1b3f52d011faa3864db526f1962e4fcb769a92a715a1ee9874750cdde8f7c5c48541ecedea36c0fbd788a5ee9eb175cfcfc984acec430
 SHA512 
315343229fa196335389544ee8010e9e80995ef4721938492dedcfb0465dfc45e1feb96f26dfe53cab484fb5d9bac54d2d72917fbfd28a1d998c6ad8c8f9792f
 DIST file-5.33.tar.gz 817060 BLAKE2B 
735f176f09085243dacaddda1b734ef2191ff1684f08022ed1874e84fd0c84679b5a765383c5c5ad27a7216abc23b9c2211fb7110846122563e18285de0f0e51
 SHA512 
36c9f2e2aa814b5557eef114fdd3de159688c7a3c9632a9f5c6355c4d2a5694cee81279bda80897616fca07289a7fedb1f797439a2903c76dc84870694773c9e

diff --git a/sys-apps/file/file-5.32-r1.ebuild 
b/sys-apps/file/file-5.32-r1.ebuild
deleted file mode 100644
index 389e0e1c2d7..000
--- a/sys-apps/file/file-5.32-r1.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 libtool ltprune toolchain-funcs multilib-minimal
-
-if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="https://github.com/glensc/file.git;
-   inherit autotools git-r3
-else
-   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-fi
-
-DESCRIPTION="identify a file's format by scanning binary data for patterns"
-HOMEPAGE="https://www.darwinsys.com/file/;
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="python static-libs zlib"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
-   python? (
-   ${PYTHON_DEPS}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}
-   python? ( !dev-python/python-magic )"
-
-src_prepare() {
-   default
-
-   [[ ${PV} == "" ]] && eautoreconf
-   elibtoolize
-
-   # don't let python README kill main README #60043
-   mv python/README{,.python} || die
-}
-
-multilib_src_configure() {
-   local myeconfargs=(
-   --enable-fsect-man5
-   $(use_enable static-libs static)
-   $(use_enable zlib)
-   )
-   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-src_configure() {
-   # when cross-compiling, we need to build up our own file
-   # because people often don't keep matching host/target
-   # file versions #362941
-   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
-   mkdir -p "${WORKDIR}"/build || die
-   cd "${WORKDIR}"/build || die
-   tc-export_build_env BUILD_C{C,XX}
-   ECONF_SOURCE=${S} \
-   ac_cv_header_zlib_h=no \
-   ac_cv_lib_z_gzopen=no \
-   CHOST=${CBUILD} \
-   CFLAGS=${BUILD_CFLAGS} \
-   CXXFLAGS=${BUILD_CXXFLAGS} \
-   CPPFLAGS=${BUILD_CPPFLAGS} \
-   LDFLAGS="${BUILD_LDFLAGS} -static" \
-   CC=${BUILD_CC} \
-   CXX=${BUILD_CXX} \
-   econf --disable-shared
-   fi
-
-   multilib-minimal_src_configure
-}
-
-multilib_src_compile() {
-   if multilib_is_native_abi ; then
-   emake
-   else
-   cd src || die
-   emake magic.h #586444
-   emake libmagic.la
-   fi
-}
-
-src_compile() {
-   if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
-   emake -C "${WORKDIR}"/build/src magic.h #586444
-   emake -C "${WORKDIR}"/build/src file
-   PATH="${WORKDIR}/build/src:${PATH}"
-   fi
-   multilib-minimal_src_compile
-
-   if use python ; then
-   cd python || die
-   distutils-r1_src_compile
-   fi
-}
-
-multilib_src_install() {
-   if multilib_is_native_abi ; then
-   default
-   else
-   emake -C src 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-06-22 Thread Mikle Kolyada
commit: 4cc96198c00d36d1cf36319b7c4e99e58fbf9297
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Jun 22 17:48:59 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Jun 22 17:49:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cc96198

sys-apps/file: mark stable wrt bug #657930

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/file/file-5.33-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.33-r2.ebuild 
b/sys-apps/file/file-5.33-r2.ebuild
index d708cfc8c6e..c01383f7205 100644
--- a/sys-apps/file/file-5.33-r2.ebuild
+++ b/sys-apps/file/file-5.33-r2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-06-19 Thread Mart Raudsepp
commit: e66a053ac31877ce10d3310662ce8998fc16525c
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Tue Jun 19 14:06:45 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Jun 19 14:24:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66a053a

sys-apps/file-5.33-r2: arm64 stable (bug #657930)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/file/file-5.33-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.33-r2.ebuild 
b/sys-apps/file/file-5.33-r2.ebuild
index 6d923ebf535..d708cfc8c6e 100644
--- a/sys-apps/file/file-5.33-r2.ebuild
+++ b/sys-apps/file/file-5.33-r2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-06-15 Thread Sergei Trofimovich
commit: 802ee540925704679d3677ba5366bb8998873cc2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Jun 15 09:34:41 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jun 15 09:34:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802ee540

sys-apps/file: stable 5.33-r2 for ia64, bug #657930

Bug: https://bugs.gentoo.org/657930
Package-Manager: Portage-2.3.40, Repoman-2.3.9
RepoMan-Options: --include-arches="ia64"

 sys-apps/file/file-5.33-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.33-r2.ebuild 
b/sys-apps/file/file-5.33-r2.ebuild
index 241f9a8a2bf..6d923ebf535 100644
--- a/sys-apps/file/file-5.33-r2.ebuild
+++ b/sys-apps/file/file-5.33-r2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-06-12 Thread Sergei Trofimovich
commit: aa4bde38b42b69f1e976dd2a13d04939ee35dda6
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Jun 12 18:50:01 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Jun 12 20:47:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa4bde38

sys-apps/file: stable 5.33-r2 for sparc

Bug: https://bugs.gentoo.org/657930
Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 sys-apps/file/file-5.33-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.33-r2.ebuild 
b/sys-apps/file/file-5.33-r2.ebuild
index f6251479490..241f9a8a2bf 100644
--- a/sys-apps/file/file-5.33-r2.ebuild
+++ b/sys-apps/file/file-5.33-r2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-06-12 Thread Mikle Kolyada
commit: f050163bc1799b0f31956573f4726a0fffac3adc
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue Jun 12 15:05:47 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue Jun 12 15:05:47 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f050163b

sys-apps/file: amd64 stable wrt bug #657930

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/file/file-5.33-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.33-r2.ebuild 
b/sys-apps/file/file-5.33-r2.ebuild
index f7a9a7c4d48..f6251479490 100644
--- a/sys-apps/file/file-5.33-r2.ebuild
+++ b/sys-apps/file/file-5.33-r2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-06-12 Thread Thomas Deutschmann
commit: 0c5ce6fd8644a5d8da8426a247d61078b11e994c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Jun 12 11:28:16 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Jun 12 11:28:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5ce6fd

sys-apps/file: x86 stable (bug #657930)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/file/file-5.33-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.33-r2.ebuild 
b/sys-apps/file/file-5.33-r2.ebuild
index 4537ffb58aa..f7a9a7c4d48 100644
--- a/sys-apps/file/file-5.33-r2.ebuild
+++ b/sys-apps/file/file-5.33-r2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/, sys-apps/file/files/

2018-06-12 Thread Thomas Deutschmann
commit: 331976f64a3ac2e70aa62d6631db0e148f19d0fe
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Jun 12 08:17:44 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Jun 12 08:18:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=331976f6

sys-apps/file: Avoid reading past the end of buffer (CVE-2018-10360)

Bug: https://bugs.gentoo.org/657930
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/file/file-5.33-r2.ebuild  | 127 +
 sys-apps/file/files/file-5.33-CVE-2018-10360.patch |  18 +++
 2 files changed, 145 insertions(+)

diff --git a/sys-apps/file/file-5.33-r2.ebuild 
b/sys-apps/file/file-5.33-r2.ebuild
new file mode 100644
index 000..4537ffb58aa
--- /dev/null
+++ b/sys-apps/file/file-5.33-r2.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 libtool ltprune toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/glensc/file.git;
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="https://www.darwinsys.com/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+PATCHES=( "${FILESDIR}"/${P}-CVE-2018-10360.patch )
+
+src_prepare() {
+   default
+
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README{,.python} || die
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   --disable-libseccomp
+   --enable-fsect-man5
+   $(use_enable static-libs static)
+   $(use_enable zlib)
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build || die
+   cd "${WORKDIR}"/build || die
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared --disable-libseccomp
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   emake
+   else
+   cd src || die
+   emake magic.h #586444
+   emake libmagic.la
+   fi
+}
+
+src_compile() {
+   if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
+   emake -C "${WORKDIR}"/build/src magic.h #586444
+   emake -C "${WORKDIR}"/build/src file
+   PATH="${WORKDIR}/build/src:${PATH}"
+   fi
+   multilib-minimal_src_compile
+
+   if use python ; then
+   cd python || die
+   distutils-r1_src_compile
+   fi
+}
+
+multilib_src_install() {
+   if multilib_is_native_abi ; then
+   default
+   else
+   emake -C src install-{nodist_includeHEADERS,libLTLIBRARIES} 
DESTDIR="${D}"
+   fi
+}
+
+multilib_src_install_all() {
+   dodoc ChangeLog MAINT README
+
+   # Required for `file -C`
+   dodir /usr/share/misc/magic
+   insinto /usr/share/misc/magic
+   doins -r magic/Magdir/*
+
+   if use python ; then
+   cd python || die
+   distutils-r1_src_install
+   fi
+   prune_libtool_files
+}

diff --git a/sys-apps/file/files/file-5.33-CVE-2018-10360.patch 
b/sys-apps/file/files/file-5.33-CVE-2018-10360.patch
new file mode 100644
index 000..a489846b10f
--- /dev/null
+++ 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-06-06 Thread Thomas Deutschmann
commit: 76323c0e103d1f015bf51e4837eef49183ae90ad
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Jun  6 20:53:50 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Jun  6 21:00:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76323c0e

sys-apps/file: Upstream has renamed/removed python/README

...via 
https://github.com/file/file/commit/7b9ebec809090989c58dec31121da1e458d737cc

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/file/file-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 74264b9da48..72de11bc591 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -41,7 +41,7 @@ src_prepare() {
elibtoolize
 
# don't let python README kill main README #60043
-   mv python/README{,.python} || die
+   mv python/README.md README.python || die
 }
 
 multilib_src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-06-06 Thread Thomas Deutschmann
commit: cbb01d51517b6c8339d715d4cb8748d860cfb9ad
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Jun  6 20:40:21 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Jun  6 21:00:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb01d51

sys-apps/file: Install /usr/share/misc/magic

"/usr/share/misc/magic" is required for `file -C` command
as used by app-arch/rpm for example.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/file/{file-5.32.ebuild => file-5.32-r1.ebuild} | 5 +
 sys-apps/file/{file-5.33.ebuild => file-5.33-r1.ebuild} | 5 +
 sys-apps/file/file-.ebuild  | 5 +
 3 files changed, 15 insertions(+)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32-r1.ebuild
similarity index 96%
rename from sys-apps/file/file-5.32.ebuild
rename to sys-apps/file/file-5.32-r1.ebuild
index c431956b378..389e0e1c2d7 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32-r1.ebuild
@@ -111,6 +111,11 @@ multilib_src_install() {
 multilib_src_install_all() {
dodoc ChangeLog MAINT README
 
+   # Required for `file -C`
+   dodir /usr/share/misc/magic
+   insinto /usr/share/misc/magic
+   doins -r magic/Magdir/*
+
if use python ; then
cd python || die
distutils-r1_src_install

diff --git a/sys-apps/file/file-5.33.ebuild b/sys-apps/file/file-5.33-r1.ebuild
similarity index 96%
rename from sys-apps/file/file-5.33.ebuild
rename to sys-apps/file/file-5.33-r1.ebuild
index 43f99c6754c..ffec3650582 100644
--- a/sys-apps/file/file-5.33.ebuild
+++ b/sys-apps/file/file-5.33-r1.ebuild
@@ -112,6 +112,11 @@ multilib_src_install() {
 multilib_src_install_all() {
dodoc ChangeLog MAINT README
 
+   # Required for `file -C`
+   dodir /usr/share/misc/magic
+   insinto /usr/share/misc/magic
+   doins -r magic/Magdir/*
+
if use python ; then
cd python || die
distutils-r1_src_install

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 5f51b583c40..74264b9da48 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -113,6 +113,11 @@ multilib_src_install() {
 multilib_src_install_all() {
dodoc ChangeLog MAINT README
 
+   # Required for `file -C`
+   dodir /usr/share/misc/magic
+   insinto /usr/share/misc/magic
+   doins -r magic/Magdir/*
+
if use python ; then
cd python || die
distutils-r1_src_install



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-04-16 Thread Lars Wendler
commit: 3e2c605f322ee836927ed6fb5a68f3bb6d502446
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Apr 16 07:45:27 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Apr 16 07:45:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e2c605f

sys-apps/file: Bump to version 5.33

Disabled usage of libseccomp because of "bad system call" build error.

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sys-apps/file/Manifest |   1 +
 sys-apps/file/file-5.33.ebuild | 120 +
 2 files changed, 121 insertions(+)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 2a8a3fc4253..e5fb79cb1b2 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1 +1,2 @@
 DIST file-5.32.tar.gz 797025 BLAKE2B 
d00196a2331b7325acc1b3f52d011faa3864db526f1962e4fcb769a92a715a1ee9874750cdde8f7c5c48541ecedea36c0fbd788a5ee9eb175cfcfc984acec430
 SHA512 
315343229fa196335389544ee8010e9e80995ef4721938492dedcfb0465dfc45e1feb96f26dfe53cab484fb5d9bac54d2d72917fbfd28a1d998c6ad8c8f9792f
+DIST file-5.33.tar.gz 817060 BLAKE2B 
735f176f09085243dacaddda1b734ef2191ff1684f08022ed1874e84fd0c84679b5a765383c5c5ad27a7216abc23b9c2211fb7110846122563e18285de0f0e51
 SHA512 
36c9f2e2aa814b5557eef114fdd3de159688c7a3c9632a9f5c6355c4d2a5694cee81279bda80897616fca07289a7fedb1f797439a2903c76dc84870694773c9e

diff --git a/sys-apps/file/file-5.33.ebuild b/sys-apps/file/file-5.33.ebuild
new file mode 100644
index 000..43f99c6754c
--- /dev/null
+++ b/sys-apps/file/file-5.33.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 libtool ltprune toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/glensc/file.git;
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="https://www.darwinsys.com/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+src_prepare() {
+   default
+
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README{,.python} || die
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   --disable-libseccomp
+   --enable-fsect-man5
+   $(use_enable static-libs static)
+   $(use_enable zlib)
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build || die
+   cd "${WORKDIR}"/build || die
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared --disable-libseccomp
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   emake
+   else
+   cd src || die
+   emake magic.h #586444
+   emake libmagic.la
+   fi
+}
+
+src_compile() {
+   if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
+   emake -C "${WORKDIR}"/build/src magic.h #586444
+   emake -C "${WORKDIR}"/build/src file
+   PATH="${WORKDIR}/build/src:${PATH}"
+   fi
+   multilib-minimal_src_compile
+
+   if use python ; then
+   cd python || die
+   distutils-r1_src_compile
+   fi
+}
+
+multilib_src_install() {
+   if multilib_is_native_abi ; then
+   default
+   else

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2018-04-16 Thread Lars Wendler
commit: c3c949743e9ea38e8a3a0785784c791e5ce6ea36
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Apr 16 07:48:06 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Apr 16 07:48:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c94974

sys-apps/file: Added "seccomp" USE flag to live ebuild.

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 sys-apps/file/file-.ebuild | 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 3c9e2e50e4a..5f51b583c40 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://www.darwinsys.com/file/;
 
 LICENSE="BSD-2"
 SLOT="0"
-IUSE="python static-libs zlib"
+IUSE="python seccomp static-libs zlib"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="
@@ -31,7 +31,8 @@ DEPEND="
)
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}
-   python? ( !dev-python/python-magic )"
+   python? ( !dev-python/python-magic )
+   seccomp? ( sys-libs/libseccomp )"
 
 src_prepare() {
default
@@ -46,6 +47,7 @@ src_prepare() {
 multilib_src_configure() {
local myeconfargs=(
--enable-fsect-man5
+   $(use_enable seccomp libseccomp)
$(use_enable static-libs static)
$(use_enable zlib)
)
@@ -70,7 +72,7 @@ src_configure() {
LDFLAGS="${BUILD_LDFLAGS} -static" \
CC=${BUILD_CC} \
CXX=${BUILD_CXX} \
-   econf --disable-shared
+   econf --disable-shared $(use_enable seccomp libseccomp)
fi
 
multilib-minimal_src_configure



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-30 Thread Thomas Deutschmann
commit: f3fa3fbac475d3b8bd3486d212c52b8b8fbbcb54
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Sep 30 15:04:41 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Sep 30 15:15:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3fa3fba

sys-apps/file: Security cleanup (bug #629872)

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 sys-apps/file/Manifest |   3 --
 sys-apps/file/file-5.29.ebuild | 110 -
 sys-apps/file/file-5.30.ebuild | 110 -
 sys-apps/file/file-5.31.ebuild | 110 -
 4 files changed, 333 deletions(-)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index cde1671755c..3074aa5ff93 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,4 +1 @@
-DIST file-5.29.tar.gz 783919 SHA256 
ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 
58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462
 WHIRLPOOL 
e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094
-DIST file-5.30.tar.gz 789345 SHA256 
694c2432e5240187524c9e7cf1ec6acc77b47a0e19554d34c14773e43dbbf214 SHA512 
473ee57517b449bae0832c17c9db914162c2404f0c669951f13a53f44ae288e6075907bac44fcfa8915f3d9313981a8bc15ea7e9851f584f95988bc76b2f20fc
 WHIRLPOOL 
948a7bd73e6527819ca371f6ac7eeb809c6b508d836516a10ba3842ec17cf72739e2aed16006eb316df2e8053b471190007eafc0b430cf5d47ff609db0bebcde
-DIST file-5.31.tar.gz 791572 SHA256 
09c588dac9cff4baa054f51a36141793bcf64926edc909594111ceae60fce4ee SHA512 
0d024787b5b1fdd6469627d2b4081082fa66fff7a1a84ce06a0710db1dad6b9bd395dc2b758ebc733d14b7e9d135fc2fefcb62919fb98bd140b88445bac89651
 WHIRLPOOL 
ffe92593f895433e0ce2565b435f8fd8dabcef1dc937ef204fcbed5827bf23d2dde530a3c8309bc0e620cf28a529ee35b2bf1e1edb0d96f4377ede5e53fa1d87
 DIST file-5.32.tar.gz 797025 SHA256 
8639dc4d1b21e232285cd483604afc4a6ee810710e00e579dbe9591681722b50 SHA512 
315343229fa196335389544ee8010e9e80995ef4721938492dedcfb0465dfc45e1feb96f26dfe53cab484fb5d9bac54d2d72917fbfd28a1d998c6ad8c8f9792f
 WHIRLPOOL 
557b1dba186f263f0c3199952e50b2a167cc9c2cf32286e87d9d2e8b31914765a659d167974ece3d8d43701a611d616847b306fcbd506333bdb153ebc07fbcc4

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
deleted file mode 100644
index b0bd6569892..000
--- a/sys-apps/file/file-5.29.ebuild
+++ /dev/null
@@ -1,110 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
-DISTUTILS_OPTIONAL=1
-
-inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
-
-if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="https://github.com/glensc/file.git;
-   inherit autotools git-r3
-else
-   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-fi
-
-DESCRIPTION="identify a file's format by scanning binary data for patterns"
-HOMEPAGE="https://www.darwinsys.com/file/;
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="python static-libs zlib"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
-   python? (
-   ${PYTHON_DEPS}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}
-   python? ( !dev-python/python-magic )"
-
-src_prepare() {
-   [[ ${PV} == "" ]] && eautoreconf
-   elibtoolize
-
-   # don't let python README kill main README #60043
-   mv python/README{,.python}
-}
-
-multilib_src_configure() {
-   ECONF_SOURCE=${S} \
-   econf \
-   --enable-fsect-man5 \
-   $(use_enable static-libs static) \
-   $(use_enable zlib)
-}
-
-src_configure() {
-   # when cross-compiling, we need to build up our own file
-   # because people often don't keep matching host/target
-   # file versions #362941
-   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
-   mkdir -p "${WORKDIR}"/build
-   cd "${WORKDIR}"/build
-   tc-export_build_env BUILD_C{C,XX}
-   ECONF_SOURCE=${S} \
-   ac_cv_header_zlib_h=no \
-   ac_cv_lib_z_gzopen=no \
-   CHOST=${CBUILD} \
-   CFLAGS=${BUILD_CFLAGS} \
-   CXXFLAGS=${BUILD_CXXFLAGS} \
-   CPPFLAGS=${BUILD_CPPFLAGS} \
-   LDFLAGS="${BUILD_LDFLAGS} -static" \
-   CC=${BUILD_CC} \
-   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-30 Thread Thomas Deutschmann
commit: c52b2f56857c01ebca406599e10ba1bb5c973aa9
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Sep 30 15:01:23 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Sep 30 15:15:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c52b2f56

sys-apps/file: mark 5.32 arm64/m68k/s390/sh/sparc stable

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 sys-apps/file/file-5.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
index e5b5b14eb21..43c64a51de9 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-28 Thread Markus Meier
commit: 72cf79a29fa07660f8d26f0629d0bbbdcba76bae
Author: Markus Meier  gentoo  org>
AuthorDate: Fri Sep 29 04:53:48 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Fri Sep 29 04:53:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72cf79a2

sys-apps/file: arm stable, bug #629872

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 sys-apps/file/file-5.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
index cf5cb7fcee9..e5b5b14eb21 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-26 Thread Manuel Rüger
commit: b64067b113617aa544e6a2cbd159d5726f7e7c63
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Sep 26 22:28:05 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Sep 26 22:28:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b64067b1

sys-apps/file: amd64 stable

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 sys-apps/file/file-5.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
index 63ef12d53e5..cf5cb7fcee9 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-26 Thread Tobias Klausmann
commit: 216c231ba842d5416d747623210ca6e1ff2a9bf2
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Sep 26 09:32:55 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Sep 26 09:32:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216c231b

sys-apps/file-5.32-r0: alpha stable

Gentoo-Bug: 629872

 sys-apps/file/file-5.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
index b6ade1f1cb6..63ef12d53e5 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-24 Thread Sergei Trofimovich
commit: 856cef261f9d1ec10daf8b8a2b45495dcbea2835
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep 24 18:48:31 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep 24 18:49:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856cef26

sys-apps/file: stable 5.32 for ppc, bug #629872

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"

 sys-apps/file/file-5.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
index a06e263cced..b6ade1f1cb6 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-23 Thread Sergei Trofimovich
commit: 13343d890da03176f9ac259deff6a18950911615
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep 23 19:38:18 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep 23 19:38:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13343d89

sys-apps/file: stable 5.32 for ppc64, bug #629872

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"

 sys-apps/file/file-5.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
index d3fbbe750bd..a06e263cced 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-23 Thread Sergei Trofimovich
commit: 57fccdc1e904da83fafd797e52191c1f007897bb
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep 23 19:00:35 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep 23 19:00:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57fccdc1

sys-apps/file: stable 5.32 for hppa, bug #629872

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="hppa"

 sys-apps/file/file-5.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
index dc1c46320ba..d3fbbe750bd 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-23 Thread Sergei Trofimovich
commit: eaa318c3efb7f08150680d73d78113f6fb509a6d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep 23 13:04:46 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep 23 13:05:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa318c3

sys-apps/file: stable 5.32 for ia64, bug #629872

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ia64"

 sys-apps/file/file-5.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
index d09345d43cf..dc1c46320ba 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-22 Thread Thomas Deutschmann
commit: f5bf92af78a19c5d287238d1190222f91c6359ad
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Sep 22 23:50:33 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Sep 22 23:50:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5bf92af

sys-apps/file: x86 stable (bug #629872)

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-apps/file/file-5.32.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
index 4f3a87f8bf9..d09345d43cf 100644
--- a/sys-apps/file/file-5.32.ebuild
+++ b/sys-apps/file/file-5.32.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-11 Thread Sergei Trofimovich
commit: 91d612d4e7226bdb4bf2268b6e6c84671d9baa73
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Sep 11 08:09:50 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Sep 11 08:09:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d612d4

sys-apps/file: stable 5.31 for sparc, bug #629698 (thanks to Dakon)

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="sparc"

 sys-apps/file/file-5.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild
index a4df466046c..b606011e5f3 100644
--- a/sys-apps/file/file-5.31.ebuild
+++ b/sys-apps/file/file-5.31.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-09 Thread Sergei Trofimovich
commit: 341d58226a1ffca55c715649412d510bb990a20a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep  9 16:55:51 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep  9 16:55:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341d5822

sys-apps/file: stable 5.31 for ppc/ppc64, bug #629698

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc ppc64"

 sys-apps/file/file-5.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild
index 814bad77acd..4cb0d7db52a 100644
--- a/sys-apps/file/file-5.31.ebuild
+++ b/sys-apps/file/file-5.31.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-09 Thread Sergei Trofimovich
commit: 607061193d5e7f90dbb4abd2bb1bcd99fe72d11c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep  9 16:57:32 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep  9 16:57:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60706119

sys-apps/file: stable 5.31 for x86, bug #629698 (thanks to Myckel Habets)

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="x86"

 sys-apps/file/file-5.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild
index 4cb0d7db52a..249b9aa975f 100644
--- a/sys-apps/file/file-5.31.ebuild
+++ b/sys-apps/file/file-5.31.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-09 Thread Sergei Trofimovich
commit: ab5a945e9cd7109f0adbb1550d4f3c99c3067ee5
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep  9 17:01:53 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep  9 17:01:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab5a945e

sys-apps/file: stable 5.31 for amd64, bug #629698

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="amd64"

 sys-apps/file/file-5.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild
index 249b9aa975f..a4df466046c 100644
--- a/sys-apps/file/file-5.31.ebuild
+++ b/sys-apps/file/file-5.31.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-09 Thread Markus Meier
commit: e19d1e392a77e99db9600c8a4160142bbba89aec
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Sep  9 10:25:48 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Sep  9 10:25:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e19d1e39

sys-apps/file: arm stable, bug #629698

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 sys-apps/file/file-5.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild
index 0347e3728ef..814bad77acd 100644
--- a/sys-apps/file/file-5.31.ebuild
+++ b/sys-apps/file/file-5.31.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-08 Thread Sergei Trofimovich
commit: 9975a11c98952182b103bfae3ff4bdc814fb35f2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Sep  8 22:24:41 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Sep  8 22:24:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9975a11c

sys-apps/file: stable 5.31 for hppa, bug #629698

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="hppa"

 sys-apps/file/file-5.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild
index fcd995577aa..0347e3728ef 100644
--- a/sys-apps/file/file-5.31.ebuild
+++ b/sys-apps/file/file-5.31.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-04 Thread Tobias Klausmann
commit: e6a1076d0e9502994315cc36bf2254d7d3251d73
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Sep  4 13:36:18 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Sep  4 13:36:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6a1076d

sys-apps/file-5.31-r0: alpha stable

Gentoo-Bug: 629698

 sys-apps/file/file-5.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild
index e485bf61746..fcd995577aa 100644
--- a/sys-apps/file/file-5.31.ebuild
+++ b/sys-apps/file/file-5.31.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-02 Thread Sergei Trofimovich
commit: bb8b816e4a443eaa206d72f92c7dfa6c939766ee
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep  2 22:09:54 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep  2 22:10:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb8b816e

sys-apps/file: stable 5.31 for ia64, bug #629698

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="ia64"

 sys-apps/file/file-5.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild
index 53d3e905fce..e485bf61746 100644
--- a/sys-apps/file/file-5.31.ebuild
+++ b/sys-apps/file/file-5.31.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-02 Thread Lars Wendler
commit: 19bb4398f47d1209de234151072908b488f64353
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Sep  2 20:30:19 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Sep  2 20:35:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19bb4398

sys-apps/file: Bump to version 5.32

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-apps/file/Manifest |   1 +
 sys-apps/file/file-5.32.ebuild | 119 +
 2 files changed, 120 insertions(+)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 5bb6839dd46..cde1671755c 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,3 +1,4 @@
 DIST file-5.29.tar.gz 783919 SHA256 
ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 
58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462
 WHIRLPOOL 
e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094
 DIST file-5.30.tar.gz 789345 SHA256 
694c2432e5240187524c9e7cf1ec6acc77b47a0e19554d34c14773e43dbbf214 SHA512 
473ee57517b449bae0832c17c9db914162c2404f0c669951f13a53f44ae288e6075907bac44fcfa8915f3d9313981a8bc15ea7e9851f584f95988bc76b2f20fc
 WHIRLPOOL 
948a7bd73e6527819ca371f6ac7eeb809c6b508d836516a10ba3842ec17cf72739e2aed16006eb316df2e8053b471190007eafc0b430cf5d47ff609db0bebcde
 DIST file-5.31.tar.gz 791572 SHA256 
09c588dac9cff4baa054f51a36141793bcf64926edc909594111ceae60fce4ee SHA512 
0d024787b5b1fdd6469627d2b4081082fa66fff7a1a84ce06a0710db1dad6b9bd395dc2b758ebc733d14b7e9d135fc2fefcb62919fb98bd140b88445bac89651
 WHIRLPOOL 
ffe92593f895433e0ce2565b435f8fd8dabcef1dc937ef204fcbed5827bf23d2dde530a3c8309bc0e620cf28a529ee35b2bf1e1edb0d96f4377ede5e53fa1d87
+DIST file-5.32.tar.gz 797025 SHA256 
8639dc4d1b21e232285cd483604afc4a6ee810710e00e579dbe9591681722b50 SHA512 
315343229fa196335389544ee8010e9e80995ef4721938492dedcfb0465dfc45e1feb96f26dfe53cab484fb5d9bac54d2d72917fbfd28a1d998c6ad8c8f9792f
 WHIRLPOOL 
557b1dba186f263f0c3199952e50b2a167cc9c2cf32286e87d9d2e8b31914765a659d167974ece3d8d43701a611d616847b306fcbd506333bdb153ebc07fbcc4

diff --git a/sys-apps/file/file-5.32.ebuild b/sys-apps/file/file-5.32.ebuild
new file mode 100644
index 000..4f3a87f8bf9
--- /dev/null
+++ b/sys-apps/file/file-5.32.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 libtool ltprune toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/glensc/file.git;
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="https://www.darwinsys.com/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+src_prepare() {
+   default
+
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README{,.python} || die
+}
+
+multilib_src_configure() {
+   local myeconfargs=(
+   --enable-fsect-man5
+   $(use_enable static-libs static)
+   $(use_enable zlib)
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build || die
+   cd "${WORKDIR}"/build || die
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared
+   fi
+
+   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-09-02 Thread Lars Wendler
commit: b7aa3f39473224c01db14ff6ed623ec2ca7bf93c
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Sep  2 20:31:14 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Sep  2 20:35:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7aa3f39

sys-apps/file: Sync live ebuild.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-apps/file/file-.ebuild | 37 +++--
 1 file changed, 23 insertions(+), 14 deletions(-)

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 05427c55cb7..4f3a87f8bf9 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -1,19 +1,19 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
 PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
 DISTUTILS_OPTIONAL=1
 
-inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
+inherit distutils-r1 libtool ltprune toolchain-funcs multilib-minimal
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="https://github.com/glensc/file.git;
inherit autotools git-r3
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"
@@ -34,19 +34,22 @@ RDEPEND="${DEPEND}
python? ( !dev-python/python-magic )"
 
 src_prepare() {
+   default
+
[[ ${PV} == "" ]] && eautoreconf
elibtoolize
 
# don't let python README kill main README #60043
-   mv python/README{,.python}
+   mv python/README{,.python} || die
 }
 
 multilib_src_configure() {
-   ECONF_SOURCE=${S} \
-   econf \
-   --enable-fsect-man5 \
-   $(use_enable static-libs static) \
+   local myeconfargs=(
+   --enable-fsect-man5
+   $(use_enable static-libs static)
$(use_enable zlib)
+   )
+   ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
 
 src_configure() {
@@ -54,8 +57,8 @@ src_configure() {
# because people often don't keep matching host/target
# file versions #362941
if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
-   mkdir -p "${WORKDIR}"/build
-   cd "${WORKDIR}"/build
+   mkdir -p "${WORKDIR}"/build || die
+   cd "${WORKDIR}"/build || die
tc-export_build_env BUILD_C{C,XX}
ECONF_SOURCE=${S} \
ac_cv_header_zlib_h=no \
@@ -77,7 +80,7 @@ multilib_src_compile() {
if multilib_is_native_abi ; then
emake
else
-   cd src
+   cd src || die
emake magic.h #586444
emake libmagic.la
fi
@@ -91,20 +94,26 @@ src_compile() {
fi
multilib-minimal_src_compile
 
-   use python && cd python && distutils-r1_src_compile
+   if use python ; then
+   cd python || die
+   distutils-r1_src_compile
+   fi
 }
 
 multilib_src_install() {
if multilib_is_native_abi ; then
default
else
-   emake -C src install-{includeHEADERS,libLTLIBRARIES} 
DESTDIR="${D}"
+   emake -C src install-{nodist_includeHEADERS,libLTLIBRARIES} 
DESTDIR="${D}"
fi
 }
 
 multilib_src_install_all() {
dodoc ChangeLog MAINT README
 
-   use python && cd python && distutils-r1_src_install
+   if use python ; then
+   cd python || die
+   distutils-r1_src_install
+   fi
prune_libtool_files
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-06-10 Thread Agostino Sarubbo
commit: d005e1242ca63c83aa099c4033544f153be3b0e3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 10 15:10:21 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 10 15:10:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d005e124

sys-apps/file: ia64 stable wrt bug #619506

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/file/file-5.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
index 21c006540c1..9eb32ff3d04 100644
--- a/sys-apps/file/file-5.30.ebuild
+++ b/sys-apps/file/file-5.30.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-06-10 Thread Agostino Sarubbo
commit: 20619619ecae80c0a40eb066a7f83ee5a22447e5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun 10 13:43:52 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun 10 13:43:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20619619

sys-apps/file: sparc stable wrt bug #619506

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/file/file-5.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
index 0be77ba8b90..21c006540c1 100644
--- a/sys-apps/file/file-5.30.ebuild
+++ b/sys-apps/file/file-5.30.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-05-29 Thread Markus Meier
commit: d8f969b1de0cfbaefe69be3a447c1f0217fea6d1
Author: Markus Meier  gentoo  org>
AuthorDate: Tue May 30 04:56:41 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue May 30 04:56:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f969b1

sys-apps/file: arm stable, bug #619506

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 sys-apps/file/file-5.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
index 06394a51912..0be77ba8b90 100644
--- a/sys-apps/file/file-5.30.ebuild
+++ b/sys-apps/file/file-5.30.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-05-27 Thread Tobias Klausmann
commit: 2e91b1bb7c0d04743e11d4a95ca49b34c5c87442
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sat May 27 13:19:36 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sat May 27 13:19:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e91b1bb

sys-apps/file-5.30-r0: add alpha keyword

Gentoo-Bug: 619506

 sys-apps/file/file-5.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
index 2202614c625..06394a51912 100644
--- a/sys-apps/file/file-5.30.ebuild
+++ b/sys-apps/file/file-5.30.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-05-26 Thread Agostino Sarubbo
commit: 2374d2995a7ce74983f81e03f9c6a0dbbadfc161
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May 26 14:58:09 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May 26 14:58:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2374d299

sys-apps/file: ppc64 stable wrt bug #619506

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/file/file-5.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
index 1f542afce62..2202614c625 100644
--- a/sys-apps/file/file-5.30.ebuild
+++ b/sys-apps/file/file-5.30.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-05-24 Thread Agostino Sarubbo
commit: d7652b41d78b2c7513f260d194a646a125d9ea2c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed May 24 13:45:26 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed May 24 13:45:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7652b41

sys-apps/file: ppc stable wrt bug #619506

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/file/file-5.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
index e0a7ae7c246..79ec55fc796 100644
--- a/sys-apps/file/file-5.30.ebuild
+++ b/sys-apps/file/file-5.30.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-05-24 Thread Agostino Sarubbo
commit: 043743a3cf328a00c931d47cb17720b329f4819c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed May 24 13:41:49 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed May 24 13:41:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=043743a3

sys-apps/file: amd64 stable wrt bug #619506

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/file/file-5.30.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
index c139556d381..e0a7ae7c246 100644
--- a/sys-apps/file/file-5.30.ebuild
+++ b/sys-apps/file/file-5.30.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-05-24 Thread Lars Wendler
commit: 617737288ba9ff9db4ab15277799fe26653ad7b8
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 24 07:14:39 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 24 07:15:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61773728

sys-apps/file: Bump to version 5.31

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-apps/file/Manifest |   1 +
 sys-apps/file/file-5.31.ebuild | 111 +
 2 files changed, 112 insertions(+)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 6ad09233532..b91cea2ea68 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,3 +1,4 @@
 DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
 DIST file-5.29.tar.gz 783919 SHA256 
ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 
58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462
 WHIRLPOOL 
e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094
 DIST file-5.30.tar.gz 789345 SHA256 
694c2432e5240187524c9e7cf1ec6acc77b47a0e19554d34c14773e43dbbf214 SHA512 
473ee57517b449bae0832c17c9db914162c2404f0c669951f13a53f44ae288e6075907bac44fcfa8915f3d9313981a8bc15ea7e9851f584f95988bc76b2f20fc
 WHIRLPOOL 
948a7bd73e6527819ca371f6ac7eeb809c6b508d836516a10ba3842ec17cf72739e2aed16006eb316df2e8053b471190007eafc0b430cf5d47ff609db0bebcde
+DIST file-5.31.tar.gz 791572 SHA256 
09c588dac9cff4baa054f51a36141793bcf64926edc909594111ceae60fce4ee SHA512 
0d024787b5b1fdd6469627d2b4081082fa66fff7a1a84ce06a0710db1dad6b9bd395dc2b758ebc733d14b7e9d135fc2fefcb62919fb98bd140b88445bac89651
 WHIRLPOOL 
ffe92593f895433e0ce2565b435f8fd8dabcef1dc937ef204fcbed5827bf23d2dde530a3c8309bc0e620cf28a529ee35b2bf1e1edb0d96f4377ede5e53fa1d87

diff --git a/sys-apps/file/file-5.31.ebuild b/sys-apps/file/file-5.31.ebuild
new file mode 100644
index 000..c139556d381
--- /dev/null
+++ b/sys-apps/file/file-5.31.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="git://github.com/glensc/file.git"
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
+   ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="http://www.darwinsys.com/file/ http://mx.gw.com/pipermail/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+src_prepare() {
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README{,.python}
+}
+
+multilib_src_configure() {
+   ECONF_SOURCE=${S} \
+   econf \
+   --enable-fsect-man5 \
+   $(use_enable static-libs static) \
+   $(use_enable zlib)
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build
+   cd "${WORKDIR}"/build
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared
+   fi

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-05-24 Thread Lars Wendler
commit: 8830101fb44f2e98c9c1f9f4ef6d2a84f7f3b90d
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 24 07:15:20 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 24 07:15:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8830101f

sys-apps/file: Removed old.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sys-apps/file/Manifest |   1 -
 sys-apps/file/file-5.25.ebuild | 104 -
 2 files changed, 105 deletions(-)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index b91cea2ea68..5bb6839dd46 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,4 +1,3 @@
-DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
 DIST file-5.29.tar.gz 783919 SHA256 
ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 
58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462
 WHIRLPOOL 
e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094
 DIST file-5.30.tar.gz 789345 SHA256 
694c2432e5240187524c9e7cf1ec6acc77b47a0e19554d34c14773e43dbbf214 SHA512 
473ee57517b449bae0832c17c9db914162c2404f0c669951f13a53f44ae288e6075907bac44fcfa8915f3d9313981a8bc15ea7e9851f584f95988bc76b2f20fc
 WHIRLPOOL 
948a7bd73e6527819ca371f6ac7eeb809c6b508d836516a10ba3842ec17cf72739e2aed16006eb316df2e8053b471190007eafc0b430cf5d47ff609db0bebcde
 DIST file-5.31.tar.gz 791572 SHA256 
09c588dac9cff4baa054f51a36141793bcf64926edc909594111ceae60fce4ee SHA512 
0d024787b5b1fdd6469627d2b4081082fa66fff7a1a84ce06a0710db1dad6b9bd395dc2b758ebc733d14b7e9d135fc2fefcb62919fb98bd140b88445bac89651
 WHIRLPOOL 
ffe92593f895433e0ce2565b435f8fd8dabcef1dc937ef204fcbed5827bf23d2dde530a3c8309bc0e620cf28a529ee35b2bf1e1edb0d96f4377ede5e53fa1d87

diff --git a/sys-apps/file/file-5.25.ebuild b/sys-apps/file/file-5.25.ebuild
deleted file mode 100644
index a0ecae572f4..000
--- a/sys-apps/file/file-5.25.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python{2_7,3_4} pypy )
-DISTUTILS_OPTIONAL=1
-
-inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
-
-if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="git://github.com/glensc/file.git"
-   inherit autotools git-r3
-else
-   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
-   ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-fi
-
-DESCRIPTION="identify a file's format by scanning binary data for patterns"
-HOMEPAGE="http://www.darwinsys.com/file/;
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="python static-libs zlib"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="python? ( ${PYTHON_DEPS} )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}
-   python? ( !dev-python/python-magic )"
-
-src_prepare() {
-   [[ ${PV} == "" ]] && eautoreconf
-   elibtoolize
-
-   # don't let python README kill main README #60043
-   mv python/README{,.python}
-}
-
-multilib_src_configure() {
-   ECONF_SOURCE=${S} \
-   ac_cv_header_zlib_h=$(usex zlib) \
-   ac_cv_lib_z_gzopen=$(usex zlib)
-   econf \
-   $(use_enable static-libs static)
-}
-
-src_configure() {
-   # when cross-compiling, we need to build up our own file
-   # because people often don't keep matching host/target
-   # file versions #362941
-   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
-   mkdir -p "${WORKDIR}"/build
-   cd "${WORKDIR}"/build
-   tc-export_build_env BUILD_C{C,XX}
-   ECONF_SOURCE=${S} \
-   ac_cv_header_zlib_h=no \
-   ac_cv_lib_z_gzopen=no \
-   CHOST=${CBUILD} \
-   CFLAGS=${BUILD_CFLAGS} \
-   CXXFLAGS=${BUILD_CXXFLAGS} \
-   CPPFLAGS=${BUILD_CPPFLAGS} \
-   LDFLAGS="${BUILD_LDFLAGS} -static" \
-   CC=${BUILD_CC} \
-   CXX=${BUILD_CXX} \
-   econf --disable-shared
-   fi
-
-   multilib-minimal_src_configure
-}
-
-multilib_src_compile() {
-   if multilib_is_native_abi ; then
-   emake
-   else
-   emake -C src libmagic.la
-   fi
-}
-
-src_compile() {
-   if tc-is-cross-compiler && ! ROOT=/ has_version 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-04-20 Thread David Seifert
commit: ec9eef0fc6ae04973fad7d387e6f012e24687412
Author: David Seifert  gentoo  org>
AuthorDate: Thu Apr 20 16:12:33 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Apr 20 16:40:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec9eef0f

sys-apps/file: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-apps/file/file-5.25.ebuild | 2 ++
 sys-apps/file/file-5.29.ebuild | 1 +
 sys-apps/file/file-5.30.ebuild | 1 +
 sys-apps/file/file-.ebuild | 1 +
 4 files changed, 5 insertions(+)

diff --git a/sys-apps/file/file-5.25.ebuild b/sys-apps/file/file-5.25.ebuild
index 5a474abf3c5..a0ecae572f4 100644
--- a/sys-apps/file/file-5.25.ebuild
+++ b/sys-apps/file/file-5.25.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
+
 PYTHON_COMPAT=( python{2_7,3_4} pypy )
 DISTUTILS_OPTIONAL=1
 
@@ -22,6 +23,7 @@ HOMEPAGE="http://www.darwinsys.com/file/;
 LICENSE="BSD-2"
 SLOT="0"
 IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="python? ( ${PYTHON_DEPS} )
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index a1e7d3f109d..e785d7bd948 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -23,6 +23,7 @@ HOMEPAGE="http://www.darwinsys.com/file/ 
http://mx.gw.com/pipermail/file/;
 LICENSE="BSD-2"
 SLOT="0"
 IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="
python? (

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
index d4a82766b8c..c139556d381 100644
--- a/sys-apps/file/file-5.30.ebuild
+++ b/sys-apps/file/file-5.30.ebuild
@@ -23,6 +23,7 @@ HOMEPAGE="http://www.darwinsys.com/file/ 
http://mx.gw.com/pipermail/file/;
 LICENSE="BSD-2"
 SLOT="0"
 IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="
python? (

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 37bede78fcc..60b596e5e6f 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -23,6 +23,7 @@ HOMEPAGE="http://www.darwinsys.com/file/ 
http://mx.gw.com/pipermail/file/;
 LICENSE="BSD-2"
 SLOT="0"
 IUSE="python static-libs zlib"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 DEPEND="
python? (



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-03-17 Thread Zac Medico
commit: bb71d3552d68a01dacef44cbb44395159930d043
Author: Zac Medico  gentoo  org>
AuthorDate: Fri Mar 17 19:19:02 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Mar 17 19:20:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb71d355

sys-apps/file: Add python3_6 to PYTHON_COMPAT

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-apps/file/file-5.29.ebuild | 2 +-
 sys-apps/file/file-5.30.ebuild | 2 +-
 sys-apps/file/file-.ebuild | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index a74fc6ecf75..a1e7d3f109d 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
 DISTUTILS_OPTIONAL=1
 
 inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
index fb127eecde5..d4a82766b8c 100644
--- a/sys-apps/file/file-5.30.ebuild
+++ b/sys-apps/file/file-5.30.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="5"
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
 DISTUTILS_OPTIONAL=1
 
 inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index c144b01282c..37bede78fcc 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
 DISTUTILS_OPTIONAL=1
 
 inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-02-24 Thread Markus Meier
commit: bc99bb25298bb4787f3354f09f4cec7bfa7a9301
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Feb 25 07:30:14 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Feb 25 07:30:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc99bb25

sys-apps/file: arm stable, bug #606418

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 sys-apps/file/file-5.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index dd5614b1ab..a74fc6ecf7 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-02-10 Thread Lars Wendler
commit: a41090ddfc2ac8b1cf55b0b52b37f0304858e349
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Feb 10 22:15:20 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Feb 10 22:15:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a41090dd

sys-apps/file: Bump to version 5.30

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/file/Manifest |   1 +
 sys-apps/file/file-5.30.ebuild | 110 +
 2 files changed, 111 insertions(+)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 61881b55ef..6ad0923353 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,2 +1,3 @@
 DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
 DIST file-5.29.tar.gz 783919 SHA256 
ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 
58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462
 WHIRLPOOL 
e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094
+DIST file-5.30.tar.gz 789345 SHA256 
694c2432e5240187524c9e7cf1ec6acc77b47a0e19554d34c14773e43dbbf214 SHA512 
473ee57517b449bae0832c17c9db914162c2404f0c669951f13a53f44ae288e6075907bac44fcfa8915f3d9313981a8bc15ea7e9851f584f95988bc76b2f20fc
 WHIRLPOOL 
948a7bd73e6527819ca371f6ac7eeb809c6b508d836516a10ba3842ec17cf72739e2aed16006eb316df2e8053b471190007eafc0b430cf5d47ff609db0bebcde

diff --git a/sys-apps/file/file-5.30.ebuild b/sys-apps/file/file-5.30.ebuild
new file mode 100644
index 00..fd2802a855
--- /dev/null
+++ b/sys-apps/file/file-5.30.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="git://github.com/glensc/file.git"
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
+   ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="http://www.darwinsys.com/file/ http://mx.gw.com/pipermail/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+src_prepare() {
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README{,.python}
+}
+
+multilib_src_configure() {
+   ECONF_SOURCE=${S} \
+   econf \
+   --enable-fsect-man5 \
+   $(use_enable static-libs static) \
+   $(use_enable zlib)
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build
+   cd "${WORKDIR}"/build
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   emake
+   else
+   cd src
+   emake magic.h #586444
+   emake libmagic.la
+   fi
+}
+
+src_compile() {
+   if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
+   emake -C "${WORKDIR}"/build/src magic.h #586444
+   emake -C 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-01-25 Thread Tobias Klausmann
commit: b11bcabee770de6320e846e42917a22bcda303c4
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Jan 25 12:16:22 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Jan 25 12:16:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b11bcabe

sys-apps/file-5.29-r0: stable on alpha

Gentoo-Bug: 606418

 sys-apps/file/file-5.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index 4010b7c..bc24cf7 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 
sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd 
~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-01-23 Thread Agostino Sarubbo
commit: 4df716a85f62d8ee822e59241549318795bd70af
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jan 23 16:25:52 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jan 23 16:27:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df716a8

sys-apps/file: ia64 stable wrt bug #606418

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/file/file-5.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index c4d436d..4010b7c 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 s390 
sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 
sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-01-21 Thread Agostino Sarubbo
commit: b61018e2e9c73318db4934ef8d0a2d8b9614b889
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jan 21 20:30:50 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jan 21 20:33:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61018e2

sys-apps/file: ppc stable wrt bug #606418

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/file/file-5.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index 5a4bd0d..9cd1662 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 m68k ~mips ~ppc ppc64 s390 
sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 m68k ~mips ppc ppc64 s390 
sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-01-21 Thread Jeroen Roovers
commit: be014bdd8735b8d88b73ec9b29f740129677565b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jan 21 13:16:54 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jan 21 13:16:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be014bdd

sys-apps/file: Stable for HPPA (bug #606418).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 sys-apps/file/file-5.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index 6e5dd9f..5a4bd0d 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 m68k ~mips ~ppc ppc64 
s390 sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 m68k ~mips ~ppc ppc64 s390 
sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-01-19 Thread Mike Frysinger
commit: 7b14ec1ff66f2ca8bb58e3ad5b029d4d1f9b2f80
Author: Mike Frysinger  gentoo  org>
AuthorDate: Thu Jan 19 13:32:22 2017 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Thu Jan 19 14:13:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b14ec1f

sys-apps/file: mark 5.29 arm64/m68k/s390/sh stable

 sys-apps/file/file-5.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index c18a24c..a3d1469 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 m68k ~mips ~ppc ~ppc64 
s390 sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-01-19 Thread Agostino Sarubbo
commit: 61a234799b42695d1deb0b2341da4b64dea17297
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jan 19 10:37:09 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jan 19 10:37:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a23479

sys-apps/file: amd64 stable wrt bug #606418

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/file/file-5.29.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index 50ff5f2..db8af3a 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2017-01-18 Thread Mike Frysinger
commit: 5031319be2234fe850ae982aadb1fd46e11bc8cf
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Jan 18 08:52:21 2017 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Jan 18 08:55:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5031319b

sys-apps/file: mark 5.25 arm64/m68k/s390/sh stable

 sys-apps/file/file-5.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.25.ebuild b/sys-apps/file/file-5.25.ebuild
index 630fac2..4fbe5e7 100644
--- a/sys-apps/file/file-5.25.ebuild
+++ b/sys-apps/file/file-5.25.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 
~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+   KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/files/, sys-apps/file/

2017-01-17 Thread Lars Wendler
commit: 0d0ddd19f8af195c7ec4e60a4db7ca3dba756c2f
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jan 17 15:17:02 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jan 17 16:22:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0ddd19

sys-apps/file: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/file/Manifest   |   2 -
 sys-apps/file/file-5.22.ebuild   | 105 -
 sys-apps/file/file-5.28.ebuild   | 112 ---
 sys-apps/file/files/file-5.28-der-mmap.patch |  36 -
 4 files changed, 255 deletions(-)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 58b3473..61881b5 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,4 +1,2 @@
-DIST file-5.22.tar.gz 732556 SHA256 
c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38c143e214bfc12109fc0b SHA512 
e9f1648c3b490bac642a2a9e01d31a8bd49c3e2a1feea1b25869aa1d5e37aa99bbf3fdc5d301618a8b97aec046f10e400a57f8a1d0dd61d3583830aaf3fcbda8
 WHIRLPOOL 
de9ce9305fd824d85128617e196fe6b02ea470b63eb2a35d31e857f7cf91e09f85166aaa72695aaf4a7516413b3a146db85588e7da65f32b131a477b3dece176
 DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
-DIST file-5.28.tar.gz 777859 SHA256 
0ecb5e146b8655d1fa84159a847ee619fc102575205a0ff9c6cc60fc5ee2e012 SHA512 
42136505e21b14396e3af4e0d3f349687176cf0771d2dc9fed3599a30c7bab59184459f1e51033bce2d6ee0e292eba034bdfda727decca1219c1b3419e6bbfdc
 WHIRLPOOL 
f12889fc2a692084989d7029d8b9c849344e4236df8afc9e46c6441712aace5e07fee3bb05267ef76da7d41fbcb6b21db4e3bf6e22af660d43b2edeb6ff1571c
 DIST file-5.29.tar.gz 783919 SHA256 
ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 
58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462
 WHIRLPOOL 
e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094

diff --git a/sys-apps/file/file-5.22.ebuild b/sys-apps/file/file-5.22.ebuild
deleted file mode 100644
index ed536e5..
--- a/sys-apps/file/file-5.22.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-PYTHON_COMPAT=( python{2_7,3_4} )
-DISTUTILS_OPTIONAL=1
-
-inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
-
-if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="git://github.com/glensc/file.git"
-   inherit autotools git-r3
-else
-   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
-   ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 
sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-fi
-
-DESCRIPTION="identify a file's format by scanning binary data for patterns"
-HOMEPAGE="http://www.darwinsys.com/file/;
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="python static-libs zlib"
-
-DEPEND="python? ( ${PYTHON_DEPS} )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
-   abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r21
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
-RDEPEND="${DEPEND}
-   python? ( !dev-python/python-magic )"
-
-src_prepare() {
-   [[ ${PV} == "" ]] && eautoreconf
-   elibtoolize
-
-   # don't let python README kill main README #60043
-   mv python/README{,.python}
-}
-
-multilib_src_configure() {
-   ECONF_SOURCE=${S} \
-   ac_cv_header_zlib_h=$(usex zlib) \
-   ac_cv_lib_z_gzopen=$(usex zlib)
-   econf \
-   $(use_enable static-libs static)
-}
-
-src_configure() {
-   # when cross-compiling, we need to build up our own file
-   # because people often don't keep matching host/target
-   # file versions #362941
-   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
-   mkdir -p "${WORKDIR}"/build
-   cd "${WORKDIR}"/build
-   tc-export_build_env BUILD_C{C,XX}
-   ECONF_SOURCE=${S} \
-   ac_cv_header_zlib_h=no \
-   ac_cv_lib_z_gzopen=no \
-   CHOST=${CBUILD} \
-   CFLAGS=${BUILD_CFLAGS} \
-   CXXFLAGS=${BUILD_CXXFLAGS} \
-   CPPFLAGS=${BUILD_CPPFLAGS} \
-   LDFLAGS="${BUILD_LDFLAGS} -static" \
-   CC=${BUILD_CC} \
-   CXX=${BUILD_CXX} \
-   econf --disable-shared
-   fi
-
-   multilib-minimal_src_configure
-}
-

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-12-16 Thread Fabian Groffen
commit: 65fcdc1649d5938c690b37bdd854cda093b51969
Author: Fabian Groffen  gentoo  org>
AuthorDate: Fri Dec 16 12:48:45 2016 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Fri Dec 16 12:48:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65fcdc16

sys-apps/file: add Prefix keywords

Package-Manager: portage-2.3.0

 sys-apps/file/file-5.29.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
index 675e728..50ff5f2 100644
--- a/sys-apps/file/file-5.29.ebuild
+++ b/sys-apps/file/file-5.29.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-10-25 Thread Lars Wendler
commit: 8603624494ee4596a6f4c95eea29ac8bdd8a51e8
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Oct 25 20:01:26 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Oct 25 20:27:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86036244

sys-apps/file: Bump to version 5.29

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/file/Manifest |   1 +
 sys-apps/file/file-5.29.ebuild | 110 +
 2 files changed, 111 insertions(+)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index c3f5f33..4fcd0b3 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -3,3 +3,4 @@ DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b828
 DIST file-5.26.tar.gz 773061 SHA256 
2ef32b4ec936b0ff7b59a021dce56086a716663b6df1138c7ea597d396bf50cf SHA512 
e3251dde54f200b6bcade5db97fda25e73efcb2629ff5c464601c82190e12290b89eb942d820d43aa67ef37be3c0f2db00e7e5c303c083e4a8d1c49499b907dd
 WHIRLPOOL 
f8922b8cbfe153347f793e34ba7be1c3e36e55800e22fcb675f971bcc2094781a0784d887ece32760e2586fe6c459f56ce605610225f6746dacd70a922ac9e10
 DIST file-5.27.tar.gz 774063 SHA256 
c2e7d509b1167c4915901ecd257ee924d229a348bf988df6d1934ef0fa34a1a7 SHA512 
fcf607d367d85b8a971a62793efc79f7e548e029dd7bb41f95bf992c271c514d70cd4bb5c2ca577e470e0ff1df9dca31beaaf19a5fd4e3f617b36061eff46195
 WHIRLPOOL 
ea7483dce63a4b1f5fa7ee2571e918997bcffb46a7267a1fa45990dc33966e04a22f20d01105b268f6e6ca530a3a9c3f20f4f802a445847c60ee7f943cc5b570
 DIST file-5.28.tar.gz 777859 SHA256 
0ecb5e146b8655d1fa84159a847ee619fc102575205a0ff9c6cc60fc5ee2e012 SHA512 
42136505e21b14396e3af4e0d3f349687176cf0771d2dc9fed3599a30c7bab59184459f1e51033bce2d6ee0e292eba034bdfda727decca1219c1b3419e6bbfdc
 WHIRLPOOL 
f12889fc2a692084989d7029d8b9c849344e4236df8afc9e46c6441712aace5e07fee3bb05267ef76da7d41fbcb6b21db4e3bf6e22af660d43b2edeb6ff1571c
+DIST file-5.29.tar.gz 783919 SHA256 
ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 
58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462
 WHIRLPOOL 
e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094

diff --git a/sys-apps/file/file-5.29.ebuild b/sys-apps/file/file-5.29.ebuild
new file mode 100644
index ..cef9687
--- /dev/null
+++ b/sys-apps/file/file-5.29.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="git://github.com/glensc/file.git"
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
+   ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="http://www.darwinsys.com/file/ http://mx.gw.com/pipermail/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+src_prepare() {
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README{,.python}
+}
+
+multilib_src_configure() {
+   ECONF_SOURCE=${S} \
+   econf \
+   --enable-fsect-man5 \
+   $(use_enable static-libs static) \
+   $(use_enable zlib)
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build
+   cd "${WORKDIR}"/build
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/, sys-apps/file/files/

2016-10-25 Thread Lars Wendler
commit: 4a1936aa0776f32b284ba848ad5a21baf0ae4601
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Oct 25 20:03:20 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Oct 25 20:27:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a1936aa

sys-apps/file: Removed old.

Package-Manager: portage-2.3.2
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/file/Manifest |   2 -
 sys-apps/file/file-5.26-r1.ebuild  | 117 --
 sys-apps/file/file-5.27.ebuild | 108 -
 sys-apps/file/files/file-5.26-compress-1.patch |  53 -
 sys-apps/file/files/file-5.26-compress-2.patch |  73 
 sys-apps/file/files/file-5.26-header-define.patch  |  26 
 sys-apps/file/files/file-5.26-msoffice-magic.patch |  45 ---
 sys-apps/file/files/file-5.26-nes-magic.patch  |  27 -
 sys-apps/file/files/file-5.26-php-magic.patch  |  28 -
 sys-apps/file/files/file-5.26-stdin-rpm.patch  |  27 -
 sys-apps/file/files/file-5.26-stdin-test.patch | 132 -
 sys-apps/file/files/file-5.26-tests-fatal.patch|  27 -
 12 files changed, 665 deletions(-)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 4fcd0b3..58b3473 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,6 +1,4 @@
 DIST file-5.22.tar.gz 732556 SHA256 
c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38c143e214bfc12109fc0b SHA512 
e9f1648c3b490bac642a2a9e01d31a8bd49c3e2a1feea1b25869aa1d5e37aa99bbf3fdc5d301618a8b97aec046f10e400a57f8a1d0dd61d3583830aaf3fcbda8
 WHIRLPOOL 
de9ce9305fd824d85128617e196fe6b02ea470b63eb2a35d31e857f7cf91e09f85166aaa72695aaf4a7516413b3a146db85588e7da65f32b131a477b3dece176
 DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
-DIST file-5.26.tar.gz 773061 SHA256 
2ef32b4ec936b0ff7b59a021dce56086a716663b6df1138c7ea597d396bf50cf SHA512 
e3251dde54f200b6bcade5db97fda25e73efcb2629ff5c464601c82190e12290b89eb942d820d43aa67ef37be3c0f2db00e7e5c303c083e4a8d1c49499b907dd
 WHIRLPOOL 
f8922b8cbfe153347f793e34ba7be1c3e36e55800e22fcb675f971bcc2094781a0784d887ece32760e2586fe6c459f56ce605610225f6746dacd70a922ac9e10
-DIST file-5.27.tar.gz 774063 SHA256 
c2e7d509b1167c4915901ecd257ee924d229a348bf988df6d1934ef0fa34a1a7 SHA512 
fcf607d367d85b8a971a62793efc79f7e548e029dd7bb41f95bf992c271c514d70cd4bb5c2ca577e470e0ff1df9dca31beaaf19a5fd4e3f617b36061eff46195
 WHIRLPOOL 
ea7483dce63a4b1f5fa7ee2571e918997bcffb46a7267a1fa45990dc33966e04a22f20d01105b268f6e6ca530a3a9c3f20f4f802a445847c60ee7f943cc5b570
 DIST file-5.28.tar.gz 777859 SHA256 
0ecb5e146b8655d1fa84159a847ee619fc102575205a0ff9c6cc60fc5ee2e012 SHA512 
42136505e21b14396e3af4e0d3f349687176cf0771d2dc9fed3599a30c7bab59184459f1e51033bce2d6ee0e292eba034bdfda727decca1219c1b3419e6bbfdc
 WHIRLPOOL 
f12889fc2a692084989d7029d8b9c849344e4236df8afc9e46c6441712aace5e07fee3bb05267ef76da7d41fbcb6b21db4e3bf6e22af660d43b2edeb6ff1571c
 DIST file-5.29.tar.gz 783919 SHA256 
ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 
58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462
 WHIRLPOOL 
e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094

diff --git a/sys-apps/file/file-5.26-r1.ebuild 
b/sys-apps/file/file-5.26-r1.ebuild
deleted file mode 100644
index fb300b3..
--- a/sys-apps/file/file-5.26-r1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
-DISTUTILS_OPTIONAL=1
-
-inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
-
-if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="git://github.com/glensc/file.git"
-   inherit autotools git-r3
-else
-   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
-   ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-fi
-
-DESCRIPTION="identify a file's format by scanning binary data for patterns"
-HOMEPAGE="http://www.darwinsys.com/file/;
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="python static-libs zlib"
-
-DEPEND="python? ( ${PYTHON_DEPS}
-   dev-python/setuptools )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}
-   python? ( !dev-python/python-magic )"
-
-PATCHES=(
-   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-09-18 Thread Sergei Trofimovich
commit: fc034c82b286e891d50f2c1e516640ee3107104c
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep 18 12:39:26 2016 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep 18 12:39:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc034c82

sys-apps/file: apply missing magic.h fix from bug #586444

The bug #586444 manifested on a cross-compiler case as well
when we built native 'file'.

Reported-by: n05 on #gentoo-embedded

Package-Manager: portage-2.3.0

 sys-apps/file/file-5.28.ebuild | 1 +
 sys-apps/file/file-.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys-apps/file/file-5.28.ebuild b/sys-apps/file/file-5.28.ebuild
index fefe087..e70a726 100644
--- a/sys-apps/file/file-5.28.ebuild
+++ b/sys-apps/file/file-5.28.ebuild
@@ -87,6 +87,7 @@ multilib_src_compile() {
 
 src_compile() {
if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
+   emake -C "${WORKDIR}"/build/src magic.h #586444
emake -C "${WORKDIR}"/build/src file
PATH="${WORKDIR}/build/src:${PATH}"
fi

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 466e194..b067a3e 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -85,6 +85,7 @@ multilib_src_compile() {
 
 src_compile() {
if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
+   emake -C "${WORKDIR}"/build/src magic.h #586444
emake -C "${WORKDIR}"/build/src file
PATH="${WORKDIR}/build/src:${PATH}"
fi



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-08-10 Thread Mike Frysinger
commit: 13173033ab392e6fe0a435d9ac2e59af1e5d4585
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Aug 10 09:30:27 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Aug 10 09:47:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13173033

sys-apps/file: switch to the new zlib configure flag

 sys-apps/file/file-5.28.ebuild | 5 ++---
 sys-apps/file/file-.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/sys-apps/file/file-5.28.ebuild b/sys-apps/file/file-5.28.ebuild
index ee20eaa..298edaf 100644
--- a/sys-apps/file/file-5.28.ebuild
+++ b/sys-apps/file/file-5.28.ebuild
@@ -43,11 +43,10 @@ src_prepare() {
 
 multilib_src_configure() {
ECONF_SOURCE=${S} \
-   ac_cv_header_zlib_h=$(usex zlib) \
-   ac_cv_lib_z_gzopen=$(usex zlib)
econf \
--enable-fsect-man5 \
-   $(use_enable static-libs static)
+   $(use_enable static-libs static) \
+   $(use_enable zlib)
 }
 
 src_configure() {

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 1bdaecc..466e194 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -43,11 +43,10 @@ src_prepare() {
 
 multilib_src_configure() {
ECONF_SOURCE=${S} \
-   ac_cv_header_zlib_h=$(usex zlib) \
-   ac_cv_lib_z_gzopen=$(usex zlib)
econf \
--enable-fsect-man5 \
-   $(use_enable static-libs static)
+   $(use_enable static-libs static) \
+   $(use_enable zlib)
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/, sys-apps/file/files/

2016-08-10 Thread Mike Frysinger
commit: ba55f110bf9831afca12c51ea503e5f5293d28fe
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Aug 10 09:33:42 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Aug 10 09:47:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba55f110

sys-apps/file: add upstream fix for mingw builds

 sys-apps/file/file-5.28.ebuild   |  2 ++
 sys-apps/file/files/file-5.28-der-mmap.patch | 36 
 2 files changed, 38 insertions(+)

diff --git a/sys-apps/file/file-5.28.ebuild b/sys-apps/file/file-5.28.ebuild
index 298edaf..fefe087 100644
--- a/sys-apps/file/file-5.28.ebuild
+++ b/sys-apps/file/file-5.28.ebuild
@@ -37,6 +37,8 @@ src_prepare() {
[[ ${PV} == "" ]] && eautoreconf
elibtoolize
 
+   epatch "${FILESDIR}"/${P}-der-mmap.patch
+
# don't let python README kill main README #60043
mv python/README{,.python}
 }

diff --git a/sys-apps/file/files/file-5.28-der-mmap.patch 
b/sys-apps/file/files/file-5.28-der-mmap.patch
new file mode 100644
index 000..50542a6
--- /dev/null
+++ b/sys-apps/file/files/file-5.28-der-mmap.patch
@@ -0,0 +1,36 @@
+fix from upstream for building on systems w/out mmap (e.g. mingw)
+
+From 6f1fbff8114ec2319dd874f3552105b378931eb9 Mon Sep 17 00:00:00 2001
+From: Christos Zoulas 
+Date: Fri, 15 Jul 2016 00:56:04 +
+Subject: [PATCH] we only need mman for testing.
+
+---
+ src/der.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/der.c b/src/der.c
+index fcdeb6c79814..fd093d29ee89 100644
+--- a/src/der.c
 b/src/der.c
+@@ -35,8 +35,6 @@
+ #endif
+ 
+ #include 
+-#include 
+-#include 
+ 
+ #include 
+ #include 
+@@ -53,6 +51,8 @@
+ #include "magic.h"
+ #include "der.h"
+ #else
++#include 
++#include 
+ #include 
+ #endif
+ 
+-- 
+2.9.0
+



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-06-24 Thread Mike Frysinger
commit: b60e6814ea6c95cedac4e03c2a1ce574207dea30
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Jun 25 03:07:30 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Jun 25 03:09:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b60e6814

sys-apps/file: build magic.h before libmagic.la #586444

Since the header is a BUILT_SOURCES which is normally created only when
you run `make all`, make sure we generate it by hand before building the
library in the multilib case.

 sys-apps/file/file-5.28.ebuild | 4 +++-
 sys-apps/file/file-.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-5.28.ebuild b/sys-apps/file/file-5.28.ebuild
index 6ebccd6..ee20eaa 100644
--- a/sys-apps/file/file-5.28.ebuild
+++ b/sys-apps/file/file-5.28.ebuild
@@ -78,7 +78,9 @@ multilib_src_compile() {
if multilib_is_native_abi ; then
emake
else
-   emake -C src libmagic.la
+   cd src
+   emake magic.h #586444
+   emake libmagic.la
fi
 }
 

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 658a92f..1bdaecc 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -78,7 +78,9 @@ multilib_src_compile() {
if multilib_is_native_abi ; then
emake
else
-   emake -C src libmagic.la
+   cd src
+   emake magic.h #586444
+   emake libmagic.la
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-06-13 Thread Mike Frysinger
commit: d0e05e03f1fbdd25582f6059be896c579e100939
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Jun 14 01:46:24 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Jun 14 01:46:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e05e03

sys-apps/file: version bump to 5.28

 sys-apps/file/Manifest |   1 +
 sys-apps/file/file-5.28.ebuild | 108 +
 2 files changed, 109 insertions(+)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 8c054df..c3f5f33 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -2,3 +2,4 @@ DIST file-5.22.tar.gz 732556 SHA256 
c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38
 DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
 DIST file-5.26.tar.gz 773061 SHA256 
2ef32b4ec936b0ff7b59a021dce56086a716663b6df1138c7ea597d396bf50cf SHA512 
e3251dde54f200b6bcade5db97fda25e73efcb2629ff5c464601c82190e12290b89eb942d820d43aa67ef37be3c0f2db00e7e5c303c083e4a8d1c49499b907dd
 WHIRLPOOL 
f8922b8cbfe153347f793e34ba7be1c3e36e55800e22fcb675f971bcc2094781a0784d887ece32760e2586fe6c459f56ce605610225f6746dacd70a922ac9e10
 DIST file-5.27.tar.gz 774063 SHA256 
c2e7d509b1167c4915901ecd257ee924d229a348bf988df6d1934ef0fa34a1a7 SHA512 
fcf607d367d85b8a971a62793efc79f7e548e029dd7bb41f95bf992c271c514d70cd4bb5c2ca577e470e0ff1df9dca31beaaf19a5fd4e3f617b36061eff46195
 WHIRLPOOL 
ea7483dce63a4b1f5fa7ee2571e918997bcffb46a7267a1fa45990dc33966e04a22f20d01105b268f6e6ca530a3a9c3f20f4f802a445847c60ee7f943cc5b570
+DIST file-5.28.tar.gz 777859 SHA256 
0ecb5e146b8655d1fa84159a847ee619fc102575205a0ff9c6cc60fc5ee2e012 SHA512 
42136505e21b14396e3af4e0d3f349687176cf0771d2dc9fed3599a30c7bab59184459f1e51033bce2d6ee0e292eba034bdfda727decca1219c1b3419e6bbfdc
 WHIRLPOOL 
f12889fc2a692084989d7029d8b9c849344e4236df8afc9e46c6441712aace5e07fee3bb05267ef76da7d41fbcb6b21db4e3bf6e22af660d43b2edeb6ff1571c

diff --git a/sys-apps/file/file-5.28.ebuild b/sys-apps/file/file-5.28.ebuild
new file mode 100644
index 000..658a92f
--- /dev/null
+++ b/sys-apps/file/file-5.28.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="git://github.com/glensc/file.git"
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
+   ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="http://www.darwinsys.com/file/ http://mx.gw.com/pipermail/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+src_prepare() {
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README{,.python}
+}
+
+multilib_src_configure() {
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=$(usex zlib) \
+   ac_cv_lib_z_gzopen=$(usex zlib)
+   econf \
+   --enable-fsect-man5 \
+   $(use_enable static-libs static)
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build
+   cd "${WORKDIR}"/build
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-06-03 Thread Markus Meier
commit: f47cc8f53331c0be15e509eda6d241535bc29ead
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Jun  4 04:53:25 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Jun  4 04:53:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47cc8f5

sys-apps/file: arm stable, bug #583956

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --include-arches="arm"

 sys-apps/file/file-5.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.25.ebuild b/sys-apps/file/file-5.25.ebuild
index 54e5f19..2193e10 100644
--- a/sys-apps/file/file-5.25.ebuild
+++ b/sys-apps/file/file-5.25.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-05-27 Thread Lars Wendler
commit: 1f957aba1bacf4b6e526909a1eab571bc8ddebbc
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri May 27 12:30:33 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri May 27 12:45:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f957aba

sys-apps/file: amd64 stable (bug #583956).

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/file/file-5.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.25.ebuild b/sys-apps/file/file-5.25.ebuild
index 4198e84..54e5f19 100644
--- a/sys-apps/file/file-5.25.ebuild
+++ b/sys-apps/file/file-5.25.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-05-26 Thread Lars Wendler
commit: be642152213b679824e3be065d3ed8fec85d35c2
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu May 26 19:53:02 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu May 26 20:04:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be642152

sys-apps/file: x86 stable (bug #583956).

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="x86"
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/file/file-5.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.25.ebuild b/sys-apps/file/file-5.25.ebuild
index 35f9136..4198e84 100644
--- a/sys-apps/file/file-5.25.ebuild
+++ b/sys-apps/file/file-5.25.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+   KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-05-25 Thread Matt Turner
commit: 47194250a90dff0b052244f2fe5369187b078efc
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 25 05:02:49 2016 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 25 06:27:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47194250

sys-apps/file: alpha stable, bug 583956.

 sys-apps/file/file-5.25.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/file/file-5.25.ebuild b/sys-apps/file/file-5.25.ebuild
index e20afcb..35f9136 100644
--- a/sys-apps/file/file-5.25.ebuild
+++ b/sys-apps/file/file-5.25.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+   KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-05-24 Thread Jeroen Roovers
commit: 8fad7f9d1a51b22671f32138d13fc0c33e0af6e3
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May 25 05:17:52 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May 25 05:17:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fad7f9d

sys-apps/file: Stable for HPPA PPC64 (bug #583956).

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --ignore-arches

 sys-apps/file/file-5.25.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/file/file-5.25.ebuild b/sys-apps/file/file-5.25.ebuild
index f4aad48..e20afcb 100644
--- a/sys-apps/file/file-5.25.ebuild
+++ b/sys-apps/file/file-5.25.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]] ; then
 else
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-05-13 Thread Mike Frysinger
commit: 44b276923b08eaa58ae67154ceb22654ab4e16a7
Author: Mike Frysinger  gentoo  org>
AuthorDate: Fri May 13 19:03:03 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Fri May 13 19:03:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44b27692

sys-apps/file: version bump to 5.27 (and man page move #426634)

 sys-apps/file/Manifest   | 1 +
 sys-apps/file/{file-.ebuild => file-5.27.ebuild} | 9 +++--
 sys-apps/file/file-.ebuild   | 9 +++--
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index ec8f620..8c054df 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,3 +1,4 @@
 DIST file-5.22.tar.gz 732556 SHA256 
c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38c143e214bfc12109fc0b SHA512 
e9f1648c3b490bac642a2a9e01d31a8bd49c3e2a1feea1b25869aa1d5e37aa99bbf3fdc5d301618a8b97aec046f10e400a57f8a1d0dd61d3583830aaf3fcbda8
 WHIRLPOOL 
de9ce9305fd824d85128617e196fe6b02ea470b63eb2a35d31e857f7cf91e09f85166aaa72695aaf4a7516413b3a146db85588e7da65f32b131a477b3dece176
 DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
 DIST file-5.26.tar.gz 773061 SHA256 
2ef32b4ec936b0ff7b59a021dce56086a716663b6df1138c7ea597d396bf50cf SHA512 
e3251dde54f200b6bcade5db97fda25e73efcb2629ff5c464601c82190e12290b89eb942d820d43aa67ef37be3c0f2db00e7e5c303c083e4a8d1c49499b907dd
 WHIRLPOOL 
f8922b8cbfe153347f793e34ba7be1c3e36e55800e22fcb675f971bcc2094781a0784d887ece32760e2586fe6c459f56ce605610225f6746dacd70a922ac9e10
+DIST file-5.27.tar.gz 774063 SHA256 
c2e7d509b1167c4915901ecd257ee924d229a348bf988df6d1934ef0fa34a1a7 SHA512 
fcf607d367d85b8a971a62793efc79f7e548e029dd7bb41f95bf992c271c514d70cd4bb5c2ca577e470e0ff1df9dca31beaaf19a5fd4e3f617b36061eff46195
 WHIRLPOOL 
ea7483dce63a4b1f5fa7ee2571e918997bcffb46a7267a1fa45990dc33966e04a22f20d01105b268f6e6ca530a3a9c3f20f4f802a445847c60ee7f943cc5b570

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-5.27.ebuild
similarity index 93%
copy from sys-apps/file/file-.ebuild
copy to sys-apps/file/file-5.27.ebuild
index 5aa9298..658a92f 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-5.27.ebuild
@@ -18,13 +18,17 @@ else
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"
-HOMEPAGE="http://www.darwinsys.com/file/;
+HOMEPAGE="http://www.darwinsys.com/file/ http://mx.gw.com/pipermail/file/;
 
 LICENSE="BSD-2"
 SLOT="0"
 IUSE="python static-libs zlib"
 
-DEPEND="python? ( ${PYTHON_DEPS} )
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}
python? ( !dev-python/python-magic )"
@@ -42,6 +46,7 @@ multilib_src_configure() {
ac_cv_header_zlib_h=$(usex zlib) \
ac_cv_lib_z_gzopen=$(usex zlib)
econf \
+   --enable-fsect-man5 \
$(use_enable static-libs static)
 }
 

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 5aa9298..658a92f 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -18,13 +18,17 @@ else
 fi
 
 DESCRIPTION="identify a file's format by scanning binary data for patterns"
-HOMEPAGE="http://www.darwinsys.com/file/;
+HOMEPAGE="http://www.darwinsys.com/file/ http://mx.gw.com/pipermail/file/;
 
 LICENSE="BSD-2"
 SLOT="0"
 IUSE="python static-libs zlib"
 
-DEPEND="python? ( ${PYTHON_DEPS} )
+DEPEND="
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   )
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}
python? ( !dev-python/python-magic )"
@@ -42,6 +46,7 @@ multilib_src_configure() {
ac_cv_header_zlib_h=$(usex zlib) \
ac_cv_lib_z_gzopen=$(usex zlib)
econf \
+   --enable-fsect-man5 \
$(use_enable static-libs static)
 }
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-05-02 Thread Lars Wendler
commit: 060647cd95b37f5545ed8082c94352f91352fcf9
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon May  2 14:12:58 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon May  2 14:12:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=060647cd

sys-apps/file: USE="python" requires dev-python/setuptools (bug #581610)

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/file/file-5.26-r1.ebuild | 25 +++--
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/sys-apps/file/file-5.26-r1.ebuild 
b/sys-apps/file/file-5.26-r1.ebuild
index ff3216a..fb300b3 100644
--- a/sys-apps/file/file-5.26-r1.ebuild
+++ b/sys-apps/file/file-5.26-r1.ebuild
@@ -24,21 +24,26 @@ LICENSE="BSD-2"
 SLOT="0"
 IUSE="python static-libs zlib"
 
-DEPEND="python? ( ${PYTHON_DEPS} )
+DEPEND="python? ( ${PYTHON_DEPS}
+   dev-python/setuptools )
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}
python? ( !dev-python/python-magic )"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-header-define.patch
+   "${FILESDIR}"/${P}-nes-magic.patch
+   "${FILESDIR}"/${P}-php-magic.patch
+   "${FILESDIR}"/${P}-msoffice-magic.patch
+   "${FILESDIR}"/${P}-stdin-rpm.patch
+   "${FILESDIR}"/${P}-tests-fatal.patch
+   "${FILESDIR}"/${P}-stdin-test.patch
+   "${FILESDIR}"/${P}-compress-1.patch
+   "${FILESDIR}"/${P}-compress-2.patch
+)
+
 src_prepare() {
-   epatch "${FILESDIR}"/${P}-header-define.patch
-   epatch "${FILESDIR}"/${P}-nes-magic.patch
-   epatch "${FILESDIR}"/${P}-php-magic.patch
-   epatch "${FILESDIR}"/${P}-msoffice-magic.patch
-   epatch "${FILESDIR}"/${P}-stdin-rpm.patch
-   epatch "${FILESDIR}"/${P}-tests-fatal.patch
-   epatch "${FILESDIR}"/${P}-stdin-test.patch
-   epatch "${FILESDIR}"/${P}-compress-1.patch
-   epatch "${FILESDIR}"/${P}-compress-2.patch
+   epatch "${PATCHES[@]}"
[[ ${PV} == "" ]] && eautoreconf
elibtoolize
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/, sys-apps/file/files/

2016-04-21 Thread Mike Frysinger
commit: c540f9ea27b6c6e14481b3364d6193862a3377b1
Author: Mike Frysinger  gentoo  org>
AuthorDate: Thu Apr 21 20:29:20 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Thu Apr 21 20:29:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c540f9ea

sys-apps/file: add a bunch of upstream fixes

 .../file/{file-5.26.ebuild => file-5.26-r1.ebuild} |  11 +-
 sys-apps/file/file-.ebuild |  10 +-
 sys-apps/file/files/file-5.26-compress-1.patch |  53 +
 sys-apps/file/files/file-5.26-compress-2.patch |  73 
 sys-apps/file/files/file-5.26-header-define.patch  |  26 
 sys-apps/file/files/file-5.26-msoffice-magic.patch |  45 +++
 sys-apps/file/files/file-5.26-nes-magic.patch  |  27 +
 sys-apps/file/files/file-5.26-php-magic.patch  |  28 +
 sys-apps/file/files/file-5.26-stdin-rpm.patch  |  27 +
 sys-apps/file/files/file-5.26-stdin-test.patch | 132 +
 sys-apps/file/files/file-5.26-tests-fatal.patch|  27 +
 11 files changed, 452 insertions(+), 7 deletions(-)

diff --git a/sys-apps/file/file-5.26.ebuild b/sys-apps/file/file-5.26-r1.ebuild
similarity index 86%
rename from sys-apps/file/file-5.26.ebuild
rename to sys-apps/file/file-5.26-r1.ebuild
index 594df4a..ff3216a 100644
--- a/sys-apps/file/file-5.26.ebuild
+++ b/sys-apps/file/file-5.26-r1.ebuild
@@ -1,8 +1,8 @@
 # Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
 EAPI="5"
+
 PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
 DISTUTILS_OPTIONAL=1
 
@@ -30,6 +30,15 @@ RDEPEND="${DEPEND}
python? ( !dev-python/python-magic )"
 
 src_prepare() {
+   epatch "${FILESDIR}"/${P}-header-define.patch
+   epatch "${FILESDIR}"/${P}-nes-magic.patch
+   epatch "${FILESDIR}"/${P}-php-magic.patch
+   epatch "${FILESDIR}"/${P}-msoffice-magic.patch
+   epatch "${FILESDIR}"/${P}-stdin-rpm.patch
+   epatch "${FILESDIR}"/${P}-tests-fatal.patch
+   epatch "${FILESDIR}"/${P}-stdin-test.patch
+   epatch "${FILESDIR}"/${P}-compress-1.patch
+   epatch "${FILESDIR}"/${P}-compress-2.patch
[[ ${PV} == "" ]] && eautoreconf
elibtoolize
 

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index 88b9d2e..5aa9298 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
 EAPI="5"
+
 PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
 DISTUTILS_OPTIONAL=1
 
@@ -25,9 +25,7 @@ SLOT="0"
 IUSE="python static-libs zlib"
 
 DEPEND="python? ( ${PYTHON_DEPS} )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
-   abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r21
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}
python? ( !dev-python/python-magic )"
 
@@ -80,7 +78,7 @@ multilib_src_compile() {
 }
 
 src_compile() {
-   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
emake -C "${WORKDIR}"/build/src file
PATH="${WORKDIR}/build/src:${PATH}"
fi

diff --git a/sys-apps/file/files/file-5.26-compress-1.patch 
b/sys-apps/file/files/file-5.26-compress-1.patch
new file mode 100644
index 000..b10bfd2
--- /dev/null
+++ b/sys-apps/file/files/file-5.26-compress-1.patch
@@ -0,0 +1,53 @@
+From 52ae939467583ec499f6c62cdb406e8f982c0310 Mon Sep 17 00:00:00 2001
+From: Christos Zoulas 
+Date: Tue, 19 Apr 2016 13:39:19 +
+Subject: [PATCH] Fix compression code (Werner Fink)
+
+---
+ src/compress.c | 19 +++
+ 1 file changed, 11 insertions(+), 8 deletions(-)
+
+diff --git a/src/compress.c b/src/compress.c
+index f322445..0ebc837 100644
+--- a/src/compress.c
 b/src/compress.c
+@@ -231,9 +231,9 @@ file_zmagic(struct magic_set *ms, int fd, const char *name,
+   goto error;
+   DPRINTF("rv = %d\n", rv);
+   if ((ms->flags & MAGIC_COMPRESS_TRANSP) != 0)
+-  goto out;
++  break;
+   if (mime != MAGIC_MIME && mime != 0)
+-  goto out;
++  break;
+   if ((file_printf(ms,
+   mime ? " compressed-encoding=" : " (")) == -1)
+   goto error;
+@@ -250,16 +250,19 @@ file_zmagic(struct magic_set *ms, int fd, const char 
*name,
+   }
+   if (!mime && file_printf(ms, ")") == -1)
+

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-04-17 Thread Lars Wendler
commit: d9c4c032da482c3f36178124984efe8106677bcb
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Apr 17 17:38:19 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Apr 17 17:39:18 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c4c032

sys-apps/file: Bump to version 5.26

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/file/Manifest   |  1 +
 sys-apps/file/{file-.ebuild => file-5.26.ebuild} | 10 --
 sys-apps/file/file-.ebuild   |  2 +-
 3 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 7f31e74..7a10ce1 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -2,3 +2,4 @@ DIST file-5.22.tar.gz 732556 SHA256 
c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38
 DIST file-5.23.tar.gz 737618 SHA256 
2c8ab3ff143e2cdfb5ecee381752f80a79e0b4cfe9ca4cc6e1c3e5ec15e6157c SHA512 
30c4177819bc453854da644122ef5c1b7a9cba9b5ff6ee8e02eb889064203d75ce59cf3b08a41653e72f5567d442062fd65bb08c1670d294d36f10004ab28d5f
 WHIRLPOOL 
a222f85317e99929affb5daa3baf4090eadce92fb1f390ee26ccfbfa289309f602075ac0b45205417126979229188b27be553595b03180fb34989381d0b4bddc
 DIST file-5.24.tar.gz 737911 SHA256 
802cb3de2e49e88ef97cdcb52cd507a0f25458112752e398445cea102bc750ce SHA512 
9b804bbba1a77e183dbd68d4e2380d1d7e8a4dbdc6992adabab0e6fee4689f3ea8d262e5645224f4c97d7aaf988fe55c2a143c776111d9107e519692b81e6e8d
 WHIRLPOOL 
cd9efe3b4ae6a2276f431d4d22f959ab26511515d530ee7a698b547d30d89ee10854f1e7f758be068e06c7d40bc27b04ec6e92640faf1a0eb4be17344b713df5
 DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
+DIST file-5.26.tar.gz 773061 SHA256 
2ef32b4ec936b0ff7b59a021dce56086a716663b6df1138c7ea597d396bf50cf SHA512 
e3251dde54f200b6bcade5db97fda25e73efcb2629ff5c464601c82190e12290b89eb942d820d43aa67ef37be3c0f2db00e7e5c303c083e4a8d1c49499b907dd
 WHIRLPOOL 
f8922b8cbfe153347f793e34ba7be1c3e36e55800e22fcb675f971bcc2094781a0784d887ece32760e2586fe6c459f56ce605610225f6746dacd70a922ac9e10

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-5.26.ebuild
similarity index 87%
copy from sys-apps/file/file-.ebuild
copy to sys-apps/file/file-5.26.ebuild
index e158399..594df4a 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-5.26.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
 DISTUTILS_OPTIONAL=1
 
 inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
@@ -25,9 +25,7 @@ SLOT="0"
 IUSE="python static-libs zlib"
 
 DEPEND="python? ( ${PYTHON_DEPS} )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
-   abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r21
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
 RDEPEND="${DEPEND}
python? ( !dev-python/python-magic )"
 
@@ -80,7 +78,7 @@ multilib_src_compile() {
 }
 
 src_compile() {
-   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
emake -C "${WORKDIR}"/build/src file
PATH="${WORKDIR}/build/src:${PATH}"
fi

diff --git a/sys-apps/file/file-.ebuild b/sys-apps/file/file-.ebuild
index e158399..88b9d2e 100644
--- a/sys-apps/file/file-.ebuild
+++ b/sys-apps/file/file-.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
 DISTUTILS_OPTIONAL=1
 
 inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal



[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2016-04-17 Thread Lars Wendler
commit: a0a4310b9510b4d2e5d2a70404391ab563b4a758
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Apr 17 17:38:59 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Apr 17 17:39:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a4310b

sys-apps/file: Removed old.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 sys-apps/file/Manifest|   2 -
 sys-apps/file/file-5.22-r1.ebuild | 105 --
 sys-apps/file/file-5.23.ebuild| 105 --
 sys-apps/file/file-5.24.ebuild| 105 --
 4 files changed, 317 deletions(-)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 7a10ce1..ec8f620 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,5 +1,3 @@
 DIST file-5.22.tar.gz 732556 SHA256 
c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38c143e214bfc12109fc0b SHA512 
e9f1648c3b490bac642a2a9e01d31a8bd49c3e2a1feea1b25869aa1d5e37aa99bbf3fdc5d301618a8b97aec046f10e400a57f8a1d0dd61d3583830aaf3fcbda8
 WHIRLPOOL 
de9ce9305fd824d85128617e196fe6b02ea470b63eb2a35d31e857f7cf91e09f85166aaa72695aaf4a7516413b3a146db85588e7da65f32b131a477b3dece176
-DIST file-5.23.tar.gz 737618 SHA256 
2c8ab3ff143e2cdfb5ecee381752f80a79e0b4cfe9ca4cc6e1c3e5ec15e6157c SHA512 
30c4177819bc453854da644122ef5c1b7a9cba9b5ff6ee8e02eb889064203d75ce59cf3b08a41653e72f5567d442062fd65bb08c1670d294d36f10004ab28d5f
 WHIRLPOOL 
a222f85317e99929affb5daa3baf4090eadce92fb1f390ee26ccfbfa289309f602075ac0b45205417126979229188b27be553595b03180fb34989381d0b4bddc
-DIST file-5.24.tar.gz 737911 SHA256 
802cb3de2e49e88ef97cdcb52cd507a0f25458112752e398445cea102bc750ce SHA512 
9b804bbba1a77e183dbd68d4e2380d1d7e8a4dbdc6992adabab0e6fee4689f3ea8d262e5645224f4c97d7aaf988fe55c2a143c776111d9107e519692b81e6e8d
 WHIRLPOOL 
cd9efe3b4ae6a2276f431d4d22f959ab26511515d530ee7a698b547d30d89ee10854f1e7f758be068e06c7d40bc27b04ec6e92640faf1a0eb4be17344b713df5
 DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
 DIST file-5.26.tar.gz 773061 SHA256 
2ef32b4ec936b0ff7b59a021dce56086a716663b6df1138c7ea597d396bf50cf SHA512 
e3251dde54f200b6bcade5db97fda25e73efcb2629ff5c464601c82190e12290b89eb942d820d43aa67ef37be3c0f2db00e7e5c303c083e4a8d1c49499b907dd
 WHIRLPOOL 
f8922b8cbfe153347f793e34ba7be1c3e36e55800e22fcb675f971bcc2094781a0784d887ece32760e2586fe6c459f56ce605610225f6746dacd70a922ac9e10

diff --git a/sys-apps/file/file-5.22-r1.ebuild 
b/sys-apps/file/file-5.22-r1.ebuild
deleted file mode 100644
index e158399..000
--- a/sys-apps/file/file-5.22-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
-DISTUTILS_OPTIONAL=1
-
-inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
-
-if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="git://github.com/glensc/file.git"
-   inherit autotools git-r3
-else
-   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
-   ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-fi
-
-DESCRIPTION="identify a file's format by scanning binary data for patterns"
-HOMEPAGE="http://www.darwinsys.com/file/;
-
-LICENSE="BSD-2"
-SLOT="0"
-IUSE="python static-libs zlib"
-
-DEPEND="python? ( ${PYTHON_DEPS} )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
-   abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r21
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
-RDEPEND="${DEPEND}
-   python? ( !dev-python/python-magic )"
-
-src_prepare() {
-   [[ ${PV} == "" ]] && eautoreconf
-   elibtoolize
-
-   # don't let python README kill main README #60043
-   mv python/README{,.python}
-}
-
-multilib_src_configure() {
-   ECONF_SOURCE=${S} \
-   ac_cv_header_zlib_h=$(usex zlib) \
-   ac_cv_lib_z_gzopen=$(usex zlib)
-   econf \
-   $(use_enable static-libs static)
-}
-
-src_configure() {
-   # when cross-compiling, we need to build up our own file
-   # because people often don't keep matching host/target
-   # file versions #362941
-   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
-   mkdir -p "${WORKDIR}"/build
-   cd "${WORKDIR}"/build
-   tc-export_build_env BUILD_C{C,XX}
-   ECONF_SOURCE=${S} \
-   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/file/

2015-09-16 Thread Mike Frysinger
commit: 32e8cab297e7a465ac789242e42046e4e65e83b2
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Sep 16 14:46:39 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Sep 16 14:49:10 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32e8cab2

sys-apps/file: version bump to 5.25

 sys-apps/file/Manifest |   1 +
 sys-apps/file/file-5.25.ebuild | 103 +
 2 files changed, 104 insertions(+)

diff --git a/sys-apps/file/Manifest b/sys-apps/file/Manifest
index 6355ea5..7f31e74 100644
--- a/sys-apps/file/Manifest
+++ b/sys-apps/file/Manifest
@@ -1,3 +1,4 @@
 DIST file-5.22.tar.gz 732556 SHA256 
c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38c143e214bfc12109fc0b SHA512 
e9f1648c3b490bac642a2a9e01d31a8bd49c3e2a1feea1b25869aa1d5e37aa99bbf3fdc5d301618a8b97aec046f10e400a57f8a1d0dd61d3583830aaf3fcbda8
 WHIRLPOOL 
de9ce9305fd824d85128617e196fe6b02ea470b63eb2a35d31e857f7cf91e09f85166aaa72695aaf4a7516413b3a146db85588e7da65f32b131a477b3dece176
 DIST file-5.23.tar.gz 737618 SHA256 
2c8ab3ff143e2cdfb5ecee381752f80a79e0b4cfe9ca4cc6e1c3e5ec15e6157c SHA512 
30c4177819bc453854da644122ef5c1b7a9cba9b5ff6ee8e02eb889064203d75ce59cf3b08a41653e72f5567d442062fd65bb08c1670d294d36f10004ab28d5f
 WHIRLPOOL 
a222f85317e99929affb5daa3baf4090eadce92fb1f390ee26ccfbfa289309f602075ac0b45205417126979229188b27be553595b03180fb34989381d0b4bddc
 DIST file-5.24.tar.gz 737911 SHA256 
802cb3de2e49e88ef97cdcb52cd507a0f25458112752e398445cea102bc750ce SHA512 
9b804bbba1a77e183dbd68d4e2380d1d7e8a4dbdc6992adabab0e6fee4689f3ea8d262e5645224f4c97d7aaf988fe55c2a143c776111d9107e519692b81e6e8d
 WHIRLPOOL 
cd9efe3b4ae6a2276f431d4d22f959ab26511515d530ee7a698b547d30d89ee10854f1e7f758be068e06c7d40bc27b04ec6e92640faf1a0eb4be17344b713df5
+DIST file-5.25.tar.gz 739485 SHA256 
3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 
4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402
 WHIRLPOOL 
70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b

diff --git a/sys-apps/file/file-5.25.ebuild b/sys-apps/file/file-5.25.ebuild
new file mode 100644
index 000..f4aad48
--- /dev/null
+++ b/sys-apps/file/file-5.25.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+DISTUTILS_OPTIONAL=1
+
+inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="git://github.com/glensc/file.git"
+   inherit autotools git-r3
+else
+   SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
+   ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz;
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+fi
+
+DESCRIPTION="identify a file's format by scanning binary data for patterns"
+HOMEPAGE="http://www.darwinsys.com/file/;
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="python static-libs zlib"
+
+DEPEND="python? ( ${PYTHON_DEPS} )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}
+   python? ( !dev-python/python-magic )"
+
+src_prepare() {
+   [[ ${PV} == "" ]] && eautoreconf
+   elibtoolize
+
+   # don't let python README kill main README #60043
+   mv python/README{,.python}
+}
+
+multilib_src_configure() {
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=$(usex zlib) \
+   ac_cv_lib_z_gzopen=$(usex zlib)
+   econf \
+   $(use_enable static-libs static)
+}
+
+src_configure() {
+   # when cross-compiling, we need to build up our own file
+   # because people often don't keep matching host/target
+   # file versions #362941
+   if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
+   mkdir -p "${WORKDIR}"/build
+   cd "${WORKDIR}"/build
+   tc-export_build_env BUILD_C{C,XX}
+   ECONF_SOURCE=${S} \
+   ac_cv_header_zlib_h=no \
+   ac_cv_lib_z_gzopen=no \
+   CHOST=${CBUILD} \
+   CFLAGS=${BUILD_CFLAGS} \
+   CXXFLAGS=${BUILD_CXXFLAGS} \
+   CPPFLAGS=${BUILD_CPPFLAGS} \
+   LDFLAGS="${BUILD_LDFLAGS} -static" \
+   CC=${BUILD_CC} \
+   CXX=${BUILD_CXX} \
+   econf --disable-shared
+   fi
+
+   multilib-minimal_src_configure
+}
+
+multilib_src_compile() {
+   if multilib_is_native_abi ; then
+   emake
+   else
+   emake -C src libmagic.la
+   fi
+}
+
+src_compile() {
+   if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; 
then
+   emake -C "${WORKDIR}"/build/src file
+