Hello community, here is the log from the commit of package autofs for openSUSE:Factory checked in at Thu Feb 12 16:54:41 CET 2009. -------- --- autofs/autofs.changes 2009-02-05 12:07:18.000000000 +0100 +++ autofs/autofs.changes 2009-02-12 12:40:54.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Feb 12 12:40:06 CET 2009 - mkoenig@suse.de + +- add script to fetch upstream patches + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- get-upstream-patches ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autofs.spec ++++++ --- /var/tmp/diff_new_pack.D27872/_old 2009-02-12 16:34:46.000000000 +0100 +++ /var/tmp/diff_new_pack.D27872/_new 2009-02-12 16:34:46.000000000 +0100 @@ -25,7 +25,7 @@ Group: System/Daemons AutoReqProv: on Version: 5.0.4 -Release: 1 +Release: 2 Summary: A Kernel-Based Automounter BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v5/%{name}-%{version}.tar.bz2 @@ -34,6 +34,7 @@ Source4: README.SuSE.ldap Source5: README.SuSE Source7: NetworkManager-autofs +Source8: get-upstream-patches %define patchdate 20090122 Patch0: autofs-%{version}-upstream-patches-%{patchdate}.bz2 Patch10: autofs-suse-auto_master_default.patch @@ -149,6 +150,8 @@ /usr/sbin/automount %changelog +* Thu Feb 12 2009 mkoenig@suse.de +- add script to fetch upstream patches * Wed Feb 04 2009 mkoenig@suse.de - update to version 5.0.4 (just version bump, since all 5.0.3 upstream patches had been already applied) ++++++ get-upstream-patches ++++++ #! /bin/bash # get autofs upstream patched from # http://www.fht.lkams.kernel.org/pub/linux/daemons/autofs/v5/ # and cat them in one bzipped file # autofs-$VERSION-upstream-patches-$DATE # where DATE is the date of the top patch in the series # # usage: get-upstream-patches [VERSION] # default version VERSION=5.0.4 test -n "$1" && VERSION="$1" BASE=http://www.fht.lkams.kernel.org/pub/linux/daemons/autofs/v5 SERIES=patch_order-$VERSION WGET_OPTS=-q PATCHDIR=upstream-patches-$VERSION CURRENT=$PWD DELIMITER=$(mktemp) test -x /usr/bin/wget || { echo "wget is missing!"; exit 1; } test -x /usr/bin/bzip2 || { echo "bzip2 is missing!"; exit 1; } test -x /usr/bin/sed || { echo "sed is missing!"; exit 1; } test -d $PATCHDIR || mkdir $PATCHDIR pushd $PATCHDIR > /dev/null 2>&1 rm -f $SERIES echo "retrieving series file $SERIES" wget $WGET_OPTS $BASE/$SERIES while read patch do if test -r "$patch"; then echo "$patch ...skipping" else echo "$patch ...retrieving" wget $WGET_OPTS $BASE/$patch fi done < $SERIES LAST=$(sed -e "/^$/d" $SERIES | tail -n 1) DATE=$(stat -c "%y" $LAST | cut -d' ' -f 1 | sed "s/-//g") echo > $DELIMITER echo "----------" >> $DELIMITER echo >> $DELIMITER cat $SERIES $DELIMITER $(cat $SERIES) > $CURRENT/autofs-$VERSION-upstream-patches-$DATE rm -f $DELIMITER bzip2 $CURRENT/autofs-$VERSION-upstream-patches-$DATE popd > /dev/null 2>&1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org