Changeset 3781c69
- Timestamp:
- 09/07/2021 09:10:29 PM (21 months ago)
- Branches:
- 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, arm, bdubbs/gcc13, multilib, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008
- Children:
- 9ee05b53
- Parents:
- 4458e3d
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r4458e3d r3781c69 144 144 @echo "Validation complete." 145 145 146 profile-html: 146 profile-html: 147 147 @echo "Generating profiled XML for XHTML..." 148 148 $(Q)xsltproc --nonet \ -
lfs-latest-git.php
r4458e3d r3781c69 31 31 foreach ( $lines as $line ) 32 32 { 33 if ( ! preg_match( $regex_match, $line ) ) continue; 33 if ( ! preg_match( $regex_match, $line ) ) continue; 34 34 35 35 // Isolate the version and put in an array 36 36 $slice = preg_replace( $regex_replace, "$1", $line ); 37 if ( $slice == $line ) continue; 38 39 array_push( $a, $slice ); 37 if ( $slice == $line ) continue; 38 39 array_push( $a, $slice ); 40 40 } 41 41 … … 99 99 $max = find_max( $lines, $regex_match, $regex_replace ); 100 100 101 return "$dirpath/$max"; 101 return "$dirpath/$max"; 102 102 } 103 103 … … 113 113 if ( $package == "e2fsprogs" ) $dirpath = "https://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/"; 114 114 if ( $package == "expat" ) $dirpath = "http://sourceforge.net/projects/expat/files"; 115 if ( $package == "elfutils" ) $dirpath = "https://sourceware.org/ftp/elfutils"; 116 if ( $package == "expect" ) $dirpath = "http://sourceforge.net/projects/expect/files"; 115 if ( $package == "elfutils" ) $dirpath = "https://sourceware.org/ftp/elfutils"; 116 if ( $package == "expect" ) $dirpath = "http://sourceforge.net/projects/expect/files"; 117 117 if ( $package == "file" ) $dirpath = "https://github.com/file/file/releases"; 118 118 if ( $package == "flex" ) $dirpath = "https://github.com/westes/flex/releases"; … … 139 139 140 140 // Check for ftp 141 if ( preg_match( "/^ftp/", $dirpath ) ) 142 { 141 if ( preg_match( "/^ftp/", $dirpath ) ) 142 { 143 143 $dirpath = substr( $dirpath, 6 ); // Remove ftp:// 144 144 $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash … … 148 148 149 149 $conn = ftp_connect( $server ); 150 ftp_login( $conn, "anonymous", "" ); 150 ftp_login( $conn, "anonymous", "" ); 151 151 152 152 // See if we need special handling … … 167 167 168 168 // Get dir listing 169 $lines = ftp_rawlist ($conn, $path); 169 $lines = ftp_rawlist ($conn, $path); 170 170 $max = find_max( $lines, $regexp, $regexp ); 171 171 break; … … 234 234 } 235 235 236 if ( $package == "attr" || 236 if ( $package == "attr" || 237 237 $package == "acl" ) 238 238 { … … 362 362 } 363 363 364 else if ( preg_match( "/systemd-man-pages/", $file ) ) continue; 365 else if ( preg_match( "/python/" , $file ) ) continue; 364 else if ( preg_match( "/systemd-man-pages/", $file ) ) continue; 365 else if ( preg_match( "/python/" , $file ) ) continue; 366 366 367 367 $version = preg_replace( $pattern, "$1", $file ); // Isolate version -
lfs-latest.php
r4458e3d r3781c69 31 31 foreach ( $lines as $line ) 32 32 { 33 if ( ! preg_match( $regex_match, $line ) ) continue; 33 if ( ! preg_match( $regex_match, $line ) ) continue; 34 34 35 35 // Isolate the version and put in an array 36 36 $slice = preg_replace( $regex_replace, "$1", $line ); 37 if ( $slice == $line ) continue; 38 39 array_push( $a, $slice ); 37 if ( $slice == $line ) continue; 38 39 array_push( $a, $slice ); 40 40 } 41 41 … … 99 99 $max = find_max( $lines, $regex_match, $regex_replace ); 100 100 101 return "$dirpath/$max"; 101 return "$dirpath/$max"; 102 102 } 103 103 … … 113 113 if ( $package == "e2fsprogs" ) $dirpath = "http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs"; 114 114 if ( $package == "expat" ) $dirpath = "http://sourceforge.net/projects/expat/files"; 115 if ( $package == "elfutils" ) $dirpath = "https://sourceware.org/ftp/elfutils"; 116 if ( $package == "expect" ) $dirpath = "http://sourceforge.net/projects/expect/files"; 115 if ( $package == "elfutils" ) $dirpath = "https://sourceware.org/ftp/elfutils"; 116 if ( $package == "expect" ) $dirpath = "http://sourceforge.net/projects/expect/files"; 117 117 if ( $package == "file" ) $dirpath = "https://github.com/file/file/releases"; 118 118 if ( $package == "flex" ) $dirpath = "https://github.com/westes/flex/releases"; … … 136 136 137 137 // Check for ftp 138 if ( preg_match( "/^ftp/", $dirpath ) ) 139 { 138 if ( preg_match( "/^ftp/", $dirpath ) ) 139 { 140 140 $dirpath = substr( $dirpath, 6 ); // Remove ftp:// 141 141 $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash … … 145 145 146 146 $conn = ftp_connect( $server ); 147 ftp_login( $conn, "anonymous", "" ); 147 ftp_login( $conn, "anonymous", "" ); 148 148 149 149 // See if we need special handling … … 164 164 165 165 // Get dir listing 166 $lines = ftp_rawlist ($conn, $path); 166 $lines = ftp_rawlist ($conn, $path); 167 167 $max = find_max( $lines, $regexp, $regexp ); 168 168 break; … … 197 197 } 198 198 199 //if ( $package == "bzip2" ) 199 //if ( $package == "bzip2" ) 200 200 //{ 201 201 // // Remove one directory … … 239 239 } 240 240 241 if ( $package == "attr" || 241 if ( $package == "attr" || 242 242 $package == "acl" ) 243 243 { … … 357 357 } 358 358 359 else if ( preg_match( "/systemd-man-pages/", $file ) ) continue; 360 else if ( preg_match( "/python/" , $file ) ) continue; 359 else if ( preg_match( "/systemd-man-pages/", $file ) ) continue; 360 else if ( preg_match( "/python/" , $file ) ) continue; 361 361 362 362 $version = preg_replace( $pattern, "$1", $file ); // Isolate version -
make-aux-files.sh
r4458e3d r3781c69 9 9 # Create the tarball and clean up 10 10 tar -cJf lfs-bootscripts-$version.tar.xz --exclude .svn lfs-bootscripts-$version 11 mv lfs-bootscripts-$version bootscripts 11 mv lfs-bootscripts-$version bootscripts 12 12 13 13 #rm -f udev-config*.bz2 -
pdf-fixups.sh
r4458e3d r3781c69 1 1 #!/bin/bash 2 2 3 if [ $# -lt 1 ] ; then 3 if [ $# -lt 1 ] ; then 4 4 echo "This script needs the location of the fo file to update" 5 5 exit 1 -
process-scripts.sh
r4458e3d r3781c69 9 9 do 10 10 script=$(basename $s) 11 11 12 12 # Skip directories 13 13 [ $script == 'network-devices' ] && continue … … 15 15 16 16 # Disambiguate duplicate file names 17 [ $s == 'bootscripts/lfs/sysconfig/rc' ] && script='rc-sysinit'; 18 [ $s == 'bootscripts/lfs/sysconfig/modules' ] && script='modules-sysinit'; 19 [ $s == 'bootscripts/lfs/sysconfig/udev_retry' ] && script='config-udev-retry'; 20 17 [ $s == 'bootscripts/lfs/sysconfig/rc' ] && script='rc-sysinit'; 18 [ $s == 'bootscripts/lfs/sysconfig/modules' ] && script='modules-sysinit'; 19 [ $s == 'bootscripts/lfs/sysconfig/udev_retry' ] && script='config-udev-retry'; 20 21 21 sed -e 's/\&/\&\;/g' -e 's/</\<\;/g' -e 's/>/\>\;/g' \ 22 22 -e "s/'/\&apos\;/g" -e 's/"/\"\;/g' -e 's/\t/ /g' \ 23 $s > appendices/${script}.script 23 $s > appendices/${script}.script 24 24 done -
udev-lfs/ChangeLog
r4458e3d r3781c69 62 62 * 55-lfs.rules: Override default perms on floppy disk devices provided 63 63 by 50-udev-default.rules. Thanks to Bruce Dubbs for the fix. Closes 64 LFS ticket #2076. 64 LFS ticket #2076. 65 65 66 66 2008-05-21 Bryan Kadzban <bryan@linuxfromscratch.org> … … 146 146 upstream sample rules files (from udev-102), except for one rule 147 147 which is more specific in our tarball and should probably be changed 148 upstream. 148 upstream. 149 149 * doc/60-persistent-storage.txt: Modify to match the changes. Also 150 150 fix a couple typos. -
udev-lfs/Makefile.lfs
r4458e3d r3781c69 16 16 @echo "Use the install target" 17 17 18 install: 18 install: 19 19 @mkdir -pv $(DESTDIR)/lib/udev/rules.d \ 20 20 $(DESTDIR)/etc/udev/rules.d \ -
udev-lfs/init-net-rules.sh
r4458e3d r3781c69 5 5 # Updated fof udev-197 (DEVICES=en*) 6 6 7 RULES=/etc/udev/rules.d/70-persistent-net.rules 7 RULES=/etc/udev/rules.d/70-persistent-net.rules 8 8 DEVICES=$(eval echo /sys/class/net/{en*,eth*,ath*,wlan*[0-9],msh*,ra*,sta*,ctc*,lcs*,hsi*}) 9 9 … … 69 69 70 70 # S/390 uses id matches only, do not use MAC address match 71 # SUBSYSTEMS=="ccwgroup", 72 # export COMMENT="S/390 $driver device at $id", 73 # export MATCHID="$id" 71 # SUBSYSTEMS=="ccwgroup", 72 # export COMMENT="S/390 $driver device at $id", 73 # export MATCHID="$id" 74 74 # export MATCHDRV="$driver" 75 75 # export MATCHADDR="" … … 99 99 msg="The rules file should not be created in the Xen environment" 100 100 usage 101 fi 101 fi 102 102 103 103 # Variables used to communicate with write_net_rules: 104 # INTERFACE simple interface name 104 # INTERFACE simple interface name 105 105 # MATCHADDR MAC address used for the match 106 106 # MATCHID bus_id used for the match … … 125 125 comment 126 126 127 /lib/udev/write_net_rules 127 /lib/udev/write_net_rules 128 128 done 129 129
Note:
See TracChangeset
for help on using the changeset viewer.