Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/packaging/Solaris/makepkg.sh

    r414 r988  
    1 #!/bin/sh
     1#!/bin/sh -e
    22#
    33# Copyright (C) Shirish A Kalele 2000
     
    1313MSGFILES="de.msg en.msg fi.msg fr.msg it.msg ja.msg nl.msg pl.msg tr.msg"
    1414VFSLIBS="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"
    1615CHARSETLIBS="CP437.so CP850.so"
    1716AUTHLIBS="script.so"
     
    3635                echo f none lib/$file 0644 root other
    3736        done
    38         for file in $DATFILES; do
    39                 echo f none lib/$file 0644 root other
    40         done
    4137        for file in $VFSLIBS; do
    4238                echo f none lib/vfs/$file 0755 root other
     
    5147        echo "#\n# libsmbclient\n#"
    5248        echo f none lib/libsmbclient.so 0755 root other
    53         echo f none lib/libsmbclient.a 0755 root other
    5449        echo f none include/libsmbclient.h 0644 root other
    5550
    5651        echo "#\n# libmsrpc\n#"
    57         echo f none lib/libmsrpc.so 0755 root other
    58         echo f none lib/libmsrpc.a 0755 root other
    59         echo f none include/libmsrpc.h 0644 root other
    6052
    6153        if [ -f lib/smbwrapper.so -a -f bin/smbsh ]; then
     
    7769
    7870        # Create directories for man page sections if nonexistent
    79         cd man
     71        cd share/man
    8072        for i in 1 2 3 4 5 6 7 8 9; do
     73                set +e
    8174                manpages=`ls man$i 2>/dev/null`
     75                set -e
    8276                if [ $? -eq 0 ]; then
    83                         echo d none man/man${i} ? ? ?
     77                        echo d none share/man/man${i} ? ? ?
    8478                        for manpage in $manpages; do
    85                                 echo f none man/man${i}/${manpage} 0644 root other
     79                                echo f none share/man/man${i}/${manpage} 0644 root other
    8680                        done
    8781                fi
    8882        done
    89         cd ..
     83        cd ../..
    9084
    9185        echo "#\n# SWAT \n#"
     
    129123cd $DISTR_BASE/source
    130124
    131 if test "x$1" = "xbuild" ]; then
     125if test "x$1" = "xbuild" -o ! -f bin/smbd ]; then
    132126        ./configure --prefix=$INSTALL_BASE \
    133127                --localstatedir=/var/lib/samba \
     
    137131                --with-configdir=/etc/samba \
    138132                --with-lockdir=/var/lib/samba \
     133                --with-mandir=/usr/share/man \
    139134                --with-pam --with-acl-support \
    140135                --with-quotas --with-included-popt \
     
    147142fi
    148143       
    149 mkdir $TMPINSTALLDIR
     144rm -rf $TMPINSTALLDIR
     145mkdir -p $TMPINSTALLDIR
    150146make DESTDIR=$TMPINSTALLDIR install
    151147
     
    156152## Now get the install locations
    157153##
     154LD_LIBRARY_PATH=$DISTR_BASE/source/bin
     155export LD_LIBRARY_PATH
    158156SBINDIR=`bin/smbd -b | grep SBINDIR | awk '{print $2}'`
    159157BINDIR=`bin/smbd -b | grep BINDIR | grep -v SBINDIR |  awk '{print $2}'`
Note: See TracChangeset for help on using the changeset viewer.