Diff for /embedaddon/build.sh between versions 1.4.2.2 and 1.5

version 1.4.2.2, 2011/10/21 08:01:15 version 1.5, 2011/10/31 12:56:54
Line 1 Line 1
 #!/bin/sh  #!/bin/sh
 #  #
# (C)`10 PKG-Builder for ELWIX by Michael Pounov <misho@elwix.org># (C)`10 PKG-Builder for elwix by Michael Pounov <misho@elwix.org>
 #  #
# ./build.sh [package] [os_specific_build_set] [prefix_dir] [other_make_opts ...]# ./build.sh [package] [prefix_dir] [os_specific_set] [other_make_opts ...]
 #  #
 # $Id$  # $Id$
 #  #
Line 10 Line 10
 CMD=$1  CMD=$1
 MK=${2:-make}  MK=${2:-make}
 P=${3:-/tmp}  P=${3:-/tmp}
   B=$4
 PFX="--prefix ${P}"  PFX="--prefix ${P}"
shift; shift; shift;shift; shift; shift; shift;
 echo ">>> Working script ${MK} into ${PFX}"  echo ">>> Working script ${MK} into ${PFX}"
   
   if [ -n "${B}" ]; then
           PFX="${PFX} --build ${B}"
   fi
   
 TOP=$(pwd)  TOP=$(pwd)
 echo ">>> TOPDIR=${TOP}"  echo ">>> TOPDIR=${TOP}"
   
Line 23  case $CMD in Line 28  case $CMD in
 #               [ ! -r config.log ] && \  #               [ ! -r config.log ] && \
                 ./configure --sysconfdir=/etc --libexecdir=/usr/libexec --with-ignore-dot \                  ./configure --sysconfdir=/etc --libexecdir=/usr/libexec --with-ignore-dot \
                                         --with-tty-tickets --with-env-editor --with-logincap \                                          --with-tty-tickets --with-env-editor --with-logincap \
                                        --with-long-otp-prompt --with-pam --with-logfac=local2 ${PFX}                                        --with-long-otp-prompt --with-pam --with-logfac=local2 \
                                         ${PFX}
                 ${MK} clean                  ${MK} clean
                 ${MK}                  ${MK}
                install src/sudo ${P}/bin                ${MK} install
                ln ${P}/bin/sudo ${P}/bin/sudoedit 
                install plugins/sudoers/sudoreplay ${P}/bin 
                install plugins/sudoers/visudo ${P}/sbin 
                install plugins/sudoers/.libs/sudoers.so ${P}/libexec 
                install src/.libs/libsudo_noexec.so ${P}/libexec 
                 echo ">>> Now rebuild elwix firmware image ..."                  echo ">>> Now rebuild elwix firmware image ..."
                 ;;                  ;;
         ntpd)          ntpd)
Line 429  case $CMD in Line 430  case $CMD in
                 ./configure --without-python ${PFX}                  ./configure --without-python ${PFX}
                 ${MK} clean                  ${MK} clean
                 ${MK}                  ${MK}
#                ${MK} install                ${MK} install
                 cd ..                  cd ..
                 cd php                  cd php
 #               [ ! -r config.log ] && \  #               [ ! -r config.log ] && \

Removed from v.1.4.2.2  
changed lines
  Added in v.1.5


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