rpms/aboot/devel aboot-1.0.doc_install_fix.patch, NONE, 1.1 aboot-optflags.patch, NONE, 1.1 aboot.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Oliver Falk (oliver) fedora-extras-commits at redhat.com
Sat Sep 29 05:13:11 UTC 2007


Author: oliver

Update of /cvs/pkgs/rpms/aboot/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25672/devel

Modified Files:
	.cvsignore sources 
Added Files:
	aboot-1.0.doc_install_fix.patch aboot-optflags.patch 
	aboot.spec 
Log Message:

Initial import. Review bz#294641


aboot-1.0.doc_install_fix.patch:

--- NEW FILE aboot-1.0.doc_install_fix.patch ---
diff -up aboot-1.0_pre20040408/doc/man/Makefile.install_fix aboot-1.0_pre20040408/doc/man/Makefile
--- aboot-1.0_pre20040408/doc/man/Makefile.install_fix	2007-09-17 11:36:51.000000000 +0200
+++ aboot-1.0_pre20040408/doc/man/Makefile	2007-09-17 11:42:28.000000000 +0200
@@ -32,20 +32,20 @@ clean:
 	rm -f aboot.8 aboot.conf.5 abootconf.8 isomarkboot.1 sdisklabel.8 netabootwrap.1 manpage.log manpage.links manpage.refs
 
 aboot.8: aboot.sgml
-	nsgmls aboot.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
+	docbook2man aboot.sgml
 
 aboot.conf.5: aboot.conf.sgml
-	nsgmls aboot.conf.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
+	docbook2man aboot.conf.sgml
 
 abootconf.8: abootconf.sgml
-	nsgmls abootconf.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
+	docbook2man abootconf.sgml
 
 isomarkboot.1: isomarkboot.sgml
-	nsgmls isomarkboot.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
+	docbook2man isomarkboot.sgml
 
 netabootwrap.1: netabootwrap.sgml
-	nsgmls netabootwrap.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
+	docbook2man netabootwrap.sgml
 
 sdisklabel.8: sdisklabel.sgml
-	nsgmls sdisklabel.sgml | sgmlspl sgmlspl-specs/docbook2man-spec.pl
+	docbook2man sdisklabel.sgml

aboot-optflags.patch:

--- NEW FILE aboot-optflags.patch ---
diff -up aboot-1.0_pre20040408/Makefile.optflags aboot-1.0_pre20040408/Makefile
--- aboot-1.0_pre20040408/Makefile.optflags	2007-09-27 15:31:38.000000000 +0200
+++ aboot-1.0_pre20040408/Makefile	2007-09-27 15:32:03.000000000 +0200
@@ -18,6 +18,7 @@ VMLINUXGZ	= $(KSRC)/arch/alpha/boot/vmli
 
 # for boot testing
 #CFGDEFS       	= -DDEBUG_ISO -DDEBUG_ROCK -DDEBUG_EXT2 -DDEBUG
+CFGDEFS = $(OPTFLAGS)
 
 # root, aka prefix
 root		=


--- NEW FILE aboot.spec ---
%define			prever	pre20040408
Summary:		A bootloader which can be started from the SRM console
Name:			aboot
Version:		1.0
Release:		0.1.%{prever}%{?dist}
ExclusiveArch:	alpha
License:		GPLv2+
Group:			System Environment/Base
URL:			http://www.sf.net/projects/aboot
Source0:		http://aboot.sourceforge.net/tarballs/aboot-%{version}_%{prever}.tar.bz2
Patch0:			aboot_1.0~%{prever}-2.diff.gz
Patch1:			aboot-1.0.doc_install_fix.patch
Patch2:			aboot-optflags.patch
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires:	kernel-devel, docbook-utils

%description
The aboot program is the preferred way of booting Linux when using SRM
firmware (the firmware normally used to boot an DEC UNIX). Aboot supports
the creation of bootable block devices and contains a program which can
load Linux kernels from a filesystem which is bootable by SRM.  Aboot
also supports direct booting from various filesystems (ext2, ISO9660,
UFS), booting of executable object files (ELF and ECOFF), booting of
compressed kernels, network booting (using bootp), partition tables in
DEC UNIX format, and interactive booting and default configurations for
SRM consoles that cannot pass long option strings.

If you are installing Fedora or Red Hat Linux on an Alpha, you'll need to
install the aboot package.

%prep
%setup -q -n %{name}-%{version}_%{prever}
%patch0 -p1
%patch1 -p1 -b .doc_install_fix
%patch2 -p1 -b .optflags

%build
sed -ie "s^KSRC.*=.*$^KSRC=/lib/modules/`uname -r`/build^" Makefile
export OPTFLAGS="%{optflags}"
make
cd doc/man && make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
chmod go= $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
make root=$RPM_BUILD_ROOT bindir=$RPM_BUILD_ROOT/sbin install

mv -f sdisklabel/README sdisklabel/README-sdisklabel || true

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc INSTALL README ChangeLog TODO aboot.conf sdisklabel/README-sdisklabel COPYING
%attr(644, root, root) /boot/bootlx
/sbin/abootconf
/sbin/e2writeboot
/sbin/isomarkboot
/sbin/swriteboot
%defattr(0644,root,root)
%{_mandir}/man8/*
%{_mandir}/man5/*
%{_mandir}/man1/*

%changelog
* Thu Sep 27 2007 Oliver Falk <oliver at linux-kernel.at> - 1.0-0.1.pre20040408
- bz#294641:
  - New versioning - versioning guidelines
  - Add patch to add global rpm cflags and use 'em
  - Fix manpage attrs - defattr

* Fri Sep 21 2007 Oliver Falk <oliver at linux-kernel.at> - 1.0_pre20040408-2
- Fix some rpmlint warnings, bz#294641
- Fix license: GPLv2+, bz#294641

* Mon Aug 20 2007 Oliver Falk <oliver at linux-kernel.at> - 1.0_pre20040408-1
- Rebuild in koji
- Cleanup spec; Merge RH, AC, MDK spec
- To be included into upstream fp.o hopefully

* Mon Apr  18 2005 Balint Cristian <rezso at rdsor.ro>
- Latest from CVS
- Build for alphacore 1.0
- Fix build with 2.6

* Tue Nov 30 1999 Matt Wilson <msw at redhat.com>
- changed to use ext2 patch based from Ruediger Oertel <ro at suse.de>

* Mon Nov 22 1999 Matt Wilson <msw at redhat.com>
- patched ext2 read code to deal with rev1 filesystems
- added a patch to properly guess IDE cdroms
  (well, sort of)

* Tue Sep 07 1999 Cristian Gafton <gafton at redhat.com>
- add patch to allow it to boot on *large* disks

* Mon Apr 26 1999 Cristian Gafton <gafton at redhat.com>
- patch from Jay Estabrook to make it work with EXT2 filesystems larger
  than 2Gb

* Sun Mar 21 1999 Cristian Gafton <gafton at redhat.com> 
- auto rebuild in the new build environment (release 9)

* Tue Jan 19 1999 Erik Troan <ewt at redhat.com>
- built for Red HAt 6.0

* Tue Sep 15 1998 Richard Henderson <rth at cygnus.com>
- use aboot.lds for elf, so that the phdr comes out right.
- relax the need to have a compiled kernel installed.
- make sdisklabel take partition sizes in sectors, not kilobytes.

* Thu Aug 20 1998 Maciej W. Rozycki <macro at ds2.pg.gda.pl>
- corrected a small but essential error in the ELF patch

* Mon Aug  3 1998 Maciej W. Rozycki <macro at ds2.pg.gda.pl>
- added a patch to allow booting of ELF images created with binutils >= 2.9
- compiled against glibc 2.0.94

* Sun May 31 1998 Maciej W. Rozycki <macro at ds2.pg.gda.pl>
- made changes needed for glibc2 and 2.1.x kernels



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/aboot/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Sep 2007 21:31:56 -0000	1.1
+++ .cvsignore	29 Sep 2007 05:12:37 -0000	1.2
@@ -0,0 +1,2 @@
+aboot-1.0_pre20040408.tar.bz2
+aboot_1.0~pre20040408-2.diff.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/aboot/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Sep 2007 21:31:56 -0000	1.1
+++ sources	29 Sep 2007 05:12:37 -0000	1.2
@@ -0,0 +1,2 @@
+ac1214102d8304f326655e3e36d89847  aboot-1.0_pre20040408.tar.bz2
+4958ed11b630af923417d0950229704a  aboot_1.0~pre20040408-2.diff.gz




More information about the fedora-extras-commits mailing list