From 8acbce68af2b423ce92efd8ee4b5c042ac92278c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 3 Dec 2021 18:15:43 +0100 Subject: [PATCH 001/102] Start Core Update 163 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/163/core-files | 5 ++ config/rootfiles/core/163/exclude | 34 ++++++++ config/rootfiles/core/163/files | 0 config/rootfiles/core/163/update.sh | 87 +++++++++++++++++++ .../rootfiles/{core => oldcore}/162/exclude | 0 .../162/filelists/aarch64/linux | 0 .../162/filelists/aarch64/linux-initrd | 0 .../162/filelists/aarch64/rpi-firmware | 0 .../162/filelists/armv6l/linux | 0 .../162/filelists/armv6l/linux-initrd | 0 .../162/filelists/armv6l/rpi-firmware | 0 .../{core => oldcore}/162/filelists/bind | 0 .../162/filelists/core-files | 0 .../{core => oldcore}/162/filelists/coreutils | 0 .../{core => oldcore}/162/filelists/ddns | 0 .../{core => oldcore}/162/filelists/dhcpcd | 0 .../{core => oldcore}/162/filelists/files | 0 .../{core => oldcore}/162/filelists/gawk | 0 .../162/filelists/i586/linux | 0 .../162/filelists/i586/linux-initrd | 0 .../{core => oldcore}/162/filelists/i586/motd | 0 .../{core => oldcore}/162/filelists/jansson | 0 .../{core => oldcore}/162/filelists/knot | 0 .../{core => oldcore}/162/filelists/libffi | 0 .../{core => oldcore}/162/filelists/libhtp | 0 .../{core => oldcore}/162/filelists/libloc | 0 .../{core => oldcore}/162/filelists/libuv | 0 .../{core => oldcore}/162/filelists/libxcrypt | 0 .../{core => oldcore}/162/filelists/openssh | 0 .../{core => oldcore}/162/filelists/openvpn | 0 .../{core => oldcore}/162/filelists/slang | 0 .../{core => oldcore}/162/filelists/sshfs | 0 .../{core => oldcore}/162/filelists/suricata | 0 .../{core => oldcore}/162/filelists/unbound | 0 .../{core => oldcore}/162/filelists/whois | 0 .../162/filelists/x86_64/linux | 0 .../162/filelists/x86_64/linux-initrd | 0 .../162/filelists/xtables-addons | 0 .../rootfiles/{core => oldcore}/162/update.sh | 0 make.sh | 2 +- 40 files changed, 127 insertions(+), 1 deletion(-) create mode 100644 config/rootfiles/core/163/core-files create mode 100644 config/rootfiles/core/163/exclude create mode 100644 config/rootfiles/core/163/files create mode 100644 config/rootfiles/core/163/update.sh rename config/rootfiles/{core => oldcore}/162/exclude (100%) rename config/rootfiles/{core => oldcore}/162/filelists/aarch64/linux (100%) rename config/rootfiles/{core => oldcore}/162/filelists/aarch64/linux-initrd (100%) rename config/rootfiles/{core => oldcore}/162/filelists/aarch64/rpi-firmware (100%) rename config/rootfiles/{core => oldcore}/162/filelists/armv6l/linux (100%) rename config/rootfiles/{core => oldcore}/162/filelists/armv6l/linux-initrd (100%) rename config/rootfiles/{core => oldcore}/162/filelists/armv6l/rpi-firmware (100%) rename config/rootfiles/{core => oldcore}/162/filelists/bind (100%) rename config/rootfiles/{core => oldcore}/162/filelists/core-files (100%) rename config/rootfiles/{core => oldcore}/162/filelists/coreutils (100%) rename config/rootfiles/{core => oldcore}/162/filelists/ddns (100%) rename config/rootfiles/{core => oldcore}/162/filelists/dhcpcd (100%) rename config/rootfiles/{core => oldcore}/162/filelists/files (100%) rename config/rootfiles/{core => oldcore}/162/filelists/gawk (100%) rename config/rootfiles/{core => oldcore}/162/filelists/i586/linux (100%) rename config/rootfiles/{core => oldcore}/162/filelists/i586/linux-initrd (100%) rename config/rootfiles/{core => oldcore}/162/filelists/i586/motd (100%) rename config/rootfiles/{core => oldcore}/162/filelists/jansson (100%) rename config/rootfiles/{core => oldcore}/162/filelists/knot (100%) rename config/rootfiles/{core => oldcore}/162/filelists/libffi (100%) rename config/rootfiles/{core => oldcore}/162/filelists/libhtp (100%) rename config/rootfiles/{core => oldcore}/162/filelists/libloc (100%) rename config/rootfiles/{core => oldcore}/162/filelists/libuv (100%) rename config/rootfiles/{core => oldcore}/162/filelists/libxcrypt (100%) rename config/rootfiles/{core => oldcore}/162/filelists/openssh (100%) rename config/rootfiles/{core => oldcore}/162/filelists/openvpn (100%) rename config/rootfiles/{core => oldcore}/162/filelists/slang (100%) rename config/rootfiles/{core => oldcore}/162/filelists/sshfs (100%) rename config/rootfiles/{core => oldcore}/162/filelists/suricata (100%) rename config/rootfiles/{core => oldcore}/162/filelists/unbound (100%) rename config/rootfiles/{core => oldcore}/162/filelists/whois (100%) rename config/rootfiles/{core => oldcore}/162/filelists/x86_64/linux (100%) rename config/rootfiles/{core => oldcore}/162/filelists/x86_64/linux-initrd (100%) rename config/rootfiles/{core => oldcore}/162/filelists/xtables-addons (100%) rename config/rootfiles/{core => oldcore}/162/update.sh (100%) diff --git a/config/rootfiles/core/163/core-files b/config/rootfiles/core/163/core-files new file mode 100644 index 000000000..0dec37e53 --- /dev/null +++ b/config/rootfiles/core/163/core-files @@ -0,0 +1,5 @@ +etc/system-release +etc/issue +etc/os-release +srv/web/ipfire/cgi-bin/credits.cgi +var/ipfire/langs diff --git a/config/rootfiles/core/163/exclude b/config/rootfiles/core/163/exclude new file mode 100644 index 000000000..818039f4a --- /dev/null +++ b/config/rootfiles/core/163/exclude @@ -0,0 +1,34 @@ +boot/config.txt +boot/grub/grub.cfg +boot/grub/grubenv +etc/alternatives +etc/collectd.custom +etc/default/grub +etc/ipsec.conf +etc/ipsec.secrets +etc/ipsec.user.conf +etc/ipsec.user.secrets +etc/localtime +etc/shadow +etc/snort/snort.conf +etc/ssl/openssl.cnf +etc/sudoers +etc/sysconfig/firewall.local +etc/sysconfig/rc.local +etc/udev/rules.d/30-persistent-network.rules +srv/web/ipfire/html/proxy.pac +usr/share/xt_geoip +var/ipfire/dma +var/ipfire/time +var/ipfire/firewall/locationblock +var/ipfire/fwhosts/customlocationgrp +var/ipfire/ovpn +var/ipfire/urlfilter/blacklist +var/ipfire/urlfilter/settings +var/lib/alternatives +var/lib/location/database.db +var/log/cache +var/log/dhcpcd.log +var/log/messages +var/state/dhcp/dhcpd.leases +var/updatecache diff --git a/config/rootfiles/core/163/files b/config/rootfiles/core/163/files new file mode 100644 index 000000000..e69de29bb diff --git a/config/rootfiles/core/163/update.sh b/config/rootfiles/core/163/update.sh new file mode 100644 index 000000000..e51dbf0b3 --- /dev/null +++ b/config/rootfiles/core/163/update.sh @@ -0,0 +1,87 @@ +#!/bin/bash +############################################################################ +# # +# This file is part of the IPFire Firewall. # +# # +# IPFire is free software; you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation; either version 3 of the License, or # +# (at your option) any later version. # +# # +# IPFire is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with IPFire; if not, write to the Free Software # +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# # +# Copyright (C) 2021 IPFire-Team . # +# # +############################################################################ +# +. /opt/pakfire/lib/functions.sh +/usr/local/bin/backupctrl exclude >/dev/null 2>&1 + +core=163 + +exit_with_error() { + # Set last succesfull installed core. + echo $(($core-1)) > /opt/pakfire/db/core/mine + # force fsck at next boot, this may fix free space on xfs + touch /forcefsck + # don't start pakfire again at error + killall -KILL pak_update + /usr/bin/logger -p syslog.emerg -t ipfire \ + "core-update-${core}: $1" + exit $2 +} + +# Remove old core updates from pakfire cache to save space... +for (( i=1; i<=$core; i++ )); do + rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire +done + +# Check diskspace on root +ROOTSPACE=`df / -Pk | sed "s| * | |g" | cut -d" " -f4 | tail -n 1` + +if [ $ROOTSPACE -lt 100000 ]; then + exit_with_error "ERROR cannot update because not enough free space on root." 2 + exit 2 +fi + +# Remove files + +# Stop services + +# Extract files +extract_files + +# update linker config +ldconfig + +# Update Language cache +/usr/local/bin/update-lang-cache + +# Filesytem cleanup +/usr/local/bin/filesystem-cleanup + +# Start services + +# This update needs a reboot... +touch /var/run/need_reboot + +# Finish +/etc/init.d/fireinfo start +sendprofile + +# Update grub config to display new core version +if [ -e /boot/grub/grub.cfg ]; then + grub-mkconfig -o /boot/grub/grub.cfg +fi + +sync + +# Don't report the exitcode last command +exit 0 diff --git a/config/rootfiles/core/162/exclude b/config/rootfiles/oldcore/162/exclude similarity index 100% rename from config/rootfiles/core/162/exclude rename to config/rootfiles/oldcore/162/exclude diff --git a/config/rootfiles/core/162/filelists/aarch64/linux b/config/rootfiles/oldcore/162/filelists/aarch64/linux similarity index 100% rename from config/rootfiles/core/162/filelists/aarch64/linux rename to config/rootfiles/oldcore/162/filelists/aarch64/linux diff --git a/config/rootfiles/core/162/filelists/aarch64/linux-initrd b/config/rootfiles/oldcore/162/filelists/aarch64/linux-initrd similarity index 100% rename from config/rootfiles/core/162/filelists/aarch64/linux-initrd rename to config/rootfiles/oldcore/162/filelists/aarch64/linux-initrd diff --git a/config/rootfiles/core/162/filelists/aarch64/rpi-firmware b/config/rootfiles/oldcore/162/filelists/aarch64/rpi-firmware similarity index 100% rename from config/rootfiles/core/162/filelists/aarch64/rpi-firmware rename to config/rootfiles/oldcore/162/filelists/aarch64/rpi-firmware diff --git a/config/rootfiles/core/162/filelists/armv6l/linux b/config/rootfiles/oldcore/162/filelists/armv6l/linux similarity index 100% rename from config/rootfiles/core/162/filelists/armv6l/linux rename to config/rootfiles/oldcore/162/filelists/armv6l/linux diff --git a/config/rootfiles/core/162/filelists/armv6l/linux-initrd b/config/rootfiles/oldcore/162/filelists/armv6l/linux-initrd similarity index 100% rename from config/rootfiles/core/162/filelists/armv6l/linux-initrd rename to config/rootfiles/oldcore/162/filelists/armv6l/linux-initrd diff --git a/config/rootfiles/core/162/filelists/armv6l/rpi-firmware b/config/rootfiles/oldcore/162/filelists/armv6l/rpi-firmware similarity index 100% rename from config/rootfiles/core/162/filelists/armv6l/rpi-firmware rename to config/rootfiles/oldcore/162/filelists/armv6l/rpi-firmware diff --git a/config/rootfiles/core/162/filelists/bind b/config/rootfiles/oldcore/162/filelists/bind similarity index 100% rename from config/rootfiles/core/162/filelists/bind rename to config/rootfiles/oldcore/162/filelists/bind diff --git a/config/rootfiles/core/162/filelists/core-files b/config/rootfiles/oldcore/162/filelists/core-files similarity index 100% rename from config/rootfiles/core/162/filelists/core-files rename to config/rootfiles/oldcore/162/filelists/core-files diff --git a/config/rootfiles/core/162/filelists/coreutils b/config/rootfiles/oldcore/162/filelists/coreutils similarity index 100% rename from config/rootfiles/core/162/filelists/coreutils rename to config/rootfiles/oldcore/162/filelists/coreutils diff --git a/config/rootfiles/core/162/filelists/ddns b/config/rootfiles/oldcore/162/filelists/ddns similarity index 100% rename from config/rootfiles/core/162/filelists/ddns rename to config/rootfiles/oldcore/162/filelists/ddns diff --git a/config/rootfiles/core/162/filelists/dhcpcd b/config/rootfiles/oldcore/162/filelists/dhcpcd similarity index 100% rename from config/rootfiles/core/162/filelists/dhcpcd rename to config/rootfiles/oldcore/162/filelists/dhcpcd diff --git a/config/rootfiles/core/162/filelists/files b/config/rootfiles/oldcore/162/filelists/files similarity index 100% rename from config/rootfiles/core/162/filelists/files rename to config/rootfiles/oldcore/162/filelists/files diff --git a/config/rootfiles/core/162/filelists/gawk b/config/rootfiles/oldcore/162/filelists/gawk similarity index 100% rename from config/rootfiles/core/162/filelists/gawk rename to config/rootfiles/oldcore/162/filelists/gawk diff --git a/config/rootfiles/core/162/filelists/i586/linux b/config/rootfiles/oldcore/162/filelists/i586/linux similarity index 100% rename from config/rootfiles/core/162/filelists/i586/linux rename to config/rootfiles/oldcore/162/filelists/i586/linux diff --git a/config/rootfiles/core/162/filelists/i586/linux-initrd b/config/rootfiles/oldcore/162/filelists/i586/linux-initrd similarity index 100% rename from config/rootfiles/core/162/filelists/i586/linux-initrd rename to config/rootfiles/oldcore/162/filelists/i586/linux-initrd diff --git a/config/rootfiles/core/162/filelists/i586/motd b/config/rootfiles/oldcore/162/filelists/i586/motd similarity index 100% rename from config/rootfiles/core/162/filelists/i586/motd rename to config/rootfiles/oldcore/162/filelists/i586/motd diff --git a/config/rootfiles/core/162/filelists/jansson b/config/rootfiles/oldcore/162/filelists/jansson similarity index 100% rename from config/rootfiles/core/162/filelists/jansson rename to config/rootfiles/oldcore/162/filelists/jansson diff --git a/config/rootfiles/core/162/filelists/knot b/config/rootfiles/oldcore/162/filelists/knot similarity index 100% rename from config/rootfiles/core/162/filelists/knot rename to config/rootfiles/oldcore/162/filelists/knot diff --git a/config/rootfiles/core/162/filelists/libffi b/config/rootfiles/oldcore/162/filelists/libffi similarity index 100% rename from config/rootfiles/core/162/filelists/libffi rename to config/rootfiles/oldcore/162/filelists/libffi diff --git a/config/rootfiles/core/162/filelists/libhtp b/config/rootfiles/oldcore/162/filelists/libhtp similarity index 100% rename from config/rootfiles/core/162/filelists/libhtp rename to config/rootfiles/oldcore/162/filelists/libhtp diff --git a/config/rootfiles/core/162/filelists/libloc b/config/rootfiles/oldcore/162/filelists/libloc similarity index 100% rename from config/rootfiles/core/162/filelists/libloc rename to config/rootfiles/oldcore/162/filelists/libloc diff --git a/config/rootfiles/core/162/filelists/libuv b/config/rootfiles/oldcore/162/filelists/libuv similarity index 100% rename from config/rootfiles/core/162/filelists/libuv rename to config/rootfiles/oldcore/162/filelists/libuv diff --git a/config/rootfiles/core/162/filelists/libxcrypt b/config/rootfiles/oldcore/162/filelists/libxcrypt similarity index 100% rename from config/rootfiles/core/162/filelists/libxcrypt rename to config/rootfiles/oldcore/162/filelists/libxcrypt diff --git a/config/rootfiles/core/162/filelists/openssh b/config/rootfiles/oldcore/162/filelists/openssh similarity index 100% rename from config/rootfiles/core/162/filelists/openssh rename to config/rootfiles/oldcore/162/filelists/openssh diff --git a/config/rootfiles/core/162/filelists/openvpn b/config/rootfiles/oldcore/162/filelists/openvpn similarity index 100% rename from config/rootfiles/core/162/filelists/openvpn rename to config/rootfiles/oldcore/162/filelists/openvpn diff --git a/config/rootfiles/core/162/filelists/slang b/config/rootfiles/oldcore/162/filelists/slang similarity index 100% rename from config/rootfiles/core/162/filelists/slang rename to config/rootfiles/oldcore/162/filelists/slang diff --git a/config/rootfiles/core/162/filelists/sshfs b/config/rootfiles/oldcore/162/filelists/sshfs similarity index 100% rename from config/rootfiles/core/162/filelists/sshfs rename to config/rootfiles/oldcore/162/filelists/sshfs diff --git a/config/rootfiles/core/162/filelists/suricata b/config/rootfiles/oldcore/162/filelists/suricata similarity index 100% rename from config/rootfiles/core/162/filelists/suricata rename to config/rootfiles/oldcore/162/filelists/suricata diff --git a/config/rootfiles/core/162/filelists/unbound b/config/rootfiles/oldcore/162/filelists/unbound similarity index 100% rename from config/rootfiles/core/162/filelists/unbound rename to config/rootfiles/oldcore/162/filelists/unbound diff --git a/config/rootfiles/core/162/filelists/whois b/config/rootfiles/oldcore/162/filelists/whois similarity index 100% rename from config/rootfiles/core/162/filelists/whois rename to config/rootfiles/oldcore/162/filelists/whois diff --git a/config/rootfiles/core/162/filelists/x86_64/linux b/config/rootfiles/oldcore/162/filelists/x86_64/linux similarity index 100% rename from config/rootfiles/core/162/filelists/x86_64/linux rename to config/rootfiles/oldcore/162/filelists/x86_64/linux diff --git a/config/rootfiles/core/162/filelists/x86_64/linux-initrd b/config/rootfiles/oldcore/162/filelists/x86_64/linux-initrd similarity index 100% rename from config/rootfiles/core/162/filelists/x86_64/linux-initrd rename to config/rootfiles/oldcore/162/filelists/x86_64/linux-initrd diff --git a/config/rootfiles/core/162/filelists/xtables-addons b/config/rootfiles/oldcore/162/filelists/xtables-addons similarity index 100% rename from config/rootfiles/core/162/filelists/xtables-addons rename to config/rootfiles/oldcore/162/filelists/xtables-addons diff --git a/config/rootfiles/core/162/update.sh b/config/rootfiles/oldcore/162/update.sh similarity index 100% rename from config/rootfiles/core/162/update.sh rename to config/rootfiles/oldcore/162/update.sh diff --git a/make.sh b/make.sh index e6f948ba0..ee8c08f96 100755 --- a/make.sh +++ b/make.sh @@ -26,7 +26,7 @@ NAME="IPFire" # Software name SNAME="ipfire" # Short name # If you update the version don't forget to update backupiso and add it to core update VERSION="2.27" # Version number -CORE="162" # Core Level (Filename) +CORE="163" # Core Level (Filename) SLOGAN="www.ipfire.org" # Software slogan CONFIG_ROOT=/var/ipfire # Configuration rootdir MAX_RETRIES=1 # prefetch/check loop From 421466526d237cd3f559ad46a14e2fc37f5da423 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Sat, 27 Nov 2021 14:35:35 +0100 Subject: [PATCH 002/102] iproute2: Update to version 5.15.0 - Update from 5.14.0 to 5.15.0 - Update of rootfile - Changelog v5.15.0 Stephen Hemminger rdma: Fix SRQ resource tracking information json Neta Ostrovsky man: devlink-port: fix pfnum for devlink port add Antoine Tenart Merge branch 'managed-neighbor' into next David Ahern ip, neigh: Add NTF_EXT_MANAGED support Daniel Borkmann ip, neigh: Add missing NTF_USE support Daniel Borkmann ip, neigh: Fix up spacing in netlink dump Daniel Borkmann xfrm: enable to manage default policies Nicolas Dichtel Merge branch 'rdma-optional-stats' into next David Ahern uapi: pickup fix for xfrm ABI breakage Stephen Hemminger iplink: enable to specify index when changing netns Nicolas Dichtel Merge branch 'config-libdir' into next David Ahern configure: add the --libdir option Andrea Claudi configure: add the --prefix option Andrea Claudi configure: support --param=value style Andrea Claudi configure: simplify options parsing Andrea Claudi configure: fix parsing issue with more than one value per option Andrea Claudi configure: fix parsing issue on libbpf_dir option Andrea Claudi configure: fix parsing issue on include_dir option Andrea Claudi rdma: Add optional-counters set/unset support Neta Ostrovsky rdma: Add stat "mode" support Neta Ostrovsky rdma: Update uapi headers Neta Ostrovsky Update kernel headers David Ahern mptcp: cleanup include section. Stephen Hemminger lib/bpf: fix map-in-map creation without prepopulation Paul Chaignon man: devlink-port: remove extra .br Antoine Tenart man: devlink-port: fix style Antoine Tenart man: devlink-port: fix the devlink port add synopsis Antoine Tenart Merge branch 'main' into next David Ahern Merge branch 'ioam-encap-modes' into next David Ahern Update documentation Justin Iurman Add support for IOAM encap modes Justin Iurman cmd: use spaces instead of tabs for usage indentation Frank Villaro-Dixon ip: nexthop: keep cache netlink socket open Nikolay Aleksandrov devlink: print maximum number of snapshots if available Jacob Keller Update kernel headers David Ahern mptcp: unbreak JSON endpoint list Davide Caratti Merge branch 'nexthop-cache' into next David Ahern ip: nexthop: add print_cache_nexthop which prints and manages the nh cache Nikolay Aleksandrov ip: route: print and cache detailed nexthop information when requested Nikolay Aleksandrov ip: nexthop: add a helper which retrieves and prints cached nh entry Nikolay Aleksandrov ip: nexthop: add cache helpers Nikolay Aleksandrov ip: nexthop: factor out ipnh_get_id rtnl talk into a helper Nikolay Aleksandrov ip: nexthop: factor out print_nexthop's nh entry printing Nikolay Aleksandrov ip: nexthop: parse attributes into nh entry structure before printing Nikolay Aleksandrov ip: nexthop: add nh entry structure Nikolay Aleksandrov ip: nexthop: split print_nh_res_group into parse and print parts Nikolay Aleksandrov ip: nexthop: add resilient group structure Nikolay Aleksandrov ip: export print_rta_gateway version which outputs prepared gateway string Nikolay Aleksandrov ip: print_rta_if takes ifindex as device argument instead of attribute Nikolay Aleksandrov Merge branch 'ax.25-netrom-rose' into next David Ahern ROSE: Print decoded addresses rather than hex numbers. Ralf Baechle ROSE: Add rose_ntop implementation. Ralf Baechle NETROM: Print decoded addresses rather than hex numbers. Ralf Baechle NETROM: Add netrom_ntop implementation. Ralf Baechle AX.25: Print decoded addresses rather than hex numbers. Ralf Baechle AX.25: Add ax25_ntop implementation. Ralf Baechle lib: bpf_legacy: fix bpffs mount when /sys/fs/bpf exists Andrea Claudi tc/f_flower: fix port range parsing Puneet Sharma lib: bpf_legacy: add prog name, load time, uid and btf id in prog info dump Gokul Sivakumar Merge branch 'main' into next David Ahern uapi: updates from 5.-rc1 Stephen Hemminger ip: Support filter links/neighs with no master Lahav Schlesinger man: ip-macsec: fix gcm-aes-256 formatting issue Lennert Buytenhek Merge branch 'main' into next David Ahern Merge branch 'bridge-mcast_router' into next David Ahern bridge: vlan: add support for mcast_router option Nikolay Aleksandrov bridge: vlan: set vlan option attributes while parsing Nikolay Aleksandrov Update kernel headers David Ahern ip: rewrite routel in python Stephen Hemminger ip: remove routef script Stephen Hemminger ip: remove ifcfg script Stephen Hemminger ip: remove old rtpr script Stephen Hemminger iptuntap: fix multi-queue flag display David Marchand man: ip-link: remove double of Nikolay Aleksandrov configure: restore backward compatibility Luca Boccassi tree-wide: fix some typos found by Lintian Luca Boccassi ip: remove leftovers from IPX and DECnet Stephen Hemminger uapi: update headers from 5. merge Stephen Hemminger ip/bond: add lacp active support Hangbin Liu Update kernel headers David Ahern ip/tunnel: always print all known attributes Ilya Dmitrichenko ipioam6: use print_nl instead of print_null Justin Iurman tc/skbmod: Introduce SKBMOD_F_ECN option Peilin Ye IOAM man8 Justin Iurman New IOAM6 encap type for routes Justin Iurman Add, show, link, remove IOAM namespaces and schemas Justin Iurman Import ioam6 uapi headers David Ahern Update kernel headers David Ahern ipneigh: add support to print brief output of neigh cache in tabular format Gokul Sivakumar Merge branch 'bridge-vlan-global-mcast' into next David Ahern bridge: vlan: add support for dumping router ports Nikolay Aleksandrov bridge: vlan: add global mcast_querier option Nikolay Aleksandrov bridge: vlan: add global mcast_startup_query_interval option Nikolay Aleksandrov bridge: vlan: add global mcast_query_response_interval option Nikolay Aleksandrov bridge: vlan: add global mcast_query_interval option Nikolay Aleksandrov bridge: vlan: add global mcast_querier_interval option Nikolay Aleksandrov bridge: vlan: add global mcast_membership_interval option Nikolay Aleksandrov bridge: vlan: add global mcast_last_member_interval option Nikolay Aleksandrov bridge: vlan: add global mcast_startup_query_count option Nikolay Aleksandrov bridge: vlan: add global mcast_last_member_count option Nikolay Aleksandrov bridge: vlan: add global mcast_mld_version option Nikolay Aleksandrov bridge: vlan: add global mcast_igmp_version option Nikolay Aleksandrov bridge: vlan: add global mcast_snooping option Nikolay Aleksandrov bridge: vlan: add support to set global vlan options Nikolay Aleksandrov bridge: vlan: add support for vlan filtering when dumping options Nikolay Aleksandrov bridge: vlan: add support to show global vlan options Nikolay Aleksandrov bridge: vlan: skip unknown attributes when printing options Nikolay Aleksandrov bridge: vlan: factor out vlan option printing Nikolay Aleksandrov ip: bridge: add support for mcast_vlan_snooping Nikolay Aleksandrov Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- config/rootfiles/common/iproute2 | 1 + lfs/iproute2 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/common/iproute2 b/config/rootfiles/common/iproute2 index ce316e11e..ebef87ef7 100644 --- a/config/rootfiles/common/iproute2 +++ b/config/rootfiles/common/iproute2 @@ -71,6 +71,7 @@ usr/share/bash-completion/completions/tc #usr/share/man/man8/ip-addrlabel.8 #usr/share/man/man8/ip-fou.8 #usr/share/man/man8/ip-gue.8 +#usr/share/man/man8/ip-ioam.8 #usr/share/man/man8/ip-l2tp.8 #usr/share/man/man8/ip-link.8 #usr/share/man/man8/ip-macsec.8 diff --git a/lfs/iproute2 b/lfs/iproute2 index 2f20b0c99..acea611b1 100644 --- a/lfs/iproute2 +++ b/lfs/iproute2 @@ -24,7 +24,7 @@ include Config -VER = 5.14.0 +VER = 5.15.0 THISAPP = iproute2-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = da53966eb3b08ac264f3e9df02e06bfa +$(DL_FILE)_MD5 = 8a598a61c054a3ce538b47c40b010552 install : $(TARGET) From 6eab8096782f55292313149b240e9a3e4db38cca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 3 Dec 2021 18:18:30 +0100 Subject: [PATCH 003/102] Core Update 163: Ship iproute2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/163/filelists/iproute2 | 1 + 1 file changed, 1 insertion(+) create mode 120000 config/rootfiles/core/163/filelists/iproute2 diff --git a/config/rootfiles/core/163/filelists/iproute2 b/config/rootfiles/core/163/filelists/iproute2 new file mode 120000 index 000000000..05f0f71fb --- /dev/null +++ b/config/rootfiles/core/163/filelists/iproute2 @@ -0,0 +1 @@ +../../../common/iproute2 \ No newline at end of file From 3a74750fbfe9cf27ada5ddc7c0bf18b081a8c82b Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Sun, 28 Nov 2021 23:16:07 +0100 Subject: [PATCH 004/102] libgpg-error: Update to version 1.43 - Update from 1.42 to 1.43 - Update of rootfile - Changelog - full details can be found in the ChangeLog file in the source tarball Noteworthy changes in version 1.43 (2021-11-03) [C32/A32/R1] * Fix for building against GNU libc 2.34. [T5547] * Fix build problems on macOS. [T5440,T5610] * Fix gpgrt-config problems. [T5381,T5595] * Fix gpgrt_free for legacy platforms. [448bf7b01cad] * Fix truncation of error message in the middle of a character. [T5048] * Fix the --disable-threads configure options. [T5495] * Improve lock-obj generation for cross-builds [99ae862a96a5] * Improve cross-builds. [T5365] * Improve gpgrt_wait_processes. [T5381] * Allow config files to read values from the Windows Registry and from envvars. [b1790f4cc71f] * Update the Russian and Czech translations. Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- config/rootfiles/common/libgpg-error | 2 +- lfs/libgpg-error | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/libgpg-error b/config/rootfiles/common/libgpg-error index 4784c95ce..579be02fa 100644 --- a/config/rootfiles/common/libgpg-error +++ b/config/rootfiles/common/libgpg-error @@ -7,7 +7,7 @@ usr/bin/gpg-error #usr/lib/libgpg-error.la #usr/lib/libgpg-error.so usr/lib/libgpg-error.so.0 -usr/lib/libgpg-error.so.0.32.0 +usr/lib/libgpg-error.so.0.32.1 #usr/lib/pkgconfig/gpg-error.pc #usr/share/aclocal/gpg-error.m4 #usr/share/aclocal/gpgrt.m4 diff --git a/lfs/libgpg-error b/lfs/libgpg-error index a0c1e164c..852f2e6f8 100644 --- a/lfs/libgpg-error +++ b/lfs/libgpg-error @@ -24,7 +24,7 @@ include Config -VER = 1.42 +VER = 1.43 THISAPP = libgpg-error-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 133fed221ba8f63f5842858a1ff67cb3 +$(DL_FILE)_MD5 = f1e09cfa536a6e6a264dbf2ccdc2e534 install : $(TARGET) From e83cfbdb53595a76f4abf88fc16f7e23ac4196f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 3 Dec 2021 18:20:24 +0100 Subject: [PATCH 005/102] Core Update 163: Ship libgpg-error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/163/filelists/libgpg-error | 1 + 1 file changed, 1 insertion(+) create mode 120000 config/rootfiles/core/163/filelists/libgpg-error diff --git a/config/rootfiles/core/163/filelists/libgpg-error b/config/rootfiles/core/163/filelists/libgpg-error new file mode 120000 index 000000000..cad431339 --- /dev/null +++ b/config/rootfiles/core/163/filelists/libgpg-error @@ -0,0 +1 @@ +../../../common/libgpg-error \ No newline at end of file From 4a8c9aee7e759d788fdb94bc695b68391030f9b4 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Sat, 27 Nov 2021 14:35:15 +0100 Subject: [PATCH 006/102] ethtool: Update to version 5.15 - Update from 5.13 to 5.15 - Update of rootfile not required - Changelog Release version 5.15 Michal Kubecek update UAPI header copies Michal Kubecek netlink: settings: Correct duplicate condition Bastian Germann Merge branch 'review/module-fixes-2-v2' Michal Kubecek sff-8636: Remove extra blank lines Ido Schimmel sff-8636: Convert if statement to switch-case Ido Schimmel sff-8636: Fix incorrect function name Ido Schimmel sff-8636: Remove incorrect comment Ido Schimmel cmis: Correct comment Ido Schimmel cmis: Fix wrong define name Ido Schimmel cmis: Fix CLEI code parsing Ido Schimmel Merge branch 'review/module-fixes' into master Michal Kubecek netlink: eeprom: Fix compilation when pretty dump is disabled Ido Schimmel ethtool: Fix compilation warning when pretty dump is disabled Ido Schimmel netlink: eeprom: Fallback to IOCTL when a complete hex/raw dump is requested Ido Schimmel cmis: Fix invalid memory access in IOCTL path Ido Schimmel sff-8636: Fix parsing of Page 03h in IOCTL path Ido Schimmel Merge branch 'next' into master Michal Kubecek Release version 5.14 Michal Kubecek netlink: settings: add netlink support for coalesce cqe mode parameter Yufeng Mo pretty: update message descriptions for coalescing Michal Kubecek netlink: settings: add two link extended substates of bad signal integrity Guangbin Huang update UAPI header copies Michal Kubecek pretty: add message descriptions for PHC virtual clocks Michal Kubecek pretty: add message descriptions for FEC stats Michal Kubecek pretty: reorder to match enum values Michal Kubecek update UAPI header copies Michal Kubecek cmdline: skip dummy args entry in find_option() Michal Kubecek Merge branch 'review/nojson-fail' into master Michal Kubecek ethtool: return error if command does not support --json Jakub Kicinski ethtool: use dummy args[] entry for no-args case Jakub Kicinski ethtool: remove questionable goto Jakub Kicinski Remove trailing newline in perror messages Jules Maselbas Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- lfs/ethtool | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/ethtool b/lfs/ethtool index d7655d173..22126f4ab 100644 --- a/lfs/ethtool +++ b/lfs/ethtool @@ -24,7 +24,7 @@ include Config -VER = 5.13 +VER = 5.15 THISAPP = ethtool-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 940bd6c330b9ebafaf40b3b428e56754 +$(DL_FILE)_MD5 = 967f92926a453d3eb9bf41f73223f173 install : $(TARGET) From e1f9115d2502feabba24e3da4368b4c9b68100bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 3 Dec 2021 18:21:29 +0100 Subject: [PATCH 007/102] Core Update 163: Ship ethtool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/163/filelists/ethtool | 1 + 1 file changed, 1 insertion(+) create mode 120000 config/rootfiles/core/163/filelists/ethtool diff --git a/config/rootfiles/core/163/filelists/ethtool b/config/rootfiles/core/163/filelists/ethtool new file mode 120000 index 000000000..494a53e9d --- /dev/null +++ b/config/rootfiles/core/163/filelists/ethtool @@ -0,0 +1 @@ +../../../common/ethtool \ No newline at end of file From c8c179f413ea11a550acead18dc5a4a9afae8388 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Sat, 27 Nov 2021 14:34:50 +0100 Subject: [PATCH 008/102] elfutils: Update to version 0.186 - Update from 0.185 to 0.186 - Update of rootfile - find-dependencies with old libs did not report any issues - Changelog 2021-11-10 Mark Wielaard * configure.ac (AC_INIT): Set version to 0.186. * NEWS: Add translation item. 2021-09-03 John Mellor-Crummey * NEWS: Read inlining info in NVIDIA extended line map 2021-08-10 Adrian Ratiu * configure.ac (AC_CACHE_CHECK): Rework std=gnu99 check to allow clang. 2021-08-20 Saleem Abdulrasool * Add AC_CHECK_HEADERS for error.h and err.h. 2021-07-28 Mark Wielaard * configure.ac (AC_CHECK_DECLS): Add reallocarray check. Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- config/rootfiles/packages/elfutils | 7 ++++--- lfs/elfutils | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/config/rootfiles/packages/elfutils b/config/rootfiles/packages/elfutils index d5db41fc7..51b169279 100644 --- a/config/rootfiles/packages/elfutils +++ b/config/rootfiles/packages/elfutils @@ -27,15 +27,15 @@ usr/bin/eu-unstrip #usr/include/gelf.h #usr/include/libelf.h #usr/include/nlist.h -usr/lib/libasm-0.185.so +usr/lib/libasm-0.186.so #usr/lib/libasm.a #usr/lib/libasm.so usr/lib/libasm.so.1 -usr/lib/libdw-0.185.so +usr/lib/libdw-0.186.so #usr/lib/libdw.a #usr/lib/libdw.so usr/lib/libdw.so.1 -usr/lib/libelf-0.185.so +usr/lib/libelf-0.186.so #usr/lib/libelf.a #usr/lib/libelf.so usr/lib/libelf.so.1 @@ -54,3 +54,4 @@ usr/lib/libelf.so.1 #usr/share/man/man3/elf_clone.3 #usr/share/man/man3/elf_getdata.3 #usr/share/man/man3/elf_update.3 + diff --git a/lfs/elfutils b/lfs/elfutils index 6a6e9dabc..ccaffec1a 100644 --- a/lfs/elfutils +++ b/lfs/elfutils @@ -24,7 +24,7 @@ include Config -VER = 0.185 +VER = 0.186 THISAPP = elfutils-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = elfutils -PAK_VER = 6 +PAK_VER = 7 DEPS = @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 2b6e94c2eebc1f2194173e31bca9396e +$(DL_FILE)_MD5 = 2c095e31e35d6be7b3718477b6d52702 install : $(TARGET) From e8e2841b1d10d2f2f1cf3aeb12a694d29e6e157e Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Thu, 25 Nov 2021 19:16:23 +0100 Subject: [PATCH 009/102] curl: Update to version 7.80.0 - Update from 7.79.1 to 7.80.0 - Update of rootfile - Changelog is too long to include here. This update fixes 172 bugs the details of which can be found in the CHANGES file in the source tarball. Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- config/rootfiles/common/curl | 5 +++++ lfs/curl | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/common/curl b/config/rootfiles/common/curl index b29662977..75015b6fa 100644 --- a/config/rootfiles/common/curl +++ b/config/rootfiles/common/curl @@ -226,6 +226,7 @@ usr/lib/libcurl.so.4.7.0 #usr/share/man/man3/CURLOPT_MAXCONNECTS.3 #usr/share/man/man3/CURLOPT_MAXFILESIZE.3 #usr/share/man/man3/CURLOPT_MAXFILESIZE_LARGE.3 +#usr/share/man/man3/CURLOPT_MAXLIFETIME_CONN.3 #usr/share/man/man3/CURLOPT_MAXREDIRS.3 #usr/share/man/man3/CURLOPT_MAX_RECV_SPEED_LARGE.3 #usr/share/man/man3/CURLOPT_MAX_SEND_SPEED_LARGE.3 @@ -252,6 +253,8 @@ usr/lib/libcurl.so.4.7.0 #usr/share/man/man3/CURLOPT_POSTQUOTE.3 #usr/share/man/man3/CURLOPT_POSTREDIR.3 #usr/share/man/man3/CURLOPT_PREQUOTE.3 +#usr/share/man/man3/CURLOPT_PREREQDATA.3 +#usr/share/man/man3/CURLOPT_PREREQFUNCTION.3 #usr/share/man/man3/CURLOPT_PRE_PROXY.3 #usr/share/man/man3/CURLOPT_PRIVATE.3 #usr/share/man/man3/CURLOPT_PROGRESSDATA.3 @@ -324,6 +327,7 @@ usr/lib/libcurl.so.4.7.0 #usr/share/man/man3/CURLOPT_SSH_AUTH_TYPES.3 #usr/share/man/man3/CURLOPT_SSH_COMPRESSION.3 #usr/share/man/man3/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.3 +#usr/share/man/man3/CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256.3 #usr/share/man/man3/CURLOPT_SSH_KEYDATA.3 #usr/share/man/man3/CURLOPT_SSH_KEYFUNCTION.3 #usr/share/man/man3/CURLOPT_SSH_KNOWNHOSTS.3 @@ -465,6 +469,7 @@ usr/lib/libcurl.so.4.7.0 #usr/share/man/man3/curl_url_dup.3 #usr/share/man/man3/curl_url_get.3 #usr/share/man/man3/curl_url_set.3 +#usr/share/man/man3/curl_url_strerror.3 #usr/share/man/man3/curl_version.3 #usr/share/man/man3/curl_version_info.3 #usr/share/man/man3/libcurl-easy.3 diff --git a/lfs/curl b/lfs/curl index 70465bb35..abdd115ab 100644 --- a/lfs/curl +++ b/lfs/curl @@ -24,7 +24,7 @@ include Config -VER = 7.79.1 +VER = 7.80.0 THISAPP = curl-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 74d3c4ca8aaa6c0619806d6e246e65fb +$(DL_FILE)_MD5 = cf9f8553762150ef0ebcd5ee412737f5 install : $(TARGET) From 51f097a25fbc650fa2976cd28d6c3254ff18279c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 3 Dec 2021 18:23:00 +0100 Subject: [PATCH 010/102] Core Update 163: Ship curl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/163/filelists/curl | 1 + 1 file changed, 1 insertion(+) create mode 120000 config/rootfiles/core/163/filelists/curl diff --git a/config/rootfiles/core/163/filelists/curl b/config/rootfiles/core/163/filelists/curl new file mode 120000 index 000000000..4b84bef53 --- /dev/null +++ b/config/rootfiles/core/163/filelists/curl @@ -0,0 +1 @@ +../../../common/curl \ No newline at end of file From 66852447f164ee4ff72571462e44cded48bb3546 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Tue, 28 Sep 2021 23:20:57 +0200 Subject: [PATCH 011/102] shadow: Update to version 4.9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update from 4.2.1 (2015) to 4.9 (2021) - Update rootfile - Update patch for suppression of groups installation - Changelog * Release 4.9 2021-07-22 Serge Hallyn * Updated translations (Björn Esser, Juergen Hoetzel) * Major salt updates (Björn Esser) * Various coverity and cleanup fixes (Iker Pedrosa) * Consistently use 0 to disable PASS_MIN_DAYS in man (tzccinct) * Implement NSS support for subids and a libsubid (Serge Hallyn) * setfcap: retain setfcap when mapping uid 0 (Christian Brauner) * login.defs: include HMAC_CRYPTO_ALGO key (Iker Pedrosa) * selinux fixes (Christian Göttsche) * Fix path prefix path handling (Lucas Servén Marín) * Manpage updates (tzccinct, Sevan Janiyan, Iker Pedrosa, Geert Ijewski, 谭九鼎, Jamin W. Collins, towerpark, andydna, Frans Spiesschaert) * Treat an empty passwd field as invalid (Haelwenn Monnier) * newxidmap: allow running under alternative gid (Martijn de Gouw) * usermod: check that shell is executable (Geert Ijewski) * Add yescript support (Rodolphe Bréard) * useradd memleak fixes (whzhe) * useradd: use built-in settings by default (Ludwig Nussel) * getdefs: add foreign (non-shadow-utils) items (Karel Zak) * buffer overflow fixes (Tobias Stoeckmann) * Adding run-parts style for pre and post useradd/del (ed@s5h.net) 2020-01-23 Serge Hallyn * selinux: inclue stdio (Michael Vetter) * man: don't suggest making groupmems user-writeable (Michael Weiser) * Makefile: bail out on error in for loops (Wolfgang Bumiller) * Adding logging of SSH_ORIGINAL_COMMAND to nologin. (ed@s5h.net) * add new HOME_MODE login.defs option (Duncan Overbruck) * Add tty logging to useradd (ed@s5h.net) * Useradd: make non-executable shell check only a warning (Tomas Mraz) * Update Dutch translation (Frans-Spiesschaert) * user_busy: Do not mistake a regular user process for a namespaced one (Tomas Mraz) * Revert "Honor --sbindir and --bindir for binary installation" Patrick McLean) 2019-12-20 Dave Reisner * Do not auto-enable acct_tools_setuid just because pam is enabled. NOTE - any distros which are relying on this behavior will need to switch to configure --enable-account-tools-setuid * Release 4.8 2019-12-01 Serge Hallyn * Initial optional bcrypt support. * Make build/install of 'su' optional. * Fix for vipw not resuming correctly when suspended * Sync password field descriptions in manpages * Check for valid shell argument in useradd * Allow translation of new strings through POTFILES.in * Migrate to itstool for translations * Migrate to new SELinux api * Support --enable-vendordir * pwck: Only check homedir if set and not a system user * Support nonstandard usernames * sget{pw,gr}ent: check for data at EOL * Add YYY-MM-DD support in chage * Fix failing chmod calls for suidubins * Fix --sbindir and --bindir for binary installations * Fix LASTLOG_UID_MAX in login.defs * Fix configure error with dash * Release 4.7 2019-06-13 Serge Hallyn * Spawn: don't loop forever on ECHILD * Do not fail locking if there is a stale lockfile Tomas Mraz) * Use lckpwdf if prefix not set (Tomas Mraz) * Build: check correct DocBook version (Jan Tojnar) * Usermod: Print 'no changes' to stdout, not stderr (Serge Hallyn) * Add support for btrfs subvolumes for home (Adam Majer) * Fix chpasswd long line handling (Nathan Ruiz) * Use secure_getenv for gettime (Chris Lamb) * Make sp_lstchg reproducible (Chris Lamb) * Do not crash commonio_close if db file is not open (Tomas Mraz) * Don't flush nscd and sssd cache in read-only mode (Charlie Vuillemez) * French manpage update (Alban VIDAL) * Fix manpage defaults for SUB_UID/GID_COUNT (Tomas Mraz) * Sync po files from shadow.pot (Alban VIDAL) * Usermod: guard against unsafe chown of homedir contents (Tomas Mraz) * Add LASTLOG_UID_MAX to login.defs (Tomas Mraz) * new[ug]idmap file capabilities support (Giuseppe Scrivano and Christian Brauner) * Fix segfault in useradd (Tomas Mraz) * Coverity issues (Tomas Mraz) * Flush sssd caches (Jakub Hrozek) * Log UID in nologin (Vladimir Ivanov) * run pam_getenvlist after setup_env in su.c (Michael Vogt) * Support systems with only utmpx (A. Wilcox) * Fix unguarded ENABLE_SUBIDS code (Jan Chren (rindeal)) * Update po/zh_CN translation (Lion Yang) * Create parent dirs for useradd -m (Michael Vetter) * Prevent usermod segv * Fix usermod crash (fariouche) * Release 4.6 2018-04-29 Serge Hallyn * Newgrp: avoid unnecessary lookups * Make language less binary * Add error when turning off man switch * Spelling fixes * Make userdel work with -R * newgidmap: enforce setgroups=deny if self-mapping a group * Norwegian bokmål translation * pwck: prevent crash by not passing O_CREAT * WITH_TCB fixes from Mandriva * Fix pwconv and grpconv entry skips * Fix -- slurping in su * add --prefix option 2017-07-16 Serge Hallyn * Import new Dutch translations. 2017-07-10 Serge Hallyn * Expand error codes for groupmod. 2017-05-17 Serge Hallyn * Release 4.5 2017-05-17 Serge Hallyn * Patch from Tobias Stoeckmann fixing regression in previous CVE fix preventing SIGTERM to su from being propagated to the job. * Patch from Chris Lamb making sp_lstchg shadow field reproducible. * Merge Russian translation updates from Yuri Kozlov * Fix missing close of subuid file on error 2017-02-23 Serge Hallyn * Merge patch by Tobias Stoeckmann to fix the equivalent of util-linux CVE-2017-2616. 2017-02-08 Serge Hallyn * Update Kazakh translations * Consult configuration before calculating subuids * Remove misplaced semicolon 2017-01-29 Serge Hallyn * Patch from Fedora to improve performance with SSSD, Winbind, or nss_ldap. (Tomas Mraz) * Make sure knowndef_table is NULL-terminated. (Bernhard Rosenkränzer) 2016-12-21 Serge Hallyn * Drop leading underscore from _COMMONIO_H and _SHADOWIO_H * Fix readability in usermod error messages. * Reset user in tallylog * Add audit support to su * Changes since 4.4 2016-12-02 Serge Hallyn - Use sizeof rather than hardcoding snprintf args - Fix useradd improper default loading - Update Vietnamese translations - Update Polish translations - Remove non-POSIX chmod option in Makefile - Fix suidubins assignments - Fix --add-subuids etc spelling in manpages - Audit homedir ownership change. - Print error on selinux file context update failure - Keep original file perms when creating a backup * Changes since 4.2.1: 2016-12-02 Serge Hallyn - Documentation, error report and translations updates - Replace path_max with 32 - User namespace support fixes/updates including: - Correct sanity checks in newXidmap - Fix building without subuid support - Add /etc/subuid support for UID matching - Support subuid for nonlocal users - Default to 65536 subuid allocations - Respect -r - Check for range overflows - Add tests from svn tree - Use AC_CHECK_SIZEOF for uid_t size checks - Accomodate missing /etc and login.defs - Support FORCE_SHADOW - Be more robust in hostile environment - Allow removing a primary group - Clear passwords on __pw_dup errors - Memory leak fix in commonio_update and get_map_ranges - Fix resource leak in syslog_sg - Fix user busy error at userdel - Support set/clear lastlog record via lastlog command - Add --no-create-home as longopt for -M - Fix signal races - Reduce syslog priority of common usage events Signed-off-by: Adolf Belka --- config/rootfiles/common/shadow | 53 +-- lfs/shadow | 6 +- ....2.1-suppress_installation_of_groups.patch | 446 ------------------ ...-4.9-suppress_installation_of_groups.patch | 278 +++++++++++ 4 files changed, 287 insertions(+), 496 deletions(-) delete mode 100644 src/patches/shadow-4.2.1-suppress_installation_of_groups.patch create mode 100644 src/patches/shadow-4.9-suppress_installation_of_groups.patch diff --git a/config/rootfiles/common/shadow b/config/rootfiles/common/shadow index 0b0c83f57..c8159181a 100644 --- a/config/rootfiles/common/shadow +++ b/config/rootfiles/common/shadow @@ -2,14 +2,16 @@ bin/login bin/passwd bin/su #etc/.pwd.lock -#etc/default -#etc/default/useradd etc/limits etc/login.access etc/login.defs #etc/passwd- etc/shadow #etc/shadow- +#lib/libsubid.la +#lib/libsubid.so +lib/libsubid.so.3 +lib/libsubid.so.3.0.0 sbin/nologin #usr/bin/chage #usr/bin/chfn @@ -22,6 +24,8 @@ sbin/nologin #usr/bin/newgrp #usr/bin/newuidmap #usr/bin/sg +#usr/include/shadow +#usr/include/shadow/subid.h #usr/lib/libshadow.so #usr/sbin/chgpasswd usr/sbin/chpasswd @@ -42,48 +46,3 @@ usr/sbin/userdel usr/sbin/usermod #usr/sbin/vigr #usr/sbin/vipw -#usr/share/man/man1/chage.1 -#usr/share/man/man1/chfn.1 -#usr/share/man/man1/chsh.1 -#usr/share/man/man1/expiry.1 -#usr/share/man/man1/gpasswd.1 -#usr/share/man/man1/login.1 -#usr/share/man/man1/newgidmap.1 -#usr/share/man/man1/newgrp.1 -#usr/share/man/man1/newuidmap.1 -#usr/share/man/man1/passwd.1 -#usr/share/man/man1/sg.1 -#usr/share/man/man1/su.1 -#usr/share/man/man3/shadow.3 -#usr/share/man/man5/faillog.5 -#usr/share/man/man5/gshadow.5 -#usr/share/man/man5/limits.5 -#usr/share/man/man5/login.access.5 -#usr/share/man/man5/login.defs.5 -#usr/share/man/man5/porttime.5 -#usr/share/man/man5/shadow.5 -#usr/share/man/man5/suauth.5 -#usr/share/man/man5/subgid.5 -#usr/share/man/man5/subuid.5 -#usr/share/man/man8/chgpasswd.8 -#usr/share/man/man8/chpasswd.8 -#usr/share/man/man8/faillog.8 -#usr/share/man/man8/groupadd.8 -#usr/share/man/man8/groupdel.8 -#usr/share/man/man8/groupmems.8 -#usr/share/man/man8/groupmod.8 -#usr/share/man/man8/grpck.8 -#usr/share/man/man8/grpconv.8 -#usr/share/man/man8/grpunconv.8 -#usr/share/man/man8/lastlog.8 -#usr/share/man/man8/logoutd.8 -#usr/share/man/man8/newusers.8 -#usr/share/man/man8/nologin.8 -#usr/share/man/man8/pwck.8 -#usr/share/man/man8/pwconv.8 -#usr/share/man/man8/pwunconv.8 -#usr/share/man/man8/useradd.8 -#usr/share/man/man8/userdel.8 -#usr/share/man/man8/usermod.8 -#usr/share/man/man8/vigr.8 -#usr/share/man/man8/vipw.8 diff --git a/lfs/shadow b/lfs/shadow index a82de374a..19be0fdec 100644 --- a/lfs/shadow +++ b/lfs/shadow @@ -24,7 +24,7 @@ include Config -VER = 4.2.1 +VER = 4.9 THISAPP = shadow-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 2bfafe7d4962682d31b5eba65dba4fc8 +$(DL_FILE)_MD5 = 126924090caf72f3de7e9261fd4e10ac install : $(TARGET) @@ -70,7 +70,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/shadow-4.2.1-suppress_installation_of_groups.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/shadow-4.9-suppress_installation_of_groups.patch $(UPDATE_AUTOMAKE) cd $(DIR_APP) && ./configure \ --libdir=/lib \ diff --git a/src/patches/shadow-4.2.1-suppress_installation_of_groups.patch b/src/patches/shadow-4.2.1-suppress_installation_of_groups.patch deleted file mode 100644 index f9f09c4ec..000000000 --- a/src/patches/shadow-4.2.1-suppress_installation_of_groups.patch +++ /dev/null @@ -1,446 +0,0 @@ -diff -crB shadow-4.2.1-a/man/cs/Makefile.in shadow-4.2.1-b/man/cs/Makefile.in -*** shadow-4.2.1-a/man/cs/Makefile.in 2014-05-09 16:49:46.000000000 +0000 ---- shadow-4.2.1-b/man/cs/Makefile.in 2016-03-13 10:47:55.924166976 +0000 -*************** -*** 300,311 **** - man8/groupadd.8 \ - man8/groupdel.8 \ - man8/groupmod.8 \ -! man1/groups.1 \ - man8/grpck.8 \ - man5/gshadow.5 \ - man8/lastlog.8 \ - man8/nologin.8 \ -! man5/passwd.5 \ - man5/shadow.5 \ - man1/su.1 \ - man8/vipw.8 ---- 300,311 ---- - man8/groupadd.8 \ - man8/groupdel.8 \ - man8/groupmod.8 \ -! man1/ \ - man8/grpck.8 \ - man5/gshadow.5 \ - man8/lastlog.8 \ - man8/nologin.8 \ -! man5/ \ - man5/shadow.5 \ - man1/su.1 \ - man8/vipw.8 -diff -crB shadow-4.2.1-a/man/da/Makefile.in shadow-4.2.1-b/man/da/Makefile.in -*** shadow-4.2.1-a/man/da/Makefile.in 2014-05-09 16:49:46.000000000 +0000 ---- shadow-4.2.1-b/man/da/Makefile.in 2016-03-13 10:47:55.928166977 +0000 -*************** -*** 298,304 **** - top_srcdir = @top_srcdir@ - - # 2012.01.28 - activate manpages with more than 50% translated messages -! man_MANS = man1/chfn.1 man8/groupdel.8 man1/groups.1 man5/gshadow.5 \ - man8/logoutd.8 man1/newgrp.1 man8/nologin.8 man1/sg.1 \ - man8/vigr.8 man8/vipw.8 $(am__append_1) - man_nopam = ---- 298,304 ---- - top_srcdir = @top_srcdir@ - - # 2012.01.28 - activate manpages with more than 50% translated messages -! man_MANS = man1/chfn.1 man8/groupdel.8 man1/ man5/gshadow.5 \ - man8/logoutd.8 man1/newgrp.1 man8/nologin.8 man1/sg.1 \ - man8/vigr.8 man8/vipw.8 $(am__append_1) - man_nopam = -diff -crB shadow-4.2.1-a/man/de/Makefile.in shadow-4.2.1-b/man/de/Makefile.in -*** shadow-4.2.1-a/man/de/Makefile.in 2014-05-09 16:49:46.000000000 +0000 ---- shadow-4.2.1-b/man/de/Makefile.in 2016-03-13 10:47:55.916166976 +0000 -*************** -*** 299,309 **** - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ ---- 299,309 ---- - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ -diff -crB shadow-4.2.1-a/man/es/Makefile.in shadow-4.2.1-b/man/es/Makefile.in -*** shadow-4.2.1-a/man/es/Makefile.in 2014-05-09 16:49:46.000000000 +0000 ---- shadow-4.2.1-b/man/es/Makefile.in 2016-03-13 10:47:55.872166975 +0000 -*************** -*** 266,272 **** - # man1/login.1 \ - # man1/newgrp.1 \ - # man1/passwd.1 \ -! # man5/passwd.5 \ - # man1/su.1 \ - # man8/vigr.8 \ - # man8/vipw.8 ---- 266,272 ---- - # man1/login.1 \ - # man1/newgrp.1 \ - # man1/passwd.1 \ -! # man5/ \ - # man1/su.1 \ - # man8/vigr.8 \ - # man8/vipw.8 -diff -crB shadow-4.2.1-a/man/fr/Makefile.in shadow-4.2.1-b/man/fr/Makefile.in -*** shadow-4.2.1-a/man/fr/Makefile.in 2014-05-09 16:49:46.000000000 +0000 ---- shadow-4.2.1-b/man/fr/Makefile.in 2016-03-13 10:47:55.984166978 +0000 -*************** -*** 301,311 **** - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ ---- 301,311 ---- - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ -diff -crB shadow-4.2.1-a/man/hu/Makefile.in shadow-4.2.1-b/man/hu/Makefile.in -*** shadow-4.2.1-a/man/hu/Makefile.in 2014-05-09 16:49:46.000000000 +0000 ---- shadow-4.2.1-b/man/hu/Makefile.in 2016-03-13 10:47:55.972166978 +0000 -*************** -*** 295,306 **** - man_MANS = \ - man1/chsh.1 \ - man1/gpasswd.1 \ -! man1/groups.1 \ - man8/lastlog.8 \ - man1/login.1 \ - man1/newgrp.1 \ - man1/passwd.1 \ -! man5/passwd.5 \ - man1/sg.1 \ - man1/su.1 - ---- 295,306 ---- - man_MANS = \ - man1/chsh.1 \ - man1/gpasswd.1 \ -! man1/ \ - man8/lastlog.8 \ - man1/login.1 \ - man1/newgrp.1 \ - man1/passwd.1 \ -! man5/ \ - man1/sg.1 \ - man1/su.1 - -diff -crB shadow-4.2.1-a/man/it/Makefile.in shadow-4.2.1-b/man/it/Makefile.in -*** shadow-4.2.1-a/man/it/Makefile.in 2014-05-09 16:49:47.000000000 +0000 ---- shadow-4.2.1-b/man/it/Makefile.in 2016-03-13 10:47:55.896166976 +0000 -*************** -*** 299,309 **** - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ ---- 299,309 ---- - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ -diff -crB shadow-4.2.1-a/man/ja/Makefile.in shadow-4.2.1-b/man/ja/Makefile.in -*** shadow-4.2.1-a/man/ja/Makefile.in 2014-05-09 16:49:47.000000000 +0000 ---- shadow-4.2.1-b/man/ja/Makefile.in 2016-03-13 10:47:55.932166977 +0000 -*************** -*** 296,305 **** - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chpasswd.8 man1/chsh.1 \ - man1/expiry.1 man5/faillog.5 man8/faillog.8 man1/gpasswd.1 \ -! man8/groupadd.8 man8/groupdel.8 man8/groupmod.8 man1/groups.1 \ - man8/grpck.8 man8/grpconv.8 man8/grpunconv.8 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man1/passwd.1 man5/passwd.5 man8/pwck.8 \ - man8/pwconv.8 man8/pwunconv.8 man1/sg.1 man5/shadow.5 \ - man1/su.1 man5/suauth.5 man8/useradd.8 man8/userdel.8 \ - man8/usermod.8 man8/vigr.8 man8/vipw.8 $(am__append_1) ---- 296,305 ---- - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chpasswd.8 man1/chsh.1 \ - man1/expiry.1 man5/faillog.5 man8/faillog.8 man1/gpasswd.1 \ -! man8/groupadd.8 man8/groupdel.8 man8/groupmod.8 man1/ \ - man8/grpck.8 man8/grpconv.8 man8/grpunconv.8 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man1/passwd.1 man5/ man8/pwck.8 \ - man8/pwconv.8 man8/pwunconv.8 man1/sg.1 man5/shadow.5 \ - man1/su.1 man5/suauth.5 man8/useradd.8 man8/userdel.8 \ - man8/usermod.8 man8/vigr.8 man8/vipw.8 $(am__append_1) -diff -crB shadow-4.2.1-a/man/ko/Makefile.in shadow-4.2.1-b/man/ko/Makefile.in -*** shadow-4.2.1-a/man/ko/Makefile.in 2014-05-09 16:49:47.000000000 +0000 ---- shadow-4.2.1-b/man/ko/Makefile.in 2016-03-13 10:47:55.940166977 +0000 -*************** -*** 295,303 **** - man_MANS = \ - man1/chfn.1 \ - man1/chsh.1 \ -! man1/groups.1 \ - man1/login.1 \ -! man5/passwd.5 \ - man1/su.1 \ - man8/vigr.8 \ - man8/vipw.8 ---- 295,303 ---- - man_MANS = \ - man1/chfn.1 \ - man1/chsh.1 \ -! man1/ \ - man1/login.1 \ -! man5/ \ - man1/su.1 \ - man8/vigr.8 \ - man8/vipw.8 -diff -crB shadow-4.2.1-a/man/Makefile.in shadow-4.2.1-b/man/Makefile.in -*** shadow-4.2.1-a/man/Makefile.in 2014-05-09 16:49:46.000000000 +0000 ---- shadow-4.2.1-b/man/Makefile.in 2016-03-13 10:47:55.880166976 +0000 -*************** -*** 365,375 **** - @USE_NLS_TRUE@SUBDIRS = po cs da de es fi fr hu id it ja ko pl pt_BR ru sv tr zh_CN zh_TW - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ ---- 365,375 ---- - @USE_NLS_TRUE@SUBDIRS = po cs da de es fi fr hu id it ja ko pl pt_BR ru sv tr zh_CN zh_TW - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ -diff -crB shadow-4.2.1-a/man/pl/Makefile.in shadow-4.2.1-b/man/pl/Makefile.in -*** shadow-4.2.1-a/man/pl/Makefile.in 2014-05-09 16:49:47.000000000 +0000 ---- shadow-4.2.1-b/man/pl/Makefile.in 2016-03-13 10:47:55.912166976 +0000 -*************** -*** 300,307 **** - - # 2012.01.28 - activate manpages with more than 50% translated messages - man_MANS = man1/chage.1 man1/chsh.1 man1/expiry.1 man5/faillog.5 \ -! man8/faillog.8 man3/getspnam.3 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ - man8/lastlog.8 man8/logoutd.8 man1/newgrp.1 man1/sg.1 \ - man3/shadow.3 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ - man8/vipw.8 $(am__append_1) ---- 300,307 ---- - - # 2012.01.28 - activate manpages with more than 50% translated messages - man_MANS = man1/chage.1 man1/chsh.1 man1/expiry.1 man5/faillog.5 \ -! man8/faillog.8 man3/ man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ - man8/lastlog.8 man8/logoutd.8 man1/newgrp.1 man1/sg.1 \ - man3/shadow.3 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ - man8/vipw.8 $(am__append_1) -diff -crB shadow-4.2.1-a/man/pt_BR/Makefile.in shadow-4.2.1-b/man/pt_BR/Makefile.in -*** shadow-4.2.1-a/man/pt_BR/Makefile.in 2014-05-09 16:49:47.000000000 +0000 ---- shadow-4.2.1-b/man/pt_BR/Makefile.in 2016-03-13 10:47:55.904166976 +0000 -*************** -*** 297,303 **** - man8/groupadd.8 \ - man8/groupdel.8 \ - man8/groupmod.8 \ -! man5/passwd.5 \ - man5/shadow.5 - - EXTRA_DIST = $(man_MANS) ---- 297,303 ---- - man8/groupadd.8 \ - man8/groupdel.8 \ - man8/groupmod.8 \ -! man5/ \ - man5/shadow.5 - - EXTRA_DIST = $(man_MANS) -diff -crB shadow-4.2.1-a/man/ru/Makefile.in shadow-4.2.1-b/man/ru/Makefile.in -*** shadow-4.2.1-a/man/ru/Makefile.in 2014-05-09 16:49:47.000000000 +0000 ---- shadow-4.2.1-b/man/ru/Makefile.in 2016-03-13 10:47:55.944166977 +0000 -*************** -*** 299,309 **** - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ ---- 299,309 ---- - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ -diff -crB shadow-4.2.1-a/man/sv/Makefile.in shadow-4.2.1-b/man/sv/Makefile.in -*** shadow-4.2.1-a/man/sv/Makefile.in 2014-05-09 16:49:47.000000000 +0000 ---- shadow-4.2.1-b/man/sv/Makefile.in 2016-03-13 10:47:55.988166978 +0000 -*************** -*** 300,309 **** - - # 2012.01.28 - activate manpages with more than 50% translated messages - man_MANS = man1/chage.1 man1/chsh.1 man1/expiry.1 man5/faillog.5 \ -! man8/faillog.8 man3/getspnam.3 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ - man5/gshadow.5 man8/lastlog.8 man8/logoutd.8 man1/newgrp.1 \ -! man8/nologin.8 man1/passwd.1 man5/passwd.5 man8/pwck.8 \ - man1/sg.1 man3/shadow.3 man5/suauth.5 man8/userdel.8 \ - man8/vigr.8 man8/vipw.8 $(am__append_1) - man_nopam = \ ---- 300,309 ---- - - # 2012.01.28 - activate manpages with more than 50% translated messages - man_MANS = man1/chage.1 man1/chsh.1 man1/expiry.1 man5/faillog.5 \ -! man8/faillog.8 man3/ man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ - man5/gshadow.5 man8/lastlog.8 man8/logoutd.8 man1/newgrp.1 \ -! man8/nologin.8 man1/passwd.1 man5/ man8/pwck.8 \ - man1/sg.1 man3/shadow.3 man5/suauth.5 man8/userdel.8 \ - man8/vigr.8 man8/vipw.8 $(am__append_1) - man_nopam = \ -diff -crB shadow-4.2.1-a/man/tr/Makefile.in shadow-4.2.1-b/man/tr/Makefile.in -*** shadow-4.2.1-a/man/tr/Makefile.in 2014-05-09 16:49:47.000000000 +0000 ---- shadow-4.2.1-b/man/tr/Makefile.in 2016-03-13 10:47:55.964166977 +0000 -*************** -*** 300,306 **** - man8/groupmod.8 \ - man1/login.1 \ - man1/passwd.1 \ -! man5/passwd.5 \ - man5/shadow.5 \ - man1/su.1 \ - man8/useradd.8 \ ---- 300,306 ---- - man8/groupmod.8 \ - man1/login.1 \ - man1/passwd.1 \ -! man5/ \ - man5/shadow.5 \ - man1/su.1 \ - man8/useradd.8 \ -diff -crB shadow-4.2.1-a/man/zh_CN/Makefile.in shadow-4.2.1-b/man/zh_CN/Makefile.in -*** shadow-4.2.1-a/man/zh_CN/Makefile.in 2014-05-09 16:49:47.000000000 +0000 ---- shadow-4.2.1-b/man/zh_CN/Makefile.in 2016-03-13 10:47:55.952166977 +0000 -*************** -*** 299,309 **** - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ ---- 299,309 ---- - top_srcdir = @top_srcdir@ - man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ - man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ -! man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ -! man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ - man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ - man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ -! man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ - man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ - man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ - man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ -diff -crB shadow-4.2.1-a/man/zh_TW/Makefile.in shadow-4.2.1-b/man/zh_TW/Makefile.in -*** shadow-4.2.1-a/man/zh_TW/Makefile.in 2014-05-09 16:49:48.000000000 +0000 ---- shadow-4.2.1-b/man/zh_TW/Makefile.in 2016-03-13 10:47:55.956166977 +0000 -*************** -*** 302,308 **** - man8/groupadd.8 \ - man8/groupdel.8 \ - man8/groupmod.8 \ -! man5/passwd.5 \ - man1/su.1 \ - man8/useradd.8 \ - man8/userdel.8 \ ---- 302,308 ---- - man8/groupadd.8 \ - man8/groupdel.8 \ - man8/groupmod.8 \ -! man5/ \ - man1/su.1 \ - man8/useradd.8 \ - man8/userdel.8 \ -diff -crB shadow-4.2.1-a/src/Makefile.in shadow-4.2.1-b/src/Makefile.in -*** shadow-4.2.1-a/src/Makefile.in 2014-05-09 16:49:48.000000000 +0000 ---- shadow-4.2.1-b/src/Makefile.in 2016-03-13 10:47:38.824166600 +0000 -*************** -*** 78,84 **** - POST_UNINSTALL = : - build_triplet = @build@ - host_triplet = @host@ -! bin_PROGRAMS = groups$(EXEEXT) login$(EXEEXT) su$(EXEEXT) - sbin_PROGRAMS = nologin$(EXEEXT) - ubin_PROGRAMS = faillog$(EXEEXT) lastlog$(EXEEXT) chage$(EXEEXT) \ - chfn$(EXEEXT) chsh$(EXEEXT) expiry$(EXEEXT) gpasswd$(EXEEXT) \ ---- 78,84 ---- - POST_UNINSTALL = : - build_triplet = @build@ - host_triplet = @host@ -! bin_PROGRAMS = login$(EXEEXT) su$(EXEEXT) - sbin_PROGRAMS = nologin$(EXEEXT) - ubin_PROGRAMS = faillog$(EXEEXT) lastlog$(EXEEXT) chage$(EXEEXT) \ - chfn$(EXEEXT) chsh$(EXEEXT) expiry$(EXEEXT) gpasswd$(EXEEXT) \ diff --git a/src/patches/shadow-4.9-suppress_installation_of_groups.patch b/src/patches/shadow-4.9-suppress_installation_of_groups.patch new file mode 100644 index 000000000..0484ef2d5 --- /dev/null +++ b/src/patches/shadow-4.9-suppress_installation_of_groups.patch @@ -0,0 +1,278 @@ +diff -Naur shadow-4.9-orig/man/cs/Makefile.in shadow-4.9/man/cs/Makefile.in +--- shadow-4.9-orig/man/cs/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/cs/Makefile.in 2021-09-28 10:02:20.088234227 +0200 +@@ -326,12 +326,12 @@ + man8/groupadd.8 \ + man8/groupdel.8 \ + man8/groupmod.8 \ +- man1/groups.1 \ ++ man1/ \ + man8/grpck.8 \ + man5/gshadow.5 \ + man8/lastlog.8 \ + man8/nologin.8 \ +- man5/passwd.5 \ ++ man5/ \ + man5/shadow.5 \ + man1/su.1 \ + man8/vipw.8 +diff -Naur shadow-4.9-orig/man/da/Makefile.in shadow-4.9/man/da/Makefile.in +--- shadow-4.9-orig/man/da/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/da/Makefile.in 2021-09-28 10:03:35.455124215 +0200 +@@ -323,7 +323,7 @@ + top_srcdir = @top_srcdir@ + + # 2012.01.28 - activate manpages with more than 50% translated messages +-man_MANS = man1/chfn.1 man8/groupdel.8 man1/groups.1 man5/gshadow.5 \ ++man_MANS = man1/chfn.1 man8/groupdel.8 man1/ man5/gshadow.5 \ + man8/logoutd.8 man1/newgrp.1 man8/nologin.8 man1/sg.1 \ + man8/vigr.8 man8/vipw.8 $(am__append_1) + man_nopam = +diff -Naur shadow-4.9-orig/man/de/Makefile.in shadow-4.9/man/de/Makefile.in +--- shadow-4.9-orig/man/de/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/de/Makefile.in 2021-09-28 10:06:00.828982852 +0200 +@@ -324,11 +324,11 @@ + top_srcdir = @top_srcdir@ + man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ + man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ +- man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ +- man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ ++ man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ ++ man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ + man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ + man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ +- man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ ++ man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ + man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ + man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ + man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ +diff -Naur shadow-4.9-orig/man/es/Makefile.in shadow-4.9/man/es/Makefile.in +--- shadow-4.9-orig/man/es/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/es/Makefile.in 2021-09-28 10:06:40.528417341 +0200 +@@ -292,7 +292,7 @@ + # man1/login.1 \ + # man1/newgrp.1 \ + # man1/passwd.1 \ +-# man5/passwd.5 \ ++# man5/ \ + # man1/su.1 \ + # man8/vigr.8 \ + # man8/vipw.8 +diff -Naur shadow-4.9-orig/man/fr/Makefile.in shadow-4.9/man/fr/Makefile.in +--- shadow-4.9-orig/man/fr/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/fr/Makefile.in 2021-09-28 12:11:23.391355328 +0200 +@@ -326,11 +326,11 @@ + top_srcdir = @top_srcdir@ + man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ + man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ +- man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ +- man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ ++ man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ ++ man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ + man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ + man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ +- man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ ++ man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ + man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ + man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ + man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ +diff -Naur shadow-4.9-orig/man/hu/Makefile.in shadow-4.9/man/hu/Makefile.in +--- shadow-4.9-orig/man/hu/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/hu/Makefile.in 2021-09-28 12:12:10.834664816 +0200 +@@ -321,12 +321,12 @@ + man_MANS = \ + man1/chsh.1 \ + man1/gpasswd.1 \ +- man1/groups.1 \ ++ man1/ \ + man8/lastlog.8 \ + man1/login.1 \ + man1/newgrp.1 \ + man1/passwd.1 \ +- man5/passwd.5 \ ++ man5/ \ + man1/sg.1 \ + man1/su.1 + +diff -Naur shadow-4.9-orig/man/it/Makefile.in shadow-4.9/man/it/Makefile.in +--- shadow-4.9-orig/man/it/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/it/Makefile.in 2021-09-28 12:13:14.321740885 +0200 +@@ -324,11 +324,11 @@ + top_srcdir = @top_srcdir@ + man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ + man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ +- man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ +- man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ ++ man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ ++ man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ + man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ + man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ +- man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ ++ man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ + man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ + man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ + man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ +diff -Naur shadow-4.9-orig/man/ja/Makefile.in shadow-4.9/man/ja/Makefile.in +--- shadow-4.9-orig/man/ja/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/ja/Makefile.in 2021-09-28 12:14:06.920974945 +0200 +@@ -322,10 +322,10 @@ + top_srcdir = @top_srcdir@ + man_MANS = man1/chage.1 man1/chfn.1 man8/chpasswd.8 man1/chsh.1 \ + man1/expiry.1 man5/faillog.5 man8/faillog.8 man1/gpasswd.1 \ +- man8/groupadd.8 man8/groupdel.8 man8/groupmod.8 man1/groups.1 \ ++ man8/groupadd.8 man8/groupdel.8 man8/groupmod.8 man1/ \ + man8/grpck.8 man8/grpconv.8 man8/grpunconv.8 man8/lastlog.8 \ + man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ +- man8/newusers.8 man1/passwd.1 man5/passwd.5 man8/pwck.8 \ ++ man8/newusers.8 man1/passwd.1 man5/ man8/pwck.8 \ + man8/pwconv.8 man8/pwunconv.8 man1/sg.1 man5/shadow.5 \ + man1/su.1 man5/suauth.5 man8/useradd.8 man8/userdel.8 \ + man8/usermod.8 man8/vigr.8 man8/vipw.8 $(am__append_1) +diff -Naur shadow-4.9-orig/man/ko/Makefile.in shadow-4.9/man/ko/Makefile.in +--- shadow-4.9-orig/man/ko/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/ko/Makefile.in 2021-09-28 12:14:40.432487050 +0200 +@@ -321,9 +321,9 @@ + man_MANS = \ + man1/chfn.1 \ + man1/chsh.1 \ +- man1/groups.1 \ ++ man1/ \ + man1/login.1 \ +- man5/passwd.5 \ ++ man5/ \ + man1/su.1 \ + man8/vigr.8 \ + man8/vipw.8 +diff -Naur shadow-4.9-orig/man/Makefile.in shadow-4.9/man/Makefile.in +--- shadow-4.9-orig/man/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/Makefile.in 2021-09-28 12:15:46.395526512 +0200 +@@ -392,11 +392,11 @@ + @USE_NLS_TRUE@SUBDIRS = po cs da de es fi fr hu id it ja ko pl pt_BR ru sv tr zh_CN zh_TW + man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ + man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ +- man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ +- man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ ++ man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ ++ man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ + man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ + man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ +- man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ ++ man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ + man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ + man3/shadow.3 man5/shadow.5 man5/suauth.5 man8/useradd.8 \ + man8/userdel.8 man8/usermod.8 man8/vigr.8 man8/vipw.8 \ +diff -Naur shadow-4.9-orig/man/pl/Makefile.in shadow-4.9/man/pl/Makefile.in +--- shadow-4.9-orig/man/pl/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/pl/Makefile.in 2021-09-28 12:16:46.974644527 +0200 +@@ -325,8 +325,8 @@ + + # 2012.01.28 - activate manpages with more than 50% translated messages + man_MANS = man1/chage.1 man1/chsh.1 man1/expiry.1 man5/faillog.5 \ +- man8/faillog.8 man3/getspnam.3 man8/groupadd.8 man8/groupdel.8 \ +- man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ ++ man8/faillog.8 man3/ man8/groupadd.8 man8/groupdel.8 \ ++ man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ + man8/lastlog.8 man8/logoutd.8 man1/newgrp.1 man1/sg.1 \ + man3/shadow.3 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ + man8/vipw.8 $(am__append_1) +diff -Naur shadow-4.9-orig/man/pt_BR/Makefile.in shadow-4.9/man/pt_BR/Makefile.in +--- shadow-4.9-orig/man/pt_BR/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/pt_BR/Makefile.in 2021-09-28 12:17:15.610227402 +0200 +@@ -323,7 +323,7 @@ + man8/groupadd.8 \ + man8/groupdel.8 \ + man8/groupmod.8 \ +- man5/passwd.5 \ ++ man5/ \ + man5/shadow.5 + + EXTRA_DIST = $(man_MANS) +diff -Naur shadow-4.9-orig/man/ru/Makefile.in shadow-4.9/man/ru/Makefile.in +--- shadow-4.9-orig/man/ru/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/ru/Makefile.in 2021-09-28 12:18:14.697366956 +0200 +@@ -324,11 +324,11 @@ + top_srcdir = @top_srcdir@ + man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ + man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ +- man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ +- man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ ++ man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ ++ man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ + man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ + man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ +- man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ ++ man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ + man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ + man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ + man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ +diff -Naur shadow-4.9-orig/man/sv/Makefile.in shadow-4.9/man/sv/Makefile.in +--- shadow-4.9-orig/man/sv/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/sv/Makefile.in 2021-09-28 12:19:19.328425616 +0200 +@@ -325,10 +325,10 @@ + + # 2012.01.28 - activate manpages with more than 50% translated messages + man_MANS = man1/chage.1 man1/chsh.1 man1/expiry.1 man5/faillog.5 \ +- man8/faillog.8 man3/getspnam.3 man8/groupadd.8 man8/groupdel.8 \ +- man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ ++ man8/faillog.8 man3/ man8/groupadd.8 man8/groupdel.8 \ ++ man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ + man5/gshadow.5 man8/lastlog.8 man8/logoutd.8 man1/newgrp.1 \ +- man8/nologin.8 man1/passwd.1 man5/passwd.5 man8/pwck.8 \ ++ man8/nologin.8 man1/passwd.1 man5/ man8/pwck.8 \ + man1/sg.1 man3/shadow.3 man5/suauth.5 man8/userdel.8 \ + man8/vigr.8 man8/vipw.8 $(am__append_1) + man_nopam = \ +diff -Naur shadow-4.9-orig/man/tr/Makefile.in shadow-4.9/man/tr/Makefile.in +--- shadow-4.9-orig/man/tr/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/tr/Makefile.in 2021-09-28 12:19:52.315944994 +0200 +@@ -326,7 +326,7 @@ + man8/groupmod.8 \ + man1/login.1 \ + man1/passwd.1 \ +- man5/passwd.5 \ ++ man5/ \ + man5/shadow.5 \ + man1/su.1 \ + man8/useradd.8 \ +diff -Naur shadow-4.9-orig/man/zh_CN/Makefile.in shadow-4.9/man/zh_CN/Makefile.in +--- shadow-4.9-orig/man/zh_CN/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/zh_CN/Makefile.in 2021-09-28 12:20:58.358982917 +0200 +@@ -324,11 +324,11 @@ + top_srcdir = @top_srcdir@ + man_MANS = man1/chage.1 man1/chfn.1 man8/chgpasswd.8 man8/chpasswd.8 \ + man1/chsh.1 man1/expiry.1 man5/faillog.5 man8/faillog.8 \ +- man3/getspnam.3 man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ +- man8/groupmems.8 man8/groupmod.8 man1/groups.1 man8/grpck.8 \ ++ man3/ man1/gpasswd.1 man8/groupadd.8 man8/groupdel.8 \ ++ man8/groupmems.8 man8/groupmod.8 man1/ man8/grpck.8 \ + man8/grpconv.8 man8/grpunconv.8 man5/gshadow.5 man8/lastlog.8 \ + man1/login.1 man5/login.defs.5 man8/logoutd.8 man1/newgrp.1 \ +- man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/passwd.5 \ ++ man8/newusers.8 man8/nologin.8 man1/passwd.1 man5/ \ + man8/pwck.8 man8/pwconv.8 man8/pwunconv.8 man1/sg.1 \ + man3/shadow.3 man5/shadow.5 man1/su.1 man5/suauth.5 \ + man8/useradd.8 man8/userdel.8 man8/usermod.8 man8/vigr.8 \ +diff -Naur shadow-4.9-orig/man/zh_TW/Makefile.in shadow-4.9/man/zh_TW/Makefile.in +--- shadow-4.9-orig/man/zh_TW/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/man/zh_TW/Makefile.in 2021-09-28 12:21:26.770569070 +0200 +@@ -328,7 +328,7 @@ + man8/groupadd.8 \ + man8/groupdel.8 \ + man8/groupmod.8 \ +- man5/passwd.5 \ ++ man5/ \ + man1/su.1 \ + man8/useradd.8 \ + man8/userdel.8 \ +diff -Naur shadow-4.9-orig/src/Makefile.in shadow-4.9/src/Makefile.in +--- shadow-4.9-orig/src/Makefile.in 2021-07-22 23:56:58.000000000 +0200 ++++ shadow-4.9/src/Makefile.in 2021-09-28 12:25:18.743217348 +0200 +@@ -88,7 +88,7 @@ + POST_UNINSTALL = : + build_triplet = @build@ + host_triplet = @host@ +-bin_PROGRAMS = groups$(EXEEXT) login$(EXEEXT) $(am__EXEEXT_1) ++bin_PROGRAMS = login$(EXEEXT) $(am__EXEEXT_1) + sbin_PROGRAMS = nologin$(EXEEXT) + ubin_PROGRAMS = faillog$(EXEEXT) lastlog$(EXEEXT) chage$(EXEEXT) \ + chfn$(EXEEXT) chsh$(EXEEXT) expiry$(EXEEXT) gpasswd$(EXEEXT) \ From c7d455a0db1918f5f525d8c8475e4f02edcc22b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 3 Dec 2021 18:24:48 +0100 Subject: [PATCH 012/102] Core Update 163: Ship shadow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/163/filelists/shadow | 1 + 1 file changed, 1 insertion(+) create mode 120000 config/rootfiles/core/163/filelists/shadow diff --git a/config/rootfiles/core/163/filelists/shadow b/config/rootfiles/core/163/filelists/shadow new file mode 120000 index 000000000..c0824b7b9 --- /dev/null +++ b/config/rootfiles/core/163/filelists/shadow @@ -0,0 +1 @@ +../../../common/shadow \ No newline at end of file From 43a53bc13b952b14738103cad90455bb2ea99655 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Mon, 27 Sep 2021 17:34:18 +0200 Subject: [PATCH 013/102] pam: Update to version 1.5.2 - Update from 1.5.1 to 1.5.2 - Update rootfile - Changelog Release 1.5.2 * pam_exec: implemented quiet_log option. * pam_mkhomedir: added support of HOME_MODE and UMASK from /etc/login.defs. * pam_timestamp: changed hmac algorithm to call openssl instead of the bundled sha1 implementation if selected, added option to select the hash algorithm to use with HMAC. * Added pkgconfig files for provided libraries. * Added --with-systemdunitdir configure option to specify systemd unit directory. * Added --with-misc-conv-bufsize configure option to specify the buffer size in libpam_misc's misc_conv() function, raised the default value for this parameter from 512 to 4096. * Multiple minor bug fixes, portability fixes, documentation improvements, and translation updates. Signed-off-by: Adolf Belka --- config/rootfiles/common/pam | 3 +++ lfs/pam | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/common/pam b/config/rootfiles/common/pam index e487e3fe2..88e155f77 100644 --- a/config/rootfiles/common/pam +++ b/config/rootfiles/common/pam @@ -126,6 +126,9 @@ usr/lib/libpam_misc.so.0.82.1 #usr/lib/libpamc.so usr/lib/libpamc.so.0 usr/lib/libpamc.so.0.82.1 +#usr/lib/pkgconfig/pam.pc +#usr/lib/pkgconfig/pam_misc.pc +#usr/lib/pkgconfig/pamc.pc #usr/lib/systemd #usr/lib/systemd/system #usr/lib/systemd/system/pam_namespace.service diff --git a/lfs/pam b/lfs/pam index 463ee71da..d90cfb928 100644 --- a/lfs/pam +++ b/lfs/pam @@ -24,7 +24,7 @@ include Config -VER = 1.5.1 +VER = 1.5.2 THISAPP = Linux-PAM-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 155f2a31d07077b2c63a1f135876c31b +$(DL_FILE)_MD5 = 895e8adfa14af334f679bbeb28503f66 install : $(TARGET) From aacf021ef915b72f7e39572414bef4a237ded923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 3 Dec 2021 18:25:56 +0100 Subject: [PATCH 014/102] Core Update 163: Ship pam MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/163/filelists/pam | 1 + 1 file changed, 1 insertion(+) create mode 120000 config/rootfiles/core/163/filelists/pam diff --git a/config/rootfiles/core/163/filelists/pam b/config/rootfiles/core/163/filelists/pam new file mode 120000 index 000000000..660a1d80e --- /dev/null +++ b/config/rootfiles/core/163/filelists/pam @@ -0,0 +1 @@ +../../../common/pam \ No newline at end of file From bb84e517aca7d6d2e3ed7ac7f152a8bacf447c5e Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Thu, 25 Nov 2021 19:17:40 +0100 Subject: [PATCH 015/102] xfsprogs: Update to version 5.14.0 - Update from 5.12.0 to 5.14.0 - Update of rootfile not required - Build of xfsprogs now requires liburcu to be built. Added as separate commit. - Changelog xfsprogs-5.14.0 (19 Nov 2021) - debian: Fix FTBFS (Boian Bonev) - debian: Pass --build and --host to configure (Bastian Germann) - debian: Update Uploaders list (Bastian Germann) xfsprogs-5.14.0-rc1 (12 Nov 2021) - xfsprogs: introduce liburcu support (Dave Chinner) - xfsprogs: convert atomic to uatomic (Dave Chinner) - xfsprogs: convert utilities to use "fallthrough;" (Darrick J. Wong) - libxfs: port xfs_set_inode_alloc from kernel (Darrick J. Wong) - mkfs: warn about V4 deprecation (Darrick J. Wong) - xfs_db: convert agresv to use for_each_perag (Darrick J. Wong) xfsprogs-5.13.0 (20 Aug 2021) - No further changes xfsprogs-5.13.0-rc1 (02 Aug 2021) - mkfs: validate rtextsz hint when rtinherit is set (Darrick J. Wong) - xfs_repair: invalidate dirhash when junking dirent (Darrick J. Wong) - xfs_repair: validate inherited rtextsz hint alignmt (Darrick J. Wong) - xfs_quota: allow truncate of grp & prj quota files (Darrick J. Wong) - xfs_io: allow callers to dump fs stats individually (Darrick J. Wong) - xfs_io: don't count fsmaps before querying fsmaps (Darrick J. Wong) - xfs_io: print header once when dumping fsmap in csv (Darrick J. Wong) - xfs_io: clean up the funshare command a bit (Darrick J. Wong) - xfs_io: fix broken funshare_cmd usage (Darrick J. Wong) xfsprogs-5.13.0-rc0 (01 Jul 2021) - libxfs changes merged from kernel 5.13 Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- lfs/xfsprogs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/xfsprogs b/lfs/xfsprogs index 90a43d34d..d72d71cfa 100644 --- a/lfs/xfsprogs +++ b/lfs/xfsprogs @@ -24,7 +24,7 @@ include Config -VER = 5.12.0 +VER = 5.14.0 THISAPP = xfsprogs-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -45,7 +45,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = b401d76ccd66e4fdf3d123193e5e1b91 +$(DL_FILE)_MD5 = 2ce433e563622cb0037a77da3b2d4c3b install : $(TARGET) From 14192b69d366021d7040cedf4eb6ad9d1456cd42 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Thu, 25 Nov 2021 19:17:41 +0100 Subject: [PATCH 016/102] liburcu: New dependency for build of xfsprogs - Created lfs file - Created rootfile but all entries commented out. If the use of userspace rcu becomes something to be required as part of IPFire then the appropriate entries in the rootfile can be uncommented in a future commit. - Added liburcu to the make.sh file just before xfsprogs Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- config/rootfiles/common/liburcu | 232 ++++++++++++++++++++++++++++++++ lfs/liburcu | 83 ++++++++++++ make.sh | 1 + 3 files changed, 316 insertions(+) create mode 100644 config/rootfiles/common/liburcu create mode 100644 lfs/liburcu diff --git a/config/rootfiles/common/liburcu b/config/rootfiles/common/liburcu new file mode 100644 index 000000000..f1de29d87 --- /dev/null +++ b/config/rootfiles/common/liburcu @@ -0,0 +1,232 @@ +#usr/include/urcu +#usr/include/urcu-bp.h +#usr/include/urcu-call-rcu.h +#usr/include/urcu-defer.h +#usr/include/urcu-flavor.h +#usr/include/urcu-pointer.h +#usr/include/urcu-qsbr.h +#usr/include/urcu.h +#usr/include/urcu/arch +#usr/include/urcu/arch.h +#usr/include/urcu/arch/aarch64.h +#usr/include/urcu/arch/alpha.h +#usr/include/urcu/arch/arm.h +#usr/include/urcu/arch/gcc.h +#usr/include/urcu/arch/generic.h +#usr/include/urcu/arch/hppa.h +#usr/include/urcu/arch/ia64.h +#usr/include/urcu/arch/m68k.h +#usr/include/urcu/arch/mips.h +#usr/include/urcu/arch/nios2.h +#usr/include/urcu/arch/ppc.h +#usr/include/urcu/arch/riscv.h +#usr/include/urcu/arch/s390.h +#usr/include/urcu/arch/sparc64.h +#usr/include/urcu/arch/tile.h +#usr/include/urcu/arch/x86.h +#usr/include/urcu/call-rcu.h +#usr/include/urcu/cds.h +#usr/include/urcu/compiler.h +#usr/include/urcu/config.h +#usr/include/urcu/debug.h +#usr/include/urcu/defer.h +#usr/include/urcu/flavor.h +#usr/include/urcu/futex.h +#usr/include/urcu/hlist.h +#usr/include/urcu/lfstack.h +#usr/include/urcu/list.h +#usr/include/urcu/map +#usr/include/urcu/map/clear.h +#usr/include/urcu/map/urcu-bp.h +#usr/include/urcu/map/urcu-mb.h +#usr/include/urcu/map/urcu-memb.h +#usr/include/urcu/map/urcu-qsbr.h +#usr/include/urcu/map/urcu-signal.h +#usr/include/urcu/map/urcu.h +#usr/include/urcu/pointer.h +#usr/include/urcu/rcuhlist.h +#usr/include/urcu/rculfhash.h +#usr/include/urcu/rculfqueue.h +#usr/include/urcu/rculfstack.h +#usr/include/urcu/rculist.h +#usr/include/urcu/ref.h +#usr/include/urcu/static +#usr/include/urcu/static/lfstack.h +#usr/include/urcu/static/pointer.h +#usr/include/urcu/static/rculfqueue.h +#usr/include/urcu/static/rculfstack.h +#usr/include/urcu/static/urcu-bp.h +#usr/include/urcu/static/urcu-common.h +#usr/include/urcu/static/urcu-mb.h +#usr/include/urcu/static/urcu-memb.h +#usr/include/urcu/static/urcu-qsbr.h +#usr/include/urcu/static/urcu-signal-nr.h +#usr/include/urcu/static/urcu-signal.h +#usr/include/urcu/static/urcu.h +#usr/include/urcu/static/wfcqueue.h +#usr/include/urcu/static/wfqueue.h +#usr/include/urcu/static/wfstack.h +#usr/include/urcu/syscall-compat.h +#usr/include/urcu/system.h +#usr/include/urcu/tls-compat.h +#usr/include/urcu/uatomic +#usr/include/urcu/uatomic.h +#usr/include/urcu/uatomic/aarch64.h +#usr/include/urcu/uatomic/alpha.h +#usr/include/urcu/uatomic/arm.h +#usr/include/urcu/uatomic/gcc.h +#usr/include/urcu/uatomic/generic.h +#usr/include/urcu/uatomic/hppa.h +#usr/include/urcu/uatomic/ia64.h +#usr/include/urcu/uatomic/m68k.h +#usr/include/urcu/uatomic/mips.h +#usr/include/urcu/uatomic/nios2.h +#usr/include/urcu/uatomic/ppc.h +#usr/include/urcu/uatomic/riscv.h +#usr/include/urcu/uatomic/s390.h +#usr/include/urcu/uatomic/sparc64.h +#usr/include/urcu/uatomic/tile.h +#usr/include/urcu/uatomic/x86.h +#usr/include/urcu/uatomic_arch.h +#usr/include/urcu/urcu-bp.h +#usr/include/urcu/urcu-futex.h +#usr/include/urcu/urcu-mb.h +#usr/include/urcu/urcu-memb.h +#usr/include/urcu/urcu-qsbr.h +#usr/include/urcu/urcu-signal.h +#usr/include/urcu/urcu.h +#usr/include/urcu/urcu_ref.h +#usr/include/urcu/wfcqueue.h +#usr/include/urcu/wfqueue.h +#usr/include/urcu/wfstack.h +#usr/lib/liburcu-bp.la +#usr/lib/liburcu-bp.so +#usr/lib/liburcu-bp.so.8 +#usr/lib/liburcu-bp.so.8.0.0 +#usr/lib/liburcu-cds.la +#usr/lib/liburcu-cds.so +#usr/lib/liburcu-cds.so.8 +#usr/lib/liburcu-cds.so.8.0.0 +#usr/lib/liburcu-common.la +#usr/lib/liburcu-common.so +#usr/lib/liburcu-common.so.8 +#usr/lib/liburcu-common.so.8.0.0 +#usr/lib/liburcu-mb.la +#usr/lib/liburcu-mb.so +#usr/lib/liburcu-mb.so.8 +#usr/lib/liburcu-mb.so.8.0.0 +#usr/lib/liburcu-memb.la +#usr/lib/liburcu-memb.so +#usr/lib/liburcu-memb.so.8 +#usr/lib/liburcu-memb.so.8.0.0 +#usr/lib/liburcu-qsbr.la +#usr/lib/liburcu-qsbr.so +#usr/lib/liburcu-qsbr.so.8 +#usr/lib/liburcu-qsbr.so.8.0.0 +#usr/lib/liburcu-signal.la +#usr/lib/liburcu-signal.so +#usr/lib/liburcu-signal.so.8 +#usr/lib/liburcu-signal.so.8.0.0 +#usr/lib/liburcu.la +#usr/lib/liburcu.so +#usr/lib/liburcu.so.8 +#usr/lib/liburcu.so.8.0.0 +#usr/lib/pkgconfig/liburcu-bp.pc +#usr/lib/pkgconfig/liburcu-cds.pc +#usr/lib/pkgconfig/liburcu-mb.pc +#usr/lib/pkgconfig/liburcu-qsbr.pc +#usr/lib/pkgconfig/liburcu-signal.pc +#usr/lib/pkgconfig/liburcu.pc +#usr/share/doc/userspace-rcu +#usr/share/doc/userspace-rcu/LICENSE +#usr/share/doc/userspace-rcu/README.md +#usr/share/doc/userspace-rcu/cds-api.md +#usr/share/doc/userspace-rcu/examples +#usr/share/doc/userspace-rcu/examples/Makefile +#usr/share/doc/userspace-rcu/examples/Makefile.examples.template +#usr/share/doc/userspace-rcu/examples/hlist +#usr/share/doc/userspace-rcu/examples/hlist/Makefile +#usr/share/doc/userspace-rcu/examples/hlist/Makefile.cds_hlist_add_head_rcu +#usr/share/doc/userspace-rcu/examples/hlist/Makefile.cds_hlist_del_rcu +#usr/share/doc/userspace-rcu/examples/hlist/Makefile.cds_hlist_for_each_entry_rcu +#usr/share/doc/userspace-rcu/examples/hlist/Makefile.cds_hlist_for_each_rcu +#usr/share/doc/userspace-rcu/examples/hlist/cds_hlist_add_head_rcu.c +#usr/share/doc/userspace-rcu/examples/hlist/cds_hlist_del_rcu.c +#usr/share/doc/userspace-rcu/examples/hlist/cds_hlist_for_each_entry_rcu.c +#usr/share/doc/userspace-rcu/examples/hlist/cds_hlist_for_each_rcu.c +#usr/share/doc/userspace-rcu/examples/lfstack +#usr/share/doc/userspace-rcu/examples/lfstack/Makefile +#usr/share/doc/userspace-rcu/examples/lfstack/Makefile.cds_lfs_pop_all_blocking +#usr/share/doc/userspace-rcu/examples/lfstack/Makefile.cds_lfs_pop_blocking +#usr/share/doc/userspace-rcu/examples/lfstack/Makefile.cds_lfs_push +#usr/share/doc/userspace-rcu/examples/lfstack/cds_lfs_pop_all_blocking.c +#usr/share/doc/userspace-rcu/examples/lfstack/cds_lfs_pop_blocking.c +#usr/share/doc/userspace-rcu/examples/lfstack/cds_lfs_push.c +#usr/share/doc/userspace-rcu/examples/list +#usr/share/doc/userspace-rcu/examples/list/Makefile +#usr/share/doc/userspace-rcu/examples/list/Makefile.cds_list_add_rcu +#usr/share/doc/userspace-rcu/examples/list/Makefile.cds_list_add_tail_rcu +#usr/share/doc/userspace-rcu/examples/list/Makefile.cds_list_del_rcu +#usr/share/doc/userspace-rcu/examples/list/Makefile.cds_list_for_each_entry_rcu +#usr/share/doc/userspace-rcu/examples/list/Makefile.cds_list_for_each_rcu +#usr/share/doc/userspace-rcu/examples/list/Makefile.cds_list_replace_rcu +#usr/share/doc/userspace-rcu/examples/list/cds_list_add_rcu.c +#usr/share/doc/userspace-rcu/examples/list/cds_list_add_tail_rcu.c +#usr/share/doc/userspace-rcu/examples/list/cds_list_del_rcu.c +#usr/share/doc/userspace-rcu/examples/list/cds_list_for_each_entry_rcu.c +#usr/share/doc/userspace-rcu/examples/list/cds_list_for_each_rcu.c +#usr/share/doc/userspace-rcu/examples/list/cds_list_replace_rcu.c +#usr/share/doc/userspace-rcu/examples/rculfhash +#usr/share/doc/userspace-rcu/examples/rculfhash/Makefile +#usr/share/doc/userspace-rcu/examples/rculfhash/Makefile.cds_lfht_add +#usr/share/doc/userspace-rcu/examples/rculfhash/Makefile.cds_lfht_add_replace +#usr/share/doc/userspace-rcu/examples/rculfhash/Makefile.cds_lfht_add_unique +#usr/share/doc/userspace-rcu/examples/rculfhash/Makefile.cds_lfht_del +#usr/share/doc/userspace-rcu/examples/rculfhash/Makefile.cds_lfht_destroy +#usr/share/doc/userspace-rcu/examples/rculfhash/Makefile.cds_lfht_for_each_entry_duplicate +#usr/share/doc/userspace-rcu/examples/rculfhash/Makefile.cds_lfht_lookup +#usr/share/doc/userspace-rcu/examples/rculfhash/cds_lfht_add.c +#usr/share/doc/userspace-rcu/examples/rculfhash/cds_lfht_add_replace.c +#usr/share/doc/userspace-rcu/examples/rculfhash/cds_lfht_add_unique.c +#usr/share/doc/userspace-rcu/examples/rculfhash/cds_lfht_del.c +#usr/share/doc/userspace-rcu/examples/rculfhash/cds_lfht_destroy.c +#usr/share/doc/userspace-rcu/examples/rculfhash/cds_lfht_for_each_entry_duplicate.c +#usr/share/doc/userspace-rcu/examples/rculfhash/cds_lfht_lookup.c +#usr/share/doc/userspace-rcu/examples/rculfhash/jhash.h +#usr/share/doc/userspace-rcu/examples/rculfqueue +#usr/share/doc/userspace-rcu/examples/rculfqueue/Makefile +#usr/share/doc/userspace-rcu/examples/rculfqueue/Makefile.cds_lfq_dequeue +#usr/share/doc/userspace-rcu/examples/rculfqueue/Makefile.cds_lfq_enqueue +#usr/share/doc/userspace-rcu/examples/rculfqueue/cds_lfq_dequeue.c +#usr/share/doc/userspace-rcu/examples/rculfqueue/cds_lfq_enqueue.c +#usr/share/doc/userspace-rcu/examples/urcu-flavors +#usr/share/doc/userspace-rcu/examples/urcu-flavors/Makefile +#usr/share/doc/userspace-rcu/examples/urcu-flavors/Makefile.bp +#usr/share/doc/userspace-rcu/examples/urcu-flavors/Makefile.mb +#usr/share/doc/userspace-rcu/examples/urcu-flavors/Makefile.membarrier +#usr/share/doc/userspace-rcu/examples/urcu-flavors/Makefile.qsbr +#usr/share/doc/userspace-rcu/examples/urcu-flavors/Makefile.signal +#usr/share/doc/userspace-rcu/examples/urcu-flavors/bp.c +#usr/share/doc/userspace-rcu/examples/urcu-flavors/mb.c +#usr/share/doc/userspace-rcu/examples/urcu-flavors/membarrier.c +#usr/share/doc/userspace-rcu/examples/urcu-flavors/qsbr.c +#usr/share/doc/userspace-rcu/examples/urcu-flavors/signal.c +#usr/share/doc/userspace-rcu/examples/wfcqueue +#usr/share/doc/userspace-rcu/examples/wfcqueue/Makefile +#usr/share/doc/userspace-rcu/examples/wfcqueue/Makefile.cds_wfcq_dequeue +#usr/share/doc/userspace-rcu/examples/wfcqueue/Makefile.cds_wfcq_enqueue +#usr/share/doc/userspace-rcu/examples/wfcqueue/Makefile.cds_wfcq_splice +#usr/share/doc/userspace-rcu/examples/wfcqueue/cds_wfcq_dequeue.c +#usr/share/doc/userspace-rcu/examples/wfcqueue/cds_wfcq_enqueue.c +#usr/share/doc/userspace-rcu/examples/wfcqueue/cds_wfcq_splice.c +#usr/share/doc/userspace-rcu/examples/wfstack +#usr/share/doc/userspace-rcu/examples/wfstack/Makefile +#usr/share/doc/userspace-rcu/examples/wfstack/Makefile.cds_wfs_pop +#usr/share/doc/userspace-rcu/examples/wfstack/Makefile.cds_wfs_pop_all_blocking +#usr/share/doc/userspace-rcu/examples/wfstack/Makefile.cds_wfs_push +#usr/share/doc/userspace-rcu/examples/wfstack/cds_wfs_pop.c +#usr/share/doc/userspace-rcu/examples/wfstack/cds_wfs_pop_all_blocking.c +#usr/share/doc/userspace-rcu/examples/wfstack/cds_wfs_push.c +#usr/share/doc/userspace-rcu/rcu-api.md +#usr/share/doc/userspace-rcu/solaris-build.md +#usr/share/doc/userspace-rcu/uatomic-api.md diff --git a/lfs/liburcu b/lfs/liburcu new file mode 100644 index 000000000..0a21c0f21 --- /dev/null +++ b/lfs/liburcu @@ -0,0 +1,83 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007-2018 IPFire Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 0.13.0 + +THISAPP = userspace-rcu-$(VER) +DL_FILE = $(THISAPP).tar.bz2 +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) + + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 8cb75dbb05774c03e66c63cb3186dd59 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --disable-static + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index ee8c08f96..87ed7a70d 100755 --- a/make.sh +++ b/make.sh @@ -1280,6 +1280,7 @@ buildipfire() { lfsmake2 dosfstools lfsmake2 exfatprogs lfsmake2 reiserfsprogs + lfsmake2 liburcu lfsmake2 xfsprogs lfsmake2 sysfsutils lfsmake2 fuse From 2d81a451e1c0200ac46723618e778d6422c4e8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 3 Dec 2021 18:27:39 +0100 Subject: [PATCH 017/102] Core Update 163: Ship xfsprogs and liburcu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/163/filelists/liburcu | 1 + config/rootfiles/core/163/filelists/xfsprogs | 1 + 2 files changed, 2 insertions(+) create mode 120000 config/rootfiles/core/163/filelists/liburcu create mode 120000 config/rootfiles/core/163/filelists/xfsprogs diff --git a/config/rootfiles/core/163/filelists/liburcu b/config/rootfiles/core/163/filelists/liburcu new file mode 120000 index 000000000..d19012e04 --- /dev/null +++ b/config/rootfiles/core/163/filelists/liburcu @@ -0,0 +1 @@ +../../../common/liburcu \ No newline at end of file diff --git a/config/rootfiles/core/163/filelists/xfsprogs b/config/rootfiles/core/163/filelists/xfsprogs new file mode 120000 index 000000000..91032964d --- /dev/null +++ b/config/rootfiles/core/163/filelists/xfsprogs @@ -0,0 +1 @@ +../../../common/xfsprogs \ No newline at end of file From 5d3d892ea7004cb24a74e6efe375c374fde74fd8 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Sat, 27 Nov 2021 14:35:55 +0100 Subject: [PATCH 018/102] libcap: Update to version 2.61 - Update from 2.50 to 2.61 - Update of rootfile - Changelog Release notes for 2.61 Better error handling of the numerical arguments for capsh and setcap. Reported by meitingli with some bug de-duping help from Artem S. Tashkinov (Bugs 214909, 214911) Fix executable mode for all of the .so files. There were two situations where this was failing (with a hard to debug SIGSEGV inside libc). Bugs reported by Sam James. Both the same solution related to stack alignment and use of SSE instructions: glibc and the 32-bit x86 mode (Gentoo bug 820071) musl runtime library for 64-bit x86 code (Bug 215009) Added an example of a shared library object with its own file capability. It demonstrates how to give a shared library a file capability and offer it as a linkable privileged API service to an otherwise unprivileged binary. Fix the top-level include for Make.Rules in the contrib/sucap example application Add support for running constructors at libcap.so start up time when running as stand alone binary. This enables the binary executable to print out some dynamically generated content when given the --summary argument. Release notes for 2.60 Some build, code linting fixes, the addition of the cap_fill_flag() API and a memory latency optimization contributed by Google (Bugs: 214579 214601 214599) General improvement in thread safety for libcap and cap package (Bug: 214715) Minor API change replacing libcap:cap_launch_*() void returning functions with int + errno status returns. This should be backwardly compatible for code. Added a cap_iab_dup(), and (*cap.IAB).Dup() to API. Fixed (*cap.IAB).Fill() which was previously malfunctioning for certain Inh and Amb copies. New features for capsh --quiet can be used to suppress the start up check that the local libcap is modern enough to name all of the capabilities known to the hosting kernel Added -+ and =+ arguments. These are fork+exec equivalents to -- and == respectively (that use the cap_launch API). Release notes for 2.59 libcap-2.55 ... 2.58 would SIGSEGV if an operation was attempted on a NULL value for cap_t or cap_iab_t. Restore the more tolerant error return behavior last seen with libcap-2.54. (Bug 214525) More make -j13 fixes (missing dependency for make -C progs sudotest). Various minor documentation fixes. Release notes for 2.58 Fixed a potential libcap memory leak by adding a destructor (Bug 214373 reported by yan12125) Major improvement is that there is a path for Linux-PAM compliant applications to support setting Ambient vector Capabilities via pam_cap.so now (Bug 214377) In addition to the bug, related discussion is in two Github issues: https://github.com/shadow-maint/shadow/pull/408#issuecomment-919673098 and https://github.com/rra/pam-krb5/issues/21 Added support for RPM builds that generate the build-id that RPM expects (see https://github.com/rpm-software-management/rpm/issues/367 for discussion) Minor contrib/sucap/su.c cleanups Clean up kdebug build rules More documentation cleanup Release notes for 2.57 capsh enhancements: --mode makes a guess at the libcap mode of the current process (Bug 214319) --strict makes capsh less permissive and expects the user to perform more deliberate capability transactions useful for learning all the steps; and helps this article be more pedagogical. Build system fixes Preserve $(WARNINGS) (Fix from David Seifert) Don't ever build test binaries unless make test etc is invoked (speeds builds on slower systems) Support make -j12 for all, test and sudotest targets getcap -r / now generates readable output (Bug 214317) Some documentation cleanup: more consistency. Release notes for 2.56 Canonicalize the Makefile use (in collaboration with David Seifert) In the process fixed a bug in pam_cap/test_pam_cap (reported by David Seifert, Bug 214257) Doc fixes for cap_iab.3 Added color support to captree, which helped make the following fix generate readable output: Fixed captree to not display duplicate copies of sub-trees if also exploring their ancestor (Bug 214269) Fixed contrib/sucap/su to correctly handle the Inheritable flag. Release notes for 2.55 Two rounds of fixes for the results of some static analysis performed by Zoltan Fridrich Removed a clang compilation warning about memory allocation by rewriting the way cap_free() and the various libcap memory allocation mechanisms work. (Bug 214183) This generated a few broken builds until it was fixed. Cleanup of some man pages; some fixes and shorter URL to bugzilla link. Added libcap cap_proc_root() API function (to reach parity with the Go cap package). This is only potentially useful with the recently added cap_iab_get_pid() function Revamped what the GOLANG=yes builds install - used to install local copies of cap and psx, but these were effectively useless because of the Go module support in recent Go releases in favor of user controller GOPATH. Now make GOLANG=yes only installs the captree utility Added some features to captree and created a small article on it Added a man page for the captree utility Some small changes to the tests to account for the idiosyncrasies of some new testing environments I've accumulated. Included adding --has-b support to capsh Release notes for 2.54 Fix for a corner case infinite loop handling long strings (patch provided by Samanta Navarro) Fixes to not ignore allocation failures (patch provided by Samanta Navarro) Evolving work from Samanta Navarro, found and fixed a memory leak in cap_iab_get_proc() More robust discovery of the name of the dynamic loader of the build target (patch provided by Arnout Vandecappelle) Revamped the Go capability comparison API for *cap.Set and *cap.IAB: (x).Cf(), and added cap.IABGetPID() Added libcap cap_iab_compare() and cap_iab_get_pid() APIs. Added a Go utility, captree, to display the process (and thread) graph along with the POSIX.1e and IAB capabilities of each PID{TID} tree. Extended getpcaps to support the --iab command line argument, which outputs a PID's IAB tuple too (if non-default). Install *.so files as executable now that they are executable as binaries A feature of 2.52 but not extended to install rules at that time. Absorbed a lot of wisdom from a number of downstream package workarounds including wisdom from (Zhi Li and Arnout Vandecappelle and unknown others... Bugs 214023#c16, 214085) Support make FORCELINKPAM=yes or make FORCELINKPAM=no for those packagers that feel strongly about not letting this be dynamically discovered at build time. Fixed a compiler warnings from the GitHub build tester (Bug 214143) Release notes for 2.53 The (C) cap_launch functionality was previously broken when launches failed (found and fixed by Samanta Navarro) Added a test case for this too. Lots of tyops fixed in code and documentation (also by Samanta Navarro) Support distributions that aggressively link shared objects (reported by David Runge; Bug 214023) These distributions failed to observe a runnable pam_cap.so and various make options failed. Support clang builds (again). (Reported by Johan Herland 214047) This used to work, but by accident. It broke with the advent of a runnable libcap.so , libpsx.so and pam_cap.so support. Fixed now, and added a build target to validate it still works at release time. Minor documentation updates including one for Slavi Marinov who was trying to get cap.LaunchFunc() to work. Worked up a couple of example modifications to goapps/web to demonstrate a different user per web query and enabling a custom chroot per web query. Release notes for 2.52 Revived -std=c89 compilation for make all etc. (Bug 213541 reported by Byron Stanoszek.) The shared library objects: pam_cap.so, libcap.so and libpsx.so, are all now runnable as standalone binaries! The support is used to display some description information. To activate it, these binaries need to be installed executable (chmod +x ...) We also provided a write-up of how to enable this sort of feature in other .so files here. The module pam_cap.so now contains support for a default= module argument. (Bug 213611). Enhanced capsh --suggest to also compare against the capability value names and not just their descriptions. Added capsh --current support. Minor documentation updates. Added a contrib/sucap/su.c pure-capabilities PAM implementation of su. This is primarily to demonstrate that such a thing is possible, and to validate that the pam_cap.so module is capable of adding any IAB tuple of inheritables per group or user. At this time, it relies on features only present in this version of libcap and HEAD of the Linux-PAM sources for the pam_unix.so module. Release notes for 2.51 Fix capsh installation (Bug 213261 - reported by Jan Palus) Add an autoauth module flag to pam_cap.so (Bug 213279 - noted a feature request hidden in StackExchange) Unified libcap/cap (Go) and libcap (C) default generation of external format binary data (Bug 213375 - addressing an issue raised by Mike Schilling) This standard binary format should be forwards/backwards compatible with earlier libcap2 builds and libcap/cap packages API enhancement cap_fill() and (*cap.Set).Fill() - to permit copying one capability flag to another. This can be used to raise all the Permitted capabilities in a Set with one API call. In tree build/run/test of Go packages now uses Go module vendoring (Bug 212453). This is with an eye to the imminent golang change removing support for GOPATH based building. Minor compilation warning fixes Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- config/rootfiles/common/libcap | 10 ++++++++-- lfs/libcap | 7 +++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/config/rootfiles/common/libcap b/config/rootfiles/common/libcap index def30cb5a..c33222c49 100644 --- a/config/rootfiles/common/libcap +++ b/config/rootfiles/common/libcap @@ -1,10 +1,10 @@ #lib/libcap.a lib/libcap.so.2 -lib/libcap.so.2.50 +lib/libcap.so.2.61 #lib/libpsx.a #lib/libpsx.so #lib/libpsx.so.2 -#lib/libpsx.so.2.50 +#lib/libpsx.so.2.61 #lib/pkgconfig/libcap.pc #lib/pkgconfig/libpsx.pc lib/security/pam_cap.so @@ -23,6 +23,8 @@ usr/lib/libcap.so #usr/share/man/man3/cap_copy_int.3 #usr/share/man/man3/cap_drop_bound.3 #usr/share/man/man3/cap_dup.3 +#usr/share/man/man3/cap_fill.3 +#usr/share/man/man3/cap_fill_flag.3 #usr/share/man/man3/cap_free.3 #usr/share/man/man3/cap_from_name.3 #usr/share/man/man3/cap_from_text.3 @@ -36,8 +38,11 @@ usr/lib/libcap.so #usr/share/man/man3/cap_get_proc.3 #usr/share/man/man3/cap_get_secbits.3 #usr/share/man/man3/cap_iab.3 +#usr/share/man/man3/cap_iab_compare.3 +#usr/share/man/man3/cap_iab_dup.3 #usr/share/man/man3/cap_iab_fill.3 #usr/share/man/man3/cap_iab_from_text.3 +#usr/share/man/man3/cap_iab_get_pid.3 #usr/share/man/man3/cap_iab_get_proc.3 #usr/share/man/man3/cap_iab_get_vector.3 #usr/share/man/man3/cap_iab_init.3 @@ -73,6 +78,7 @@ usr/lib/libcap.so #usr/share/man/man3/psx_syscall.3 #usr/share/man/man3/psx_syscall3.3 #usr/share/man/man3/psx_syscall6.3 +#usr/share/man/man8/captree.8 #usr/share/man/man8/getcap.8 #usr/share/man/man8/getpcaps.8 #usr/share/man/man8/setcap.8 diff --git a/lfs/libcap b/lfs/libcap index 610ff474b..387d43e38 100644 --- a/lfs/libcap +++ b/lfs/libcap @@ -24,7 +24,7 @@ include Config -VER = 2.50 +VER = 2.61 THISAPP = libcap-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 66a561afa81666236ff973544ff4e864 +$(DL_FILE)_MD5 = 3bf105e47a8671035a0ce0812185c5e4 install : $(TARGET) @@ -70,13 +70,12 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libcap-2.50-install_capsh_again.patch # Prevent a static library from being installed cd $(DIR_APP) && sed -i '/install.*STALIBNAME/d' libcap/Makefile cd $(DIR_APP) && make GOLANG=no cd $(DIR_APP) && make install GOLANG=no rm -vf /lib/libcap.so - ln -svf /lib/libcap.so.2.50 /usr/lib/libcap.so + ln -svf /lib/libcap.so.2.61 /usr/lib/libcap.so chmod +x /lib/libcap.so.* @rm -rf $(DIR_APP) @$(POSTBUILD) From 05ce73e5b87b562f6840ec4721259ac52a0eb0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20M=C3=BCller?= Date: Fri, 3 Dec 2021 18:28:44 +0100 Subject: [PATCH 019/102] Core Update 163: Ship libcap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller --- config/rootfiles/core/163/filelists/libcap | 1 + 1 file changed, 1 insertion(+) create mode 120000 config/rootfiles/core/163/filelists/libcap diff --git a/config/rootfiles/core/163/filelists/libcap b/config/rootfiles/core/163/filelists/libcap new file mode 120000 index 000000000..ed67d950a --- /dev/null +++ b/config/rootfiles/core/163/filelists/libcap @@ -0,0 +1 @@ +../../../common/libcap \ No newline at end of file From b91a0f297ab27cc5bbbc0c9777a2fe8bc881ae01 Mon Sep 17 00:00:00 2001 From: Leo-Andres Hofmann Date: Sat, 27 Nov 2021 20:10:43 +0100 Subject: [PATCH 020/102] ipfire-theme/functions.pl: Load $extrahead after jQuery This ensures that jQuery is also available for custom javascript added to the HTML with $extrahead. Signed-off-by: Leo-Andres Hofmann Reviewed-by: Michael Tremer --- html/html/themes/ipfire/include/functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/html/themes/ipfire/include/functions.pl b/html/html/themes/ipfire/include/functions.pl index 18931428e..54f8966d5 100644 --- a/html/html/themes/ipfire/include/functions.pl +++ b/html/html/themes/ipfire/include/functions.pl @@ -120,12 +120,12 @@ print < $headline - $title - $extrahead + $extrahead