Hello community,

here is the log from the commit of package checkmedia for openSUSE:Factory 
checked in at 2013-12-19 12:39:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/checkmedia (Old)
 and      /work/SRC/openSUSE:Factory/.checkmedia.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "checkmedia"

Changes:
--------
--- /work/SRC/openSUSE:Factory/checkmedia/checkmedia.changes    2012-01-27 
15:17:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.checkmedia.new/checkmedia.changes       
2013-12-19 12:39:21.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Nov  5 13:57:01 CET 2013 - snw...@suse.de
+
+- added github url to spec
+
+-------------------------------------------------------------------
+Thu Oct 31 15:28:26 UTC 2013 - dval...@suse.com
+
+- make sure WORDS_BIGENDIAN is defined correctly where needed
+
+-------------------------------------------------------------------

Old:
----
  checkmedia-3.0.tar.bz2

New:
----
  checkmedia-3.1.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ checkmedia.spec ++++++
--- /var/tmp/diff_new_pack.U27quy/_old  2013-12-19 12:39:21.000000000 +0100
+++ /var/tmp/diff_new_pack.U27quy/_new  2013-12-19 12:39:21.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package checkmedia
 #
-# 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
@@ -16,14 +16,14 @@
 #
 
 
-
 Name:           checkmedia
+Summary:        Check Installation Media
 License:        GPL-3.0+
 Group:          System/Management
-Summary:        Check Installation Media
-Version:        3.0
-Release:        1
-Source:         %{name}-%{version}.tar.bz2
+Version:        3.1
+Release:        0
+Url:            https://github.com/wfeldt/checkmedia.git
+Source:         checkmedia-3.1.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description

++++++ checkmedia-3.0.tar.bz2 -> checkmedia-3.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkmedia-3.0/.gitignore 
new/checkmedia-3.1/.gitignore
--- old/checkmedia-3.0/.gitignore       2012-01-25 10:59:52.000000000 +0100
+++ new/checkmedia-3.1/.gitignore       1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-changelog
-VERSION
-*.o
-*~
-checkmedia
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkmedia-3.0/VERSION new/checkmedia-3.1/VERSION
--- old/checkmedia-3.0/VERSION  2012-01-25 11:11:23.000000000 +0100
+++ new/checkmedia-3.1/VERSION  2013-11-05 13:54:23.000000000 +0100
@@ -1 +1 @@
-3.0
+3.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkmedia-3.0/changelog new/checkmedia-3.1/changelog
--- old/checkmedia-3.0/changelog        2012-01-25 11:11:28.000000000 +0100
+++ new/checkmedia-3.1/changelog        2013-11-05 13:54:23.000000000 +0100
@@ -1,3 +1,7 @@
+2013-11-05:    3.1
+       - make sure WORDS_BIGENDIAN is defined correctly where needed
+         (bigendian.patch) - fixes checkmedia on bigedian platform
+
 2012-01-25:    3.0
        - new major version
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkmedia-3.0/git2log new/checkmedia-3.1/git2log
--- old/checkmedia-3.0/git2log  2012-01-25 10:58:15.000000000 +0100
+++ new/checkmedia-3.1/git2log  1970-01-01 01:00:00.000000000 +0100
@@ -1,163 +0,0 @@
-#! /usr/bin/perl
-
-use Getopt::Long;
-
-sub usage;
-
-usage 0 if !@ARGV;
-
-@deps = qw ( .git/HEAD .git/refs/heads .git/refs/tags );
-
-GetOptions(
-  'help'          => sub { usage 0 },
-  'version'       => \$opt_version,
-  'update'        => \$opt_update,
-  'log|changelog' => \$opt_log,
-) || usage 1;
-
-usage 1 if @ARGV > 1 || !($opt_log || $opt_version);
-$opt_file = @ARGV ? shift : '-';
-
-die "no git repo\n" unless -d ".git";
-
-if($opt_update && $opt_file ne '-' && -f($opt_file)) {
-  $ok = 1;
-
-  $t = (stat $opt_file)[9];
-
-  for (@deps) {
-    $ok = 0 if (stat)[9] > $t;
-  }
-
-  exit 0 if $ok;
-}
-
-for (`git branch`) {
-  if(/^\*\s+(\S+)/) {
-    $branch = $1;
-    last;
-  }
-}
-
-$branch = "master" if $branch eq '(no';
-
-die "no branch?\n" unless $branch;
-
-# print STDERR "writing log for branch $branch\n";
-
-@tags = `git tag`;
-
-chomp @tags;
-
-for (@tags) {
-  if(/^\d/) {
-    s/(\d+)/sprintf "%04d", $1/eg;
-    push @ntags, $_;
-  }
-  elsif(s/^$branch\-//) {
-    s/(\d+)/sprintf "%04d", $1/eg;
-    push @ntags, "$branch-$_";
-  }
-}
-
-@tags = sort @ntags;
-
-die "no tags?\n" unless @tags;
-
-if($opt_version) {
-  $t = $tags[-1];
-  $t =~ s/(\d+)/$1 + 0/eg;
-
-  if(`git log --pretty=medium --date=iso '$t..HEAD'`) {
-    $t =~ s/(\d+)$/$1 + 1/e;
-  }
-
-  $t =~ s/^$branch\-//;
-
-  open F, ">$opt_file";
-  print F "$t\n";
-  close F;
-
-  exit 0;
-}
-
-if($branch ne 'master') {
-  for ($i = 0; $i < @tags; $i++) {
-    if($tags[$i] =~ /^$branch\-(\S+)/) {
-      $i2 = $i;
-      $bi = $1;
-      last;
-    }
-  }
-
-  # print STDERR ">> $branch-$bi\n";
-
-  die "no tags in this branch?\n" unless $bi;
-
-  for ($i = 0; $i < $i2; $i++) {
-    if($tags[$i] eq $bi) {
-      $i1 = $i;
-      last;
-    }
-  }
-
-  splice @tags, $i1, $i2 - $i1;
-}
-
-map { s/(\d+)/$1 + 0/eg } @tags;
-
-# for (@tags) { print "$_\n"; }
-
-push @tags, "HEAD";
-
-open F, ">$opt_file";
-
-for ($i = @tags - 1; $i > 0; $i--) {
-  $date = undef;
-  @t = `git log --pretty=medium --date=iso '$tags[$i-1]..$tags[$i]'`;
-  chomp @t;
-  for (@t) {
-    if(/^Date:\s*(\S+)/) {
-      $date = $1;
-      last;
-    }
-  }
-  @t = grep { !/^(commit|Author:|Date:|Merge:|\s*$)|created.*tag/ } @t;
-  if(@t) {
-    # rewrite a bit to have it look more consistent
-    map { s/(fate|bnc)#/$1 #/g } @t;
-    map { s/\(#/(bnc #/g } @t;
-    map { s/bug\s*#/bnc #/g } @t;
-    map { s/feat(\.|ure)?\s*#?(\d+)/fate #$2/g } @t;
-    map { s/^ {4}// } @t;
-    map { s/^ {8}// } @t;
-    map { s/^([^-\s])/- $1/ } @t;
-    map { s/^- - /- / } @t;
-    map { s/^- \+\s+(- )?/- / } @t;
-    map { s/^/\t/ } @t;
-    $t = $tags[$i];
-    $t = "${branch}-$t" if $branch ne 'master' && $t eq "HEAD";
-    print F "$date:\t$t\n";
-    print F join("\n", @t), "\n\n";
-  }
-}
-
-close F;
-
-sub usage
-{
-  my $err = shift;
-
-  print <<"  usage";
-Usage: git2log [OPTIONS] [FILE]
-Create changelog and project version from git repo.
-  --changelog   Write changelog to FILE.
-  --version     Write version number to FILE.
-  --update      Write changelog or version only if FILE is outdated.
-  --help        Print this help text.
-  usage
-
-  exit $err;
-}
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkmedia-3.0/md5.c new/checkmedia-3.1/md5.c
--- old/checkmedia-3.0/md5.c    2012-01-25 10:28:43.000000000 +0100
+++ new/checkmedia-3.1/md5.c    2013-11-05 13:51:53.000000000 +0100
@@ -33,11 +33,12 @@
 # include "unlocked-io.h"
 #endif
 
-#ifdef _LIBC
 # include <endian.h>
 # if __BYTE_ORDER == __BIG_ENDIAN
 #  define WORDS_BIGENDIAN 1
 # endif
+
+#ifdef _LIBC
 /* We need to keep the namespace clean so define the MD5 function
    protected using leading __ .  */
 # define md5_init_ctx __md5_init_ctx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkmedia-3.0/sha1.c new/checkmedia-3.1/sha1.c
--- old/checkmedia-3.0/sha1.c   2012-01-25 09:47:33.000000000 +0100
+++ new/checkmedia-3.1/sha1.c   2013-11-05 13:51:53.000000000 +0100
@@ -34,6 +34,11 @@
 # include "unlocked-io.h"
 #endif
 
+# include <endian.h>
+# if __BYTE_ORDER == __BIG_ENDIAN
+#  define WORDS_BIGENDIAN 1
+# endif
+
 #ifdef WORDS_BIGENDIAN
 # define SWAP(n) (n)
 #else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkmedia-3.0/sha256.c new/checkmedia-3.1/sha256.c
--- old/checkmedia-3.0/sha256.c 2012-01-25 09:47:33.000000000 +0100
+++ new/checkmedia-3.1/sha256.c 2013-11-05 13:51:53.000000000 +0100
@@ -30,6 +30,11 @@
 # include "unlocked-io.h"
 #endif
 
+# include <endian.h>
+# if __BYTE_ORDER == __BIG_ENDIAN
+#  define WORDS_BIGENDIAN 1
+# endif
+
 #ifdef WORDS_BIGENDIAN
 # define SWAP(n) (n)
 #else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/checkmedia-3.0/sha512.c new/checkmedia-3.1/sha512.c
--- old/checkmedia-3.0/sha512.c 2012-01-25 09:47:33.000000000 +0100
+++ new/checkmedia-3.1/sha512.c 2013-11-05 13:51:53.000000000 +0100
@@ -20,8 +20,6 @@
    Scott G. Miller's sha1.c
 */
 
-#include "sha512.h"
-
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
@@ -30,6 +28,13 @@
 # include "unlocked-io.h"
 #endif
 
+# include <endian.h>
+# if __BYTE_ORDER == __BIG_ENDIAN
+#  define WORDS_BIGENDIAN 1
+# endif
+
+#include "sha512.h"
+
 #ifdef WORDS_BIGENDIAN
 # define SWAP(n) (n)
 #else

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to