Репозитории ALT
S: | 4.04-alt19 |
D: | 3.61-alt1 |
5.1: | 3.63-alt4 |
4.1: | 3.36-alt2 |
4.0: | 3.36-alt2 |
3.0: | 2.11-alt1 |
Группа :: Система/Ядро и оборудование
Пакет: syslinux
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: syslinux
Version: 3.36
Release: alt2
Summary: Simple kernel loader which boots from a FAT filesystem
License: GPL
Group: System/Kernel and hardware
Url: http://syslinux.zytor.com/
Source0: %name-%version.tar.bz2
Source1: isolinux-config
Patch0: syslinux-3.36-gfx.patch
#BuildPrereq: nasm perl-base
# Automatically added by buildreq on Tue May 23 2006
BuildRequires: nasm
#linux-libc-headers
%description
Syslinux is a simple kernel loader. It normally loads the kernel (and an
optional initrd image) from a FAT filesystem. It can also be used as a
PXE bootloader during network boots.
%package devel
Summary: Simple kernel loader which boots from a FAT filesystem, devel path
Group: System/Kernel and hardware
Requires: %name = %version
%description devel
Read main packages description
%prep
%setup -q
%patch0 -p1
find ./ -type f -name Makefile | \
while read f; do
sed -i 's|^CC\s*=\s*\(.*\)$|CC = \1 -fno-stack-protector|' $f
sed -i 's|-march=i386||g' $f
done
sed -i 's|\(./add_crc\)|%__perl ./add_crc|g' Makefile
# disable e820test TODO:
%ifarch x86_64
sed -i 's|all:\s*memdisk\s*e820test|all: memdisk|' memdisk/Makefile
sed -i "s|^BSUBDIRS\s*=.*|BSUBDIRS = memdisk|" Makefile
%else
sed -i "s|^BSUBDIRS\s*=.*|BSUBDIRS = memdisk dos|" Makefile
%endif
%build
%make_build CC="gcc -fno-stack-protector"
%install
%make_install \
INSTALLDIR=%buildroot \
INSTALLROOT=%buildroot \
BINDIR=%_bindir \
install
install -m 0755 %SOURCE1 %buildroot/%_bindir
%files
%doc NEWS README* *.doc COPYING BUGS TODO com32/modules/mboot.doc memdisk/memdisk.doc
%_bindir/*
/sbin/extlinux
%dir %_libexecdir/%name/
%_libexecdir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 3.36
Release: alt2
Summary: Simple kernel loader which boots from a FAT filesystem
License: GPL
Group: System/Kernel and hardware
Url: http://syslinux.zytor.com/
Source0: %name-%version.tar.bz2
Source1: isolinux-config
Patch0: syslinux-3.36-gfx.patch
#BuildPrereq: nasm perl-base
# Automatically added by buildreq on Tue May 23 2006
BuildRequires: nasm
#linux-libc-headers
%description
Syslinux is a simple kernel loader. It normally loads the kernel (and an
optional initrd image) from a FAT filesystem. It can also be used as a
PXE bootloader during network boots.
%package devel
Summary: Simple kernel loader which boots from a FAT filesystem, devel path
Group: System/Kernel and hardware
Requires: %name = %version
%description devel
Read main packages description
%prep
%setup -q
%patch0 -p1
find ./ -type f -name Makefile | \
while read f; do
sed -i 's|^CC\s*=\s*\(.*\)$|CC = \1 -fno-stack-protector|' $f
sed -i 's|-march=i386||g' $f
done
sed -i 's|\(./add_crc\)|%__perl ./add_crc|g' Makefile
# disable e820test TODO:
%ifarch x86_64
sed -i 's|all:\s*memdisk\s*e820test|all: memdisk|' memdisk/Makefile
sed -i "s|^BSUBDIRS\s*=.*|BSUBDIRS = memdisk|" Makefile
%else
sed -i "s|^BSUBDIRS\s*=.*|BSUBDIRS = memdisk dos|" Makefile
%endif
%build
%make_build CC="gcc -fno-stack-protector"
%install
%make_install \
INSTALLDIR=%buildroot \
INSTALLROOT=%buildroot \
BINDIR=%_bindir \
install
install -m 0755 %SOURCE1 %buildroot/%_bindir
%files
%doc NEWS README* *.doc COPYING BUGS TODO com32/modules/mboot.doc memdisk/memdisk.doc
%_bindir/*
/sbin/extlinux
%dir %_libexecdir/%name/
%_libexecdir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь