# sudo/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "su" and "sudo" use different passwords; "su" needs the "root" password, and "sudo" needs the user's password. By default, both pro- grams use the same password prompt, which can be confusing. This dis- tro uses a "configure" switch to modify "sudo's" password prompt (see the "configure" block below). #--------------------------------------------------------------------- [buildtimes] 00.02 hours (or 001.05 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.02 hours (or 001.33 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.02 hours (or 001.43 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.03 hours (or 001.60 minutes) - ThinkPad X1 Carbon 6G i7 4x2 16GB RAM 00.03 hours (or 002.03 minutes) - HP EliteBook 8560w 32GB RAM 00.08 hours (or 004.82 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default license = See "license*.txt" in installed tree licfile = LICENSE.md tmpsize = 53M #--------------------------------------------------------------------- [depends] bison3 grep sed sendmail #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --mandir=$MANBASE \ --sysconfdir=$PKGDIR_PROD/etc \ --with-pam=no \ --with-env-editor \ --with-passprompt="Your password: " #--------------------------------------------------------------------- # Note: The "sudo.8"-related commands used here are needed to break a # hard link. If the hard link isn't broken, the "build" procedure # won't be able to "gzip" the linked files. [postbuild] DOCDIR=$PKGDIR_PROD/doc ETCDIR=$PKGDIR_PROD/etc mkdir -p $DOCDIR $ETCDIR sed -e 's|__META_PRODTREE__|$PRODTREE|g' \ -e 's|__META_LACUTIL__|$SYSDIR_LACUTIL|g' \ -e 's|__META_SYSUTIL__|$SYSDIR_SYSUTIL|g' \ < $PKGDIR_SPECIAL/sudoers.in \ > $ETCDIR/sudoers chmod 440 $ETCDIR/sudoers TMPFILE=sudo.8-temp cd $PKGDIR_PROD/man/man8 mv sudo.8 $TMPFILE cp -p $TMPFILE sudo.8 rm $TMPFILE #--------------------------------------------------------------------- [setup.boot] chown 0.0 $PKGDIR_PROD/etc/sudoers chmod 440 $PKGDIR_PROD/etc/sudoers chmod 4111 $PKGDIR_PROD/bin/sudo #--------------------------------------------------------------------- # 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 = http://packages.debian.org/unstable/source/sudo url_home = http://www.sudo.ws/sudo/ url_lfs = n/a url_tarball = http://www.sudo.ws/dist/sudo-1.9.15p5.tar.gz #--------------------------------------------------------------------- [history] 170512 Updated from 1.8.13 to 1.8.20 170827 Updated to 1.8.21 170910 Updated to 1.8.21p2 180116 Updated to 1.8.22 180430 Updated to 1.8.23 180629 Added some Alpine patches 180818 Updated to 1.8.24 180913 Updated to 1.8.25p1 181014 Updated to 1.8.26 190113 Updated to 1.8.27 210208 Updated to 1.8.31 210223 Updated to 1.9.5p2 210314 Updated to 1.9.6 210320 Updated to 1.9.6p1 210612 Updated to 1.9.7p1 210727 Updated to 1.9.7p2 210923 Updated to 1.9.8p2 220622 Updated to 1.9.11p2 (date approx.) 230215 Updated to 1.9.13 230218 Updated to 1.9.13p1 230301 Updated to 1.9.13p2 240510 Updated to 1.9.15p5