commit 3d32fcb898b4311e2e0e6569d4a74ae2222f06016b2002b978c8c8f7871727e6 Author: OBS User autobuild Date: Tue Feb 9 21:25:26 2010 +0000 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 diff --git a/silo.changes b/silo.changes new file mode 100644 index 0000000..373aeeb --- /dev/null +++ b/silo.changes @@ -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 diff --git a/silo.spec b/silo.spec new file mode 100644 index 0000000..487254b --- /dev/null +++ b/silo.spec @@ -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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/silo-1.4.14+git2.tar.xz b/silo-1.4.14+git2.tar.xz new file mode 100644 index 0000000..c6505ff --- /dev/null +++ b/silo-1.4.14+git2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfc4801897a1c8a2558c7c91bc8089262b89dbb09993e4cb6398b251e5144b3a +size 142368 diff --git a/silo-includes.diff b/silo-includes.diff new file mode 100644 index 0000000..6070de3 --- /dev/null +++ b/silo-includes.diff @@ -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 + +--- + 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 + #include + #include + #include +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 + #include + #include +