Hello community,
here is the log from the commit of package obs-service-verify_file for
openSUSE:Factory checked in at 2013-03-05 06:46:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-verify_file (Old)
and /work/SRC/openSUSE:Factory/.obs-service-verify_file.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "obs-service-verify_file", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/obs-service-verify_file/obs-service-verify_file.changes
2012-09-14 12:32:21.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.obs-service-verify_file.new/obs-service-verify_file.changes
2013-03-05 06:46:15.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Mar 1 09:29:28 UTC 2013 - [email protected]
+
+- allow to switch among the provided checksum verifiers
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ obs-service-verify_file.spec ++++++
--- /var/tmp/diff_new_pack.XeLR4p/_old 2013-03-05 06:46:17.000000000 +0100
+++ /var/tmp/diff_new_pack.XeLR4p/_new 2013-03-05 06:46:17.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package obs-service-verify_file
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
++++++ verify_file ++++++
--- /var/tmp/diff_new_pack.XeLR4p/_old 2013-03-05 06:46:17.000000000 +0100
+++ /var/tmp/diff_new_pack.XeLR4p/_new 2013-03-05 06:46:17.000000000 +0100
@@ -47,6 +47,19 @@
exit 1
fi
-filesum=`sha256sum "$MYFILE" | cut -f1 -d\ `
+case "$MYVERIFIER" in
+ sha256)
+ VERIFEXE='sha256sum'
+ ;;
+ md5)
+ VERIFEXE='md5sum'
+ ;;
+ *)
+ echo "ERROR: unknown \"$MYVERIFIER\" checksum verifier!"
+ exit 1
+ ;;
+esac
+
+filesum=`${VERIFEXE} "$MYFILE" | cut -f1 -d\ `
exec test "$filesum" = "$MYSUM"
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]