summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-10 13:20:09 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-10 13:20:09 +0000
commit9dc9a5dcf43fc57a36e0204d26cb37d5866174cb (patch)
treea0e0837a0b12d32aae8464e76dc15437c1b30aca /sys-fs
parentfix ibiblio mirror location (diff)
downloadgentoo-2-9dc9a5dcf43fc57a36e0204d26cb37d5866174cb.tar.gz
gentoo-2-9dc9a5dcf43fc57a36e0204d26cb37d5866174cb.tar.bz2
gentoo-2-9dc9a5dcf43fc57a36e0204d26cb37d5866174cb.zip
prune out pre-stable stuff
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/udev/files/digest-udev-0121
-rw-r--r--sys-fs/udev/files/digest-udev-0131
-rw-r--r--sys-fs/udev/files/digest-udev-013-r11
-rw-r--r--sys-fs/udev/files/digest-udev-0151
-rw-r--r--sys-fs/udev/files/digest-udev-0161
-rw-r--r--sys-fs/udev/files/udev-011-no-wait-for-sleep.patch40
-rw-r--r--sys-fs/udev/files/udev-012-udev_c-gcc295-compat.patch13
-rw-r--r--sys-fs/udev/files/udev-015-logging-config-option.patch116
-rw-r--r--sys-fs/udev/files/udev-015-sysbus-missing-include.patch10
-rw-r--r--sys-fs/udev/udev-012.ebuild139
-rw-r--r--sys-fs/udev/udev-013-r1.ebuild136
-rw-r--r--sys-fs/udev/udev-013.ebuild136
-rw-r--r--sys-fs/udev/udev-015.ebuild147
-rw-r--r--sys-fs/udev/udev-016.ebuild143
14 files changed, 0 insertions, 885 deletions
diff --git a/sys-fs/udev/files/digest-udev-012 b/sys-fs/udev/files/digest-udev-012
deleted file mode 100644
index 5a8eaf9fa669..000000000000
--- a/sys-fs/udev/files/digest-udev-012
+++ /dev/null
@@ -1 +0,0 @@
-MD5 67868d5f8166b51cc63976b7f509f01f udev-012.tar.bz2 1047316
diff --git a/sys-fs/udev/files/digest-udev-013 b/sys-fs/udev/files/digest-udev-013
deleted file mode 100644
index fe0ccfac77ad..000000000000
--- a/sys-fs/udev/files/digest-udev-013
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ed4ab84d635f4e71bf42bc18a7a4124c udev-013.tar.bz2 1007366
diff --git a/sys-fs/udev/files/digest-udev-013-r1 b/sys-fs/udev/files/digest-udev-013-r1
deleted file mode 100644
index fe0ccfac77ad..000000000000
--- a/sys-fs/udev/files/digest-udev-013-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ed4ab84d635f4e71bf42bc18a7a4124c udev-013.tar.bz2 1007366
diff --git a/sys-fs/udev/files/digest-udev-015 b/sys-fs/udev/files/digest-udev-015
deleted file mode 100644
index 43d5af2b46de..000000000000
--- a/sys-fs/udev/files/digest-udev-015
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6abfb23d89284cca03c5c68e2ab8910a udev-015.tar.bz2 1148457
diff --git a/sys-fs/udev/files/digest-udev-016 b/sys-fs/udev/files/digest-udev-016
deleted file mode 100644
index 32af573daa78..000000000000
--- a/sys-fs/udev/files/digest-udev-016
+++ /dev/null
@@ -1 +0,0 @@
-MD5 5724a5b7b1756fc948402bf98173a04c udev-016.tar.bz2 1090264
diff --git a/sys-fs/udev/files/udev-011-no-wait-for-sleep.patch b/sys-fs/udev/files/udev-011-no-wait-for-sleep.patch
deleted file mode 100644
index 9d6c3c9ff162..000000000000
--- a/sys-fs/udev/files/udev-011-no-wait-for-sleep.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/namedev.c 2003-12-26 00:45:50.065844024 +0200
-+++ b/namedev.c 2003-12-26 00:47:14.761968256 +0200
-@@ -634,6 +634,7 @@
- struct sysfs_device *sysfs_device;
- struct sysfs_class_device *class_dev_parent;
- int loop;
-+ int wait = 1;
- char filename[SYSFS_PATH_MAX + 6];
- int retval;
- char *temp;
-@@ -668,6 +669,9 @@
- }
- strcat(filename, "/device");
-
-+ if (getenv("UDEV_NO_SLEEP") != NULL)
-+ wait = 0;
-+
- loop = 2;
- while (loop--) {
- struct stat buf;
-@@ -676,7 +680,8 @@
- if (!retval)
- break;
- /* sleep to give the kernel a chance to create the device file */
-- sleep(1);
-+ if (wait)
-+ sleep(1);
- }
-
- loop = 1; /* FIXME put a real value in here for when everything is fixed... */
-@@ -694,7 +699,8 @@
- * to wait for the device properly. Once the libsysfs code is
- * fixed properly, this sleep should go away, and we can just loop above.
- */
-- sleep(1);
-+ if (wait)
-+ sleep(1);
- dbg("really is a partition");
- class_dev_parent = sysfs_get_classdev_parent(class_dev);
- if (class_dev_parent == NULL) {
diff --git a/sys-fs/udev/files/udev-012-udev_c-gcc295-compat.patch b/sys-fs/udev/files/udev-012-udev_c-gcc295-compat.patch
deleted file mode 100644
index bd36747625b6..000000000000
--- a/sys-fs/udev/files/udev-012-udev_c-gcc295-compat.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- udev.c.orig 2004-01-04 02:50:40.000000000 -0500
-+++ udev.c 2004-01-04 02:50:47.000000000 -0500
-@@ -214,9 +214,9 @@
-
- int main(int argc, char **argv, char **envp)
- {
-+ int retval;
- main_argv = argv;
- main_envp = envp;
-- int retval;
-
- dbg("version %s", UDEV_VERSION);
-
diff --git a/sys-fs/udev/files/udev-015-logging-config-option.patch b/sys-fs/udev/files/udev-015-logging-config-option.patch
deleted file mode 100644
index d3ec2413efda..000000000000
--- a/sys-fs/udev/files/udev-015-logging-config-option.patch
+++ /dev/null
@@ -1,116 +0,0 @@
---- udev-015/Makefile 2004-01-29 20:03:55.920842712 +0200
-+++ udev-015.log_option/Makefile 2004-01-29 20:20:06.758252992 +0200
-@@ -232,6 +232,7 @@
- @echo \#define UDEV_CONFIG_FILE \"$(configdir)\udev.conf\" >> $@
- @echo \#define UDEV_RULES_FILE \"$(configdir)\udev.rules\" >> $@
- @echo \#define UDEV_PERMISSION_FILE \"$(configdir)\udev.permissions\" >> $@
-+ @echo \#define UDEV_LOG_DEFAULT \"yes\" >> $@
-
- # config files automatically generated
- GEN_CONFIGS = $(LOCAL_CFG_DIR)/udev.conf
-@@ -252,12 +253,12 @@
- $(LD) $(LDFLAGS) -o $@ $(CRT0) udevinfo.o logging.o udev_config.o udevdb.o $(SYSFS) $(TDB) $(LIB_OBJS) $(ARCH_LIB_OBJS)
- $(STRIPCMD) $@
-
--$(DAEMON): udevd.h udevd.o udevd.o logging.o
-- $(LD) $(LDFLAGS) -o $@ $(CRT0) udevd.o logging.o $(LIB_OBJS) $(ARCH_LIB_OBJS)
-+$(DAEMON): udevd.h udevd.o udevd.o udev_config.o logging.o $(SYSFS)
-+ $(LD) $(LDFLAGS) -o $@ $(CRT0) udevd.o udev_config.o logging.o $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
- $(STRIPCMD) $@
-
--$(SENDER): udevd.h udevsend.o udevd.o logging.o
-- $(LD) $(LDFLAGS) -o $@ $(CRT0) udevsend.o logging.o $(LIB_OBJS) $(ARCH_LIB_OBJS)
-+$(SENDER): udevd.h udevsend.o udevd.o udev_config.o logging.o $(SYSFS)
-+ $(LD) $(LDFLAGS) -o $@ $(CRT0) udevsend.o udev_config.o logging.o $(SYSFS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
- $(STRIPCMD) $@
-
- clean:
---- udev-015/etc/udev/udev.conf.in 2004-01-29 19:59:08.296568248 +0200
-+++ udev-015.log_option/etc/udev/udev.conf.in 2004-01-29 20:15:01.824609952 +0200
-@@ -29,3 +29,6 @@
- # explicit match in the permissions file
- default_group="root"
-
-+# udev_log - set to "yes" if you want logging, else "no"
-+udev_log="yes"
-+
---- udev-015/udev_config.c 2004-01-29 19:20:34.634298376 +0200
-+++ udev-015.log_option/udev_config.c 2004-01-29 20:22:49.771471216 +0200
-@@ -48,6 +48,7 @@ char udev_config_filename[PATH_MAX+NAME_
- char default_mode_str[MODE_SIZE];
- char default_owner_str[OWNER_SIZE];
- char default_group_str[GROUP_SIZE];
-+char udev_log_str[BOOL_SIZE];
-
-
- static void init_variables(void)
-@@ -60,6 +61,7 @@ static void init_variables(void)
- strfieldcpy(udev_config_filename, UDEV_CONFIG_FILE);
- strfieldcpy(udev_rules_filename, UDEV_RULES_FILE);
- strfieldcpy(udev_permissions_filename, UDEV_PERMISSION_FILE);
-+ strfieldcpy(udev_log_str, UDEV_LOG_DEFAULT);
- }
-
- #define set_var(_name, _var) \
-@@ -156,6 +158,7 @@ static int parse_config_file(void)
- set_var("default_mode", default_mode_str);
- set_var("default_owner", default_owner_str);
- set_var("default_group", default_group_str);
-+ set_var("udev_log", udev_log_str);
- }
- dbg_parse("%s:%d:%Zd: error parsing '%s'", udev_config_filename,
- lineno, temp - line, temp);
-@@ -191,6 +194,7 @@ static void get_dirs(void)
- dbg_parse("udev_db_filename = %s", udev_db_filename);
- dbg_parse("udev_rules_filename = %s", udev_rules_filename);
- dbg_parse("udev_permissions_filename = %s", udev_permissions_filename);
-+ dbg_parse("udev_log_str = %s", udev_log_str);
- parse_config_file();
-
- dbg_parse("udev_root = %s", udev_root);
-@@ -198,6 +202,7 @@ static void get_dirs(void)
- dbg_parse("udev_db_filename = %s", udev_db_filename);
- dbg_parse("udev_rules_filename = %s", udev_rules_filename);
- dbg_parse("udev_permissions_filename = %s", udev_permissions_filename);
-+ dbg_parse("udev_log_str = %s", udev_log_str);
- }
-
- void udev_init_config(void)
---- udev-015/logging.c 2004-01-29 19:20:40.673380296 +0200
-+++ udev-015.log_option/logging.c 2004-01-29 20:02:41.316184344 +0200
-@@ -26,6 +26,8 @@
- #include <unistd.h>
- #include <syslog.h>
-
-+#include "udev.h"
-+#include "udev_version.h"
- #include "logging.h"
-
-
-@@ -47,6 +48,9 @@ int log_message(int level, const char *f
- {
- va_list args;
-
-+ if (0 != strncmp(udev_log_str, UDEV_LOG_DEFAULT, BOOL_SIZE))
-+ return 0;
-+
- if (!logging_init)
- init_logging();
- va_start(args, format);
---- udev-015/udev.h 2004-01-29 20:00:40.473555216 +0200
-+++ udev-015.log_option/udev.h 2004-01-29 20:03:16.094897176 +0200
-@@ -32,6 +32,7 @@
- #define OWNER_SIZE 30
- #define GROUP_SIZE 30
- #define MODE_SIZE 8
-+#define BOOL_SIZE 5
-
- struct udevice {
- char name[NAME_SIZE];
-@@ -72,5 +73,6 @@ extern char udev_rules_filename[PATH_MAX
- extern char default_mode_str[MODE_SIZE];
- extern char default_owner_str[OWNER_SIZE];
- extern char default_group_str[GROUP_SIZE];
-+extern char udev_log_str[BOOL_SIZE];
-
- #endif
diff --git a/sys-fs/udev/files/udev-015-sysbus-missing-include.patch b/sys-fs/udev/files/udev-015-sysbus-missing-include.patch
deleted file mode 100644
index ec87353348b6..000000000000
--- a/sys-fs/udev/files/udev-015-sysbus-missing-include.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- udev-015/udev_dbus.c~ 2004-01-30 11:05:24.985407312 +0900
-+++ udev-015/udev_dbus.c 2004-01-30 11:05:05.443378152 +0900
-@@ -12,6 +12,7 @@
- #include "udev.h"
- #include "udev_version.h"
- #include "udev_dbus.h"
-+#include "logging.h"
-
-
- /** variable for the connection the to system message bus or #NULL
diff --git a/sys-fs/udev/udev-012.ebuild b/sys-fs/udev/udev-012.ebuild
deleted file mode 100644
index 48406b1987cc..000000000000
--- a/sys-fs/udev/udev-012.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-012.ebuild,v 1.2 2004/01/04 07:55:13 vapier Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-USE_EXT_LIBSYSFS="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-
-DEPEND="virtual/glibc
- >=sys-apps/hotplug-20030805-r1
- >=sys-fs/sysfsutils-0.3.0"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- # No need to clutter the logs ...
- sed -ie '/^DEBUG/ c\DEBUG = false' Makefile
- # Do not use optimization flags from the package
- sed -ie 's|$(OPTIMIZATION)||g' Makefile
-
- # Make sure there is no sudden changes to udev.rules.devfs
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.devfs"`" != \
- "a16769804b6038c7def00012c47b84c5 -" ]
- then
- echo
- eerror "udev.rules.devfs has been updated, please validate!"
- die "udev.rules.devfs has been updated, please validate!"
- fi
-
- # Make sure we do not build included libsysfs, but link to
- # one in sysfsutils ...
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- rm -rf ${S}/libsysfs
- cp -Rd ${ROOT}/usr/include/sysfs ${S}/libsysfs
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-
- # Do not sleep if UDEV_NO_SLEEP is set
- epatch ${FILESDIR}/${PN}-011-no-wait-for-sleep.patch
-
- # Fix gcc-2.95.3 compat
- epatch ${FILESDIR}/${P}-udev_c-gcc295-compat.patch
-}
-
-src_compile() {
- local myconf=
-
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- myconf="USE_DBUS=true"
- fi
-
- # Do not work with emake
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ARCH_LIB_OBJS="-lsysfs" \
- SYSFS="" \
- ${myconf} || die
- else
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ${myconf} || die
- fi
-}
-
-src_install() {
- into /
- dosbin udev
- dosbin extras/scsi_id/scsi_id
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
-
- insinto /etc/udev
- doins ${FILESDIR}/udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- doins ${FILESDIR}/udev.rules
- # Our own custom udev.permissions
- doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- insinto /etc/dbus-1/system.d
- doins etc/dbus-1/system.d/udev_sysbus_policy.conf
- fi
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udev /etc/hotplug.d/default/udev.hotplug
-
- doman udev.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs}
-}
-
-pkg_preinst() {
- if [ -f "${ROOT}/etc/udev/udev.config" -a \
- ! -f "${ROOT}/etc/udev/udev.rules" ]
- then
- mv -f ${ROOT}/etc/udev/udev.config ${ROOT}/etc/udev/udev.rules
- fi
-}
-
diff --git a/sys-fs/udev/udev-013-r1.ebuild b/sys-fs/udev/udev-013-r1.ebuild
deleted file mode 100644
index bcbd4f0cd5c2..000000000000
--- a/sys-fs/udev/udev-013-r1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-013-r1.ebuild,v 1.2 2004/01/22 06:34:32 vapier Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-USE_EXT_LIBSYSFS="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~hppa"
-
-DEPEND="virtual/glibc
- >=sys-apps/hotplug-20030805-r1
- >=sys-fs/sysfsutils-0.3.0"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- # No need to clutter the logs ...
- sed -ie '/^DEBUG/ c\DEBUG = false' Makefile
- # Do not use optimization flags from the package
- sed -ie 's|$(OPTIMIZATION)||g' Makefile
-
- # Make sure there is no sudden changes to udev.rules.devfs
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.devfs"`" != \
- "aca42692f862b0787212345f9dd8082c -" ]
- then
- echo
- eerror "udev.rules.devfs has been updated, please validate!"
- die "udev.rules.devfs has been updated, please validate!"
- fi
-
- # Make sure we do not build included libsysfs, but link to
- # one in sysfsutils ...
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- rm -rf ${S}/libsysfs
- cp -Rd ${ROOT}/usr/include/sysfs ${S}/libsysfs
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-
- # Do not sleep if UDEV_NO_SLEEP is set
- epatch ${FILESDIR}/${PN}-011-no-wait-for-sleep.patch
-}
-
-src_compile() {
- local myconf=
-
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- myconf="USE_DBUS=true"
- fi
-
- # Do not work with emake
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ARCH_LIB_OBJS="-lsysfs" \
- SYSFS="" \
- ${myconf} || die
- else
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ${myconf} || die
- fi
-}
-
-src_install() {
- into /
- dosbin udev
- dosbin extras/scsi_id/scsi_id
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
-
- insinto /etc/udev
- doins ${FILESDIR}/udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- newins ${FILESDIR}/udev.rules.post_012 udev.rules
- # Our own custom udev.permissions
- doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- insinto /etc/dbus-1/system.d
- doins etc/dbus-1/system.d/udev_sysbus_policy.conf
- fi
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udev /etc/hotplug.d/default/udev.hotplug
-
- doman udev.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs}
-}
-
-pkg_preinst() {
- if [ -f "${ROOT}/etc/udev/udev.config" -a \
- ! -f "${ROOT}/etc/udev/udev.rules" ]
- then
- mv -f ${ROOT}/etc/udev/udev.config ${ROOT}/etc/udev/udev.rules
- fi
-}
-
diff --git a/sys-fs/udev/udev-013.ebuild b/sys-fs/udev/udev-013.ebuild
deleted file mode 100644
index a702c91df31c..000000000000
--- a/sys-fs/udev/udev-013.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-013.ebuild,v 1.1 2004/01/16 16:30:06 azarah Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-USE_EXT_LIBSYSFS="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-
-DEPEND="virtual/glibc
- >=sys-apps/hotplug-20030805-r1
- >=sys-fs/sysfsutils-0.3.0"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- # No need to clutter the logs ...
- sed -ie '/^DEBUG/ c\DEBUG = false' Makefile
- # Do not use optimization flags from the package
- sed -ie 's|$(OPTIMIZATION)||g' Makefile
-
- # Make sure there is no sudden changes to udev.rules.devfs
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.devfs"`" != \
- "aca42692f862b0787212345f9dd8082c -" ]
- then
- echo
- eerror "udev.rules.devfs has been updated, please validate!"
- die "udev.rules.devfs has been updated, please validate!"
- fi
-
- # Make sure we do not build included libsysfs, but link to
- # one in sysfsutils ...
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- rm -rf ${S}/libsysfs
- cp -Rd ${ROOT}/usr/include/sysfs ${S}/libsysfs
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-
- # Do not sleep if UDEV_NO_SLEEP is set
- epatch ${FILESDIR}/${PN}-011-no-wait-for-sleep.patch
-}
-
-src_compile() {
- local myconf=
-
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- myconf="USE_DBUS=true"
- fi
-
- # Do not work with emake
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ARCH_LIB_OBJS="-lsysfs" \
- SYSFS="" \
- ${myconf} || die
- else
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ${myconf} || die
- fi
-}
-
-src_install() {
- into /
- dosbin udev
- dosbin extras/scsi_id/scsi_id
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
-
- insinto /etc/udev
- doins ${FILESDIR}/udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- newins ${FILESDIR}/udev.rules.post_012 udev.rules
- # Our own custom udev.permissions
- doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- insinto /etc/dbus-1/system.d
- doins etc/dbus-1/system.d/udev_sysbus_policy.conf
- fi
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udev /etc/hotplug.d/default/udev.hotplug
-
- doman udev.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs}
-}
-
-pkg_preinst() {
- if [ -f "${ROOT}/etc/udev/udev.config" -a \
- ! -f "${ROOT}/etc/udev/udev.rules" ]
- then
- mv -f ${ROOT}/etc/udev/udev.config ${ROOT}/etc/udev/udev.rules
- fi
-}
-
diff --git a/sys-fs/udev/udev-015.ebuild b/sys-fs/udev/udev-015.ebuild
deleted file mode 100644
index e50675b9919c..000000000000
--- a/sys-fs/udev/udev-015.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-015.ebuild,v 1.2 2004/01/30 11:09:27 vapier Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-USE_EXT_LIBSYSFS="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~hppa"
-
-DEPEND="virtual/glibc
- >=sys-apps/hotplug-20030805-r1
- >=sys-fs/sysfsutils-0.3.0"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- # No need to clutter the logs ...
- sed -ie '/^DEBUG/ c\DEBUG = false' Makefile
- # Do not use optimization flags from the package
- sed -ie 's|$(OPTIMIZATION)||g' Makefile
-
- # Make sure there is no sudden changes to udev.rules.devfs
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.devfs"`" != \
- "f3082e94beb6456f6693b893d4300c62 -" ]
- then
- echo
- eerror "udev.rules.devfs has been updated, please validate!"
- die "udev.rules.devfs has been updated, please validate!"
- fi
-
- # Make sure we do not build included libsysfs, but link to
- # one in sysfsutils ...
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- rm -rf ${S}/libsysfs
- cp -Rd ${ROOT}/usr/include/sysfs ${S}/libsysfs
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-
- # Do not sleep if UDEV_NO_SLEEP is set
- epatch ${FILESDIR}/${P}-no-wait-for-sleep.patch
-
- # Make logging a udev.conf option
- epatch ${FILESDIR}/${P}-logging-config-option.patch
-
- # Fix compilation #39792
- epatch ${FILESDIR}/${P}-sysbus-missing-include.patch
-}
-
-src_compile() {
- local myconf=
-
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- myconf="USE_DBUS=true"
- fi
-
- # Do not work with emake
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ARCH_LIB_OBJS="-lsysfs" \
- SYSFS="" \
- ${myconf} || die
- else
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ${myconf} || die
- fi
-}
-
-src_install() {
- dobin udevinfo
- into /
- dosbin udev
- # *** Note that we do not yet use or install udevd and udevsend, ***
- # *** as they seem to be still too buggy (udevsend do not even ***
- # *** start udevd over here ... ***
- #dosbin udevd udevsend
- dosbin extras/scsi_id/scsi_id
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
-
- insinto /etc/udev
- doins ${FILESDIR}/udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- newins ${FILESDIR}/udev.rules.post_012 udev.rules
- # Our own custom udev.permissions
- doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- insinto /etc/dbus-1/system.d
- doins etc/dbus-1/system.d/udev_sysbus_policy.conf
- fi
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udev /etc/hotplug.d/default/udev.hotplug
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs}
-}
-
-pkg_preinst() {
- if [ -f "${ROOT}/etc/udev/udev.config" -a \
- ! -f "${ROOT}/etc/udev/udev.rules" ]
- then
- mv -f ${ROOT}/etc/udev/udev.config ${ROOT}/etc/udev/udev.rules
- fi
-}
-
diff --git a/sys-fs/udev/udev-016.ebuild b/sys-fs/udev/udev-016.ebuild
deleted file mode 100644
index c1a3de83f478..000000000000
--- a/sys-fs/udev/udev-016.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-016.ebuild,v 1.3 2004/02/06 20:59:54 vapier Exp $
-
-# Note: Cannot use external libsysfs with klibc ..
-USE_KLIBC="no"
-USE_EXT_LIBSYSFS="no"
-
-inherit eutils
-
-DESCRIPTION="Linux dynamic device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ"
-SRC_URI="mirror://kernel/linux/utils/kernel/hotplug/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~hppa ~amd64"
-
-DEPEND="virtual/glibc
- >=sys-apps/hotplug-20030805-r1
- >=sys-fs/sysfsutils-0.3.0"
-
-RDEPEND="${DEPEND}
- >=sys-apps/baselayout-1.8.6.12-r3"
-# We need some changes for devfs type layout
-
-pkg_setup() {
- [ "${USE_KLIBC}" = "yes" ] && check_KV
-
- return 0
-}
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- # No need to clutter the logs ...
- sed -ie '/^DEBUG/ c\DEBUG = false' Makefile
- # Do not use optimization flags from the package
- sed -ie 's|$(OPTIMIZATION)||g' Makefile
-
- # Make sure there is no sudden changes to udev.rules.devfs
- # (more for my own needs than anything else ...)
- if [ "`md5sum < "${S}/etc/udev/udev.rules.devfs"`" != \
- "39311afa517b232c6a860371f009d2df -" ]
- then
- echo
- eerror "udev.rules.devfs has been updated, please validate!"
- die "udev.rules.devfs has been updated, please validate!"
- fi
-
- # Make sure we do not build included libsysfs, but link to
- # one in sysfsutils ...
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- rm -rf ${S}/libsysfs
- cp -Rd ${ROOT}/usr/include/sysfs ${S}/libsysfs
- fi
-
- # Setup things for klibc
- if [ "${USE_KLIBC}" = "yes" ]
- then
- ln -snf ${ROOT}/usr/src/linux ${S}/klibc/linux
- fi
-
- # Do not sleep if UDEV_NO_SLEEP is set
- epatch ${FILESDIR}/${PN}-015-no-wait-for-sleep.patch
-
- # Make logging a udev.conf option
- epatch ${FILESDIR}/${P}-logging-config-option.patch
-}
-
-src_compile() {
- local myconf=
-
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- myconf="USE_DBUS=true"
- fi
-
- # Do not work with emake
- if [ "${USE_EXT_LIBSYSFS}" = "yes" -a "${USE_KLIBC}" != "yes" ]
- then
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ARCH_LIB_OBJS="-lsysfs" \
- SYSFS="" \
- ${myconf} || die
- else
- make EXTRAS="extras/scsi_id" \
- udevdir="/dev/" \
- ${myconf} || die
- fi
-}
-
-src_install() {
- dobin udevinfo
- into /
- dosbin udev
- # *** Note that we do not yet use or install udevd and udevsend, ***
- # *** as they seem to be still too buggy (udevsend do not even ***
- # *** start udevd over here ... ***
-# dosbin udevd udevsend
- dosbin extras/scsi_id/scsi_id
-
- exeinto /etc/udev/scripts
- doexe extras/ide-devfs.sh
-
- insinto /etc/udev
- doins ${FILESDIR}/udev.conf
-# newins etc/udev/udev.rules udev.rules.example
- # For devfs style layout
- newins ${FILESDIR}/udev.rules.post_012 udev.rules
- # Our own custom udev.permissions
- doins ${FILESDIR}/udev.permissions
-# doins etc/udev/udev.permissions
- insinto /etc
- doins extras/scsi_id/scsi_id.config
- # DBUS support?
- if which pkg-config &>/dev/null && pkg-config dbus-1 &>/dev/null
- then
- insinto /etc/dbus-1/system.d
- doins etc/dbus-1/system.d/udev_sysbus_policy.conf
- fi
-
- dodir /etc/hotplug.d/default
- dosym ../../../sbin/udev /etc/hotplug.d/default/udev.hotplug
-
- doman *.8
- doman extras/scsi_id/scsi_id.8
-
- dodoc COPYING ChangeLog FAQ README TODO
- dodoc docs/{overview,udev-OLS2003.pdf,udev_vs_devfs}
-}
-
-pkg_preinst() {
- if [ -f "${ROOT}/etc/udev/udev.config" -a \
- ! -f "${ROOT}/etc/udev/udev.rules" ]
- then
- mv -f ${ROOT}/etc/udev/udev.config ${ROOT}/etc/udev/udev.rules
- fi
-}