Репозитории ALT
S: | 9.4.0-alt2 |
D: | 4.0.0-alt0.1.rc4 |
5.1: | 4.0.15-alt4.M51.1 |
4.1: | 3.0.17-alt4 |
4.0: | 3.0.17-alt2.M40.1 |
3.0: | 1.3.22pl4-alt3 |
+backports: | 3.0.17-alt3.M30 |
Группа :: Система/Серверы
Пакет: dhcpcd
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: dhcpcd
%define major 1.3.22
%define minor pl4
Version: %major%minor
Release: alt3
%define srcname %name-%major-%minor
Summary: DHCP Client Daemon
License: GPL
Group: System/Servers
Url: http://www.phystech.com/download/%name.html
Source: ftp://ftp.phystech.com/pub/%srcname.tar.bz2
Patch1: %name-1.3.22pl4-alt-ntp_drift.patch
Patch2: %name-1.3.22pl4-alt-no_false_rename.patch
Patch3: %name-1.3.22pl4-mdk-alt-piddir.patch
Patch4: %name-1.3.22pl4-alt-config.patch
%description
This is an RFC2131,RFC2132, and RFC1541 compliant DHCP client daemon.
RFC1541 was obsoleted by RFC2131, but there are still some RFC1541
compliant DHCP servers. dhcpcd gets an IP address and other information
from a corresponding DHCP server, configures the network interface
automatically, and tries to renew the lease time according to RFC2131
or RFC1541 depending on the command line option.
%prep
%setup -q -n %srcname
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
%configure
%make_build DEFS="$RPM_OPT_FLAGS"
%install
%__install -pD -m755 %name $RPM_BUILD_ROOT/sbin/%name
%__install -pD -m644 %name.8 $RPM_BUILD_ROOT%_man8dir/%name.8
%__install -pD -m700 %name.exe $RPM_BUILD_ROOT/%_sysconfdir/dhcpc/%name.exe
%files
%config(noreplace) %_sysconfdir/dhcpc
/sbin/*
%_mandir/man?/*
%doc AUTHORS ChangeLog NEWS README *.lsm %name.exe
%changelog
…
Полный changelog можно просмотреть здесь
%define major 1.3.22
%define minor pl4
Version: %major%minor
Release: alt3
%define srcname %name-%major-%minor
Summary: DHCP Client Daemon
License: GPL
Group: System/Servers
Url: http://www.phystech.com/download/%name.html
Source: ftp://ftp.phystech.com/pub/%srcname.tar.bz2
Patch1: %name-1.3.22pl4-alt-ntp_drift.patch
Patch2: %name-1.3.22pl4-alt-no_false_rename.patch
Patch3: %name-1.3.22pl4-mdk-alt-piddir.patch
Patch4: %name-1.3.22pl4-alt-config.patch
%description
This is an RFC2131,RFC2132, and RFC1541 compliant DHCP client daemon.
RFC1541 was obsoleted by RFC2131, but there are still some RFC1541
compliant DHCP servers. dhcpcd gets an IP address and other information
from a corresponding DHCP server, configures the network interface
automatically, and tries to renew the lease time according to RFC2131
or RFC1541 depending on the command line option.
%prep
%setup -q -n %srcname
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
%configure
%make_build DEFS="$RPM_OPT_FLAGS"
%install
%__install -pD -m755 %name $RPM_BUILD_ROOT/sbin/%name
%__install -pD -m644 %name.8 $RPM_BUILD_ROOT%_man8dir/%name.8
%__install -pD -m700 %name.exe $RPM_BUILD_ROOT/%_sysconfdir/dhcpc/%name.exe
%files
%config(noreplace) %_sysconfdir/dhcpc
/sbin/*
%_mandir/man?/*
%doc AUTHORS ChangeLog NEWS README *.lsm %name.exe
%changelog
…
Полный changelog можно просмотреть здесь