summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-portage/install-mask')
-rw-r--r--app-portage/install-mask/Manifest2
-rw-r--r--app-portage/install-mask/files/install-mask.conf6
-rw-r--r--app-portage/install-mask/files/location-db.conf18
-rw-r--r--app-portage/install-mask/files/location-db.xml24
-rw-r--r--app-portage/install-mask/install-mask-0.0.2-r3.ebuild27
-rw-r--r--app-portage/install-mask/install-mask-0.1.1.ebuild26
-rw-r--r--app-portage/install-mask/install-mask-9999.ebuild36
-rw-r--r--app-portage/install-mask/metadata.xml16
8 files changed, 155 insertions, 0 deletions
diff --git a/app-portage/install-mask/Manifest b/app-portage/install-mask/Manifest
new file mode 100644
index 00000000000..3994d0d870e
--- /dev/null
+++ b/app-portage/install-mask/Manifest
@@ -0,0 +1,2 @@
+DIST install-mask-0.0.2.tar.bz2 4247 SHA256 7d43c980fdbcecb11d500af9cd091f5e26f3d8c54f6044d63e378bafdc67c9d8 SHA512 3f0686c720d26448cf76742ebee22f5413973b8cab7122373f4122576991497bbe72fa0fddef01e83c8148dac749e3a5c2d865fdf917794a5fea0e6823f2743e WHIRLPOOL 157b40ea394e7d25a79b8f63b1f2118c4a8abbd45d6825ba67187412870812ec0c582fbdef96fb0c34e33524dc594eb904de72676608b5842c3958ab252183b9
+DIST install-mask-0.1.1.tar.bz2 4241 SHA256 e81cfccc1b382816911598fb432a85ac9242fd2bc50203b12dcbcae3ee956203 SHA512 461f58b4e6fc41bfbe60d713a6d02eec8fe0a4e9ed8a19f8e155174b27f8e3d93c739e2ccce8ab34488ba31649ee585d7b23033dc94f19aa2e3b2033f21f5e79 WHIRLPOOL 4d229ae5c2d01a78daf002565a2699213e98eeed1e0e22d3240b4bc4fcacf147e9ab0a63d3b6e191e474c2869c112a8ad2bf7e4945263cdf43f44b4a568cd3e8
diff --git a/app-portage/install-mask/files/install-mask.conf b/app-portage/install-mask/files/install-mask.conf
new file mode 100644
index 00000000000..78b49a47342
--- /dev/null
+++ b/app-portage/install-mask/files/install-mask.conf
@@ -0,0 +1,6 @@
+# Example /etc/portage/sets.conf adding the @install-mask set.
+
+[install-mask]
+class = portage.sets.shell.CommandOutputSet
+command = install-mask -r
+world-candidate = False
diff --git a/app-portage/install-mask/files/location-db.conf b/app-portage/install-mask/files/location-db.conf
new file mode 100644
index 00000000000..cb050cab37c
--- /dev/null
+++ b/app-portage/install-mask/files/location-db.conf
@@ -0,0 +1,18 @@
+[__install-mask__]
+version=1
+
+[systemd]
+path=/usr/lib/systemd/system
+description=systemd unit and auxiliary files.
+
+[bash-completion]
+path=/usr/share/bash-completion
+
+[locale]
+path=/usr/share/locale
+description=All localizations.
+
+[logrotate]
+path=/etc/logrotate.d
+
+# vim:ft=dosini
diff --git a/app-portage/install-mask/files/location-db.xml b/app-portage/install-mask/files/location-db.xml
new file mode 100644
index 00000000000..eea4842e235
--- /dev/null
+++ b/app-portage/install-mask/files/location-db.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<install-mask>
+ <location id="systemd">
+ <path>/usr/lib/systemd/system</path>
+ <description>
+ systemd unit and auxiliary files.
+ </description>
+ </location>
+
+ <location id="bash-completion">
+ <path>/usr/share/bash-completion</path>
+ </location>
+
+ <location id="locale">
+ <path>/usr/share/locale</path>
+ <description>
+ All localizations.
+ </description>
+ </location>
+
+ <location id="logrotate">
+ <path>/etc/logrotate.d</path>
+ </location>
+</install-mask>
diff --git a/app-portage/install-mask/install-mask-0.0.2-r3.ebuild b/app-portage/install-mask/install-mask-0.0.2-r3.ebuild
new file mode 100644
index 00000000000..8801d9e6f8d
--- /dev/null
+++ b/app-portage/install-mask/install-mask-0.0.2-r3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3} )
+
+inherit distutils-r1
+
+DESCRIPTION="Handle INSTALL_MASK setting in make.conf"
+HOMEPAGE="https://bitbucket.org/mgorny/install-mask/"
+SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND="app-portage/flaggie[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]"
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ insinto /usr/share/portage/config/sets
+ doins "${FILESDIR}"/${PN}.conf
+}
diff --git a/app-portage/install-mask/install-mask-0.1.1.ebuild b/app-portage/install-mask/install-mask-0.1.1.ebuild
new file mode 100644
index 00000000000..19ebe063104
--- /dev/null
+++ b/app-portage/install-mask/install-mask-0.1.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="Handle INSTALL_MASK setting in make.conf"
+HOMEPAGE="https://bitbucket.org/mgorny/install-mask/"
+SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND="app-portage/flaggie[${PYTHON_USEDEP}]"
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ insinto /usr/share/portage/config/sets
+ newins sets.conf ${PN}.conf
+}
diff --git a/app-portage/install-mask/install-mask-9999.ebuild b/app-portage/install-mask/install-mask-9999.ebuild
new file mode 100644
index 00000000000..7a4ae97da40
--- /dev/null
+++ b/app-portage/install-mask/install-mask-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+#if LIVE
+EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
+inherit git-r3
+#endif
+
+DESCRIPTION="Handle INSTALL_MASK setting in make.conf"
+HOMEPAGE="https://bitbucket.org/mgorny/install-mask/"
+SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND="app-portage/flaggie[${PYTHON_USEDEP}]"
+#if LIVE
+
+KEYWORDS=
+SRC_URI=
+#endif
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ insinto /usr/share/portage/config/sets
+ newins sets.conf ${PN}.conf
+}
diff --git a/app-portage/install-mask/metadata.xml b/app-portage/install-mask/metadata.xml
new file mode 100644
index 00000000000..8719a88df6c
--- /dev/null
+++ b/app-portage/install-mask/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <bugs-to>https://bitbucket.org/mgorny/install-mask/issues/</bugs-to>
+ <remote-id type="bitbucket">mgorny/install-mask</remote-id>
+ </upstream>
+</pkgmetadata>