libnetwork.lib,autospec.spec: do not require "host"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
37b7784608
commit
f6f0d6445f
@ -22,6 +22,13 @@ Wed Apr 18 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
|||||||
* pck-update, lib/libnetwork.lib - Davide Madrisan:
|
* pck-update, lib/libnetwork.lib - Davide Madrisan:
|
||||||
`host' is not required by pck-update; move the requirement to libnetwork.
|
`host' is not required by pck-update; move the requirement to libnetwork.
|
||||||
|
|
||||||
|
+ update
|
||||||
|
* lib/libnetwork.lib.in - Davide Madrisan:
|
||||||
|
Do not require 'host'. Just display a warning message when not available.
|
||||||
|
This tool (and the package 'bind-utils') is not available in early stage
|
||||||
|
platform development.
|
||||||
|
(Asked by Silvan Calarco.)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.9.4
|
Changes in version 1.9.4
|
||||||
|
@ -17,7 +17,8 @@ Requires(pre): rpm
|
|||||||
Requires: cpio, coreutils, curl, findutils, grep, sed
|
Requires: cpio, coreutils, curl, findutils, grep, sed
|
||||||
Requires: /bin/mktemp
|
Requires: /bin/mktemp
|
||||||
Requires: /usr/bin/getopt
|
Requires: /usr/bin/getopt
|
||||||
Requires: /usr/bin/host
|
# host (and 'bind-utils') is not available in early stage platform development
|
||||||
|
#Requires: /usr/bin/host
|
||||||
Requires: bzip2
|
Requires: bzip2
|
||||||
Requires: gzip
|
Requires: gzip
|
||||||
Requires: unzip
|
Requires: unzip
|
||||||
@ -144,7 +145,11 @@ make install DESTDIR=%{buildroot} prefix=%{_prefix}
|
|||||||
* @date@ Davide Madrisan <davide.madrisan@gmail.com> @version@-@release@
|
* @date@ Davide Madrisan <davide.madrisan@gmail.com> @version@-@release@
|
||||||
- update to @version@
|
- update to @version@
|
||||||
|
|
||||||
|
* Wed Apr 18 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.9.4-1mamba
|
||||||
|
- update to 1.9.4
|
||||||
|
|
||||||
* Sun Apr 01 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.9.3-1mamba
|
* Sun Apr 01 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.9.3-1mamba
|
||||||
|
- update to 1.9.3
|
||||||
|
|
||||||
* Sun Feb 05 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.9.2-1mamba
|
* Sun Feb 05 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.9.2-1mamba
|
||||||
- update to 1.9.2
|
- update to 1.9.2
|
||||||
|
@ -19,7 +19,9 @@ fi
|
|||||||
TEXTDOMAIN="libnetwork"; export TEXTDOMAIN
|
TEXTDOMAIN="libnetwork"; export TEXTDOMAIN
|
||||||
|
|
||||||
# check if all the needed tools are available
|
# check if all the needed tools are available
|
||||||
for tool in curl host mktemp; do
|
# note: 'host' has been removed from this list because the package
|
||||||
|
# bind-utils is not available in early stage platform development
|
||||||
|
for tool in curl mktemp; do
|
||||||
[ "$(type -p curl)" ] || notify.error $"utility not found"": \`curl'"
|
[ "$(type -p curl)" ] || notify.error $"utility not found"": \`curl'"
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -32,7 +34,11 @@ function repository.is_reachable() {
|
|||||||
[ "$ftpserver" ] || notify.error $"\
|
[ "$ftpserver" ] || notify.error $"\
|
||||||
(bug)"" -- $FUNCNAME: "$"missing mandatory arg"" (#1)"
|
(bug)"" -- $FUNCNAME: "$"missing mandatory arg"" (#1)"
|
||||||
|
|
||||||
host -W3 $ftpserver >&/dev/null
|
if [ "$(type -p host)" ]; then
|
||||||
|
host -W3 $ftpserver >&/dev/null
|
||||||
|
else
|
||||||
|
notify.warning $"utility not found"": \`host'"
|
||||||
|
fi
|
||||||
return $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user