Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37494150
en ru br
Репозитории ALT

Группа :: Система/Основа
Пакет: cmospwd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name:           cmospwd
Version:        5.0
Release:        alt2_13
Summary:        BIOS password cracker utility

Group:          System/Base
License:        GPLv2+
URL:            http://www.cgsecurity.org/wiki/CmosPwd
Source0:        http://www.cgsecurity.org/%{name}-%{version}.tar.bz2

# Fails to build on other arches and not useful there either, I think

ExclusiveArch:  %{ix86} x86_64

BuildRequires:  dos2unix
Source44: import.info

%description
CmosPwd decrypts password stored in cmos used to access BIOS SETUP.
Works with the following BIOSes

   * ACER/IBM BIOS
   * AMI BIOS
   * AMI WinBIOS 2.5
   * Award 4.5x/4.6x/6.0
   * Compaq (1992)
   * Compaq (New version)
   * IBM (PS/2, Activa, Thinkpad)
   * Packard Bell
   * Phoenix 1.00.09.AC0 (1994), a486 1.03, 1.04, 1.10 A03, 4.05 rev 1.02.943,
     4.06 rev 1.13.1107
   * Phoenix 4 release 6 (User)
   * Gateway Solo - Phoenix 4.0 release 6
   * Toshiba
   * Zenith AMI

With CmosPwd, you can also backup, restore and erase/kill cmos.


%prep
%setup -q

rm src/%{name}

dos2unix %{name}.txt
iconv -f iso-8859-1 -t utf-8 %{name}.txt > %{name}.new
touch -r %{name}.txt %{name}.new
mv %{name}.new %{name}.txt


%build
cd src
make CFLAGS="%{optflags}" %{?_smp_mflags}


%install
install -D -m 755 src/%{name} $RPM_BUILD_ROOT%{_sbindir}/%{name}


%files
%doc COPYING %{name}.txt
%{_sbindir}/%{name}


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin