Accepting request 31703 from Base:System

Copy from Base:System/silo based on submit request 31703 from user jengelh

OBS-URL: https://build.opensuse.org/request/show/31703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/silo?expand=0&rev=1
This commit is contained in:
OBS User autobuild
2010-02-09 21:25:26 +00:00
committed by Git OBS Bridge
commit 3d32fcb898
7 changed files with 148 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
-------------------------------------------------------------------
Sun Feb 7 13:58:01 UTC 2010 - jengelh@medozas.de
- bundle "COPYING" file
-------------------------------------------------------------------
Thu Dec 31 20:09:18 CET 2009 - jengelh@medozas.de
- initial package
+66
View File
@@ -0,0 +1,66 @@
#
# spec file for package silo (Version 1.4.14+git2)
#
# Copyright (c) 2010 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: silo
Version: 1.4.14+git2
Release: 1
Group: System/Boot
Summary: Bootloader for SPARC systems
License: GPLv2+
Url: http://silo.auxio.org/
#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/bcollins/silo
#Git-Web: http://git.kernel.org/?p=linux/kernel/git/bcollins/silo.git;a=summary
Source: silo-%version.tar.xz
Patch1: silo-includes.diff
ExclusiveArch: sparc sparcv8 sparcv9 sparcv9v
BuildRequires: e2fsprogs-devel elftoaout xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
SILO, the Sparc Improved boot LOader, is a booting loader program
that runs from the PROM of SPARC (32-bit) and UltraSPARC (64-bit)
based systems.
%prep
%setup -qn silo
%patch -P 1 -p1
%build
# Also with stupid makefile so we cannot re-set CFLAGS.
make %{?_smp_mflags}
%install
rm -Rf "%buildroot"
mkdir "%buildroot"
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_sysconfdir/silo.conf"
%post
echo "You probably want to run /sbin/silo now."
%files
%defattr(-,root,root)
/boot/*
/sbin/*
%_bindir/*
%_sbindir/*
%doc %_mandir/*/*
%doc etc/silo.conf
%doc COPYING
%changelog
+24
View File
@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
+4
View File
@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild
View File
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bfc4801897a1c8a2558c7c91bc8089262b89dbb09993e4cb6398b251e5144b3a
size 142368
+42
View File
@@ -0,0 +1,42 @@
second: fix compile errors due to unknown typse
gcc -m32 -Os -Wall -I. -I../include -fomit-frame-pointer
-fno-strict-aliasing -DSMALL_RELOC=0x280000 -DLARGE_RELOC=0x380000
-fno-stack-protector -DTFTP -c -o mainnet.o main.c
In file included from ../include/ext2fs/ext2fs.h:77,
from ./file.h:23,
from file.c:23:
../include/ext2fs/ext2_io.h:39: error: expected declaration
specifiers or '...' before 'size_t'
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
second/file.c | 1 +
second/ls.c | 1 +
2 files changed, 2 insertions(+)
Index: silo/second/file.c
===================================================================
--- silo.orig/second/file.c
+++ silo/second/file.c
@@ -19,6 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. */
+#include <sys/types.h>
#include <silo.h>
#include <file.h>
#include <stringops.h>
Index: silo/second/ls.c
===================================================================
--- silo.orig/second/ls.c
+++ silo/second/ls.c
@@ -18,6 +18,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. */
+#include <sys/types.h>
#include <silo.h>
#include <stringops.h>