# eudev/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: ocgitfetch --run \ --checkout=v3.2.14 \ https://github.com/eudev-project/eudev.git #--------------------------------------------------------------------- 2. This package requires: a. A group named "input" b. A late 3.X or above kernel c. Compile DEVTMPFS support into the kernel d. Disable kernel's *SYSFS_DEPRECATED* parameter(s) #--------------------------------------------------------------------- 3. "eudev" needs to be set up at an early stage during the system "boot" procedure. Therefore, this package doesn't use this distro's "setup.boot" mechanism (which runs towards the end of the "boot" pro- cedure). Instead, the "udev" boot-time setup procedure is handled by the system startup script "/etc/rc.boot". The file in question executes "/usr/ sbin/udevsetup" to set up "eudev". #--------------------------------------------------------------------- 4. This package creates a symlink "/etc/udev" that points to a direc- tory which contains (at least) the following items: hwdb.bin - Binary database file. hwdb.d - Subdirectory containing database-related text files. rules.d - Symlink to a "udev"-rules subdirectory. Note that other packages may add files to this subdirectory. udev.conf - Main "udev" configuration file. #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.37 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.01 hours (or 000.70 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.73 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.02 hours (or 001.22 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.03 hours (or 001.77 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] configure = none dontfind = udev forcepic = yes kill = sureterm udevd license = See "license*.txt" in installed tree licfile = COPYING master = glibc mstatic = no # static doesn't presently work nosyslinks = etc setpaths = eudev, util-linux #--------------------------------------------------------------------- [depends] coreutils findutils gperf libusb make pkgconf usbutils:forward util-linux:forward # For "blkid" #--------------------------------------------------------------------- [build] PP=$PKGDIR_PROD sed -e "s|SG_FLAG_LUN_INHIBIT|2|" \ -i src/cdrom_id/cdrom_id.c sed -r -i 's|/usr(/bin/test)|\1|' \ test/udev-test.pl cat > config.cache << "END" HAVE_BLKID=1 BLKID_LIBS="-lblkid" END if [ -f man/make.sh ]; then sed -e 's/XSLTPROC=.*/XSLTPROC=xsltproc/' \ -i man/make.sh fi MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE if [ -f ./autogen.sh ]; then ./autogen.sh fi mkdir -p $PP/{lib,include,bin,sbin,man,share} mkdir -p /run /{etc,lib}/modprobe.d /etc/rc.d /lib/firmware export CFLAGS="-fPIC" #--------------------------------------------------------------------- ./configure \ --prefix=$PP \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --disable-introspection \ --enable-hwdb \ --enable-shared=yes \ --enable-static=no \ --enable-manpages \ --mandir=$MANBASE \ --with-rootrundir=/run \ --sysconfdir=$PP/etc \ --bindir=$PP/sbin \ --enable-rule_generator \ --sbindir=$PP/sbin \ --with-rootprefix=/ #--------------------------------------------------------------------- RLDIR=$PP/etc/udev/rules.d rm -fr $LACSYSTREE/etc/udev* rm -fr /lib/udev* rm -fr $PP/etc/udev* rm -fr $RLDIR mkdir -p $RLDIR rm -fr $PP/rules.d mkdir -p $PP/ ln -nsf $RLDIR $PP/ rm -fr /etc/udev* mkdir -p /etc/udev/ ln -nsf $RLDIR /etc/udev/ rm -fr $PP/lib/udev* mkdir -p $PP/lib/udev/ ln -nsf $RLDIR $PP/lib/udev/ #--------------------------------------------------------------------- smpmake && smpmake install SPCDIR=$PKGDIR_SPECIAL cp -a $SPCDIR/udev.conf $PP/etc/udev/ cp -a $SPCDIR/rc.udev /etc/rc.d/ chmod 755 /etc/rc.d/rc.udev mkdir -p $PP/etc/udev/devices rm -fr /etc/udev mkdir -p $LACSYSTREE/etc ln -s $PP/etc/udev $LACSYSTREE/etc/ ln -s $PP/etc/udev /etc/ #--------------------------------------------------------------------- [postbuild] ldconfig $PKGDIR_PROD/sbin/udevadm hwdb --update cd $PKGDIR_PROD/lib/pkgconfig cp -p libudev.pc udev.pc #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = n/a url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 171002 Updated from 3.1.5 to 3.2.4 171105 Fixed FTBFS related to "gcc600" changes 171221 Updated to 3.2.5 190513 Updated to 3.2.7 190721 Updated to 3.2.8 210126 Updated to 3.2.9 210428 Updated to 3.2.10 240510 Updated to 9e7c4e744 (git hash) - Same as 3.2.14