[gentoo-commits] repo/gentoo:master commit in: app-arch/lziprecover/

2017-01-01 Thread Lars Wendler
commit: 6415ff44c1526d4fb3acf06db0071c2b6999619d
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  2 07:52:38 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  2 07:52:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6415ff44

app-arch/lziprecover: Bump to version 1.19_pre2. Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-arch/lziprecover/Manifest   | 2 +-
 .../{lziprecover-1.19_pre1.ebuild => lziprecover-1.19_pre2.ebuild}  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-arch/lziprecover/Manifest b/app-arch/lziprecover/Manifest
index 7612776..dc1ed7f 100644
--- a/app-arch/lziprecover/Manifest
+++ b/app-arch/lziprecover/Manifest
@@ -1,3 +1,3 @@
 DIST lziprecover-1.17.tar.gz 75941 SHA256 
a539b86d282a4bb154e01b04c3e09eaf7540b2c2be72d6b2110900c076bf3dbd SHA512 
409a3634ef15238f8c87e6e69ecf0cf83c48274cff6c54a901a4f80bdc3d475b6bf03215cfee762ac64ca41b3e8a805ab620ceaaa1bec7fc22ffafad049b5f0f
 WHIRLPOOL 
1b97ac140cdc190fdb3ceec5337576c775166bf4a30fbd8f956208095898411bd9ee7cbd99bd4e44aae11d67e9a6ad52ba60967d87c9eb057830950ede23aefa
 DIST lziprecover-1.18.tar.gz 86584 SHA256 
08c00b4009601b94aa32a96285b979f491bda2f112447764cfe36d489e45f3db SHA512 
60febb52b5dde8e1fa1e4917c48bb09112bcd3a43c5486a234fdcfa3db1d5049977df306ce66ec0821e812676886f5fa214a3479649cb977151b5cf82018b6b6
 WHIRLPOOL 
33a9199ee20e8849b4a2139fd968498527c99b2c40cecbd1475e97c82ff1c55911c2ff2dc3cc05c613bc8ce6391d2c68154571716e810d4c627b230b43aef882
-DIST lziprecover-1.19-pre1.tar.gz 94469 SHA256 
5776cf40430e804e3dfa7b5a4f74ba2331555485a7050c3382637bf928f0c436 SHA512 
50bef5962eb0f5bbc759fdef5b655e69dce77c0fbd445d35b09ba2319de9c42f9d50e8b44905914f48a38319e4e1e1e5e4de9ec7d59eba8d8ed4ed465e7896a1
 WHIRLPOOL 
3240542a9c7b07a2b4e29dcf07932bef54507f265346104ed987c8a3437cffa51cad51bae78f2d2618a30ab34f717e7ed15b5a89a18dcca4d42631801ace45b1
+DIST lziprecover-1.19-pre2.tar.gz 96033 SHA256 
3cae90607c79b1ead6fc340f0789a010cf6d5ae3800f46132830a3058182f7d1 SHA512 
c76f54f852f9e14d2e3f42f3ad4bdfe0e623b841c49fd5ddc0c665168525d411f2338072a3eacdd1d55ee9fafba47ce67e514973163b65c2184aa8745a51e8f0
 WHIRLPOOL 
1a5941cd30a7e2aa9f54a0fef724ac86c940f8c0e40cfe647b30e0f42dfaccad5b5bff88c6b096d9b9b000547c97e3294b807a2a89f7d81f86ca173a8227db94

diff --git a/app-arch/lziprecover/lziprecover-1.19_pre1.ebuild 
b/app-arch/lziprecover/lziprecover-1.19_pre2.ebuild
similarity index 94%
rename from app-arch/lziprecover/lziprecover-1.19_pre1.ebuild
rename to app-arch/lziprecover/lziprecover-1.19_pre2.ebuild
index 518d389..7b5892b 100644
--- a/app-arch/lziprecover/lziprecover-1.19_pre1.ebuild
+++ b/app-arch/lziprecover/lziprecover-1.19_pre2.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
 # $Id$
 



[gentoo-commits] repo/gentoo:master commit in: www-client/w3m/, www-client/w3m/files/

2017-01-01 Thread Yixun Lan
commit: e93356f2a082efc77909d75820aba87dacd20e0b
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jan  2 07:42:48 2017 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jan  2 07:44:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e93356f2

www-client/w3m: drop old vulnerables

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 www-client/w3m/Manifest|   1 -
 www-client/w3m/files/w3m-0.5.2-ambwidth.patch  | 425 
 www-client/w3m/files/w3m-0.5.2-form.patch  |  11 -
 www-client/w3m/files/w3m-0.5.2-gc72.patch  |  27 --
 www-client/w3m/files/w3m-0.5.3-button.patch| 439 -
 www-client/w3m/files/w3m-0.5.3-gdk-pixbuf.patch|  46 ---
 www-client/w3m/files/w3m-0.5.3-gettext.patch   |  12 -
 www-client/w3m/files/w3m-0.5.3-glibc214.patch  |  58 ---
 .../w3m/files/w3m-0.5.3-input-type-default.patch   |  13 -
 www-client/w3m/files/w3m-0.5.3-parallel-make.patch |  22 --
 www-client/w3m/files/w3m-0.5.3-remove-EGD.patch|  11 -
 www-client/w3m/files/w3m-0.5.3-tinfo.patch |  15 -
 www-client/w3m/files/w3m-0.5.3-url-schema.patch|  91 -
 www-client/w3m/files/w3m-CVE-2010-2074.patch   |  55 ---
 www-client/w3m/w3m-0.5.3-r5.ebuild | 130 --
 www-client/w3m/w3m-0.5.3-r8.ebuild | 128 --
 16 files changed, 1484 deletions(-)

diff --git a/www-client/w3m/Manifest b/www-client/w3m/Manifest
index 3545845..7b1be92 100644
--- a/www-client/w3m/Manifest
+++ b/www-client/w3m/Manifest
@@ -1,2 +1 @@
 DIST w3m-0.5.3.git20161120.tar.gz 2177917 SHA256 
62a5b066aaf5e23afec6decd962b966f52150f8072193cba98320676f060 SHA512 
81ecf9e5d9067a82efa5464e5f9396327a6333f9e414458a972b2b7bff138bd17c490b5258e34cb1e338c7a6c0dd6105a1bfd1e0d02edfadead79caa39106a5c
 WHIRLPOOL 
1b0dbad59433f1ceb0ed566ba05f79e7f75f2a164592dbc6425c775d0f2d111955c1259478d96087b405b6d0c62694d7af49f589149a7ec02b5482dd05eed9e1
-DIST w3m-0.5.3.tar.gz 2202328 SHA256 
e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3 SHA512 
43508c76d07b4d8f19c19f975c0b870aeb94abf0744b6128ee01c759d4e409a8b57bc866baeaf990f309ff73e9a7b02ca455d272b1dd0a93fafb8c72b1fe6d14
 WHIRLPOOL 
8f7dcaca362091227e29d7a6583ed796711904681a60e01d5838e45de003d60a9d88361d39b4d04056b67a14e51fe09e9d5b39fc8da18e83086484c974010cfe

diff --git a/www-client/w3m/files/w3m-0.5.2-ambwidth.patch 
b/www-client/w3m/files/w3m-0.5.2-ambwidth.patch
deleted file mode 100644
index 4039982..
--- a/www-client/w3m/files/w3m-0.5.2-ambwidth.patch
+++ /dev/null
@@ -1,425 +0,0 @@
-diff -Naur w3m-0.5.2.orig/libwc/Makefile.in w3m-0.5.2/libwc/Makefile.in
 w3m-0.5.2.orig/libwc/Makefile.in   2004-05-03 01:44:08.0 +0900
-+++ w3m-0.5.2/libwc/Makefile.in2007-09-27 17:34:58.0 +0900
-@@ -154,7 +154,7 @@
-   map/hkscs_ucs_p2.map map/gb12345_ucs.map map/johab_ucs.map \
-   map/sjis_ext_ucs.map map/gbk_ucs.map map/uhc_ucs.map map/ucs_wide.map \
-   map/ucs_combining.map map/ucs_precompose.map map/ucs_hangul.map \
--  map/ucs_fullwidth.map
-+  map/ucs_fullwidth.map map/ucs_ambwidth.map
- uhc.o: wc.h wc_types.h ces.h ccs.h iso2022.h priv.h uhc.h wtf.h ucs.h
- utf7.o: wc.h wc_types.h ces.h ccs.h iso2022.h priv.h ucs.h utf7.h wtf.h
- utf8.o: wc.h wc_types.h ces.h ccs.h iso2022.h priv.h ucs.h utf8.h wtf.h
-diff -Naur w3m-0.5.2.orig/libwc/map/ucs_ambwidth.map 
w3m-0.5.2/libwc/map/ucs_ambwidth.map
 w3m-0.5.2.orig/libwc/map/ucs_ambwidth.map  1970-01-01 09:00:00.0 
+0900
-+++ w3m-0.5.2/libwc/map/ucs_ambwidth.map   2007-09-27 17:34:58.0 
+0900
-@@ -0,0 +1,167 @@
-+/*
-+ * Based on Markus Kuhn's wcwidth.c: 2003-05-20 (Unicode 4.0)
-+ * Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
-+ *
-+ * { 0xF, 0xD } and { 0x10, 0x10FFFD } is not contained in this
-+ * map because wc_map_range_search takes wc_uint16 argument.
-+ */
-+
-+#define N_ucs_ambwidth_map 154
-+
-+static wc_map ucs_ambwidth_map[ N_ucs_ambwidth_map ] = {
-+  { 0x00A1, 0x00A1 },
-+  { 0x00A4, 0x00A4 },
-+  { 0x00A7, 0x00A8 },
-+  { 0x00AA, 0x00AA },
-+  { 0x00AE, 0x00AE },
-+  { 0x00B0, 0x00B4 },
-+  { 0x00B6, 0x00BA },
-+  { 0x00BC, 0x00BF },
-+  { 0x00C6, 0x00C6 },
-+  { 0x00D0, 0x00D0 },
-+  { 0x00D7, 0x00D8 },
-+  { 0x00DE, 0x00E1 },
-+  { 0x00E6, 0x00E6 },
-+  { 0x00E8, 0x00EA },
-+  { 0x00EC, 0x00ED },
-+  { 0x00F0, 0x00F0 },
-+  { 0x00F2, 0x00F3 },
-+  { 0x00F7, 0x00FA },
-+  { 0x00FC, 0x00FC },
-+  { 0x00FE, 0x00FE },
-+  { 0x0101, 0x0101 },
-+  { 0x0111, 0x0111 },
-+  { 0x0113, 0x0113 },
-+  { 0x011B, 0x011B },
-+  { 0x0126, 0x0127 },
-+  { 0x012B, 0x012B },
-+  { 0x0131, 0x0133 },
-+  { 0x0138, 0x0138 },
-+  { 0x013F, 0x0142 },
-+  { 0x0144, 0x0144 },
-+  { 0x0148, 0x014B },
-+  { 0x014D, 0x014D },
-+  { 0x0152, 0x0153 },
-+  { 0x0166, 0x0167 },
-+  { 0x016B, 0x016B },
-+  { 0x01CE, 0x01CE },
-+  { 0x01D0, 0x01D0 },
-+  { 0x01D2, 0x01D2 },
-+  { 0x01D4, 0x01D4 },
-+  { 

[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/qgis/

2017-01-01 Thread Amy Winston
commit: b240880559f28d3175eef3309713d64b467cb447
Author: Chris Mayo  gmail  com>
AuthorDate: Sun Jan  1 20:38:28 2017 +
Commit: Amy Winston  gentoo  org>
CommitDate: Mon Jan  2 07:31:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2408805

sci-geosciences/qgis: fix Python and Oracle dependencies and icons

Closes:#3299

Package-Manager: portage-2.3.3

 sci-geosciences/qgis/qgis-2.18.2-r2.ebuild | 181 +
 1 file changed, 181 insertions(+)

diff --git a/sci-geosciences/qgis/qgis-2.18.2-r2.ebuild 
b/sci-geosciences/qgis/qgis-2.18.2-r2.ebuild
new file mode 100644
index ..2dddf93
--- /dev/null
+++ b/sci-geosciences/qgis/qgis-2.18.2-r2.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+inherit eutils gnome2-utils cmake-utils python-single-r1
+
+DESCRIPTION="User friendly Geographic Information System"
+HOMEPAGE="http://www.qgis.org/;
+SRC_URI="
+   http://qgis.org/downloads/qgis-${PV}.tar.bz2
+   examples? ( http://download.osgeo.org/qgis/data/qgis_sample_data.tar.gz 
)"
+
+LICENSE="GPL-2+ GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples georeferencer grass mapserver oracle postgres python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
+   mapserver? ( python )"
+
+RDEPEND="
+   ${PYTHON_DEPS}
+   dev-libs/expat
+   sci-geosciences/gpsbabel
+   >=sci-libs/gdal-1.6.1:=[geos,oracle?,python?,${PYTHON_USEDEP}]
+   sci-libs/geos
+   sci-libs/libspatialindex:=
+   sci-libs/proj
+   dev-libs/qjson
+   dev-qt/designer:4
+   dev-qt/qtcore:4
+   dev-qt/qtgui:4
+   dev-qt/qtscript:4
+   dev-qt/qtsvg:4
+   dev-qt/qtsql:4
+   dev-qt/qtwebkit:4
+   x11-libs/qscintilla:=[qt4(-)]
+   || (
+   ( || ( =x11-libs/qwt-6.1.2:6[svg,qt4] ) >=x11-libs/qwtpolar-1 )
+   ( x11-libs/qwt:5[svg] =sci-geosciences/grass-7.0.0:= ) )
+   mapserver? ( dev-libs/fcgi )
+   oracle? ( dev-db/oracle-instantclient:= )
+   postgres? ( dev-db/postgresql:= )
+   python? (
+   dev-python/PyQt4[X,sql,svg,webkit,${PYTHON_USEDEP}]
+   =dev-db/spatialite-4.1.0
+   app-crypt/qca:2[qt4,ssl]
+"
+
+DEPEND="${RDEPEND}
+   sys-devel/bison
+   sys-devel/flex"
+
+DOCS=( BUGS ChangeLog NEWS )
+
+# Disabling test suite because upstream disallow running from install path
+RESTRICT="test"
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   cd src/plugins || die
+   use georeferencer || cmake_comment_add_subdirectory "georeferencer"
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DQGIS_MANUAL_SUBDIR=/share/man/
+   -DBUILD_SHARED_LIBS=ON
+   -DQGIS_LIB_SUBDIR=$(get_libdir)
+   -DQGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis
+   -DWITH_INTERNAL_DATEUTIL=OFF
+   -DWITH_INTERNAL_HTTPLIB2=OFF
+   -DWITH_INTERNAL_JINJA2=OFF
+   -DWITH_INTERNAL_MARKUPSAFE=OFF
+   -DWITH_INTERNAL_PYGMENTS=OFF
+   -DWITH_INTERNAL_PYTZ=OFF
+   -DWITH_INTERNAL_QWTPOLAR=OFF
+   -DWITH_INTERNAL_SIX=OFF
+   -DPEDANTIC=OFF
+   -DWITH_APIDOC=OFF
+   -DWITH_QSPATIALITE=ON
+   -DENABLE_TESTS=OFF
+   -DWITH_BINDINGS="$(usex python)"
+   -DWITH_GRASS7="$(usex grass)"
+   $(usex grass "-DGRASS_PREFIX=/usr/" "")
+   -DWITH_ORACLE="$(usex oracle)"
+   -DWITH_POSTGRESQL="$(usex postgres)"
+   -DWITH_PYSPATIALITE="$(usex python)"
+   -DWITH_SERVER="$(usex mapserver)"
+   )
+
+   if has_version '>=x11-libs/qwtpolar-1' &&  has_version 'x11-libs/qwt:5' 
; then
+   elog "Both >=x11-libs/qwtpolar-1 and x11-libs/qwt:5 installed. 
Force build with qwt6"
+   if has_version '>=x11-libs/qwt-6.1.2' ; then
+   mycmakeargs+=(
+   "-DQWT_INCLUDE_DIR=/usr/include/qwt6"
+   
"-DQWT_LIBRARY=/usr/$(get_libdir)/libqwt6-qt4.so"
+   )
+   else
+   mycmakeargs+=(
+   "-DQWT_INCLUDE_DIR=/usr/include/qwt6"
+   "-DQWT_LIBRARY=/usr/$(get_libdir)/libqwt6.so"
+   )
+   fi
+   fi
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   newicon -s 16 images/icons/qgis-icon-16x16.png qgis.png
+   newicon -s 512 images/icons/qgis-icon.png qgis.png
+   newicon -s scalable images/icons/qgis_icon.svg qgis.svg
+   make_desktop_entry qgis "QGIS" qgis
+
+   if use examples; then
+   insinto 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/pdf-reader/

2017-01-01 Thread Hans de Graaff
commit: a47bb6c9b7e303ee5b17a7a95a30ff6780c6382d
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jan  2 06:37:17 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jan  2 06:57:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a47bb6c9

dev-ruby/pdf-reader: add 1.4.1

Package-Manager: portage-2.3.0

 dev-ruby/pdf-reader/Manifest|  1 +
 dev-ruby/pdf-reader/pdf-reader-1.4.1.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/dev-ruby/pdf-reader/Manifest b/dev-ruby/pdf-reader/Manifest
index 4facb50..f21cfdf 100644
--- a/dev-ruby/pdf-reader/Manifest
+++ b/dev-ruby/pdf-reader/Manifest
@@ -1,2 +1,3 @@
 DIST pdf-reader-1.4.0.tar.gz 10237090 SHA256 
c23d5eec976c5d824d16f348ef49b87b0918cc2a2327aa7936605b92b8c181e9 SHA512 
e9b123058c5bf31c7ac264adf17da25cb643408cd0ac4f8da0b7949576e11b1ac4141df649c7ce45f3accf2ddfb6ab3edd35ce336e4588bb090bfbbfe1f42965
 WHIRLPOOL 
8d50fde908037c228cc40028cb10e040b4571446ebba07140e6f0b1515d6ff0d282c37c08071a86a256e8a3722a86c069d2e1db6bd35fb2c577c68fbfc2d41a9
+DIST pdf-reader-1.4.1.tar.gz 10236680 SHA256 
e1898c975e18b0a59abad36e0a4f2d28309cf5983e00989e4c843362edf047ae SHA512 
aaa53dafc2d58dc591f708941907ecf14b1ee73362a7bd6d34659103d51effa90888560733747ca1bfe3d217cb6834109e06b024f40a95214880ca42f54054e5
 WHIRLPOOL 
025c42faf57470626492284fc21be8f83b8902a903a04edb5d3fb9064e7a8ed4a328e8f5c6be165a1dd50c3f215eeb1972c1bf91295d78a0c13f78d4ced863f2
 DIST pdf-reader-git-1.3.3.tgz 9987686 SHA256 
1e5e468fe99911ec4472031e66ebe6a4bb1fc05a2156b646ce9dff43c0253815 SHA512 
5394767df24de30133e3b33a00421588f85fecd4006d2bbe622e905ef0d92947a2d11f6ea7bb8f61b43aebba9204b2c2512f97dc120d19fc87cd0a42011a3750
 WHIRLPOOL 
bd6f15fe6548728d884890cddfddb4abf0e35504528036703f582e3c405e7c4efcb71a7b4e846b67e7767bcaf34a9219ee9d1a7f45f84bf2cabd860eebf2934e

diff --git a/dev-ruby/pdf-reader/pdf-reader-1.4.1.ebuild 
b/dev-ruby/pdf-reader/pdf-reader-1.4.1.ebuild
new file mode 100644
index ..0325acb
--- /dev/null
+++ b/dev-ruby/pdf-reader/pdf-reader-1.4.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+GITHUB_USER=yob
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO"
+
+inherit ruby-fakegem
+
+DESCRIPTION="PDF parser conforming as much as possible to the PDF 
specification from Adobe"
+HOMEPAGE="https://github.com/yob/pdf-reader/;
+
+# We cannot use the gem distributions because they don't contain the
+# tests' data, we have to rely on the git tags.
+SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/afm-0.2.1
+   =dev-ruby/ascii85-1*
+   =dev-ruby/hashery-2*
+   dev-ruby/ttfunk:*
+   dev-ruby/ruby-rc4"
+
+all_ruby_prepare() {
+   # Remove bundler support
+   sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die
+}
+
+all_ruby_install() {
+   all_fakegem_install
+
+   docinto examples
+   dodoc examples/* || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/hoe/

2017-01-01 Thread Hans de Graaff
commit: ad5131be2d080bcb0e081f37673ca730ca5aac02
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jan  2 06:56:32 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jan  2 06:57:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad5131be

dev-ruby/hoe: add ruby24, fixing bug 603840

Package-Manager: portage-2.3.0

 dev-ruby/hoe/hoe-3.15.3-r1.ebuild | 50 +++
 1 file changed, 50 insertions(+)

diff --git a/dev-ruby/hoe/hoe-3.15.3-r1.ebuild 
b/dev-ruby/hoe/hoe-3.15.3-r1.ebuild
new file mode 100644
index ..69803a4
--- /dev/null
+++ b/dev-ruby/hoe/hoe-3.15.3-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.rdoc Manifest.txt README.rdoc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="template"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Hoe extends rake to provide full project automation"
+HOMEPAGE="https://www.zenspider.com/projects/hoe.html;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.9:5 )"
+
+ruby_add_rdepend ">=dev-ruby/rake-0.8.7 

[gentoo-commits] repo/gentoo:master commit in: dev-ruby/sprockets/

2017-01-01 Thread Hans de Graaff
commit: ead004df48b13ab5355ef78fc36657faa3b854dc
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jan  2 06:46:04 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jan  2 06:57:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ead004df

dev-ruby/sprockets: add 3.7.1

Package-Manager: portage-2.3.0

 dev-ruby/sprockets/Manifest   |  1 +
 dev-ruby/sprockets/sprockets-3.7.1.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-ruby/sprockets/Manifest b/dev-ruby/sprockets/Manifest
index 05fb0be..7dfbde9 100644
--- a/dev-ruby/sprockets/Manifest
+++ b/dev-ruby/sprockets/Manifest
@@ -5,3 +5,4 @@ DIST sprockets-3.4.1-git.tgz 298315 SHA256 
fb2dcf86378c45c8028fb9b483f2def9ae558
 DIST sprockets-3.5.2-git.tgz 302784 SHA256 
8ef5507db16113c9f839371544a8ed4e3911c99525df95cc55bf61413f432b3b SHA512 
8e599cf646baf53650ecafc65923d7e92c0d04cbf7207f64a0aaa4098d068ce4a1c252c5ce879188cff9d9af6f88ba50fa39d7af643b2668f23b1b8535a284c2
 WHIRLPOOL 
108da86d47be7b889ab74c5f75bd3ff592ff310e43f006d1a4362d5912bb044fa2dd5b29f86bec0ff4222c85093785fbf4a55f94c73b30ac4fe2fbe0862a1c40
 DIST sprockets-3.6.3-git.tgz 367032 SHA256 
40b51d0fb647bb4647e180b7aa21c6645344bc0dd59ff2c829340cc07c42c358 SHA512 
4e497e87e0a5e93baa142071bf200810b47ad26dd9f431dbcda8e332629d971e94d43da2ebd04331d7be7f6807a4c707bdd0cf33303aa689da8996be26adbcac
 WHIRLPOOL 
3f8d1193ef01233c73337202c0a6b9af1c5d1c870b7eaf0eb2b653dd54f0ae1feef72698a820746b2d349ffefa9ec4afe14995fe9498f10b22f4cd0a01bee4ab
 DIST sprockets-3.7.0-git.tgz 368648 SHA256 
58056528f8b078fc42210b9e021f2ec9e8bd72b594f7422bac441276a4a7cb0d SHA512 
ed9e2ee8515a69e56816701182502b09fcad25900a6f77696daa32e943d6ab0ec01cae9df2592373b00f2e28fbc63c7476793702a9d6857f38ee913781f6
 WHIRLPOOL 
31e776f3af7f83d54ec4a9458aa19064f47343e92e328da669bb0b72a2f3d66863ccdd33cbb5a0d22045e9affb91bb906270d663b6d66e5f53428d3cfd08977a
+DIST sprockets-3.7.1-git.tgz 368910 SHA256 
14f4012d8ba7a6566c071173d0683c831fff2d2e9e9018eaf3f1673dcb09081b SHA512 
b766070806d62ef10839c12c0e1ba31b3553d014fc45df27fe7dc678d6980b8da3080733b1bcc3d40b1ed9d41550e45da7a365d10fc5de0b1eb88d769169cc3e
 WHIRLPOOL 
1905031746a4728c9da845ad39ffc35e514f165d6ff2d49202f71a8ba849813d03cadcd303817d4548fc55e45dea8643c76b04678fc2de73581eb3543a7520e3

diff --git a/dev-ruby/sprockets/sprockets-3.7.1.ebuild 
b/dev-ruby/sprockets/sprockets-3.7.1.ebuild
new file mode 100644
index ..899f33c
--- /dev/null
+++ b/dev-ruby/sprockets/sprockets-3.7.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Ruby library for compiling and serving web assets"
+HOMEPAGE="https://github.com/rails/sprockets;
+SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> 
${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1)"
+KEYWORDS="~amd64 ~arm ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE=""
+
+ruby_add_rdepend "
+   dev-ruby/concurrent-ruby:1
+   >=dev-ruby/rack-1:* =dev-ruby/sass-3.1
+   dev-ruby/uglifier
+   )"
+
+all_ruby_prepare() {
+   # Avoid tests for template types that we currently don't package:
+   # eco and ejs.
+   sed -i -e '/eco templates/,/end/ s:^:#:' \
+   -e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || 
die
+   sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die
+   rm -f test/test_require.rb 
test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die
+   sed -i -e "/bundler/d" Rakefile || die
+}
+
+each_ruby_prepare() {
+   sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
+}
+
+each_ruby_test() {
+   # Make sure we have completely separate copies. Hardlinks won't work
+   # for this test suite.
+   cp -R test test-new || die
+   rm -rf test || die
+   mv test-new test || die
+
+   each_fakegem_test
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubytest-cli/

2017-01-01 Thread Hans de Graaff
commit: 943e8226c7b6bdb8c1f3be63efb319478a12efe2
Author: Hans de Graaff  gentoo  org>
AuthorDate: Mon Jan  2 06:41:35 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Mon Jan  2 06:57:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=943e8226

dev-ruby/rubytest-cli: add ruby23

Package-Manager: portage-2.3.0

 dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild 
b/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild
index 241cce1..e5a8a59 100644
--- a/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild
+++ b/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.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
 # $Id$
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 
 RUBY_FAKEGEM_TASK_TEST=""
 RUBY_FAKEGEM_RECIPE_DOC="yard"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libxml2/files/, dev-libs/libxml2/

2017-01-01 Thread Aaron Bauman
commit: 060503be258912e25b6da77ca79d450553ed0be3
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Jan  2 06:40:16 2017 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Jan  2 06:40:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=060503be

dev-libs/libxml2: security bump to -r1 wrt bugs 589816, 597112, 597114, 597116 
in coordination with leio

 .../files/libxml2-2.9.4-CVE-2016-4658.patch| 249 +
 .../files/libxml2-2.9.4-CVE-2016-5131.patch| 174 ++
 .../libxml2/files/libxml2-2.9.4-nullptrderef.patch |  50 +
 .../files/libxml2-2.9.4-nullptrderef2.patch|  57 +
 dev-libs/libxml2/libxml2-2.9.4-r1.ebuild   | 220 ++
 5 files changed, 750 insertions(+)

diff --git a/dev-libs/libxml2/files/libxml2-2.9.4-CVE-2016-4658.patch 
b/dev-libs/libxml2/files/libxml2-2.9.4-CVE-2016-4658.patch
new file mode 100644
index ..2ef22ce
--- /dev/null
+++ b/dev-libs/libxml2/files/libxml2-2.9.4-CVE-2016-4658.patch
@@ -0,0 +1,249 @@
+From c1d1f7121194036608bf555f08d3062a36fd344b Mon Sep 17 00:00:00 2001
+From: Nick Wellnhofer 
+Date: Tue, 28 Jun 2016 18:34:52 +0200
+Subject: Disallow namespace nodes in XPointer ranges
+
+Namespace nodes must be copied to avoid use-after-free errors.
+But they don't necessarily have a physical representation in a
+document, so simply disallow them in XPointer ranges.
+
+Found with afl-fuzz.
+
+Fixes CVE-2016-4658.
+---
+ xpointer.c | 149 +++--
+ 1 file changed, 56 insertions(+), 93 deletions(-)
+
+diff --git a/xpointer.c b/xpointer.c
+index a7b03fb..694d120 100644
+--- a/xpointer.c
 b/xpointer.c
+@@ -320,6 +320,45 @@ xmlXPtrRangesEqual(xmlXPathObjectPtr range1, 
xmlXPathObjectPtr range2) {
+ }
+ 
+ /**
++ * xmlXPtrNewRangeInternal:
++ * @start:  the starting node
++ * @startindex:  the start index
++ * @end:  the ending point
++ * @endindex:  the ending index
++ *
++ * Internal function to create a new xmlXPathObjectPtr of type range
++ *
++ * Returns the newly created object.
++ */
++static xmlXPathObjectPtr
++xmlXPtrNewRangeInternal(xmlNodePtr start, int startindex,
++xmlNodePtr end, int endindex) {
++xmlXPathObjectPtr ret;
++
++/*
++ * Namespace nodes must be copied (see xmlXPathNodeSetDupNs).
++ * Disallow them for now.
++ */
++if ((start != NULL) && (start->type == XML_NAMESPACE_DECL))
++  return(NULL);
++if ((end != NULL) && (end->type == XML_NAMESPACE_DECL))
++  return(NULL);
++
++ret = (xmlXPathObjectPtr) xmlMalloc(sizeof(xmlXPathObject));
++if (ret == NULL) {
++xmlXPtrErrMemory("allocating range");
++  return(NULL);
++}
++memset(ret, 0, sizeof(xmlXPathObject));
++ret->type = XPATH_RANGE;
++ret->user = start;
++ret->index = startindex;
++ret->user2 = end;
++ret->index2 = endindex;
++return(ret);
++}
++
++/**
+  * xmlXPtrNewRange:
+  * @start:  the starting node
+  * @startindex:  the start index
+@@ -344,17 +383,7 @@ xmlXPtrNewRange(xmlNodePtr start, int startindex,
+ if (endindex < 0)
+   return(NULL);
+ 
+-ret = (xmlXPathObjectPtr) xmlMalloc(sizeof(xmlXPathObject));
+-if (ret == NULL) {
+-xmlXPtrErrMemory("allocating range");
+-  return(NULL);
+-}
+-memset(ret, 0 , (size_t) sizeof(xmlXPathObject));
+-ret->type = XPATH_RANGE;
+-ret->user = start;
+-ret->index = startindex;
+-ret->user2 = end;
+-ret->index2 = endindex;
++ret = xmlXPtrNewRangeInternal(start, startindex, end, endindex);
+ xmlXPtrRangeCheckOrder(ret);
+ return(ret);
+ }
+@@ -381,17 +410,8 @@ xmlXPtrNewRangePoints(xmlXPathObjectPtr start, 
xmlXPathObjectPtr end) {
+ if (end->type != XPATH_POINT)
+   return(NULL);
+ 
+-ret = (xmlXPathObjectPtr) xmlMalloc(sizeof(xmlXPathObject));
+-if (ret == NULL) {
+-xmlXPtrErrMemory("allocating range");
+-  return(NULL);
+-}
+-memset(ret, 0 , (size_t) sizeof(xmlXPathObject));
+-ret->type = XPATH_RANGE;
+-ret->user = start->user;
+-ret->index = start->index;
+-ret->user2 = end->user;
+-ret->index2 = end->index;
++ret = xmlXPtrNewRangeInternal(start->user, start->index, end->user,
++  end->index);
+ xmlXPtrRangeCheckOrder(ret);
+ return(ret);
+ }
+@@ -416,17 +436,7 @@ xmlXPtrNewRangePointNode(xmlXPathObjectPtr start, 
xmlNodePtr end) {
+ if (start->type != XPATH_POINT)
+   return(NULL);
+ 
+-ret = (xmlXPathObjectPtr) xmlMalloc(sizeof(xmlXPathObject));
+-if (ret == NULL) {
+-xmlXPtrErrMemory("allocating range");
+-  return(NULL);
+-}
+-memset(ret, 0 , (size_t) sizeof(xmlXPathObject));
+-ret->type = XPATH_RANGE;
+-ret->user = start->user;
+-ret->index = start->index;
+-ret->user2 = end;
+-ret->index2 = -1;
++ret = 

[gentoo-commits] proj/gentoostats:master commit in: overlay/app-portage/gentoostats/

2017-01-01 Thread Göktürk Yüksek
commit: b4dd1dcd2fecec08efef7e56660b92a791a0d105
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Mon Jan  2 06:34:17 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Jan  2 06:34:17 2017 +
URL:https://gitweb.gentoo.org/proj/gentoostats.git/commit/?id=b4dd1dcd

app-portage/gentoostats: remove obsolete comment

 overlay/app-portage/gentoostats/gentoostats-.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/overlay/app-portage/gentoostats/gentoostats-.ebuild 
b/overlay/app-portage/gentoostats/gentoostats-.ebuild
index 1cd8092..148785f 100644
--- a/overlay/app-portage/gentoostats/gentoostats-.ebuild
+++ b/overlay/app-portage/gentoostats/gentoostats-.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
 # $Id$
 
@@ -40,7 +40,6 @@ python_install_all() {
insinto /etc/gentoostats
doins client/payload.cfg
 
-   # this doesn't work, why ?
fowners root:portage /etc/gentoostats/payload.cfg
fperms 0640 /etc/gentoostats/payload.cfg
 



[gentoo-commits] proj/gentoostats:master commit in: overlay/app-portage/gentoostats/

2017-01-01 Thread Göktürk Yüksek
commit: ff736990937e18830fb0707d59b3e64ae4211d05
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Mon Jan  2 06:31:14 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Jan  2 06:31:14 2017 +
URL:https://gitweb.gentoo.org/proj/gentoostats.git/commit/?id=ff736990

app-portage/gentoostats: install manpages for gentoostats-{cli,send}

 overlay/app-portage/gentoostats/gentoostats-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/overlay/app-portage/gentoostats/gentoostats-.ebuild 
b/overlay/app-portage/gentoostats/gentoostats-.ebuild
index c5a6a36..1cd8092 100644
--- a/overlay/app-portage/gentoostats/gentoostats-.ebuild
+++ b/overlay/app-portage/gentoostats/gentoostats-.ebuild
@@ -44,6 +44,7 @@ python_install_all() {
fowners root:portage /etc/gentoostats/payload.cfg
fperms 0640 /etc/gentoostats/payload.cfg
 
+   doman man/gentoostats-cli.1 man/gentoostats-send.1
dodoc docs/client.txt
 
distutils-r1_python_install_all



[gentoo-commits] proj/gentoostats:master commit in: man/

2017-01-01 Thread Göktürk Yüksek
commit: b21f6b1fe773a0d5b1946163eddeeacfe7ff4314
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Mon Jan  2 06:20:18 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Jan  2 06:20:18 2017 +
URL:https://gitweb.gentoo.org/proj/gentoostats.git/commit/?id=b21f6b1f

man: add the man page for gentoostats-send

 man/gentoostats-send.1 | 49 +
 1 file changed, 49 insertions(+)

diff --git a/man/gentoostats-send.1 b/man/gentoostats-send.1
new file mode 100644
index 000..70e0a31
--- /dev/null
+++ b/man/gentoostats-send.1
@@ -0,0 +1,49 @@
+.TH "GENTOOSTATS-SEND" "1" "Jan 2017" "" "Gentoostats"
+.SH "NAME"
+gentoostats\-send \- Command\-line interface to submit host statistics
+to a remote gentoostats server
+.SH "SYNOPSIS"
+.TP
+\fBgentoostats\-send\fR [\fIoptions\fR]
+.SH "DESCRIPTION"
+gentoostats\-send is a utility for submitting various host and package
+statistics to a gentoostats server.
+.SH "OPTIONS"
+.TP
+.B \-s, \-\-server
+Host name of the remote gentoostats server
+.TP
+.B \-p, \-\-port
+Port number of the remote gentoostats server
+.TP
+.B \-u, \-\-url
+URL of the remote gentoostats server
+.TP
+.B \-a, \-\-auth
+Path to the authentication file
+.TP
+.B \-c, \-\-config
+Path to the configuration file
+.TP
+.B \-v, \-\-verbose
+Output the statistics being submitted on the command line in the JSON
+format
+.TP
+.B \-h, \-\-help
+Show the help message
+.SH "FILES"
+.TP
+.B /etc/gentoostats/auth.cfg
+Contains the host-specific randomly generated UUID and password to be
+transmitted to the remote gentoostats server for authentication purposes.
+.TP
+.B /etc/gentoostats/payload.cfg
+Determines what kind of information will be included in the statistics
+that is sent to a remote gentoostats server. Users should edit this
+file to suit their privacy needs.
+.SH "BUGS"
+Please report bugs via https://bugs.gentoo.org/
+.SH "AUTHOR"
+Göktürk Yüksek 
+.SH "SEE ALSO"
+\fBgentoostats\-cli\fR(1)



[gentoo-commits] proj/gentoostats:master commit in: man/

2017-01-01 Thread Göktürk Yüksek
commit: 3472565d8829029e827a710d46c2dd3caa4e74c9
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Mon Jan  2 06:20:40 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Jan  2 06:20:40 2017 +
URL:https://gitweb.gentoo.org/proj/gentoostats.git/commit/?id=3472565d

man: add the manpage for gentoostats-cli

 man/gentoostats-cli.1 | 146 ++
 1 file changed, 146 insertions(+)

diff --git a/man/gentoostats-cli.1 b/man/gentoostats-cli.1
new file mode 100644
index 000..5f085a8
--- /dev/null
+++ b/man/gentoostats-cli.1
@@ -0,0 +1,146 @@
+.TH "GENTOOSTATS-CLI" "1" "Jan 2017" "" "Gentoostats"
+.SH "NAME"
+gentoostats\-cli \- Command\-line interface to request gentoostats statistics
+.SH "SYNOPSIS"
+.TP
+\fBgentoostats\-cli\fR [\fIoptions\fR] \fBlist\fR [\fIlist-options\fR] \
+[\fBarch\fR | \fBpackage\fR | \fBlang\fR | \fBuse\fR | \fBmirror\fR | \
+\fBfeature\fR | \fBrepo\fR]
+.TP
+\fBgentoostats\-cli\fR [\fIoptions\fR] \fBsearch\fR [\fIsearch-options\fR]
+.SH "DESCRIPTION"
+gentoostats\-cli is a command line utility for requesting various
+statistics from a gentoostats server. The results are presented in the
+JSON format.
+.SH "DEFAULT OPTIONS"
+.TP
+.B \-s, \-\-server
+Host name of the remote gentoostats server
+.TP
+.B \-p, \-\-port
+Port number of the remote gentoostats server
+.TP
+.B \-u, \-\-url
+URL of the remote gentoostats server
+.TP
+.B \-h, \-\-help
+Show the help information
+.SH "COMMANDS"
+.TP
+.B list
+The list command allows the following statistics to be queried:
+.RS
+.TP
+.B arch
+The host count statistics of ARCH keywords
+.TP
+.B package
+The statistics for the total number of package versions, packages,
+categories, hosts, and the most popular categories
+.TP
+.B lang
+The host count statistics for the LANG environment variable
+.TP
+.B use
+The total number of USE flags
+.TP
+.B mirror
+The host count statistics for Gentoo mirrors
+.TP
+.B feature
+The host count statistics for package manager features
+.TP
+.B repo
+The host count statistics for package repositories
+.RE
+.TP
+.B search
+The search command returns the host count statistics for package
+versions along with their repository information. The results can be
+further filtered using combinations of the search command options.
+.SH "OPTIONS for list command"
+.TP
+.B \-h, \-\-help
+Show the help information for the \fBlist\fR command
+.SH "OPTIONS for search command"
+.TP
+.B \-c, \-\-category
+Filter the results by category
+.TP
+.B \-p, \-\-package
+Filter the results by package name
+.TP
+.B \-v, \-\-version
+Filter the results by package version
+.TP
+.B \-, \-\-repo
+Filter the results by package repository
+.TP
+.B \-\-min_hosts
+Filter the results by the minimum number of hosts per package version
+.TP
+.B \-\-max_hosts
+Filter the results by the maximum number of hosts per package version
+.TP
+.B \-h, \-\-help
+Show the help message for the \fBsearch\fR command
+.SH "EXAMPLES"
+.TP
+The following are examples for the \fBlist\fR command:
+.RS
+.PP
+.B $ gentoostats\-cli list arch
+.nf
+Arch
+{'amd64': {'HOSTS': 4}, 'x86': {'HOSTS': 1}}
+.fi
+.PP
+.B $ gentoostats\-cli list package
+.nf
+Categories
+ {'CPV_COUNT': 2244,
+  'CP_COUNT': 1904,
+  'C_COUNT': 100,
+  'HOST_COUNT': 5,
+  'TOP_C': [{'CAT': 'app-admin', 'HOST_COUNT': 5},
+{'CAT': 'app-arch', 'HOST_COUNT': 5},
+{'CAT': 'app-crypt', 'HOST_COUNT': 5},
+{'CAT': 'app-editors', 'HOST_COUNT': 5},
+{'CAT': 'app-emacs', 'HOST_COUNT': 5}]}
+.fi
+.RE
+.TP
+The following are examples for the \fBsearch\fR command:
+.RS
+.PP
+.B $ gentoostats\-cli search \-\-package gentoostats
+.nf
+Search results
+[{'CAT': 'app-portage',
+  'HOSTS': 5,
+  'PKG': 'gentoostats',
+  'REPO': 'gentoo',
+  'VER': ''},
+{'CAT': 'www-apps',
+ 'HOSTS': 2,
+ 'PKG': 'gentoostats',
+ 'REPO': 'gentoo',
+ 'VER': ''}]
+.fi
+.PP
+.B $ gentoostats\-cli search \-\-c sys-apps \-\-p portage \-\-v 2.3.0 \-\-r 
gentoo \-\-min_hosts 4
+.nf
+Search results
+[{'CAT': 'sys-apps',
+  'HOSTS': 5,
+  'PKG': 'portage',
+  'REPO': 'gentoo',
+  'VER': '2.3.0'}]
+.fi
+.RE
+.SH "BUGS"
+Please report bugs via https://bugs.gentoo.org/
+.SH "AUTHOR"
+Göktürk Yüksek 
+.SH "SEE ALSO"
+\fBgentoostats\-send\fR(1)



[gentoo-commits] proj/gentoostats:master commit in: client/, client/gentoostats/

2017-01-01 Thread Göktürk Yüksek
commit: 4af894ac1b6b3290ef2aeed6cbfa9a90de495428
Author: Göktürk Yüksek  gentoo  org>
AuthorDate: Mon Jan  2 04:54:10 2017 +
Commit: Göktürk Yüksek  gentoo  org>
CommitDate: Mon Jan  2 04:54:10 2017 +
URL:https://gitweb.gentoo.org/proj/gentoostats.git/commit/?id=4af894ac

client/gentoostats-cli: add a command line option to specify the port

Remain consistent with gentoostats-send which has a ('-p', '--port')
command line option to specify the port for the remote server.

 client/gentoostats-cli   |  1 +
 client/gentoostats/list.py   | 18 +-
 client/gentoostats/search.py |  2 +-
 client/gentoostats/utils.py  |  6 +++---
 4 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/client/gentoostats-cli b/client/gentoostats-cli
index 768a1ed..2ce2b2e 100755
--- a/client/gentoostats-cli
+++ b/client/gentoostats-cli
@@ -8,6 +8,7 @@ from gentoostats import search
 def main():
 parser = argparse.ArgumentParser()
 parser.add_argument('-s', '--server', default='soc.dev.gentoo.org')
+parser.add_argument('-p', '--port', type = int, default=443)
 parser.add_argument('-u', '--url', default='/gentoostats')
 
 # http://bugs.python.org/issue9253

diff --git a/client/gentoostats/list.py b/client/gentoostats/list.py
index 8c369ab..dc1a64f 100644
--- a/client/gentoostats/list.py
+++ b/client/gentoostats/list.py
@@ -46,35 +46,35 @@ def list_arch(args):
 """
 /arch
 """
-data = list(args.server, args.url, '/arch', utils.headers)
+data = list(args.server, args.port, args.url, '/arch', utils.headers)
 pprint('Arch', data)
 
 def list_feature(args):
 """
 /feature
 """
-data = list(args.server, args.url, '/feature', utils.headers)
+data = list(args.server, args.port, args.url, '/feature', utils.headers)
 pprint('Feature', data)
 
 def list_lang(args):
 """
 /lang
 """
-data = list(args.server, args.url, '/lang', utils.headers)
+data = list(args.server, args.port, args.url, '/lang', utils.headers)
 pprint('Lang', data)
 
 def list_mirror(args):
 """
 /mirror
 """
-data = list(args.server, args.url, '/mirror', utils.headers)
+data = list(args.server, args.port, args.url, '/mirror', utils.headers)
 pprint('Mirror', data)
 
 def list_repo(args):
 """
 /repo
 """
-data = list(args.server, args.url, '/repo', utils.headers)
+data = list(args.server, args.port, args.url, '/repo', utils.headers)
 pprint('Repo', data)
 
 def list_package(args):
@@ -97,7 +97,7 @@ def list_package(args):
 title = 'Category-Package-Version: ' + args.category + '/' + 
args.package + '-' + args.version
 url_pkg += '-' + args.version
 
-data = list(args.server, args.url, url_pkg + url_top, utils.headers)
+data = list(args.server, args.port, args.url, url_pkg + url_top, 
utils.headers)
 pprint(title, data)
 
 def list_use(args):
@@ -110,14 +110,14 @@ def list_use(args):
 title = 'Useflag: ' + args.use
 url_use += '/' + args.use
 
-data = list(args.server, args.url, url_use, utils.headers)
+data = list(args.server, args.port, args.url, url_use, utils.headers)
 pprint(title, data)
 
 
-def list(server, url_base, url_extra, headers):
+def list(server, port, url_base, url_extra, headers):
 """
 Get and decode json from url
 """
-get_data = utils.GET(server=server, url=url_base+url_extra, 
headers=headers)
+get_data = utils.GET(server=server, port=port, url=url_base+url_extra, 
headers=headers)
 data = utils.deserialize(get_data)
 return data

diff --git a/client/gentoostats/search.py b/client/gentoostats/search.py
index 89b4d20..81265fa 100644
--- a/client/gentoostats/search.py
+++ b/client/gentoostats/search.py
@@ -37,7 +37,7 @@ def search(args):
 url_extra += ('?', '&')[bool(url_extra)] + 'min_hosts=' + 
str(args.min_hosts) if args.min_hosts else ''
 url_extra += ('?', '&')[bool(url_extra)] + 'max_hosts=' + 
str(args.max_hosts) if args.max_hosts else ''
 
-get_data = utils.GET(server = args.server, url = args.url + url_base + 
url_extra, headers = utils.headers)
+get_data = utils.GET(server = args.server, port=args.port, url = args.url 
+ url_base + url_extra, headers = utils.headers)
 data = utils.deserialize(get_data)
 
 pprint ('Search results', data)

diff --git a/client/gentoostats/utils.py b/client/gentoostats/utils.py
index af8dab2..cc23033 100644
--- a/client/gentoostats/utils.py
+++ b/client/gentoostats/utils.py
@@ -8,14 +8,14 @@ except ImportError:
 # json headers for gentoostats-cli
 headers = {'Accept': 'application/json'}
 
-def GET(server, url, headers, https=True):
+def GET(server, port, url, headers, https=True):
 """
 Get url from server using headers 
 """
 if https:
-conn = httplib.HTTPSConnection(server)
+conn = httplib.HTTPSConnection(server, port)
 else:
-conn = 

[gentoo-commits] proj/releng:master commit in: tools-musl/

2017-01-01 Thread Matt Thode
commit: dbda57e562be6391ea6b23cb2fcef40981166856
Author: Matthew Thode  mthode  org>
AuthorDate: Mon Jan  2 04:29:52 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Mon Jan  2 04:29:52 2017 +
URL:https://gitweb.gentoo.org/proj/releng.git/commit/?id=dbda57e5

make the stage4 musl version_stamp make more sense

 tools-musl/stage4-hardened-amd64.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools-musl/stage4-hardened-amd64.spec 
b/tools-musl/stage4-hardened-amd64.spec
index 6cab281..33b6e77 100644
--- a/tools-musl/stage4-hardened-amd64.spec
+++ b/tools-musl/stage4-hardened-amd64.spec
@@ -1,6 +1,6 @@
 subarch: amd64
 target: stage4
-version_stamp: cloud-latest
+version_stamp: hardened-musl-cloud-latest
 rel_type: default
 profile: hardened/linux/musl/amd64
 snapshot: current



[gentoo-commits] proj/releng:master commit in: tools-musl/

2017-01-01 Thread Matt Thode
commit: dd3a001c4d35ff97e0056bd79a6ec0763f2c6f05
Author: Matthew Thode  mthode  org>
AuthorDate: Mon Jan  2 04:18:38 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Mon Jan  2 04:18:38 2017 +
URL:https://gitweb.gentoo.org/proj/releng.git/commit/?id=dd3a001c

remove stage4/unmerge

seems that it causes issues on rebuilds, if the kernel is cached it will
not emerge some packages (like kernels)

WARNING: A requested package will not be merged because it is listed in
package.provided:

  hardened-sources pulled in by 'args'

 tools-musl/stage4-hardened-amd64.spec | 4 
 1 file changed, 4 deletions(-)

diff --git a/tools-musl/stage4-hardened-amd64.spec 
b/tools-musl/stage4-hardened-amd64.spec
index 92d85b9..6cab281 100644
--- a/tools-musl/stage4-hardened-amd64.spec
+++ b/tools-musl/stage4-hardened-amd64.spec
@@ -54,10 +54,6 @@ boot/kernel/gentoo/config: 
@REPO_DIR@/../releases/weekly/kconfig/amd64/admincd-4
 boot/kernel/gentoo/extraversion: openstack
 boot/kernel/gentoo/gk_kernargs: --all-ramdisk-modules --makeopts=-j4
 
-# all of the cleanup...
-stage4/unmerge:
-   sys-kernel/hardened-sources
-
 stage4/empty:
/root/.ccache
/tmp



[gentoo-commits] proj/releng:master commit in: tools-musl/

2017-01-01 Thread Matt Thode
commit: e4c5f54040c841efd9b3ff1c8cc7d17e187fbd0d
Author: Matthew Thode  mthode  org>
AuthorDate: Mon Jan  2 04:07:30 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Mon Jan  2 04:07:30 2017 +
URL:https://gitweb.gentoo.org/proj/releng.git/commit/?id=e4c5f540

fix stage4-hardened-amd64.spec for musl

 tools-musl/stage4-hardened-amd64.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools-musl/stage4-hardened-amd64.spec 
b/tools-musl/stage4-hardened-amd64.spec
index e8b30e9..92d85b9 100644
--- a/tools-musl/stage4-hardened-amd64.spec
+++ b/tools-musl/stage4-hardened-amd64.spec
@@ -38,7 +38,7 @@ stage4/packages:
sys-devel/bc
sys-power/acpid
sys-process/cronie
-stage4/fsscript: /root/releng/tools-musl/tools-musl/stage4-fsscript.sh
+stage4/fsscript: @REPO_DIR@/stage4-fsscript.sh
 stage4/rcadd:
acpid|default
cronie|default
@@ -56,7 +56,6 @@ boot/kernel/gentoo/gk_kernargs: --all-ramdisk-modules 
--makeopts=-j4
 
 # all of the cleanup...
 stage4/unmerge:
-   sys-kernel/genkernel
sys-kernel/hardened-sources
 
 stage4/empty:



[gentoo-commits] proj/releng:master commit in: /, tools-musl/

2017-01-01 Thread Matt Thode
commit: 4f6b5605a0c8ea45d03e1f3caa4e11739a107138
Author: Matthew Thode  mthode  org>
AuthorDate: Mon Jan  2 03:39:44 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Mon Jan  2 03:39:44 2017 +
URL:https://gitweb.gentoo.org/proj/releng.git/commit/?id=4f6b5605

add gitignore for tools-musl stuff

 .gitignore   |  1 +
 tools-musl/stage4-hardened-amd64-configured.spec | 86 
 2 files changed, 1 insertion(+), 86 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..b412dd5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+tools-musl/stage4-hardened-amd64-configured.spec

diff --git a/tools-musl/stage4-hardened-amd64-configured.spec 
b/tools-musl/stage4-hardened-amd64-configured.spec
deleted file mode 100644
index ccbdc4f..000
--- a/tools-musl/stage4-hardened-amd64-configured.spec
+++ /dev/null
@@ -1,86 +0,0 @@
-subarch: amd64
-target: stage4
-version_stamp: cloud-latest
-rel_type: default
-profile: hardened/linux/musl/amd64
-snapshot: current
-source_subpath: musl/hardened/amd64/stage3-amd64-musl-hardened
-portage_confdir: /root/releng/tools-musl/portage.amd64.hardened-stage4
-portage_overlay: /opt/overlays/musl
-
-stage4/use:
-   bash-completion
-   bindist
-   bzip2
-   idm
-   ipv6
-   mmx
-   sse
-   sse2
-   urandom
-
-stage4/packages:
-   app-admin/logrotate
-   app-admin/sudo
-   app-admin/syslog-ng
-   app-editors/vim
-   app-portage/eix
-   app-portage/gentoolkit
-   net-misc/dhcpcd
-   net-misc/iputils
-   sys-boot/grub
-   sys-apps/dmidecode
-   sys-apps/gptfdisk
-   sys-apps/iproute2
-   sys-apps/lsb-release
-   sys-apps/pciutils
-   sys-block/parted
-   sys-devel/bc
-   sys-power/acpid
-   sys-process/cronie
-stage4/fsscript: /root/releng/tools-musl/tools-musl/stage4-fsscript.sh
-stage4/rcadd:
-   acpid|default
-   cronie|default
-   dhcpcd|default
-   net.lo|default
-   netmount|default
-   sshd|default
-   syslog-ng|default
-
-boot/kernel: gentoo
-boot/kernel/gentoo/sources: hardened-sources
-boot/kernel/gentoo/config: 
/root/releng/tools-musl/../releases/weekly/kconfig/amd64/admincd-4.4.8-r1.config
-boot/kernel/gentoo/extraversion: openstack
-boot/kernel/gentoo/gk_kernargs: --all-ramdisk-modules --makeopts=-j4
-
-# all of the cleanup...
-stage4/unmerge:
-   sys-kernel/genkernel
-   sys-kernel/hardened-sources
-
-stage4/empty:
-   /root/.ccache
-   /tmp
-   /usr/portage/distfiles
-   /usr/src
-   /var/cache/edb/dep
-   /var/cache/genkernel
-   /var/cache/portage/distfiles
-   /var/empty
-   /var/run
-   /var/state
-   /var/tmp
-
-stage4/rm:
-   /etc/*-
-   /etc/*.old
-   /etc/ssh/ssh_host_*
-   /root/.*history
-   /root/.lesshst
-   /root/.ssh/known_hosts
-   /root/.viminfo
-   # Remove any generated stuff by genkernel
-   /usr/share/genkernel
-   # This is 3MB of crap for each copy
-   
/usr/lib64/python*/site-packages/gentoolkit/test/eclean/testdistfiles.tar.gz



[gentoo-commits] proj/releng:master commit in: tools-musl/, tools-musl/portage.amd64.hardened-stage4/package.use/, ...

2017-01-01 Thread Matt Thode
commit: 274837a3d1885f840e1f7c8ed08271135b7537dc
Author: Your Name  example  com>
AuthorDate: Mon Jan  2 03:35:11 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Mon Jan  2 03:37:52 2017 +
URL:https://gitweb.gentoo.org/proj/releng.git/commit/?id=274837a3

add stage4 musl config

 .../package.keywords/stage4|  4 +
 .../package.mask/stage4|  1 +
 .../package.use/stage4 |  1 +
 tools-musl/run-stage4.sh   |  5 ++
 tools-musl/stage4-fsscript.sh  | 81 
 tools-musl/stage4-hardened-amd64-configured.spec   | 86 ++
 tools-musl/stage4-hardened-amd64.spec  | 86 ++
 7 files changed, 264 insertions(+)

diff --git a/tools-musl/portage.amd64.hardened-stage4/package.keywords/stage4 
b/tools-musl/portage.amd64.hardened-stage4/package.keywords/stage4
new file mode 100644
index 000..a21cf48
--- /dev/null
+++ b/tools-musl/portage.amd64.hardened-stage4/package.keywords/stage4
@@ -0,0 +1,4 @@
+=sys-apps/portage-2.3.1 ~amd64
+=net-analyzer/macchanger-1.7.0-r1 ~amd64
+sys-kernel/hardened-sources-4.5.0

diff --git a/tools-musl/portage.amd64.hardened-stage4/package.use/stage4 
b/tools-musl/portage.amd64.hardened-stage4/package.use/stage4
new file mode 100644
index 000..4b84ae6
--- /dev/null
+++ b/tools-musl/portage.amd64.hardened-stage4/package.use/stage4
@@ -0,0 +1 @@
+sys-boot/grub grub_platforms_pc

diff --git a/tools-musl/run-stage4.sh b/tools-musl/run-stage4.sh
new file mode 100755
index 000..e79acc7
--- /dev/null
+++ b/tools-musl/run-stage4.sh
@@ -0,0 +1,5 @@
+MUSL_DIR="$( cd "$( dirname ${BASH_SOURCE[0]} )" && pwd )"
+cp "${MUSL_DIR}"/stage4-hardened-amd64.spec 
"${MUSL_DIR}"/stage4-hardened-amd64-configured.spec
+sed -i "s|@REPO_DIR@|${MUSL_DIR}|g" 
"${MUSL_DIR}"/stage4-hardened-amd64-configured.spec
+
+catalyst -f "${MUSL_DIR}"/stage4-hardened-amd64-configured.spec | tee -a 
"${MUSL_DIR}"/zzz.log

diff --git a/tools-musl/stage4-fsscript.sh b/tools-musl/stage4-fsscript.sh
new file mode 100755
index 000..f222b1f
--- /dev/null
+++ b/tools-musl/stage4-fsscript.sh
@@ -0,0 +1,81 @@
+#!/bin/bash
+
+# Set timezone
+echo 'UTC' > /etc/timezone
+
+# Some rootfs stuff
+grep -v rootfs /proc/mounts > /etc/mtab
+
+# This is set in rackspaces prep, might help us
+echo 'net.ipv4.conf.eth0.arp_notify = 1' >> /etc/sysctl.conf
+echo 'vm.swappiness = 0' >> /etc/sysctl.conf
+
+# Let's configure our grub
+# Access on both regular tty and serial console
+mkdir /boot/grub
+cat >>/etc/default/grub < /etc/fstab
+
+# allow the console log
+sed -i 's/#s0/s0/g' /etc/inittab
+
+# let ipv6 use normal slaac
+sed -i 's/slaac/#slaac/g' /etc/dhcpcd.conf
+# don't let dhcpcd set domain name or hostname
+sed -i 's/domain_name\,\ domain_search\,\ host_name/domain_search/g' 
/etc/dhcpcd.conf
+
+# need to do this here because it clobbers an openrc owned file
+cat > /etc/conf.d/hostname << "EOL"
+# Set to the hostname of this machine
+if [ -f /etc/hostname ];then
+  hostname=$(cat /etc/hostname 2> /dev/null | cut -d"." -f1 2> /dev/null)
+else
+  hostname="localhost"
+fi
+EOL
+chmod 0644 /etc/conf.d/hostname
+chown root:root /etc/conf.d/hostname
+
+# set a nice default for /etc/resolv.conf
+cat > /etc/resolv.conf << EOL
+nameserver 8.8.8.8
+nameserver 2001:4860:4860::
+EOL
+
+# let's upgrade (security fixes and otherwise)
+USE="-build" emerge -uDNv --with-bdeps=y --buildpkg=y --jobs=2 @world
+USE="-build" emerge --verbose=n --depclean
+USE="-build" emerge -v --usepkg=n --buildpkg=y @preserved-rebuild
+etc-update --automode -5
+
+# Clean up portage
+emerge --verbose=n --depclean
+if [[ -a /usr/bin/eix ]]; then
+  eix-update
+fi
+emaint all -f
+eselect news read all
+eclean-dist --destructive
+sed -i '/^USE=\"\${USE}\ \ build\"$/d' /etc/portage/make.conf
+
+# clean up system
+passwd -d root
+passwd -l root
+for i in $(find /var/log -type f); do truncate -s 0 $i; done
+# remove foreign manpages
+find /usr/share/man/ -mindepth 1  -maxdepth 1 -path "/usr/share/man/man*" 
-prune -o -exec rm -rf {} \;
+
+# fine if this fails, aka non-hardened
+if [[ -x /usr/sbin/migrate-pax ]]; then
+  echo 'migraging pax'
+  /usr/sbin/migrate-pax -m
+fi

diff --git a/tools-musl/stage4-hardened-amd64-configured.spec 
b/tools-musl/stage4-hardened-amd64-configured.spec
new file mode 100644
index 000..ccbdc4f
--- /dev/null
+++ b/tools-musl/stage4-hardened-amd64-configured.spec
@@ -0,0 +1,86 @@
+subarch: amd64
+target: stage4
+version_stamp: cloud-latest
+rel_type: default
+profile: hardened/linux/musl/amd64
+snapshot: current
+source_subpath: musl/hardened/amd64/stage3-amd64-musl-hardened
+portage_confdir: /root/releng/tools-musl/portage.amd64.hardened-stage4
+portage_overlay: /opt/overlays/musl
+
+stage4/use:
+   bash-completion
+   bindist
+   bzip2
+   idm
+   ipv6
+   mmx
+   sse
+   sse2
+   urandom
+

[gentoo-commits] proj/genkernel:master commit in: /

2017-01-01 Thread Matt Thode
commit: ea84d161aa142d642443623deb4cac27b028a63a
Author: Matthew Thode  mthode  org>
AuthorDate: Mon Jan  2 00:45:39 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Mon Jan  2 00:45:39 2017 +
URL:https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=ea84d161

update initramfs generation to not always copy ld.so

fixes gen_initramfs.sh on musl systems

 gen_initramfs.sh | 23 +--
 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index 1f62f5c..268bc2d 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -533,13 +533,24 @@ append_linker() {
rm -r "${TEMP}/initramfs-linker-temp"
fi
 
-   mkdir -p "${TEMP}/initramfs-linker-temp/etc/ld.so.conf.d"
+   mkdir -p "${TEMP}/initramfs-linker-temp/etc"
 
-   cp "/etc/ld.so."{cache,conf} "${TEMP}/initramfs-linker-temp/etc/" 2> 
/dev/null \
-   || gen_die "Could not copy ld.so.{cache,conf}"
-
-   cp -r "/etc/ld.so.conf.d" "${TEMP}/initramfs-linker-temp/etc/" 2> 
/dev/null \
-   || gen_die "Could not copy ld.so.conf.d"
+   if [ -e "/etc/ld.so.conf" ]
+   then
+   cp "/etc/ld.so.conf" "${TEMP}/initramfs-linker-temp/etc/" 2> 
/dev/null \
+   || gen_die "Could not copy ld.so.conf"
+   fi
+   if [ -e "/etc/ld.so.cache" ]
+   then
+   cp "/etc/ld.so.cache" "${TEMP}/initramfs-linker-temp/etc/" 2> 
/dev/null \
+   || gen_die "Could not copy ld.so.cache"
+   fi
+   if [ -d "/etc/ld.so.conf.d" ]
+   then
+   mkdir -p "${TEMP}/initramfs-linker-temp/etc/ld.so.conf.d"
+   cp -r "/etc/ld.so.conf.d" "${TEMP}/initramfs-linker-temp/etc/" 
2> /dev/null \
+   || gen_die "Could not copy ld.so.conf.d"
+   fi
 
cd "${TEMP}/initramfs-linker-temp/"
log_future_cpio_content



[gentoo-commits] proj/genkernel:master commit in: patches/busybox/1.26.0/

2017-01-01 Thread Matt Thode
commit: 7e4a2f6ef864eb9380b5be1fc8d41a7a477f26bf
Author: Matthew Thode  mthode  org>
AuthorDate: Mon Jan  2 00:46:39 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Mon Jan  2 00:46:39 2017 +
URL:https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=7e4a2f6e

add patches for busybox 1.26.0

 patches/busybox/1.26.0/1.18.1-openvt.diff  | 19 +
 .../busybox/1.26.0/busybox-1.20.2-modprobe.patch   | 26 +++
 .../busybox/1.26.0/busybox-1.26.0-mdstart.patch| 80 ++
 .../busybox/1.26.0/busybox-1.7.4-signal-hack.patch | 28 
 4 files changed, 153 insertions(+)

diff --git a/patches/busybox/1.26.0/1.18.1-openvt.diff 
b/patches/busybox/1.26.0/1.18.1-openvt.diff
new file mode 100644
index 000..b8a9f8a
--- /dev/null
+++ b/patches/busybox/1.26.0/1.18.1-openvt.diff
@@ -0,0 +1,19 @@
+Based on:
+
+> Allow a slightly wider range of valid vt numbers. Forward-ported from Gentoo
+> Busybox 1.1.3.
+
+> The previous spin of this patch on 1.1.3 had a 'wait(NULL);' right before
+> return EXIT_SUCCESS. I don't think it's needed anymore, so I left it out.
+
+--- a/console-tools/openvt.c   2010-11-22 22:24:58.0 +0200
 b/console-tools/openvt.c   2010-11-29 15:32:18.0 +0200
+@@ -124,7 +124,7 @@ int openvt_main(int argc UNUSED_PARAM, c
+ 
+   if (flags & OPT_c) {
+   /* Check for illegal vt number: < 1 or > 63 */
+-  vtno = xatou_range(str_c, 1, 63);
++  vtno = xatou_range(str_c, 0, 63);
+   } else {
+   vtno = find_free_vtno();
+   }

diff --git a/patches/busybox/1.26.0/busybox-1.20.2-modprobe.patch 
b/patches/busybox/1.26.0/busybox-1.20.2-modprobe.patch
new file mode 100644
index 000..491eb05
--- /dev/null
+++ b/patches/busybox/1.26.0/busybox-1.20.2-modprobe.patch
@@ -0,0 +1,26 @@
+diff --git a/modutils/modprobe.c b/modutils/modprobe.c
+index fb6c659..11fa521 100644
+--- a/modutils/modprobe.c
 b/modutils/modprobe.c
+@@ -413,7 +413,7 @@ static int do_modprobe(struct module_entry *m)
+   rc = 0;
+   while (m->deps) {
+   struct module_entry *m2;
+-  char *fn, *options;
++  char *fn, *options, *path;
+ 
+   rc = 0;
+   fn = llist_pop(>deps); /* we leak it */
+@@ -460,7 +460,11 @@ static int do_modprobe(struct module_entry *m)
+   continue;
+   }
+ 
+-  rc = bb_init_module(fn, options);
++  path = xmalloc(strlen(fn) + strlen(CONFIG_DEFAULT_MODULES_DIR) 
+ strlen(G.uts.release) + 3);
++  sprintf(path, "%s/%s/%s", CONFIG_DEFAULT_MODULES_DIR, 
G.uts.release, fn);
++
++  rc = bb_init_module(path, options);
++  free(path);
+   DBG("loaded %s '%s', rc:%d", fn, options, rc);
+   if (rc == EEXIST)
+   rc = 0;

diff --git a/patches/busybox/1.26.0/busybox-1.26.0-mdstart.patch 
b/patches/busybox/1.26.0/busybox-1.26.0-mdstart.patch
new file mode 100644
index 000..35057b6
--- /dev/null
+++ b/patches/busybox/1.26.0/busybox-1.26.0-mdstart.patch
@@ -0,0 +1,80 @@
+diff --git a/util-linux/mdStart.c b/util-linux/mdStart.c
+--- util-linux/mdStart.c   1969-12-31 18:00:00.0 -0600
 util-linux/mdStart.c   2017-01-01 18:25:14.582737879 -0600
+@@ -0,0 +1,76 @@
++/*
++ * Linux 2.6(+) RAID Autostarter
++ *
++ * Copyright (C) 2005 by Tim Yamin  
++ * Copyright (C) 2012 by Sebastian Pipping 
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ *
++ * This program is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
++ * General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program; if not, write to the Free Software
++ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
++ *
++ */
++//config:config MDSTART
++//config: bool "mdstart"
++//config: default n
++//config: help
++//config:   Allows you to autostart /dev/md devices if using an initramfs 
to
++//config:   boot.
++
++//applet:IF_MDSTART(APPLET(mdstart, BB_DIR_SBIN, BB_SUID_DROP))
++
++//kbuild:lib-$(CONFIG_MDSTART) += mdStart.o
++
++//usage:#define mdstart_trivial_usage
++//usage:  "[PARTITION] MD-NODE [[PARTITION] MD-NODE ...]"
++//usage:
++//usage:#define mdstart_full_usage "\n\n"
++//usage:  "Run the RAID_AUTORUN ioctl on the given MD number"
++
++#include 
++#include 
++#include 
++#include 
++#include 
++#include 
++
++extern int
++mdstart_main(int argc, char *argv[])
++{
++ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/sip/

2017-01-01 Thread Davide Pesavento
commit: 4cb24ab8785513ec7deafdc49a992fc513063f9b
Author: Davide Pesavento  gentoo  org>
AuthorDate: Mon Jan  2 01:02:10 2017 +
Commit: Davide Pesavento  gentoo  org>
CommitDate: Mon Jan  2 01:02:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb24ab8

dev-python/sip: sync live ebuild

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/sip/sip-4..ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/sip/sip-4..ebuild b/dev-python/sip/sip-4..ebuild
index 11a7481..6a0b7f6 100644
--- a/dev-python/sip/sip-4..ebuild
+++ b/dev-python/sip/sip-4..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
 # $Id$
 
@@ -13,7 +13,7 @@ 
HOMEPAGE="http://www.riverbankcomputing.com/software/sip/intro https://pypi.pyth
 EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip;
 
 # Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
-SLOT="0/11"
+SLOT="0/12"
 LICENSE="|| ( GPL-2 GPL-3 SIP )"
 KEYWORDS=""
 IUSE="debug doc"



[gentoo-commits] repo/gentoo:master commit in: dev-python/PyQt5/, dev-python/PyQt5/files/

2017-01-01 Thread Davide Pesavento
commit: 46ae37a7e2b850af38145e9d914b4a83d9313e74
Author: Davide Pesavento  gentoo  org>
AuthorDate: Mon Jan  2 00:30:41 2017 +
Commit: Davide Pesavento  gentoo  org>
CommitDate: Mon Jan  2 00:30:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ae37a7

dev-python/PyQt5: remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/PyQt5/Manifest   |   1 -
 dev-python/PyQt5/PyQt5-5.7.ebuild   | 199 
 dev-python/PyQt5/files/PyQt5-5.7-qt-5.6.2.patch |  11 --
 3 files changed, 211 deletions(-)

diff --git a/dev-python/PyQt5/Manifest b/dev-python/PyQt5/Manifest
index 8d66fb8..58e3bc3 100644
--- a/dev-python/PyQt5/Manifest
+++ b/dev-python/PyQt5/Manifest
@@ -1,4 +1,3 @@
 DIST PyQt-gpl-5.5.1.tar.gz 3705749 SHA256 
0a70ef94fbffcf674b0dde024aae2a2a7a3f5a8c42806109ff7df2c941bd8386 SHA512 
ed9a4f30a50c0879f25b6a0841247f3f0de86942b55c1de9efea963bfbf64ee963a9e5c09be036ff2dec76164863b3b6235e45e8662776425f15378fa0abeab4
 WHIRLPOOL 
199a36ff1ee3689a76d0aae9d2bee586f9de3a0e3cf23c5b625c1f62b5f19311450afd9d009cbdb4f5be63ba024326c63ff0e6c9ea515216c686db9d8e07bcb3
 DIST PyQt5_gpl-5.6.1.dev1604271126.tar.xz 2300884 SHA256 
2a9ac535ac921bcd3678e33655bb3842a14f4cf6836eb29f32d0a62335ea061b SHA512 
281d48cd8a875c454e970d6cecb0af2a2299f2ea6d062de599736d613c413dbab67072c80a80d490980eacf18bb35819b94255cd5891abbf6e291101bcd5b578
 WHIRLPOOL 
e8255192a318529307b67992cdd12f9c9d4983099c1cece82761140bf3615fc36e1db52a9a795645c8ca93e21b801826802fd1b0fb3cf867c0f80d380a45c279
 DIST PyQt5_gpl-5.7.1.tar.gz 3733746 SHA256 
be849f212a074049b9ebc10b6c07dddefb86e6d30e8df8a5c715cbb2cf7fad14 SHA512 
7498713f73807522e58ae38ff58548cf80c2f2c418d6c55e20ce613cdc997e4ee7139076f1f152c7c3edb970bde14febc3496009f934e31ff71f01a1605f558f
 WHIRLPOOL 
9322ccaaebf78a9e177703bae26f002cdfe9ad3ba45a9c7b9ccdd3b73cca96550e479b243b302d59eefdc1520a6e5b5f18ac5fabc1f8eff36f7f76d71b7dea11
-DIST PyQt5_gpl-5.7.tar.gz 3729111 SHA256 
892693ba5f79989abb2061dad2d5c4e6f127e9dd3240f73f8220c7152cd35b05 SHA512 
b22fd40f967776c25de9f5fb37a3308df15599f257e4deab23ec3072d4c8f2dceb8aadc2869d1ab7a5068992e86320969b694cf6da3312ddedae54fd388873ec
 WHIRLPOOL 
bddc2f4818a8179020b827572e808f87d64fed3c220903b4d879d76581346728592e4dbf6679cc240c5ac2d736d4b1264de35e770e89dc1b01e41e82e6bf82cd

diff --git a/dev-python/PyQt5/PyQt5-5.7.ebuild 
b/dev-python/PyQt5/PyQt5-5.7.ebuild
deleted file mode 100644
index 25a64b8..
--- a/dev-python/PyQt5/PyQt5-5.7.ebuild
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-
-inherit multibuild python-r1 qmake-utils
-
-DESCRIPTION="Python bindings for the Qt framework"
-HOMEPAGE="http://www.riverbankcomputing.com/software/pyqt/intro
-   https://pypi.python.org/pypi/PyQt5;
-
-MY_P=${PN}_gpl-${PV/_pre/.dev}
-if [[ ${PV} == *_pre* ]]; then
-   SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.xz;
-else
-   SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-
-# TODO: QtNfc
-IUSE="bluetooth dbus debug declarative designer doc examples gles2 gui help 
location
-   multimedia network opengl positioning printsupport sensors serialport 
sql svg
-   testlib webchannel webengine webkit websockets widgets x11extras 
xmlpatterns"
-
-# The requirements below were extracted from configure.py
-# and from the output of 'grep -r "%Import " "${S}"/sip'
-REQUIRED_USE="
-   ${PYTHON_REQUIRED_USE}
-   bluetooth? ( gui )
-   declarative? ( gui network )
-   designer? ( widgets )
-   help? ( gui widgets )
-   location? ( positioning )
-   multimedia? ( gui network )
-   opengl? ( gui widgets )
-   positioning? ( gui )
-   printsupport? ( gui widgets )
-   sensors? ( gui )
-   serialport? ( gui )
-   sql? ( widgets )
-   svg? ( gui widgets )
-   testlib? ( gui widgets )
-   webchannel? ( network )
-   webengine? ( network widgets? ( webchannel ) )
-   webkit? ( gui network printsupport widgets )
-   websockets? ( network )
-   widgets? ( gui )
-   xmlpatterns? ( network )
-"
-
-# Minimal supported version of Qt.
-QT_PV="5.6.0:5"
-
-RDEPEND="
-   ${PYTHON_DEPS}
-   >=dev-python/sip-4.18:=[${PYTHON_USEDEP}]
-   >=dev-qt/qtcore-${QT_PV}
-   >=dev-qt/qtxml-${QT_PV}
-   bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} )
-   dbus? (
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   >=dev-qt/qtdbus-${QT_PV}
-   )
-   declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] )
-   designer? ( >=dev-qt/designer-${QT_PV} )
-   gui? ( >=dev-qt/qtgui-${QT_PV}[gles2=] )
-   help? ( >=dev-qt/qthelp-${QT_PV} )
-   location? ( >=dev-qt/qtlocation-${QT_PV} )
-   multimedia? ( 

[gentoo-commits] repo/gentoo:master commit in: net-misc/youtube-dl/

2017-01-01 Thread Jeroen Roovers
commit: b48999776fe19244fcfb836ad39be7b51cbac55e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jan  2 00:24:46 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jan  2 00:25:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4899977

net-misc/youtube-dl: Version bump.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/youtube-dl/Manifest |  1 +
 net-misc/youtube-dl/youtube-dl-2016.12.31.ebuild | 99 
 2 files changed, 100 insertions(+)

diff --git a/net-misc/youtube-dl/Manifest b/net-misc/youtube-dl/Manifest
index 7f58a30..f01cd74 100644
--- a/net-misc/youtube-dl/Manifest
+++ b/net-misc/youtube-dl/Manifest
@@ -1,2 +1,3 @@
 DIST youtube-dl-2016.09.19.tar.gz 2395739 SHA256 
276637e83525778a83d0457f6b9fbc29d6109bc8366d43125432ce835d28545e SHA512 
a8fb1ce054e25180eab3969c898d976dec157901931b66cddde0fecd55ef322e64c13a70d50de945849cbc4ccbf8be0aede845cbb8ea390bba34f51fec0533bf
 WHIRLPOOL 
e58d38e49d58b86d8eb25b40427046955e011bf57b0862c433ebe459c0268905bff67188c03bb612593d15b3d1f3408a95b510ad6f863d0144ee4307ed012aba
 DIST youtube-dl-2016.12.22.tar.gz 2502964 SHA256 
f5bc5eb1af17391b7a1da795f4181c3702fb2c1da2668b25f1260dbdba882524 SHA512 
87fee134da660a4feb4cfcd2cbb35cb9682e6ed08c766e3c89f6c986f991cac78c64f5bf8a1d15c4080e4df0909c6a360137407a7896b93f8f41cf4493f341cb
 WHIRLPOOL 
6909d34958e4152be3334723c68d207bb34db2996d90908829ebd3ee45d28768d7f6cba8ce0fb19de440b34fb96b46b3d5b8bf830c998037c4f4d59e574206c3
+DIST youtube-dl-2016.12.31.tar.gz 2508506 SHA256 
94d9f6cb99a1f5c27a8885f1bffe1f36c7e89feef961a83f78d8093284cf1ec9 SHA512 
10e04d2579ce555125aa4f9ffc64a1648b6245643e42eac30428a165037172fe1b59b12830c88e1f88c1dd621ebe59a9ab2136e9da45e20a205b1543c5da2212
 WHIRLPOOL 
88161cc147ae4d045662945f10b0bd9e261ed7a300dba61aeaa917cefaa5341c7d126fe2e726d48cfdf98ade1f6384d0f7bf6a1c0ec5458ded9278e74d06e484

diff --git a/net-misc/youtube-dl/youtube-dl-2016.12.31.ebuild 
b/net-misc/youtube-dl/youtube-dl-2016.12.31.ebuild
new file mode 100644
index ..6cb3331
--- /dev/null
+++ b/net-misc/youtube-dl/youtube-dl-2016.12.31.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=(python{2_7,3_4,3_5})
+inherit bash-completion-r1 distutils-r1 eutils
+
+DESCRIPTION="Download videos from YouTube.com (and more sites...)"
+HOMEPAGE="https://rg3.github.com/youtube-dl/;
+SRC_URI="http://youtube-dl.org/downloads/${PV}/${P}.tar.gz;
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~arm-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
+IUSE="offensive test"
+
+RDEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+"
+DEPEND="
+   ${RDEPEND}
+   test? ( dev-python/nose[coverage(+)] )
+"
+
+S="${WORKDIR}/${PN}"
+
+python_prepare_all() {
+   if ! use offensive; then
+   sed -i -e "/__version__/s|'$|-gentoo_no_offensive_sites'|g" \
+   youtube_dl/version.py || die
+   # these have single line import statements
+   local xxx=(
+   alphaporno anysex behindkink camwithher chaturbate 
eporner
+   eroprofile extremetube fourtube foxgay goshgay hellporno
+   hentaistigma hornbunny keezmovies lovehomeporn mofosex 
motherless
+   myvidster porn91 porncom pornhd pornotube pornovoisines 
pornoxo
+   ruleporn sexu slutload spankbang spankwire sunporno 
thisav tube8
+   vporn watchindianporn xbef xnxx xtube xvideos 
xxxymovies youjizz
+   youporn
+   )
+   # these have multi-line import statements
+   local mxxx=(
+   drtuber pornhub redtube xhamster tnaflix
+   )
+   # do single line imports
+   sed -i \
+   -e $( printf '/%s/d;' ${xxx[@]} ) \
+   youtube_dl/extractor/extractors.py \
+   || die
+
+   # do multiple line imports
+   sed -i \
+   -e $( printf '/%s/,/)/d;' ${mxxx[@]} ) \
+   youtube_dl/extractor/extractors.py \
+   || die
+
+   sed -i \
+   -e $( printf '/%s/d;' ${mxxx[@]} ) \
+   youtube_dl/extractor/generic.py \
+   || die
+
+   rm \
+   $( printf 'youtube_dl/extractor/%s.py ' ${xxx[@]} ) \
+   $( printf 'youtube_dl/extractor/%s.py ' ${mxxx[@]} ) \
+   test/test_age_restriction.py \
+   || die
+   fi
+
+   epatch_user
+
+   distutils-r1_python_prepare_all
+}
+
+src_compile() {
+   distutils-r1_src_compile
+}
+
+python_test() {
+   emake test

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/z3/, sci-mathematics/z3/files/

2017-01-01 Thread Mark Wright
commit: e1bee0588417636345663574e7c1ef127abbebe6
Author: Mark Wright  gentoo  org>
AuthorDate: Mon Jan  2 00:18:51 2017 +
Commit: Mark Wright  gentoo  org>
CommitDate: Mon Jan  2 00:20:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1bee058

sci-mathematics/z3: Thanks to Yichao Zhou, jlec and slyfox for development
on the z3 ebuilds.  Thanks to David E. Narv?ez for reporting and patching.

Gentoo-bug: 602498, 602600

Package-Manager: portage-2.3.3

 sci-mathematics/z3/Manifest   |   2 +
 sci-mathematics/z3/files/z3-4.1.2-configure.patch |  76 +++
 sci-mathematics/z3/files/z3-4.4.1-gcc-6.patch |  18 +++
 sci-mathematics/z3/metadata.xml   |  22 +++
 sci-mathematics/z3/z3-4.4.1.ebuild| 142 
 sci-mathematics/z3/z3-4.5.0.ebuild| 156 ++
 6 files changed, 416 insertions(+)

diff --git a/sci-mathematics/z3/Manifest b/sci-mathematics/z3/Manifest
new file mode 100644
index ..45b385a
--- /dev/null
+++ b/sci-mathematics/z3/Manifest
@@ -0,0 +1,2 @@
+DIST z3-4.4.1.tar.gz 3347371 SHA256 
50967cca12c5c6e1612d0ccf8b6ebf5f99840a783d6cf5216336a2b59c37c0ce SHA512 
76991a24f47f2b53ceb8d7a9a6be19913c57994ffb6cf6acfe30f61b2e73959cf02a99f656053594fccb5aaf4d1f44b3ae7e51f1c8953b213d738ceeeaea74f8
 WHIRLPOOL 
aea616b43ae1a962cf00f4748b5a51b38586ccee393e4e27efbf806635a35af416edd6143b4cf01cf2b0df043f64ab4822f7767bb1c0a340fd57ee03627d39e5
+DIST z3-4.5.0.tar.gz 3573695 SHA256 
aeae1d239c5e06ac183be7dd853775b84698db1265cb2258e5918a28372d4a0c SHA512 
1ebc2c908d90b6b879f1e819c864ff894613276af47a440f27cf94968c195656952434754c3eb20f4bdbdd8497d227d22e1b4821c0d320b11052b5648d9e2dc7
 WHIRLPOOL 
3178973c2cce1ab3a87db134f7314d54aa5b491500c9f7c30c74d5672cb4995f7d468e62cd18d54b312d4d94fee8b1267c25d09e95075361e869bb36859810ab

diff --git a/sci-mathematics/z3/files/z3-4.1.2-configure.patch 
b/sci-mathematics/z3/files/z3-4.1.2-configure.patch
new file mode 100644
index ..08ace2b
--- /dev/null
+++ b/sci-mathematics/z3/files/z3-4.1.2-configure.patch
@@ -0,0 +1,76 @@
+--- z3-orig/configure.in   2012-10-04 16:41:04.0 +1000
 z3/configure.in2012-10-18 15:56:49.895967069 +1100
+@@ -22,20 +22,29 @@
+ 
+ host_os=`uname -s`
+ 
++AC_ARG_ENABLE([static],
++[ --disable-static disable static],
++[static=${enableval}], [static=yes])
++
++if test "$static" = "yes"; then
++  STATIC_FLAGS=-static
++else
++  STATIC_FLAGS=
++fi
++
+ AS_IF([test "$host_os" = "Darwin"], [
+   PLATFORM=osx
+   SO_EXT=dylib
+-  SLIBFLAGS="-dynamiclib -fopenmp"
++  LDFLAGS="${LDFLAGS}"
++  SLIBFLAGS="${LDFLAGS} -dynamiclib -fopenmp"
+   COMP_VERSIONS="-compatibility_version \$(Z3_VERSION) -current_version 
\$(Z3_VERSION)"
+-  STATIC_FLAGS=
+   CPPFLAGS+=" -mmacosx-version-min=10.4"
+ ], [test "$host_os" = "Linux"], [
+   PLATFORM=linux
+-  SO_EXT=so
+-  LDFLAGS=-lrt
+-  SLIBFLAGS="-shared -fopenmp"
++  SO_EXT=so.1.0
++  LDFLAGS="${LDFLAGS} -lrt"
++  SLIBFLAGS="${LDFLAGS} -shared -fopenmp"
+   COMP_VERSIONS=
+-  STATIC_FLAGS=-static
+ ], [
+   AC_MSG_ERROR([Unknown host platform: $host_os])
+ ])
+@@ -88,15 +97,17 @@
+AC_CHECK_LIB(gmp, __gmpz_cmp, LIBS="-lgmp $LIBS", AC_MSG_ERROR([GMP 
library not found]))
+dnl Look for libgmp.a at /usr/local/lib and /usr/lib
+dnl TODO: make the following test more robust...
+-   if test -e /usr/local/lib/libgmp.a; then
+-  GMP_STATIC_LIB="/usr/local/lib/libgmp.a"
+-   else if test -e /usr/lib/libgmp.a; then
+-  GMP_STATIC_LIB="/usr/lib/libgmp.a"
+-   else if test -e /usr/lib/libgmp.dll.a; then
+-  GMP_STATIC_LIB="/usr/lib/libgmp.dll.a"
+-   else
+-  AC_MSG_ERROR([Failed to find libgmp.a])   
+-   fi fi fi
++   if test "$static" = "yes"; then
++  if test -e /usr/local/lib/libgmp.a; then
++ GMP_STATIC_LIB="/usr/local/lib/libgmp.a"
++   else if test -e /usr/lib/libgmp.a; then
++ GMP_STATIC_LIB="/usr/lib/libgmp.a"
++   else if test -e /usr/lib/libgmp.dll.a; then
++ GMP_STATIC_LIB="/usr/lib/libgmp.dll.a"
++   else
++ AC_MSG_ERROR([Failed to find libgmp.a])   
++   fi fi fi
++   fi
+ fi
+ 
+ AC_PROG_CXXCPP
+--- z3-orig/Makefile.in2012-10-04 16:41:02.0 +1000
 z3/Makefile.in 2012-10-18 15:25:00.716162723 +1100
+@@ -175,7 +175,7 @@
+ 
+ $(BIN_DIR)/lib$(Z3).@SO_EXT@: $(OBJ_DIR) $(BIN_DIR) $(LIB_OBJS)
+   @mkdir -p $(BIN_DIR)
+-  $(CXX) -o $(BIN_DIR)/lib$(Z3).@SO_EXT@  $(LIB_OBJS) $(LIBFLAGS) $(LIBS) 
@COMP_VERSIONS@
++  $(CXX) -Wl,-soname=lib$(Z3).@SO_EXT@ -o $(BIN_DIR)/lib$(Z3).@SO_EXT@  
$(LIB_OBJS) $(LIBFLAGS) $(LIBS) @COMP_VERSIONS@
+ 
+ $(BIN_DIR)/lib$(Z3).a: $(OBJ_DIR) $(BIN_DIR) $(LIB_OBJS)
+   @mkdir -p $(BIN_DIR)

diff --git a/sci-mathematics/z3/files/z3-4.4.1-gcc-6.patch 
b/sci-mathematics/z3/files/z3-4.4.1-gcc-6.patch
new file mode 100644
index ..2dc0ddd
--- /dev/null
+++ b/sci-mathematics/z3/files/z3-4.4.1-gcc-6.patch
@@ -0,0 +1,18 

[gentoo-commits] repo/gentoo:master commit in: net-dns/libidn2/

2017-01-01 Thread Jeroen Roovers
commit: f5be0fa19f11299cbecedced0eb1524342b8ab7f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jan  2 00:18:10 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jan  2 00:18:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5be0fa1

net-dns/libidn2: Version bump.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-dns/libidn2/Manifest|  1 +
 net-dns/libidn2/libidn2-0.13.ebuild | 55 +
 2 files changed, 56 insertions(+)

diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest
index b380b21..93ebfbe 100644
--- a/net-dns/libidn2/Manifest
+++ b/net-dns/libidn2/Manifest
@@ -4,3 +4,4 @@ DIST libidn2-0.12-IdnaMappingTable.txt 742564 SHA256 
84c8f25d2b58531dada678cbfb7
 DIST libidn2-0.12-IdnaTest.txt 40 SHA256 
f56af7d031fddd8264cd95086e360375e3a09e680c8e2d947be469bfa4f4097d SHA512 
6ca6f22d01ed88170d871129823b55497ffd6d82b724e0f1781317d128e9c72344afe0db3eed50aab3b822a1c36a78da4138f1de421c7ce0da3a4778dda0
 WHIRLPOOL 
2f1ab3a7bb78cb34ac6ece100111e2cf4b6f021882531b4641ae3472108dce6d2c2ab48b2ab263aa1190e63641e95e5c6688c3c54317db978e49da359ee449d0
 DIST libidn2-0.12-idna-tables-6.3.0.txt 162415 SHA256 
ac67b5bf7c2de2d3b6e11fa7bf0d7ba54e6457788aec1ebde48739ee084822b7 SHA512 
8cb3cc47948a796c2765e220350beccbefda40700bc60fb6b3bcdda24046798e2fee4c6a1a9fc80a3e9bcb3cbaa9a141936d24907eb5a09b43ec94d72fca3de0
 WHIRLPOOL 
d7fffb5a19b0dd602296cb6eb484bf3f55353617c1c2adc9038173156cccf3a8a9eda1c8f5722634ea84099f266b6a036e20694a04a66134b79609b17d6de6a3
 DIST libidn2-0.12.tar.gz 1223699 SHA256 
5aac6a35546a472b218a1b1257b39e5e829fda489152f6c793064afc5a2f2956 SHA512 
044c0a06dca6866d80400a67ef5e9334afa77f55053cd358f107f2d788aa6938c53cb37791d02c58f2e2a00ed7e4167820cd3c544b6a073db41d4877e0a9ca1b
 WHIRLPOOL 
c4db646d229ce0ce2d4ddb3c8de074891d2c965051cb3544a41aaafb9181dbea44731794d9e0230f6e199825f0747b45274f65a4fe9e0ddf69d33daf851cf065
+DIST libidn2-0.13.tar.gz 1504713 SHA256 
7595f68f189f8bee8c6847a71aab4df2dcb3e24fdc679912c0554043e664bafd SHA512 
eb3ed5de8d4554be85b9c85737e1140625e7262599092a6341212fddbaf9b0ee29002a43ec3e46c2931754eb0e4d8a6bb8e38b1bcae23b63769e13ad54077d4b
 WHIRLPOOL 
e9a3f922ef4ac0cf7e0dcc452389fec44e11bffae87cc9b57377fc6fddaca254280181ebfad95ba6e2c83ec94d3ca32296baae5bf50dde80adae525a8c115614

diff --git a/net-dns/libidn2/libidn2-0.13.ebuild 
b/net-dns/libidn2/libidn2-0.13.ebuild
new file mode 100644
index ..c5848ce
--- /dev/null
+++ b/net-dns/libidn2/libidn2-0.13.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils multilib-minimal
+
+DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 
5891, 5892, 5893)"
+HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2;
+SRC_URI="
+   mirror://gnu-alpha/libidn/${P}.tar.gz
+"
+
+LICENSE="GPL-2+ LGPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~ppc-aix 
~x64-freebsd ~x86-freebsd ~hppa-hpux ~amd64-linux ~arm-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND="
+   dev-libs/libunistring[${MULTILIB_USEDEP}]
+"
+DEPEND="
+   ${RDEPEND}
+   dev-lang/perl
+   sys-apps/help2man
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.12-Werror.patch
+   "${FILESDIR}"/${PN}-0.12-examples.patch
+   "${FILESDIR}"/${PN}-0.12-gengetopt.patch
+   "${FILESDIR}"/${PN}-0.12-noinstall.patch
+)
+
+src_prepare() {
+   default
+
+   eautoreconf
+
+   # tr46map.c is already present
+   touch gentr46map -r tr46map.c
+
+   multilib_copy_sources
+}
+
+multilib_src_configure() {
+   econf \
+   $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+   default
+
+   prune_libtool_files
+}



[gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/, sys-cluster/sanlock/files/

2017-01-01 Thread Marc Schiffbauer
commit: 54c9e81337a454689d400a290d416f4590d32c97
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Mon Jan  2 00:16:38 2017 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Mon Jan  2 00:17:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54c9e813

sys-cluster/sanlock: added new package

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-cluster/sanlock/Manifest |  1 +
 sys-cluster/sanlock/files/sanlock.initd  |  9 
 sys-cluster/sanlock/files/wdmd.initd | 12 +
 sys-cluster/sanlock/metadata.xml | 12 +
 sys-cluster/sanlock/sanlock-3.4.0.ebuild | 83 
 5 files changed, 117 insertions(+)

diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest
new file mode 100644
index ..7a3cd9c
--- /dev/null
+++ b/sys-cluster/sanlock/Manifest
@@ -0,0 +1 @@
+DIST sanlock-3.4.0.tar.xz 157016 SHA256 
b4b18eb0af1bfc730a037f9da7dd84777c9a4ceb1a1ac2e577705124c4c9e891 SHA512 
8a10faaa5b9ce9f0506ca16620ad482804c9ca860b84a60a6f0b525a256059229a202163d366a57fb59169c0f4f822ced570b42562e412747f6f716509341f19
 WHIRLPOOL 
500ccc9ab323bed28fc6b65dbdc04588deae03d3bb500ab623b9b922c436db896b793965bf4e780800138cd780d4fb659a952dc064bb01065e629c69062c330e

diff --git a/sys-cluster/sanlock/files/sanlock.initd 
b/sys-cluster/sanlock/files/sanlock.initd
new file mode 100644
index ..30a5c1e
--- /dev/null
+++ b/sys-cluster/sanlock/files/sanlock.initd
@@ -0,0 +1,9 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+pidfile="/var/run/snlock.pid"
+command="/usr/sbin/snlock"
+command_args="daemon ${SANLOCKOPTS:-"-U sanlock -G sanlock"}"
+

diff --git a/sys-cluster/sanlock/files/wdmd.initd 
b/sys-cluster/sanlock/files/wdmd.initd
new file mode 100644
index ..70140f0
--- /dev/null
+++ b/sys-cluster/sanlock/files/wdmd.initd
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+pidfile="/var/run/wdmd.pid"
+command="/usr/sbin/wdmd"
+command_args="${WDMDOPTS:-"-G sanlock"}"
+
+start_pre() {
+   $command -p || exit 1
+}

diff --git a/sys-cluster/sanlock/metadata.xml b/sys-cluster/sanlock/metadata.xml
new file mode 100644
index ..f854e20
--- /dev/null
+++ b/sys-cluster/sanlock/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   msch...@gentoo.org
+   Marc Schiffbauer
+   
+   
+   clus...@gentoo.org
+   Gentoo Cluster Project
+   
+

diff --git a/sys-cluster/sanlock/sanlock-3.4.0.ebuild 
b/sys-cluster/sanlock/sanlock-3.4.0.ebuild
new file mode 100644
index ..9e0358e
--- /dev/null
+++ b/sys-cluster/sanlock/sanlock-3.4.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+inherit linux-info python-r1 systemd user
+
+DESCRIPTION="shared storage lock manager"
+HOMEPAGE="https://fedorahosted.org/sanlock/;
+SRC_URI="https://git.fedorahosted.org/cgit/${PN}.git/snapshot/${P}.tar.xz;
+
+LICENSE="LGPL-2+ GPL-2 GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   sys-apps/util-linux
+   python? ( ${PYTHON_DEPS} )
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+   local warning="You need to have CONFIG_SOFT_WATCHDOG enabled in your 
kernel for wdmd"
+   if linux_config_exists; then
+   if ! linux_chkconfig_present SOFT_WATCHDOG; then
+   ewarn ""
+   ewarn "$warning"
+   ewarn ""
+   fi
+   else
+   ewarn ""
+   ewarn "Could not be checked automatically: $warning"
+   ewarn ""
+   fi
+}
+
+pkg_preinst() {
+   enewuser sanlock
+   enewgroup sanlock
+}
+
+src_compile() {
+   for d in wdmd src fence_sanlock reset; do
+   cd $d; emake; cd ..
+   done
+   if use python; then
+   cd python; python_foreach_impl emake; cd ..
+   fi
+}
+
+src_install() {
+   for d in wdmd src fence_sanlock reset; do
+   cd $d; emake DESTDIR="${D}" LIBDIR="${EROOT}usr/$(get_libdir)" 
install; cd ..
+   done
+   if use python; then
+   cd python; python_foreach_impl emake DESTDIR="${D}" install; cd 
..
+   fi
+
+   # config
+   dodir /etc/wdmd.d
+   dodir /etc/sanlock
+   insinto /etc/sanlock
+   doins src/sanlock.conf
+
+   # init
+   newconfd init.d/sanlock.sysconfig sanlock
+   newconfd init.d/wdmd.sysconfig wdmd
+   newinitd "${FILESDIR}"/sanlock.initd sanlock
+   newinitd "${FILESDIR}"/wdmd.initd wdmd
+   #doinitd ${FILESDIR}/sanlk-resetd.initd
+   

[gentoo-commits] repo/gentoo:master commit in: sys-kernel/genkernel/

2017-01-01 Thread Matt Thode
commit: a406d1eebaee39daa7b2fcdaeac0da5b6c4c42fe
Author: Matthew Thode  gentoo  org>
AuthorDate: Mon Jan  2 00:11:16 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Mon Jan  2 00:11:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a406d1ee

sys-kernel/genkernel: remove jankey revbump

Package-Manager: portage-2.3.0

 sys-kernel/genkernel/Manifest|   2 -
 sys-kernel/genkernel/genkernel-3.5.0.6-r1.ebuild | 157 ---
 2 files changed, 159 deletions(-)

diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest
index 1ebd7d8..fa3ba9c 100644
--- a/sys-kernel/genkernel/Manifest
+++ b/sys-kernel/genkernel/Manifest
@@ -1,6 +1,5 @@
 DIST LVM2.2.02.88.tgz 1029151 SHA256 
a129d1d3949524da7d6d2a67218254baea02df06a6744faa5808a4182b2fb432 SHA512 
5c334c2c78220f4f9f082a74cbf0b156e96f2a07b5e55f054ff70c752ada97a67f83fa1d89c02accb7cbe5a62e356588831d96a102b7bf16cdce2591d4e37e4b
 WHIRLPOOL 
b30a1f2403e71ff6fb381ec82291018632e1d10258dd615efae4e39077a304a66271013247793390f57c26886599d8bad8f4b896d230f3e4f846e74c12282f71
 DIST busybox-1.20.2.tar.bz2 2186738 SHA256 
eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882 SHA512 
089b67cd920f332daf910711739b1e55ba4c76cfa2122dfe5464432e0d76d3af8327837ebc3cc9954deef3e8f766d16a1928aecb2c169fe3de5a722eea7ea3dd
 WHIRLPOOL 
aa8fec92d0ac8bb246dea7353537d425a5fecfa0bb807d0e291c7351e8289b84aab83303c45b75f9b7a98cd10177e210511064f0709425c2f84b069fe6a06420
-DIST busybox-1.26.0.tar.bz2 2143958 SHA256 
3ad227375ee870d529007f6ce83f173b8bd5a37df624ecb460295554261c0f4c SHA512 
9e38c2f4c5ddb6c3a184170b5526c1a78cf53a575ed359fb18c407976cab9788fa95a26ca2d4e5c32e1d639890944d98e118149ee1402b18fe085b0baf0186d3
 WHIRLPOOL 
c8a7419bd711d3e0249807ef9f9ff6123ff8d0767479ea3b3e54ef48f6132514942bc37b79334ca2afd6009d32c5e242712bd6b3995f49904c33040c66df9dcc
 DIST dmraid-1.0.0.rc16-3.tar.bz2 232743 SHA256 
93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8 SHA512 
7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e
 WHIRLPOOL 
87915ea0013766da8a9722b437bfe146b4b2c7560a7814ac6caab92054ddc3b4b59ceb4d413609d5eaab92b5cee67886ade7924455f1dba19f1b8dabc25d3498
 DIST fuse-2.8.6.tar.gz 505334 SHA256 
1ec1913e38f09b2a9ec1579e1800805b5e2c747d1dce515e316dbb665ca139d6 SHA512 
03cacc45c8ba6700fcdfa9064ef4e10d3ad6fc0e4fc49d41693de2caf03d44513d449b00a7c5d200d055d9481821252509259f5f3d2d6127fa51957a006a90fd
 WHIRLPOOL 
668c01f5ae9742f3e70248d6d2b57cbeaa0decf93d5f7987550fe54d4ebdb6e445ff841e8d36a60a4824c114651b8a93b118e15b8a00ac30ddc813e583fa2b51
 DIST genkernel-3.4.45.1.tar.bz2 265391 SHA256 
8285aff3b27a56a2bbb9c8d91d8c8332f8fc15df7eb892f618859a5a74f92981 SHA512 
4333cb4d2eceb8d25bd7e86c0a9cc11576926eceabed9e00a52ab6e3b341a8beb0c83e61bf1ffb5e865956d54be145f971a89a992496837f539def449efde3a4
 WHIRLPOOL 
3e9d94e7e6a3836ee327cb53eef746904eb2a146375508ca3f5cf25dfcb2ee98e7b23dd21aae3d3bd370630354a4ea86e2c0e50d3394b61ca82b4e63b3c99676
@@ -17,7 +16,6 @@ DIST genkernel-3.5.0.2.tar.xz 285696 SHA256 
757774319091eaa9477cf814efc7e8be0e74
 DIST genkernel-3.5.0.3.tar.xz 283456 SHA256 
0b9714561569c203222cf50af57f246761ada0ac3991c165ed782804b0c031da SHA512 
27f6bd00727d685eb81853696d53a0f3efc8bac311c1f562f15ad7f56043687487fbe8367df98ddb976665e732eac107ced63735a731b03e6ca79c3de292cff7
 WHIRLPOOL 
20f4fb97c7476c7ee96ffa8e403c167d18a48c666f409dfd4c060dc108a47b498256414d8e986433d25babc86cc508be81c70fde3f5bb3e25f9c2f0b242b
 DIST genkernel-3.5.0.4.tar.xz 283608 SHA256 
4555681354d97cbed2e0a696ab62937bede4f1efb450235db7438197952154c6 SHA512 
3edd55f0f83fe2f85099fe8fc56d97a9179596d42d0495810494441ac72ab146a5d4a071ca9955503b54d7af03423b9387d0edb8e4ffec56ffd8de03cde13ffa
 WHIRLPOOL 
8a9bc392a1ec80bd05ec7e0f16afe3eacd0519607b5c2502d0389f9ea1ecb483b57e013d627b5e899547e8b38a6360095a719d902c12f7b1addb349c670c
 DIST genkernel-3.5.0.5.tar.xz 284000 SHA256 
f3d4e5e878100566c1d12b9c9c4e081384a2ae89c21f9dd94bb9100c582a7872 SHA512 
9441dc0aac22ab33f3c8600f0e775d440197af0d0821f17fd6dea5a9de0b4758a3cd34e3cd7130add41a2af39106b4a7478e1b553dbd67fabfcd960f09ef0364
 WHIRLPOOL 
76ff696d0168a226e371b50feed983edb15cceebff9054ad926cd66b3785df6bf4b6587d02b8a8e82b1173622e0bfb7a28203558ebdf94d825faecedb83409ec
-DIST genkernel-3.5.0.6-r1.tar.xz 284724 SHA256 
10df4aff0a4ee5c2464c1715a3bc32cda2a1a2aaf6009ec4132b4ac0bf4a49c1 SHA512 
d8692991437dc8a8f0e533e7f5bc9105e2d5ae4fa9a658586c8747e8840b01e58a0cf83aa132cecc4013ddad728cbedb2457157bcff48b14083358ce1961ce82
 WHIRLPOOL 
a7bb760dbf2f0f53a9bcefceefa8930a7245ec6d69a0431f8aa07cfb9a5372ba00a612e86fde0f3ec92e4eb715351854d8e7020da145182b35811703413abbf1
 DIST genkernel-3.5.0.6.tar.xz 284972 SHA256 
03e96d05ace6e418fd49c4662ac56cad64005ee112f1ab69cf9bdc61fd903bf8 SHA512 
113923bf77dfc0edc0ab16016a09ff3fc0fa3b37101575c934c5b38b43c8bdc40a0dc8795758b4f92c507e8b28da1912b21ca18bc07c43e7d1cc10bed0734322
 WHIRLPOOL 

[gentoo-commits] repo/gentoo:master commit in: sys-kernel/genkernel/

2017-01-01 Thread Matt Thode
commit: a6df655efc019be2da9c700bb9d1e271ef299db9
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Jan  1 23:37:05 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Sun Jan  1 23:40:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6df655e

sys-kernel/genkernel: bup for updated busybox for musl compat

Package-Manager: portage-2.3.0

 sys-kernel/genkernel/Manifest|   2 +
 sys-kernel/genkernel/genkernel-3.5.0.6-r1.ebuild | 157 +++
 2 files changed, 159 insertions(+)

diff --git a/sys-kernel/genkernel/Manifest b/sys-kernel/genkernel/Manifest
index fa3ba9c..1ebd7d8 100644
--- a/sys-kernel/genkernel/Manifest
+++ b/sys-kernel/genkernel/Manifest
@@ -1,5 +1,6 @@
 DIST LVM2.2.02.88.tgz 1029151 SHA256 
a129d1d3949524da7d6d2a67218254baea02df06a6744faa5808a4182b2fb432 SHA512 
5c334c2c78220f4f9f082a74cbf0b156e96f2a07b5e55f054ff70c752ada97a67f83fa1d89c02accb7cbe5a62e356588831d96a102b7bf16cdce2591d4e37e4b
 WHIRLPOOL 
b30a1f2403e71ff6fb381ec82291018632e1d10258dd615efae4e39077a304a66271013247793390f57c26886599d8bad8f4b896d230f3e4f846e74c12282f71
 DIST busybox-1.20.2.tar.bz2 2186738 SHA256 
eb13ff01dae5618ead2ef6f92ba879e9e0390f9583bd545d8789d27cf39b6882 SHA512 
089b67cd920f332daf910711739b1e55ba4c76cfa2122dfe5464432e0d76d3af8327837ebc3cc9954deef3e8f766d16a1928aecb2c169fe3de5a722eea7ea3dd
 WHIRLPOOL 
aa8fec92d0ac8bb246dea7353537d425a5fecfa0bb807d0e291c7351e8289b84aab83303c45b75f9b7a98cd10177e210511064f0709425c2f84b069fe6a06420
+DIST busybox-1.26.0.tar.bz2 2143958 SHA256 
3ad227375ee870d529007f6ce83f173b8bd5a37df624ecb460295554261c0f4c SHA512 
9e38c2f4c5ddb6c3a184170b5526c1a78cf53a575ed359fb18c407976cab9788fa95a26ca2d4e5c32e1d639890944d98e118149ee1402b18fe085b0baf0186d3
 WHIRLPOOL 
c8a7419bd711d3e0249807ef9f9ff6123ff8d0767479ea3b3e54ef48f6132514942bc37b79334ca2afd6009d32c5e242712bd6b3995f49904c33040c66df9dcc
 DIST dmraid-1.0.0.rc16-3.tar.bz2 232743 SHA256 
93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8 SHA512 
7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e
 WHIRLPOOL 
87915ea0013766da8a9722b437bfe146b4b2c7560a7814ac6caab92054ddc3b4b59ceb4d413609d5eaab92b5cee67886ade7924455f1dba19f1b8dabc25d3498
 DIST fuse-2.8.6.tar.gz 505334 SHA256 
1ec1913e38f09b2a9ec1579e1800805b5e2c747d1dce515e316dbb665ca139d6 SHA512 
03cacc45c8ba6700fcdfa9064ef4e10d3ad6fc0e4fc49d41693de2caf03d44513d449b00a7c5d200d055d9481821252509259f5f3d2d6127fa51957a006a90fd
 WHIRLPOOL 
668c01f5ae9742f3e70248d6d2b57cbeaa0decf93d5f7987550fe54d4ebdb6e445ff841e8d36a60a4824c114651b8a93b118e15b8a00ac30ddc813e583fa2b51
 DIST genkernel-3.4.45.1.tar.bz2 265391 SHA256 
8285aff3b27a56a2bbb9c8d91d8c8332f8fc15df7eb892f618859a5a74f92981 SHA512 
4333cb4d2eceb8d25bd7e86c0a9cc11576926eceabed9e00a52ab6e3b341a8beb0c83e61bf1ffb5e865956d54be145f971a89a992496837f539def449efde3a4
 WHIRLPOOL 
3e9d94e7e6a3836ee327cb53eef746904eb2a146375508ca3f5cf25dfcb2ee98e7b23dd21aae3d3bd370630354a4ea86e2c0e50d3394b61ca82b4e63b3c99676
@@ -16,6 +17,7 @@ DIST genkernel-3.5.0.2.tar.xz 285696 SHA256 
757774319091eaa9477cf814efc7e8be0e74
 DIST genkernel-3.5.0.3.tar.xz 283456 SHA256 
0b9714561569c203222cf50af57f246761ada0ac3991c165ed782804b0c031da SHA512 
27f6bd00727d685eb81853696d53a0f3efc8bac311c1f562f15ad7f56043687487fbe8367df98ddb976665e732eac107ced63735a731b03e6ca79c3de292cff7
 WHIRLPOOL 
20f4fb97c7476c7ee96ffa8e403c167d18a48c666f409dfd4c060dc108a47b498256414d8e986433d25babc86cc508be81c70fde3f5bb3e25f9c2f0b242b
 DIST genkernel-3.5.0.4.tar.xz 283608 SHA256 
4555681354d97cbed2e0a696ab62937bede4f1efb450235db7438197952154c6 SHA512 
3edd55f0f83fe2f85099fe8fc56d97a9179596d42d0495810494441ac72ab146a5d4a071ca9955503b54d7af03423b9387d0edb8e4ffec56ffd8de03cde13ffa
 WHIRLPOOL 
8a9bc392a1ec80bd05ec7e0f16afe3eacd0519607b5c2502d0389f9ea1ecb483b57e013d627b5e899547e8b38a6360095a719d902c12f7b1addb349c670c
 DIST genkernel-3.5.0.5.tar.xz 284000 SHA256 
f3d4e5e878100566c1d12b9c9c4e081384a2ae89c21f9dd94bb9100c582a7872 SHA512 
9441dc0aac22ab33f3c8600f0e775d440197af0d0821f17fd6dea5a9de0b4758a3cd34e3cd7130add41a2af39106b4a7478e1b553dbd67fabfcd960f09ef0364
 WHIRLPOOL 
76ff696d0168a226e371b50feed983edb15cceebff9054ad926cd66b3785df6bf4b6587d02b8a8e82b1173622e0bfb7a28203558ebdf94d825faecedb83409ec
+DIST genkernel-3.5.0.6-r1.tar.xz 284724 SHA256 
10df4aff0a4ee5c2464c1715a3bc32cda2a1a2aaf6009ec4132b4ac0bf4a49c1 SHA512 
d8692991437dc8a8f0e533e7f5bc9105e2d5ae4fa9a658586c8747e8840b01e58a0cf83aa132cecc4013ddad728cbedb2457157bcff48b14083358ce1961ce82
 WHIRLPOOL 
a7bb760dbf2f0f53a9bcefceefa8930a7245ec6d69a0431f8aa07cfb9a5372ba00a612e86fde0f3ec92e4eb715351854d8e7020da145182b35811703413abbf1
 DIST genkernel-3.5.0.6.tar.xz 284972 SHA256 
03e96d05ace6e418fd49c4662ac56cad64005ee112f1ab69cf9bdc61fd903bf8 SHA512 
113923bf77dfc0edc0ab16016a09ff3fc0fa3b37101575c934c5b38b43c8bdc40a0dc8795758b4f92c507e8b28da1912b21ca18bc07c43e7d1cc10bed0734322
 WHIRLPOOL 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/horst/

2017-01-01 Thread Michael Weber
commit: 39d98492885f2bbe5c54c382d5bbce522acc7b76
Author: Michael Weber  gentoo  org>
AuthorDate: Sun Jan  1 23:30:52 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Sun Jan  1 23:32:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d98492

net-wireless/horst: Update live ebuild.

Package-Manager: portage-2.2.28

 net-wireless/horst/horst-.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-wireless/horst/horst-.ebuild 
b/net-wireless/horst/horst-.ebuild
index 5212aed..58222b0 100644
--- a/net-wireless/horst/horst-.ebuild
+++ b/net-wireless/horst/horst-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,7 +7,7 @@ EAPI=5
 inherit toolchain-funcs git-r3
 
 DESCRIPTION="Small 802.11 wireless LAN analyzer"
-HOMEPAGE="http://br1.einfach.org/tech/horst/;
+HOMEPAGE="https://github.com/br101/horst;
 EGIT_REPO_URI="https://github.com/br101/${PN};
 
 LICENSE="GPL-2"
@@ -31,7 +31,7 @@ src_compile() {
 src_install() {
dosbin ${PN}{,.sh}
dodoc README.md
-   doman ${PN}.1
+   doman ${PN}.8 ${PN}.conf.5
insinto /etc
doins ${PN}.conf
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/stunnel/

2017-01-01 Thread Anthony G. Basile
commit: d2f06464c9a4a783d5a32fbdac580e09d742f88c
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Jan  1 23:07:28 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Jan  1 23:07:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2f06464

net-misc/stunnel: version bump to 5.39 and EAPI=6

Package-Manager: portage-2.3.0

 net-misc/stunnel/Manifest|  1 +
 net-misc/stunnel/stunnel-5.39.ebuild | 96 
 2 files changed, 97 insertions(+)

diff --git a/net-misc/stunnel/Manifest b/net-misc/stunnel/Manifest
index 382aa35..04a3e8f 100644
--- a/net-misc/stunnel/Manifest
+++ b/net-misc/stunnel/Manifest
@@ -3,3 +3,4 @@ DIST stunnel-5.35.tar.gz 645148 SHA256 
ffa386ae4c825f35f35157c285e7402a6d58779ad
 DIST stunnel-5.36.tar.gz 645205 SHA256 
eb8952fcfdfcdf5056a1f1a78e1ec5014b819c5f5f7599b924dc4490ffe4b5ea SHA512 
663dd155aab17b628fd1ef8ae1c604efc0cdf026566e98fbff16ba4da5b12b06cd6801bf4f604a9b2ea98d993c184ce97c63c1f716fa86b5e630e5fd504e3317
 WHIRLPOOL 
12f95a119b840b6afdcaf4d41ee325896bc89feda9ed172651dee1b52a3231fe1599c8fb6c69c1a0f93b342a3b785fb3d002a94a31b14678052313f224c48d0e
 DIST stunnel-5.37.tar.gz 645336 SHA256 
d0e3530e3effc64fdec792c71791d4937c6b8bd3b9ea4895c6bb6526dcd0d241 SHA512 
b42dd9e0ea7d024e0729a0db9caeecfbe3296464f475caa9ee7927c42d762c51a597b6c3a261151bb863e4696fc7cc1c6fe270eb02731e11b29cd60e440a
 WHIRLPOOL 
db272f71cba5a7ff516c159c07adc953b7c1c5ce731161fd1bd9827e529ad64f7b7a5de6105ecee3fe225d9044846430c749fcd23b759098d7c7b63cc1b731ba
 DIST stunnel-5.38.tar.gz 647774 SHA256 
09ada29ba1683ab1fd1f31d7bed8305127a0876537e836a40cb83851da034fd5 SHA512 
29adae28955639ab7732ff0d7ea3c097211babcd0c8932717c582f5e38279811a0a209f1daa2c6a22cf69ef28b8b67439038625ba58683c268c322b19e43ac58
 WHIRLPOOL 
ae549e6d498a0bf31591b32f56c4d97141e00485d66aa50be23c5022e9c73f5d51c91d685bf135bf12a365a9b56d53c2dded042ecd8810cbe19e74ca7f89cc5b
+DIST stunnel-5.39.tar.gz 647101 SHA256 
288c087a50465390d05508068ac76c8418a21fae7275febcc63f041ec5b04dee SHA512 
1a59ca3bedd00730598e5bdee61d1968e76d3b1c0bb666fcab5103f5ba6fac0585612198baab180ac0745f658041510fe0115ec8b111da6fd7c161a4ec301458
 WHIRLPOOL 
b4cb9c164b65a6091cde9867cc2386083b5d7224d98f19a84021408b0827eb117a9fa1ef3c3d8e9c85d28d8988dbddaf37ed03235d115d9e284d0ef24ddbe5fa

diff --git a/net-misc/stunnel/stunnel-5.39.ebuild 
b/net-misc/stunnel/stunnel-5.39.ebuild
new file mode 100644
index ..4275ec9
--- /dev/null
+++ b/net-misc/stunnel/stunnel-5.39.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit ssl-cert multilib systemd user
+
+DESCRIPTION="TLS/SSL - Port Wrapper"
+HOMEPAGE="http://www.stunnel.org/index.html;
+SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
+   http://www.usenix.org.uk/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
+   
http://ftp.nluug.nl/pub/networking/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
+   http://www.namesdir.com/mirrors/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
+   http://stunnel.cybermirror.org/archive/${PV%%.*}.x/${P}.tar.gz
+   http://mirrors.zerg.biz/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
+   ftp://mirrors.go-parts.com/stunnel/archive/${PV%%.*}.x/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="ipv6 libressl selinux stunnel3 tcpd"
+
+DEPEND="tcpd? ( sys-apps/tcp-wrappers )
+   !libressl? ( dev-libs/openssl:0= )
+   libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}
+   stunnel3? ( dev-lang/perl )
+   selinux? ( sec-policy/selinux-stunnel )"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup stunnel
+   enewuser stunnel -1 -1 -1 stunnel
+}
+
+src_prepare() {
+   # Hack away generation of certificate
+   sed -i -e "s/^install-data-local:/do-not-run-this:/" \
+   tools/Makefile.in || die "sed failed"
+
+   # libressl compat
+   eapply "${FILESDIR}"/stunnel-compat-libressl.patch
+
+   echo "CONFIG_PROTECT=\"/etc/stunnel/stunnel.conf\"" > "${T}"/20stunnel
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir="${EPREFIX}/usr/$(get_libdir)" \
+   $(use_enable ipv6) \
+   $(use_enable tcpd libwrap) \
+   --with-ssl="${EPREFIX}"/usr \
+   --disable-fips
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+   rm -rf "${ED}"/usr/share/doc/${PN}
+   rm -f "${ED}"/etc/stunnel/stunnel.conf-sample \
+   "${ED}"/usr/share/man/man8/stunnel.{fr,pl}.8
+   use stunnel3 || rm -f "${ED}"/usr/bin/stunnel3
+
+   # The binary was moved to /usr/bin with 4.21,
+   # symlink for backwards compatibility
+   dosym ../bin/stunnel /usr/sbin/stunnel
+
+   dodoc AUTHORS BUGS CREDITS PORTS README 

[gentoo-commits] repo/gentoo:master commit in: app-backup/untangle-https-backup/

2017-01-01 Thread Michael Orlitzky
commit: c88bfa20916a0b2b102ad90347f6cc3ce6f1b753
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Jan  1 22:50:14 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Jan  1 22:50:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c88bfa20

app-backup/untangle-https-backup: replace v0.0.5 with v0.0.6.

Package-Manager: portage-2.3.0

 app-backup/untangle-https-backup/Manifest   | 2 +-
 ...gle-https-backup-0.0.5.ebuild => untangle-https-backup-0.0.6.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-backup/untangle-https-backup/Manifest 
b/app-backup/untangle-https-backup/Manifest
index 9ab67c4..2b45823 100644
--- a/app-backup/untangle-https-backup/Manifest
+++ b/app-backup/untangle-https-backup/Manifest
@@ -1 +1 @@
-DIST untangle-https-backup-0.0.5.tar.gz 15728 SHA256 
7061c5d289aedb0f02281458ebc70f0bb10e413aeb9eb813ac2ee9432dd1459f SHA512 
a1db06c770fc2989daed9666d8e0dfc4fe045a44ac18d25ff7fb9e3ba050c0107636297063e407f1c1e5362e81b4587e24df0acbfe51a9e1218af0e0bfb59d47
 WHIRLPOOL 
09fdd55525181b3b757d244e0c04fb8bf7743f20e3c256442314e66ec8d1237e701f25daa44492910e88558c91cc12ded968f27d6e1f9dba5c8a67945ae5c671
+DIST untangle-https-backup-0.0.6.tar.gz 15730 SHA256 
91f5a308557d89de50d4f741c623b3b2073878bae44d2efa64b9237b06d18baa SHA512 
a7854fe23faba88ee21e3bc9aaaedc54aefc58d8cd844d200d184ddffcff3cc5c90ff429464914e89cbfc4651057007ad328a665ed706d65ba3e1bda87965da1
 WHIRLPOOL 
913bec9d3bd291798688aa9a1cda9af8fbd746574401d3387f42e7f32bcd817e34702e498594012db19b06ff214b997bd06b0a0712e4690d9549cb5df5a06770

diff --git 
a/app-backup/untangle-https-backup/untangle-https-backup-0.0.5.ebuild 
b/app-backup/untangle-https-backup/untangle-https-backup-0.0.6.ebuild
similarity index 100%
rename from app-backup/untangle-https-backup/untangle-https-backup-0.0.5.ebuild
rename to app-backup/untangle-https-backup/untangle-https-backup-0.0.6.ebuild



[gentoo-commits] repo/gentoo:master commit in: kde-frameworks/sonnet/

2017-01-01 Thread Andreas Sturmlechner
commit: 335949ee475f372a92f8a3a2ff28e2f5c0c3b931
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jan  1 22:42:36 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jan  1 22:44:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=335949ee

kde-frameworks/sonnet: Fix configure w/ future hunspell

Package-Manager: portage-2.3.0

 kde-frameworks/sonnet/sonnet-5.26.0.ebuild | 10 +-
 kde-frameworks/sonnet/sonnet-5.29.0.ebuild | 10 +-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/sonnet/sonnet-5.26.0.ebuild 
b/kde-frameworks/sonnet/sonnet-5.26.0.ebuild
index 18c39b4..27fe13a 100644
--- a/kde-frameworks/sonnet/sonnet-5.26.0.ebuild
+++ b/kde-frameworks/sonnet/sonnet-5.26.0.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
 # $Id$
 
@@ -21,6 +21,14 @@ DEPEND="${RDEPEND}
nls? ( $(add_qt_dep linguist-tools) )
 "
 
+src_prepare() {
+   kde5_src_prepare
+
+   # ensure at least one version-free atom so that hunspell is found
+   sed -e "/FIND_LIBRARY(HUNSPELL_LIBRARIES/ 
s/\bhunspell\b-[0-9.]*/hunspell/" \
+   -i cmake/FindHUNSPELL.cmake || die
+}
+
 src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package aspell ASPELL)

diff --git a/kde-frameworks/sonnet/sonnet-5.29.0.ebuild 
b/kde-frameworks/sonnet/sonnet-5.29.0.ebuild
index 46783f1..5b0ae24 100644
--- a/kde-frameworks/sonnet/sonnet-5.29.0.ebuild
+++ b/kde-frameworks/sonnet/sonnet-5.29.0.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
 # $Id$
 
@@ -21,6 +21,14 @@ DEPEND="${RDEPEND}
nls? ( $(add_qt_dep linguist-tools) )
 "
 
+src_prepare() {
+   kde5_src_prepare
+
+   # ensure at least one version-free atom so that hunspell is found
+   sed -e "/FIND_LIBRARY(HUNSPELL_LIBRARIES/ 
s/\bhunspell\b-[0-9.]*/hunspell/" \
+   -i cmake/FindHUNSPELL.cmake || die
+}
+
 src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package aspell ASPELL)



[gentoo-commits] repo/gentoo:master commit in: net-misc/tor/

2017-01-01 Thread Agostino Sarubbo
commit: 679b301e8b5570c6e67d4610d6f837ab1ac78928
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan  1 22:39:55 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan  1 22:39:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679b301e

net-misc/tor: amd64 stable wrt bug #603174

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

 net-misc/tor/tor-0.2.8.12.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/tor/tor-0.2.8.12.ebuild b/net-misc/tor/tor-0.2.8.12.ebuild
index ee36db7..4058349 100644
--- a/net-misc/tor/tor-0.2.8.12.ebuild
+++ b/net-misc/tor/tor-0.2.8.12.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
 # $Id$
 
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PF}"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
+KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
 IUSE="-bufferevents libressl scrypt seccomp selinux stats systemd 
tor-hardening transparent-proxy test web"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/curl/

2017-01-01 Thread Anthony G. Basile
commit: bf82aaeb102efc049c6cfde000a7601c2e648dcd
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Jan  1 22:37:44 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Jan  1 22:37:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf82aaeb

net-misc/curl: remove 7.52.1, bug #603574c7

Package-Manager: portage-2.3.0

 net-misc/curl/curl-7.52.1.ebuild | 251 ---
 1 file changed, 251 deletions(-)

diff --git a/net-misc/curl/curl-7.52.1.ebuild b/net-misc/curl/curl-7.52.1.ebuild
deleted file mode 100644
index 970d65c..
--- a/net-misc/curl/curl-7.52.1.ebuild
+++ /dev/null
@@ -1,251 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="6"
-
-inherit autotools eutils prefix multilib-minimal
-
-DESCRIPTION="A Client that groks URLs"
-HOMEPAGE="https://curl.haxx.se/;
-SRC_URI="https://curl.haxx.se/download/${P}.tar.bz2;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~mips ~ppc ~ppc64 x86 ~ppc-aix ~x64-freebsd 
~x86-freebsd ~hppa-hpux ~amd64-linux ~arm-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 ~x86-interix ~amd64-linux ~arm-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE="adns http2 idn ipv6 kerberos ldap metalink rtmp samba ssh ssl 
static-libs test threads"
-IUSE+=" curl_ssl_axtls curl_ssl_gnutls curl_ssl_libressl curl_ssl_mbedtls 
curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl curl_ssl_winssl"
-IUSE+=" elibc_Winnt"
-
-#lead to lots of false negatives, bug #285669
-RESTRICT="test"
-
-RDEPEND="ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
-   ssl? (
-   curl_ssl_axtls? (
-   net-libs/axtls:0=[${MULTILIB_USEDEP}]
-   app-misc/ca-certificates
-   )
-   curl_ssl_gnutls? (
-   net-libs/gnutls:0=[static-libs?,${MULTILIB_USEDEP}]
-   dev-libs/nettle:0=[${MULTILIB_USEDEP}]
-   app-misc/ca-certificates
-   )
-   curl_ssl_libressl? (
-   dev-libs/libressl:0=[static-libs?,${MULTILIB_USEDEP}]
-   )
-   curl_ssl_mbedtls? (
-   net-libs/mbedtls:0=[${MULTILIB_USEDEP}]
-   app-misc/ca-certificates
-   )
-   curl_ssl_openssl? (
-   dev-libs/openssl:0=[static-libs?,${MULTILIB_USEDEP}]
-   )
-   curl_ssl_nss? (
-   dev-libs/nss:0[${MULTILIB_USEDEP}]
-   app-misc/ca-certificates
-   )
-   curl_ssl_polarssl? (
-   net-libs/polarssl:0=[${MULTILIB_USEDEP}]
-   app-misc/ca-certificates
-   )
-   )
-   http2? ( net-libs/nghttp2[${MULTILIB_USEDEP}] )
-   idn? ( net-dns/libidn2:0[static-libs?,${MULTILIB_USEDEP}] )
-   adns? ( net-dns/c-ares:0[${MULTILIB_USEDEP}] )
-   kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
-   metalink? ( >=media-libs/libmetalink-0.1.1[${MULTILIB_USEDEP}] )
-   rtmp? ( media-video/rtmpdump[${MULTILIB_USEDEP}] )
-   ssh? ( net-libs/libssh2[static-libs?,${MULTILIB_USEDEP}] )
-   sys-libs/zlib[${MULTILIB_USEDEP}]
-   abi_x86_32? (
-   !<=app-emulation/emul-linux-x86-baselibs-20140508-r13
-   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
-   )"
-
-# Do we need to enforce the same ssl backend for curl and rtmpdump? Bug #423303
-#  rtmp? (
-#  media-video/rtmpdump
-#  curl_ssl_gnutls? ( media-video/rtmpdump[gnutls] )
-#  curl_ssl_openssl? ( media-video/rtmpdump[-gnutls,ssl] )
-#  )
-
-# ssl providers to be added:
-# fbopenssl  $(use_with spnego)
-
-DEPEND="${RDEPEND}
-   >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
-   test? (
-   sys-apps/diffutils
-   dev-lang/perl
-   )"
-
-# c-ares must be disabled for threads
-# only one ssl provider can be enabled
-REQUIRED_USE="
-   curl_ssl_winssl? ( elibc_Winnt )
-   threads? ( !adns )
-   ssl? (
-   ^^ (
-   curl_ssl_axtls
-   curl_ssl_gnutls
-   curl_ssl_libressl
-   curl_ssl_mbedtls
-   curl_ssl_nss
-   curl_ssl_openssl
-   curl_ssl_polarssl
-   curl_ssl_winssl
-   )
-   )"
-
-DOCS=( CHANGES README docs/FEATURES docs/INTERNALS.md \
-   docs/MANUAL docs/FAQ docs/BUGS 

[gentoo-commits] proj/kde:master commit in: kde-misc/kolor-manager/files/, kde-misc/kolor-manager/

2017-01-01 Thread Andreas Sturmlechner
commit: ee6764e066c6801b7c6dc7f04def45d886a6e8c8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jan  1 22:31:10 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jan  1 22:31:40 2017 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=ee6764e0

kde-misc/kolor-manager: 1.1.0 version bump

Package-Manager: portage-2.3.0

 .../files/kolor-manager-1.1.0-deps.patch   | 32 ++
 kde-misc/kolor-manager/kolor-manager-1.1.0.ebuild  | 29 
 2 files changed, 61 insertions(+)

diff --git a/kde-misc/kolor-manager/files/kolor-manager-1.1.0-deps.patch 
b/kde-misc/kolor-manager/files/kolor-manager-1.1.0-deps.patch
new file mode 100644
index 000..2c2e9ad
--- /dev/null
+++ b/kde-misc/kolor-manager/files/kolor-manager-1.1.0-deps.patch
@@ -0,0 +1,32 @@
+commit 930dc70f4f4d815525067bbc098b82bbb223d965
+Author: Andreas Sturmlechner 
+Date:   Tue Nov 29 17:36:05 2016 +0100
+
+Add missing dep and feature_summary
+
+REVIEW: 129585
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 96d982c..9cd3834 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -24,11 +24,11 @@ INCLUDE(FeatureSummary)
+ INCLUDE(GenerateExportHeader)
+ 
+ FIND_PACKAGE(Qt5 REQUIRED COMPONENTS Core Widgets)
+-FIND_PACKAGE(KF5 REQUIRED COMPONENTS I18n ConfigWidgets)
++FIND_PACKAGE(KF5 REQUIRED COMPONENTS ConfigWidgets CoreAddons I18n)
+ 
+ FIND_PACKAGE(Oyranos REQUIRED)
+ FIND_PACKAGE(Synnefo REQUIRED)
+- 
++
+ 
+ INCLUDE_DIRECTORIES(${OYRANOS_INCLUDE_DIRS} ${XCM_INCLUDE_DIRS} 
${SYNNEFO_INCLUDE_DIR})
+ LINK_DIRECTORIES(
+@@ -77,3 +77,5 @@ ADD_CUSTOM_TARGET( debsrc
+ COMMENT Make a ${PROJECT_NAME} DEB source package
+ VERBATIM
+ )
++
++feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES 
FATAL_ON_MISSING_REQUIRED_PACKAGES)

diff --git a/kde-misc/kolor-manager/kolor-manager-1.1.0.ebuild 
b/kde-misc/kolor-manager/kolor-manager-1.1.0.ebuild
new file mode 100644
index 000..3997f64
--- /dev/null
+++ b/kde-misc/kolor-manager/kolor-manager-1.1.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="KControl module for Oyranos CMS cross desktop settings"
+HOMEPAGE="http://www.oyranos.org/kolormanager;
+SRC_URI="https://github.com/KDE/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+   $(add_frameworks_dep kconfigwidgets)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep ki18n)
+   $(add_qt_dep qtwidgets)
+   media-gfx/synnefo
+   media-libs/libXcm
+   >=media-libs/oyranos-0.9.6
+   x11-libs/libXrandr
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}"-deps.patch )



[gentoo-commits] proj/kde:master commit in: profiles/package.mask/

2017-01-01 Thread Andreas Sturmlechner
commit: 34e56626c5668f74157ddc378021db68be0122c5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jan  1 22:31:36 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jan  1 22:31:36 2017 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=34e56626

profiles: Mask kde-misc/kolor-manager-1.1.0

It depends on synnefo which depends on not yet bumped oyranos version.

 profiles/package.mask/misc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/profiles/package.mask/misc b/profiles/package.mask/misc
index 280fe99..5bd89f2 100644
--- a/profiles/package.mask/misc
+++ b/profiles/package.mask/misc
@@ -2,3 +2,4 @@
 # Depends on >=media-libs/oyranos-0.9.6, not bumped yet.
 # Bug #602318
 =media-gfx/synnefo-1.1.0
+=kde-misc/kolor-manager-1.1.0



[gentoo-commits] repo/gentoo:master commit in: app-backup/untangle-https-backup/

2017-01-01 Thread Michael Orlitzky
commit: 9034f040dc7a53f1e880227eb1a5db75dc74d595
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Jan  1 22:14:39 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Jan  1 22:14:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9034f040

app-backup/untangle-https-backup: replace v0.0.4 with v0.0.5.

Package-Manager: portage-2.3.0

 app-backup/untangle-https-backup/Manifest   | 2 +-
 ...gle-https-backup-0.0.4.ebuild => untangle-https-backup-0.0.5.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-backup/untangle-https-backup/Manifest 
b/app-backup/untangle-https-backup/Manifest
index 7c41a26..9ab67c4 100644
--- a/app-backup/untangle-https-backup/Manifest
+++ b/app-backup/untangle-https-backup/Manifest
@@ -1 +1 @@
-DIST untangle-https-backup-0.0.4.tar.gz 15603 SHA256 
ebd67322c22f69eaf42884bf4503b8590b71b9f6ea13e449a7dbe71aa5420968 SHA512 
15346786365e5ec1c8548ea1abb87d980442ac56839eef13626ebb39355c5715135885a887c6acaa2bec61b2ea6983d73354589c58afb8ccd076f85937277e0c
 WHIRLPOOL 
33d8dbe2401b8c6888b742ff0a6347b0c7c5014305a9a0c215dd4c25565aee4ba5956de7e10c05dccaf45b05811a78a23024421d0bc54eb3a60088a6a2e5c736
+DIST untangle-https-backup-0.0.5.tar.gz 15728 SHA256 
7061c5d289aedb0f02281458ebc70f0bb10e413aeb9eb813ac2ee9432dd1459f SHA512 
a1db06c770fc2989daed9666d8e0dfc4fe045a44ac18d25ff7fb9e3ba050c0107636297063e407f1c1e5362e81b4587e24df0acbfe51a9e1218af0e0bfb59d47
 WHIRLPOOL 
09fdd55525181b3b757d244e0c04fb8bf7743f20e3c256442314e66ec8d1237e701f25daa44492910e88558c91cc12ded968f27d6e1f9dba5c8a67945ae5c671

diff --git 
a/app-backup/untangle-https-backup/untangle-https-backup-0.0.4.ebuild 
b/app-backup/untangle-https-backup/untangle-https-backup-0.0.5.ebuild
similarity index 93%
rename from app-backup/untangle-https-backup/untangle-https-backup-0.0.4.ebuild
rename to app-backup/untangle-https-backup/untangle-https-backup-0.0.5.ebuild
index 596aee8..f1d0c5a 100644
--- a/app-backup/untangle-https-backup/untangle-https-backup-0.0.4.ebuild
+++ b/app-backup/untangle-https-backup/untangle-https-backup-0.0.5.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
 # $Id$
 



[gentoo-commits] repo/gentoo:master commit in: net-im/ejabberd/

2017-01-01 Thread Agostino Sarubbo
commit: e9b4daa5007e66345951490dfec4b3f46d1b7428
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan  1 21:49:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan  1 21:49:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b4daa5

net-im/ejabberd: amd64 stable wrt bug #603802

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

 net-im/ejabberd/ejabberd-16.09.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-im/ejabberd/ejabberd-16.09.ebuild 
b/net-im/ejabberd/ejabberd-16.09.ebuild
index cb5c9fe..5279eda 100644
--- a/net-im/ejabberd/ejabberd-16.09.ebuild
+++ b/net-im/ejabberd/ejabberd-16.09.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
 # $Id$
 
@@ -15,7 +15,7 @@ 
SRC_URI="http://www.process-one.net/downloads/${PN}/${PV}/${P}.tgz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
 REQUIRED_USE="mssql? ( odbc )"
 # TODO: Add 'tools' flag.
 IUSE="captcha debug full-xml hipe ldap mssql mysql nls odbc pam postgres redis



[gentoo-commits] repo/gentoo:master commit in: net-libs/zeromq/

2017-01-01 Thread Agostino Sarubbo
commit: ab1317edcb71714e4da2cd9d6ff19263010416a4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan  1 21:48:36 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan  1 21:48:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab1317ed

net-libs/zeromq: amd64 stable wrt bug #602208

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

 net-libs/zeromq/zeromq-4.1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/zeromq/zeromq-4.1.6.ebuild 
b/net-libs/zeromq/zeromq-4.1.6.ebuild
index 4101a7e..6d5b057 100644
--- a/net-libs/zeromq/zeromq-4.1.6.ebuild
+++ b/net-libs/zeromq/zeromq-4.1.6.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
 # $Id$
 
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/zeromq/zeromq4-1/releases/download/v${PV}/${P}.tar.g
 
 LICENSE="LGPL-3"
 SLOT="0/5"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux"
 IUSE="pgm static-libs test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-apps/kopete/

2017-01-01 Thread Agostino Sarubbo
commit: 43278a17824e68361887106ade0accebd5717380
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan  1 21:48:54 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan  1 21:48:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43278a17

kde-apps/kopete: amd64 stable wrt bug #586026

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

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

diff --git a/kde-apps/kopete/kopete-16.12.0.ebuild 
b/kde-apps/kopete/kopete-16.12.0.ebuild
index 3b10bfd..a2f1388 100644
--- a/kde-apps/kopete/kopete-16.12.0.ebuild
+++ b/kde-apps/kopete/kopete-16.12.0.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
 # $Id$
 
@@ -9,7 +9,7 @@ inherit kde4-base
 
 DESCRIPTION="KDE multi-protocol IM client"
 HOMEPAGE="https://kopete.kde.org 
https://www.kde.org/applications/internet/kopete;
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="debug ssl v4l"
 
 # tests hang, last checked for 4.2.96



[gentoo-commits] repo/gentoo:master commit in: dev-libs/jansson/

2017-01-01 Thread Agostino Sarubbo
commit: 6dd99266366879860c2cdf705a753c74fd9be97d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jan  1 21:48:42 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jan  1 21:48:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd99266

dev-libs/jansson: amd64 stable wrt bug #581954

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

 dev-libs/jansson/jansson-2.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/jansson/jansson-2.9.ebuild 
b/dev-libs/jansson/jansson-2.9.ebuild
index c353e57..e31a0bd 100644
--- a/dev-libs/jansson/jansson-2.9.ebuild
+++ b/dev-libs/jansson/jansson-2.9.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
 # $Id$
 
@@ -12,7 +12,7 @@ SRC_URI="http://www.digip.org/jansson/releases/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
 IUSE="doc static-libs"
 
 DEPEND="doc? ( >=dev-python/sphinx-1.0.4 )"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-mock/

2017-01-01 Thread Zac Medico
commit: 614191fff544c969326f7e5115bd3485115aa249
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Jan  1 21:18:17 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Jan  1 21:21:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=614191ff

dev-python/pytest-mock: add dev-python/setuptools_scm dep for bug 604298

Package-Manager: portage-2.3.3

 dev-python/pytest-mock/pytest-mock-1.5.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-1.5.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-1.5.0.ebuild
index a73076e..8c6a366 100644
--- a/dev-python/pytest-mock/pytest-mock-1.5.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-1.5.0.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
 # $Header: $
 
@@ -24,7 +24,8 @@ RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
dev-python/mock[python_targets_pypy]
)"
 DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]"
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]"
 
 src_prepare() {
if has_version dev-python/mock; then



[gentoo-commits] repo/gentoo:master commit in: sys-kernel/hardened-sources/

2017-01-01 Thread Anthony G. Basile
commit: 921a1143871811e162de7f371cac1381a2956171
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Jan  1 20:14:47 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Jan  1 20:15:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=921a1143

sys-kernel/hardened-sources: version bump to 4.8.15-r1

vanilla-4.8 + genpatches-4.8-18 + grsecurity-3.1-4.8.15-201612301949

Package-Manager: portage-2.3.0

 sys-kernel/hardened-sources/Manifest   |  2 +
 .../hardened-sources-4.8.15-r1.ebuild  | 45 ++
 2 files changed, 47 insertions(+)

diff --git a/sys-kernel/hardened-sources/Manifest 
b/sys-kernel/hardened-sources/Manifest
index 6165ca7..afd1119 100644
--- a/sys-kernel/hardened-sources/Manifest
+++ b/sys-kernel/hardened-sources/Manifest
@@ -9,6 +9,7 @@ DIST genpatches-4.4-9.base.tar.xz 304360 SHA256 
e9ba25000126256be414a273b154accc
 DIST genpatches-4.7-6.base.tar.xz 181504 SHA256 
2e42ee2c63f5b9984b0b6124431492c07f6e7439faf456e8af8bf323d69a7360 SHA512 
7269ecdefa9c4678ab1baa674ff4650357867684dacbaabe7d91d9465d6b5305b7413935d34aca65257fbe7c56c10762a5fe4d101f7351158e562961ab2d996b
 WHIRLPOOL 
ec30f0e7ae58674322a5d52f6639c5eb7c7824cda2d8ef9e4908c9998fe559e25e52b9ced60ecb7994f193f15fc016ecfe6fae29961bb7407a3ee14a656576d0
 DIST genpatches-4.7-8.base.tar.xz 233032 SHA256 
481e35ef24b98241adfd8277b2a9d682b4845721b02063b4b3eacc996c2e00c8 SHA512 
0c95980432f2598d6cd94a96ad228a88650ac240e7dc20adea87994d683af02a55dd2e09363d7b2732e098738ddc9151be5c03418b3308cdeb07b00c5a8ec48c
 WHIRLPOOL 
b632e17439180e6a498602a1ec0018b7b720ca53dbcf93a3157f667fc4c28816c84325868b0854b927470926e3008cb20f867ff6d4c8c5a93f16c110bf0dee39
 DIST genpatches-4.8-13.base.tar.xz 248140 SHA256 
4a2d23405042e57eedcd8884e1dc6f8af693a01822b3b4c25657be5768567fd3 SHA512 
d0a79b11cb57c428166b94e734edd09de64803decdeb4b3e55b87d3c73e3c42fccf00753e98fd0a0a21b522dcda4ef69d428bca4073849e334159e6a1732bfd5
 WHIRLPOOL 
d44e1a10b1c8e2b303d10a7d5fd2679fb2a6e2cefc0821ef1082111bdf54061789ff36765438079584c8bbf265fbb0f0da65cc4b48b83eb6e9c2af2ab8472d56
+DIST genpatches-4.8-17.base.tar.xz 276508 SHA256 
fc31b2404fda311360da1520669c9d0a687d7efbcd3f52fec3c7b7f88f356816 SHA512 
e927e780d6fc36f4b3739e9ea7cee65a41ff90fc29358c3ee353693f3328f03192a0a50cd444fa06ce41783b67228e82eabb6eea86cf6fe5725f1ee0db05c7df
 WHIRLPOOL 
25e9520feb937ae7aa3f747f334d898d465e89a56c4f25de28b390ba7de74b1b66257ef4a20c4e176c7e34096819f6b214fa2c1b69b0680b1a8ed97638d113dd
 DIST hardened-patches-4.4.2-1.extras.tar.bz2 1721230 SHA256 
81f1417d210e0a6d9f5e180b9f828beb87ddc27571a16c40552d0fa1979982ec SHA512 
599dedbef6fa26efc2a62c19e0536accedff6c60968294e9a7246c9844b26491b4414b1b40106eee9bb7540f8cd4ae74ab3720029b0730ce5541e005ba60cb9b
 WHIRLPOOL 
84e22467a6dcc738043e47274ab2476b69f1796f1f23e3ca4ed8e244dd73a7e4998de683c1d93baccdd41eb232327d4ef1eb07d01b8a790510b8690334032f02
 DIST hardened-patches-4.4.8-2.extras.tar.bz2 1743408 SHA256 
5cde9a96f6a47ebe3c8abeb5d5add60480490fd365d4c31da2d7ac1973a4c258 SHA512 
cfb52ee6aee76b125a5a833cd9facc92ea1dff17129a488b66e976e94699cea8109e6f5df90835e818af1ea6e59e12cecc95159601d544f5b008560a1190b530
 WHIRLPOOL 
56facf79d5556aaac3bf08fa3b4be21b7fef561c8d3fd41943ce51c4d15b71e114be2e33914f5bf7e3d981abcebeffb95fb99aedde8d72231edcef72123ea9fa
 DIST hardened-patches-4.7.10-1.extras.tar.bz2 1941100 SHA256 
8a7787da2d440308b28d16738ba843138c01d14e3f09cef33f8c32d46886411b SHA512 
851d8875452fceaa696a7bb6847bda82c42ca40c61f2d1da16545190eeba65eb26c15f9fd428d1de83e9ea7c019133808ab3622e770147e06ab598629b8dfb6b
 WHIRLPOOL 
fa4a7bdb8bf8bf232d32d466b0ce8492a82cda7908edc96d6f7937686e3a766dabbc75c7fd33de82be080e3a277aaf4e63e9c754c97b9164301630aa13810755
@@ -16,6 +17,7 @@ DIST hardened-patches-4.7.6-1.extras.tar.bz2 1913657 SHA256 
f32b7891fa0a821a6027
 DIST hardened-patches-4.8.13-1.extras.tar.bz2 1917752 SHA256 
98cec4effe8c5494ab88d24d36af23f3ab244a0872030903ef9e21b6bbf2cea1 SHA512 
9d5fb8c2faf4f338662815d5bd129966d2e28e4b77502e26c7af097a27e168346c86e67755a3392b5b6a8ccdfa6bd11289cf3d4239361815dd723c220fda
 WHIRLPOOL 
f12bd2928a8fe363842310ed110ac9db4041730bc56da1d224ba0ae457bd8ca2763909e4edb27823bf9d2b14c7d6045c53db65cf65eb970fdbe58665f07934e9
 DIST hardened-patches-4.8.14-1.extras.tar.bz2 1931192 SHA256 
eeefb512eab30d6c914edbed239e2cb7caee8e37870d3211abaf23912ee6bcd6 SHA512 
7c18681a8da841a71e97c8f965ea73b62dee496fb3f213b25599fcc92184d545ef3e97c0564043ff63ee80f8dd90466188a3b33e437214dbbca9c6a15993dd81
 WHIRLPOOL 
8b01a9b0d78a6650e8a6a86b9638798abdbce4efe85e70adfdd7f40e3d32b452a481a75f2039b58c74f9b3452609bfe2a757de7a15c708e3e1f5c94378324a4e
 DIST hardened-patches-4.8.15-1.extras.tar.bz2 1937990 SHA256 
aa4effb3c0a9f6fc586e8eb1b67142bceaa5fb51890d13ecc936d7add93f8668 SHA512 
9fcb8d67303db5b11f046ef53f9236e4e28a766e1715218330a21cb4cfe21f6940e4c23c7fbba3e6dff9da6e4c46c5be9ac88f30f5a87cf0d6fe7ba12469670b
 WHIRLPOOL 

[gentoo-commits] proj/kde:master commit in: /

2017-01-01 Thread Johannes Huber
commit: fa280097993175219d983c45d880ad6cc40b3a7a
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Jan  1 20:13:42 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jan  1 20:13:42 2017 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=fa280097

Update .mailmap

 .mailmap | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.mailmap b/.mailmap
index 7d49c24..f9e395b 100644
--- a/.mailmap
+++ b/.mailmap
@@ -6,6 +6,7 @@ Andreas K. Hüttel  
 Andreas K. Hüttel  
 Andreas K. Hüttel  
 Andreas K. Hüttel  
+Andreas Sturmlechner  
 Ben de Groot  
 Chris Reffett  
 Cyrill Helg  



[gentoo-commits] proj/kde:master commit in: Documentation/

2017-01-01 Thread Johannes Huber
commit: e708cb9ec3415283174d464a3a6ea1f43c957452
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Jan  1 20:14:07 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jan  1 20:14:07 2017 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=e708cb9e

Documentation: Update CONTRIBUTORS

 Documentation/CONTRIBUTORS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/CONTRIBUTORS b/Documentation/CONTRIBUTORS
index 6bae400..141b87d 100644
--- a/Documentation/CONTRIBUTORS
+++ b/Documentation/CONTRIBUTORS
@@ -5,7 +5,7 @@ Alexandr Akulich 
 Alexey Shvetsov 
 Andreas Eckstein 
 Andreas K. Hüttel 
-Andreas Sturmlechner 
+Andreas Sturmlechner 
 Andrej Rode 
 Andrew Wilcox 
 Andrius Štikonas 
@@ -101,6 +101,7 @@ Samuli Suominen 
 Scarlett Clark 
 Sergey Alirzaev 
 Steffen Stramm 
+Sven Eden 
 Tamas Jantvik 
 Theo Chatzimichos 
 Till Schäfer 



[gentoo-commits] proj/hardened-patchset: New tag: 20161230

2017-01-01 Thread Anthony G. Basile
commit: 
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Jan  1 19:58:17 2017 +

New tag: 20161230




[gentoo-commits] proj/hardened-patchset:master commit in: 4.8.15/

2017-01-01 Thread Anthony G. Basile
commit: 1b413d517df92fadb5758bba4463c8bd6f73fb25
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Jan  1 19:54:26 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Jan  1 19:54:26 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-patchset.git/commit/?id=1b413d51

grsecurity-3.1-4.8.15-201612301949

 4.8.15/_README |   18 +-
 4.8.15/1012_linux-4.8.13.patch | 1063 
 4.8.15/1013_linux-4.8.14.patch | 1725 
 4.8.15/1014_linux-4.8.15.patch | 1042 
 ... 4420_grsecurity-3.1-4.8.15-201612301949.patch} |   14 +-
 4.8.15/4426_default_XATTR_PAX_FLAGS.patch  |   36 +
 6 files changed, 50 insertions(+), 3848 deletions(-)

diff --git a/4.8.15/_README b/4.8.15/_README
index cd91d08..97a03a1 100644
--- a/4.8.15/_README
+++ b/4.8.15/_README
@@ -2,19 +2,7 @@ README
 -
 Individual Patch Descriptions:
 -
-Patch: 1012_linux-4.8.13.patch
-From:  http://www.kernel.org
-Desc:  Linux 4.8.13
-
-Patch: 1013_linux-4.8.14.patch
-From:  http://www.kernel.org
-Desc:  Linux 4.8.14
-
-Patch: 1014_linux-4.8.15.patch
-From:  http://www.kernel.org
-Desc:  Linux 4.8.15
-
-Patch: 4420_grsecurity-3.1-4.8.15-201612151923.patch
+Patch: 4420_grsecurity-3.1-4.8.15-201612301949.patch
 From:  http://www.grsecurity.net
 Desc:  hardened-sources base patch from upstream grsecurity
 
@@ -22,6 +10,10 @@ Patch:   4425_grsec_remove_EI_PAX.patch
 From:  Anthony G. Basile 
 Desc:  Remove EI_PAX option and force off
 
+Patch: 4426_default_XATTR_PAX_FLAGS.patch
+From:  Anthony G. Basile 
+Desc:  Defalut PT_PAX_FLAGS off and XATTR_PAX_FLAGS on
+
 Patch: 4427_force_XATTR_PAX_tmpfs.patch
 From:  Anthony G. Basile 
 Desc:  Force XATTR_PAX on tmpfs

diff --git a/4.8.15/1012_linux-4.8.13.patch b/4.8.15/1012_linux-4.8.13.patch
deleted file mode 100644
index c742393..000
--- a/4.8.15/1012_linux-4.8.13.patch
+++ /dev/null
@@ -1,1063 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 7b0c92f..b38abe9 100644
 a/Makefile
-+++ b/Makefile
-@@ -1,6 +1,6 @@
- VERSION = 4
- PATCHLEVEL = 8
--SUBLEVEL = 12
-+SUBLEVEL = 13
- EXTRAVERSION =
- NAME = Psychotic Stoned Sheep
- 
-diff --git a/arch/arc/include/asm/delay.h b/arch/arc/include/asm/delay.h
-index 08e7e2a..a36e860 100644
 a/arch/arc/include/asm/delay.h
-+++ b/arch/arc/include/asm/delay.h
-@@ -22,10 +22,11 @@
- static inline void __delay(unsigned long loops)
- {
-   __asm__ __volatile__(
--  "   lp  1f  \n"
--  "   nop \n"
--  "1: \n"
--  : "+l"(loops));
-+  "   mov lp_count, %0\n"
-+  "   lp  1f  \n"
-+  "   nop \n"
-+  "1: \n"
-+  : : "r"(loops));
- }
- 
- extern void __bad_udelay(void);
-diff --git a/arch/arc/include/asm/pgtable.h b/arch/arc/include/asm/pgtable.h
-index 89eeb37..e94ca72 100644
 a/arch/arc/include/asm/pgtable.h
-+++ b/arch/arc/include/asm/pgtable.h
-@@ -280,7 +280,7 @@ static inline void pmd_set(pmd_t *pmdp, pte_t *ptep)
- 
- #define pte_page(pte) pfn_to_page(pte_pfn(pte))
- #define mk_pte(page, prot)pfn_pte(page_to_pfn(page), prot)
--#define pfn_pte(pfn, prot)__pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
-+#define pfn_pte(pfn, prot)__pte(__pfn_to_phys(pfn) | pgprot_val(prot))
- 
- /* Don't use virt_to_pfn for macros below: could cause truncations for PAE40*/
- #define pte_pfn(pte)  (pte_val(pte) >> PAGE_SHIFT)
-diff --git a/arch/arm64/boot/dts/arm/juno-r1.dts 
b/arch/arm64/boot/dts/arm/juno-r1.dts
-index 123a58b..f0b857d 100644
 a/arch/arm64/boot/dts/arm/juno-r1.dts
-+++ b/arch/arm64/boot/dts/arm/juno-r1.dts
-@@ -76,7 +76,7 @@
-   compatible = "arm,idle-state";
-   arm,psci-suspend-param = <0x101>;
-   local-timer-stop;
--  entry-latency-us = <300>;
-+  entry-latency-us = <400>;
-   exit-latency-us = <1200>;
-   min-residency-us = <2500>;
-   };
-diff --git a/arch/arm64/boot/dts/arm/juno-r2.dts 
b/arch/arm64/boot/dts/arm/juno-r2.dts
-index 007be82..26aaa6a 100644
 a/arch/arm64/boot/dts/arm/juno-r2.dts
-+++ b/arch/arm64/boot/dts/arm/juno-r2.dts
-@@ -76,7 +76,7 @@
-   compatible = "arm,idle-state";
-   arm,psci-suspend-param = <0x101>;
-   local-timer-stop;
--  entry-latency-us = <300>;
-+  entry-latency-us = <400>;
-  

[gentoo-commits] repo/gentoo:master commit in: www-client/pybugz/

2017-01-01 Thread William Hubbs
commit: 21e8932e8772d2a04b5c1ed95babc76d4e063766
Author: William Hubbs  gentoo  org>
AuthorDate: Sun Jan  1 19:19:20 2017 +
Commit: William Hubbs  gentoo  org>
CommitDate: Sun Jan  1 19:25:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21e8932e

www-client/pybugz: Stabilize 0.13 for #604308

Package-Manager: Portage-2.3.0, Repoman-2.3.1

 www-client/pybugz/pybugz-0.13.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-client/pybugz/pybugz-0.13.ebuild 
b/www-client/pybugz/pybugz-0.13.ebuild
index ae71b89..59f0e73 100644
--- a/www-client/pybugz/pybugz-0.13.ebuild
+++ b/www-client/pybugz/pybugz-0.13.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
 # $Id$
 
@@ -12,7 +12,7 @@ if [ "${PV}" = "" ]; then
inherit git-r3
 else
SRC_URI="https://github.com/williamh/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris ~x86-solaris"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 
~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris 
~x86-solaris"
inherit vcs-snapshot
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/files/, dev-libs/libnl/

2017-01-01 Thread Jeroen Roovers
commit: 47bc9ccf7abfb3054d762f2d9f7b3a1cbeebe612
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan  1 19:19:21 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jan  1 19:23:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47bc9ccf

dev-libs/libnl: Fix building against older kernel headers (bug #604190 by pavel 
sanda).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/files/libnl-3.2.20-cache-api.patch  |  9 ---
 .../libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch | 30 --
 dev-libs/libnl/files/libnl-3.2.28-in6.patch| 12 +
 dev-libs/libnl/libnl-3.2.28.ebuild |  5 ++--
 dev-libs/libnl/libnl-3.2.29.ebuild |  5 ++--
 dev-libs/libnl/libnl-3.2..ebuild   | 11 +++-
 6 files changed, 20 insertions(+), 52 deletions(-)

diff --git a/dev-libs/libnl/files/libnl-3.2.20-cache-api.patch 
b/dev-libs/libnl/files/libnl-3.2.20-cache-api.patch
deleted file mode 100644
index ce6e47b..
--- a/dev-libs/libnl/files/libnl-3.2.20-cache-api.patch
+++ /dev/null
@@ -1,9 +0,0 @@
 a/tests/test-cache-mngr.c
-+++ b/tests/test-cache-mngr.c
-@@ -1,5 +1,5 @@
- #include 
--#include 
-+#include 
- #include 
- #include 
- 

diff --git a/dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch 
b/dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch
deleted file mode 100644
index 09b2f0b..
--- a/dev-libs/libnl/files/libnl-3.2.20-rtnl_tc_get_ops.patch
+++ /dev/null
@@ -1,30 +0,0 @@
 a/src/nl-class-add.c
-+++ b/src/nl-class-add.c
-@@ -14,6 +14,7 @@
- #include 
- #include 
- #include 
-+#include  /* rtnl_tc_get_ops() */
- 
- static int quiet = 0;
- 
 a/src/nl-cls-add.c
-+++ b/src/nl-cls-add.c
-@@ -12,6 +12,7 @@
- #include 
- #include 
- #include 
-+#include  /* rtnl_tc_get_ops() */
- 
- static int quiet = 0;
- 
 a/src/nl-qdisc-add.c
-+++ b/src/nl-qdisc-add.c
-@@ -13,6 +13,7 @@
- #include 
- #include 
- #include 
-+#include  /* rtnl_tc_get_ops() */
- 
- static int quiet = 0;
- 

diff --git a/dev-libs/libnl/files/libnl-3.2.28-in6.patch 
b/dev-libs/libnl/files/libnl-3.2.28-in6.patch
new file mode 100644
index ..5dcf6ae
--- /dev/null
+++ b/dev-libs/libnl/files/libnl-3.2.28-in6.patch
@@ -0,0 +1,12 @@
+https://github.com/thom311/libnl/pull/121
+
+--- a/include/linux-private/linux/if_bridge.h
 b/include/linux-private/linux/if_bridge.h
+@@ -15,7 +15,6 @@
+ 
+ #include 
+ #include 
+-#include 
+ 
+ #define SYSFS_BRIDGE_ATTR "bridge"
+ #define SYSFS_BRIDGE_FDB  "brforward"

diff --git a/dev-libs/libnl/libnl-3.2.28.ebuild 
b/dev-libs/libnl/libnl-3.2.28.ebuild
index ef5f05a..9c03787 100644
--- a/dev-libs/libnl/libnl-3.2.28.ebuild
+++ b/dev-libs/libnl/libnl-3.2.28.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
 # $Id$
 
@@ -63,8 +63,7 @@ MULTILIB_WRAPPED_HEADERS=(
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
-   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
+   "${FILESDIR}"/${PN}-3.2.28-in6.patch
 )
 
 src_prepare() {

diff --git a/dev-libs/libnl/libnl-3.2.29.ebuild 
b/dev-libs/libnl/libnl-3.2.29.ebuild
index 5c5c565..56f3021 100644
--- a/dev-libs/libnl/libnl-3.2.29.ebuild
+++ b/dev-libs/libnl/libnl-3.2.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
 # $Id$
 
@@ -63,8 +63,7 @@ MULTILIB_WRAPPED_HEADERS=(
 
 PATCHES=(
"${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
-   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
+   "${FILESDIR}"/${PN}-3.2.28-in6.patch
 )
 
 src_prepare() {

diff --git a/dev-libs/libnl/libnl-3.2..ebuild 
b/dev-libs/libnl/libnl-3.2..ebuild
index 29a9d87..1c1ea6d 100644
--- a/dev-libs/libnl/libnl-3.2..ebuild
+++ b/dev-libs/libnl/libnl-3.2..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
 # $Id$
 
@@ -31,16 +31,13 @@ DEPEND="
sys-devel/flex
 "
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+"
 
 DOCS=(
ChangeLog
 )
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.1-vlan-header.patch
-   "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
-   "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
-)
 
 MULTILIB_WRAPPED_HEADERS=(
# we do not install CLI stuff for non-native



[gentoo-commits] repo/gentoo:master commit in: dev-libs/libnl/

2017-01-01 Thread Jeroen Roovers
commit: e446c8e47f484cbcde1ad26becedcc71054b3047
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan  1 19:23:25 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jan  1 19:23:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e446c8e4

dev-libs/libnl: Shorten DESCRIPTION.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-libs/libnl/libnl-1.1.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libnl/libnl-1.1.4.ebuild 
b/dev-libs/libnl/libnl-1.1.4.ebuild
index ce1aeea..c663f08 100644
--- a/dev-libs/libnl/libnl-1.1.4.ebuild
+++ b/dev-libs/libnl/libnl-1.1.4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 inherit eutils multilib toolchain-funcs
 
-DESCRIPTION="A collection of libraries providing APIs to netlink protocol 
based Linux kernel interfaces"
+DESCRIPTION="Libraries providing APIs to netlink protocol based Linux kernel 
interfaces"
 HOMEPAGE="http://www.infradead.org/~tgr/libnl/;
 SRC_URI="http://www.infradead.org/~tgr/libnl/files/${P}.tar.gz;
 LICENSE="LGPL-2.1"



[gentoo-commits] repo/gentoo:master commit in: app-misc/fsniper/

2017-01-01 Thread Patrice Clement
commit: 9408d3e1b9c084949c39e5101758049f3be68b74
Author: Patrice Clement  gentoo  org>
AuthorDate: Sun Jan  1 18:53:06 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Jan  1 18:53:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9408d3e1

app-misc/fsniper: EAPI 6 bump and ebuild cleanup.

Package-Manager: portage-2.3.0

 app-misc/fsniper/fsniper-1.3.1-r2.ebuild | 39 
 1 file changed, 39 insertions(+)

diff --git a/app-misc/fsniper/fsniper-1.3.1-r2.ebuild 
b/app-misc/fsniper/fsniper-1.3.1-r2.ebuild
new file mode 100644
index ..d1a5f7b
--- /dev/null
+++ b/app-misc/fsniper/fsniper-1.3.1-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Monitors a given set of directories for new files"
+HOMEPAGE="https://github.com/l3ib/fsniper/;
+SRC_URI="http://projects.l3ib.org/${PN}/files/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+   dev-libs/libpcre
+   sys-apps/file"
+
+RDEPEND="
+   ${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-format-security.patch
+   "${FILESDIR}"/${P}-umask.patch
+)
+
+DOCS=( AUTHORS COPYING NEWS README example.conf )
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/bliss/files/, sci-libs/bliss/

2017-01-01 Thread Christoph Junghans
commit: 561d59645a2e23179b1c1c13e9a262908a1157f1
Author: Christoph Junghans  gentoo  org>
AuthorDate: Sun Jan  1 18:14:44 2017 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sun Jan  1 18:17:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=561d5964

sci-libs/bliss: version bump

Package-Manager: portage-2.3.0

 sci-libs/bliss/Manifest |   1 +
 sci-libs/bliss/bliss-0.73.ebuild|  51 +++
 sci-libs/bliss/files/bliss-0.73-autotools.patch |  99 +
 sci-libs/bliss/files/bliss-0.73-error.patch | 471 
 sci-libs/bliss/files/bliss-0.73-rehn.patch  |  74 
 sci-libs/bliss/files/bliss-0.73.1.in|  55 +++
 6 files changed, 751 insertions(+)

diff --git a/sci-libs/bliss/Manifest b/sci-libs/bliss/Manifest
index be3eecb..9cd37a6 100644
--- a/sci-libs/bliss/Manifest
+++ b/sci-libs/bliss/Manifest
@@ -1 +1,2 @@
 DIST bliss-0.72.zip 90970 SHA256 
528d192b1e30722fc60f5f12c9d6c12b374d838198ae7f18fb41bedabf735ed3 SHA512 
a09b3cea26e3ff5f5733f10bfaadaf6fb5a3f443e1cc306fad16af2f7b4cd97c90652315f911a324d6d71426a3d098cd5c7e5721f69c599fe2e0d6d34caa0ef5
 WHIRLPOOL 
afbc41c04e843d383a2da8d5e26ec2882c847e8e5f1e71c05f884396fcc79eab764df628523336b88e0c6ef4fbf073a52870e2c68ded428002d9391894cb53d6
+DIST bliss-0.73.zip 94108 SHA256 
f57bf32804140cad58b1240b804e0dbd68f7e6bf67eba8e0c0fa3a62fd7f0f84 SHA512 
30f505945c577d8bcb265a349f5bc9d4dcd96555fa3add285199cdd95ea2710f04409008ff06432daffab62c132e884845eae7f823191407906202862509e05d
 WHIRLPOOL 
08402453515e092604105f17f5889d252c0207fa31a1125e87e04c4792cbeb77b7a585a134fd2b3108e8620bbd643cd8b7826dee8a56cf47908a922298b70ad1

diff --git a/sci-libs/bliss/bliss-0.73.ebuild b/sci-libs/bliss/bliss-0.73.ebuild
new file mode 100644
index ..cf5e839
--- /dev/null
+++ b/sci-libs/bliss/bliss-0.73.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+SRC_URI="http://www.tcs.hut.fi/Software/${PN}/${P}.zip;
+DESCRIPTION="A Tool for Computing Automorphism Groups and Canonical Labelings 
of Graphs"
+HOMEPAGE="http://www.tcs.hut.fi/Software/bliss/index.shtml;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gmp static-libs"
+
+RDEPEND="gmp? ( dev-libs/gmp:0= )"
+
+DEPEND="${RDEPEND}
+   doc? ( app-doc/doxygen )"
+
+#patches from http://pkgs.fedoraproject.org/cgit/rpms/bliss.git/tree/
+PATCHES=(
+   "${FILESDIR}/${P}-error.patch"
+   "${FILESDIR}/${P}-rehn.patch"
+   "${FILESDIR}/${P}-autotools.patch"
+)
+
+src_prepare() {
+   cp "${FILESDIR}/${P}.1.in" "${PN}.1.in" || die
+   rm Makefile || die
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf $(use_with gmp) $(use_enable static-libs static)
+}
+
+src_compile() {
+   emake all $(usex doc html "")
+}
+
+src_install() {
+   use doc && HTML_DOCS=( "${S}"/html/. )
+   default
+
+   #comes with pkg-config file
+   find "${ED}" -name '*.la' -delete || die
+}

diff --git a/sci-libs/bliss/files/bliss-0.73-autotools.patch 
b/sci-libs/bliss/files/bliss-0.73-autotools.patch
new file mode 100644
index ..1fe209e
--- /dev/null
+++ b/sci-libs/bliss/files/bliss-0.73-autotools.patch
@@ -0,0 +1,99 @@
+Replace simple Makefile by autotools
+- allow shared library
+- parallel build
+- added pkg-config support
+
+Author: Christoph Junghans 
+
+diff -Naur bliss-0.72-fedora/config/.dummy bliss-0.72/config/.dummy
+--- bliss-0.72-fedora/config/.dummy1969-12-31 17:00:00.0 -0700
 bliss-0.72/config/.dummy   2013-04-28 14:43:06.143760368 -0600
+@@ -0,0 +1 @@
++Dummy file to make patch create config dir, which is needed for autotools
+diff -Naur bliss-0.72-fedora/configure.ac bliss-0.72/configure.ac
+--- bliss-0.72-fedora/configure.ac 1969-12-31 17:00:00.0 -0700
 bliss-0.72/configure.ac2013-04-28 14:40:42.283242722 -0600
+@@ -0,0 +1,32 @@
++AC_PREREQ([2.65])
++AC_INIT([bliss], [0.73], [tommi.junt...@kk.fi])
++
++AC_CONFIG_AUX_DIR(config)
++AC_CONFIG_MACRO_DIR(config)
++
++AM_INIT_AUTOMAKE([1.8 foreign])
++
++SHARED_VERSION_INFO="1:0:0"
++AC_SUBST(SHARED_VERSION_INFO)
++
++# Checks for programs.
++AC_PROG_CXX
++
++LT_INIT
++# Checks for libraries.
++AC_ARG_WITH([gmp],
++  [AS_HELP_STRING([--with-gmp], [enable support for GNU Multiple Precision 
Arithmetic Library @<:@default=check@:>@])],
++  [], [with_readline=no])
++AS_IF([test "x$with_readline" != xno],
++  [AC_CHECK_HEADERS([gmp.h],,AC_MSG_ERROR([Cannot find gmp.h header]))
++AC_CHECK_LIB([gmp],_init,,AC_MSG_ERROR([Cannot find gmp library]))
++AC_SUBST([GMP],[-lgmp])
++[CPPFLAGS="$CPPFLAGS -DBLISS_USE_GMP"]])
++
++AC_CHECK_PROG(DOXYGEN,doxygen,doxygen,no)
++AM_CONDITIONAL(HAVE_DOXYGEN,[test .$DOXYGEN != .no])
++
++AC_CONFIG_FILES([Makefile])
++AC_CONFIG_FILES([bliss.pc])
++AC_CONFIG_FILES([bliss.1])
++AC_OUTPUT
+diff 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/bliss/files/, sci-libs/bliss/

2017-01-01 Thread Christoph Junghans
commit: c9e7aeca7d21e133bb1eea3132997c851ef1d069
Author: Christoph Junghans  gentoo  org>
AuthorDate: Sun Jan  1 18:16:50 2017 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sun Jan  1 18:17:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e7aeca

sci-libs/bliss: remove old

Package-Manager: portage-2.3.0

 sci-libs/bliss/Manifest |   1 -
 sci-libs/bliss/bliss-0.72.ebuild|  44 --
 sci-libs/bliss/files/bliss-0.72-autotools.patch | 159 --
 sci-libs/bliss/files/bliss-0.72-fedora.patch| 648 
 4 files changed, 852 deletions(-)

diff --git a/sci-libs/bliss/Manifest b/sci-libs/bliss/Manifest
index 9cd37a6..cb6cbc2 100644
--- a/sci-libs/bliss/Manifest
+++ b/sci-libs/bliss/Manifest
@@ -1,2 +1 @@
-DIST bliss-0.72.zip 90970 SHA256 
528d192b1e30722fc60f5f12c9d6c12b374d838198ae7f18fb41bedabf735ed3 SHA512 
a09b3cea26e3ff5f5733f10bfaadaf6fb5a3f443e1cc306fad16af2f7b4cd97c90652315f911a324d6d71426a3d098cd5c7e5721f69c599fe2e0d6d34caa0ef5
 WHIRLPOOL 
afbc41c04e843d383a2da8d5e26ec2882c847e8e5f1e71c05f884396fcc79eab764df628523336b88e0c6ef4fbf073a52870e2c68ded428002d9391894cb53d6
 DIST bliss-0.73.zip 94108 SHA256 
f57bf32804140cad58b1240b804e0dbd68f7e6bf67eba8e0c0fa3a62fd7f0f84 SHA512 
30f505945c577d8bcb265a349f5bc9d4dcd96555fa3add285199cdd95ea2710f04409008ff06432daffab62c132e884845eae7f823191407906202862509e05d
 WHIRLPOOL 
08402453515e092604105f17f5889d252c0207fa31a1125e87e04c4792cbeb77b7a585a134fd2b3108e8620bbd643cd8b7826dee8a56cf47908a922298b70ad1

diff --git a/sci-libs/bliss/bliss-0.72.ebuild b/sci-libs/bliss/bliss-0.72.ebuild
deleted file mode 100644
index dea3e3c..
--- a/sci-libs/bliss/bliss-0.72.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=1
-
-inherit autotools-utils
-
-SRC_URI="http://www.tcs.hut.fi/Software/${PN}/${P}.zip;
-DESCRIPTION="A Tool for Computing Automorphism Groups and Canonical Labelings 
of Graphs"
-HOMEPAGE="http://www.tcs.hut.fi/Software/bliss/index.shtml;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc gmp static-libs"
-
-RDEPEND="gmp? ( dev-libs/gmp:0= )"
-
-DEPEND="${RDEPEND}
-   doc? ( app-doc/doxygen )"
-
-AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" #comes with pkg-config file
-
-PATCHES=(
-   "${FILESDIR}/${P}-fedora.patch"
-   "${FILESDIR}/${P}-autotools.patch"
-)
-
-src_configure() {
-   local myeconfargs=( $(use_with gmp) )
-   autotools-utils_src_configure
-}
-
-src_compile() {
-   autotools-utils_src_compile all $(usex doc html "")
-}
-
-src_install() {
-   use doc && HTML_DOCS=( "${BUILD_DIR}"/html/. )
-   autotools-utils_src_install
-}

diff --git a/sci-libs/bliss/files/bliss-0.72-autotools.patch 
b/sci-libs/bliss/files/bliss-0.72-autotools.patch
deleted file mode 100644
index 30006b9..
--- a/sci-libs/bliss/files/bliss-0.72-autotools.patch
+++ /dev/null
@@ -1,159 +0,0 @@
-Replace simple Makefile by autotools
-- allow shared library
-- parallel build
-- added pkg-config support
-
-Author: Christoph Junghans 
-
-diff -Naur bliss-0.72-fedora/config/.dummy bliss-0.72/config/.dummy
 bliss-0.72-fedora/config/.dummy1969-12-31 17:00:00.0 -0700
-+++ bliss-0.72/config/.dummy   2013-04-28 14:43:06.143760368 -0600
-@@ -0,0 +1 @@
-+Dummy file to make patch create config dir, which is needed for autotools
-diff -Naur bliss-0.72-fedora/configure.ac bliss-0.72/configure.ac
 bliss-0.72-fedora/configure.ac 1969-12-31 17:00:00.0 -0700
-+++ bliss-0.72/configure.ac2013-04-28 14:40:42.283242722 -0600
-@@ -0,0 +1,31 @@
-+AC_PREREQ([2.65])
-+AC_INIT([bliss], [0.72], [tommi.junt...@kk.fi])
-+
-+AC_CONFIG_AUX_DIR(config)
-+AC_CONFIG_MACRO_DIR(config)
-+
-+AM_INIT_AUTOMAKE([1.8 foreign])
-+
-+SHARED_VERSION_INFO="1:0:0"
-+AC_SUBST(SHARED_VERSION_INFO)
-+
-+# Checks for programs.
-+AC_PROG_CXX
-+
-+LT_INIT
-+# Checks for libraries.
-+AC_ARG_WITH([gmp],
-+  [AS_HELP_STRING([--with-gmp], [enable support for GNU Multiple Precision 
Arithmetic Library @<:@default=check@:>@])],
-+  [], [with_readline=no])
-+AS_IF([test "x$with_readline" != xno],
-+  [AC_CHECK_HEADERS([gmp.h],,AC_MSG_ERROR([Cannot find gmp.h header]))
-+AC_CHECK_LIB([gmp],_init,,AC_MSG_ERROR([Cannot find gmp library]))
-+AC_SUBST([GMP],[-lgmp])
-+[CPPFLAGS="$CPPFLAGS -DBLISS_USE_GMP"]])
-+
-+AC_CHECK_PROG(DOXYGEN,doxygen,doxygen,no)
-+AM_CONDITIONAL(HAVE_DOXYGEN,[test .$DOXYGEN != .no])
-+
-+AC_CONFIG_FILES([Makefile])
-+AC_CONFIG_FILES([bliss.pc])
-+AC_OUTPUT
-diff -Naur bliss-0.72-fedora/bliss.pc.in bliss-0.72/bliss.pc.in
 bliss-0.72-fedora/bliss.pc.in  1969-12-31 17:00:00.0 -0700
-+++ bliss-0.72/bliss.pc.in 2013-04-28 14:40:54.223285686 -0600
-@@ -0,0 +1,13 @@
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+libdir=@libdir@

[gentoo-commits] repo/gentoo:master commit in: net-misc/smb4k/

2017-01-01 Thread Andreas Sturmlechner
commit: a7ad425b733f22a35a38b58ad79d59720e10fb12
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jan  1 17:24:37 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jan  1 17:34:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7ad425b

net-misc/smb4k: 1.2.2 version bump

Package-Manager: portage-2.3.0

 net-misc/smb4k/Manifest   |  1 +
 net-misc/smb4k/smb4k-1.2.2.ebuild | 28 
 2 files changed, 29 insertions(+)

diff --git a/net-misc/smb4k/Manifest b/net-misc/smb4k/Manifest
index edebec0..691086f 100644
--- a/net-misc/smb4k/Manifest
+++ b/net-misc/smb4k/Manifest
@@ -1 +1,2 @@
 DIST smb4k-1.2.1.tar.xz 3817104 SHA256 
6562ab12c783d47e246d9d0a43b2342288384a7a78e0207a14e1dd6c40ffe97b SHA512 
df5782de9b140dc6ec97f4b66e758dc62923a6d6e85843717a0a17b3f853d036bcd3e73cf289819c5b5caa6bc28e3943dea73a745197356a3351d5a643c21f37
 WHIRLPOOL 
6e89a20d4a7ce48278db2a27c7ce291c737f6a6485a02febedb4fc45dedadff2185867e87ad14d97cb1e56a593c80d7b09b2a1ee65c5a4dae0784700772f100b
+DIST smb4k-1.2.2.tar.xz 3938932 SHA256 
338b43e9be4e0d8263329f145331656ff7d134e0038c3e830fb8a7b57f3cb5f6 SHA512 
78cb5a3226d15d4b3f0eaa02cfe2969f18497f0ad3b6447338988f38540b3835fcea7acf05a50fd5d2b2c6a0873e341d099242e00c5660cbfd2e9795fcf3790e
 WHIRLPOOL 
b36ab80b8785c42dbff4593cbbad33d7be08a86c03be1d4349bf37da3b5cf15a3b9b041d7ea62eaf31ae5a03b054d72e745c448e35d1ae59ee53abad38807332

diff --git a/net-misc/smb4k/smb4k-1.2.2.ebuild 
b/net-misc/smb4k/smb4k-1.2.2.ebuild
new file mode 100644
index ..2f58cf8
--- /dev/null
+++ b/net-misc/smb4k/smb4k-1.2.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DECLARATIVE_REQUIRED="always"
+KDE_LINGUAS="bg bs ca ca@valencia cs da de en_GB eo es et fi fr ga gl hu is it
+ja ko lt mai mr nb nds nl pl pt pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
+KDE_HANDBOOK="optional"
+KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}"
+inherit kde4-base
+
+DESCRIPTION="The advanced network neighborhood browser by KDE"
+HOMEPAGE="https://sourceforge.net/projects/smb4k/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="net-fs/samba[cups]"
+DEPEND="${RDEPEND}
+   sys-devel/gettext
+"
+
+DOCS=( AUTHORS BUGS ChangeLog README )



[gentoo-commits] repo/gentoo:master commit in: media-sound/mp3_check/

2017-01-01 Thread Andreas Hüttel
commit: cd73ba6aaf2d695b704319b6122cdde008da3536
Author: Anthony Ryan  gmail  com>
AuthorDate: Sat Dec 31 19:16:40 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sun Jan  1 17:22:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd73ba6a

media-sound/mp3_check: Misc improvements

* EAPI=6
* KEYWORD="~arm" (tested on armv7a RK3288)

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-sound/mp3_check/metadata.xml |  1 +
 media-sound/mp3_check/mp3_check-1.98-r1.ebuild | 38 ++
 2 files changed, 39 insertions(+)

diff --git a/media-sound/mp3_check/metadata.xml 
b/media-sound/mp3_check/metadata.xml
index a8e0ee6..dcd2c2b 100644
--- a/media-sound/mp3_check/metadata.xml
+++ b/media-sound/mp3_check/metadata.xml
@@ -6,6 +6,7 @@
Gentoo Sound project


+   https://sourceforge.net/p/mp3check/bugs/
mp3check

 

diff --git a/media-sound/mp3_check/mp3_check-1.98-r1.ebuild 
b/media-sound/mp3_check/mp3_check-1.98-r1.ebuild
new file mode 100644
index ..b1eafdb
--- /dev/null
+++ b/media-sound/mp3_check/mp3_check-1.98-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="MP3 consistency checker"
+HOMEPAGE="https://sourceforge.net/projects/mp3check/;
+SRC_URI="mirror://sourceforge/mp3check/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
+IUSE=""
+
+PATCHES=(
+   "${FILESDIR}/${P}-makefile.patch"
+)
+
+DOCS=(
+   "README"
+   "TODO"
+   "MILESTONE"
+   "MILESTONE.INTRO"
+   "GOALS"
+   "FOR_TESTING"
+   "THANKYOU"
+   "NOTES"
+   "MY_NOTES"
+   "WISHLIST"
+)
+
+src_install() {
+   # Use dobin because Makefile doesn't support DESTDIR
+   # https://sourceforge.net/p/mp3check/bugs/8/
+   dobin mp3_check
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: sys-process/latencytop/files/, sys-process/latencytop/

2017-01-01 Thread Andreas Hüttel
commit: 1b64b1183a42846c6f6900cce6d43f60e72496b1
Author: Anthony Ryan  gmail  com>
AuthorDate: Sat Dec 31 18:17:06 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sun Jan  1 17:20:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b64b118

sys-process/latencytop: Misc improvements

* EAPI=5 (not 6 per base-system requirement)
* kernel-info config checking
* KEYWORD="~arm" (tested on armv7a RK3288)
* Convert patches to -p1

Ack'ed by polynomial-c
Closes: https://github.com/gentoo/gentoo/pull/3293

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../latencytop-0.5-01-mkdir-usr-sbin-as-well.patch |  4 +-
 .../latencytop-0.5-03-clean-up-build-system.patch  |  4 +-
 .../latencytop-0.5-fsync-fix-implicit-decl.patch   |  4 +-
 sys-process/latencytop/latencytop-0.5-r1.ebuild| 53 ++
 4 files changed, 59 insertions(+), 6 deletions(-)

diff --git 
a/sys-process/latencytop/files/latencytop-0.5-01-mkdir-usr-sbin-as-well.patch 
b/sys-process/latencytop/files/latencytop-0.5-01-mkdir-usr-sbin-as-well.patch
index 52d791e..d5a60c9 100644
--- 
a/sys-process/latencytop/files/latencytop-0.5-01-mkdir-usr-sbin-as-well.patch
+++ 
b/sys-process/latencytop/files/latencytop-0.5-01-mkdir-usr-sbin-as-well.patch
@@ -7,8 +7,8 @@ Subject: [PATCH] mkdir /usr/sbin as well
 
 diff --git a/src/Makefile b/src/Makefile
 index fdf1616..de24551 100644
 a/src/Makefile
-+++ b/src/Makefile
+--- a/Makefile
 b/Makefile
 @@ -30,6 +30,7 @@
  
  install: latencytop

diff --git 
a/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch 
b/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch
index 8910e32..4c3461b 100644
--- a/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch
+++ b/sys-process/latencytop/files/latencytop-0.5-03-clean-up-build-system.patch
@@ -13,8 +13,8 @@ Signed-off-by: Mike Frysinger 
 
 diff --git a/src/Makefile b/src/Makefile
 index de24551..9a3cc05 100644
 a/src/Makefile
-+++ b/src/Makefile
+--- a/Makefile
 b/Makefile
 @@ -3,14 +3,22 @@ HAS_GTK_GUI = 1
  
  DESTDIR =

diff --git 
a/sys-process/latencytop/files/latencytop-0.5-fsync-fix-implicit-decl.patch 
b/sys-process/latencytop/files/latencytop-0.5-fsync-fix-implicit-decl.patch
index ef57e9e..33f2bc2 100644
--- a/sys-process/latencytop/files/latencytop-0.5-fsync-fix-implicit-decl.patch
+++ b/sys-process/latencytop/files/latencytop-0.5-fsync-fix-implicit-decl.patch
@@ -13,8 +13,8 @@ Signed-off-by: Mike Frysinger 
 
 diff --git a/src/fsync.c b/src/fsync.c
 index 1706571..3bec719 100644
 a/src/fsync.c
-+++ b/src/fsync.c
+--- a/fsync.c
 b/fsync.c
 @@ -30,6 +30,7 @@
  #include 
  #include 

diff --git a/sys-process/latencytop/latencytop-0.5-r1.ebuild 
b/sys-process/latencytop/latencytop-0.5-r1.ebuild
new file mode 100644
index ..68205b1
--- /dev/null
+++ b/sys-process/latencytop/latencytop-0.5-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils linux-info
+
+DESCRIPTION="tool for identifying where in the system latency is happening"
+HOMEPAGE="http://git.infradead.org/latencytop.git;
+
+# Upstream is long gone, so we explicitly use our mirrors for the tarball
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+CONFIG_CHECK="~LATENCYTOP"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="gtk"
+
+RDEPEND="dev-libs/glib:2
+   gtk? ( x11-libs/gtk+:2 )
+   sys-libs/ncurses:0="
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
+
+# Upstream is dead, so there are no bugs to track for any
+# of these patches.
+PATCHES=(
+   "${FILESDIR}/${P}-01-mkdir-usr-sbin-as-well.patch"
+   "${FILESDIR}/${P}-03-clean-up-build-system.patch"
+   "${FILESDIR}/${P}-fsync-fix-implicit-decl.patch"
+)
+
+pkg_pretend() {
+   linux-info_pkg_setup
+}
+
+pkg_setup() {
+   linux-info_pkg_setup
+}
+
+src_prepare() {
+   epatch "${PATCHES[@]}"
+
+   # Without a configure script, we toggle bools manually
+   # This also needs to be done after patches are applied
+   # since this bool doesn't exist outside our patches
+   if ! use gtk; then
+   sed -i -e "/HAS_GTK_GUI = 1/d" Makefile || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: games-simulation/openttd/

2017-01-01 Thread Lars Wendler
commit: 3b1fdd95b31b863a0d8e3e60353ea675eb61422e
Author: Alexander Golubev  gmail  com>
AuthorDate: Sat Dec 31 00:51:08 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan  1 17:19:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b1fdd95

games-simulation/openttd: require icu-layoutex alongside with recent icu

Gentoo bug: 601302
Closes: https://github.com/gentoo/gentoo/pull/3289

 games-simulation/openttd/openttd-1.6.0.ebuild | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/games-simulation/openttd/openttd-1.6.0.ebuild 
b/games-simulation/openttd/openttd-1.6.0.ebuild
index debc52b..6a080a0 100644
--- a/games-simulation/openttd/openttd-1.6.0.ebuild
+++ b/games-simulation/openttd/openttd-1.6.0.ebuild
@@ -17,7 +17,17 @@ RESTRICT="test" # needs a graphics set in order to test
 
 RDEPEND="!dedicated? (
media-libs/libsdl[sound,X,video]
-   icu? ( dev-libs/icu:= )
+   icu? (
+   || (
+   (
+   dev-libs/icu-layoutex
+   dev-libs/icu-le-hb
+   >=dev-libs/icu-58.1
+   )
+   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib/

2017-01-01 Thread Lars Wendler
commit: 7831db8d83d4cb9a04f7f38afe34c084a619c907
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jan  1 16:25:20 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan  1 17:10:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7831db8d

sys-libs/zlib: Bump to version 1.2.9

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-libs/zlib/Manifest  |   1 +
 sys-libs/zlib/zlib-1.2.9.ebuild | 117 
 2 files changed, 118 insertions(+)

diff --git a/sys-libs/zlib/Manifest b/sys-libs/zlib/Manifest
index 860558b..93516ff 100644
--- a/sys-libs/zlib/Manifest
+++ b/sys-libs/zlib/Manifest
@@ -1 +1,2 @@
 DIST zlib-1.2.8.tar.gz 571091 SHA256 
36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d SHA512 
ece209d4c7ec0cb58ede791444dc754e0d10811cbbdebe3df61c0fd9f9f9867c1c3ccd5f1827f847c005e24eef34fb5bf87b5d3f894d75da04f1797538290e4a
 WHIRLPOOL 
bcb6243f1a9370eafcea03c227938da1cc106c934193ce59ef4fbdca016b95c9baa376feb6d8d369023024a74de5df17c2b6ec5887cdb732ffc95808ef95
+DIST zlib-1.2.9.tar.gz 607350 SHA256 
73ab302ef31ed1e74895d2af56f52f5853f26b0370f3ef21954347acec5eaa21 SHA512 
e3cca1bdd4d3a8a28a755f8b377a8077885df1cd8884d914ac08a1a1eac53cc371895410504b2754702b87e1e30834be5f93dca187c53d32fa2e0d383d0d5d80
 WHIRLPOOL 
4a055506d9ccc1360b8f200b76819db5acf810af3195c8dfaa9635d92563348cbc205baba43f5c42d884bbd762c65f55fc324fe65b22ab06d71c748fbdaa6cd7

diff --git a/sys-libs/zlib/zlib-1.2.9.ebuild b/sys-libs/zlib/zlib-1.2.9.ebuild
new file mode 100644
index ..1c8a498
--- /dev/null
+++ b/sys-libs/zlib/zlib-1.2.9.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+AUTOTOOLS_AUTO_DEPEND="no"
+
+inherit autotools toolchain-funcs multilib multilib-minimal
+
+DESCRIPTION="Standard (de)compression library"
+HOMEPAGE="http://www.zlib.net/;
+SRC_URI="http://zlib.net/${P}.tar.gz
+   http://www.gzip.org/zlib/${P}.tar.gz
+   http://www.zlib.net/current/beta/${P}.tar.gz;
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+IUSE="minizip static-libs"
+
+DEPEND="minizip? ( ${AUTOTOOLS_DEPEND} )"
+RDEPEND="abi_x86_32? (
+   !<=app-emulation/emul-linux-x86-baselibs-20130224
+   !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+   )
+   ! zlib.pc || die
+   ;;
+   *)
+   emake
+   ;;
+   esac
+   use minizip && emake -C contrib/minizip
+}
+
+sed_macros() {
+   # clean up namespace a little #383179
+   # we do it here so we only have to tweak 2 files
+   sed -i -r 's:\<(O[FN])\>:_Z_\1:g' "$@" || die
+}
+
+multilib_src_install() {
+   case ${CHOST} in
+   *-mingw*|mingw*)
+   emake -f win32/Makefile.gcc install \
+   BINARY_PATH="${ED}/usr/bin" \
+   LIBRARY_PATH="${ED}/usr/$(get_libdir)" \
+   INCLUDE_PATH="${ED}/usr/include" \
+   SHARED_MODE=1
+   insinto /usr/share/pkgconfig
+   doins zlib.pc
+   ;;
+
+   *)
+   emake install DESTDIR="${D}" LDCONFIG=:
+   gen_usr_ldscript -a z
+   ;;
+   esac
+   sed_macros "${ED}"/usr/include/*.h
+
+   if use minizip ; then
+   emake -C contrib/minizip install DESTDIR="${D}"
+   sed_macros "${ED}"/usr/include/minizip/*.h
+   fi
+
+   use static-libs || rm -f 
"${ED}"/usr/$(get_libdir)/lib{z,minizip}.{a,la} #419645
+}
+
+multilib_src_install_all() {
+   dodoc FAQ README ChangeLog doc/*.txt
+   use minizip && dodoc contrib/minizip/*.txt
+}



[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-01-01 Thread Lars Wendler
commit: 0d9ae6dff42ecb26d26619a55f3da422fd0ea14d
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jan  1 17:07:24 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan  1 17:10:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9ae6df

net-ftp/pure-ftpd: Bump to version 1.0.44

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-ftp/pure-ftpd/Manifest|   1 +
 net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild | 145 ++
 2 files changed, 146 insertions(+)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 9c0dbe9..5fd1a53 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -2,3 +2,4 @@ DIST pure-ftpd-1.0.40.tar.bz2 495141 SHA256 
004dd4e991537f100fb6cdcdcd43460ed498
 DIST pure-ftpd-1.0.41.tar.bz2 496457 SHA256 
1d48f650f366b8151d86b86c79f4bb874e95143bdac0e767038eda832d28a010 SHA512 
d63fb4f245dc2f1115447de3861f1a805712fb432c461e21b5739e1bae35da9d1367d5e7f54609f2fd5c3064e8d3853dd513a6684166300f1c72a60a79fddd21
 WHIRLPOOL 
a0ed31b912e83f07c1f3814f47f7514a22db0e5fd699a890a4640fd36b053e491a93a15fe0a8b721ce08389a2727acc0928994c495c341bbfdfc5453d5d4af31
 DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 
efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 
730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c
 WHIRLPOOL 
bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
 DIST pure-ftpd-1.0.43.tar.bz2 496391 SHA256 
1289a094c7b5675132cefd1383472d6cab60e757ee75ff3b2687072e8d7df7b2 SHA512 
1fff6a9bc8585c0bf1bb354ca7531744338a2e7899234de62c2d4ad0bab8de9c142e350533fcdd669bf519fbfc625b6a21733924a09ad3136863cf145e7ce822
 WHIRLPOOL 
4c12e2fd0398eedc187cd8e791b6ca2f4dbc0c99671cc97e3698f4bf7ea5ddb5f903a052b075387fde1f6854abf8a8e0b9ff7bad50dff5c10c86ff632df55536
+DIST pure-ftpd-1.0.44.tar.bz2 497528 SHA256 
30b65765cab64db04ebb983a8ff363a6d45fd1f99e9e5ec2fbdd40eba3c68b7a SHA512 
816332baa3fde84f67b36d59e4193d841cd1bbdf1e4c914fe1836797215879157945094268033409f6800509e04d9d3222b6bee27d9193ef64a5167efdfda292
 WHIRLPOOL 
5f0994e1c31f4a6490e123685010a6d1c341c7cf825e2476dc4a6c9d3eb518c5b9182d4175057c0aeeb0f78233a50557e9ebe7e77e8c26f0cdb7073eecd0330f

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild
new file mode 100644
index ..3d5422f
--- /dev/null
+++ b/net-ftp/pure-ftpd/pure-ftpd-1.0.44.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils confutils flag-o-matic
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
+HOMEPAGE="http://www.pureftpd.org/;
+SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
+   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2;
+
+LICENSE="BSD"
+SLOT="0"
+
+IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap libressl 
mysql noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot 
xinetd"
+
+REQUIRED_USE="implicittls? ( ssl )"
+
+DEPEND="caps? ( sys-libs/libcap )
+   charconv? ( virtual/libiconv )
+   ldap? ( >=net-nds/openldap-2.0.25 )
+   mysql? ( virtual/mysql )
+   pam? ( virtual/pam )
+   postgres? ( dev-db/postgresql:= )
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
+   libressl? ( dev-libs/libressl:= )
+   )
+   sysquota? ( sys-fs/quota[-rpc] )
+   xinetd? ( virtual/inetd )"
+
+RDEPEND="${DEPEND}
+   dev-libs/libsodium:=
+   net-ftp/ftpbase
+   selinux? ( sec-policy/selinux-ftp )"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.0.28-pam.patch
+)
+
+src_configure() {
+   # adjust max user length to something more appropriate
+   # for virtual hosts. See bug #62472 for details.
+   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
+   -i "${S}/src/ftpd.h" || die "sed failed"
+
+   # required for confutils.eclass
+   local my_conf=""
+
+   # Let's configure the USE-enabled stuff
+   enable_extension_without"capabilities"  "caps"
+   enable_extension_with   "rfc2640"   "charconv"  
0
+   enable_extension_with   "ldap"  "ldap"  
0
+   enable_extension_with   "mysql" "mysql" 
0
+   enable_extension_with   "pam"   "pam"   
0
+   enable_extension_with   "paranoidmsg"   "paranoidmsg"   
0
+   enable_extension_with   "pgsql" "postgres"  
0
+   enable_extension_with   "tls"  

[gentoo-commits] repo/gentoo:master commit in: net-ftp/pure-ftpd/

2017-01-01 Thread Lars Wendler
commit: 7a458ab5e4c416539de430f4dea9ed4f709977c2
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jan  1 17:10:16 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan  1 17:10:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a458ab5

net-ftp/pure-ftpd: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-ftp/pure-ftpd/Manifest|   1 -
 net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild | 141 --
 net-ftp/pure-ftpd/pure-ftpd-1.0.42.ebuild | 141 --
 3 files changed, 283 deletions(-)

diff --git a/net-ftp/pure-ftpd/Manifest b/net-ftp/pure-ftpd/Manifest
index 5fd1a53..21d426f 100644
--- a/net-ftp/pure-ftpd/Manifest
+++ b/net-ftp/pure-ftpd/Manifest
@@ -1,5 +1,4 @@
 DIST pure-ftpd-1.0.40.tar.bz2 495141 SHA256 
004dd4e991537f100fb6cdcdcd43460ed49847aefb60bc4577466839de95aa20 SHA512 
26a9918ddb298a6fd2b684e88173466b351671ad9b5c702796fabd1a7b0abb52fefcd3537b9d17210468d7f2efc80e4c881fc60dd3c9c73dcbed5f46e59e4420
 WHIRLPOOL 
09d6d5fed066a5c0cfb4801e1827770cd3d909dbf85e627c30c583ca0999dd3ec44a1528004db12ccbb232d22e263a4f742f2785a111d255db0007a097146f7d
-DIST pure-ftpd-1.0.41.tar.bz2 496457 SHA256 
1d48f650f366b8151d86b86c79f4bb874e95143bdac0e767038eda832d28a010 SHA512 
d63fb4f245dc2f1115447de3861f1a805712fb432c461e21b5739e1bae35da9d1367d5e7f54609f2fd5c3064e8d3853dd513a6684166300f1c72a60a79fddd21
 WHIRLPOOL 
a0ed31b912e83f07c1f3814f47f7514a22db0e5fd699a890a4640fd36b053e491a93a15fe0a8b721ce08389a2727acc0928994c495c341bbfdfc5453d5d4af31
 DIST pure-ftpd-1.0.42.tar.bz2 496652 SHA256 
efd11295998453e31dbeef9159624beabbac2643a338134ae8c2ef529aa2ec10 SHA512 
730ece22ce9a8562c5da6063de2b99404fbc0d0fa0b591383c319a762ea33cec74239474bcb56606b7af254dd76e31154f27a745df0c619932c9b8b4f150bc9c
 WHIRLPOOL 
bcbcd32fcfe10741f214559f7051bca302addc9bdc0a90a24e33a53c8103199a2eb40ea65e314fc66c59a47a479bd6774e332f4898d750c90b6dbf1bee01bcec
 DIST pure-ftpd-1.0.43.tar.bz2 496391 SHA256 
1289a094c7b5675132cefd1383472d6cab60e757ee75ff3b2687072e8d7df7b2 SHA512 
1fff6a9bc8585c0bf1bb354ca7531744338a2e7899234de62c2d4ad0bab8de9c142e350533fcdd669bf519fbfc625b6a21733924a09ad3136863cf145e7ce822
 WHIRLPOOL 
4c12e2fd0398eedc187cd8e791b6ca2f4dbc0c99671cc97e3698f4bf7ea5ddb5f903a052b075387fde1f6854abf8a8e0b9ff7bad50dff5c10c86ff632df55536
 DIST pure-ftpd-1.0.44.tar.bz2 497528 SHA256 
30b65765cab64db04ebb983a8ff363a6d45fd1f99e9e5ec2fbdd40eba3c68b7a SHA512 
816332baa3fde84f67b36d59e4193d841cd1bbdf1e4c914fe1836797215879157945094268033409f6800509e04d9d3222b6bee27d9193ef64a5167efdfda292
 WHIRLPOOL 
5f0994e1c31f4a6490e123685010a6d1c341c7cf825e2476dc4a6c9d3eb518c5b9182d4175057c0aeeb0f78233a50557e9ebe7e77e8c26f0cdb7073eecd0330f

diff --git a/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild 
b/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild
deleted file mode 100644
index e82095d..
--- a/net-ftp/pure-ftpd/pure-ftpd-1.0.41.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils confutils flag-o-matic
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-DESCRIPTION="Fast, production-quality, standard-conformant FTP server"
-HOMEPAGE="http://www.pureftpd.org/;
-SRC_URI="ftp://ftp.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2
-   http://download.pureftpd.org/pub/${PN}/releases/${P}.tar.bz2;
-
-LICENSE="BSD"
-SLOT="0"
-
-IUSE="anondel anonperm anonren anonres caps charconv implicittls ldap mysql 
noiplog pam paranoidmsg postgres resolveids selinux ssl sysquota vchroot xinetd"
-
-REQUIRED_USE="implicittls? ( ssl )"
-
-DEPEND="caps? ( sys-libs/libcap )
-   charconv? ( virtual/libiconv )
-   ldap? ( >=net-nds/openldap-2.0.25 )
-   mysql? ( virtual/mysql )
-   pam? ( virtual/pam )
-   postgres? ( dev-db/postgresql:= )
-   ssl? ( >=dev-libs/openssl-0.9.6g:0=[-bindist] )
-   sysquota? ( sys-fs/quota[-rpc] )
-   xinetd? ( virtual/inetd )"
-
-RDEPEND="${DEPEND}
-   dev-libs/libsodium:=
-   net-ftp/ftpbase
-   selinux? ( sec-policy/selinux-ftp )"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-1.0.28-pam.patch
-}
-
-src_configure() {
-   # adjust max user length to something more appropriate
-   # for virtual hosts. See bug #62472 for details.
-   sed -e "s:# define MAX_USER_LENGTH 32U:# define MAX_USER_LENGTH 127U:" \
-   -i "${S}/src/ftpd.h" || die "sed failed"
-
-   local my_conf=""
-
-   # Let's configure the USE-enabled stuff
-   enable_extension_without"capabilities"  "caps"
-   enable_extension_with   "rfc2640"   "charconv"  
0
-   enable_extension_with   "ldap"  "ldap"  
0
-   enable_extension_with   "mysql" "mysql" 
0
-   enable_extension_with   "pam"   

[gentoo-commits] repo/gentoo:master commit in: sys-libs/musl/

2017-01-01 Thread Anthony G. Basile
commit: 10f1632f704cfed429b2ff539daed6136cb4f793
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Jan  1 16:57:01 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Jan  1 16:57:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f1632f

sys-libs/musl: version bump to 1.1.16

Package-Manager: portage-2.3.0

 sys-libs/musl/Manifest   |   1 +
 sys-libs/musl/musl-1.1.16.ebuild | 117 +++
 2 files changed, 118 insertions(+)

diff --git a/sys-libs/musl/Manifest b/sys-libs/musl/Manifest
index 67f8d04..a441c61 100644
--- a/sys-libs/musl/Manifest
+++ b/sys-libs/musl/Manifest
@@ -2,3 +2,4 @@ DIST getconf.c 11614 SHA256 
d87d0cbb3690ae2c5d8cc218349fd8278b93855dd625deaf7ae5
 DIST getent.c 9438 SHA256 
68373a55e89ce85c562d941ccf588337d6cc6c9c17689d695f65cd7607134bbe SHA512 
b35de9847353b273516162ed4828a810c6130fc5b7de44ee4433003b3f99647b25792d9b1c40dfc67069add11f3fb850e5c35d4f1912dccac108059bbbdfd5a2
 WHIRLPOOL 
473e54a9158e70c411f4c84e590bcfd245051212a3346a3c6dd45df9f09a5fbccbc8900ad7f8691eb5ebb8cd1002caf9519abaffb1753175d4f8acb1d32236b4
 DIST iconv.c 2577 SHA256 
f79a2930a2e5bb0624321589edf8b889d1e9b603e01e6b7ae214616605b3fdd7 SHA512 
9d42d66fb1facce2b85dad919be5be819ee290bd26ca2db00982b2f8e055a0196290a008711cbe2b18ec9eee8d2270e3b3a4692c5a1b807013baa5c2b70a2bbf
 WHIRLPOOL 
8b067d7f3e5b8c9862cf78cf727fa748d9b6b23be518df382251d1e3e0a6eb386b1fd7788ba3b36dadba03aa5b43e25eb25528efcadc74fa543c38a61650c5bc
 DIST musl-1.1.15.tar.gz 911600 SHA256 
97e447c7ee2a7f613186ec54a93054fe15469fe34d7d323080f7ef38f5ecb0fa SHA512 
9e923572c0d6bad3dc2d2646d4b0699c10b477ce6300ac6c6224895192a90667f581ddf6eda2ab8c4c16f47bde4bccb03bb90478638d136d9df721430f4d0163
 WHIRLPOOL 
68c510cf7d4216ccc5775466fa23f76ebecf1658552d613dee523bb7cc3a9f824959fe76355d1ce47326b276bf2657c9b4f3f557d81bf9c1a873f18405ad8ebf
+DIST musl-1.1.16.tar.gz 927178 SHA256 
937185a5e5d721050306cf106507a006c3f1f86d86cd550024ea7be909071011 SHA512 
47c00e50b7605102fb4aebe1f9ba9db94d26fac64805f6d744c9c557a05b8a58dff7f9558ff7c8d66b5d7c43740cdc2dd79448bacac47f1414e6ada99c210140
 WHIRLPOOL 
d4e84ef591a1cee0a64d4abf258b7cb2eeacfa7b11695b1bfa89bafde0404e8310a02ab04814df2d4a9ac812a640bbcf8695bab10807f8b8d64c5bdb9d468ca4

diff --git a/sys-libs/musl/musl-1.1.16.ebuild b/sys-libs/musl/musl-1.1.16.ebuild
new file mode 100644
index ..fc64c20
--- /dev/null
+++ b/sys-libs/musl/musl-1.1.16.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils flag-o-matic multilib toolchain-funcs
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="git://git.musl-libc.org/musl"
+   inherit git-r3
+   SRC_URI="
+   http://dev.gentoo.org/~blueness/musl-misc/getconf.c
+   http://dev.gentoo.org/~blueness/musl-misc/getent.c
+   http://dev.gentoo.org/~blueness/musl-misc/iconv.c;
+   KEYWORDS=""
+else
+   SRC_URI="http://www.musl-libc.org/releases/${P}.tar.gz
+   http://dev.gentoo.org/~blueness/musl-misc/getconf.c
+   http://dev.gentoo.org/~blueness/musl-misc/getent.c
+   http://dev.gentoo.org/~blueness/musl-misc/iconv.c;
+   KEYWORDS="-* ~amd64 ~arm ~mips ~ppc ~x86"
+fi
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+   if [[ ${CATEGORY} == cross-* ]] ; then
+   export CTARGET=${CATEGORY#cross-}
+   fi
+fi
+
+DESCRIPTION="Light, fast and simple C library focused on standards-conformance 
and safety"
+HOMEPAGE="http://www.musl-libc.org/;
+LICENSE="MIT LGPL-2 GPL-2"
+SLOT="0"
+IUSE="crosscompile_opts_headers-only"
+
+QA_SONAME="/usr/lib/libc.so"
+QA_DT_NEEDED="/usr/lib/libc.so"
+
+is_crosscompile() {
+   [[ ${CHOST} != ${CTARGET} ]]
+}
+
+just_headers() {
+   use crosscompile_opts_headers-only && is_crosscompile
+}
+
+pkg_setup() {
+   if [ ${CTARGET} == ${CHOST} ] ; then
+   case ${CHOST} in
+   *-musl*) ;;
+   *) die "Use sys-devel/crossdev to build a musl toolchain" ;;
+   esac
+   fi
+}
+
+src_configure() {
+   tc-getCC ${CTARGET}
+   just_headers && export CC=true
+
+   local sysroot
+   is_crosscompile && sysroot=/usr/${CTARGET}
+   ./configure \
+   --target=${CTARGET} \
+   --prefix=${sysroot}/usr \
+   --syslibdir=${sysroot}/lib \
+   --disable-gcc-wrapper || die
+}
+
+src_compile() {
+   emake obj/include/bits/alltypes.h
+   just_headers && return 0
+
+   emake
+   $(tc-getCC) ${CFLAGS} "${DISTDIR}"/getconf.c -o "${T}"/getconf || die
+   $(tc-getCC) ${CFLAGS} "${DISTDIR}"/getent.c -o "${T}"/getent || die
+   $(tc-getCC) ${CFLAGS} "${DISTDIR}"/iconv.c -o "${T}"/iconv || die
+}
+
+src_install() {
+   local target="install"
+   just_headers && target="install-headers"
+   emake 

[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: 057adccd201fedd6e465395554d1283eeb9d0ef4
Author: Jason Zaman  perfinion  com>
AuthorDate: Sat Aug 13 16:37:55 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:41:45 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=057adccd

virt: kernel_read_system_state

 policy/modules/contrib/virt.te | 4 
 1 file changed, 4 insertions(+)

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index 073bdc7..d68ea34 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -1331,6 +1331,8 @@ files_pid_filetrans(virtlockd_t, virtlockd_run_t, file)
 
 can_exec(virtlockd_t, virtlockd_exec_t)
 
+kernel_read_system_state(virtlockd_t)
+
 files_read_etc_files(virtlockd_t)
 files_list_var_lib(virtlockd_t)
 
@@ -1357,6 +1359,8 @@ files_pid_filetrans(virtlogd_t, virtlogd_run_t, file)
 
 can_exec(virtlogd_t, virtlogd_exec_t)
 
+kernel_read_system_state(virtlogd_t)
+
 files_read_etc_files(virtlogd_t)
 files_list_var_lib(virtlogd_t)
 



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: 0689d4afa74c089cc196125380526a7e82d87b6a
Author: Jason Zaman  perfinion  com>
AuthorDate: Thu May 12 16:49:07 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:41:45 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0689d4af

virt: add policy for virtlogd

 policy/modules/contrib/virt.fc |  1 +
 policy/modules/contrib/virt.te | 42 ++
 2 files changed, 43 insertions(+)

diff --git a/policy/modules/contrib/virt.fc b/policy/modules/contrib/virt.fc
index 22c1ed7..dca262a 100644
--- a/policy/modules/contrib/virt.fc
+++ b/policy/modules/contrib/virt.fc
@@ -32,6 +32,7 @@ HOME_DIR/VirtualMachines/isos(/.*)?   
gen_context(system_u:object_r:virt_content_t
 /usr/sbin/libvirt-qmf  --  
gen_context(system_u:object_r:virt_qmf_exec_t,s0)
 /usr/sbin/libvirtd --  gen_context(system_u:object_r:virtd_exec_t,s0)
 /usr/sbin/virtlockd--  
gen_context(system_u:object_r:virtlockd_exec_t,s0)
+/usr/sbin/virtlogd --  
gen_context(system_u:object_r:virtlogd_exec_t,s0)
 
 /var/cache/libvirt(/.*)?   
gen_context(system_u:object_r:virt_cache_t,s0-mls_systemhigh)
 

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index 41a352d..0924307 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -208,12 +208,21 @@ files_pid_file(virtlockd_run_t)
 type virtlockd_var_lib_t;
 files_type(virtlockd_var_lib_t)
 
+type virtlogd_t;
+type virtlogd_exec_t;
+init_daemon_domain(virtlogd_t, virtlogd_exec_t)
+
+type virtlogd_run_t;
+files_pid_file(virtlogd_run_t)
+
 ifdef(`enable_mcs',`
init_ranged_daemon_domain(virtlockd_t, virtlockd_exec_t, s0 - 
mcs_systemhigh)
+   init_ranged_daemon_domain(virtlogd_t, virtlogd_exec_t, s0 - 
mcs_systemhigh)
 ')
 
 ifdef(`enable_mls',`
init_ranged_daemon_domain(virtlockd_t, virtlockd_exec_t, s0 - 
mls_systemhigh)
+   init_ranged_daemon_domain(virtlogd_t, virtlogd_exec_t, s0 - 
mls_systemhigh)
 ')
 
 
@@ -234,6 +243,9 @@ allow virt_domain virtd_t:fd use;
 allow virt_domain virtd_t:fifo_file rw_fifo_file_perms;
 allow virt_domain virtd_t:process sigchld;
 
+allow virt_domain virtlogd_t:fd use;
+allow virt_domain virtlogd_t:fifo_file rw_fifo_file_perms;
+
 dontaudit virt_domain virtd_t:unix_stream_socket { read write };
 
 manage_dirs_pattern(virt_domain, virt_cache_t, virt_cache_t)
@@ -472,6 +484,9 @@ dontaudit virtd_t virt_domain:process { siginh noatsecure 
rlimitinh };
 allow virtd_t { virt_domain svirt_lxc_domain }:unix_stream_socket { 
create_stream_socket_perms connectto };
 allow virtd_t svirt_lxc_domain:process signal_perms;
 
+allow virtd_t virtlogd_t:fd use;
+allow virtd_t virtlogd_t:fifo_file rw_fifo_file_perms;
+
 allow virtd_t virtd_lxc_t:process { signal signull sigkill };
 
 domtrans_pattern(virtd_t, virtd_lxc_exec_t, virtd_lxc_t)
@@ -558,6 +573,7 @@ filetrans_pattern(virtd_t, virt_var_run_t, 
virtd_lxc_var_run_t, dir, "lxc")
 stream_connect_pattern(virtd_t, virtd_lxc_var_run_t, virtd_lxc_var_run_t, 
virtd_lxc_t)
 stream_connect_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t, virt_domain)
 stream_connect_pattern(virtd_t, virt_var_run_t, virtlockd_run_t, virtlockd_t)
+stream_connect_pattern(virtd_t, virt_var_run_t, virtlogd_run_t, virtlogd_t)
 
 can_exec(virtd_t, virt_tmp_t)
 
@@ -1319,3 +1335,29 @@ miscfiles_read_localization(virtlockd_t)
 
 virt_append_log(virtlockd_t)
 virt_read_config(virtlockd_t)
+
+
+#
+# Virtlogd local policy
+#
+
+allow virtlogd_t self:fifo_file rw_fifo_file_perms;
+
+allow virtlogd_t virtd_t:dir list_dir_perms;
+allow virtlogd_t virtd_t:file read_file_perms;
+allow virtlogd_t virtd_t:lnk_file read_lnk_file_perms;
+
+manage_files_pattern(virtlogd_t, virt_var_run_t, virtlogd_run_t)
+manage_sock_files_pattern(virtlogd_t, virt_var_run_t, virtlogd_run_t)
+filetrans_pattern(virtlogd_t, virt_var_run_t, virtlogd_run_t, sock_file)
+files_pid_filetrans(virtlogd_t, virtlogd_run_t, file)
+
+can_exec(virtlogd_t, virtlogd_exec_t)
+
+files_read_etc_files(virtlogd_t)
+files_list_var_lib(virtlogd_t)
+
+miscfiles_read_localization(virtlogd_t)
+
+virt_manage_log(virtlogd_t)
+virt_read_config(virtlogd_t)



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: 825f87ccd353ab7d66bb41c5cb1905d89654fce0
Author: Jason Zaman  perfinion  com>
AuthorDate: Wed Aug 31 15:03:49 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:41:45 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=825f87cc

WIP virt: image type perms

 policy/modules/contrib/virt.te | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index d68ea34..f6bc770 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -468,7 +468,7 @@ tunable_policy(`virt_use_vfio',`
 #
 
 allow virtd_t self:capability { chown dac_override fowner ipc_lock kill mknod 
net_admin net_raw setpcap setuid setgid sys_admin sys_nice };
-allow virtd_t self:process { getcap getsched setcap sigkill signal signull 
execmem setexec setfscreate setsockcreate setsched };
+allow virtd_t self:process { getcap getsched setcap sigkill signal signull 
execmem setexec setfscreate setrlimit setsockcreate setsched };
 allow virtd_t self:fifo_file { manage_fifo_file_perms relabelfrom relabelto };
 allow virtd_t self:unix_stream_socket { accept connectto listen relabelfrom 
relabelto };
 allow virtd_t self:tcp_socket { accept listen };
@@ -530,9 +530,9 @@ manage_blk_files_pattern(virtd_t, virt_image_type, 
virt_image_type)
 manage_lnk_files_pattern(virtd_t, virt_image_type, virt_image_type)
 
 allow virtd_t virt_image_type:file relabel_file_perms;
+allow virtd_t virt_image_type:dir { manage_dir_perms relabel_dir_perms };
 allow virtd_t virt_image_type:blk_file relabel_blk_file_perms;
 allow virtd_t virt_image_type:chr_file relabel_chr_file_perms;
-allow virtd_t virt_image_type:chr_file relabel_chr_file_perms;
 
 allow virtd_t virt_ptynode:chr_file rw_term_perms;
 
@@ -572,7 +572,7 @@ manage_files_pattern(virtd_t, virtd_lxc_var_run_t, 
virtd_lxc_var_run_t)
 filetrans_pattern(virtd_t, virt_var_run_t, virtd_lxc_var_run_t, dir, "lxc")
 
 stream_connect_pattern(virtd_t, virtd_lxc_var_run_t, virtd_lxc_var_run_t, 
virtd_lxc_t)
-stream_connect_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t, virt_domain)
+stream_connect_pattern(virtd_t, { virt_image_type svirt_var_run_t }, { 
virt_image_type svirt_var_run_t}, virt_domain)
 stream_connect_pattern(virtd_t, virt_var_run_t, virtlockd_run_t, virtlockd_t)
 stream_connect_pattern(virtd_t, virt_var_run_t, virtlogd_run_t, virtlogd_t)
 
@@ -714,7 +714,6 @@ tunable_policy(`virt_use_samba',`
 
 tunable_policy(`virt_use_vfio',`
allow virtd_t self:capability sys_resource;
-   allow virtd_t self:process setrlimit;
allow virtd_t svirt_t:process rlimitinh;
dev_relabelfrom_vfio_dev(virtd_t)
 ')



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: aab0a8a125baba6defd5178025d458ffbd29f5e5
Author: Jason Zaman  perfinion  com>
AuthorDate: Fri May 27 20:44:51 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:41:45 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=aab0a8a1

virt: virtlockd doesnt need ps_process_pattern

 policy/modules/contrib/virt.te | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index 0924307..53233cb 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -1308,6 +1308,10 @@ kernel_dontaudit_read_system_state(virt_leaseshelper_t)
 allow virtlockd_t self:capability dac_override;
 allow virtlockd_t self:fifo_file rw_fifo_file_perms;
 
+allow virtlockd_t virtd_t:dir list_dir_perms;
+allow virtlockd_t virtd_t:file read_file_perms;
+allow virtlockd_t virtd_t:lnk_file read_lnk_file_perms;
+
 allow virtlockd_t virt_image_type:dir list_dir_perms;
 allow virtlockd_t virt_image_type:file rw_file_perms;
 
@@ -1326,8 +1330,6 @@ files_pid_filetrans(virtlockd_t, virtlockd_run_t, file)
 
 can_exec(virtlockd_t, virtlockd_exec_t)
 
-ps_process_pattern(virtlockd_t, virtd_t)
-
 files_read_etc_files(virtlockd_t)
 files_list_var_lib(virtlockd_t)
 



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: 7a4066298de57f3bec0ff28a6a261e893b4f509b
Author: Jason Zaman  perfinion  com>
AuthorDate: Thu Aug 11 05:49:02 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:41:45 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=7a406629

virt: need to relabel to set categories

libvirtError: unable to set security context
'system_u:object_r:svirt_image_t:s0:c50,c346' on
'/var/lib/libvirt/qemu/domain-1-zfstest': Permission denied

 policy/modules/contrib/virt.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index 53233cb..073bdc7 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -501,6 +501,7 @@ filetrans_pattern(virtd_t, virt_home_t, virt_content_t, 
dir, "isos")
 allow virtd_t virtd_keytab_t:file read_file_perms;
 
 allow virtd_t svirt_var_run_t:file relabel_file_perms;
+allow virtd_t svirt_var_run_t:dir relabel_dir_perms;
 manage_dirs_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t)
 manage_files_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t)
 manage_sock_files_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/

2017-01-01 Thread Jason Zaman
commit: cdcad1b4eb7e68b9f4f227f6bef5ee5abfc766d3
Author: Jason Zaman  perfinion  com>
AuthorDate: Sun Jan  1 16:40:56 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:41:45 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=cdcad1b4

devices: dev_setattr_generic_chr_files added upstream, remove gentoo interface

 policy/modules/kernel/devices.if | 19 ---
 1 file changed, 19 deletions(-)

diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if
index 7d99b29..428f5a0 100644
--- a/policy/modules/kernel/devices.if
+++ b/policy/modules/kernel/devices.if
@@ -5127,25 +5127,6 @@ interface(`dev_dontaudit_read_sysfs',`
 
 
 ## 
-## Setattr for generic character device files.
-## 
-## 
-## 
-## Domain allowed access
-## 
-## 
-#
-interface(`dev_setattr_generic_chr_files',`
-   gen_require(`
-   type device_t;
-   ')
-
-   allow $1 device_t:chr_file setattr;
-')
-
-
-
-## 
 ## Relabel cpu online hardware state information.
 ## 
 ## 



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: b408a4f834ead0cf75539fcdd31f947c7841ec9a
Author: Jason Zaman  perfinion  com>
AuthorDate: Fri May 27 20:44:51 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:37:17 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=b408a4f8

virt: virtlockd doesnt need ps_process_pattern

 policy/modules/contrib/virt.te | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index 0924307..53233cb 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -1308,6 +1308,10 @@ kernel_dontaudit_read_system_state(virt_leaseshelper_t)
 allow virtlockd_t self:capability dac_override;
 allow virtlockd_t self:fifo_file rw_fifo_file_perms;
 
+allow virtlockd_t virtd_t:dir list_dir_perms;
+allow virtlockd_t virtd_t:file read_file_perms;
+allow virtlockd_t virtd_t:lnk_file read_lnk_file_perms;
+
 allow virtlockd_t virt_image_type:dir list_dir_perms;
 allow virtlockd_t virt_image_type:file rw_file_perms;
 
@@ -1326,8 +1330,6 @@ files_pid_filetrans(virtlockd_t, virtlockd_run_t, file)
 
 can_exec(virtlockd_t, virtlockd_exec_t)
 
-ps_process_pattern(virtlockd_t, virtd_t)
-
 files_read_etc_files(virtlockd_t)
 files_list_var_lib(virtlockd_t)
 



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: 8785c8c6eb78bf8ab2e6cf915065b3dff243b56e
Author: Jason Zaman  perfinion  com>
AuthorDate: Thu May 12 16:49:07 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:37:17 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=8785c8c6

virt: add policy for virtlogd

 policy/modules/contrib/virt.fc |  1 +
 policy/modules/contrib/virt.te | 42 ++
 2 files changed, 43 insertions(+)

diff --git a/policy/modules/contrib/virt.fc b/policy/modules/contrib/virt.fc
index 22c1ed7..dca262a 100644
--- a/policy/modules/contrib/virt.fc
+++ b/policy/modules/contrib/virt.fc
@@ -32,6 +32,7 @@ HOME_DIR/VirtualMachines/isos(/.*)?   
gen_context(system_u:object_r:virt_content_t
 /usr/sbin/libvirt-qmf  --  
gen_context(system_u:object_r:virt_qmf_exec_t,s0)
 /usr/sbin/libvirtd --  gen_context(system_u:object_r:virtd_exec_t,s0)
 /usr/sbin/virtlockd--  
gen_context(system_u:object_r:virtlockd_exec_t,s0)
+/usr/sbin/virtlogd --  
gen_context(system_u:object_r:virtlogd_exec_t,s0)
 
 /var/cache/libvirt(/.*)?   
gen_context(system_u:object_r:virt_cache_t,s0-mls_systemhigh)
 

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index 41a352d..0924307 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -208,12 +208,21 @@ files_pid_file(virtlockd_run_t)
 type virtlockd_var_lib_t;
 files_type(virtlockd_var_lib_t)
 
+type virtlogd_t;
+type virtlogd_exec_t;
+init_daemon_domain(virtlogd_t, virtlogd_exec_t)
+
+type virtlogd_run_t;
+files_pid_file(virtlogd_run_t)
+
 ifdef(`enable_mcs',`
init_ranged_daemon_domain(virtlockd_t, virtlockd_exec_t, s0 - 
mcs_systemhigh)
+   init_ranged_daemon_domain(virtlogd_t, virtlogd_exec_t, s0 - 
mcs_systemhigh)
 ')
 
 ifdef(`enable_mls',`
init_ranged_daemon_domain(virtlockd_t, virtlockd_exec_t, s0 - 
mls_systemhigh)
+   init_ranged_daemon_domain(virtlogd_t, virtlogd_exec_t, s0 - 
mls_systemhigh)
 ')
 
 
@@ -234,6 +243,9 @@ allow virt_domain virtd_t:fd use;
 allow virt_domain virtd_t:fifo_file rw_fifo_file_perms;
 allow virt_domain virtd_t:process sigchld;
 
+allow virt_domain virtlogd_t:fd use;
+allow virt_domain virtlogd_t:fifo_file rw_fifo_file_perms;
+
 dontaudit virt_domain virtd_t:unix_stream_socket { read write };
 
 manage_dirs_pattern(virt_domain, virt_cache_t, virt_cache_t)
@@ -472,6 +484,9 @@ dontaudit virtd_t virt_domain:process { siginh noatsecure 
rlimitinh };
 allow virtd_t { virt_domain svirt_lxc_domain }:unix_stream_socket { 
create_stream_socket_perms connectto };
 allow virtd_t svirt_lxc_domain:process signal_perms;
 
+allow virtd_t virtlogd_t:fd use;
+allow virtd_t virtlogd_t:fifo_file rw_fifo_file_perms;
+
 allow virtd_t virtd_lxc_t:process { signal signull sigkill };
 
 domtrans_pattern(virtd_t, virtd_lxc_exec_t, virtd_lxc_t)
@@ -558,6 +573,7 @@ filetrans_pattern(virtd_t, virt_var_run_t, 
virtd_lxc_var_run_t, dir, "lxc")
 stream_connect_pattern(virtd_t, virtd_lxc_var_run_t, virtd_lxc_var_run_t, 
virtd_lxc_t)
 stream_connect_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t, virt_domain)
 stream_connect_pattern(virtd_t, virt_var_run_t, virtlockd_run_t, virtlockd_t)
+stream_connect_pattern(virtd_t, virt_var_run_t, virtlogd_run_t, virtlogd_t)
 
 can_exec(virtd_t, virt_tmp_t)
 
@@ -1319,3 +1335,29 @@ miscfiles_read_localization(virtlockd_t)
 
 virt_append_log(virtlockd_t)
 virt_read_config(virtlockd_t)
+
+
+#
+# Virtlogd local policy
+#
+
+allow virtlogd_t self:fifo_file rw_fifo_file_perms;
+
+allow virtlogd_t virtd_t:dir list_dir_perms;
+allow virtlogd_t virtd_t:file read_file_perms;
+allow virtlogd_t virtd_t:lnk_file read_lnk_file_perms;
+
+manage_files_pattern(virtlogd_t, virt_var_run_t, virtlogd_run_t)
+manage_sock_files_pattern(virtlogd_t, virt_var_run_t, virtlogd_run_t)
+filetrans_pattern(virtlogd_t, virt_var_run_t, virtlogd_run_t, sock_file)
+files_pid_filetrans(virtlogd_t, virtlogd_run_t, file)
+
+can_exec(virtlogd_t, virtlogd_exec_t)
+
+files_read_etc_files(virtlogd_t)
+files_list_var_lib(virtlogd_t)
+
+miscfiles_read_localization(virtlogd_t)
+
+virt_manage_log(virtlogd_t)
+virt_read_config(virtlogd_t)



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: 200b4f8675cf7052c0465df698acc5bb086e84fa
Author: Jason Zaman  perfinion  com>
AuthorDate: Sat Aug 13 16:37:55 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:37:17 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=200b4f86

virt: kernel_read_system_state

 policy/modules/contrib/virt.te | 4 
 1 file changed, 4 insertions(+)

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index 073bdc7..d68ea34 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -1331,6 +1331,8 @@ files_pid_filetrans(virtlockd_t, virtlockd_run_t, file)
 
 can_exec(virtlockd_t, virtlockd_exec_t)
 
+kernel_read_system_state(virtlockd_t)
+
 files_read_etc_files(virtlockd_t)
 files_list_var_lib(virtlockd_t)
 
@@ -1357,6 +1359,8 @@ files_pid_filetrans(virtlogd_t, virtlogd_run_t, file)
 
 can_exec(virtlogd_t, virtlogd_exec_t)
 
+kernel_read_system_state(virtlogd_t)
+
 files_read_etc_files(virtlogd_t)
 files_list_var_lib(virtlogd_t)
 



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: 25870fced7fd72db22bccb30f4f9964d2a51d548
Author: Jason Zaman  perfinion  com>
AuthorDate: Wed Aug 31 15:03:49 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:37:17 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=25870fce

WIP virt: image type perms

 policy/modules/contrib/virt.te | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index d68ea34..f6bc770 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -468,7 +468,7 @@ tunable_policy(`virt_use_vfio',`
 #
 
 allow virtd_t self:capability { chown dac_override fowner ipc_lock kill mknod 
net_admin net_raw setpcap setuid setgid sys_admin sys_nice };
-allow virtd_t self:process { getcap getsched setcap sigkill signal signull 
execmem setexec setfscreate setsockcreate setsched };
+allow virtd_t self:process { getcap getsched setcap sigkill signal signull 
execmem setexec setfscreate setrlimit setsockcreate setsched };
 allow virtd_t self:fifo_file { manage_fifo_file_perms relabelfrom relabelto };
 allow virtd_t self:unix_stream_socket { accept connectto listen relabelfrom 
relabelto };
 allow virtd_t self:tcp_socket { accept listen };
@@ -530,9 +530,9 @@ manage_blk_files_pattern(virtd_t, virt_image_type, 
virt_image_type)
 manage_lnk_files_pattern(virtd_t, virt_image_type, virt_image_type)
 
 allow virtd_t virt_image_type:file relabel_file_perms;
+allow virtd_t virt_image_type:dir { manage_dir_perms relabel_dir_perms };
 allow virtd_t virt_image_type:blk_file relabel_blk_file_perms;
 allow virtd_t virt_image_type:chr_file relabel_chr_file_perms;
-allow virtd_t virt_image_type:chr_file relabel_chr_file_perms;
 
 allow virtd_t virt_ptynode:chr_file rw_term_perms;
 
@@ -572,7 +572,7 @@ manage_files_pattern(virtd_t, virtd_lxc_var_run_t, 
virtd_lxc_var_run_t)
 filetrans_pattern(virtd_t, virt_var_run_t, virtd_lxc_var_run_t, dir, "lxc")
 
 stream_connect_pattern(virtd_t, virtd_lxc_var_run_t, virtd_lxc_var_run_t, 
virtd_lxc_t)
-stream_connect_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t, virt_domain)
+stream_connect_pattern(virtd_t, { virt_image_type svirt_var_run_t }, { 
virt_image_type svirt_var_run_t}, virt_domain)
 stream_connect_pattern(virtd_t, virt_var_run_t, virtlockd_run_t, virtlockd_t)
 stream_connect_pattern(virtd_t, virt_var_run_t, virtlogd_run_t, virtlogd_t)
 
@@ -714,7 +714,6 @@ tunable_policy(`virt_use_samba',`
 
 tunable_policy(`virt_use_vfio',`
allow virtd_t self:capability sys_resource;
-   allow virtd_t self:process setrlimit;
allow virtd_t svirt_t:process rlimitinh;
dev_relabelfrom_vfio_dev(virtd_t)
 ')



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/contrib/

2017-01-01 Thread Jason Zaman
commit: d313346330e8329dba085cc1f98a32538e0df08c
Author: Jason Zaman  perfinion  com>
AuthorDate: Thu Aug 11 05:49:02 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:37:17 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=d3133463

virt: need to relabel to set categories

libvirtError: unable to set security context
'system_u:object_r:svirt_image_t:s0:c50,c346' on
'/var/lib/libvirt/qemu/domain-1-zfstest': Permission denied

 policy/modules/contrib/virt.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/contrib/virt.te b/policy/modules/contrib/virt.te
index 53233cb..073bdc7 100644
--- a/policy/modules/contrib/virt.te
+++ b/policy/modules/contrib/virt.te
@@ -501,6 +501,7 @@ filetrans_pattern(virtd_t, virt_home_t, virt_content_t, 
dir, "isos")
 allow virtd_t virtd_keytab_t:file read_file_perms;
 
 allow virtd_t svirt_var_run_t:file relabel_file_perms;
+allow virtd_t svirt_var_run_t:dir relabel_dir_perms;
 manage_dirs_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t)
 manage_files_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t)
 manage_sock_files_pattern(virtd_t, svirt_var_run_t, svirt_var_run_t)



[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/roles/

2017-01-01 Thread Jason Zaman
commit: 9836d440ba09e3169d6c43c702bdf5fdd32e1222
Author: Chris PeBenito  ieee  org>
AuthorDate: Wed Dec 21 19:29:44 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9836d440

Module version bump for xscreensaver patch from Guido Trentalancia.

 policy/modules/roles/staff.te  | 2 +-
 policy/modules/roles/sysadm.te | 2 +-
 policy/modules/roles/unprivuser.te | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/policy/modules/roles/staff.te b/policy/modules/roles/staff.te
index a528f99..d110235 100644
--- a/policy/modules/roles/staff.te
+++ b/policy/modules/roles/staff.te
@@ -1,4 +1,4 @@
-policy_module(staff, 2.7.2)
+policy_module(staff, 2.7.3)
 
 
 #

diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
index 286d088..f7b3518 100644
--- a/policy/modules/roles/sysadm.te
+++ b/policy/modules/roles/sysadm.te
@@ -1,4 +1,4 @@
-policy_module(sysadm, 2.10.2)
+policy_module(sysadm, 2.10.3)
 
 
 #

diff --git a/policy/modules/roles/unprivuser.te 
b/policy/modules/roles/unprivuser.te
index f0c990d..e18d24b 100644
--- a/policy/modules/roles/unprivuser.te
+++ b/policy/modules/roles/unprivuser.te
@@ -1,4 +1,4 @@
-policy_module(unprivuser, 2.7.2)
+policy_module(unprivuser, 2.7.3)
 
 # this module should be named user, but that is
 # a compile error since user is a keyword.



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/, policy/modules/admin/, policy/modules/system/

2017-01-01 Thread Jason Zaman
commit: 11f4cab04f6f461074f6c216a192e3c196787805
Author: Nicolas Iooss  m4x  org>
AuthorDate: Tue Dec 27 16:06:54 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:31:26 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=11f4cab0

Add file contexts in /usr for /bin, /usr/sbin and /usr/lib

Some policy modules define file contexts in /bin, /sbin and /lib without
defining similar file contexts in the same directory under /usr.

Add these missing file contexts when there are outside ifdef blocks.

 policy/modules/admin/bootloader.fc|  2 ++
 policy/modules/admin/consoletype.fc   |  2 ++
 policy/modules/admin/dmesg.fc |  2 ++
 policy/modules/admin/netutils.fc  |  2 ++
 policy/modules/admin/su.fc|  1 +
 policy/modules/kernel/corecommands.fc | 20 ++-
 policy/modules/kernel/corenetwork.fc  |  3 ++
 policy/modules/kernel/devices.fc  |  5 +++
 policy/modules/kernel/files.fc|  5 +++
 policy/modules/kernel/filesystem.fc   |  5 +++
 policy/modules/kernel/storage.fc  |  3 ++
 policy/modules/system/authlogin.fc| 14 +---
 policy/modules/system/clock.fc|  1 +
 policy/modules/system/fstools.fc  | 63 ---
 policy/modules/system/getty.fc|  2 ++
 policy/modules/system/hostname.fc |  2 ++
 policy/modules/system/hotplug.fc  |  7 ++--
 policy/modules/system/init.fc |  2 ++
 policy/modules/system/iptables.fc | 13 ++--
 policy/modules/system/libraries.fc|  3 ++
 policy/modules/system/locallogin.fc   |  3 ++
 policy/modules/system/logging.fc  |  5 +++
 policy/modules/system/lvm.fc  | 59 ++--
 policy/modules/system/modutils.fc | 14 +++-
 policy/modules/system/mount.fc|  6 
 policy/modules/system/netlabel.fc |  2 ++
 policy/modules/system/selinuxutil.fc  |  1 +
 policy/modules/system/setrans.fc  |  4 ++-
 policy/modules/system/sysnetwork.fc   | 19 +--
 policy/modules/system/systemd.fc  | 10 ++
 policy/modules/system/udev.fc |  8 +
 31 files changed, 258 insertions(+), 30 deletions(-)

diff --git a/policy/modules/admin/bootloader.fc 
b/policy/modules/admin/bootloader.fc
index 5b67c16..c43c428 100644
--- a/policy/modules/admin/bootloader.fc
+++ b/policy/modules/admin/bootloader.fc
@@ -17,3 +17,5 @@
 /usr/sbin/grub2?-install   --  
gen_context(system_u:object_r:bootloader_exec_t,s0)
 /usr/sbin/grub2?-mkconfig  --  
gen_context(system_u:object_r:bootloader_exec_t,s0)
 /usr/sbin/grub2?-probe --  
gen_context(system_u:object_r:bootloader_exec_t,s0)
+/usr/sbin/lilo.*   --  
gen_context(system_u:object_r:bootloader_exec_t,s0)
+/usr/sbin/ybin.*   --  
gen_context(system_u:object_r:bootloader_exec_t,s0)

diff --git a/policy/modules/admin/consoletype.fc 
b/policy/modules/admin/consoletype.fc
index b7f053b..5d4fc31 100644
--- a/policy/modules/admin/consoletype.fc
+++ b/policy/modules/admin/consoletype.fc
@@ -1,2 +1,4 @@
 
 /sbin/consoletype  --  
gen_context(system_u:object_r:consoletype_exec_t,s0)
+
+/usr/sbin/consoletype  --  
gen_context(system_u:object_r:consoletype_exec_t,s0)

diff --git a/policy/modules/admin/dmesg.fc b/policy/modules/admin/dmesg.fc
index d6cc2d9..0685b19 100644
--- a/policy/modules/admin/dmesg.fc
+++ b/policy/modules/admin/dmesg.fc
@@ -1,2 +1,4 @@
 
 /bin/dmesg --  
gen_context(system_u:object_r:dmesg_exec_t,s0)
+
+/usr/bin/dmesg --  
gen_context(system_u:object_r:dmesg_exec_t,s0)

diff --git a/policy/modules/admin/netutils.fc b/policy/modules/admin/netutils.fc
index f5be3f9..44cde12 100644
--- a/policy/modules/admin/netutils.fc
+++ b/policy/modules/admin/netutils.fc
@@ -7,6 +7,8 @@
 /usr/bin/arping--  
gen_context(system_u:object_r:netutils_exec_t,s0)
 /usr/bin/lft   --  
gen_context(system_u:object_r:traceroute_exec_t,s0)
 /usr/bin/nmap  --  
gen_context(system_u:object_r:traceroute_exec_t,s0)
+/usr/bin/ping.*--  gen_context(system_u:object_r:ping_exec_t,s0)
+/usr/bin/tracepath.*   --  
gen_context(system_u:object_r:traceroute_exec_t,s0)
 /usr/bin/traceroute.*  --  
gen_context(system_u:object_r:traceroute_exec_t,s0)
 
 /usr/sbin/arping   --  
gen_context(system_u:object_r:netutils_exec_t,s0)

diff --git a/policy/modules/admin/su.fc b/policy/modules/admin/su.fc
index 688abc2..3d89250 100644
--- a/policy/modules/admin/su.fc
+++ b/policy/modules/admin/su.fc
@@ -3,3 +3,4 @@
 
 /usr/(local/)?bin/ksu  --  gen_context(system_u:object_r:su_exec_t,s0)
 /usr/bin/kdesu --  gen_context(system_u:object_r:su_exec_t,s0)
+/usr/bin/su--  gen_context(system_u:object_r:su_exec_t,s0)

diff --git a/policy/modules/kernel/corecommands.fc 
b/policy/modules/kernel/corecommands.fc
index c265d1f..f2a1991 100644
--- 

[gentoo-commits] proj/hardened-refpolicy:master commit in: gentoo/

2017-01-01 Thread Jason Zaman
commit: 083681514c8de9385bbee10773c4829519404988
Author: Jason Zaman  perfinion  com>
AuthorDate: Sun Jan  1 16:33:38 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:33:38 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=08368151

Merge upstream

 gentoo/STATE | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gentoo/STATE b/gentoo/STATE
index 7aed063..6a73fa2 100644
--- a/gentoo/STATE
+++ b/gentoo/STATE
@@ -1,2 +1,2 @@
-master e972582ad5af001abd43826992fc0cb2b365dde0
-contrib 83f82559d8a82ffe5a581e6121c3d7d7cab6ac67
+master 49545aad8fb956ffd1edc442f71c7e097b976be0
+contrib 2f0e37e19865de883e09a21dfc8111c7e9930495



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/

2017-01-01 Thread Jason Zaman
commit: ebdb506866fb148014bea8f07a59deb6c15f0d58
Author: Guido Trentalancia  trentalancia  net>
AuthorDate: Thu Dec 29 22:13:04 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:31:26 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=ebdb5068

kernel: add missing plymouth interface

Add a previously missed optional plymouth interface to the kernel
module.

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/kernel/kernel.te | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te
index c6531a2..c5da1c5 100644
--- a/policy/modules/kernel/kernel.te
+++ b/policy/modules/kernel/kernel.te
@@ -384,6 +384,8 @@ optional_policy(`
 
 optional_policy(`
plymouthd_read_lib_files(kernel_t)
+   plymouthd_read_spool_files(kernel_t)
+
term_use_ptmx(kernel_t)
term_use_unallocated_ttys(kernel_t)
 ')



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/

2017-01-01 Thread Jason Zaman
commit: f6a604430f3cc0948d3d7fc97066ad65ba62e5c4
Author: Guido Trentalancia  trentalancia  net>
AuthorDate: Wed Dec 28 19:43:23 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:31:26 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=f6a60443

xserver: introduce new fc and interface to manage X session logs

The following patch (split in two parts, one for base and
another one for contrib) introduces a new file context for
the X session log files and two new interface to manage
them (instead of allowing to manage the whole user home
content files).

It is required after the recent confinement of graphical
desktop components (e.g. wm, xscreensaver).

The second version of the patch correctly uses file type
transitions and uses more tight permissions.

The third version simply moves some interface calls.

The fourth version introduces the new template for
username-dependent file contexts.

The fifth version moves other interface calls thanks to
further revisions from Christopher PeBenito (the corresponding
contrib policy part remains unchanged at version 4).

This sixth version, adds the missing diff relative to the
xserver.te policy file to declare the new xsession_log_t type.

The corresponding base policy patch is at version 4.

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/services/xserver.fc |  2 ++
 policy/modules/services/xserver.if | 65 --
 policy/modules/services/xserver.te |  3 ++
 3 files changed, 68 insertions(+), 2 deletions(-)

diff --git a/policy/modules/services/xserver.fc 
b/policy/modules/services/xserver.fc
index 5b218c6..389b74f 100644
--- a/policy/modules/services/xserver.fc
+++ b/policy/modules/services/xserver.fc
@@ -10,6 +10,7 @@ HOME_DIR/\.fontconfig(/.*)?   
gen_context(system_u:object_r:user_fonts_cache_t,s0)
 HOME_DIR/\.ICEauthority.* --   gen_context(system_u:object_r:iceauth_home_t,s0)
 HOME_DIR/\.serverauth.*--  
gen_context(system_u:object_r:xauth_home_t,s0)
 HOME_DIR/\.xauth.* --  gen_context(system_u:object_r:xauth_home_t,s0)
+HOME_DIR/\.xsession-errors --  
gen_context(system_u:object_r:xsession_log_t,s0)
 HOME_DIR/\.Xauthority.*--  
gen_context(system_u:object_r:xauth_home_t,s0)
 
 #
@@ -55,6 +56,7 @@ HOME_DIR/\.Xauthority.*   --  
gen_context(system_u:object_r:xauth_home_t,s0)
 /tmp/\.X0-lock --  gen_context(system_u:object_r:xserver_tmp_t,s0)
 /tmp/\.X11-unix-d  
gen_context(system_u:object_r:xdm_tmp_t,s0)
 /tmp/\.X11-unix/.* -s  <>
+/tmp/xses-%{USERNAME}  --  gen_context(system_u:object_r:xsession_log_t,s0)
 
 #
 # /usr

diff --git a/policy/modules/services/xserver.if 
b/policy/modules/services/xserver.if
index c1d41b5..59d5821 100644
--- a/policy/modules/services/xserver.if
+++ b/policy/modules/services/xserver.if
@@ -107,6 +107,10 @@ interface(`xserver_restricted_role',`
# Needed for escd, remove if we get escd policy
xserver_manage_xdm_tmp_files($2)
 
+   # for the .xsession-errors log file
+   xserver_user_home_dir_filetrans_user_xsession_log($2)
+   xserver_manage_xsession_log($2)
+
# Client write xserver shm
tunable_policy(`allow_write_xshm',`
allow $2 xserver_t:shm rw_shm_perms;
@@ -307,7 +311,7 @@ interface(`xserver_user_client',`
 
userdom_search_user_home_dirs($1)
# for .xsession-errors
-   userdom_dontaudit_write_user_home_content_files($1)
+   xserver_rw_xsession_log($1)
 
xserver_ro_session($1,$2)
xserver_use_user_fonts($1)
@@ -469,7 +473,7 @@ template(`xserver_user_x_domain_template',`
 
userdom_search_user_home_dirs($2)
# for .xsession-errors
-   userdom_dontaudit_write_user_home_content_files($2)
+   xserver_rw_xsession_log($2)
 
xserver_ro_session($2,$3)
xserver_use_user_fonts($2)
@@ -566,6 +570,25 @@ interface(`xserver_user_home_dir_filetrans_user_xauth',`
 
 
 ## 
+## Create a .xsession-errors log
+## file in the user home directory.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`xserver_user_home_dir_filetrans_user_xsession_log',`
+   gen_require(`
+   type xsession_log_t;
+   ')
+
+   userdom_user_home_dir_filetrans($1, xsession_log_t, file, 
".xsession-errors")
+')
+
+
+## 
 ## Read all users fonts, user font configurations,
 ## and manage all users font caches.
 ## 
@@ -1001,6 +1024,44 @@ interface(`xserver_xsession_spec_domtrans',`
 
 
 ## 
+## Read and write xsession log
+## files such as .xsession-errors.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`xserver_rw_xsession_log',`
+   gen_require(`
+   type xsession_log_t;
+   ')
+
+   

[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/kernel/

2017-01-01 Thread Jason Zaman
commit: 1a61c661fe20b6990ecb37c4a3c7ab2f9c9f5f3c
Author: Guido Trentalancia  trentalancia  net>
AuthorDate: Sun Dec 18 20:58:44 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=1a61c661

kernel: missing permissions for confined execution

This patch adds missing permissions in the kernel module that prevent
to run it without the unconfined module.

This second version improves the comment section of new interfaces:
"Domain" is replaced by "Domain allowed access".

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/kernel/devices.if|  56 +++
 policy/modules/kernel/files.if  | 131 
 policy/modules/kernel/filesystem.if |  18 +
 policy/modules/kernel/kernel.if |  18 +
 policy/modules/kernel/kernel.te |  34 ++
 policy/modules/kernel/terminal.if   |  20 ++
 6 files changed, 277 insertions(+)

diff --git a/policy/modules/kernel/devices.if b/policy/modules/kernel/devices.if
index 3f05417..7d99b29 100644
--- a/policy/modules/kernel/devices.if
+++ b/policy/modules/kernel/devices.if
@@ -480,6 +480,25 @@ interface(`dev_dontaudit_getattr_generic_blk_files',`
 
 
 ## 
+## Set the attributes on generic
+## block devices.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`dev_setattr_generic_blk_files',`
+   gen_require(`
+   type device_t;
+   ')
+
+   allow $1 device_t:blk_file setattr;
+')
+
+
+## 
 ## Dontaudit setattr on generic block devices.
 ## 
 ## 
@@ -570,6 +589,25 @@ interface(`dev_dontaudit_getattr_generic_chr_files',`
 
 
 ## 
+## Set the attributes for generic
+## character device files.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`dev_setattr_generic_chr_files',`
+   gen_require(`
+   type device_t;
+   ')
+
+   allow $1 device_t:chr_file setattr;
+')
+
+
+## 
 ## Dontaudit setattr for generic character device files.
 ## 
 ## 
@@ -3897,6 +3935,24 @@ interface(`dev_manage_smartcard',`
 
 
 ## 
+## Mount a filesystem on sysfs.
+## 
+## 
+## 
+## Domain allow access.
+## 
+## 
+#
+interface(`dev_mounton_sysfs',`
+   gen_require(`
+   type device_t;
+   ')
+
+   allow $1 sysfs_t:dir mounton;
+')
+
+
+## 
 ## Associate a file to a sysfs filesystem.
 ## 
 ## 

diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if
index 3fc0487..b5eeaf8 100644
--- a/policy/modules/kernel/files.if
+++ b/policy/modules/kernel/files.if
@@ -1786,6 +1786,25 @@ interface(`files_list_root',`
 
 
 ## 
+## Delete symbolic links in the
+## root directory.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`files_delete_root_symlinks',`
+   gen_require(`
+   type root_t;
+   ')
+
+   allow $1 root_t:lnk_file delete_lnk_file_perms;
+')
+
+
+## 
 ## Do not audit attempts to write to / dirs.
 ## 
 ## 
@@ -1914,6 +1933,25 @@ interface(`files_dontaudit_rw_root_chr_files',`
 
 
 ## 
+## Delete character device nodes in
+## the root directory.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`files_delete_root_chr_files',`
+   gen_require(`
+   type root_t;
+   ')
+
+   allow $1 root_t:chr_file delete_chr_file_perms;
+')
+
+
+## 
 ## Delete files in the root directory.
 ## 
 ## 
@@ -1932,6 +1970,24 @@ interface(`files_delete_root_files',`
 
 
 ## 
+## Execute files in the root directory.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`files_exec_root_files',`
+   gen_require(`
+   type root_t;
+   ')
+
+   allow $1 root_t:file exec_file_perms;
+')
+
+
+## 
 ## Remove entries from the root directory.
 ## 
 ## 
@@ -1950,6 +2006,43 @@ interface(`files_delete_root_dir_entry',`
 
 
 ## 
+## Manage the root directory.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`files_manage_root_dir',`
+   gen_require(`
+   type root_t;
+   ')
+
+   allow $1 root_t:dir manage_dir_perms;
+')
+
+
+## 
+## Get the attributes of a rootfs
+## file system.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#

[gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/

2017-01-01 Thread Jason Zaman
commit: 989ddb737f2e045e534d3238a9ed8248faf55c83
Author: Guido Trentalancia  trentalancia  net>
AuthorDate: Tue Dec 27 15:33:57 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=989ddb73

base: use new genhomedircon template for username

Use the new genhomedircon templates for username-dependant
file contexts (requires libsemanage >= 2.6).

This is the base policy part (1/2).

 policy/modules/system/userdomain.fc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policy/modules/system/userdomain.fc 
b/policy/modules/system/userdomain.fc
index c8b881e..6c813b4 100644
--- a/policy/modules/system/userdomain.fc
+++ b/policy/modules/system/userdomain.fc
@@ -2,7 +2,7 @@ HOME_DIR-d  
gen_context(system_u:object_r:user_home_dir_t,s0-mls_systemhigh)
 HOME_DIR/.+gen_context(system_u:object_r:user_home_t,s0)
 HOME_DIR/\.pki(/.*)?   gen_context(system_u:object_r:user_cert_t,s0)
 
-/tmp/gconfd-USER -dgen_context(system_u:object_r:user_tmp_t,s0)
+/tmp/gconfd-%{USERNAME} -d gen_context(system_u:object_r:user_tmp_t,s0)
 
 /run/user  -d  
gen_context(system_u:object_r:user_runtime_root_t,s0)
 /run/user/[^/]+-d  gen_context(system_u:object_r:user_runtime_t,s0)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/, policy/modules/services/

2017-01-01 Thread Jason Zaman
commit: 8f2fc33c9f2e053e29b89116692999132221954e
Author: Chris PeBenito  ieee  org>
AuthorDate: Sun Dec 18 22:56:17 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=8f2fc33c

Module version bump for patches from Guido Trentalancia.

 policy/modules/services/xserver.te | 2 +-
 policy/modules/system/udev.te  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/policy/modules/services/xserver.te 
b/policy/modules/services/xserver.te
index 4a730c9..ac86b84 100644
--- a/policy/modules/services/xserver.te
+++ b/policy/modules/services/xserver.te
@@ -1,4 +1,4 @@
-policy_module(xserver, 3.12.4)
+policy_module(xserver, 3.12.5)
 
 gen_require(`
class x_drawable all_x_drawable_perms;

diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te
index 760b4de..9f00627 100644
--- a/policy/modules/system/udev.te
+++ b/policy/modules/system/udev.te
@@ -1,4 +1,4 @@
-policy_module(udev, 1.20.0)
+policy_module(udev, 1.20.1)
 
 
 #



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/, policy/modules/kernel/, policy/modules/admin/

2017-01-01 Thread Jason Zaman
commit: 37ef0b2bc209a69bc70fff44bac0457c079df83e
Author: Chris PeBenito  ieee  org>
AuthorDate: Wed Dec 28 19:38:05 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:31:26 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=37ef0b2b

Module version bump for fc updates from Nicolas Iooss.

 policy/modules/admin/bootloader.te  | 2 +-
 policy/modules/admin/consoletype.te | 2 +-
 policy/modules/admin/dmesg.te   | 2 +-
 policy/modules/admin/netutils.te| 2 +-
 policy/modules/admin/su.te  | 2 +-
 policy/modules/kernel/corecommands.te   | 2 +-
 policy/modules/kernel/corenetwork.te.in | 2 +-
 policy/modules/kernel/devices.te| 2 +-
 policy/modules/kernel/files.te  | 2 +-
 policy/modules/kernel/filesystem.te | 2 +-
 policy/modules/kernel/storage.te| 2 +-
 policy/modules/system/authlogin.te  | 2 +-
 policy/modules/system/clock.te  | 2 +-
 policy/modules/system/fstools.te| 2 +-
 policy/modules/system/getty.te  | 2 +-
 policy/modules/system/hostname.te   | 2 +-
 policy/modules/system/hotplug.te| 2 +-
 policy/modules/system/init.te   | 2 +-
 policy/modules/system/iptables.te   | 2 +-
 policy/modules/system/libraries.te  | 2 +-
 policy/modules/system/locallogin.te | 2 +-
 policy/modules/system/logging.te| 2 +-
 policy/modules/system/lvm.te| 2 +-
 policy/modules/system/modutils.te   | 2 +-
 policy/modules/system/mount.te  | 2 +-
 policy/modules/system/netlabel.te   | 2 +-
 policy/modules/system/selinuxutil.te| 2 +-
 policy/modules/system/setrans.te| 2 +-
 policy/modules/system/sysnetwork.te | 2 +-
 policy/modules/system/systemd.te| 2 +-
 policy/modules/system/udev.te   | 2 +-
 31 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/policy/modules/admin/bootloader.te 
b/policy/modules/admin/bootloader.te
index ab25f9e..dc8c896 100644
--- a/policy/modules/admin/bootloader.te
+++ b/policy/modules/admin/bootloader.te
@@ -1,4 +1,4 @@
-policy_module(bootloader, 1.16.1)
+policy_module(bootloader, 1.16.2)
 
 
 #

diff --git a/policy/modules/admin/consoletype.te 
b/policy/modules/admin/consoletype.te
index cd5e005..15eb182 100644
--- a/policy/modules/admin/consoletype.te
+++ b/policy/modules/admin/consoletype.te
@@ -1,4 +1,4 @@
-policy_module(consoletype, 1.10.0)
+policy_module(consoletype, 1.10.1)
 
 
 #

diff --git a/policy/modules/admin/dmesg.te b/policy/modules/admin/dmesg.te
index 544a430..744dfb8 100644
--- a/policy/modules/admin/dmesg.te
+++ b/policy/modules/admin/dmesg.te
@@ -1,4 +1,4 @@
-policy_module(dmesg, 1.4.0)
+policy_module(dmesg, 1.4.1)
 
 
 #

diff --git a/policy/modules/admin/netutils.te b/policy/modules/admin/netutils.te
index 4080900..3b7b48d 100644
--- a/policy/modules/admin/netutils.te
+++ b/policy/modules/admin/netutils.te
@@ -1,4 +1,4 @@
-policy_module(netutils, 1.15.1)
+policy_module(netutils, 1.15.2)
 
 
 #

diff --git a/policy/modules/admin/su.te b/policy/modules/admin/su.te
index e417554..1909cfd 100644
--- a/policy/modules/admin/su.te
+++ b/policy/modules/admin/su.te
@@ -1,4 +1,4 @@
-policy_module(su, 1.13.0)
+policy_module(su, 1.13.1)
 
 
 #

diff --git a/policy/modules/kernel/corecommands.te 
b/policy/modules/kernel/corecommands.te
index 099b05b..056ee00 100644
--- a/policy/modules/kernel/corecommands.te
+++ b/policy/modules/kernel/corecommands.te
@@ -1,4 +1,4 @@
-policy_module(corecommands, 1.22.0)
+policy_module(corecommands, 1.22.1)
 
 
 #

diff --git a/policy/modules/kernel/corenetwork.te.in 
b/policy/modules/kernel/corenetwork.te.in
index a0075e2..bac6665 100644
--- a/policy/modules/kernel/corenetwork.te.in
+++ b/policy/modules/kernel/corenetwork.te.in
@@ -1,4 +1,4 @@
-policy_module(corenetwork, 1.22.0)
+policy_module(corenetwork, 1.22.1)
 
 
 #

diff --git a/policy/modules/kernel/devices.te b/policy/modules/kernel/devices.te
index fd7e826..9b1f207 100644
--- a/policy/modules/kernel/devices.te
+++ b/policy/modules/kernel/devices.te
@@ -1,4 +1,4 @@
-policy_module(devices, 1.19.1)
+policy_module(devices, 1.19.2)
 
 
 #

diff --git a/policy/modules/kernel/files.te b/policy/modules/kernel/files.te
index 4cf374b..484c7c8 100644
--- a/policy/modules/kernel/files.te
+++ b/policy/modules/kernel/files.te
@@ -1,4 +1,4 @@
-policy_module(files, 1.22.2)
+policy_module(files, 1.22.3)
 
 
 #

diff --git a/policy/modules/kernel/filesystem.te 
b/policy/modules/kernel/filesystem.te
index 0471647..5ca0608 100644
--- a/policy/modules/kernel/filesystem.te
+++ b/policy/modules/kernel/filesystem.te

[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/, policy/modules/kernel/

2017-01-01 Thread Jason Zaman
commit: 1cd6b4275bef63da2c4c37ad68574230fad38a3f
Author: Guido Trentalancia  trentalancia  net>
AuthorDate: Fri Dec 23 01:15:14 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=1cd6b427

modutils: update to run in confined mode

Update the modutils module so that it can run in confined
mode instead of unconfined mode.

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/kernel/files.if|  1 +
 policy/modules/system/modutils.te | 10 ++
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if
index 82901bc..3fc0487 100644
--- a/policy/modules/kernel/files.if
+++ b/policy/modules/kernel/files.if
@@ -4102,6 +4102,7 @@ interface(`files_manage_kernel_modules',`
type modules_object_t;
')
 
+   allow $1 modules_object_t:dir rw_dir_perms;
manage_files_pattern($1, modules_object_t, modules_object_t)
 ')
 

diff --git a/policy/modules/system/modutils.te 
b/policy/modules/system/modutils.te
index 2448f06..1a138a8 100644
--- a/policy/modules/system/modutils.te
+++ b/policy/modules/system/modutils.te
@@ -89,8 +89,8 @@ files_read_usr_files(kmod_t)
 files_exec_etc_files(kmod_t)
 # for nscd:
 files_dontaudit_search_pids(kmod_t)
-# for locking: (cjp: )
-files_write_kernel_modules(kmod_t)
+# to manage modules.dep
+files_manage_kernel_modules(kmod_t)
 
 fs_getattr_xattr_fs(kmod_t)
 fs_dontaudit_use_tmpfs_chr_dev(kmod_t)
@@ -166,12 +166,6 @@ optional_policy(`
 ')
 
 optional_policy(`
-   unconfined_domain(kmod_t)
-   unconfined_dontaudit_rw_pipes(kmod_t)
-   unconfined_domtrans_to(kmod_t, kmod_exec_t)
-')
-
-optional_policy(`
# cjp: why is this needed:
dev_rw_xserver_misc(kmod_t)
 



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/, policy/modules/admin/, policy/modules/kernel/

2017-01-01 Thread Jason Zaman
commit: 95c3bafc99092ebfe2cd865dec9a72524e398538
Author: Chris PeBenito  ieee  org>
AuthorDate: Tue Dec 27 15:51:56 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=95c3bafc

Module version bump for patches from Guido Trentalancia.

 policy/modules/admin/bootloader.te  | 2 +-
 policy/modules/kernel/devices.te| 2 +-
 policy/modules/kernel/files.te  | 2 +-
 policy/modules/kernel/filesystem.te | 2 +-
 policy/modules/kernel/kernel.te | 2 +-
 policy/modules/kernel/terminal.te   | 2 +-
 policy/modules/system/modutils.te   | 2 +-
 policy/modules/system/userdomain.te | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/policy/modules/admin/bootloader.te 
b/policy/modules/admin/bootloader.te
index e3f2a72..ab25f9e 100644
--- a/policy/modules/admin/bootloader.te
+++ b/policy/modules/admin/bootloader.te
@@ -1,4 +1,4 @@
-policy_module(bootloader, 1.16.0)
+policy_module(bootloader, 1.16.1)
 
 
 #

diff --git a/policy/modules/kernel/devices.te b/policy/modules/kernel/devices.te
index 7a3c147..fd7e826 100644
--- a/policy/modules/kernel/devices.te
+++ b/policy/modules/kernel/devices.te
@@ -1,4 +1,4 @@
-policy_module(devices, 1.19.0)
+policy_module(devices, 1.19.1)
 
 
 #

diff --git a/policy/modules/kernel/files.te b/policy/modules/kernel/files.te
index 1e58d9e..4cf374b 100644
--- a/policy/modules/kernel/files.te
+++ b/policy/modules/kernel/files.te
@@ -1,4 +1,4 @@
-policy_module(files, 1.22.1)
+policy_module(files, 1.22.2)
 
 
 #

diff --git a/policy/modules/kernel/filesystem.te 
b/policy/modules/kernel/filesystem.te
index 76f295d..a9c97ef 100644
--- a/policy/modules/kernel/filesystem.te
+++ b/policy/modules/kernel/filesystem.te
@@ -1,4 +1,4 @@
-policy_module(filesystem, 1.21.2)
+policy_module(filesystem, 1.21.3)
 
 
 #

diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te
index 2a6ab8e..45626b7 100644
--- a/policy/modules/kernel/kernel.te
+++ b/policy/modules/kernel/kernel.te
@@ -1,4 +1,4 @@
-policy_module(kernel, 1.21.2)
+policy_module(kernel, 1.21.3)
 
 
 #

diff --git a/policy/modules/kernel/terminal.te 
b/policy/modules/kernel/terminal.te
index 63f43f7..ac68855 100644
--- a/policy/modules/kernel/terminal.te
+++ b/policy/modules/kernel/terminal.te
@@ -1,4 +1,4 @@
-policy_module(terminal, 1.15.1)
+policy_module(terminal, 1.15.2)
 
 
 #

diff --git a/policy/modules/system/modutils.te 
b/policy/modules/system/modutils.te
index 1a138a8..379be74 100644
--- a/policy/modules/system/modutils.te
+++ b/policy/modules/system/modutils.te
@@ -1,4 +1,4 @@
-policy_module(modutils, 1.16.2)
+policy_module(modutils, 1.16.3)
 
 
 #

diff --git a/policy/modules/system/userdomain.te 
b/policy/modules/system/userdomain.te
index bdd8b8b..1609f57 100644
--- a/policy/modules/system/userdomain.te
+++ b/policy/modules/system/userdomain.te
@@ -1,4 +1,4 @@
-policy_module(userdomain, 4.12.3)
+policy_module(userdomain, 4.12.4)
 
 
 #



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/, policy/modules/system/, policy/modules/services/

2017-01-01 Thread Jason Zaman
commit: a3346de8032c55b8f109d4649cc1331e6e415dee
Author: Chris PeBenito  ieee  org>
AuthorDate: Thu Dec 22 20:54:46 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=a3346de8

Module version bumps for /run fc changes from cgzones.

 policy/modules/kernel/files.te| 2 +-
 policy/modules/kernel/filesystem.te   | 2 +-
 policy/modules/services/postgresql.te | 2 +-
 policy/modules/services/ssh.te| 2 +-
 policy/modules/services/xserver.te| 2 +-
 policy/modules/system/authlogin.te| 2 +-
 policy/modules/system/fstools.te  | 2 +-
 policy/modules/system/getty.te| 2 +-
 policy/modules/system/hotplug.te  | 2 +-
 policy/modules/system/init.te | 2 +-
 policy/modules/system/ipsec.te| 2 +-
 policy/modules/system/iptables.te | 2 +-
 policy/modules/system/logging.te  | 2 +-
 policy/modules/system/lvm.te  | 2 +-
 policy/modules/system/modutils.te | 2 +-
 policy/modules/system/mount.te| 2 +-
 policy/modules/system/selinuxutil.te  | 2 +-
 policy/modules/system/setrans.te  | 2 +-
 policy/modules/system/sysnetwork.te   | 2 +-
 policy/modules/system/systemd.te  | 2 +-
 policy/modules/system/udev.te | 2 +-
 policy/modules/system/userdomain.te   | 2 +-
 22 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/policy/modules/kernel/files.te b/policy/modules/kernel/files.te
index e004c90..1e58d9e 100644
--- a/policy/modules/kernel/files.te
+++ b/policy/modules/kernel/files.te
@@ -1,4 +1,4 @@
-policy_module(files, 1.22.0)
+policy_module(files, 1.22.1)
 
 
 #

diff --git a/policy/modules/kernel/filesystem.te 
b/policy/modules/kernel/filesystem.te
index 2e49c03..76f295d 100644
--- a/policy/modules/kernel/filesystem.te
+++ b/policy/modules/kernel/filesystem.te
@@ -1,4 +1,4 @@
-policy_module(filesystem, 1.21.1)
+policy_module(filesystem, 1.21.2)
 
 
 #

diff --git a/policy/modules/services/postgresql.te 
b/policy/modules/services/postgresql.te
index 627983d..9f29980 100644
--- a/policy/modules/services/postgresql.te
+++ b/policy/modules/services/postgresql.te
@@ -1,4 +1,4 @@
-policy_module(postgresql, 1.18.0)
+policy_module(postgresql, 1.18.1)
 
 gen_require(`
class db_database all_db_database_perms;

diff --git a/policy/modules/services/ssh.te b/policy/modules/services/ssh.te
index 68d945a..89db98c 100644
--- a/policy/modules/services/ssh.te
+++ b/policy/modules/services/ssh.te
@@ -1,4 +1,4 @@
-policy_module(ssh, 2.8.0)
+policy_module(ssh, 2.8.1)
 
 
 #

diff --git a/policy/modules/services/xserver.te 
b/policy/modules/services/xserver.te
index ac86b84..ba96a78 100644
--- a/policy/modules/services/xserver.te
+++ b/policy/modules/services/xserver.te
@@ -1,4 +1,4 @@
-policy_module(xserver, 3.12.5)
+policy_module(xserver, 3.12.6)
 
 gen_require(`
class x_drawable all_x_drawable_perms;

diff --git a/policy/modules/system/authlogin.te 
b/policy/modules/system/authlogin.te
index d0b9457..3f88d37 100644
--- a/policy/modules/system/authlogin.te
+++ b/policy/modules/system/authlogin.te
@@ -1,4 +1,4 @@
-policy_module(authlogin, 2.9.0)
+policy_module(authlogin, 2.9.1)
 
 
 #

diff --git a/policy/modules/system/fstools.te b/policy/modules/system/fstools.te
index 69eaf37..84a5032 100644
--- a/policy/modules/system/fstools.te
+++ b/policy/modules/system/fstools.te
@@ -1,4 +1,4 @@
-policy_module(fstools, 1.19.0)
+policy_module(fstools, 1.19.1)
 
 
 #

diff --git a/policy/modules/system/getty.te b/policy/modules/system/getty.te
index b2358ba..38c76d1 100644
--- a/policy/modules/system/getty.te
+++ b/policy/modules/system/getty.te
@@ -1,4 +1,4 @@
-policy_module(getty, 1.11.1)
+policy_module(getty, 1.11.2)
 
 
 #

diff --git a/policy/modules/system/hotplug.te b/policy/modules/system/hotplug.te
index 856ddff..efd92fb 100644
--- a/policy/modules/system/hotplug.te
+++ b/policy/modules/system/hotplug.te
@@ -1,4 +1,4 @@
-policy_module(hotplug, 1.17.0)
+policy_module(hotplug, 1.17.1)
 
 
 #

diff --git a/policy/modules/system/init.te b/policy/modules/system/init.te
index a5a1610..766e037 100644
--- a/policy/modules/system/init.te
+++ b/policy/modules/system/init.te
@@ -1,4 +1,4 @@
-policy_module(init, 2.1.0)
+policy_module(init, 2.1.1)
 
 gen_require(`
class passwd rootok;

diff --git a/policy/modules/system/ipsec.te b/policy/modules/system/ipsec.te
index 0815149..df8a123 100644
--- a/policy/modules/system/ipsec.te
+++ b/policy/modules/system/ipsec.te
@@ -1,4 +1,4 @@
-policy_module(ipsec, 1.16.0)
+policy_module(ipsec, 1.16.1)
 
 
 #

diff --git a/policy/modules/system/iptables.te 

[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/roles/, policy/modules/services/, policy/modules/kernel/

2017-01-01 Thread Jason Zaman
commit: cf3ffce4952859cb6cbc177703151c15f31ef5ec
Author: Chris PeBenito  ieee  org>
AuthorDate: Fri Dec 30 19:15:06 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:31:26 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=cf3ffce4

Module version bump for patches from Guido Trentalancia.

 policy/modules/kernel/kernel.te| 2 +-
 policy/modules/roles/sysadm.te | 2 +-
 policy/modules/services/xserver.te | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te
index c5da1c5..86233df 100644
--- a/policy/modules/kernel/kernel.te
+++ b/policy/modules/kernel/kernel.te
@@ -1,4 +1,4 @@
-policy_module(kernel, 1.21.4)
+policy_module(kernel, 1.21.5)
 
 
 #

diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
index 2a129bd..9ed2cd5 100644
--- a/policy/modules/roles/sysadm.te
+++ b/policy/modules/roles/sysadm.te
@@ -1,4 +1,4 @@
-policy_module(sysadm, 2.10.3)
+policy_module(sysadm, 2.10.4)
 
 
 #

diff --git a/policy/modules/services/xserver.te 
b/policy/modules/services/xserver.te
index 1956ddb..00fad47 100644
--- a/policy/modules/services/xserver.te
+++ b/policy/modules/services/xserver.te
@@ -1,4 +1,4 @@
-policy_module(xserver, 3.12.6)
+policy_module(xserver, 3.12.7)
 
 gen_require(`
class x_drawable all_x_drawable_perms;



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/

2017-01-01 Thread Jason Zaman
commit: 2d3434d450e59823792bf8071e07cacf5c9e9fd4
Author: Nicolas Iooss  m4x  org>
AuthorDate: Tue Dec 27 13:56:26 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=2d3434d4

Allow searching /proc/sys/fs when using /proc/sys/fs/binfmt_misc

Interface fs_register_binary_executable_type allow registering
interpreters using a filesystem monted on /proc/sys/fs/binfmt_misc. In
order to access this filesystem, the process needs to search every
parent directory of the mountpoint.

Signed-off-by: Nicolas Iooss  m4x.org>

 policy/modules/kernel/filesystem.if |  2 ++
 policy/modules/kernel/kernel.if | 19 +++
 2 files changed, 21 insertions(+)

diff --git a/policy/modules/kernel/filesystem.if 
b/policy/modules/kernel/filesystem.if
index 9471dbe..c85d805 100644
--- a/policy/modules/kernel/filesystem.if
+++ b/policy/modules/kernel/filesystem.if
@@ -612,6 +612,8 @@ interface(`fs_register_binary_executable_type',`
type binfmt_misc_fs_t;
')
 
+   # binfmt_misc filesystem is usually mounted on /proc/sys/fs/binfmt_misc
+   kernel_search_fs_sysctls($1)
rw_files_pattern($1, binfmt_misc_fs_t, binfmt_misc_fs_t)
 ')
 

diff --git a/policy/modules/kernel/kernel.if b/policy/modules/kernel/kernel.if
index 29709df..2c7ad0c 100644
--- a/policy/modules/kernel/kernel.if
+++ b/policy/modules/kernel/kernel.if
@@ -2005,6 +2005,25 @@ interface(`kernel_rw_kernel_sysctl',`
 
 
 ## 
+## Search filesystem sysctl directories.
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+## 
+#
+interface(`kernel_search_fs_sysctls',`
+   gen_require(`
+   type proc_t, sysctl_t, sysctl_fs_t;
+   ')
+
+   search_dirs_pattern($1, { proc_t sysctl_t sysctl_fs_t }, sysctl_fs_t)
+')
+
+
+## 
 ## Read filesystem sysctls.
 ## 
 ## 



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/roles/

2017-01-01 Thread Jason Zaman
commit: 1c05ab474a015637a094f5237c454b104acd531a
Author: Guido Trentalancia  trentalancia  net>
AuthorDate: Mon Dec 19 23:48:46 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=1c05ab47

base: enable the xscreensaver role

This patch enables the xscreensaver role so that the
xscreensaver module is used on those systems where the
corresponding application is installed.

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/roles/staff.te  | 4 
 policy/modules/roles/sysadm.te | 4 
 policy/modules/roles/unprivuser.te | 4 
 3 files changed, 12 insertions(+)

diff --git a/policy/modules/roles/staff.te b/policy/modules/roles/staff.te
index db93894..a528f99 100644
--- a/policy/modules/roles/staff.te
+++ b/policy/modules/roles/staff.te
@@ -60,6 +60,10 @@ optional_policy(`
 ')
 
 optional_policy(`
+   xscreensaver_role(staff_r, staff_t)
+')
+
+optional_policy(`
xserver_role(staff_r, staff_t)
 ')
 

diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
index 8b8a687..286d088 100644
--- a/policy/modules/roles/sysadm.te
+++ b/policy/modules/roles/sysadm.te
@@ -1199,6 +1199,10 @@ optional_policy(`
 ')
 
 optional_policy(`
+   xscreensaver_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
xserver_role(sysadm_r, sysadm_t)
 ')
 

diff --git a/policy/modules/roles/unprivuser.te 
b/policy/modules/roles/unprivuser.te
index da8fbc7..f0c990d 100644
--- a/policy/modules/roles/unprivuser.te
+++ b/policy/modules/roles/unprivuser.te
@@ -29,6 +29,10 @@ optional_policy(`
 ')
 
 optional_policy(`
+   xscreensaver_role(user_r, user_t)
+')
+
+optional_policy(`
xserver_role(user_r, user_t)
 ')
 



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2017-01-01 Thread Jason Zaman
commit: a5eb286b975246977f37efd4e25a48b647170aa9
Author: Guido Trentalancia  trentalancia  net>
AuthorDate: Sun Dec 18 20:01:56 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=a5eb286b

udev: manage tmpfs files and directories

Update the udev module so that the udev domain can manage tmpfs files
and directories.

Thanks to Christian Göttsche for pointing out that this only applies
to systems not using systemd (v2).

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/system/udev.te | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te
index cbce9f2..a774e61 100644
--- a/policy/modules/system/udev.te
+++ b/policy/modules/system/udev.te
@@ -229,6 +229,9 @@ ifdef(`init_systemd',`
init_dgram_send(udev_t)
 
systemd_read_logind_pids(udev_t)
+',`
+   fs_manage_tmpfs_dirs(udev_t)
+   fs_manage_tmpfs_files(udev_t)
 ')
 
 optional_policy(`



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/, policy/modules/system/

2017-01-01 Thread Jason Zaman
commit: 88b49ecb49e30198138612cead9beec8eab2acbc
Author: Chris PeBenito  ieee  org>
AuthorDate: Tue Dec 27 15:56:39 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=88b49ecb

Module version bump for systemd patch from Nicolas Iooss.

 policy/modules/kernel/filesystem.te | 2 +-
 policy/modules/kernel/kernel.te | 2 +-
 policy/modules/system/systemd.te| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/policy/modules/kernel/filesystem.te 
b/policy/modules/kernel/filesystem.te
index a9c97ef..0471647 100644
--- a/policy/modules/kernel/filesystem.te
+++ b/policy/modules/kernel/filesystem.te
@@ -1,4 +1,4 @@
-policy_module(filesystem, 1.21.3)
+policy_module(filesystem, 1.21.4)
 
 
 #

diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te
index 45626b7..c6531a2 100644
--- a/policy/modules/kernel/kernel.te
+++ b/policy/modules/kernel/kernel.te
@@ -1,4 +1,4 @@
-policy_module(kernel, 1.21.3)
+policy_module(kernel, 1.21.4)
 
 
 #

diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
index cf22ba8..c93fc90 100644
--- a/policy/modules/system/systemd.te
+++ b/policy/modules/system/systemd.te
@@ -1,4 +1,4 @@
-policy_module(systemd, 1.2.1)
+policy_module(systemd, 1.2.2)
 
 #
 #



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/roles/

2017-01-01 Thread Jason Zaman
commit: 793b9316c684d5e8474cb9f520dfa86016c1e930
Author: Guido Trentalancia via refpolicy  oss  tresys 
 com>
AuthorDate: Thu Dec 29 22:07:36 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:31:26 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=793b9316

sysadm: add the shutdown role

Add the shutdown role interface call to the sysadm role module.

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/roles/sysadm.te | 4 
 1 file changed, 4 insertions(+)

diff --git a/policy/modules/roles/sysadm.te b/policy/modules/roles/sysadm.te
index f7b3518..2a129bd 100644
--- a/policy/modules/roles/sysadm.te
+++ b/policy/modules/roles/sysadm.te
@@ -991,6 +991,10 @@ optional_policy(`
 ')
 
 optional_policy(`
+   shutdown_role(sysadm_r, sysadm_t)
+')
+
+optional_policy(`
slpd_admin(sysadm_t, sysadm_r)
 ')
 



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2017-01-01 Thread Jason Zaman
commit: 61ff9d660037e9010115f2d0ac61180673e377ac
Author: Guido Trentalancia  trentalancia  net>
AuthorDate: Sat Dec 17 18:08:40 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=61ff9d66

udev: always enable kernel module loading

The udev daemon should be able to load kernel modules not only on
systems using systemd but also on systems using former versions of
the udev daemon.

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/system/udev.te | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te
index a774e61..760b4de 100644
--- a/policy/modules/system/udev.te
+++ b/policy/modules/system/udev.te
@@ -79,6 +79,7 @@ manage_lnk_files_pattern(udev_t, udev_var_run_t, 
udev_var_run_t)
 manage_sock_files_pattern(udev_t, udev_var_run_t, udev_var_run_t)
 files_pid_filetrans(udev_t, udev_var_run_t, dir, "udev")
 
+kernel_load_module(udev_t)
 kernel_read_system_state(udev_t)
 kernel_request_load_module(udev_t)
 kernel_getattr_core_if(udev_t)
@@ -220,8 +221,6 @@ ifdef(`distro_redhat',`
 ')
 
 ifdef(`init_systemd',`
-   kernel_load_module(udev_t)
-
files_search_kernel_modules(udev_t)
 
fs_read_cgroup_files(udev_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/

2017-01-01 Thread Jason Zaman
commit: 02533322fa1a4030098ff54a3480b2fa7d362a8c
Author: Chris PeBenito  ieee  org>
AuthorDate: Sun Dec 18 22:42:39 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=02533322

rtkit: enable dbus chat with xdm

Enable dbus messaging between the X Display Manager (XDM) and
the rtkit daemon.

Also, let the rtkit daemon set the priority of the X Display
Manager (XDM).

This patch (along with parts 3/5 and 4/5) might be needed when
running gdm.

I do apologize for the broken interface in the previous version
of this patch.

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/services/xserver.if | 20 +++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/policy/modules/services/xserver.if 
b/policy/modules/services/xserver.if
index 3b55a08..bebc419 100644
--- a/policy/modules/services/xserver.if
+++ b/policy/modules/services/xserver.if
@@ -162,7 +162,6 @@ interface(`xserver_role',`
manage_files_pattern($2, user_fonts_config_t, user_fonts_config_t)
relabel_dirs_pattern($2, user_fonts_config_t, user_fonts_config_t)
relabel_files_pattern($2, user_fonts_config_t, user_fonts_config_t)
-
 ')
 
 ###
@@ -1350,3 +1349,22 @@ interface(`xserver_unconfined',`
typeattribute $1 x_domain;
typeattribute $1 xserver_unconfined_type;
 ')
+
+
+## 
+## Set the priority of the X Display
+## Manager (XDM).
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`xserver_setsched_xdm',`
+   gen_require(`
+   type xdm_t;
+   ')
+
+   allow $1 xdm_t:process setsched;
+')



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2017-01-01 Thread Jason Zaman
commit: 3225e34cc39a06b44cc0871b984791eeaf9bb970
Author: Nicolas Iooss  m4x  org>
AuthorDate: Tue Dec 27 13:45:21 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=3225e34c

systemd: add systemd-binfmt policy

This systemd service registers in /proc/sys/fs/binfmt_misc binary formats
for executables.

Signed-off-by: Nicolas Iooss  m4x.org>

 policy/modules/system/systemd.fc |  1 +
 policy/modules/system/systemd.te | 15 +++
 2 files changed, 16 insertions(+)

diff --git a/policy/modules/system/systemd.fc b/policy/modules/system/systemd.fc
index 673bb68..d66feda 100644
--- a/policy/modules/system/systemd.fc
+++ b/policy/modules/system/systemd.fc
@@ -29,6 +29,7 @@
 /usr/lib/systemd/system/[^/]*sleep.*   --  
gen_context(system_u:object_r:power_unit_t,s0)
 /usr/lib/systemd/system/[^/]*suspend.* --  
gen_context(system_u:object_r:power_unit_t,s0)
 /usr/lib/systemd/system/systemd-backlight.*--  
gen_context(system_u:object_r:systemd_backlight_unit_t,s0)
+/usr/lib/systemd/system/systemd-binfmt.*   --  
gen_context(system_u:object_r:systemd_binfmt_unit_t,s0)
 
 /var/lib/systemd/backlight(/.*)?   
gen_context(system_u:object_r:systemd_backlight_var_lib_t,s0)
 /var/lib/systemd/linger(/.*)?  
gen_context(system_u:object_r:systemd_logind_var_lib_t,s0)

diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
index c50e93a..cf22ba8 100644
--- a/policy/modules/system/systemd.te
+++ b/policy/modules/system/systemd.te
@@ -36,6 +36,9 @@ type systemd_binfmt_t;
 type systemd_binfmt_exec_t;
 init_system_domain(systemd_binfmt_t, systemd_binfmt_exec_t)
 
+type systemd_binfmt_unit_t;
+init_unit_file(systemd_binfmt_unit_t)
+
 type systemd_cgroups_t;
 type systemd_cgroups_exec_t;
 domain_type(systemd_cgroups_t)
@@ -162,6 +165,18 @@ files_read_etc_files(systemd_backlight_t)
 
 udev_read_pid_files(systemd_backlight_t)
 
+###
+#
+# Binfmt local policy
+#
+
+systemd_log_parse_environment(systemd_binfmt_t)
+
+# Allow to read /etc/binfmt.d/ files
+files_read_etc_files(systemd_binfmt_t)
+
+fs_register_binary_executable_type(systemd_binfmt_t)
+
 ##
 #
 # Cgroups local policy



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/

2017-01-01 Thread Jason Zaman
commit: 72650f3e45abe1df97d416208d4472ae9956fd7a
Author: Chris PeBenito  ieee  org>
AuthorDate: Sun Dec 18 22:53:46 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=72650f3e

xserver: Move interface definition.

 policy/modules/services/xserver.if | 38 +++---
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/policy/modules/services/xserver.if 
b/policy/modules/services/xserver.if
index bebc419..c1d41b5 100644
--- a/policy/modules/services/xserver.if
+++ b/policy/modules/services/xserver.if
@@ -792,6 +792,25 @@ interface(`xserver_read_xdm_state',`
 
 
 ## 
+## Set the priority of the X Display
+## Manager (XDM).
+## 
+## 
+## 
+## Domain allowed access.
+## 
+## 
+#
+interface(`xserver_setsched_xdm',`
+   gen_require(`
+   type xdm_t;
+   ')
+
+   allow $1 xdm_t:process setsched;
+')
+
+
+## 
 ## Create, read, write, and delete
 ## xdm_spool files.
 ## 
@@ -1349,22 +1368,3 @@ interface(`xserver_unconfined',`
typeattribute $1 x_domain;
typeattribute $1 xserver_unconfined_type;
 ')
-
-
-## 
-## Set the priority of the X Display
-## Manager (XDM).
-## 
-## 
-## 
-## Domain allowed access.
-## 
-## 
-#
-interface(`xserver_setsched_xdm',`
-   gen_require(`
-   type xdm_t;
-   ')
-
-   allow $1 xdm_t:process setsched;
-')



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/, config/, policy/modules/system/, ...

2017-01-01 Thread Jason Zaman
commit: 04f212b3c1def7579e2f96aea8dc547c0c52e7dc
Author: cgzones  googlemail  com>
AuthorDate: Fri Dec 16 20:07:56 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=04f212b3

transition file contexts to /run

Remove file context aliases and update file context paths to use the /run 
filesystem path.
Add backward compatibility file context alias for /var/run using applications 
like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783321
Lock files are still seated at /var/lock

 config/file_contexts.subs_dist|  7 +--
 policy/modules/kernel/files.fc| 11 ++-
 policy/modules/kernel/filesystem.fc   |  4 ++--
 policy/modules/services/postgresql.fc |  4 ++--
 policy/modules/services/ssh.fc|  6 +++---
 policy/modules/services/xserver.fc| 20 +--
 policy/modules/system/authlogin.fc| 12 ++--
 policy/modules/system/fstools.fc  |  4 ++--
 policy/modules/system/getty.fc|  4 ++--
 policy/modules/system/hotplug.fc  |  4 ++--
 policy/modules/system/init.fc | 28 +--
 policy/modules/system/ipsec.fc|  6 +++---
 policy/modules/system/iptables.fc |  4 ++--
 policy/modules/system/logging.fc  | 36 +--
 policy/modules/system/lvm.fc  |  4 ++--
 policy/modules/system/modutils.fc |  2 +-
 policy/modules/system/mount.fc|  2 +-
 policy/modules/system/selinuxutil.fc  |  2 +-
 policy/modules/system/setrans.fc  |  2 +-
 policy/modules/system/sysnetwork.fc   |  6 +++---
 policy/modules/system/systemd.fc  | 16 
 policy/modules/system/udev.fc |  4 ++--
 policy/modules/system/userdomain.fc   | 10 +-
 23 files changed, 101 insertions(+), 97 deletions(-)

diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist
index c7050e8..ade78dc 100644
--- a/config/file_contexts.subs_dist
+++ b/config/file_contexts.subs_dist
@@ -12,7 +12,6 @@
 /lib/systemd /usr/lib/systemd
 /lib32 /lib
 /lib64 /lib
-/run /var/run
 /run/lock /var/lock
 /usr/lib32 /usr/lib
 /usr/lib64 /usr/lib
@@ -20,4 +19,8 @@
 /usr/local/lib64 /usr/lib
 /usr/local/lib /usr/lib
 /var/lib/krb5kdc /var/kerberos/krb5kdc
-/var/run/lock /var/lock
+
+# backward compatibility
+# not for refpolicy intern, but for /var/run using applications,
+# like systemd tmpfiles or systemd socket configurations
+/var/run /run

diff --git a/policy/modules/kernel/files.fc b/policy/modules/kernel/files.fc
index 3c61990..cc80d3f 100644
--- a/policy/modules/kernel/files.fc
+++ b/policy/modules/kernel/files.fc
@@ -165,9 +165,12 @@ ifdef(`distro_debian',`
 # /run
 #
 /run   -d  
gen_context(system_u:object_r:var_run_t,s0-mls_systemhigh)
+/run   -l  gen_context(system_u:object_r:var_run_t,s0)
 /run/.*
gen_context(system_u:object_r:var_run_t,s0)
 /run/.*\.*pid  <>
-/run/lock(/.*)?
gen_context(system_u:object_r:var_lock_t,s0)
+
+/run/lock  -d  gen_context(system_u:object_r:var_lock_t,s0)
+/run/lock  -l  gen_context(system_u:object_r:var_lock_t,s0)
 
 #
 # /selinux
@@ -258,8 +261,6 @@ ifndef(`distro_redhat',`
 
 /var/run   -d  
gen_context(system_u:object_r:var_run_t,s0-mls_systemhigh)
 /var/run   -l  gen_context(system_u:object_r:var_run_t,s0)
-/var/run/.*gen_context(system_u:object_r:var_run_t,s0)
-/var/run/.*\.*pid  <>
 
 /var/spool(/.*)?   gen_context(system_u:object_r:var_spool_t,s0)
 /var/spool/postfix/etc(/.*)?   gen_context(system_u:object_r:etc_t,s0)
@@ -275,6 +276,6 @@ ifndef(`distro_redhat',`
 /var/tmp/vi\.recover   -d  gen_context(system_u:object_r:tmp_t,s0)
 
 ifdef(`distro_debian',`
-/var/run/motd  --  
gen_context(system_u:object_r:initrc_var_run_t,s0)
-/var/run/motd\.dynamic --  
gen_context(system_u:object_r:initrc_var_run_t,s0)
+/run/motd  --  
gen_context(system_u:object_r:initrc_var_run_t,s0)
+/run/motd\.dynamic --  
gen_context(system_u:object_r:initrc_var_run_t,s0)
 ')

diff --git a/policy/modules/kernel/filesystem.fc 
b/policy/modules/kernel/filesystem.fc
index f5cfe84..5228ab0 100644
--- a/policy/modules/kernel/filesystem.fc
+++ b/policy/modules/kernel/filesystem.fc
@@ -19,6 +19,6 @@
 /sys/fs/pstore/.*  <>
 
 ifdef(`distro_debian',`
-/var/run/shm   -d  gen_context(system_u:object_r:tmpfs_t,s0)
-/var/run/shm/.*<>
+/run/shm   -d  gen_context(system_u:object_r:tmpfs_t,s0)
+/run/shm/.*<>
 ')

diff --git a/policy/modules/services/postgresql.fc 
b/policy/modules/services/postgresql.fc
index d3bc4bb..d013468 100644
--- a/policy/modules/services/postgresql.fc
+++ b/policy/modules/services/postgresql.fc
@@ 

[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/admin/

2017-01-01 Thread Jason Zaman
commit: 7c30c8834c281dc9a151d1d11f68aac9d86067b1
Author: Guido Trentalancia  trentalancia  net>
AuthorDate: Fri Dec 23 00:22:39 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=7c30c883

bootloader: stricter permissions and more tailored file contexts

Update the bootloader module so that it can manage only its
own runtime files and not all boot_t files (which include,
for example, the common locations for kernel images and
initramfs archives) and so that it can execute only its own
etc files (needed by grub2-mkconfig) and not all etc_t files
which is more dangerous.

Signed-off-by: Guido Trentalancia  trentalancia.net>

 policy/modules/admin/bootloader.fc |  6 ++
 policy/modules/admin/bootloader.te | 17 +
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/policy/modules/admin/bootloader.fc 
b/policy/modules/admin/bootloader.fc
index d908d56..5b67c16 100644
--- a/policy/modules/admin/bootloader.fc
+++ b/policy/modules/admin/bootloader.fc
@@ -1,6 +1,12 @@
+/boot/grub.*   -d  gen_context(system_u:object_r:bootloader_run_t,s0)
+/boot/grub.*/.*
gen_context(system_u:object_r:bootloader_run_t,s0)
+
+/boot/grub.*/grub.cfg  --  
gen_context(system_u:object_r:bootloader_etc_t,s0)
+/boot/grub.*/grub.conf --  
gen_context(system_u:object_r:bootloader_etc_t,s0)
 
 /etc/lilo\.conf.*  --  
gen_context(system_u:object_r:bootloader_etc_t,s0)
 /etc/yaboot\.conf.*--  
gen_context(system_u:object_r:bootloader_etc_t,s0)
+/etc/grub.d(/.*)?  --  
gen_context(system_u:object_r:bootloader_etc_t,s0)
 
 /sbin/grub --  
gen_context(system_u:object_r:bootloader_exec_t,s0)
 /sbin/lilo.*   --  
gen_context(system_u:object_r:bootloader_exec_t,s0)

diff --git a/policy/modules/admin/bootloader.te 
b/policy/modules/admin/bootloader.te
index fcaa6d4..e3f2a72 100644
--- a/policy/modules/admin/bootloader.te
+++ b/policy/modules/admin/bootloader.te
@@ -22,6 +22,13 @@ application_domain(bootloader_t, bootloader_exec_t)
 role bootloader_roles types bootloader_t;
 
 #
+# bootloader_run_t are image and other runtime
+# files
+#
+type bootloader_run_t alias run_bootloader_t;
+files_type(bootloader_run_t)
+
+#
 # bootloader_etc_t is the configuration file,
 # grub.conf, lilo.conf, etc.
 #
@@ -45,7 +52,7 @@ allow bootloader_t self:capability { dac_override 
dac_read_search fsetid sys_raw
 allow bootloader_t self:process { signal_perms execmem };
 allow bootloader_t self:fifo_file rw_fifo_file_perms;
 
-allow bootloader_t bootloader_etc_t:file read_file_perms;
+allow bootloader_t bootloader_etc_t:file exec_file_perms;
 # uncomment the following lines if you use "lilo -p"
 #allow bootloader_t bootloader_etc_t:file manage_file_perms;
 #files_etc_filetrans(bootloader_t,bootloader_etc_t,file)
@@ -59,6 +66,11 @@ files_tmp_filetrans(bootloader_t, bootloader_tmp_t, { dir 
file lnk_file chr_file
 # for tune2fs (cjp: ?)
 files_root_filetrans(bootloader_t, bootloader_tmp_t, file)
 
+manage_dirs_pattern(bootloader_t, bootloader_run_t, bootloader_run_t)
+manage_files_pattern(bootloader_t, bootloader_run_t, bootloader_run_t)
+manage_lnk_files_pattern(bootloader_t, bootloader_run_t, bootloader_run_t)
+files_boot_filetrans(bootloader_t, bootloader_run_t, { dir file lnk_file })
+
 kernel_getattr_core_if(bootloader_t)
 kernel_read_network_state(bootloader_t)
 kernel_read_system_state(bootloader_t)
@@ -96,10 +108,7 @@ corecmd_exec_all_executables(bootloader_t)
 domain_use_interactive_fds(bootloader_t)
 
 files_create_boot_dirs(bootloader_t)
-files_manage_boot_files(bootloader_t)
-files_manage_boot_symlinks(bootloader_t)
 files_read_etc_files(bootloader_t)
-files_exec_etc_files(bootloader_t)
 files_read_usr_src_files(bootloader_t)
 files_read_usr_files(bootloader_t)
 files_read_var_files(bootloader_t)



[gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/

2017-01-01 Thread Jason Zaman
commit: 136d58b22660009b8fba0fbf2a1a160aba8d9735
Author: Nicolas Iooss  m4x  org>
AuthorDate: Tue Dec 27 13:44:58 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  1 16:26:28 2017 +
URL:
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=136d58b2

systemd: add systemd-backlight policy

The documentation page of this service describes well which access are
needed
(https://www.freedesktop.org/software/systemd/man/systemd-backlight  
.service.html).
systemd-backlight:
- is a systemd service
- manages /var/lib/systemd/backlight/
- reads udev device properties to find ID_BACKLIGHT_CLAMP

Signed-off-by: Nicolas Iooss  m4x.org>

 policy/modules/system/systemd.fc |  2 ++
 policy/modules/system/systemd.te | 24 
 2 files changed, 26 insertions(+)

diff --git a/policy/modules/system/systemd.fc b/policy/modules/system/systemd.fc
index ff0f976..673bb68 100644
--- a/policy/modules/system/systemd.fc
+++ b/policy/modules/system/systemd.fc
@@ -28,7 +28,9 @@
 /usr/lib/systemd/system/[^/]*shutdown.*--  
gen_context(system_u:object_r:power_unit_t,s0)
 /usr/lib/systemd/system/[^/]*sleep.*   --  
gen_context(system_u:object_r:power_unit_t,s0)
 /usr/lib/systemd/system/[^/]*suspend.* --  
gen_context(system_u:object_r:power_unit_t,s0)
+/usr/lib/systemd/system/systemd-backlight.*--  
gen_context(system_u:object_r:systemd_backlight_unit_t,s0)
 
+/var/lib/systemd/backlight(/.*)?   
gen_context(system_u:object_r:systemd_backlight_var_lib_t,s0)
 /var/lib/systemd/linger(/.*)?  
gen_context(system_u:object_r:systemd_logind_var_lib_t,s0)
 
 /run/\.nologin[^/]*--  
gen_context(system_u:object_r:systemd_sessions_var_run_t,s0)

diff --git a/policy/modules/system/systemd.te b/policy/modules/system/systemd.te
index 196abab..c50e93a 100644
--- a/policy/modules/system/systemd.te
+++ b/policy/modules/system/systemd.te
@@ -26,6 +26,12 @@ type systemd_backlight_t;
 type systemd_backlight_exec_t;
 init_system_domain(systemd_backlight_t, systemd_backlight_exec_t)
 
+type systemd_backlight_unit_t;
+init_unit_file(systemd_backlight_unit_t)
+
+type systemd_backlight_var_lib_t;
+files_type(systemd_backlight_var_lib_t)
+
 type systemd_binfmt_t;
 type systemd_binfmt_exec_t;
 init_system_domain(systemd_binfmt_t, systemd_binfmt_exec_t)
@@ -140,6 +146,24 @@ logging_send_syslog_msg(systemd_log_parse_env_type)
 
 ##
 #
+# Backlight local policy
+#
+
+allow systemd_backlight_t systemd_backlight_var_lib_t:dir manage_dir_perms;
+init_var_lib_filetrans(systemd_backlight_t, systemd_backlight_var_lib_t, dir)
+manage_files_pattern(systemd_backlight_t, systemd_backlight_var_lib_t, 
systemd_backlight_var_lib_t)
+
+systemd_log_parse_environment(systemd_backlight_t)
+
+# Allow systemd-backlight to write to /sys/class/backlight/*/brightness
+dev_rw_sysfs(systemd_backlight_t)
+
+files_read_etc_files(systemd_backlight_t)
+
+udev_read_pid_files(systemd_backlight_t)
+
+##
+#
 # Cgroups local policy
 #
 



[gentoo-commits] proj/kde:master commit in: media-video/subtitlecomposer/

2017-01-01 Thread Johannes Huber
commit: 26405eea14350f8cd219ef36679b923408b37eb7
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Jan  1 16:12:49 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jan  1 16:12:49 2017 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=26405eea

media-video/subtitlecomposer: Drop CMAKE_MIN_VERSION

Covered by cmake-utils eclass now.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-video/subtitlecomposer/subtitlecomposer-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/media-video/subtitlecomposer/subtitlecomposer-.ebuild 
b/media-video/subtitlecomposer/subtitlecomposer-.ebuild
index 0c9f689..b085a19 100644
--- a/media-video/subtitlecomposer/subtitlecomposer-.ebuild
+++ b/media-video/subtitlecomposer/subtitlecomposer-.ebuild
@@ -4,7 +4,6 @@
 
 EAPI=6
 
-CMAKE_MIN_VERSION="3.3"
 KDE_TEST="forceoptional"
 inherit kde5
 



[gentoo-commits] proj/kde:master commit in: net-misc/smb4k/

2017-01-01 Thread Johannes Huber
commit: 5dc078804983c94c7351575d1c706fea2fa26794
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Jan  1 16:13:41 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jan  1 16:13:41 2017 +
URL:https://gitweb.gentoo.org/proj/kde.git/commit/?id=5dc07880

net-misc/smb4k: Drop CMAKE_MIN_VERSION

Covered by cmake-utils eclass now.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-misc/smb4k/smb4k-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-misc/smb4k/smb4k-.ebuild b/net-misc/smb4k/smb4k-.ebuild
index 4aaf6e5..0a6a09a 100644
--- a/net-misc/smb4k/smb4k-.ebuild
+++ b/net-misc/smb4k/smb4k-.ebuild
@@ -4,7 +4,6 @@
 
 EAPI=6
 
-CMAKE_MIN_VERSION="3.3"
 KDE_HANDBOOK="forceoptional"
 inherit kde5
 



[gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt/

2017-01-01 Thread Johannes Huber
commit: 5dd96fedd7462ebfbc3615a511022d01e79e3593
Author: Johannes Huber  gentoo  org>
AuthorDate: Sun Jan  1 16:26:47 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sun Jan  1 16:32:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dd96fed

sys-libs/compiler-rt: Drop CMKAE_MIN_VERSION

Covered by cmake-utils eclass now.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-libs/compiler-rt/compiler-rt-.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-libs/compiler-rt/compiler-rt-.ebuild 
b/sys-libs/compiler-rt/compiler-rt-.ebuild
index a48b473..ebb8b2b 100644
--- a/sys-libs/compiler-rt/compiler-rt-.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-.ebuild
@@ -1,11 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
 
 : ${CMAKE_MAKEFILE_GENERATOR:=ninja}
-CMAKE_MIN_VERSION=3.4.3
 PYTHON_COMPAT=( python2_7 )
 
 # TODO: fix unnecessary dep on Python upstream



  1   2   >