Changeset 988 for vendor/current/packaging/Solaris/makepkg.sh
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/packaging/Solaris/makepkg.sh
r414 r988 1 #!/bin/sh 1 #!/bin/sh -e 2 2 # 3 3 # Copyright (C) Shirish A Kalele 2000 … … 13 13 MSGFILES="de.msg en.msg fi.msg fr.msg it.msg ja.msg nl.msg pl.msg tr.msg" 14 14 VFSLIBS="audit.so default_quota.so extd_audit.so full_audit.so readonly.so shadow_copy.so cap.so expand_msdfs.so fake_perms.so netatalk.so recycle.so" 15 DATFILES="lowcase.dat upcase.dat valid.dat"16 15 CHARSETLIBS="CP437.so CP850.so" 17 16 AUTHLIBS="script.so" … … 36 35 echo f none lib/$file 0644 root other 37 36 done 38 for file in $DATFILES; do39 echo f none lib/$file 0644 root other40 done41 37 for file in $VFSLIBS; do 42 38 echo f none lib/vfs/$file 0755 root other … … 51 47 echo "#\n# libsmbclient\n#" 52 48 echo f none lib/libsmbclient.so 0755 root other 53 echo f none lib/libsmbclient.a 0755 root other54 49 echo f none include/libsmbclient.h 0644 root other 55 50 56 51 echo "#\n# libmsrpc\n#" 57 echo f none lib/libmsrpc.so 0755 root other58 echo f none lib/libmsrpc.a 0755 root other59 echo f none include/libmsrpc.h 0644 root other60 52 61 53 if [ -f lib/smbwrapper.so -a -f bin/smbsh ]; then … … 77 69 78 70 # Create directories for man page sections if nonexistent 79 cd man71 cd share/man 80 72 for i in 1 2 3 4 5 6 7 8 9; do 73 set +e 81 74 manpages=`ls man$i 2>/dev/null` 75 set -e 82 76 if [ $? -eq 0 ]; then 83 echo d none man/man${i} ? ? ?77 echo d none share/man/man${i} ? ? ? 84 78 for manpage in $manpages; do 85 echo f none man/man${i}/${manpage} 0644 root other79 echo f none share/man/man${i}/${manpage} 0644 root other 86 80 done 87 81 fi 88 82 done 89 cd .. 83 cd ../.. 90 84 91 85 echo "#\n# SWAT \n#" … … 129 123 cd $DISTR_BASE/source 130 124 131 if test "x$1" = "xbuild" ]; then125 if test "x$1" = "xbuild" -o ! -f bin/smbd ]; then 132 126 ./configure --prefix=$INSTALL_BASE \ 133 127 --localstatedir=/var/lib/samba \ … … 137 131 --with-configdir=/etc/samba \ 138 132 --with-lockdir=/var/lib/samba \ 133 --with-mandir=/usr/share/man \ 139 134 --with-pam --with-acl-support \ 140 135 --with-quotas --with-included-popt \ … … 147 142 fi 148 143 149 mkdir $TMPINSTALLDIR 144 rm -rf $TMPINSTALLDIR 145 mkdir -p $TMPINSTALLDIR 150 146 make DESTDIR=$TMPINSTALLDIR install 151 147 … … 156 152 ## Now get the install locations 157 153 ## 154 LD_LIBRARY_PATH=$DISTR_BASE/source/bin 155 export LD_LIBRARY_PATH 158 156 SBINDIR=`bin/smbd -b | grep SBINDIR | awk '{print $2}'` 159 157 BINDIR=`bin/smbd -b | grep BINDIR | grep -v SBINDIR | awk '{print $2}'`
Note:
See TracChangeset
for help on using the changeset viewer.