bump(sys-apps/systemd): sync with upstream

Packages updated:
  sys-apps/gentoo-systemd-integration
  sys-apps/hwids
  sys-apps/kmod
  sys-apps/systemd
  sys-apps/systemd-sysv-utils
  virtual/udev
This commit is contained in:
Michael Marineau 2013-09-17 15:16:19 -04:00
parent 63996fc5fe
commit d17c94b539
31 changed files with 1769 additions and 359 deletions

View File

@ -0,0 +1,24 @@
# ChangeLog for sys-apps/gentoo-systemd-integration
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gentoo-systemd-integration/ChangeLog,v 1.4 2013/09/11 11:49:53 mgorny Exp $
*gentoo-systemd-integration-1 (11 Sep 2013)
11 Sep 2013; Michał Górny <mgorny@gentoo.org>
+gentoo-systemd-integration-1.ebuild, gentoo-systemd-integration-9999.ebuild:
Introduce the first release.
11 Sep 2013; Michał Górny <mgorny@gentoo.org>
gentoo-systemd-integration-9999.ebuild:
sys-devel/systemd-sdk has been renamed to systemd-m4.
29 Jul 2013; Michał Górny <mgorny@gentoo.org>
gentoo-systemd-integration-9999.ebuild:
Block the current revision of live ebuild as well, to ensure a smooth move of
files between the packages.
*gentoo-systemd-integration-9999 (29 Jul 2013)
29 Jul 2013; Michał Górny <mgorny@gentoo.org>
+gentoo-systemd-integration-9999.ebuild, +metadata.xml:
Initial commit of systemd Gentoo integration files.

View File

@ -0,0 +1,27 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST gentoo-systemd-integration-1.tar.bz2 51795 SHA256 be61861a3621be4a15878ac00f8ced6d20bf0a39ba9233ecbae7ceac4c64475a SHA512 ebfba2dcac4db2eb318d3cb0bacc42e76eb8be458c9108c6b0f3354e3e1b50d2e442b89946e5272ca7014704596da296d3180a09bc045edb86ed96a4cb37399f WHIRLPOOL fe1af7fc8acfef2b90b2853bb68b557878bce99b32e15633c7f45daa4b2e59bc48b1d9dfe65854d7f89e0689fe8620e4491755a22c440997fb723c161e40e715
EBUILD gentoo-systemd-integration-1.ebuild 810 SHA256 dd0cf55d8dc282a5e001c5ab0a64212bb52e577cd6c5054b0523f897722487c0 SHA512 b80c8bc2c4a6fdb952f3afc6f5f3056ac09f11ec60dd5313bf0e63bac572dda24da4112f9286acbc0471722ffd1f6f546e81d25d0c1b7273cdb4a31b2ea3389e WHIRLPOOL 2d33561216e44442adfab286d6d0b0f9f68d163be289f56a44275fd8cab4bd5d449a8cc71ab0763ab80ebae1d8703c2f073260dab10a71275251218845fab290
EBUILD gentoo-systemd-integration-9999.ebuild 999 SHA256 5c73bb7c1f62032db4dc5f3be28eb0635b61fcf7c604d3904994b23113037fe8 SHA512 3f5ccc9905aaeb0372c6192ed4de097c3dd5a2cf674f96ccb728cd2b84eba29d110f457d51fd0f7f3a91cae7b9769405962f938230dbbcf96aca9c22e1c333e0 WHIRLPOOL 5bc9a0c71cb391a10ad6a5879c12d945a8eb85e8c4768eb2aff28fe1ac4f688db8c77a13cc0f09de0bef0e341fd46cbd537545f5a9dbf559d22bec0002ae7a16
MISC ChangeLog 1012 SHA256 3416fd043ae2041f180c9d7befce295a0628fd9edba2a518aa19686ed64fc98c SHA512 1068ddff5a83ec43cb5cf18c60b4267e5584d76e39f486309151b978c14212f716e4cec5f195b481958b1850754bb682d8b2535d1f0809ec1b4cb429213ea117 WHIRLPOOL 89e8799d3c7f18dd7114d1a233bc99e884fcc04cac697f9a4a393ccb8446a85d85440a2a6ae052dc5deecf58078100d2f985dcd9548bbccfbdf05a55138d6b88
MISC metadata.xml 239 SHA256 1731c6552b4584e3ca0d760cb9504233311f18bdd2804cebfc06feb2f60b042b SHA512 3e96d13285d9cb02333157714e2d367beb695bb64cd1738bb4af9f284b7cea33c4d6be69a43b4ba559cc95d165cc007f37a3d3df10c4b0fc9bd6b08e42561ea1 WHIRLPOOL 1a0d71075be6a89d3b0cebff7e7bd474ab71b08d79302cbfc38a33e67cbb6d31d553d18b17993698bebd9fc6c29803be7aff3bffb0f1521022bc5a3c1c8723dd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
iQJ8BAEBCABmBQJSMFkCXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZO50MP/2YsuBALkpGjeXDZ75YhJxse
URsGUjitO9cCsub9brIQykJZrqvq9vxco+ubYQ7sEnCfg9YaTEJJfCkVtG/JRMsz
hSD2P6GmL6hCFWlA4KAJUz09vWosKdHoLsDm42aPu4gGiVudejJgHUgGb3D3cbPY
238hjBERNUVHwPTapJfGUhKqepbA9LV2sr/hoIYPCNTBlBAeUbbNR0IUBTo913DX
Dd8Knvl5w3nhFvY0zylcyECNLkStXKBDmsAtakivMnPfwqJIiE5Gqr4h2cT7ms1z
xTpiU219MFD2cS2twrveDhqP5UGllb0xAra8ceRflHj+M4gJMHcjIST52tMyVKEU
t1xHRKGPotE6mRNGok1yaiYbTGqeYk8fjbk2zx8HBjPuFz+VBqimo0cQHN3ekCPi
TNitrIK5Z3YK3AJxL+uMVHO0fa5Zxi2zHeASq6c0kL9zsuFh8r4RfaVrmCaAhIDo
zrPh+YzPRym3fiROj+oQZWLmVwg8FGsZiMaDTw9yW569L1sErdK2mt81sL4972jO
Acu7FxdIaA2ZwP3o+NVpFfxglQlSwhRLFoAKx/CsXDIUYfXbw+13qcFpBUxbgxYz
KvImahOmhVKjhFhOV05bm3j+qXfPcE4vJtOkDBKaDUd7sK3ui26xmwUDXr/IfjpE
+UBjxByUEteZ73No9PQ5
=bada
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,28 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-1.ebuild,v 1.1 2013/09/11 11:49:53 mgorny Exp $
EAPI=5
inherit autotools-utils systemd
DESCRIPTION="systemd integration files for Gentoo"
HOMEPAGE="https://bitbucket.org/mgorny/gentoo-systemd-integration"
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND=">=sys-apps/systemd-206-r4"
src_configure() {
local myeconfargs=(
"$(systemd_with_unitdir)"
# TODO: solve it better in the eclass
--with-systemdsystemgeneratordir="$(systemd_get_utildir)"/system-generators
)
autotools-utils_src_configure
}

View File

@ -0,0 +1,42 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/gentoo-systemd-integration/gentoo-systemd-integration-9999.ebuild,v 1.4 2013/09/11 11:49:53 mgorny Exp $
EAPI=5
#if LIVE
AUTOTOOLS_AUTORECONF=1
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
inherit git-2
#endif
inherit autotools-utils systemd
DESCRIPTION="systemd integration files for Gentoo"
HOMEPAGE="https://bitbucket.org/mgorny/gentoo-systemd-integration"
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND=">=sys-apps/systemd-206-r4"
#if LIVE
SRC_URI=
KEYWORDS=
DEPEND="${DEPEND}
sys-devel/systemd-m4"
#endif
src_configure() {
local myeconfargs=(
"$(systemd_with_unitdir)"
# TODO: solve it better in the eclass
--with-systemdsystemgeneratordir="$(systemd_get_utildir)"/system-generators
)
autotools-utils_src_configure
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>systemd@gentoo.org</email>
<name>Gentoo systemd team</name>
</maintainer>
</pkgmetadata>

View File

@ -1,6 +1,31 @@
# ChangeLog for sys-apps/hwids
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.113 2013/07/23 05:00:11 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/ChangeLog,v 1.118 2013/09/16 07:33:36 ssuominen Exp $
16 Sep 2013; Samuli Suominen <ssuominen@gentoo.org> hwids-20130915.1.ebuild:
Synchronize with hwids-9999.ebuild to correct udev dependency and hwdb update.
*hwids-20130915.1 (15 Sep 2013)
15 Sep 2013; Diego E. Pettenò <flameeyes@gentoo.org> +hwids-20130915.1.ebuild,
-hwids-20130707.ebuild, -hwids-20130717-r1.ebuild, -hwids-20130717.ebuild,
-hwids-20130915.ebuild:
Cleanup the stupid -r1/patching/non-default ebuilds.
*hwids-20130915 (15 Sep 2013)
15 Sep 2013; Samuli Suominen <ssuominen@gentoo.org> +hwids-20130915.ebuild:
Temporarily use different SRC_URI for http://github.com/gentoo/hwids/pull/4 +
make fetch; update for important syntax bug fixes in the udev hwdb files.
11 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> hwids-20130717-r1.ebuild,
hwids-99999999.ebuild:
Don't reload the /etc/udev/hwdb.bin when $ROOT isn't set or when it isn't /
11 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> hwids-20130717-r1.ebuild,
hwids-99999999.ebuild:
Run udevadm control --reload to reload the /etc/udev/hwdb.bin after
regenerating it.
*hwids-20130717-r1 (23 Jul 2013)

View File

@ -2,24 +2,20 @@
Hash: SHA256
DIST hwids-20130329.tar.gz 1498583 SHA256 64714243c366d086e24c6da41c73053b0f0ac47e3566186717591afe4ada6600 SHA512 f5a5c004269cd0ee8c3fd6bc9c2917e856084c3a267b4e35f6d96fbdb3ea36a3f73689fe59ab661faeff852cd016601e0ccfcbf01eef384b711ba6aef323c71c WHIRLPOOL 378ba5760a083beeb5f50dcad1e7faaf7ce6c4339fd73e5c47c7a89878177ebf3d4baf4d4ef7a2966c0df436f449f792226581e277300cc7d4394396ecbf2340
DIST hwids-20130707.tar.gz 1539522 SHA256 21bd292f5ab5f4e857609e47c95f3cfdea86e4b1ef309f7b893e4d429437e3c5 SHA512 4727503c85bbc200ccb2571325cd4def6fc0645ac0ebd1d3c17bfe86891b8901962664d48c5f087ced7527e233cf8fce9e6e8a6fff706c275540e0a9dbe71b64 WHIRLPOOL b7b65180b1ad0be56a8a141839a39e7fd1335ddffd4d17f1be530b63614f51f01b19fe2a8f87461fe12c4030466c4714588d17652baf162173c19c7f7a05ae0d
DIST hwids-20130717-keyboard.patch.xz 7380 SHA256 61f724cf3b351334e86eac8ff63c5784c9e9301695dd53e16b2c62feabfd63f7 SHA512 72c04a55bfd81adaf07078b8effc394a8a6a70541e890cb0393a83bf0b53958b486280b5e883aa2f3ab37458efb57bc5367d1989f043b4300a36eea7be008fed WHIRLPOOL 0f9a14f9e8584be5c25cf1c3c42ea781c19b2f14fddfca4e911a52a5cadeb1c6e87c8a83b60e56346cc2654b893e80082a4504fbf355bd48a2a08faabde5d408
DIST hwids-20130717.tar.gz 1543147 SHA256 7ee05aca2d3c4ad42c429f97e67fcbdc3421111eff17da15711a017e96f994ad SHA512 d7ec2b4bef306e2a20f42c5177e071d086f39723ce7edaf219168f51f1387c2e81d326c7e0ae9f834b63cd540d423819cab813af6e43fe8bbaa37a14c575e098 WHIRLPOOL ebf9c97cc2b0d67789b2849c420e0ffb2a9f303f6139b91334645784f012de35a99c914f3491d03bf06d3b167cd79a3c1029de4e469659aeb267b7759032e095
DIST hwids-20130915.1.tar.gz 1571277 SHA256 441b58fb6d025b14d60f21ceaddfe3afcc3240105a94b874c1903ff9143c8494 SHA512 3c7b88984c190e3d2fa9c3da726de4a49627239a6cca1d6e3ee8102dcc5dd0c5033251d2ca9ffa280c01791e4f5231624bd3e84093fd75d6c1ebfa6a602a873a WHIRLPOOL caf84900408b71673aa1be44743a49a19bc346bfa5d15c11c8db85cbe64a02adcc30ea3e52d16cb361bf57fd5cea93dec4d1a0b879d44403acac7a7001ee4584
EBUILD hwids-20130329.ebuild 1157 SHA256 78fced931fb9853fbc112e5ced89a85b95f8afda559c58e1531967182ce41275 SHA512 f6393e84a4bad69a4a250e60c93cf671fd0f2f038cfe43bbd5070ba6af8e38ee8e9564291c3b9466ecdf025e88bb3ecb9fff4301f1b0f8703085ac6c447bbd53 WHIRLPOOL 2cb7c7dfb61f94a9fd96d989e21dbe9d95626338833880eb3f23c986eae33e78519839167dd4f6e5c95c27db4cbadd2b50a18f5869b70d2899ad35595bac6657
EBUILD hwids-20130707.ebuild 1168 SHA256 164a470a3fdcbf7a4511a967d4c760dea3591f418692d0af1b3fe4297c6dfbed SHA512 206008495a317f6891eb70119aa43ce7c05dd6d9df29573d23f16cd26296fee7bf07063d21db12f5987332072fbc1d1afb9ef42e36cb69c3b63f78b8ea488d76 WHIRLPOOL acd6212a97dab81238ccf988fe7373d7dff42ff0012e6a8ab90a3db279e50b76179744c90aa7212df6d7a0086fb418b7fd8da4880a43c91119526429293d1dae
EBUILD hwids-20130717-r1.ebuild 1325 SHA256 358c2bdd3eacdae8199ea3b2a0f531cfd4818489e1f672d715db719ecdf45a3f SHA512 d95811ceec699e00a1aa68abb243913fed95c5f34d68a8d84b2c66e6b7c8b6a468d69b632694898725fd1ccbe63d502967756666d0fe92b96065e8b12195ce80 WHIRLPOOL f5f9475aaad6fcf8dcacf6a7a56c90d23619f61d5003ba26509ca8cd5f09b2e5b5082616943b4e5e6da10c254b5e86f326e2c57208a0291005598e6e9e7284e1
EBUILD hwids-20130717.ebuild 1168 SHA256 815b2edb7454193bc1ccc0e1348955d07a4b3d8d04b463ddaa4288e3b896dc25 SHA512 e539b1edd2c8f175e7e6ecf25abed82e53177bd083adb55d7d6fcba24090270fcc446ee1cc55f8ed597090c9a0ae67f3f9f0d76583f4d8f8f0ac1e81b9308780 WHIRLPOOL d88d582f70c69733ab646ac743f096bce2b8ce72a1bd9e9f497c65156ca3cae1386c9604d22ee3d61745b33ec3d554b776e9bd8fe8cc65b4f92884ded510ba11
EBUILD hwids-99999999.ebuild 1000 SHA256 511811a5518a5e0b2460fbbd66954b1bc431adac1d4fc4cb3532701766ec8faa SHA512 7a8ef5583221d66d061ae9f7402b63992166e9c2856ed4d3001f0aba9fa9e90f00640065d5bb2a0a748b62ed099f7bc88d580162e5bf5e41f44ffbe9a0656802 WHIRLPOOL 32a63b0be5d87ee6d6d2c2ee371ce7f62e742d0a385d8d390e7bb94fb80a3a2ce7b9b50f942970b2881a36cb700c568904e159ba362d94f8b744ed5892ecdf8a
MISC ChangeLog 17157 SHA256 922087f42597ea9c6070d1e4e81154c861f67dfe7dde4f8bdf958bb6c5aebb2b SHA512 a8132fd0f6dc9370825022fbfa0c536c5d1bed4eb19701a3d25a6279a8ee64ea5cd94e3ec6e1b18b125f8ca91039e28271982925c390c5b132fe5aaef7f32c98 WHIRLPOOL de15de1f8d30077610697a365e62c9957e0880383fd94678707d7d3950979e1a41fb394b09d4fc621312c864d829d11e251a88388d1b4391bff323db7ea056cd
EBUILD hwids-20130915.1.ebuild 1378 SHA256 b7beae812b387e25e81757c82dae4161e7cb737e64816f1bee58b0b217e0a03c SHA512 ab5779da4f4b8077f79c92ce2b276edc0d10e3b2995e915e60e8b88d0226890b5bee10a7ccc2c3a98f04bc4d4410a9217f18aa75acbe30609ad8aa6e7bc1b0ac WHIRLPOOL 0261a83b3007835174fa8a3cc53c3b4547a689ee426ae84cf8c13ca36dd09379d42bbd953ed9d34d99575cbb852c161bc7a8d7457507d7b9fce9dc29c3e9677a
EBUILD hwids-99999999.ebuild 1211 SHA256 6f9f761743a41695010654ea2e575b4a69593ab8adc6bd8bcca5dced806e13a9 SHA512 6cc701ac3e342d524176e340bdc3c5f5e53c5debad1581609201d92ce6c65514424965869631c59278faa01720001e2d6dc0d525a1cae5cf821753515a69f6e2 WHIRLPOOL 9c44146b67205e4ade63666f7774a5dd83d63d95849e2d1d4dc5bbc7665f4a122a4f019c7a637de93c5baa0adf8636c70ac2f90f5168c56fb6c9730c45b6f5c0
MISC ChangeLog 18237 SHA256 ced263a305a1ce58aa2cae06dd499adee46ff9cb5e377f9456478865e41a5374 SHA512 56dd018c3b935bd444dde9697fbd2834355ce0dcf7dc194652343abdf7f7804128043af47a60e434da79a5ab6a370f5611180e9afa16b68d134e0892525c567e WHIRLPOOL a7efe877f02b6ddffa21905a0b4626e2221c89fde8b17a88bf972867c7d5e60d7c97825df83c83fe510304d8bd9185d45b3a80b5ffa9f90196290a55e4ebabfa
MISC metadata.xml 291 SHA256 6a6fbb9d576c975c7f7f488d478ab1db341ea21397f8cd66dc278b13a13a5731 SHA512 6e0af3b85a3693acd83889dabd6ce589c2c8e3e2852820f1135e2ebbe63cf6dd184fcd45f03b7c4ad35414a43543e8c39c7d1b5fa5f72c0e5db2ef907955e462 WHIRLPOOL 465e5e9b5700d6ed972ba129dc114843ec984f377569dfd81f7bb006717e0dc69181f2ffa31308adef1eab32c032d018e6cf519a0714b0ff21ee303dbf250942
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Version: GnuPG v2.0.21 (GNU/Linux)
iQEcBAEBCAAGBQJR7g2yAAoJEEdUh39IaPFNWaQH/R8n/yi3VKapI0EmXTdLDmjS
wSanp7ERr3i8koDY6W5+TsEZXMkZHdHSNTG+DszOG0V65kHdGQUk8iKafLwN9Pp7
UAujLNZ+dSiO19yBcCGCS8bhTFC7w7BcviTdd5TVRBzsJv34oW5R8OIjqShbdlMh
o/8DrOX+bab3rezta6JMj1s8m8S50yCDYGoC/t/UhV1Ahu5idwxeb3ZZjzCsIWer
lKfkk2piqeDVz7powl1pi2nrHY9pYoJnwKAdBhCHs9ZWZtaPHI7H5QlUJDKSmohE
QBYQelv/YGIReKUeqzz4Jr8kp+J49ipzREm5/Dcft8n75O1Wh5W9xMxqqj8/E4w=
=dalV
iQEcBAEBCAAGBQJSNrQ0AAoJEEdUh39IaPFNtcgH/iebsKNwfT/sOCYS2Q73Uv2D
GBpnefVcwP/H6eD8I1xa3NSkdGRIanIb4wcwh+f5hwp2BA90D2mrltDl8/FoQHkt
o48OYsb+TZZnrDDxKYltLqIfdk3PLqdbWhVd6d9e0gM84KkmJu3rw0PlRbXtc/FI
C/BY4lfes6dZGVYE4i1WB0lh4RVn1D3uTYI9hTFq3v1EO4G1tyTpRNVvk9pAfjpM
fLQQyPfac4xwrBsaeTZO5ueIFLVEGC1LAy2c1OTY/gtRsaa7QCwl064AFok3q/xp
zM2vH0NLuMdTRbFawE5g5rWSHByay0J649YbYELDY4pAx50v03Fl8GClN7GynDg=
=uBQr
-----END PGP SIGNATURE-----

View File

@ -1,47 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20130717-r1.ebuild,v 1.1 2013/07/23 05:00:11 ssuominen Exp $
EAPI=5
inherit udev eutils
DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
HOMEPAGE="https://github.com/gentoo/hwids"
SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz
http://dev.gentoo.org/~ssuominen/${P}-keyboard.patch.xz"
LICENSE="|| ( GPL-2 BSD ) public-domain"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux"
IUSE="+udev"
DEPEND="udev? (
dev-lang/perl
>=virtual/udev-206
)"
RDEPEND="!<sys-apps/pciutils-3.1.9-r2
!<sys-apps/usbutils-005-r1"
S=${WORKDIR}/hwids-${P}
src_prepare() {
sed -i -e '/udevadm hwdb/d' Makefile || die
# Import required 60-keyboard.hwdb for sys-fs/udev >= 206
epatch "${WORKDIR}"/${P}-keyboard.patch
}
src_compile() {
emake UDEV=$(usex udev)
}
src_install() {
emake UDEV=$(usex udev) install \
DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
MISCDIR="${EPREFIX}/usr/share/misc" \
HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \
DESTDIR="${D}"
}
pkg_postinst() {
use udev && udevadm hwdb --update --root="${ROOT%/}"
}

View File

@ -1,44 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20130717.ebuild,v 1.1 2013/07/17 20:21:16 flameeyes Exp $
EAPI=5
inherit udev eutils
DESCRIPTION="Hardware (PCI, USB, OUI, IAB) IDs databases"
HOMEPAGE="https://github.com/gentoo/hwids"
SRC_URI="https://github.com/gentoo/hwids/archive/${P}.tar.gz"
LICENSE="|| ( GPL-2 BSD ) public-domain"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux"
IUSE="+udev"
DEPEND="udev? (
dev-lang/perl
>=virtual/udev-197-r1
)"
RDEPEND="!<sys-apps/pciutils-3.1.9-r2
!<sys-apps/usbutils-005-r1"
S=${WORKDIR}/hwids-${P}
src_prepare() {
sed -i -e '/udevadm hwdb/d' Makefile || die
}
src_compile() {
emake UDEV=$(usex udev)
}
src_install() {
emake UDEV=$(usex udev) install \
DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
MISCDIR="${EPREFIX}/usr/share/misc" \
HWDBDIR="${EPREFIX}$(get_udevdir)/hwdb.d" \
DESTDIR="${D}"
}
pkg_postinst() {
use udev && udevadm hwdb --update --root="${ROOT%/}"
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20130707.ebuild,v 1.1 2013/07/08 08:44:31 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20130915.1.ebuild,v 1.2 2013/09/16 07:33:36 ssuominen Exp $
EAPI=5
inherit udev eutils
@ -16,7 +16,7 @@ IUSE="+udev"
DEPEND="udev? (
dev-lang/perl
>=virtual/udev-197-r1
>=virtual/udev-206
)"
RDEPEND="!<sys-apps/pciutils-3.1.9-r2
!<sys-apps/usbutils-005-r1"
@ -40,5 +40,12 @@ src_install() {
}
pkg_postinst() {
use udev && udevadm hwdb --update --root="${ROOT%/}"
if use udev; then
udevadm hwdb --update --root="${ROOT%/}"
# http://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
return 0
fi
udevadm control --reload
fi
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.21 2013/07/23 05:00:11 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.23 2013/08/11 18:59:22 ssuominen Exp $
EAPI=5
inherit udev eutils git-2
@ -41,5 +41,12 @@ src_install() {
}
pkg_postinst() {
use udev && udevadm hwdb --update --root="${ROOT%/}"
if use udev; then
udevadm hwdb --update --root="${ROOT%/}"
# http://cgit.freedesktop.org/systemd/systemd/commit/?id=1fab57c209035f7e66198343074e9cee06718bda
if [[ ${ROOT} != "" ]] && [[ ${ROOT} != "/" ]]; then
return 0
fi
udevadm control --reload
fi
}

View File

@ -1,12 +1,52 @@
# ChangeLog for sys-apps/kmod
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.104 2013/07/30 17:21:17 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.112 2013/08/25 14:57:09 ssuominen Exp $
25 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> -kmod-14-r1.ebuild,
-kmod-14-r2.ebuild:
old
*kmod-15 (24 Aug 2013)
24 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> +kmod-15.ebuild:
Version bump.
24 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> kmod-13-r1.ebuild,
kmod-14-r1.ebuild, kmod-14-r2.ebuild, kmod-9999.ebuild:
Remove checks for CONFIG_MODULES and CONFIG_MODULE_UNLOAD and upgrade path
from sys-apps/module-init-tools wrt #462926 by Mike Frysinger. Bail out early
if the used compiler is too old wrt #481020.
*kmod-14-r1 (16 Aug 2013)
16 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> +kmod-14-r1.ebuild:
Restore crippled version to tree because sys-apps/openrc >= 0.12 was
hardmasked for other reasons.
16 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> -files/static-nodes,
-kmod-14-r1.ebuild:
old
16 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> kmod-14-r2.ebuild,
kmod-9999.ebuild:
Block old OpenRC instead of depending on new one to prevent circular
dependency.
*kmod-14-r2 (16 Aug 2013)
16 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> +kmod-14-r2.ebuild,
kmod-9999.ebuild:
Revision bump for OpenRC >= 0.12 to make the "static-nodes" -> "kmod-static-
nodes" switch for everyone.
09 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> kmod-14-r1.ebuild,
kmod-9999.ebuild, +files/kmod-static-nodes:
Rename static-nodes init script to kmod-static-nodes as suggested by WilliamH
earlier. Support OpenRC 0.12 and the new tmpfiles /dev support.
Proper revision bump is required after OpenRC 0.12 is in tree.
30 Jul 2013; Samuli Suominen <ssuominen@gentoo.org> files/static-nodes:
Remove unrequired "need localmount" and add required "after modules" to the
init script depend()
Revision bump later after tmpfiles /dev support is in portage and the
init script has been finalized.
Remove unrequired "need localmount" from the init script depend()
26 Jul 2013; Samuli Suominen <ssuominen@gentoo.org> -kmod-12-r1.ebuild,
-kmod-14.ebuild:

View File

@ -2,22 +2,22 @@
Hash: SHA256
AUX kmod-13-errno_syscall.patch 795 SHA256 bc766470c0a0e53471395a8e6499f5bef7a4af5dfd52688cac17d30efb4b2605 SHA512 4bb3fcd824120d19bef2efaf19fcaab3a49089e0d7790899b322db480fe32533786d6b6a0ecd085ed00203bb87af4255c462a22997404a6b4fa431e2c4aeed58 WHIRLPOOL 5410867ec236e24d6075aeeadda8a81a43c9c3a4d02a3b330a0724bdecb3f837141eb6590331c43c5faf9e5cdb903aeaf35efe80f08c342bb14b12bcbbdfcffe
AUX static-nodes 575 SHA256 d1e9b0ef6465d3b328157ce473a878fd4008c1af9e1ad7b63eebf19dd7113bea SHA512 f2228730803bbecc5c6281172d39379666787abbbfe2ce5abca5a7e762a458bcdd4a7ef3df6b3b5069aca19167b140aa94c2d4aad770d60fdb329c0773f77b2a WHIRLPOOL 422044ac98b153d8fd5bf84812857ec2218f8f74d4780148dd655814cc5e34363c0a5a29112731e612a8139cec6a69b2575ea3fb9f9b7a66c23a0bbe122bf006
AUX kmod-static-nodes 584 SHA256 078b07581e63b5113cef9e85da7d5b53e1fbad91d793f7fa8b7188b364689b0e SHA512 cddd4e95ffd112adedfb01c90ea3cea268236983f2dd88f0a83855d62dfa8a63e1f1457a9517ebbc45970455b8f8c0dc7f4d56c138bcc3d453c7ba61d189ff85 WHIRLPOOL 920e19b8d99ff77a337b0edf2fda3461249bdd253d1c6d14c1e872d931ef643679185e8bac6b7d58490dae640f78cc1a8492f627893bfee46b48fa2c4efc947b
DIST kmod-13.tar.xz 1435864 SHA256 6c36d3abba2f98c84973ae275951c866f8bf304e7356c2fe60633800239d7956 SHA512 6182a043c32944c2dc336101e4d8a9be9ccd0106677f9f7a2e76b83a09ec2fc1333aed9b82773abe09f8adb1771e796690f1610c64b337e21bdabffe76fed434 WHIRLPOOL 95196f4c65fec778727a9b8d0209dcb08e64280b4b5d6e88b5343acb3a360b62c13a0dcf510d3c2080fad4ef1562c5e9fa11f84979d0acee03dab3fac8b3eaac
DIST kmod-14.tar.xz 1436872 SHA256 1f54abb63ba3642277ae1af3626c0896b102a915c4d8b9eb5005ae0afe6e7174 SHA512 ab5001b6ce6ea832acbb6a01ba2cc9d1fdb90667df456aa78ad137a35d5ee1580e0b2a36d34e472718c08d2ab3495fa47c638868b032cc90237910fb626bf7f7 WHIRLPOOL bc20d5b31d671a8c5908fba7d7da12f2903b489130fbd9381d3052760ddf85e0aaa73644536bc0be8efc15af847a7e5ea39f596110b6e5dca0731d6e3d40b733
EBUILD kmod-13-r1.ebuild 2510 SHA256 a7837b7740a5dd025166f97c8ee71c4c7b67059764c992db774393f04e080667 SHA512 82805e11f5cfa0f735f7d5e7b162dfb8144ed693385fccddf8d3ee5fce9ebc0584fc9be1581b007217b8737354f19d1e3fa82a2617dfae0414a9e6fb0d0758ea WHIRLPOOL 750202f0aa945fb9cd2709fd88a5988d916fd80ad3a89a1cf975c8272bd224aed42c0c8eb03a3de822bf9cccbfdd5168cdd635fd3b2faf24f4af3d8287b85b71
EBUILD kmod-14-r1.ebuild 3438 SHA256 7975f6a89ff1a3f439d22fe75b8d2f3a874af4efb33bb92f3d2be7b6e79ef2b3 SHA512 84604081b87cb74b80e8f217214c3099389a137e2ff5a1ad20ea355decfdf6de5933cf5372d972881f85673b4f187b2f08419b4f3a1e26d851db4e19f47eae2f WHIRLPOOL f34597d5846e3e10f426ecdfa23b251173a5b9df571825e7a2cadc0805e9c09a87afb0045baf3ef06bb299658b5c3231b6d0de24eee89fca6a79342e1b9fcde0
EBUILD kmod-9999.ebuild 3438 SHA256 9d9c33e666f6072fa70c4e31e4473095b10977cab3b4ae6e5ef04299310b4b7c SHA512 50a71a8d0180e3dcc27f3bd44fa6e79c6f058042e2e4ead403348240459b4156eba7753c010311525452ea59fdbbe2307a4f5e79a0847f0959013d6802c68ef0 WHIRLPOOL 56623e0ae1e991873303929dd1cdb76d934ff4a184e0f3040d6a4bf5ccf5c85f861b336cc127402d683c6ff3d44271d6fb41c1731ef1b96bdd0fc6486520f352
MISC ChangeLog 15062 SHA256 22e4745bc665f17a8a16b4d8776449bd159672bb5be748fc809739a204ad2034 SHA512 d49be701408b00cd305af01481c555a649d8f790e434f53b0cb71eb0575900add51e61a326f71a46943d54d39485e1df81595eb3e1851bc6826d5a7ed541f706 WHIRLPOOL d932f4a187b969c3fcf24c33444c5a94de43a5dc2e549d1f909470898ad42bee10c7e330017ade66220be7acd30f430f2ded55f459f4f1ccd1be086f79e502fb
DIST kmod-15.tar.xz 1453996 SHA256 e8ef0ea7e1929b46aa681fe6ce58c5e62d0026289026ebfc63abae3b8fd5ca9e SHA512 67a03cabe9d81c14eb0bef20f3c8ff4614418cb2b2c3e1428d8a57399372ecdce6e403399a578d2f62a1ae4b61c83713edd1ad1e31533ea35503c5b11b92c223 WHIRLPOOL 53249d4b29c3added90c7a9e9c2349c3964809f5a8f274b15f06008151d90f4da8c77c02a0062bf6f2ed19d176d7f16b99c82d149a906c7983aeb9f27d391744
EBUILD kmod-13-r1.ebuild 2214 SHA256 1c49c3d05418621483f8392448f8f5c2353c6bcee5f96a018f033142557b2db2 SHA512 3f61eb1cb9673da22eb4b0edf195d1cf3c18b4dfcac13f714947ba573821f4c38e4c5fc0854fa255055618b6cb8d750bfb6977347207f5d7bb1dd9906ff09537 WHIRLPOOL ce977f64d4eaa6e4d1440c43734d6c29117c74142c1b19b0163248dd3a26dc39130525ec90014653c173d1ae35a902f507e74223b9df2801ac699d75d8ca16ab
EBUILD kmod-15.ebuild 3558 SHA256 291e05d4d7864cf7fb1818c26d07339c73fc6a6f7e16af7904c28d89a2a07577 SHA512 a7af20bcf87d55392a7a845bf20778a30eb1a8a6fceb8305428514ddf6fe7f80f1ae269bb4d9dd0da4a67f8781acda0f28147e884893e0103f7592e1d1eaf23e WHIRLPOOL 603d4d5a4cf8bf9c5e8fc0afb78653798ab294d454404b3ad6c27c9b8759b59d5146914bbaea35171261b51a8fbbe20724afe2f1232316d91e09a291215dc1e8
EBUILD kmod-9999.ebuild 3561 SHA256 b91f64d8030369b6e1707d804a7837c00a470e15a517461fcd60d768c935b87b SHA512 b3532cd28e0cdaabf1b6fdab6c616ab1de907e423d76ec01c0b97900144ea32f4b2222311dd8fdf94e14a4f9e0f2a439ec41f08bad6cd39db38ac3f9e09b2886 WHIRLPOOL f7d8b45827345e0a9b1b7570db175fce4a0edeab77768c0b8a75d1f9667b6009d522af8a5e8bbf1dfdc7781d500c3c01decdb1e3d33fa4ce48c708348b2b56e5
MISC ChangeLog 16524 SHA256 c7be0ee3ede5599b1545f01e862402dd9005f373e85a5466f5f26fde8e582ffc SHA512 8bce650bf01295c59ebd83467aea0c6904890496a7bbc9ebed09fad69c494e5dc23f3a7c27ed5109a7ae75f238ebceabce714943f8b92342efca3b6e9ed14ff1 WHIRLPOOL 529eb80d851c490e570ee4cde5474a3d2222f65551e506dfb9de62eea93f1b9652c31a195d258747b2d55657cbf36c57b9f78b839e5a94f42590bc98c450f3b1
MISC metadata.xml 376 SHA256 5eb64ba82d456033efa6947dff12b009f73f4e5b4e883841c7fb4c8a368b3e0c SHA512 7dd59b5c777f37c5aa734a81562491ab90e0ed2854340f4d89fd9198d17c8e8d880e8d47ae99dba23b1fb16bc0b711788b7159f77ff53b08a2b2a3af01894f43 WHIRLPOOL d659931a7f525e0453e86a96f2dd6ca889bcf428496f1510bb612251961dac7afa5c36b87f90947371f4903c84b5cabf42d7647cfbbbf7af3e24396107a7197f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
iQEcBAEBCAAGBQJR9/XAAAoJEEdUh39IaPFNon8IAIq+lObEK7P8ywnrTc/HUw1R
CFEG52WlaI3SU/gyPUSOoaA1T9UBF/lOxligOGrtqJ2EQAiZE6tIKr6W+NNTT5MG
Ux/IheQgINuLyxcAIixzQLjpO/gUctQY/P4IoGy7TcEXAx6SDuldSBuNHzXti2UX
j9EigIfXZdTcuiEoBsAMTHxyB+45XOKInRtOx1wQaekYh0WZrc0B5sDwmwJgsyeC
t32rp32yPW/HXC3U+raFDaG7NHZOlbpTuGGi9GP6M1zdYGX+ws4FoWn26cxJUHf0
cHPSWnxcp5ejbo7CrbzvqpVBMXS6B2pCLJFf6DUC2yVcnejfkqU1VX7LYcDp0g4=
=osNQ
iQEcBAEBCAAGBQJSGhs7AAoJEEdUh39IaPFNarkH/RCD9nfPxZUUCPmUF3ffZWER
vvF0t/gjJ/aoMFXp3CBMvVWjWIoDkMwnlz0RqNn71FgRK0ncPOAiauxuuna9zPMI
yJfFkn69ORUbiRBvsYGv+Z0AaovbQO0QD0rzj7Ses4K3vWmy1X/ASzZE6PLUuo6L
fMTDm2uumoBaHp5KtsIY/ctgWvyhFMiBTivZBSfKKtRYdUzUzvYVv6sl9zQ5DLSc
PkCij4t+WrbNsnZoNGWWriyZrptbL22RJ0ej2lRkEeIl5GBrNJmy2N3KyslLB16d
pGvccQHbt73Y9/5Aqz5QDc4gnfNsSQW3i8tz+8VJkGk856b5L/FKEjDKGCpuHa0=
=HaZm
-----END PGP SIGNATURE-----

View File

@ -1,13 +1,13 @@
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/files/static-nodes,v 1.4 2013/07/30 17:21:17 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/files/kmod-static-nodes,v 1.1 2013/08/09 19:08:18 ssuominen Exp $
description="Create list of required static device nodes for the current kernel"
depend() {
before tmpfiles.setup
after modules
after dev-mount
before tmpfiles.dev dev
}
start() {

View File

@ -1,12 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-13-r1.ebuild,v 1.14 2013/07/26 14:52:57 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-13-r1.ebuild,v 1.15 2013/08/24 10:59:48 ssuominen Exp $
EAPI=5
VIRTUAL_MODUTILS=1
inherit autotools eutils libtool multilib linux-mod
inherit autotools eutils libtool multilib
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/${PN}/${PN}.git"
@ -39,11 +36,6 @@ DEPEND="${RDEPEND}
lzma? ( virtual/pkgconfig )
zlib? ( virtual/pkgconfig )"
pkg_setup() {
CONFIG_CHECK="~MODULES ~MODULE_UNLOAD"
linux-info_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${P}-errno_syscall.patch
@ -95,12 +87,3 @@ src_install() {
insinto /lib/modprobe.d
doins "${T}"/usb-load-ehci-first.conf #260139
}
pkg_postinst() {
# Upgrade path from sys-apps/module-init-tools
if [[ -d ${ROOT}/lib/modules/${KV_FULL} ]]; then
if [[ -z ${REPLACING_VERSIONS} ]]; then
update_depmod
fi
fi
}

View File

@ -1,12 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-14-r1.ebuild,v 1.3 2013/07/23 11:54:33 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-15.ebuild,v 1.1 2013/08/24 12:03:31 ssuominen Exp $
EAPI=5
VIRTUAL_MODUTILS=1
inherit autotools eutils libtool multilib linux-mod
inherit autotools eutils libtool multilib toolchain-funcs versionator
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/${PN}/${PN}.git"
@ -32,6 +29,7 @@ RESTRICT="test"
RDEPEND="!sys-apps/module-init-tools
!sys-apps/modutils
lzma? ( >=app-arch/xz-utils-5.0.4-r1 )
openrc? ( !<sys-apps/openrc-0.12 )
zlib? ( >=sys-libs/zlib-1.2.6 )" #427130
DEPEND="${RDEPEND}
dev-libs/libxslt
@ -40,8 +38,8 @@ DEPEND="${RDEPEND}
zlib? ( virtual/pkgconfig )"
pkg_setup() {
CONFIG_CHECK="~MODULES ~MODULE_UNLOAD"
linux-info_pkg_setup
version_is_at_least 4.6 $(gcc-version) || \
die "At least sys-devel/gcc >= 4.6 is required to build ${CATEGORY}/${PN}." #481020
}
src_prepare() {
@ -99,33 +97,30 @@ src_install() {
insinto /lib/modprobe.d
doins "${T}"/usb-load-ehci-first.conf #260139
use openrc && doinitd "${FILESDIR}"/static-nodes
use openrc && doinitd "${FILESDIR}"/kmod-static-nodes
}
pkg_postinst() {
# Upgrade path from sys-apps/module-init-tools
if [[ -d ${ROOT}/lib/modules/${KV_FULL} ]]; then
if [[ -z ${REPLACING_VERSIONS} ]]; then
update_depmod
fi
fi
if use openrc; then
# Add kmod to the boot runlevel automatically if this is the first install of this package.
if [[ -L ${ROOT}etc/runlevels/boot/static-nodes ]]; then
ewarn "Removing old conflicting static-nodes init script from the boot runlevel"
rm -f "${ROOT}"etc/runlevels/boot/static-nodes
fi
# Add kmod to the runlevel automatically if this is the first install of this package.
if [[ -z ${REPLACING_VERSIONS} ]]; then
if [[ -x "${ROOT}"etc/init.d/static-nodes && -d "${ROOT}"etc/runlevels/boot ]]; then
ln -s /etc/init.d/static-nodes "${ROOT}"/etc/runlevels/boot/static-nodes
if [[ -x ${ROOT}etc/init.d/kmod-static-nodes && -d ${ROOT}etc/runlevels/sysinit ]]; then
ln -s /etc/init.d/kmod-static-nodes "${ROOT}"/etc/runlevels/sysinit/kmod-static-nodes
fi
fi
if [[ -e "${ROOT}"etc/runlevels/boot ]]; then
if [[ ! -e "${ROOT}"etc/runlevels/boot/static-nodes ]]; then
if [[ -e ${ROOT}etc/runlevels/sysinit ]]; then
if [[ ! -e ${ROOT}etc/runlevels/sysinit/kmod-static-nodes ]]; then
ewarn
ewarn "You need to add static-nodes to the boot runlevel."
ewarn "If you do not do this,"
ewarn "your system will not necessarily have the required static nodes!"
ewarn "You need to add kmod-static-nodes to the sysinit runlevel for"
ewarn "kernel modules to have required static nodes!"
ewarn "Run this command:"
ewarn "\trc-update add static-nodes boot"
ewarn "\trc-update add kmod-static-nodes sysinit"
fi
fi
fi

View File

@ -1,12 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.59 2013/07/23 11:54:33 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.64 2013/08/24 10:59:48 ssuominen Exp $
EAPI=5
VIRTUAL_MODUTILS=1
inherit autotools eutils libtool multilib linux-mod
inherit autotools eutils libtool multilib toolchain-funcs versionator
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/kernel/${PN}/${PN}.git"
@ -32,6 +29,7 @@ RESTRICT="test"
RDEPEND="!sys-apps/module-init-tools
!sys-apps/modutils
lzma? ( >=app-arch/xz-utils-5.0.4-r1 )
openrc? ( !<sys-apps/openrc-0.12 )
zlib? ( >=sys-libs/zlib-1.2.6 )" #427130
DEPEND="${RDEPEND}
dev-libs/libxslt
@ -40,8 +38,8 @@ DEPEND="${RDEPEND}
zlib? ( virtual/pkgconfig )"
pkg_setup() {
CONFIG_CHECK="~MODULES ~MODULE_UNLOAD"
linux-info_pkg_setup
version_is_at_least 4.6 $(gcc-version) || \
die "At least sys-devel/gcc >= 4.6 is required to build ${CATEGORY}/${PN}." #481020
}
src_prepare() {
@ -99,33 +97,30 @@ src_install() {
insinto /lib/modprobe.d
doins "${T}"/usb-load-ehci-first.conf #260139
use openrc && doinitd "${FILESDIR}"/static-nodes
use openrc && doinitd "${FILESDIR}"/kmod-static-nodes
}
pkg_postinst() {
# Upgrade path from sys-apps/module-init-tools
if [[ -d ${ROOT}/lib/modules/${KV_FULL} ]]; then
if [[ -z ${REPLACING_VERSIONS} ]]; then
update_depmod
fi
fi
if use openrc; then
# Add kmod to the boot runlevel automatically if this is the first install of this package.
if [[ -L ${ROOT}etc/runlevels/boot/static-nodes ]]; then
ewarn "Removing old conflicting static-nodes init script from the boot runlevel"
rm -f "${ROOT}"etc/runlevels/boot/static-nodes
fi
# Add kmod to the runlevel automatically if this is the first install of this package.
if [[ -z ${REPLACING_VERSIONS} ]]; then
if [[ -x "${ROOT}"etc/init.d/static-nodes && -d "${ROOT}"etc/runlevels/boot ]]; then
ln -s /etc/init.d/static-nodes "${ROOT}"/etc/runlevels/boot/static-nodes
if [[ -x ${ROOT}etc/init.d/kmod-static-nodes && -d ${ROOT}etc/runlevels/sysinit ]]; then
ln -s /etc/init.d/kmod-static-nodes "${ROOT}"/etc/runlevels/sysinit/kmod-static-nodes
fi
fi
if [[ -e "${ROOT}"etc/runlevels/boot ]]; then
if [[ ! -e "${ROOT}"etc/runlevels/boot/static-nodes ]]; then
if [[ -e ${ROOT}etc/runlevels/sysinit ]]; then
if [[ ! -e ${ROOT}etc/runlevels/sysinit/kmod-static-nodes ]]; then
ewarn
ewarn "You need to add static-nodes to the boot runlevel."
ewarn "If you do not do this,"
ewarn "your system will not necessarily have the required static nodes!"
ewarn "You need to add kmod-static-nodes to the sysinit runlevel for"
ewarn "kernel modules to have required static nodes!"
ewarn "Run this command:"
ewarn "\trc-update add static-nodes boot"
ewarn "\trc-update add kmod-static-nodes sysinit"
fi
fi
fi

View File

@ -1,6 +1,83 @@
# ChangeLog for sys-apps/systemd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.158 2013/08/04 13:30:11 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/ChangeLog,v 1.174 2013/09/14 18:44:05 floppym Exp $
14 Sep 2013; Mike Gilbert <floppym@gentoo.org> systemd-207.ebuild,
systemd-9999-r1.ebuild:
Replace --without-python with --disable-python-devel for non-native abis, bug
484934.
*systemd-207 (14 Sep 2013)
14 Sep 2013; Michał Górny <mgorny@gentoo.org> +systemd-207.ebuild,
systemd-9999-r1.ebuild:
Version bump. Update kernel checks. Do not check for HOTPLUG on 3.7+ wrt bug
#476464. Run tests for native ABI only.
*systemd-206-r5 (14 Sep 2013)
14 Sep 2013; Pacho Ramos <pacho@gentoo.org>
+files/206-0006-allow-tabs-in-configuration-files.patch,
+files/206-0007-allow-tabs-in-configuration-files2.patch,
+systemd-206-r5.ebuild:
Allow tabs in environment files (#481554 by dolphinling)
13 Sep 2013; Michał Górny <mgorny@gentoo.org> systemd-9999-r1.ebuild:
Sync the live ebuild with latest changes.
*systemd-206-r4 (11 Sep 2013)
11 Sep 2013; Michał Górny <mgorny@gentoo.org> +systemd-206-r4.ebuild:
Introduce -r4 that uses separate sys-apps/gentoo-systemd-integration.
Introduces local.d generator.
06 Sep 2013; Pacho Ramos <pacho@gentoo.org> systemd-204.ebuild,
systemd-206-r3.ebuild:
Check for TMPFS_POSIX_ACL when needed (#482336#c24 by Alexander Tsoy)
28 Aug 2013; Pacho Ramos <pacho@gentoo.org> systemd-204.ebuild,
systemd-206-r3.ebuild:
Update message about /etc/mtab link (#482786), show message about systemd-ui
only when package is not installed (#480606)
11 Aug 2013; Mike Gilbert <floppym@gentoo.org> systemd-206-r3.ebuild,
systemd-9999-r1.ebuild:
Call udevadm control --reload in pkg_postinst.
10 Aug 2013; Michał Górny <mgorny@gentoo.org> systemd-9999-r1.ebuild:
Enable building multilib libgudev.
10 Aug 2013; Michał Górny <mgorny@gentoo.org> systemd-206-r3.ebuild,
systemd-9999-r1.ebuild:
Add missing prune_libtool_files call.
09 Aug 2013; Michał Górny <mgorny@gentoo.org> -systemd-206-r1.ebuild,
systemd-206-r3.ebuild, systemd-9999-r1.ebuild:
Make polkit a PDEP to avoid circular dependency. Bug #480328.
09 Aug 2013; Michał Górny <mgorny@gentoo.org> systemd-206-r3.ebuild,
systemd-9999-r1.ebuild:
Work-around 32-bit dbus check (it is not used by the libraries).
*systemd-206-r3 (09 Aug 2013)
09 Aug 2013; Michał Górny <mgorny@gentoo.org> +systemd-206-r3.ebuild,
-systemd-206-r2.ebuild:
Fix installing multilib pkg-config files.
08 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> systemd-206-r2.ebuild,
systemd-9999-r1.ebuild:
Raise the emul-linux-x86-baselibs block from -r7 to -r8 in order to avoid
file collision w/ libsystemd-daemon wrt #480274 by "nE0sIghT"
*systemd-206-r2 (08 Aug 2013)
08 Aug 2013; Michał Górny <mgorny@gentoo.org> +systemd-206-r2.ebuild,
systemd-9999-r1.ebuild:
Enable partial multilib support wrt bug #479620.
07 Aug 2013; Agostino Sarubbo <ago@gentoo.org> systemd-204.ebuild:
Stable for x86, wrt bug #477910
04 Aug 2013; Agostino Sarubbo <ago@gentoo.org> systemd-204.ebuild:
Stable for ppc64, wrt bug #477910

View File

@ -1,37 +1,33 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hash: SHA256
AUX 206-0001-logind-update-state-file-after-generating-the-sessio.patch 3341 SHA256 642a08dbcfa0517515570fd7537569ce0c7caa0c2b90274e80d999b6dd8e8d6a SHA512 1a901777c0a586ad5e4fcf6380784e451754c9ac65cf6e83641a6a2af2bed9f0741316d6aedb5d960a6c828186f4dcce79c7cc8234607f7f164253abd7cdfeed WHIRLPOOL 34639bc6dd4250209383c97061c09ded8d01f8962e19a39a9b2d848edf4fc4c6dbd3d6a5ff5563c2057c033d8a95ef46de7f116e3bbaee330bdbc26bb60d5b91
AUX 206-0002-Add-usr-share-keymaps-to-localectl-supported-locatio.patch 996 SHA256 494bd90cb327cd0bd08f7d8183802d6c91238b1cfab19dee312c704869fa23b6 SHA512 ff4db4bfb2d4050b276c487e9d7cba39b9cd26b62ff455c2c0d21f31f6d313453de73743974266f6ba1ee4aca50639c1abba40f73ed58f32dda8831b3b649337 WHIRLPOOL bada3e79aa856e7a67ffb6603f27b94d3b359536036e12c931181e6e768c0e0c91edfdab0c0d30bdd40fffb1bc27d653700aa3c410e122ae0653003b1bdad5cd
AUX 206-0003-tmpfiles-support-passing-prefix-multiple-times.patch 2991 SHA256 94d66e0bdd45fea0648971e9ef234e03bb743fd32444d972f5e8f293847aed01 SHA512 980134aac21cb7f0883a6326f62abaa32adf65b5b1263d14a2efacdadf2a7f46f4549b79077f0f087914e3b513981763f7065c915f959853ae34a6a1b2c0b323 WHIRLPOOL 73a3b5737c80c2ff6ae8050ca471bd2cf6d62a85de82d482eb12819d6eef90739ffd785b8f65ad17d88def79685a69e561373cf2aa57c88dd582002e37b06107
AUX 206-0004-tmpfiles-introduce-exclude-prefix.patch 6467 SHA256 dc87aab586d1b4c1fa3747df6c10e48472f404dcda83a41609bf12340cece0c7 SHA512 24707c2e865bf832b76ae127e4796bbc264da69600643ecd626b1acc03609602b5517975da29dd664cd3148e0696161298c1778ccbeb6559fe520cd33414a1c5 WHIRLPOOL 12394930e1aadb98cc24826352430c1de06ac5b5d58ff841e4ca415569cf8bda3c1509a580b647595f3a752988c348a773a808890db76c9e323e01137d48e8eb
AUX 206-0005-tmpfiles-setup-exclude-dev-prefixes-files.patch 857 SHA256 1fdd94d2968aab1ac909dda98efd11a805ba5cbaeab765f1bc477816a61ae38f SHA512 774bfb95667c405d6d63e5e60a1b814d7125170700753135a41b5af4186872f907a8dc486e8dff0c222b7f3cf66776f52f76fb5354a40293c90cca739558007e WHIRLPOOL 29039d1a63012bf1f7bd419b6056c95150b940fc9009a941af6cdad6dfb43732614cef6594c6c9e2b16b29e2de8a55566f00b336d1f7c05706e699323b626cb2
AUX 206-0006-allow-tabs-in-configuration-files.patch 1991 SHA256 2fe01d46e79cde6dc15d0462b2568056e679f8d5556601c1b2cd832417de2957 SHA512 bbb03e8a7358897f1b29d88640c21dad29fa4daa68c72bcc6f2269ae233bc9dbce3cb35268f17db4d48fde8d9b2f1e574101e65b4dd0dcc559b75a06cb32d1e9 WHIRLPOOL 1db0cb922741da0163d3ab425d4399938d5f9ca74c70be60c8a8d9b6d0b9036416c51f1d09ee2b48468a48021464f5e9e8f8e6e619bd9c20e886f8e61e139170
AUX 206-0007-allow-tabs-in-configuration-files2.patch 667 SHA256 391bdd6936809096d000506ef4c800d938ff1b979b5740a920350b710f81133a SHA512 7adbbd72678a07e0865b8ca0daf95ce0a441370c37d7bef1e459c08abb085237f3ee6c06db0cc7617f3786329c9feb9f7617b1b66dfc28de99c1bb9e3dfb11f7 WHIRLPOOL 540ba0c2814c4bd3675a2ee998507f7e74dd43e7ab123e2aeec0c674cdfd123ccfce37a0eaceb05f691fc101465a7c046dfe4d91775005bb16c8340987ac7eb0
AUX gentoo-run.conf 226 SHA256 a23fa3b35b4e9d5f1c41dc77cb5be1cec492eb903a57472df3d93a053db28ca7 SHA512 5fe5af27c99426bc1a3494fce9b6f0425cbfe11f6879c95d4efb4ea67b5b036f0573c49ad4396835f15a92a3d7424f6a453d951d63d0ae10d6af92e98e6848db WHIRLPOOL bfaa7425ee4b2c1467bc6fc9dc934d14a4fb43a9b5eaf61a13f5b2229648fe585a6e8d950082e2c2cedab1f938021dd3e29445ecbc72cc4a95056d00b6b7c9ed
AUX var-lock.mount 541 SHA256 2929247db87c75b82d651ae902183b2a9fab48052b422008fa8ec2aafc22868a SHA512 8a4d72c63794676a01db2792b44fa39ec4ea80db97f2b54904f5b118a776c08721d360f8bb2ed15da12e922dbac3f2a431d6a6f98831bef3520d781d97d665db WHIRLPOOL e83955a1d86400ee16d35d61eaa35fb3050af2b2805a2049c37a602be1bd60233caaa1cadbbd4a3b3e425a44629c9cac921a5c4b2fca9003a45e49b89298ca50
AUX var-run.mount 536 SHA256 55b9e277560b875475535f8121ad45e7fcee836bb48efe2c4f361ff89d450888 SHA512 173097fc2318be854b09ee5244d1dd6291cf6c6ad0c18f1bbbb12b186d309a4299d3866e52659f91a37ff2541583d85754841e55c35ea93dd1916dce0bebb1f6 WHIRLPOOL 47cfff43bdadd7ea59d920dee102283d5eeae6ecfb64aeaf7ee23890f3483cb3f3fdb43ad014bb074122b34d86bf6a6a707a42819b6ee7fd66506808a0557a01
DIST systemd-201.tar.xz 2128876 SHA256 d6299f1a0bc2122002d731808d3825c6b566d1ffe899c03ed5ebec7e70c8cc10 SHA512 e181b0bd0d0169890f99733d5e61ca506115b50d702b24895add5240ef3929ed9add87b0d3fd34a3366c1830339f6e4b5aa50f763f6d7d75b80ce677d35c385d WHIRLPOOL 84465cc8b3a97c2fbf120c8515ced6a759c1dec2df525b92a552308e1060475bf889de92a05ad470a2d56b582e3190dcc37aa4d009c8a0714411894cfed99376
DIST systemd-204.tar.xz 2186264 SHA256 072c393503c7c1e55ca7acf3db659cbd28c7fe5fa94fab3db95360bafd96731b SHA512 a2fe02f8ab4197bb4ff40c1c3e145370ebc5f3edfe97e6eb179086c42270523f76b49b5dd7dae0c52742a71bfb6a4217ecfa27cc6032faf5d4fe10b1264ed110 WHIRLPOOL 13baafbab202d2b1aa538281261a2bd70faa8634d4dc61f3ade6780f2e27b3e35919b7eb8a9258b66150924c8f2e82aa310a9a952f1f4e8128038b544a5c09df
DIST systemd-206.tar.xz 2340536 SHA256 4c993de071118ea1df7ffc4be26ef0b0d78354ef15b2743a2783d20edfcde9de SHA512 0e8270981f549875519485657ccf4f8f69f6e4d2000dba3419c39bd710abbf6e8ab5fce038b75a220e6fc1ba2d66e1582d492feb7710d0539c5f7a5918d5ae31 WHIRLPOOL f8033865f236aa06c649d40ccaa3c8cb12de1f42863d3f824740b2f076945fc5c9dd131cadd995b313b20b04363d32507e85de61afae7f77ac9c62c3ad236b83
DIST systemd-207.tar.xz 2363804 SHA256 ac1f8120315e7969063bbb0c181c8dc59509aeaf10c4266077c257a182ad5942 SHA512 566c6126fea038cb182608f7b9c3bb4410d0622cb637f30c60fba73c9052f7a36d2b0f790e3d94bb751080448ba14cee600481da378f5e97b0f5becfc849be54 WHIRLPOOL 823c3064e1e961599011d4cd027f5e2d0ba3b434c67b880d1a541720220f40c7cc82211f3f086042dbb440b2c7e11e1379aa0d656e33a2a7ba5b1d7e45b904f7
EBUILD systemd-201.ebuild 8320 SHA256 a7e696450c4ec2875c38678b26b6445e5b53672edf42553178ff2661cf14fb29 SHA512 ddf8484af18c3a995dce1b544c0e8099cc0a78422c113533be036365adb03ca6d915243fd256dfebea320baa6db602fd1f4790fbaceffad08b8d31494c828f73 WHIRLPOOL e8e90d0e6bc6dae01bd589547ba7c5af604046f02b9b5aaca6fa7e99681b9e415fec4bb5d3a265a98392bf26942b9c80d6e22509ebaa0a842f5091ed36f919b3
EBUILD systemd-204.ebuild 8474 SHA256 70b7c12fa434f5c0c75cab7ac492c32d5002ef444bcb2a0538a6c619ce149be4 SHA512 a35033f56054d5d0c4372000f7678837463856e2c059b228df954580b41690a14c90537e8f7de97716fa92ac29843332683e2ed517bf69e195c2534563249792 WHIRLPOOL 119602ff4a1125aacdbcfc0e07bb62b0353c78714abcb8323bc97713de2490241e567e1f5370a1bae7d679eb88a72fa79d792dc9a95ecf5cc4ef0b37b90bd5c0
EBUILD systemd-206-r1.ebuild 9240 SHA256 a89b89f191fc31b70d390dad1b90ee2d7f926844bbd60d2fc74cb835e5fa343e SHA512 2d82cbf20bbff3991d74d97171e0a2ad04f14a2a84e4164f5c4c47e3f21c5f8ce54a2b2f9f52b460c0292e1e4c26934a4fe2b1f86021a013a1d71e49cb144b6c WHIRLPOOL 0e3bdfacb9425a85e6b251827a6a5cbb765d8348216494a56f270d996a9e9f1b27dad68dd2b295555705cfee28495dfaf4c9b3350c21507302222372cca1dda5
EBUILD systemd-9999-r1.ebuild 7344 SHA256 dfb92e539917f07019e529fbf4f1566812d5ddbde3717626e6601093a749a50f SHA512 91e31d170588496d2ca93913ee819285ee1ce635f61e137b05ea7136da456029b4d1dcf08af0963e517eb047f2b499f52c95e1d90387a7b298b60233d7b014a2 WHIRLPOOL 715d7aaa8a11ee59e726777398c3d81edfe68cc83bf2b25e23367dcbadaaf85e9c06827a08883f22167b827eab01602fc3d2ab510bbd4b54b79fbbdb31370dd4
MISC ChangeLog 30037 SHA256 121e75f19740e9502d0518e2ec88f2e799f70176412086e9d60bef3e8f9d9fa8 SHA512 17ce1f370da0de7ea4f2429f1f17d9356a43cbe56c39bcdf85468a628ce4ad7f827b1c5307775327af779cd207b0e1c7b4d1a849748807d0a92b0d7e5bcfdd33 WHIRLPOOL 5754d9a1323a21d9b835f385baa702c1446c40292cdb5747513a28be9110e5eb1f89c045037d542bfbf624975777a9ebffeb1f6e41743cae365b2588fe8644ce
EBUILD systemd-204.ebuild 8302 SHA256 8ab8f6d06d4f3e31cb3cb0f8411fa612b69068cf7b1f80436507b959af287481 SHA512 268f27595cc2d55ec81b32eda1d42afe76907e351db21adae019cba96dbbcefa56f2a1ff22d9330af23d7b9328b11bc225c098f36bea3990ef1988bb71528d92 WHIRLPOOL a113c4a70b38ce1cb3ebbc13a63d5d98d3cb247c4e55c348f3090f3dffefb5e0ee64d4246d975f076a0de2079d423ccd43d59a3d39ed6f1c51eeadba6126383e
EBUILD systemd-206-r3.ebuild 10806 SHA256 b65de528f90a4c37d8a8b2f4a0040e84b531a3c9fd2de8faeb874e03b5ea845c SHA512 87e8649f7e6671f5740d0b0ff5dbd4af0ab9e224bed205177650c403b83be0c52931e04c8bdc1003241b8a6de6afce989096e6592dd4099441bc4083fff00236 WHIRLPOOL f87ba65374d7d824cfd9db05ef89805fd627c5ebf2b7b9b1081319b70289f136cd904dbdf8c53fd33f8b7ea1809ec3736644cba383a49300d2201cec62fbb2fb
EBUILD systemd-206-r4.ebuild 10454 SHA256 1593e4d21ed5e3b1ba19da643236135ba2873b0bab0b874fe2a52c849c033f7c SHA512 38d63ac62876e22f760f68422d566c4a2d4f0e8f0cb357173d1aceddea21f24f17f7f3ebec11c9676cd18e5d2a8db236001711df2ac050ff3941baf8a0068775 WHIRLPOOL acf31ed9e0df0db1e266d8733a7cb5ce0bf4c52b64cff121c84ea0c65d82eddc1de46848e57e52b97a8e8b56a8d3b6ad6db8c2d2fe75d69a9f84c7cb4563c4f8
EBUILD systemd-206-r5.ebuild 10645 SHA256 04f8ef0cbbb522bb66f8a05dbb687b722ba6afe68d79420f0ce4f58cfe84b4cd SHA512 ceca3ac47dd086330a61a010899e36228e50f07459f45a047d290350ce212017a705a291b6a47094d2a4f79487c253cc238a0f0cdc6a781690f1812b357b2e2b WHIRLPOOL e33d10ee1172f21c4f0e7a0422c5c67a7dbc93807f5f8419f1c8e2daea3559623d2e81e4358c717f0680b616ea035755945cebfb0a5dd6c0d2aa74fc26366676
EBUILD systemd-207.ebuild 8478 SHA256 50ce4919055396d6616deefa695c008b898f7715212d17d3b04ee4ceafc909e8 SHA512 4b007a54c258a6ad14af2634c09c4b354a079faa9c8003ad90ea8456d00b6adb4c07b8cd4a3f9bf10eb9b0f157417d95ff4f93dd5d950823ec39a739c5ef3b30 WHIRLPOOL 231c57961d7b7addff796d352f30ade80564d711bd48d24c0b268f63b86d71b3a538c4209de87b07396d137ef04e80bbff834e4bf5468da233d30102c7ba1ae2
EBUILD systemd-9999-r1.ebuild 8863 SHA256 50d1fd9e1536478be4d2c6a8cd401cf446682f67a138670cb74e838a2fb2b47e SHA512 9cb501818bb8de4566068e03d78ef2c22b38d4b54e005a8086cec731768cc4716e36c4fbe20aa3c4190c41b9de4876f3f4790b8631228a99ad58fc5fea8049d4 WHIRLPOOL ebb006d00a0c13fe2a6b50c40936b431378e6b0e044451e52b74e7695917d0feb796ed4859401f13be0e8ea47230f8fc616bf0e5c3c5c627906c57d01b9568a0
MISC ChangeLog 32929 SHA256 29762c6ac4357228d96a6c4a8e4cbbaacdb19bf1ed019de9d9e3173e68dc06bc SHA512 7da9f2b7f6e5ac7c9b44d265ea776165e05b8f03275d3f2f9f03503918ae6228ba93b26fc4dabf2734d1a5bef397df40bae882780f1a4cb588e533d51609123c WHIRLPOOL efa7bf9de655d82bae54a3688e6c87985079aa1a28ff3f43ea237becb1542b193a8e0e6ff1badc962742da721aa599e0456bc1cef072bf7f2026533dbfd6ba42
MISC metadata.xml 1108 SHA256 7555f673c5676c2efb2696cf49117e1198134e8c2d575052d817c50bbc4f5f45 SHA512 10b8a0dff66f163dc747e294ead1455fa0b84414eab9aa1950da08f92245eb725d77f04346276a4e727bf0d5b6adc5f6c744b770b1a47dc916ddef7d641affd9 WHIRLPOOL ae3413df80c029c8f84e092568d05e02e3c81695c741319be98ceadddbd680c589e68ec6250a653849eca6d0fe3aace7c2004f54cc2f7a9201b60af524edff28
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Version: GnuPG v2.0.21 (GNU/Linux)
iQIcBAEBCgAGBQJR/lakAAoJELp701BxlEWfsIUP/3vmWqnotqM6paM6eXqYebKw
xlkn0XN/yV5Ji7H6gp0ePwHcn899SorDJ12ODDgDNZlFLL4zvFtwJab6J11TFXXG
/2BMgVcGOtveVW4fDnG7sQT1ZLmhN2Q2xKc+BIxN8fOxK4NhKKZK0IHDy+YwoGE3
VGr6rCHUBQq2eNl21oYpkNKXXyp1AnRnlFLalNzxAY49ttRuf9E7F7zn2LRYzzzV
wywy+1eo5PlJzNxA19CRyL4Q2lnG8w8lVGShLb5/yQ4HSIU2x2xi1ieHjTxVoEwG
fbB6uaP3nyQOlorIL7ywg2/b6cWwlZCxckG0EFNxn5s4f5AlRu6J55oGu1pZ6MmD
k9ZxXhF30YPw9QIrO1ZOlYigw/PUUr7mvNQoJx+Jfvxz9OtBwwcpcd7s4RXJwvRK
1HItJNh7CZDptmu116DJ8Ia0b/gvBjiosM/xZNPOBWyh/PCnhNNy8lBeiligNcgO
gOUnd/6bIS/Bk/UPT6YH5AGj7W9JvvUmXUn/U3u3mzLhJobZymMvW3+QGLUXMV8c
CGA2PrSxm8AsmUAXZgbDs8aqE6j2zlFYFh9ACBnVvASIXvemSUkrBq4L1F/GeRmr
mklLbBMbM9ghoH3NdmGNgBIudtUU/n3ltD5n+VrupyjyCVQjYoJWNAPKypQGmNey
++VmelWOBieoEZYPCUXE
=cXQ1
iF4EAREIAAYFAlI0rngACgkQC77qH+pIQ6TFggD/T0p0NSiVPTmQ8AN615FyYL4U
q05Qn8hU63odU/lQ4QMA/3b98IglSyKLOT1i5h+ZcYol6AhYyv3BgbasBxt0RHtA
=ipJl
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,43 @@
From ac4c8d6da8b5ebc35f02c9c6cb7595be7b134a05 Mon Sep 17 00:00:00 2001
From: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date: Thu, 12 Sep 2013 01:50:16 +0000
Subject: Allow tabs in environment files
bash allows them, and so should we.
string_has_cc is changed to allow tabs, and if they are not wanted,
they must be now checked for explicitly. There are two other callers,
apart from the env file loaders, and one already checked anyway, and
the other is changed to check.
https://bugs.freedesktop.org/show_bug.cgi?id=68592
https://bugs.gentoo.org/show_bug.cgi?id=481554
---
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c
index 0437e33..6a43aeb 100644
--- a/src/hostname/hostnamed.c
+++ b/src/hostname/hostnamed.c
@@ -553,7 +553,8 @@ static DBusHandlerResult hostname_message_handler(
* safe than sorry */
if (k == PROP_ICON_NAME && !filename_is_safe(name))
return bus_send_error_reply(connection, message, NULL, -EINVAL);
- if (k == PROP_PRETTY_HOSTNAME && string_has_cc(name))
+ if (k == PROP_PRETTY_HOSTNAME &&
+ (string_has_cc(name) || chars_intersect(name, "\t")))
return bus_send_error_reply(connection, message, NULL, -EINVAL);
if (k == PROP_CHASSIS && !valid_chassis(name))
return bus_send_error_reply(connection, message, NULL, -EINVAL);
diff --git a/src/shared/util.c b/src/shared/util.c
index 1dde8af..ad463e8 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -5311,6 +5311,10 @@ bool string_is_safe(const char *p) {
return true;
}
+/**
+ * Check if a string contains control characters.
+ * Spaces and tabs are not considered control characters.
+ */
bool string_has_cc(const char *p) {
const char *t;

View File

@ -0,0 +1,22 @@
From da2620a5f878ad5c8d8d51992528cb3e637c7d1f Mon Sep 17 00:00:00 2001
From: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date: Thu, 12 Sep 2013 14:03:16 +0000
Subject: Actually allow tabs in environment files
Fixup for ac4c8d6da8b5e.
---
diff --git a/src/shared/util.c b/src/shared/util.c
index ad463e8..9a075fa 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -5321,7 +5321,7 @@ bool string_has_cc(const char *p) {
assert(p);
for (t = p; *t; t++)
- if (*t > 0 && *t < ' ')
+ if (*t > 0 && *t < ' ' && *t != '\t')
return true;
return false;
--
cgit v0.9.0.2-2-gbebe

View File

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-204.ebuild,v 1.9 2013/08/04 13:30:11 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-204.ebuild,v 1.12 2013/09/06 19:58:12 pacho Exp $
EAPI=5
@ -14,7 +14,7 @@ SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="amd64 arm ppc ppc64 ~x86"
KEYWORDS="amd64 arm ppc ppc64 x86"
IUSE="acl audit cryptsetup doc +firmware-loader gcrypt gudev http introspection
keymap +kmod lzma openrc pam policykit python qrcode selinux static-libs
tcpd test vanilla xattr"
@ -73,6 +73,8 @@ pkg_pretend() {
~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
# ~!FW_LOADER_USER_HELPER"
use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL"
# read null-terminated argv[0] from PID 1
# and see which path to systemd was used (if any)
local init_path
@ -235,20 +237,6 @@ src_install() {
done
}
optfeature() {
local i desc=${1} text
shift
text=" [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}"
shift
for i; do
elog "${text}"
text="& [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}"
done
elog "${text} (${desc})"
}
pkg_postinst() {
# for udev rules
enewgroup dialout
@ -267,17 +255,18 @@ pkg_postinst() {
fi
if [[ ! -L "${ROOT}"/etc/mtab ]]; then
ewarn "Upstream suggests that the /etc/mtab file should be a symlink to /proc/mounts."
ewarn "It is known to cause users being unable to unmount user mounts. If you don't"
ewarn "require that specific feature, please call:"
ewarn " $ ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
ewarn "Upstream mandates the /etc/mtab file should be a symlink to /proc/mounts."
ewarn "Not having it is not supported by upstream and will cause tools like 'df'"
ewarn "and 'mount' to not work properly. Please run:"
ewarn " # ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
ewarn
fi
elog "To get additional features, a number of optional runtime dependencies may"
elog "be installed:"
optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \
'sys-apps/systemd-ui'
if ! has_version sys-apps/systemd-ui; then
elog "To get additional features, a number of optional runtime dependencies may"
elog "be installed:"
elog "- sys-apps/systemd-ui: for GTK+ systemadm UI and gnome-ask-password-agent"
fi
}
pkg_prerm() {

View File

@ -1,13 +1,14 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-206-r1.ebuild,v 1.1 2013/07/31 22:23:50 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-206-r3.ebuild,v 1.7 2013/09/06 19:58:12 pacho Exp $
EAPI=5
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
PYTHON_COMPAT=( python2_7 )
inherit autotools-utils bash-completion-r1 fcaps linux-info multilib \
pam python-single-r1 systemd toolchain-funcs udev user
multilib-minimal pam python-single-r1 systemd toolchain-funcs udev \
user
DESCRIPTION="System and service manager for Linux"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
@ -33,19 +34,20 @@ COMMON_DEPEND=">=sys-apps/dbus-1.6.8-r1
http? ( net-libs/libmicrohttpd )
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
kmod? ( >=sys-apps/kmod-14-r1 )
lzma? ( app-arch/xz-utils )
lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
qrcode? ( media-gfx/qrencode )
selinux? ( sys-libs/libselinux )
tcpd? ( sys-apps/tcp-wrappers )
xattr? ( sys-apps/attr )"
xattr? ( sys-apps/attr )
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r8
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
# baselayout-2.2 has /run
RDEPEND="${COMMON_DEPEND}
>=sys-apps/baselayout-2.2
openrc? ( >=sys-fs/udev-init-scripts-25 )
policykit? ( sys-auth/polkit )
|| (
>=sys-apps/util-linux-2.22
<sys-apps/sysvinit-2.88-r4
@ -55,7 +57,8 @@ RDEPEND="${COMMON_DEPEND}
!<sys-libs/glibc-2.10
!sys-fs/udev"
PDEPEND=">=sys-apps/hwids-20130717-r1[udev]"
PDEPEND=">=sys-apps/hwids-20130717-r1[udev]
policykit? ( sys-auth/polkit )"
DEPEND="${COMMON_DEPEND}
app-arch/xz-utils
@ -76,6 +79,7 @@ pkg_pretend() {
~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
# ~!FW_LOADER_USER_HELPER"
use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL"
use pam && CONFIG_CHECK+=" ~AUDITSYSCALL"
# read null-terminated argv[0] from PID 1
@ -138,7 +142,7 @@ src_prepare() {
autotools-utils_src_prepare
}
src_configure() {
multilib_src_configure() {
local myeconfargs=(
--localstatedir=/var
--with-pamlibdir=$(getpam_mod_dir)
@ -190,21 +194,94 @@ src_configure() {
)
fi
if ! multilib_is_native_abi; then
myeconfargs+=(
ac_cv_search_cap_init=
ac_cv_header_sys_capability_h=yes
DBUS_CFLAGS=' '
DBUS_LIBS=' '
--disable-acl
--disable-audit
--disable-gcrypt
--disable-gtk-doc
--disable-gudev
--disable-introspection
--disable-kmod
--disable-libcryptsetup
--disable-microhttpd
--disable-pam
--disable-polkit
--disable-qrencode
--disable-selinux
--disable-tcpwrap
--disable-tests
--disable-xattr
--disable-xz
--without-python
)
fi
# Work around bug 463846.
tc-export CC
autotools-utils_src_configure
}
src_compile() {
autotools-utils_src_compile \
multilib_src_compile() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}"
else
echo 'gentoo: $(lib_LTLIBRARIES) $(pkgconfiglib_DATA)' | \
emake "${mymakeopts[@]}" -f Makefile -f - gentoo
fi
}
src_install() {
autotools-utils_src_install -j1 \
udevlibexecdir="${MY_UDEVDIR}" \
MULTILIB_WRAPPED_HEADERS=()
if use gudev; then
MULTILIB_WRAPPED_HEADERS+=(
/usr/include/gudev-1.0/gudev/gudev.h
/usr/include/gudev-1.0/gudev/gudevclient.h
/usr/include/gudev-1.0/gudev/gudevdevice.h
/usr/include/gudev-1.0/gudev/gudevenumerator.h
/usr/include/gudev-1.0/gudev/gudevenums.h
/usr/include/gudev-1.0/gudev/gudevenumtypes.h
/usr/include/gudev-1.0/gudev/gudevtypes.h
)
fi
multilib-minimal_src_install
}
multilib_src_install() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
dist_udevhwdb_DATA=
DESTDIR="${D}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}" -j1 install
else
mymakeopts+=(
install-libLTLIBRARIES
install-pkgconfiglibDATA
install-includeHEADERS
install-pkgincludeHEADERS
)
emake "${mymakeopts[@]}"
fi
}
multilib_src_install_all() {
prune_libtool_files --modules
# keep udev working without initramfs, for openrc compat
dodir /bin /sbin
@ -254,20 +331,6 @@ src_install() {
done
}
optfeature() {
local i desc=${1} text
shift
text=" [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}"
shift
for i; do
elog "${text}"
text="& [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}"
done
elog "${text} (${desc})"
}
pkg_postinst() {
# for udev rules
enewgroup dialout
@ -285,21 +348,26 @@ pkg_postinst() {
udevadm hwdb --update --root="${ROOT%/}"
fi
if [[ ${ROOT} == "" || ${ROOT} == "/" ]]; then
udevadm control --reload
fi
# Bug 468876
fcaps cap_dac_override,cap_sys_ptrace=ep usr/bin/systemd-detect-virt
if [[ ! -L "${ROOT}"/etc/mtab ]]; then
ewarn "Upstream suggests that the /etc/mtab file should be a symlink to /proc/mounts."
ewarn "It is known to cause users being unable to unmount user mounts. If you don't"
ewarn "require that specific feature, please call:"
ewarn " $ ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
ewarn "Upstream mandates the /etc/mtab file should be a symlink to /proc/mounts."
ewarn "Not having it is not supported by upstream and will cause tools like 'df'"
ewarn "and 'mount' to not work properly. Please run:"
ewarn " # ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
ewarn
fi
elog "To get additional features, a number of optional runtime dependencies may"
elog "be installed:"
optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \
'sys-apps/systemd-ui'
if ! has_version sys-apps/systemd-ui; then
elog "To get additional features, a number of optional runtime dependencies may"
elog "be installed:"
elog "- sys-apps/systemd-ui: for GTK+ systemadm UI and gnome-ask-password-agent"
fi
}
pkg_prerm() {

View File

@ -0,0 +1,368 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-206-r4.ebuild,v 1.1 2013/09/11 11:52:15 mgorny Exp $
EAPI=5
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
PYTHON_COMPAT=( python2_7 )
inherit autotools-utils bash-completion-r1 fcaps linux-info multilib \
multilib-minimal pam python-single-r1 systemd toolchain-funcs udev \
user
DESCRIPTION="System and service manager for Linux"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="acl audit cryptsetup doc +firmware-loader gcrypt gudev http introspection
+kmod lzma openrc pam policykit python qrcode selinux tcpd test
vanilla xattr"
MINKV="3.0"
COMMON_DEPEND=">=sys-apps/dbus-1.6.8-r1
>=sys-apps/util-linux-2.20
sys-libs/libcap
acl? ( sys-apps/acl )
audit? ( >=sys-process/audit-2 )
cryptsetup? ( >=sys-fs/cryptsetup-1.6 )
gcrypt? ( >=dev-libs/libgcrypt-1.4.5 )
gudev? ( >=dev-libs/glib-2 )
http? ( net-libs/libmicrohttpd )
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
kmod? ( >=sys-apps/kmod-14-r1 )
lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
qrcode? ( media-gfx/qrencode )
selinux? ( sys-libs/libselinux )
tcpd? ( sys-apps/tcp-wrappers )
xattr? ( sys-apps/attr )
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r8
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
# baselayout-2.2 has /run
RDEPEND="${COMMON_DEPEND}
>=sys-apps/baselayout-2.2
openrc? ( >=sys-fs/udev-init-scripts-25 )
|| (
>=sys-apps/util-linux-2.22
<sys-apps/sysvinit-2.88-r4
)
!vanilla? ( sys-apps/gentoo-systemd-integration )
!sys-auth/nss-myhostname
!<sys-libs/glibc-2.10
!sys-fs/udev"
PDEPEND=">=sys-apps/hwids-20130717-r1[udev]
policykit? ( sys-auth/polkit )"
DEPEND="${COMMON_DEPEND}
app-arch/xz-utils
app-text/docbook-xml-dtd:4.2
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
dev-util/gperf
>=dev-util/intltool-0.50
>=sys-devel/binutils-2.23.1
>=sys-devel/gcc-4.6
>=sys-kernel/linux-headers-${MINKV}
virtual/pkgconfig
doc? ( >=dev-util/gtk-doc-1.18 )"
pkg_pretend() {
local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS
~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD
~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
# ~!FW_LOADER_USER_HELPER"
use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL"
use pam && CONFIG_CHECK+=" ~AUDITSYSCALL"
# read null-terminated argv[0] from PID 1
# and see which path to systemd was used (if any)
local init_path
IFS= read -r -d '' init_path < /proc/1/cmdline
if [[ ${init_path} == */bin/systemd ]]; then
eerror "You are using a compatibility symlink to run systemd. The symlink"
eerror "has been removed. Please update your bootloader to use:"
eerror
eerror " init=/usr/lib/systemd/systemd"
eerror
eerror "and reboot your system. We are sorry for the inconvenience."
if [[ ${MERGE_TYPE} != buildonly ]]; then
die "Compatibility symlink used to boot systemd."
fi
fi
if [[ ${MERGE_TYPE} != binary ]]; then
if [[ $(gcc-major-version) -lt 4
|| ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ) ]]
then
eerror "systemd requires at least gcc 4.6 to build. Please switch the active"
eerror "gcc version using gcc-config."
die "systemd requires at least gcc 4.6"
fi
fi
if [[ ${MERGE_TYPE} != buildonly ]]; then
if kernel_is -lt ${MINKV//./ }; then
ewarn "Kernel version at least ${MINKV} required"
fi
if ! use firmware-loader && kernel_is -lt 3 8; then
ewarn "You seem to be using kernel older than 3.8. Those kernel versions"
ewarn "require systemd with USE=firmware-loader to support loading"
ewarn "firmware. Missing this flag may cause some hardware not to work."
fi
check_extra_config
fi
}
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
local PATCHES=(
#477954 - gnome-shell-3.8* session unlock broken
"${FILESDIR}"/206-0001-logind-update-state-file-after-generating-the-sessio.patch
#474946 - localectl does not find keymaps
"${FILESDIR}"/206-0002-Add-usr-share-keymaps-to-localectl-supported-locatio.patch
#478198 - wrong permission for static-nodes
"${FILESDIR}"/206-0003-tmpfiles-support-passing-prefix-multiple-times.patch
"${FILESDIR}"/206-0004-tmpfiles-introduce-exclude-prefix.patch
"${FILESDIR}"/206-0005-tmpfiles-setup-exclude-dev-prefixes-files.patch
)
autotools-utils_src_prepare
}
multilib_src_configure() {
local myeconfargs=(
--localstatedir=/var
--with-pamlibdir=$(getpam_mod_dir)
# avoid bash-completion dep
--with-bashcompletiondir="$(get_bashcompdir)"
# make sure we get /bin:/sbin in $PATH
--enable-split-usr
# disable sysv compatibility
--with-sysvinit-path=
--with-sysvrcnd-path=
# no deps
--enable-efi
--enable-ima
# optional components/dependencies
$(use_enable acl)
$(use_enable audit)
$(use_enable cryptsetup libcryptsetup)
$(use_enable doc gtk-doc)
$(use_enable gcrypt)
$(use_enable gudev)
$(use_enable http microhttpd)
$(use_enable introspection)
$(use_enable kmod)
$(use_enable lzma xz)
$(use_enable pam)
$(use_enable policykit polkit)
$(use_with python)
$(use python && echo PYTHON_CONFIG=/usr/bin/python-config-${EPYTHON#python})
$(use_enable qrcode qrencode)
$(use_enable selinux)
$(use_enable tcpd tcpwrap)
$(use_enable test tests)
$(use_enable xattr)
# not supported (avoid automagic deps in the future)
--disable-chkconfig
# hardcode a few paths to spare some deps
QUOTAON=/usr/sbin/quotaon
QUOTACHECK=/usr/sbin/quotacheck
)
# Keep using the one where the rules were installed.
MY_UDEVDIR=$(get_udevdir)
if use firmware-loader; then
myeconfargs+=(
--with-firmware-path="/lib/firmware/updates:/lib/firmware"
)
fi
if ! multilib_is_native_abi; then
myeconfargs+=(
ac_cv_search_cap_init=
ac_cv_header_sys_capability_h=yes
DBUS_CFLAGS=' '
DBUS_LIBS=' '
--disable-acl
--disable-audit
--disable-gcrypt
--disable-gtk-doc
--disable-gudev
--disable-introspection
--disable-kmod
--disable-libcryptsetup
--disable-microhttpd
--disable-pam
--disable-polkit
--disable-qrencode
--disable-selinux
--disable-tcpwrap
--disable-tests
--disable-xattr
--disable-xz
--without-python
)
fi
# Work around bug 463846.
tc-export CC
autotools-utils_src_configure
}
multilib_src_compile() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}"
else
echo 'gentoo: $(lib_LTLIBRARIES) $(pkgconfiglib_DATA)' | \
emake "${mymakeopts[@]}" -f Makefile -f - gentoo
fi
}
src_install() {
MULTILIB_WRAPPED_HEADERS=()
if use gudev; then
MULTILIB_WRAPPED_HEADERS+=(
/usr/include/gudev-1.0/gudev/gudev.h
/usr/include/gudev-1.0/gudev/gudevclient.h
/usr/include/gudev-1.0/gudev/gudevdevice.h
/usr/include/gudev-1.0/gudev/gudevenumerator.h
/usr/include/gudev-1.0/gudev/gudevenums.h
/usr/include/gudev-1.0/gudev/gudevenumtypes.h
/usr/include/gudev-1.0/gudev/gudevtypes.h
)
fi
multilib-minimal_src_install
}
multilib_src_install() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
dist_udevhwdb_DATA=
DESTDIR="${D}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}" -j1 install
else
mymakeopts+=(
install-libLTLIBRARIES
install-pkgconfiglibDATA
install-includeHEADERS
install-pkgincludeHEADERS
)
emake "${mymakeopts[@]}"
fi
}
multilib_src_install_all() {
prune_libtool_files --modules
# keep udev working without initramfs, for openrc compat
dodir /bin /sbin
mv "${D}"/usr/lib/systemd/systemd-udevd "${D}"/sbin/udevd || die
mv "${D}"/usr/bin/udevadm "${D}"/bin/udevadm || die
dosym ../../../sbin/udevd /usr/lib/systemd/systemd-udevd
dosym ../../bin/udevadm /usr/bin/udevadm
# zsh completion
insinto /usr/share/zsh/site-functions
newins shell-completion/systemd-zsh-completion.zsh "_${PN}"
# compat for init= use
dosym ../usr/lib/systemd/systemd /bin/systemd
dosym ../lib/systemd/systemd /usr/bin/systemd
# rsyslog.service depends on it...
dosym ../usr/bin/systemctl /bin/systemctl
# we just keep sysvinit tools, so no need for the mans
rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \
|| die
rm "${D}"/usr/share/man/man1/init.1 || die
# Disable storing coredumps in journald, bug #433457
mv "${D}"/usr/lib/sysctl.d/50-coredump.conf{,.disabled} || die
# Preserve empty dirs in /etc & /var, bug #437008
keepdir /etc/binfmt.d /etc/modules-load.d /etc/tmpfiles.d \
/etc/systemd/ntp-units.d /etc/systemd/user /var/lib/systemd
# Check whether we won't break user's system.
local x
for x in /bin/systemd /usr/bin/systemd \
/usr/bin/udevadm /usr/lib/systemd/systemd-udevd
do
[[ -x ${D}${x} ]] || die "${x} symlink broken, aborting."
done
}
pkg_postinst() {
# for udev rules
enewgroup dialout
enewgroup systemd-journal
if use http; then
enewgroup systemd-journal-gateway
enewuser systemd-journal-gateway -1 -1 -1 systemd-journal-gateway
fi
systemd_update_catalog
# Keep this here in case the database format changes so it gets updated
# when required. Despite that this file is owned by sys-apps/hwids.
if has_version "sys-apps/hwids[udev]"; then
udevadm hwdb --update --root="${ROOT%/}"
fi
if [[ ${ROOT} == "" || ${ROOT} == "/" ]]; then
udevadm control --reload
fi
# Bug 468876
fcaps cap_dac_override,cap_sys_ptrace=ep usr/bin/systemd-detect-virt
if [[ ! -L "${ROOT}"/etc/mtab ]]; then
ewarn "Upstream mandates the /etc/mtab file should be a symlink to /proc/mounts."
ewarn "Not having it is not supported by upstream and will cause tools like 'df'"
ewarn "and 'mount' to not work properly. Please run:"
ewarn " # ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
ewarn
fi
if ! has_version sys-apps/systemd-ui; then
elog "To get additional features, a number of optional runtime dependencies may"
elog "be installed:"
elog "- sys-apps/systemd-ui: for GTK+ systemadm UI and gnome-ask-password-agent"
fi
}
pkg_prerm() {
# If removing systemd completely, remove the catalog database.
if [[ ! ${REPLACED_BY_VERSION} ]]; then
rm -f -v "${EROOT}"/var/lib/systemd/catalog/database
fi
}

View File

@ -0,0 +1,374 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-206-r5.ebuild,v 1.1 2013/09/14 08:47:56 pacho Exp $
EAPI=5
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
PYTHON_COMPAT=( python2_7 )
inherit autotools-utils bash-completion-r1 fcaps linux-info multilib \
multilib-minimal pam python-single-r1 systemd toolchain-funcs udev \
user
DESCRIPTION="System and service manager for Linux"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="acl audit cryptsetup doc +firmware-loader gcrypt gudev http introspection
+kmod lzma openrc pam policykit python qrcode selinux tcpd test
vanilla xattr"
MINKV="3.0"
COMMON_DEPEND="
>=sys-apps/dbus-1.6.8-r1
>=sys-apps/util-linux-2.20
sys-libs/libcap
acl? ( sys-apps/acl )
audit? ( >=sys-process/audit-2 )
cryptsetup? ( >=sys-fs/cryptsetup-1.6 )
gcrypt? ( >=dev-libs/libgcrypt-1.4.5 )
gudev? ( >=dev-libs/glib-2 )
http? ( net-libs/libmicrohttpd )
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
kmod? ( >=sys-apps/kmod-14-r1 )
lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
qrcode? ( media-gfx/qrencode )
selinux? ( sys-libs/libselinux )
tcpd? ( sys-apps/tcp-wrappers )
xattr? ( sys-apps/attr )
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r8
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
"
# baselayout-2.2 has /run
RDEPEND="${COMMON_DEPEND}
>=sys-apps/baselayout-2.2
openrc? ( >=sys-fs/udev-init-scripts-25 )
|| (
>=sys-apps/util-linux-2.22
<sys-apps/sysvinit-2.88-r4
)
!vanilla? ( sys-apps/gentoo-systemd-integration )
!sys-auth/nss-myhostname
!<sys-libs/glibc-2.10
!sys-fs/udev
"
PDEPEND="
>=sys-apps/hwids-20130717-r1[udev]
policykit? ( sys-auth/polkit )
"
DEPEND="${COMMON_DEPEND}
app-arch/xz-utils
app-text/docbook-xml-dtd:4.2
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
dev-util/gperf
>=dev-util/intltool-0.50
>=sys-devel/binutils-2.23.1
>=sys-devel/gcc-4.6
>=sys-kernel/linux-headers-${MINKV}
virtual/pkgconfig
doc? ( >=dev-util/gtk-doc-1.18 )
"
pkg_pretend() {
local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS
~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD
~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
# ~!FW_LOADER_USER_HELPER"
use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL"
use pam && CONFIG_CHECK+=" ~AUDITSYSCALL"
# read null-terminated argv[0] from PID 1
# and see which path to systemd was used (if any)
local init_path
IFS= read -r -d '' init_path < /proc/1/cmdline
if [[ ${init_path} == */bin/systemd ]]; then
eerror "You are using a compatibility symlink to run systemd. The symlink"
eerror "has been removed. Please update your bootloader to use:"
eerror
eerror " init=/usr/lib/systemd/systemd"
eerror
eerror "and reboot your system. We are sorry for the inconvenience."
if [[ ${MERGE_TYPE} != buildonly ]]; then
die "Compatibility symlink used to boot systemd."
fi
fi
if [[ ${MERGE_TYPE} != binary ]]; then
if [[ $(gcc-major-version) -lt 4
|| ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ) ]]
then
eerror "systemd requires at least gcc 4.6 to build. Please switch the active"
eerror "gcc version using gcc-config."
die "systemd requires at least gcc 4.6"
fi
fi
if [[ ${MERGE_TYPE} != buildonly ]]; then
if kernel_is -lt ${MINKV//./ }; then
ewarn "Kernel version at least ${MINKV} required"
fi
if ! use firmware-loader && kernel_is -lt 3 8; then
ewarn "You seem to be using kernel older than 3.8. Those kernel versions"
ewarn "require systemd with USE=firmware-loader to support loading"
ewarn "firmware. Missing this flag may cause some hardware not to work."
fi
check_extra_config
fi
}
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
local PATCHES=(
#477954 - gnome-shell-3.8* session unlock broken
"${FILESDIR}"/206-0001-logind-update-state-file-after-generating-the-sessio.patch
#474946 - localectl does not find keymaps
"${FILESDIR}"/206-0002-Add-usr-share-keymaps-to-localectl-supported-locatio.patch
#478198 - wrong permission for static-nodes
"${FILESDIR}"/206-0003-tmpfiles-support-passing-prefix-multiple-times.patch
"${FILESDIR}"/206-0004-tmpfiles-introduce-exclude-prefix.patch
"${FILESDIR}"/206-0005-tmpfiles-setup-exclude-dev-prefixes-files.patch
#481554 - tabs in environment files should be allowed
"${FILESDIR}"/206-0006-allow-tabs-in-configuration-files.patch
"${FILESDIR}"/206-0007-allow-tabs-in-configuration-files2.patch
)
autotools-utils_src_prepare
}
multilib_src_configure() {
local myeconfargs=(
--localstatedir=/var
--with-pamlibdir=$(getpam_mod_dir)
# avoid bash-completion dep
--with-bashcompletiondir="$(get_bashcompdir)"
# make sure we get /bin:/sbin in $PATH
--enable-split-usr
# disable sysv compatibility
--with-sysvinit-path=
--with-sysvrcnd-path=
# no deps
--enable-efi
--enable-ima
# optional components/dependencies
$(use_enable acl)
$(use_enable audit)
$(use_enable cryptsetup libcryptsetup)
$(use_enable doc gtk-doc)
$(use_enable gcrypt)
$(use_enable gudev)
$(use_enable http microhttpd)
$(use_enable introspection)
$(use_enable kmod)
$(use_enable lzma xz)
$(use_enable pam)
$(use_enable policykit polkit)
$(use_with python)
$(use python && echo PYTHON_CONFIG=/usr/bin/python-config-${EPYTHON#python})
$(use_enable qrcode qrencode)
$(use_enable selinux)
$(use_enable tcpd tcpwrap)
$(use_enable test tests)
$(use_enable xattr)
# not supported (avoid automagic deps in the future)
--disable-chkconfig
# hardcode a few paths to spare some deps
QUOTAON=/usr/sbin/quotaon
QUOTACHECK=/usr/sbin/quotacheck
)
# Keep using the one where the rules were installed.
MY_UDEVDIR=$(get_udevdir)
if use firmware-loader; then
myeconfargs+=(
--with-firmware-path="/lib/firmware/updates:/lib/firmware"
)
fi
if ! multilib_is_native_abi; then
myeconfargs+=(
ac_cv_search_cap_init=
ac_cv_header_sys_capability_h=yes
DBUS_CFLAGS=' '
DBUS_LIBS=' '
--disable-acl
--disable-audit
--disable-gcrypt
--disable-gtk-doc
--disable-gudev
--disable-introspection
--disable-kmod
--disable-libcryptsetup
--disable-microhttpd
--disable-pam
--disable-polkit
--disable-qrencode
--disable-selinux
--disable-tcpwrap
--disable-tests
--disable-xattr
--disable-xz
--without-python
)
fi
# Work around bug 463846.
tc-export CC
autotools-utils_src_configure
}
multilib_src_compile() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}"
else
echo 'gentoo: $(lib_LTLIBRARIES) $(pkgconfiglib_DATA)' | \
emake "${mymakeopts[@]}" -f Makefile -f - gentoo
fi
}
src_install() {
MULTILIB_WRAPPED_HEADERS=()
if use gudev; then
MULTILIB_WRAPPED_HEADERS+=(
/usr/include/gudev-1.0/gudev/gudev.h
/usr/include/gudev-1.0/gudev/gudevclient.h
/usr/include/gudev-1.0/gudev/gudevdevice.h
/usr/include/gudev-1.0/gudev/gudevenumerator.h
/usr/include/gudev-1.0/gudev/gudevenums.h
/usr/include/gudev-1.0/gudev/gudevenumtypes.h
/usr/include/gudev-1.0/gudev/gudevtypes.h
)
fi
multilib-minimal_src_install
}
multilib_src_install() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
dist_udevhwdb_DATA=
DESTDIR="${D}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}" -j1 install
else
mymakeopts+=(
install-libLTLIBRARIES
install-pkgconfiglibDATA
install-includeHEADERS
install-pkgincludeHEADERS
)
emake "${mymakeopts[@]}"
fi
}
multilib_src_install_all() {
prune_libtool_files --modules
# keep udev working without initramfs, for openrc compat
dodir /bin /sbin
mv "${D}"/usr/lib/systemd/systemd-udevd "${D}"/sbin/udevd || die
mv "${D}"/usr/bin/udevadm "${D}"/bin/udevadm || die
dosym ../../../sbin/udevd /usr/lib/systemd/systemd-udevd
dosym ../../bin/udevadm /usr/bin/udevadm
# zsh completion
insinto /usr/share/zsh/site-functions
newins shell-completion/systemd-zsh-completion.zsh "_${PN}"
# compat for init= use
dosym ../usr/lib/systemd/systemd /bin/systemd
dosym ../lib/systemd/systemd /usr/bin/systemd
# rsyslog.service depends on it...
dosym ../usr/bin/systemctl /bin/systemctl
# we just keep sysvinit tools, so no need for the mans
rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \
|| die
rm "${D}"/usr/share/man/man1/init.1 || die
# Disable storing coredumps in journald, bug #433457
mv "${D}"/usr/lib/sysctl.d/50-coredump.conf{,.disabled} || die
# Preserve empty dirs in /etc & /var, bug #437008
keepdir /etc/binfmt.d /etc/modules-load.d /etc/tmpfiles.d \
/etc/systemd/ntp-units.d /etc/systemd/user /var/lib/systemd
# Check whether we won't break user's system.
local x
for x in /bin/systemd /usr/bin/systemd \
/usr/bin/udevadm /usr/lib/systemd/systemd-udevd
do
[[ -x ${D}${x} ]] || die "${x} symlink broken, aborting."
done
}
pkg_postinst() {
# for udev rules
enewgroup dialout
enewgroup systemd-journal
if use http; then
enewgroup systemd-journal-gateway
enewuser systemd-journal-gateway -1 -1 -1 systemd-journal-gateway
fi
systemd_update_catalog
# Keep this here in case the database format changes so it gets updated
# when required. Despite that this file is owned by sys-apps/hwids.
if has_version "sys-apps/hwids[udev]"; then
udevadm hwdb --update --root="${ROOT%/}"
fi
if [[ ${ROOT} == "" || ${ROOT} == "/" ]]; then
udevadm control --reload
fi
# Bug 468876
fcaps cap_dac_override,cap_sys_ptrace=ep usr/bin/systemd-detect-virt
if [[ ! -L "${ROOT}"/etc/mtab ]]; then
ewarn "Upstream mandates the /etc/mtab file should be a symlink to /proc/mounts."
ewarn "Not having it is not supported by upstream and will cause tools like 'df'"
ewarn "and 'mount' to not work properly. Please run:"
ewarn " # ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
ewarn
fi
if ! has_version sys-apps/systemd-ui; then
elog "To get additional features, a number of optional runtime dependencies may"
elog "be installed:"
elog "- sys-apps/systemd-ui: for GTK+ systemadm UI and gnome-ask-password-agent"
fi
}
pkg_prerm() {
# If removing systemd completely, remove the catalog database.
if [[ ! ${REPLACED_BY_VERSION} ]]; then
rm -f -v "${EROOT}"/var/lib/systemd/catalog/database
fi
}

View File

@ -0,0 +1,309 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-207.ebuild,v 1.2 2013/09/14 18:44:05 floppym Exp $
EAPI=5
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
PYTHON_COMPAT=( python2_7 )
inherit autotools-utils bash-completion-r1 fcaps linux-info multilib \
multilib-minimal pam python-single-r1 systemd toolchain-funcs udev \
user
DESCRIPTION="System and service manager for Linux"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="acl audit cryptsetup doc +firmware-loader gcrypt gudev http introspection
+kmod lzma openrc pam policykit python qrcode selinux tcpd test
vanilla xattr"
MINKV="3.0"
COMMON_DEPEND=">=sys-apps/dbus-1.6.8-r1
>=sys-apps/util-linux-2.20
sys-libs/libcap
acl? ( sys-apps/acl )
audit? ( >=sys-process/audit-2 )
cryptsetup? ( >=sys-fs/cryptsetup-1.6 )
gcrypt? ( >=dev-libs/libgcrypt-1.4.5 )
gudev? ( >=dev-libs/glib-2[${MULTILIB_USEDEP}] )
http? ( net-libs/libmicrohttpd )
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
kmod? ( >=sys-apps/kmod-14-r1 )
lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
qrcode? ( media-gfx/qrencode )
selinux? ( sys-libs/libselinux )
tcpd? ( sys-apps/tcp-wrappers )
xattr? ( sys-apps/attr )
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r9
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
# baselayout-2.2 has /run
RDEPEND="${COMMON_DEPEND}
>=sys-apps/baselayout-2.2
openrc? ( >=sys-fs/udev-init-scripts-25 )
|| (
>=sys-apps/util-linux-2.22
<sys-apps/sysvinit-2.88-r4
)
!vanilla? ( sys-apps/gentoo-systemd-integration )
!sys-auth/nss-myhostname
!<sys-libs/glibc-2.10
!sys-fs/udev"
PDEPEND=">=sys-apps/hwids-20130717-r1[udev]
policykit? ( sys-auth/polkit )"
DEPEND="${COMMON_DEPEND}
app-arch/xz-utils
app-text/docbook-xml-dtd:4.2
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
dev-util/gperf
>=dev-util/intltool-0.50
>=sys-devel/binutils-2.23.1
>=sys-devel/gcc-4.6
>=sys-kernel/linux-headers-${MINKV}
virtual/pkgconfig
doc? ( >=dev-util/gtk-doc-1.18 )"
pkg_pretend() {
local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS
~EPOLL ~FANOTIFY ~FHANDLE ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS
~SECCOMP ~SIGNALFD ~SYSFS ~TIMERFD
~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL"
use pam && CONFIG_CHECK+=" ~AUDITSYSCALL"
kernel_is -lt 3 7 && CONFIG_CHECK+=" ~HOTPLUG"
use firmware-loader || CONFIG_CHECK+=" ~!FW_LOADER_USER_HELPER"
if [[ ${MERGE_TYPE} != binary ]]; then
if [[ $(gcc-major-version) -lt 4
|| ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ) ]]
then
eerror "systemd requires at least gcc 4.6 to build. Please switch the active"
eerror "gcc version using gcc-config."
die "systemd requires at least gcc 4.6"
fi
fi
if [[ ${MERGE_TYPE} != buildonly ]]; then
if kernel_is -lt ${MINKV//./ }; then
ewarn "Kernel version at least ${MINKV} required"
fi
if ! use firmware-loader && kernel_is -lt 3 8; then
ewarn "You seem to be using kernel older than 3.8. Those kernel versions"
ewarn "require systemd with USE=firmware-loader to support loading"
ewarn "firmware. Missing this flag may cause some hardware not to work."
fi
check_extra_config
fi
}
pkg_setup() {
use python && python-single-r1_pkg_setup
}
multilib_src_configure() {
local myeconfargs=(
--localstatedir=/var
--with-pamlibdir=$(getpam_mod_dir)
# avoid bash-completion dep
--with-bashcompletiondir="$(get_bashcompdir)"
# make sure we get /bin:/sbin in $PATH
--enable-split-usr
# disable sysv compatibility
--with-sysvinit-path=
--with-sysvrcnd-path=
# no deps
--enable-efi
--enable-ima
# optional components/dependencies
$(use_enable acl)
$(use_enable audit)
$(use_enable cryptsetup libcryptsetup)
$(use_enable doc gtk-doc)
$(use_enable gcrypt)
$(use_enable gudev)
$(use_enable http microhttpd)
$(use_enable introspection)
$(use_enable kmod)
$(use_enable lzma xz)
$(use_enable pam)
$(use_enable policykit polkit)
$(use_enable python python-devel)
$(use python && echo PYTHON_CONFIG=/usr/bin/python-config-${EPYTHON#python})
$(use_enable qrcode qrencode)
$(use_enable selinux)
$(use_enable tcpd tcpwrap)
$(use_enable test tests)
$(use_enable xattr)
# not supported (avoid automagic deps in the future)
--disable-chkconfig
# hardcode a few paths to spare some deps
QUOTAON=/usr/sbin/quotaon
QUOTACHECK=/usr/sbin/quotacheck
)
# Keep using the one where the rules were installed.
MY_UDEVDIR=$(get_udevdir)
if use firmware-loader; then
myeconfargs+=(
--with-firmware-path="/lib/firmware/updates:/lib/firmware"
)
fi
if ! multilib_is_native_abi; then
myeconfargs+=(
ac_cv_search_cap_init=
ac_cv_header_sys_capability_h=yes
DBUS_CFLAGS=' '
DBUS_LIBS=' '
--disable-acl
--disable-audit
--disable-gcrypt
--disable-gtk-doc
--disable-introspection
--disable-kmod
--disable-libcryptsetup
--disable-microhttpd
--disable-pam
--disable-polkit
--disable-qrencode
--disable-selinux
--disable-tcpwrap
--disable-tests
--disable-xattr
--disable-xz
--disable-python-devel
)
fi
# Work around bug 463846.
tc-export CC
autotools-utils_src_configure
}
multilib_src_compile() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}"
else
# prerequisites for gudev
use gudev && emake src/gudev/gudev{enumtypes,marshal}.{c,h}
echo 'gentoo: $(lib_LTLIBRARIES) $(pkgconfiglib_DATA)' | \
emake "${mymakeopts[@]}" -f Makefile -f - gentoo
fi
}
multilib_src_test() {
multilib_is_native_abi || continue
default
}
multilib_src_install() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
dist_udevhwdb_DATA=
DESTDIR="${D}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}" install
else
mymakeopts+=(
install-libLTLIBRARIES
install-pkgconfiglibDATA
install-includeHEADERS
# safe to call unconditionally, 'installs' empty list
install-libgudev_includeHEADERS
install-pkgincludeHEADERS
)
emake "${mymakeopts[@]}"
fi
}
multilib_src_install_all() {
prune_libtool_files --modules
# we just keep sysvinit tools, so no need for the mans
rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \
|| die
rm "${D}"/usr/share/man/man1/init.1 || die
# Disable storing coredumps in journald, bug #433457
mv "${D}"/usr/lib/sysctl.d/50-coredump.conf{,.disabled} || die
# Preserve empty dirs in /etc & /var, bug #437008
keepdir /etc/binfmt.d /etc/modules-load.d /etc/tmpfiles.d \
/etc/systemd/ntp-units.d /etc/systemd/user /var/lib/systemd
# Symlink /etc/sysctl.conf for easy migration.
dosym ../sysctl.conf /etc/sysctl.d/99-sysctl.conf
}
pkg_postinst() {
# for udev rules
enewgroup dialout
enewgroup systemd-journal
if use http; then
enewgroup systemd-journal-gateway
enewuser systemd-journal-gateway -1 -1 -1 systemd-journal-gateway
fi
systemd_update_catalog
# Keep this here in case the database format changes so it gets updated
# when required. Despite that this file is owned by sys-apps/hwids.
if has_version "sys-apps/hwids[udev]"; then
udevadm hwdb --update --root="${ROOT%/}"
fi
if [[ ${ROOT} == "" || ${ROOT} == "/" ]]; then
udevadm control --reload
fi
# Bug 468876
fcaps cap_dac_override,cap_sys_ptrace=ep usr/bin/systemd-detect-virt
if [[ ! -L "${ROOT}"/etc/mtab ]]; then
ewarn "Upstream mandates the /etc/mtab file should be a symlink to /proc/mounts."
ewarn "Not having it is not supported by upstream and will cause tools like 'df'"
ewarn "and 'mount' to not work properly. Please run:"
ewarn " # ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
ewarn
fi
if ! has_version sys-apps/systemd-ui; then
elog "To get additional features, a number of optional runtime dependencies may"
elog "be installed:"
elog "- sys-apps/systemd-ui: for GTK+ systemadm UI and gnome-ask-password-agent"
fi
}
pkg_prerm() {
# If removing systemd completely, remove the catalog database.
if [[ ! ${REPLACED_BY_VERSION} ]]; then
rm -f -v "${EROOT}"/var/lib/systemd/catalog/database
fi
}

View File

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999-r1.ebuild,v 1.6 2013/08/04 08:15:08 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/sys-apps/systemd/systemd-9999-r1.ebuild,v 1.16 2013/09/14 18:44:05 floppym Exp $
EAPI=5
@ -15,13 +15,14 @@ inherit git-2
AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
PYTHON_COMPAT=( python2_7 )
inherit autotools-utils bash-completion-r1 fcaps linux-info multilib \
pam python-single-r1 systemd toolchain-funcs udev user
multilib-minimal pam python-single-r1 systemd toolchain-funcs udev \
user
DESCRIPTION="System and service manager for Linux"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
SRC_URI="http://www.freedesktop.org/software/systemd/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1 MIT"
LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="acl audit cryptsetup doc +firmware-loader gcrypt gudev http introspection
@ -37,23 +38,24 @@ COMMON_DEPEND=">=sys-apps/dbus-1.6.8-r1
audit? ( >=sys-process/audit-2 )
cryptsetup? ( >=sys-fs/cryptsetup-1.6 )
gcrypt? ( >=dev-libs/libgcrypt-1.4.5 )
gudev? ( >=dev-libs/glib-2 )
gudev? ( >=dev-libs/glib-2[${MULTILIB_USEDEP}] )
http? ( net-libs/libmicrohttpd )
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
kmod? ( >=sys-apps/kmod-14-r1 )
lzma? ( app-arch/xz-utils )
lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] )
pam? ( virtual/pam )
python? ( ${PYTHON_DEPS} )
qrcode? ( media-gfx/qrencode )
selinux? ( sys-libs/libselinux )
tcpd? ( sys-apps/tcp-wrappers )
xattr? ( sys-apps/attr )"
xattr? ( sys-apps/attr )
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r9
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
# baselayout-2.2 has /run
RDEPEND="${COMMON_DEPEND}
>=sys-apps/baselayout-2.2
openrc? ( >=sys-fs/udev-init-scripts-25 )
policykit? ( sys-auth/polkit )
|| (
>=sys-apps/util-linux-2.22
<sys-apps/sysvinit-2.88-r4
@ -63,7 +65,8 @@ RDEPEND="${COMMON_DEPEND}
!<sys-libs/glibc-2.10
!sys-fs/udev"
PDEPEND=">=sys-apps/hwids-20130717-r1[udev]"
PDEPEND=">=sys-apps/hwids-20130717-r1[udev]
policykit? ( sys-auth/polkit )"
DEPEND="${COMMON_DEPEND}
app-arch/xz-utils
@ -96,11 +99,14 @@ src_prepare() {
pkg_pretend() {
local CONFIG_CHECK="~AUTOFS4_FS ~BLK_DEV_BSG ~CGROUPS ~DEVTMPFS
~FANOTIFY ~HOTPLUG ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS ~SIGNALFD
~SYSFS ~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
# ~!FW_LOADER_USER_HELPER"
~EPOLL ~FANOTIFY ~FHANDLE ~INOTIFY_USER ~IPV6 ~NET ~PROC_FS
~SECCOMP ~SIGNALFD ~SYSFS ~TIMERFD
~!IDE ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2"
use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL"
use pam && CONFIG_CHECK+=" ~AUDITSYSCALL"
kernel_is -lt 3 7 && CONFIG_CHECK+=" ~HOTPLUG"
use firmware-loader || CONFIG_CHECK+=" ~!FW_LOADER_USER_HELPER"
if [[ ${MERGE_TYPE} != binary ]]; then
if [[ $(gcc-major-version) -lt 4
@ -131,7 +137,7 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_configure() {
multilib_src_configure() {
local myeconfargs=(
--localstatedir=/var
--with-pamlibdir=$(getpam_mod_dir)
@ -158,7 +164,7 @@ src_configure() {
$(use_enable lzma xz)
$(use_enable pam)
$(use_enable policykit polkit)
$(use_with python)
$(use_enable python python-devel)
$(use python && echo PYTHON_CONFIG=/usr/bin/python-config-${EPYTHON#python})
$(use_enable qrcode qrencode)
$(use_enable selinux)
@ -183,25 +189,86 @@ src_configure() {
)
fi
if ! multilib_is_native_abi; then
myeconfargs+=(
ac_cv_search_cap_init=
ac_cv_header_sys_capability_h=yes
DBUS_CFLAGS=' '
DBUS_LIBS=' '
--disable-acl
--disable-audit
--disable-gcrypt
--disable-gtk-doc
--disable-introspection
--disable-kmod
--disable-libcryptsetup
--disable-microhttpd
--disable-pam
--disable-polkit
--disable-qrencode
--disable-selinux
--disable-tcpwrap
--disable-tests
--disable-xattr
--disable-xz
--disable-python-devel
)
fi
# Work around bug 463846.
tc-export CC
autotools-utils_src_configure
}
src_compile() {
autotools-utils_src_compile \
multilib_src_compile() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}"
else
# prerequisites for gudev
use gudev && emake src/gudev/gudev{enumtypes,marshal}.{c,h}
echo 'gentoo: $(lib_LTLIBRARIES) $(pkgconfiglib_DATA)' | \
emake "${mymakeopts[@]}" -f Makefile -f - gentoo
fi
}
src_install() {
autotools-utils_src_install -j1 \
udevlibexecdir="${MY_UDEVDIR}" \
dist_udevhwdb_DATA=
multilib_src_test() {
multilib_is_native_abi || continue
# zsh completion
insinto /usr/share/zsh/site-functions
doins shell-completion/zsh/_*
default
}
multilib_src_install() {
local mymakeopts=(
udevlibexecdir="${MY_UDEVDIR}"
dist_udevhwdb_DATA=
DESTDIR="${D}"
)
if multilib_is_native_abi; then
emake "${mymakeopts[@]}" install
else
mymakeopts+=(
install-libLTLIBRARIES
install-pkgconfiglibDATA
install-includeHEADERS
# safe to call unconditionally, 'installs' empty list
install-libgudev_includeHEADERS
install-pkgincludeHEADERS
)
emake "${mymakeopts[@]}"
fi
}
multilib_src_install_all() {
prune_libtool_files --modules
# we just keep sysvinit tools, so no need for the mans
rm "${D}"/usr/share/man/man8/{halt,poweroff,reboot,runlevel,shutdown,telinit}.8 \
@ -214,20 +281,9 @@ src_install() {
# Preserve empty dirs in /etc & /var, bug #437008
keepdir /etc/binfmt.d /etc/modules-load.d /etc/tmpfiles.d \
/etc/systemd/ntp-units.d /etc/systemd/user /var/lib/systemd
}
optfeature() {
local i desc=${1} text
shift
text=" [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}"
shift
for i; do
elog "${text}"
text="& [\e[1m$(has_version ${1} && echo I || echo ' ')\e[0m] ${1}"
done
elog "${text} (${desc})"
# Symlink /etc/sysctl.conf for easy migration.
dosym ../sysctl.conf /etc/sysctl.d/99-sysctl.conf
}
pkg_postinst() {
@ -247,21 +303,26 @@ pkg_postinst() {
udevadm hwdb --update --root="${ROOT%/}"
fi
if [[ ${ROOT} == "" || ${ROOT} == "/" ]]; then
udevadm control --reload
fi
# Bug 468876
fcaps cap_dac_override,cap_sys_ptrace=ep usr/bin/systemd-detect-virt
if [[ ! -L "${ROOT}"/etc/mtab ]]; then
ewarn "Upstream suggests that the /etc/mtab file should be a symlink to /proc/mounts."
ewarn "It is known to cause users being unable to unmount user mounts. If you don't"
ewarn "require that specific feature, please call:"
ewarn " $ ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
ewarn "Upstream mandates the /etc/mtab file should be a symlink to /proc/mounts."
ewarn "Not having it is not supported by upstream and will cause tools like 'df'"
ewarn "and 'mount' to not work properly. Please run:"
ewarn " # ln -sf '${ROOT}proc/self/mounts' '${ROOT}etc/mtab'"
ewarn
fi
elog "To get additional features, a number of optional runtime dependencies may"
elog "be installed:"
optfeature 'for GTK+ systemadm UI and gnome-ask-password-agent' \
'sys-apps/systemd-ui'
if ! has_version sys-apps/systemd-ui; then
elog "To get additional features, a number of optional runtime dependencies may"
elog "be installed:"
elog "- sys-apps/systemd-ui: for GTK+ systemadm UI and gnome-ask-password-agent"
fi
}
pkg_prerm() {

View File

@ -1,6 +1,28 @@
# ChangeLog for virtual/udev
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/virtual/udev/ChangeLog,v 1.48 2013/08/02 12:40:35 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/virtual/udev/ChangeLog,v 1.53 2013/08/09 19:23:58 ssuominen Exp $
09 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> -udev-206-r1.ebuild,
-udev-206.ebuild:
old
*udev-206-r2 (09 Aug 2013)
09 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> +udev-206-r2.ebuild:
Remove entire USE="hwdb" which was only controlling the sys-apps/hwids
dependency as suggested by WilliamH. Not having sys-apps/hwids installed is
not really supported configuration.
08 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> udev-206-r1.ebuild:
Enable USE="hwdb" by default to match upstream behavior.
07 Aug 2013; Ian Stakenvicius <axs@gentoo.org> udev-206-r1.ebuild:
Bump eudev to satisfy the multilib version of the udev virtual
*udev-206-r1 (07 Aug 2013)
07 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> +udev-206-r1.ebuild:
Virtual for the multilib version of udev.
02 Aug 2013; Anthony G. Basile <blueness@gentoo.org> udev-206.ebuild:
Bump from eudev-1.2_beta to eudev-1.2

View File

@ -2,23 +2,17 @@
Hash: SHA256
EBUILD udev-200.ebuild 935 SHA256 9f8023114f114c95883c2f2630c66af260fff51bdf353a58da22d3eb929de4af SHA512 3e9d4e08f0475c67af7a84a7ca5fad11c2bf49eb866f642cf7d4616eedea7ce5a554661f702dd3ee8b51da65a03f3a49ac02c571171b18a26d3fd36767633d76 WHIRLPOOL a34fcbd09c70a84aeb35c1aca7faa57c3207b27da3aa729e071d04f0cc50b8bb2b5160da970fb594572c1b83eceb72a6488ee84e63e9df9fa0cb882a43f62bff
EBUILD udev-206.ebuild 922 SHA256 50b2ea5d6cc5f98450966249d719e471e77851df88afd6cedf5a54a54fbfca96 SHA512 f9f7034f885a801f85eb769f8fa9296e70b187c9b269d75c9ffad7eec6c5b4b71fde7de7aa8d214a6cd6ef1aeb21d6d54c4b415cc0449071269be52fa802d1de WHIRLPOOL a91bb6825a34fe2cfae9ad9180b7b0d6a4135f23ce9c9bb128c93ce34e0590586e03c4dd6e1beb04a2a68135958572edb31877178bf75df84bf9f8b5a823e863
MISC ChangeLog 6199 SHA256 a22ce1197702731ab449433d43426f261d9b9990e1890fa71c206c0c07c9e5a1 SHA512 a768f83962fb5611b80909c413e09820061360b41425b9f80bc01c75630ca7a0dba0dc6bec1cdb5f9f5dc618e2cdfd0df16e74c263b476496804e379dc4600a1 WHIRLPOOL 7657db4b85065efbed91771b4cebd1ec01da637e5d22d9b3253375b74b3df2f867cf3319303d94d2952720082d09902dbf6fc367b85de915504dc5a77ac33647
EBUILD udev-206-r2.ebuild 1021 SHA256 db25fff25a73af1fe9ee2b081ca56219e44c7653c24277b775dad126c9dd4f55 SHA512 f96bdeb0d29c70d04ecea3a2ca86290de75df33cdf6d35e4a3bd2166b7bc29bdc463b1ed61938affeb9616659c3c6c49ac1872ab908dcd21dd28cbe039923d5c WHIRLPOOL b20becbd85a7d0e78f2e481d421746429d09182dbdbd5a770870f851bc8c0d0ca4c52f126c1c626b2c2cadf32c08532adf85cdc8bde296b747035e05b29e369e
MISC ChangeLog 7012 SHA256 bc3363c855a06ab028fbf959529b2a1c37b38a7f08c630d6a8a36c28ebb12d13 SHA512 6362e474ffc3b255a5174aae2c5ec27224d3e6c807018e93290ad64bbf3cb14ee18c196ee96bb3194cbe34226dccce4df9d202da81b0e87d502a8127aee01e7f WHIRLPOOL f4a941892b1d8ab90638a2efbbb173e061ec30e2c9cdcd83fd37a55804407a7935bb2461ef83af7bcd601f10d93c4ed532f9ec0c5101565b3728acd804e0000e
MISC metadata.xml 562 SHA256 59540ad772a815dbed3b67cf86c05777f21c31e76ef5207f126f7e81bf910b1f SHA512 f9e4a16621d794bdcdf75d4ffc4b1f411d75751bfb3ec660c2ec3afd5883695c872f5957ac30c84b41e4614b4994e5b986e6a7052da97ba0e09344e29d2796c0 WHIRLPOOL 8480466f29464021380fcadf1a88ec8325a8eb16253abb593715debd69c1f6dfbbeaa0e7912c469ee89ec85c60d5e4564e529e214a859f25f28e304948107930
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
iQIcBAEBCAAGBQJR+6l8AAoJEJOE+m71LUu6EGIQAIGlCA8/2DLNR8nWpfXbjqzj
1lWSmTXD9aTjL8qs3uBx4Ypshu1rI2+SSYn2lbGInCA4uLoLQlZW14C95C8kXnZd
eeLJre88mDRj95oamOOpDoX1TFilv4ehM+59dCz4lwN6a2EVm8t2DfvsOhI5KSMI
BakXjHpRemDA4M2bC1CEzNzH9M6MMX6ym7zviYsFgcGbpXbWz6Egc7eScgB+KvHi
Ba+ie9O4RKiXO3towYRYrgjq2fdUcKN2bgfNGQzHIlRQBr2n++9wabTYh6+fu42a
XtY2lw+iN6t7A/ntL7YpN0JqY4UDeDvW5Y1Ct/80QDgL66vqd/4ELXJb8h43CWij
lBr2w2ZmE+Vn5b8Ho9S0r7x3ZKJotp1F8CtZww012cquX8tkFjVDSPFl9ThydYE2
ALLJkMZ11wL65L4+9GE2lH/m9LOiIS4fRS2K3bnHuJ7AccQ7WxjtbDjK2suj7Vlz
TsLK3FfyYqw1Kpxr6kUwgfaB9ntdQILMd9aaydDmTWhl/kjfZK/hGBh3HtyXLdrS
wJgWL8VZvhg4KvLXG8iSBehsyORG8fXLeXtMu6Rzb2sadlELOFPmIwTkXnFIjV12
NMkqh6Sz7kMcqx5JbLtvYudwfZayLgCEE3U03a7j5wd8OVPvO6UCSkG/362zPzt/
ba4TXgZzyUg8DoJT3Bhv
=ieLG
iQEcBAEBCAAGBQJSBUFSAAoJEEdUh39IaPFNP/8H/2FVrPPshYEQOTWAsBGDw/tt
5bTqlLjPcC2YvZY3SIFCYqLjI37ZeId9CPIpUO4WluUn7yY2MNWzsvUBbN153KUl
RFrSqdpILCM0BB6qCUotxT9dN0nzen72MdvZOEzqaZ0tNez0WAYSIJpBVFAiGKUt
tg8AL3IoV+mYpnvrmVkql1zn4r/49lfxc6JCA1eLr7Yvf1vCykYauM+BaasvU2on
I4bq5jApiVz85pEfKwDgrRK+Eo3WreOfU6wKJkDgkaSb3IlwXa4ij+rzERT9tTJM
HsmD296P2TnOuYVph0BRZwx2g2gH3Os1KzCBFaGZpy/dWrorxRzRGDbE0dB9WDo=
=d6Nn
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,23 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/udev/udev-206-r2.ebuild,v 1.1 2013/08/09 19:23:02 ssuominen Exp $
EAPI=5
inherit multilib-build
DESCRIPTION="Virtual to select between sys-fs/udev and sys-fs/eudev"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
# These default enabled IUSE flags should follow defaults of sys-fs/udev.
IUSE="gudev introspection +kmod selinux static-libs"
DEPEND=""
RDEPEND="|| ( >=sys-fs/udev-206-r2[${MULTILIB_USEDEP},gudev?,introspection?,kmod?,selinux?,static-libs?]
>=sys-apps/systemd-206[${MULTILIB_USEDEP},gudev?,introspection?,kmod?,selinux?,static-libs(-)?]
kmod? ( >=sys-fs/eudev-1.2-r1[${MULTILIB_USEDEP},keymap,modutils,gudev?,hwdb,introspection?,selinux?,static-libs?] )
!kmod? ( >=sys-fs/eudev-1.2-r1[${MULTILIB_USEDEP},keymap,gudev?,hwdb,introspection?,selinux?,static-libs?] )
)"

View File

@ -1,22 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/udev/udev-206.ebuild,v 1.3 2013/08/02 12:40:35 blueness Exp $
EAPI=5
DESCRIPTION="Virtual to select between sys-fs/udev and sys-fs/eudev"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
# These default enabled IUSE flags should follow defaults of sys-fs/udev.
IUSE="gudev hwdb introspection +kmod selinux static-libs"
DEPEND=""
RDEPEND="|| ( >=sys-fs/udev-206[gudev?,hwdb?,introspection?,kmod?,selinux?,static-libs?]
>=sys-apps/systemd-206[gudev?,introspection?,kmod?,selinux?,static-libs(-)?]
kmod? ( >=sys-fs/eudev-1.2[keymap,modutils,gudev?,hwdb?,introspection?,selinux?,static-libs?] )
!kmod? ( >=sys-fs/eudev-1.2[keymap,gudev?,hwdb?,introspection?,selinux?,static-libs?] )
)"