summaryrefslogtreecommitdiff
path: root/app-portage/install-mask
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-portage/install-mask
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-portage/install-mask')
-rw-r--r--app-portage/install-mask/Manifest7
-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.1.1.ebuild25
-rw-r--r--app-portage/install-mask/install-mask-9999.ebuild35
-rw-r--r--app-portage/install-mask/metadata.xml16
7 files changed, 131 insertions, 0 deletions
diff --git a/app-portage/install-mask/Manifest b/app-portage/install-mask/Manifest
new file mode 100644
index 000000000000..09aa40c6a9b6
--- /dev/null
+++ b/app-portage/install-mask/Manifest
@@ -0,0 +1,7 @@
+AUX install-mask.conf 173 BLAKE2B d47372786719c1774c3dcb1cbb42a102636bbc48e640f3e07d54d334af6b061d8e8dcecc2da14d63b9f2ca964ad469e0e28b19f4d43050e14bdba623e359bfeb SHA512 3a917bf001e417667e0a44be8536b5fda9d64a91df02a95823fce6dfc54c037055393fb1015169f078ad90d9c042984fd604886261480fcb097b3bb0a9b23110
+AUX location-db.conf 282 BLAKE2B 65f447019c1c3b318e0823b7d4e62f29f6568571cfb7a9e411b285e9634a50169c93c3a543c907d3f1a8e2d9f9e8679b1eb256fa53f0f4dd5a604a624caecf2d SHA512 5a20a014a2a58245bcf25cd061f87ad1d34a48d9d2e3e7287ba0544b603e917fe91c2d4b166ca028e44d87898a1633dfe1fe7ef3a35d5cb787c9a53a34239b5b
+AUX location-db.xml 505 BLAKE2B 5dc04da8837878c3560bd8d18a2cbd445e78f250ae8af6d2428a308c53e3215b0d779b3f8e42c2ee53511c7c981839aa1f5b584ab1a6b2bc7192b8944add0caa SHA512 8dd05ed3206dc4b99fc0fd895d7547ee03f0b46f0cfde2009f1c104525c6e7a7d46bcd30ed42c83974082846ece34659180eb51de9ea0d2910e920ecffd42513
+DIST install-mask-0.1.1.tar.bz2 4241 BLAKE2B 3516f6023efc406076bb3f9189af7b4a647689c6289b4c191d7c05eeb296c14343b9b61e025e5f4ef50ad80982c00dcdd5d133df45b559d2ec5e2db6bf5ea538 SHA512 461f58b4e6fc41bfbe60d713a6d02eec8fe0a4e9ed8a19f8e155174b27f8e3d93c739e2ccce8ab34488ba31649ee585d7b23033dc94f19aa2e3b2033f21f5e79
+EBUILD install-mask-0.1.1.ebuild 622 BLAKE2B d61b1d739ea5b55b643bd138738a5b31dbddda4f0bcd909b86ed33489158e6bff5db353bbab5a36f29d4c3e41a697b92a15561e99503f33a6579bea02c60e9b7 SHA512 65ea5ffae5a2c1ea8a96852674543f5113d43b83bb5ed61167bd7fce574b20c0f3b52f37fa8f785e890c3594d6fa7ec59fd9840efed7e1e7df30485b1ca9f3a5
+EBUILD install-mask-9999.ebuild 745 BLAKE2B 3357de655193809128d1f3b5614e2a7dc1366c3e07ab8806a501276bb95c32f0f650c5c46988e0f2e84813c02edf19c97df88d557c960edc95bd67ba900b6e85 SHA512 0a9b47aeef41c8927a7fb1b3d6ae6907a15ef7c517c4113bfedcf051c0daf37b3e87478a0bffed856f1e2f9d8f3d7dfdc73c61a77101e4b38c799813da800a0d
+MISC metadata.xml 541 BLAKE2B a57897cc7d8924c603305bc5bfebc543f240bf20df9745716373d10799fd6a6dc645c3a1ae2861dca6fe8ad9e813a0a9d94a238b7a0a749e389772cb7c45b4b2 SHA512 637298068bdb858d10e754d6911e150ae8d0e38ebde86cb7d57d41654d53c58128e942b3cbb6675c398b9a108a67616d966bbffd6975ea54506163cf1ba49696
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 000000000000..78b49a473427
--- /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 000000000000..cb050cab37c4
--- /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 000000000000..eea4842e235c
--- /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.1.1.ebuild b/app-portage/install-mask/install-mask-0.1.1.ebuild
new file mode 100644
index 000000000000..82f83703be43
--- /dev/null
+++ b/app-portage/install-mask/install-mask-0.1.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+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 000000000000..b551ebb532b2
--- /dev/null
+++ b/app-portage/install-mask/install-mask-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+#if LIVE
+EGIT_REPO_URI="https://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 000000000000..34455911e2de
--- /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 type="person">
+ <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>