Commits

braindamaged committed f0bdefa Merge

Merge branch 'derp'

Comments (0)

Files changed (4)

sys-fs/udev-init-scripts/Manifest

 AUX udev-conf.diff 364 SHA256 50db73171d148d421683785d9bdcd6ed7da3b9c66c5a24d28e8c7fe831d88873 SHA512 db4357cfa85b054deee175d15b36fb64b3f03a5b2fcccabd6562c27695408a8801181001a56d7232674681333d0a3be31be305657638d85a486cccfcd8de5bc9 WHIRLPOOL 79a760b78b6cddfab94382dc75fb7b90f1e687b29d99041562c2a4fa0a5845888e5d49201c37ed61de3ceba612fdd97ce5f43c7014a5234ddad3ddade1720739
 AUX udev-init.diff 449 SHA256 3f78e51c027c438a56ee0f09601c1ac7744024b7675d7cc18229907cb0dffaca SHA512 3aeeb9ca4babea9f6d2cd07b4a005771a9529fd021471a8b9c96035cca62d0ad0478fd802f01ed19e6e4eb5cd967597a3720a95dce7cdc44d6315baa534335f2 WHIRLPOOL 5a2476bd548632e030f8645508f78f68f072c0608e850deaa482d155d40815f9045b7d8323f496ac41c3bce9a9520b0d29d02fbb30ce256ae33266ec682ad796
 DIST udev-init-scripts-16.tar.bz2 4625 SHA256 231637213c91ff0a84c316d6c1573677818274abe27fb0b940b3b27870a68c8f SHA512 1c5ab23f9623d76b133122463a0557d16416af9e83de727a49d36ac13e1271bae50ebf651317c684377259870d60bed695ec89e88086fa74d57e2a1b9c79b355 WHIRLPOOL 072ea319966e4777e7e4cf6be93d4d92d2843efb0eeca4b8bc8df1f3dbcfb6f96ed9475514faac5fed7f786c26f3c65d70844ddc806f573c0aed73cbce3b9cf2
+EBUILD udev-init-scripts-16-r1.ebuild 1811 SHA256 3ff1547079215b2517775f36c3aad0e47bb91532563f808afe09f044b7de2ec8 SHA512 1f42e8054bacbefd6bdc62b27e526395ce4bad4442c971a1dfbec7cdf31b2965ba091cf967e73117b56591ad68a62225b39521d408c7a8a241732dcfbe71f5cf WHIRLPOOL 45d88113b1f89759efeea4a9b0e97f348494276fdcc2283a08e9b3c8d3cab484b1ef165c65db443242c39800f78977382184c1cad29fbacbac0642155669e6a7
 EBUILD udev-init-scripts-16.ebuild 1806 SHA256 caabecb3d43ada86a63590acc658e997092cd9130a1ad51b1fb3c6f39188f26c SHA512 b9b685db66e89fbe4d2bf7dfc77ba951b101aab4cb3fae3e44c53f24dea13bee652dbcb5829058cd0a7530367a3846d3650cb096b0d52699f31edf056315a1bc WHIRLPOOL d9de3a480bc883b97b09b252bbc8561afca413e725e7268c516a88d9cb41bd83e47126e2966a203e58e6b6721636273c88c256fa35603af4b228fc6eb4c0af78
 EBUILD udev-init-scripts-9999.ebuild 1811 SHA256 3ff1547079215b2517775f36c3aad0e47bb91532563f808afe09f044b7de2ec8 SHA512 1f42e8054bacbefd6bdc62b27e526395ce4bad4442c971a1dfbec7cdf31b2965ba091cf967e73117b56591ad68a62225b39521d408c7a8a241732dcfbe71f5cf WHIRLPOOL 45d88113b1f89759efeea4a9b0e97f348494276fdcc2283a08e9b3c8d3cab484b1ef165c65db443242c39800f78977382184c1cad29fbacbac0642155669e6a7

sys-fs/udev-init-scripts/udev-init-scripts-16-r1.ebuild

+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils
+
+if [ "${PV}" = "9999" ]; then
+   EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/udev-gentoo-scripts.git"
+   inherit git-2
+fi
+
+DESCRIPTION="udev startup scripts for openrc"
+HOMEPAGE="http://www.gentoo.org"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+if [ "${PV}" != "9999" ]; then
+   SRC_URI="mirror://gentoo/${P}.tar.bz2"
+   KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+RESTRICT="test"
+
+DEPEND=""
+RDEPEND=">=sys-fs/udev-187
+   sys-apps/openrc
+   !<sys-fs/udev-186"
+
+src_prepare() {
+   epatch "${FILESDIR}"/udev-conf-sbin.diff || die "patch failed"
+   epatch "${FILESDIR}"/udev-init.diff || die "patch failed"
+   epatch "${FILESDIR}"/libudev-path.patch || die "patch failed"
+}
+
+pkg_postinst()
+{
+   # If we are building stages, add udev to the sysinit runlevel automatically.
+   if use build
+   then
+      if [[ -x "${ROOT}"/etc/init.d/udev \
+         && -d "${ROOT}"/etc/runlevels/sysinit ]]
+      then
+         ln -s /etc/init.d/udev "${ROOT}"/etc/runlevels/sysinit/udev
+      fi
+   fi
+
+   # migration to >=openrc-0.4
+   if [[ -e "${ROOT}"/etc/runlevels/sysinit \
+      && ! -e "${ROOT}"/etc/runlevels/sysinit/udev ]]
+   then
+      ewarn
+      ewarn "You need to add the udev init script to the runlevel sysinit,"
+      ewarn "otherwise your system will not be able to boot"
+      ewarn "after updating to >=openrc-0.4.0"
+      ewarn "Run this to enable udev for >=openrc-0.4.0:"
+      ewarn "\trc-update add udev sysinit"
+      ewarn
+   fi
+
+   ewarn "The udev-postmount service has been removed because the reasons for"
+   ewarn "its existance have been removed upstream."
+   ewarn "Please remove it from your runlevels."
+}

sys-fs/udev/Manifest

 AUX 40-gentoo.rules 349 SHA256 5d618b899475925ceccc330b6a738644aedd582d039f0cc404502637351347ea SHA512 b8d90037c08f30c9fb9e22a43c59a3627c218313b0421d4b70feba1731cda76ddc4ee6bdb99dca8df61e11f8d656a8769e172f0a584d7620213973dacfbbb4aa WHIRLPOOL a4086cd5f0e8849369389aa29ec42f5d906b00e3d650724d38ff8b4df4e36de7d3a37393b14f2f30a7102d6f2859b6847b5f4b7813be12d945ce1515494ce120
 DIST udev-189.tar.gz 768101 SHA256 33ca0b761f7f923320193e896b8046e1d0f95a31fe63d388559e0826ae866c04 SHA512 7338e47d938a462ed701f0d4be8c8747a92afaaca921c43e03b75173bd530ea1cd6867731bb0bf1d7f3264c46d63f8b8b572bdc16806c0c2996c73bd97641222 WHIRLPOOL 95f68410bf8ae9f25308fbd0266ffab9ed801902c9f4d360380bce04d9dedb12c99eeb2ffdab4e57b50b4a47dbd3fdfd32437f89d04c5bd2b66e1120a0b252c1
+DIST udev-190.tar.gz 761556 SHA256 6767e1689da2a88f4f5b3e276a2b42591d0ab433dfac551b3a50df5ec242df73 SHA512 dd4ecd2268bd1eb56804341c94d6422319a0ab87e817dc897cd6b1e48d62b0a1d95ee629721fa45081907841ffcc2d896d4fec261c5676f45b20254e393000ff WHIRLPOOL 2c838bc842780adee4eb2ca57f71062c5d9023f74e61c45163a2b429bb7b14118d41a62cc22611f8a94e59221bdb894806ac271c430f1dc5ab3693007ff04f4b
 EBUILD udev-189.ebuild 4150 SHA256 b5256662bd5ee27c0176ded1fe31bc352d36cda87b859a144a79409e648272a6 SHA512 c1666ec4029c727505543c9b34440b2c30436348867625f0587a30446966242e21069880e4e8a90821f495b1745cf4797b3964fbf66ec21dff994a3898e7d63e WHIRLPOOL 3d1a3b1a0e9b14703b6f080ecd9df99c82587dca911802ab25b7af3e263d20e43fa6be4f63f4d4d2b6959d49e1936578531638edd356e002994942cf85eabf3c
+EBUILD udev-190.ebuild 3945 SHA256 dac8a6a2121335db61d901d49124c3b8cefc366b7414950418d25b96b2d2bfe8 SHA512 20e8b2940c5b3a1893faff6c954d46f55c2635a2ac7c1ddff562ba4816e2075ea184b0de792e3ca58017b00b3fac65a272d8ede3f151c5032f9c7db08877b7ad WHIRLPOOL 5c17ab469deaa62571679963feeebe255c148a3e07e1429d61a2ba02b3be59a76e9df6d4004fca6f50cbb88dad223da9e29fb9369d444371241d916ecad80505
 EBUILD udev-9999.ebuild 3869 SHA256 144c718ca92b987c0ddfff6bf6e8bf4fc6d2118a4d45a9b3db826ee35dbf0771 SHA512 d69692425d637258efd4c01654ca749b1c29356236a73dd15c8ba2fe6d5e356a6a4f4bb88b93399ef982c5bd7fdb3ad4e411a477b040b6e7e81ee5bb5bf38833 WHIRLPOOL e1359bc101c5159595d321445dbb3395a2e713cfbae37a657b6726b151afc45ad509da31401c305b007cd1cf05b71f307fb433193309a9e90240009e2e9f2516
 MISC metadata.xml 1154 SHA256 421586e9dd88977cd731cdf629be45aa0b8e73b73efb68006043dc9463109383 SHA512 965f33a373e83628bc62a0bcdee04db14f2c9f318b2124a4b18b194e34f63355458e7e459096e848ac4b43a68a11de59f474a4a09e752ec2b35058c916544359 WHIRLPOOL 109e8b2155f74f9f04624ff5b2b2587ca9204996cc2ac19f38e47962015d4008bd2e120e13caa6657654941e72aaef920f1d87f4bd9f1aff6a91d22638888592

sys-fs/udev/udev-190.ebuild

+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+if [[ ${PV} == "9999" ]]; then
+	EGIT_REPO_URI="https://bitbucket.org/braindamaged/udev.git"
+	EGIT_HAS_SUBMODULES="0"
+	
+	inherit git-2 
+else
+	SRC_URI="https://bitbucket.org/braindamaged/udev/downloads/udev-${PV}.tar.gz"
+fi
+
+inherit autotools eutils linux-info toolchain-funcs
+
+DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
+HOMEPAGE="https://bitbucket.org/braindamaged/udev"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc debug gudev hwdb introspection keymap floppy +openrc selinux static-libs"
+
+RESTRICT="test"
+
+# Required kernel version
+KV_MIN="2.6.39"
+
+COMMON_DEPEND="gudev? ( dev-libs/glib:2 )
+	introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
+	selinux? ( sys-libs/libselinux )
+	>=sys-apps/kmod-5
+	>=sys-apps/util-linux-2.20
+	!<sys-libs/glibc-2.12"
+
+DEPEND="${COMMON_DEPEND}
+	dev-util/gperf
+	>=dev-util/intltool-0.40.0
+	virtual/pkgconfig
+	virtual/os-headers
+	!<sys-kernel/linux-headers-${KV_MIN}
+	doc? ( app-doc/doxygen )
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt"
+
+RDEPEND="${COMMON_DEPEND}
+	hwdb? ( sys-apps/hwids )
+	openrc?
+	(
+		>=sys-fs/udev-init-scripts-16
+		!<sys-apps/openrc-0.9.9
+	)
+	!sys-apps/coldplug
+	!<sys-fs/lvm2-2.02.45
+	!sys-fs/device-mapper
+	!<sys-fs/udev-init-scripts-16
+	!<sys-kernel/dracut-017-r1
+	!<sys-kernel/genkernel-3.4.25"
+
+# Required kernel options
+CONFIG_CHECK="~DEVTMPFS ~HOTPLUG ~INOTIFY_USER ~NET ~PROC_FS ~SIGNALFD ~SYSFS
+	~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~BLK_DEV_BSG"
+
+## Checks current kernel version
+#
+# Return values:
+#	0 -- Kernel is new enough
+#	1 -- Kernel is too old
+#
+udev_check_kv() {
+	kernel_is -ge ${KV_MIN//./ }
+	return $?
+}
+
+pkg_setup() {
+	echo
+	get_version && udev_check_kv
+
+	case $? in
+		0)	einfo "Your current kernel version (${KV_FULL}) is new enough to run ${P}."
+			;;
+		1)	eerror "Your current kernel version (${KV_FULL}) is too old to run ${P}."
+			eerror "You need at least ${KV_MIN}."
+			;;
+	esac
+
+	KV_FULL_SRC=${KV_FULL}
+
+	echo
+	get_running_version && udev_check_kv
+
+	case $? in
+		0)	einfo "Your running kernel version (${KV_FULL}) is new enough to run ${P}."
+			;;
+		1)	eerror "Your running kernel version (${KV_FULL}) is too old!"
+			eerror "You need at least ${KV_MIN}."
+			;;
+	esac
+	
+	echo
+	check_extra_config
+}
+
+src_prepare() {
+	# Change rules back to group uucp instead of dialout for now
+	sed -e 's/GROUP="dialout"/GROUP="uucp"/g' \
+		-i rules/*.rules \
+		|| die "failed to change group dialout to uucp"
+	
+	if [[ ${PV} == "9999" ]]; then
+		if [[ ! -e configure ]]; then
+			eautoreconf
+		else
+			check_default_rules
+			elibtoolize
+		fi
+	fi
+}
+
+src_configure() {
+	econf \
+		--prefix="${EPREFIX}" \
+		--with-rootprefix="${EPREFIX}" \
+		--bindir="${EPREFIX}"/sbin \
+		--sysconfdir="${EPREFIX}"/etc \
+		--libexecdir="${EPREFIX}"/"$(get_libdir)" \
+		--libdir="${EPREFIX}"/usr/"$(get_libdir)" \
+		--with-rootlibdir="${EPREFIX}"/"$(get_libdir)" \
+		--includedir="${EPREFIX}"/usr/include \
+		--datarootdir="${EPREFIX}"/usr/share \
+		--docdir="${EPREFIX}"/usr/share/doc/"${PF}" \
+		--with-pci-ids-path="${EPREFIX}"/usr/share/misc/pci.ids \
+		--with-usb-ids-path="${EPREFIX}"/usr/share/misc/usb.ids \
+		--enable-logging \
+		$(use_with selinux) \
+		$(use_enable debug) \
+		$(use_enable doc) \
+		$(use_enable static-libs static) \
+		$(use_enable keymap) \
+		$(use_enable floppy) \
+		$(use_enable gudev) \
+		$(use_enable introspection)
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	
+	# Install documentation
+	dodoc COPYING README INSTALL 
+
+	# Install gentoo-specific rules
+	insinto /"$(get_libdir)"/udev/rules.d
+	doins "${FILESDIR}"/40-gentoo.rules
+}
+
+pkg_postinst() {
+	# Create rundir for udev
+	mkdir -p "${ROOT}"/run
+
+	ewarn "Libudev version may be updated, please consider running"
+	ewarn "revdep-rebuild."
+}