ssuominen 14/05/30 16:08:19 Modified: udev-213.ebuild udev-9999.ebuild ChangeLog Log: Raise kernel requirement to 2.6.39 for CONFIG_FHANDLE and remove compability SUBSYSTEM=="mem" line from 40-gentoo.rules with it, which was for Linux 2.6.32 compability. (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Revision Changes Path 1.2 sys-fs/udev/udev-213.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-213.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-213.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-213.ebuild?r1=1.1&r2=1.2 Index: udev-213.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-213.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- udev-213.ebuild 28 May 2014 11:52:59 -0000 1.1 +++ udev-213.ebuild 30 May 2014 16:08:19 -0000 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-213.ebuild,v 1.1 2014/05/28 11:52:59 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-213.ebuild,v 1.2 2014/05/30 16:08:19 ssuominen Exp $ EAPI=5 @@ -50,7 +50,7 @@ virtual/os-headers virtual/pkgconfig >=sys-devel/make-3.82-r4 - >=sys-kernel/linux-headers-2.6.32 + >=sys-kernel/linux-headers-2.6.39 doc? ( >=dev-util/gtk-doc-1.18 )" # Try with `emerge -C docbook-xml-dtd` to see the build failure without DTDs if [[ ${PV} = 9999* ]]; then @@ -91,13 +91,8 @@ CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET" linux-info_pkg_setup - # Based on README from tarball: - local MINKV=3.0 - # These arch's have the mandatory accept4() function support in Linux 2.6.32*, see: - # $ grep -r define.*accept4 linux-2.6.32*/* - if use amd64 || use ia64 || use mips || use sparc || use x86; then - MINKV=2.6.32 - fi + # CONFIG_FHANDLE was introduced by 2.6.39 + local MINKV=2.6.39 if kernel_is -lt ${MINKV//./ }; then eerror "Your running kernel is too old to run this version of ${P}" @@ -122,9 +117,6 @@ cat <<-EOF > "${T}"/40-gentoo.rules # Gentoo specific usb group SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb" - # Keep this for Linux 2.6.32 kernels with incomplete devtmpfs support because - # accept4() function is supported for some arch's wrt #457868 - SUBSYSTEM=="mem", KERNEL=="null|zero|full|random|urandom", MODE="0666" EOF # Remove requirements for gettext and intltool wrt bug #443028 1.299 sys-fs/udev/udev-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.299&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.299&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.298&r2=1.299 Index: udev-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v retrieving revision 1.298 retrieving revision 1.299 diff -u -r1.298 -r1.299 --- udev-9999.ebuild 28 May 2014 12:22:27 -0000 1.298 +++ udev-9999.ebuild 30 May 2014 16:08:19 -0000 1.299 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.298 2014/05/28 12:22:27 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.299 2014/05/30 16:08:19 ssuominen Exp $ EAPI=5 @@ -50,7 +50,7 @@ virtual/os-headers virtual/pkgconfig >=sys-devel/make-3.82-r4 - >=sys-kernel/linux-headers-2.6.32 + >=sys-kernel/linux-headers-2.6.39 doc? ( >=dev-util/gtk-doc-1.18 )" # Try with `emerge -C docbook-xml-dtd` to see the build failure without DTDs if [[ ${PV} = 9999* ]]; then @@ -91,13 +91,8 @@ CONFIG_CHECK="~BLK_DEV_BSG ~DEVTMPFS ~!IDE ~INOTIFY_USER ~!SYSFS_DEPRECATED ~!SYSFS_DEPRECATED_V2 ~SIGNALFD ~EPOLL ~FHANDLE ~NET" linux-info_pkg_setup - # Based on README from tarball: - local MINKV=3.0 - # These arch's have the mandatory accept4() function support in Linux 2.6.32*, see: - # $ grep -r define.*accept4 linux-2.6.32*/* - if use amd64 || use ia64 || use mips || use sparc || use x86; then - MINKV=2.6.32 - fi + # CONFIG_FHANDLE was introduced by 2.6.39 + local MINKV=2.6.39 if kernel_is -lt ${MINKV//./ }; then eerror "Your running kernel is too old to run this version of ${P}" @@ -122,9 +117,6 @@ cat <<-EOF > "${T}"/40-gentoo.rules # Gentoo specific usb group SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="usb" - # Keep this for Linux 2.6.32 kernels with incomplete devtmpfs support because - # accept4() function is supported for some arch's wrt #457868 - SUBSYSTEM=="mem", KERNEL=="null|zero|full|random|urandom", MODE="0666" EOF # Remove requirements for gettext and intltool wrt bug #443028 1.1035 sys-fs/udev/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.1035&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.1035&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.1034&r2=1.1035 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v retrieving revision 1.1034 retrieving revision 1.1035 diff -u -r1.1034 -r1.1035 --- ChangeLog 28 May 2014 12:22:27 -0000 1.1034 +++ ChangeLog 30 May 2014 16:08:19 -0000 1.1035 @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/udev # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.1034 2014/05/28 12:22:27 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.1035 2014/05/30 16:08:19 ssuominen Exp $ + + 30 May 2014; Samuli Suominen <[email protected]> udev-213.ebuild, + udev-9999.ebuild: + Raise kernel requirement to 2.6.39 for CONFIG_FHANDLE and remove compability + SUBSYSTEM=="mem" line from 40-gentoo.rules with it, which was for Linux 2.6.32 + compability. 28 May 2014; Samuli Suominen <[email protected]> udev-9999.ebuild: Remove --disable-xattr because git is now using libc's xattr support instead
