"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bld/pkg-wrapper" between
dnsmasq-2.80.tar.gz and dnsmasq-2.81.tar.xz

About: Dnsmasq is a lightweight caching DNS forwarder and DHCP server.

pkg-wrapper  (dnsmasq-2.80):pkg-wrapper  (dnsmasq-2.81.tar.xz)
skipping to change at line 14 skipping to change at line 14
shift shift
pkg=$1 pkg=$1
shift shift
op=$1 op=$1
shift shift
in=`cat` in=`cat`
if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h >/dev/null 2>&1 || \ if grep "^\#[[:space:]]*define[[:space:]]*$search" config.h >/dev/null 2>&1 || \
echo $in | grep $search >/dev/null 2>&1; then echo $in | grep $search >/dev/null 2>&1; then
# Nasty, nasty, in --copy, arg 2 is another config to search for, use with NO_GM P # Nasty, nasty, in --copy, arg 2 (if non-empty) is another config to search for, used with NO_GMP
if [ $op = "--copy" ]; then if [ $op = "--copy" ]; then
if grep "^\#[[:space:]]*define[[:space:]]*$pkg" config.h >/dev/null 2>&1 if [ -z "$pkg" ]; then
|| \ pkg="$*"
echo $in | grep $pkg >/dev/null 2>&1; then elif grep "^\#[[:space:]]*define[[:space:]]*$pkg" config.h >/dev/null 2>&
1 || \
echo $in | grep $pkg >/dev/null 2>&1; then
pkg="" pkg=""
else else
pkg="$*" pkg="$*"
fi fi
elif grep "^\#[[:space:]]*define[[:space:]]*${search}_STATIC" config.h >/dev /null 2>&1 || \ elif grep "^\#[[:space:]]*define[[:space:]]*${search}_STATIC" config.h >/dev /null 2>&1 || \
echo $in | grep ${search}_STATIC >/dev/null 2>&1; then echo $in | grep ${search}_STATIC >/dev/null 2>&1; then
pkg=`$pkg --static $op $*` pkg=`$pkg --static $op $*`
else else
pkg=`$pkg $op $*` pkg=`$pkg $op $*`
fi fi
if grep "^\#[[:space:]]*define[[:space:]]*${search}_STATIC" config.h >/dev/n ull 2>&1 || \ if grep "^\#[[:space:]]*define[[:space:]]*${search}_STATIC" config.h >/dev/n ull 2>&1 || \
echo $in | grep ${search}_STATIC >/dev/null 2>&1; then echo $in | grep ${search}_STATIC >/dev/null 2>&1; then
if [ $op = "--libs" ] || [ $op = "--copy" ]; then if [ $op = "--libs" ] || [ $op = "--copy" ]; then
echo "-Wl,-Bstatic $pkg -Wl,-Bdynamic" echo "-Wl,-Bstatic $pkg -Wl,-Bdynamic"
else else
echo "$pkg" echo "$pkg"
fi fi
else else
echo "$pkg" echo "$pkg"
fi fi
fi fi
 End of changes. 4 change blocks. 
6 lines changed or deleted 8 lines changed or added

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