Changeset 13 for devel/sshgw
- Timestamp:
- 05/22/07 14:59:00 (5 years ago)
- Location:
- devel/sshgw/bin
- Files:
-
- 2 edited
-
computelibs (modified) (2 diffs)
-
createrootskel (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
devel/sshgw/bin/computelibs
r11 r13 1 1 # Give all symlinks recursively of a full path name 2 LOGFILE=/tmp/computelibs.log 3 2 4 ReadAllLink() { 3 5 file="$1" … … 21 23 22 24 for i in $*; do 23 libs="$libs `ldd $i 2> /dev/null | awk '{if (match($1,/\//)) {print $1} else {if (match($3,/\//)) print $3} fi}'` "25 libs="$libs `ldd $i 2> /dev/null | awk '{if (match($1,/\//)) {print $1} else {if (match($3,/\//)) print $3} fi}'` /lib/libnss_files*" 24 26 for j in $libs; do 25 27 echo "$j" -
devel/sshgw/bin/createrootskel
r11 r13 33 33 34 34 mkdir -p $d/etc 35 cat > $d/etc/passwd << EOF 36 root:x:99:99:Mister Root:/bin/false 37 adm:x:4:4:Mister adm:/bin/false 38 EOF 35 39 cat > $d/etc/group << EOF 36 40 root:x:99: … … 51 55 rpc: files 52 56 services: files 53 EOF54 cat > $d/etc/passwd << EOF55 root:x:99:56 adm:x:4:57 57 EOF 58 58 cp /etc/resolv.conf $d/etc … … 115 115 done 116 116 117 # X11R6/lib is not in the default search path for libs => moved to usr/lib 118 for i in $d/usr/X11R6/lib/*; do 119 mv $i $d/usr/lib 120 done 117 121 118 122 # Adjust modes and rights
Note: See TracChangeset
for help on using the changeset viewer.
