Diff for /buildman/install between versions 1.10 and 1.11

version 1.10, 2025/03/11 18:31:25 version 1.11, 2025/03/11 18:34:39
Line 28  TARGET="client" Line 28  TARGET="client"
 TUSER="build:6000"  TUSER="build:6000"
 TGROUP="build:6000"  TGROUP="build:6000"
 BUILDMAN_MASTER=""  BUILDMAN_MASTER=""
 INSTALL_BASE="/usr/local/bin"  INSTALL_BASE="/usr/local"
   
 OS=`uname`  OS=`uname`
   
Line 92  do Line 92  do
             echo "  <buildman-groupname> is the group name owning the files for buildman"              echo "  <buildman-groupname> is the group name owning the files for buildman"
             echo "  <buildman-gid> is the numeric GID of the group owning the buildman files"              echo "  <buildman-gid> is the numeric GID of the group owning the buildman files"
             echo "  <buildman-master> is the primary buildman host, supplied as IP address or FQDN"              echo "  <buildman-master> is the primary buildman host, supplied as IP address or FQDN"
               echo ""
             exit 0              exit 0
             ;;              ;;
     esac      esac
Line 102  T_UID=`echo ${TUSER} | cut -d: -f2` Line 103  T_UID=`echo ${TUSER} | cut -d: -f2`
 T_GRPNAM=`echo ${TGROUP} | cut -d: -f1`  T_GRPNAM=`echo ${TGROUP} | cut -d: -f1`
 T_GID=`echo ${TGROUP} | cut -d: -f2`  T_GID=`echo ${TGROUP} | cut -d: -f2`
   
   BIN_BASE="${INSTALL_BASE}/bin"
   
   if [ ! -d "${BIN_BASE}" ]
   then
       mkdir -p "${BIN_BASE}"
   fi
   
 groupadd -g ${T_GID} ${T_GRPNAM}  groupadd -g ${T_GID} ${T_GRPNAM}
 useradd -u ${T_UID} -g ${T_GRPNAM} -c "BuildMan" -m -d "${BUILDMAN_BASE}" "${T_LOGIN}"  useradd -u ${T_UID} -g ${T_GRPNAM} -c "BuildMan" -m -d "${BUILDMAN_BASE}" "${T_LOGIN}"
   
 install -o ${T_UID} -g ${T_GID} -m 750 bm "${INSTALL_BASE}/bm"  install -o ${T_UID} -g ${T_GID} -m 750 bm "${BIN_BASE}/bm"
 install -o ${T_UID} -g ${T_GID} -m 750 bma "${INSTALL_BASE}/bma"  install -o ${T_UID} -g ${T_GID} -m 750 bma "${BIN_BASE}/bma"
   
 DEF="/etc/default/bm"  DEF="/etc/default/bm"
   

Removed from v.1.10  
changed lines
  Added in v.1.11


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>