commit obs-service-verify_file for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-verify_file for openSUSE:Factory checked in at 2016-03-01 09:45:43 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" Changes: --- /work/SRC/openSUSE:Factory/obs-service-verify_file/obs-service-verify_file.changes 2016-02-26 00:37:09.0 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-verify_file.new/obs-service-verify_file.changes 2016-03-01 10:21:07.0 +0100 @@ -4 +4 @@ -- protect parameter handling +- protect parameter handling (boo#967265) Other differences: --
commit obs-service-verify_file for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-verify_file for openSUSE:Factory checked in at 2016-02-25 22:07:39 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" Changes: --- /work/SRC/openSUSE:Factory/obs-service-verify_file/obs-service-verify_file.changes 2015-07-24 09:59:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-verify_file.new/obs-service-verify_file.changes 2016-02-26 00:37:09.0 +0100 @@ -1,0 +2,5 @@ +Tue Feb 16 08:59:36 UTC 2016 - adr...@suse.de + +- protect parameter handling + +--- Other differences: -- ++ obs-service-verify_file.spec ++ --- /var/tmp/diff_new_pack.i3tUaF/_old 2016-02-26 00:37:10.0 +0100 +++ /var/tmp/diff_new_pack.i3tUaF/_new 2016-02-26 00:37:10.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package obs-service-verify_file # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: obs-service-verify_file -Version:0.1 +Version:0.1.1 Release:0 Url:http://build.opensuse.org Summary:An OBS source service: file verification ++ verify_file ++ --- /var/tmp/diff_new_pack.i3tUaF/_old 2016-02-26 00:37:10.0 +0100 +++ /var/tmp/diff_new_pack.i3tUaF/_new 2016-02-26 00:37:10.0 +0100 @@ -63,6 +63,6 @@ ;; esac -filesum=`${VERIFYEXE} "$MYFILE" | cut -f1 -d\ ` +filesum=`${VERIFYEXE} -- "$MYFILE" | cut -f1 -d\ ` exec test "$filesum" = "$MYSUM"
commit obs-service-verify_file for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-verify_file for openSUSE:Factory checked in at 2015-07-24 09:58:58 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 Changes: --- /work/SRC/openSUSE:Factory/obs-service-verify_file/obs-service-verify_file.changes 2013-04-22 14:13:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-verify_file.new/obs-service-verify_file.changes 2015-07-24 09:59:01.0 +0200 @@ -1,0 +2,5 @@ +Wed Jun 3 13:08:40 UTC 2015 - suse-...@gmx.de + +- added file parameter to the service definition + +--- Other differences: -- ++ obs-service-verify_file.spec ++ --- /var/tmp/diff_new_pack.okAJBv/_old 2015-07-24 09:59:02.0 +0200 +++ /var/tmp/diff_new_pack.okAJBv/_new 2015-07-24 09:59:02.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package obs-service-verify_file # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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.service ++ --- /var/tmp/diff_new_pack.okAJBv/_old 2015-07-24 09:59:02.0 +0200 +++ /var/tmp/diff_new_pack.okAJBv/_new 2015-07-24 09:59:02.0 +0200 @@ -11,5 +11,9 @@ descriptionUsed check sum to compare with/description required/ /parameter + parameter name=file +descriptionFile that should be verified/description +required/ + /parameter /service
commit obs-service-verify_file for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-verify_file for openSUSE:Factory checked in at 2013-04-22 14:13: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 2013-03-05 06:46:15.0 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-verify_file.new/obs-service-verify_file.changes 2013-04-22 14:13:15.0 +0200 @@ -1,0 +2,5 @@ +Wed Apr 3 20:52:07 UTC 2013 - fa0...@gmail.com + +- add sha1sum to checksum verifiers + +--- Other differences: -- ++ verify_file ++ --- /var/tmp/diff_new_pack.EXpJ0S/_old 2013-04-22 14:13:15.0 +0200 +++ /var/tmp/diff_new_pack.EXpJ0S/_new 2013-04-22 14:13:15.0 +0200 @@ -27,9 +27,9 @@ shift ;; *) - echo Unknown parameter $1. - echo 'Usage: verify_file --verifier sha256 --checksum e712bbcbc05a707c32eb70fa4a3b0e13b6f0cc11227ff7e4451401e5a49cc729 --outdir $OUT' - echo NOTE: outdir is just a dummy, this service is just for verifing and fails in error case + echo Unknown parameter $1. + echo 'Usage: verify_file --verifier sha256/sha1/md5 --checksum e712bbcbc05a707c32eb70fa4a3b0e13b6f0cc11227ff7e4451401e5a49cc729 --file file_to_verify --outdir $OUT' + echo NOTE: outdir is just a dummy, this service is just for verifing and fails in error case. exit 1 ;; esac @@ -49,10 +49,13 @@ case $MYVERIFIER in sha256) -VERIFEXE='sha256sum' +VERIFYEXE='sha256sum' +;; + sha1) +VERIFYEXE='sha1sum' ;; md5) -VERIFEXE='md5sum' +VERIFYEXE='md5sum' ;; *) echo ERROR: unknown \$MYVERIFIER\ checksum verifier! @@ -60,6 +63,6 @@ ;; esac -filesum=`${VERIFEXE} $MYFILE | cut -f1 -d\ ` +filesum=`${VERIFYEXE} $MYFILE | cut -f1 -d\ ` exec test $filesum = $MYSUM ++ verify_file.service ++ --- /var/tmp/diff_new_pack.EXpJ0S/_old 2013-04-22 14:13:15.0 +0200 +++ /var/tmp/diff_new_pack.EXpJ0S/_new 2013-04-22 14:13:15.0 +0200 @@ -4,6 +4,7 @@ parameter name=verifier descriptionUsed Verification/description allowedvaluesha256/allowedvalue +allowedvaluesha1/allowedvalue allowedvaluemd5/allowedvalue /parameter parameter name=checksum -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit obs-service-verify_file for openSUSE:Factory
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.0 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-verify_file.new/obs-service-verify_file.changes 2013-03-05 06:46:15.0 +0100 @@ -1,0 +2,5 @@ +Fri Mar 1 09:29:28 UTC 2013 - fa0...@gmail.com + +- 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.0 +0100 +++ /var/tmp/diff_new_pack.XeLR4p/_new 2013-03-05 06:46:17.0 +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.0 +0100 +++ /var/tmp/diff_new_pack.XeLR4p/_new 2013-03-05 06:46:17.0 +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: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit obs-service-verify_file for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-verify_file for openSUSE:Factory checked in at 2012-09-14 12:32:18 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-04-17 22:00:22.0 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-verify_file.new/obs-service-verify_file.changes 2012-09-14 12:32:21.0 +0200 @@ -1,0 +2,5 @@ +Fri Jun 22 07:11:23 UTC 2012 - rene.vanpaas...@gmail.com + +- added a requirement on perl-MD5 for Fedora 17 + +--- Other differences: -- ++ obs-service-verify_file.spec ++ --- /var/tmp/diff_new_pack.UO7OFE/_old 2012-09-14 12:32:21.0 +0200 +++ /var/tmp/diff_new_pack.UO7OFE/_new 2012-09-14 12:32:21.0 +0200 @@ -27,6 +27,9 @@ Source1:verify_file.service Source2:LICENSE.txt Requires: coreutils +%if 0%{?fedora_version} = 17 +Requires: perl-MD5 +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit obs-service-verify_file for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-verify_file for openSUSE:Factory checked in at 2012-04-17 22:00: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-03-27 08:57:19.0 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-verify_file.new/obs-service-verify_file.changes 2012-04-17 22:00:22.0 +0200 @@ -1,0 +2,5 @@ +Thu Apr 12 13:01:43 UTC 2012 - sasc...@suse.de + +- Change license to MIT (see bnc#753973) and provide a copy of the license text + +--- New: LICENSE.txt Other differences: -- ++ obs-service-verify_file.spec ++ --- /var/tmp/diff_new_pack.G6zkBt/_old 2012-04-17 22:00:25.0 +0200 +++ /var/tmp/diff_new_pack.G6zkBt/_new 2012-04-17 22:00:25.0 +0200 @@ -21,10 +21,11 @@ Release:0 Url:http://build.opensuse.org Summary:An OBS source service: file verification -License:GPL-2.0+ +License:MIT Group: Development/Tools/Building Source: verify_file Source1:verify_file.service +Source2:LICENSE.txt Requires: coreutils BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -36,6 +37,7 @@ %prep %setup -q -D -T 0 -n . +cp %{SOURCE2} . %build @@ -46,6 +48,7 @@ %files %defattr(-,root,root) +%doc LICENSE.txt %dir %{_prefix}/lib/obs %{_prefix}/lib/obs/service ++ LICENSE.txt ++ MIT License Copyright (c) 2012 SUSE LINUX Products GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the Software), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit obs-service-verify_file for openSUSE:Factory
Hello community, here is the log from the commit of package obs-service-verify_file for openSUSE:Factory checked in at 2012-03-27 08:57:18 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: New Changes file: --- /dev/null 2012-03-17 10:42:43.883537212 +0100 +++ /work/SRC/openSUSE:Factory/.obs-service-verify_file.new/obs-service-verify_file.changes 2012-03-27 08:57:19.0 +0200 @@ -0,0 +1,13 @@ +--- +Tue Mar 20 10:35:07 UTC 2012 - sasc...@suse.de + +- Renamed spec/changes file to OBS package name to please factory-auto review +- Added spec file license header +- Set license to SDPX style (GPL-2.0+ + +--- +Mon May 17 14:26:35 UTC 2010 - adr...@suse.de + +- initial package of version 0.1 + sha256sum verification only supported atm + New: obs-service-verify_file.changes obs-service-verify_file.spec verify_file verify_file.service Other differences: -- ++ obs-service-verify_file.spec ++ # # spec file for package obs-service-verify_file # # Copyright (c) 2012 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An Open Source License is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: obs-service-verify_file Version:0.1 Release:0 Url:http://build.opensuse.org Summary:An OBS source service: file verification License:GPL-2.0+ Group: Development/Tools/Building Source: verify_file Source1:verify_file.service Requires: coreutils BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description This is a source service for openSUSE Build Service. It allows to verify a file with a given sha256sum %prep %setup -q -D -T 0 -n . %build %install mkdir -p %{buildroot}%{_prefix}/lib/obs/service install -m 0755 %{SOURCE0} %{buildroot}%{_prefix}/lib/obs/service install -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/obs/service %files %defattr(-,root,root) %dir %{_prefix}/lib/obs %{_prefix}/lib/obs/service %changelog ++ verify_file ++ #!/bin/bash # Verify a given file with given check # This could get extended with gpg verification for example. # defaults MYVERIFIER=sha256 MYSUM= MYFILE= while test $# -gt 0; do case $1 in *-verifier) MYVERIFIER=$2 shift ;; *-checksum|*-check-sum) MYSUM=$2 shift ;; *-file) MYFILE=$2 shift ;; *-outdir) MYOUTDIR=$2 shift ;; *) echo Unknown parameter $1. echo 'Usage: verify_file --verifier sha256 --checksum e712bbcbc05a707c32eb70fa4a3b0e13b6f0cc11227ff7e4451401e5a49cc729 --outdir $OUT' echo NOTE: outdir is just a dummy, this service is just for verifing and fails in error case exit 1 ;; esac shift done FILE=${PATH##*/} if [ -z $MYSUM ]; then echo ERROR: no checksum given! exit 1 fi if [ -z $MYFILE ]; then echo ERROR: no file is given via --file parameter! exit 1 fi filesum=`sha256sum $MYFILE | cut -f1 -d\ ` exec test $filesum = $MYSUM ++ verify_file.service ++ service name=verify_file summaryVerify a file/summary descriptionThe service verfies a file against a given checksum to detect file changes./description parameter name=verifier descriptionUsed Verification/description allowedvaluesha256/allowedvalue allowedvaluemd5/allowedvalue /parameter parameter name=checksum descriptionUsed check sum to compare with/description required/ /parameter /service -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org