"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "freebsd-gen-scc-srv" between
scc-srv-1.20.30.src.tar.gz and scc-srv-1.20.32.src.tar.gz

About: SCC (System Configuration Collector) server generates summaries of scc-data sent by clients (offers a Web interface).

freebsd-gen-scc-srv  (scc-srv-1.20.30.src):freebsd-gen-scc-srv  (scc-srv-1.20.32.src)
skipping to change at line 26 skipping to change at line 26
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING. # along with this program; see the file COPYING.
# If not, write to the Free Software Foundation, # If not, write to the Free Software Foundation,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
# #
# Contact information: https://sourceforge.net/projects/sysconfcollect/support # Contact information: https://sourceforge.net/projects/sysconfcollect/support
# SCC-release: 1.20.30 # SCC-release: 1.20.32
# ID: $Id: freebsd-gen-scc-srv 6217 2019-03-22 18:46:12Z siemkorteweg $ # ID: $Id: freebsd-gen-scc-srv 6217 2019-03-22 18:46:12Z siemkorteweg $
# This program requires to be called in a directory with the following hierarchy : # This program requires to be called in a directory with the following hierarchy :
# #
# install pre/post install scripts # install pre/post install scripts
# software/opt/scc-srv bin, doc and man # software/opt/scc-srv bin, doc and man
# software/var/opt/scc-srv conf, data and newconfig # software/var/opt/scc-srv conf, data and newconfig
# #
# Program relocate is used to change this default hierarchy into FreeBSD practic es: # Program relocate is used to change this default hierarchy into FreeBSD practic es:
# #
# install post install scripts # install post install scripts
# software/usr/local bin, doc and man # software/usr/local bin, doc and man
# software/usr/local/share/scc-srv conf, data and newconfig # software/usr/local/share/scc-srv conf, data and newconfig
# #
# After using this program, the directory contains the file: # After using this program, the directory contains the file:
# #
# scc-srv-1.20.30.FreeBSD.tgz # scc-srv-1.20.32.FreeBSD.tgz
# #
# Provide an alternative version as first argument. # Provide an alternative version as first argument.
# Be aware of the limitations in the format of the version. # Be aware of the limitations in the format of the version.
TESTING="testing" TESTING="testing"
x="$(echo "${TESTING}" 2>/dev/null)" x="$(echo "${TESTING}" 2>/dev/null)"
if [ "${x}" != "${TESTING}" ] if [ "${x}" != "${TESTING}" ]
then then
exec /bin/ksh ${0} "$@" exec /bin/ksh ${0} "$@"
echo "${0}: cannot find ksh" >&2 echo "${0}: cannot find ksh" >&2
exit 2 exit 2
fi fi
ProgName=${0##*/}; export ProgName ProgName=${0##*/}; export ProgName
VERSION=${1:-1.20.30} VERSION=${1:-1.20.32}
my_md5() my_md5()
{ {
exe="$(which md5sum 2>/dev/null)" exe="$(which md5sum 2>/dev/null)"
if [ -x "${exe}" ] if [ -x "${exe}" ]
then then
"${exe}" "${1}" | awk '{ print $1 }' "${exe}" "${1}" | awk '{ print $1 }'
else else
exe="$(which md5 2>/dev/null)" exe="$(which md5 2>/dev/null)"
if [ -x "${exe}" ] if [ -x "${exe}" ]
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)