- version 3.1
OBS-URL: https://build.opensuse.org/package/show/system:install:head/checkmedia?expand=0&rev=18
This commit is contained in:
parent
2545cc69ae
commit
90f1722b67
@ -1,77 +0,0 @@
|
|||||||
Index: checkmedia-3.0/md5.c
|
|
||||||
===================================================================
|
|
||||||
--- checkmedia-3.0.orig/md5.c
|
|
||||||
+++ checkmedia-3.0/md5.c
|
|
||||||
@@ -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
|
|
||||||
Index: checkmedia-3.0/sha1.c
|
|
||||||
===================================================================
|
|
||||||
--- checkmedia-3.0.orig/sha1.c
|
|
||||||
+++ checkmedia-3.0/sha1.c
|
|
||||||
@@ -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
|
|
||||||
Index: checkmedia-3.0/sha256.c
|
|
||||||
===================================================================
|
|
||||||
--- checkmedia-3.0.orig/sha256.c
|
|
||||||
+++ checkmedia-3.0/sha256.c
|
|
||||||
@@ -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
|
|
||||||
Index: checkmedia-3.0/sha512.c
|
|
||||||
===================================================================
|
|
||||||
--- checkmedia-3.0.orig/sha512.c
|
|
||||||
+++ checkmedia-3.0/sha512.c
|
|
||||||
@@ -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
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cdb9e6cc8c79f6004c3dfb3e31659684c0e68ddb5c20ede481c614ff9ab216e7
|
|
||||||
size 31886
|
|
3
checkmedia-3.1.tar.bz2
Normal file
3
checkmedia-3.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8db90d21f4f7ba146aa2db07e2dcd9b7a99899ae136cf65e8ba1811bd5c7f620
|
||||||
|
size 30651
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 5 13:57:01 CET 2013 - snwint@suse.de
|
||||||
|
|
||||||
|
- added github url to spec
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 31 15:28:26 UTC 2013 - dvaleev@suse.com
|
Thu Oct 31 15:28:26 UTC 2013 - dvaleev@suse.com
|
||||||
|
|
||||||
|
@ -20,10 +20,10 @@ Name: checkmedia
|
|||||||
Summary: Check Installation Media
|
Summary: Check Installation Media
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Version: 3.0
|
Version: 3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Url: https://github.com/wfeldt/checkmedia.git
|
||||||
Patch0: bigendian.patch
|
Source: checkmedia-3.1.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -31,7 +31,6 @@ Checks installation CDs and DVDs for errors.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
Loading…
Reference in New Issue
Block a user