PN: dhcpcd
PV: 10.3.2
PR: r0
PKGV: 10.3.2
PKGR: r0@EXTENDPRAUTO@
LICENSE: BSD-2-Clause
DESCRIPTION: dhcpcd runs on your machine and silently configures your                computer to work on the attached networks without trouble                and mostly without configuration.
SUMMARY: dhcpcd - a DHCP client
RDEPENDS:dhcpcd: base-files base-passwd shadow udev glibc (>= 2.43+git0+e9517114ac) libcrypto (>= 3.5.6) libudev (>= 259.5)
SECTION: console/network
PKG:dhcpcd: dhcpcd
FILES:dhcpcd: /usr/bin/* /usr/sbin/* /usr/libexec/* /usr/lib64/lib*.so.*             /etc /com /var             /usr/bin/* /usr/sbin/*             /usr/lib64/*.so.*             /lib/udev /usr/lib/udev             /usr/lib64/udev /usr/lib64/udev             /usr/share/dhcpcd /usr/lib64/dhcpcd/*             /usr/share/pixmaps /usr/share/applications             /usr/share/idl /usr/share/omf /usr/share/sounds             /usr/lib64/bonobo/servers /usr/lib/systemd/system-preset/98-dhcpcd.preset /usr/lib/systemd/system/dhcpcd.service /usr/lib/systemd/system/dhcpcd@.service
FILES_INFO:dhcpcd: {"/etc/dhcpcd.conf": 1291, "/usr/lib/systemd/system-preset/98-dhcpcd.preset": 22, "/usr/lib/systemd/system/dhcpcd.service": 260, "/usr/lib/systemd/system/dhcpcd@.service": 333, "/usr/lib64/dhcpcd/dev/udev.so": 14296, "/usr/libexec/dhcpcd-hooks/01-test": 734, "/usr/libexec/dhcpcd-hooks/20-resolv.conf": 6651, "/usr/libexec/dhcpcd-hooks/30-hostname": 3764, "/usr/libexec/dhcpcd-run-hooks": 8202, "/usr/sbin/dhcpcd": 429464, "/usr/share/dhcpcd/hooks/10-wpa_supplicant": 2842, "/usr/share/dhcpcd/hooks/15-timezone": 885, "/usr/share/dhcpcd/hooks/29-lookup-hostname": 814}
pkg_postinst:dhcpcd: #!/bin/sh\nset -e\nif type systemctl >/dev/null 2>/dev/null; then\n\tOPTS=""\n\n\tif [ -n "$D" ]; then\n\t\tOPTS="--root=$D"\n\tfi\n\n\tif [ "enable" = "enable" ]; then\n\t\tfor service in dhcpcd.service; do\n\t\t\tsystemctl ${OPTS} enable "$service"\n\t\tdone\n\n\t\tfor service in ; do\n\t\t\tsystemctl --global ${OPTS} enable "$service"\n\t\tdone\n\tfi\n\n\tif [ -z "$D" ] && systemctl >/dev/null 2>/dev/null; then\n\t\t# Reload only system service manager\n\t\t# --global for daemon-reload is not supported: https://github.com/systemd/systemd/issues/19284\n\t\tsystemctl daemon-reload\n\t\t[ -n "dhcpcd.service" ] && \\\n\t\t\tsystemctl preset dhcpcd.service\n\n\t\t[ -n "" ] && \\\n\t\t\tsystemctl --global preset \n\n\t\tif [ "enable" = "enable" ]; then\n\t\t\t# --global flag for restart is not supported by systemd (see above)\n\t\t\t[ -n "dhcpcd.service" ] && \\\n\t\t\t\tsystemctl --no-block restart dhcpcd.service\n\t\tfi\n\tfi\nfi\n
pkg_preinst:dhcpcd: #!/bin/sh\nset -e\nbbnote () {\n\techo "NOTE: $*"\n}\nbbwarn () {\n\techo "WARNING: $*"\n}\nbbfatal () {\n\techo "ERROR: $*"\n\texit 1\n}\nperform_groupadd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "dhcpcd: Performing groupadd with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ print $NF }'`\n\tlocal group_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\tif test "x$group_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO groupadd \\$opts\\" || true\n\t\tgroup_exists="`grep "^$groupname:" $rootdir/etc/group || true`"\n\t\tif test "x$group_exists" = "x"; then\n\t\t\tbbfatal "dhcpcd: groupadd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "dhcpcd: group $groupname already exists, not re-creating it"\n\tfi\n}\nperform_useradd () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "dhcpcd: Performing useradd with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c  \\"$PSEUDO useradd \\$opts\\" || true\n\t\tuser_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\t\tif test "x$user_exists" = "x"; then\n\t\t\tbbfatal "dhcpcd: useradd command did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "dhcpcd: user $username already exists, not re-creating it"\n\tfi\n}\nperform_usermod () {\n\t# Same reason with groupmod, temporarily disable -e option\n\tset +e\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "dhcpcd: Performing usermod with [$opts]"\n\tlocal username=`echo "$opts" | awk '{ print $NF }'`\n\tlocal user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"\n\tif test "x$user_exists" != "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO usermod \\$opts\\"\n\t\tif test $? != 0; then\n\t\t\tbbfatal "dhcpcd: usermod command did not succeed."\n\t\tfi\n\telse\n\t\tbbwarn "dhcpcd: user $username doesn't exist, unable to modify it"\n\tfi\n\tset -e\n}\nperform_groupmems () {\n\tlocal rootdir="$1"\n\tlocal opts="$2"\n\tbbnote "dhcpcd: Performing groupmems with [$opts]"\n\tlocal groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'`\n\tlocal username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'`\n\tlocal prefix=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "--prefix") print $(i+1) }'`\n\tbbnote "dhcpcd: Emulating groupmems command using usermod with group $groupname and user $username"\n\tlocal mem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\tif test "x$mem_exists" = "x"; then\n\t\teval flock -x $rootdir/etc -c \\"$PSEUDO usermod \\${prefix:+--prefix \\$prefix} --append --groups \\$groupname \\$username\\" || true\n\t\tmem_exists="`grep "^$groupname:[^:]*:[^:]*:\\([^,]*,\\)*$username\\(,[^,]*\\)*$" $rootdir/etc/group || true`"\n\t\tif test "x$mem_exists" = "x"; then\n\t\t\tbbfatal "dhcpcd: groupmems command (emulated using usermod) did not succeed."\n\t\tfi\n\telse\n\t\tbbnote "dhcpcd: group $groupname already contains $username, not re-adding it"\n\tfi\n}\nOPT=""\nSYSROOT=""\n\nif test "x$D" != "x"; then\n\t# Installing into a sysroot\n\tSYSROOT="$D"\n\tOPT="--prefix $D"\n\n\t# Make sure login.defs is there, this is to make debian package backend work\n\t# correctly while doing rootfs.\n\t# The problem here is that if /etc/login.defs is treated as a config file for\n\t# shadow package, then while performing preinsts for packages that depend on\n\t# shadow, there might only be /etc/login.def.dpkg-new there in root filesystem.\n\tif [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then\n\t\tcp $D/etc/login.defs.dpkg-new $D/etc/login.defs\n\tfi\n\n\t# user/group lookups should match useradd/groupadd --prefix\n\texport PSEUDO_PASSWD="$SYSROOT"\nfi\n\n# If we're not doing a special SSTATE/SYSROOT install\n# then set the values, otherwise use the environment\nif test "x$UA_SYSROOT" = "x"; then\n\t# Installing onto a target\n\t# Add groups and users defined only for this package\n\tGROUPADD_PARAM=""\n\tUSERADD_PARAM="--system -d /var/lib/dhcpcd -M -s /bin/false -U dhcpcd"\n\tUSERMOD_PARAM=""\n\tGROUPMEMS_PARAM=""\nfi\n\n# Perform group additions first, since user additions may depend\n# on these groups existing\nif test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupadd commands..."\n\t# Invoke multiple instances of groupadd for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupadd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running useradd commands..."\n\t# Invoke multiple instances of useradd for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_useradd "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $USERMOD_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running usermod commands..."\n\t# Invoke multiple instances of usermod for parameter lists\n\t# separated by ';'\n\topts=`echo "$USERMOD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$USERMOD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_usermod "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n\nif test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then\n\techo "Running groupmems commands..."\n\t# Invoke multiple instances of groupmems for parameter lists\n\t# separated by ';'\n\topts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\tremaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\twhile test "x$opts" != "x"; do\n\t\tperform_groupmems "$SYSROOT" "$OPT $opts"\n\t\tif test "x$opts" = "x$remaining"; then\n\t\t\tbreak\n\t\tfi\n\t\topts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \\t]*$##'`\n\t\tremaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \\t]*$##'`\n\tdone\nfi\n
pkg_prerm:dhcpcd: #!/bin/sh\nset -e\nif type systemctl >/dev/null 2>/dev/null; then\n\tif [ -z "$D" ] && systemctl >/dev/null 2>/dev/null; then\n\t\tif [ -n "dhcpcd.service" ]; then\n\t\t\tsystemctl stop dhcpcd.service\n\t\t\tsystemctl disable dhcpcd.service\n\t\tfi\n\n\t\t# same as above, --global flag is not supported for stop so do disable only\n\t\tif [ -n "" ]; then\n\t\t\tsystemctl --global disable \n\t\tfi\n\tfi\nfi\n
FILERDEPENDSFLIST:dhcpcd: /usr/lib64/dhcpcd/dev/udev.so /usr/libexec/dhcpcd-run-hooks /usr/sbin/dhcpcd
FILERDEPENDS:/usr/lib64/dhcpcd/dev/udev.so:dhcpcd:  libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libudev.so.1(LIBUDEV_183)(64bit) libudev.so.1()(64bit) libc.so.6()(64bit) rtld(GNU_HASH)
FILERDEPENDS:/usr/libexec/dhcpcd-run-hooks:dhcpcd:  /bin/sh
FILERDEPENDS:/usr/sbin/dhcpcd:dhcpcd:  libcrypto.so.3(OPENSSL_3.0.0)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.26)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libcrypto.so.3()(64bit) libc.so.6()(64bit) rtld(GNU_HASH)
PKGSIZE:dhcpcd: 469558
