ALT Linux repositórios
S: | 3.9p1-alt15 |
5.0: | 3.9p1-alt10 |
4.1: | 3.9p1-alt8 |
4.0: | 3.9p1-alt8 |
3.0: | |
+backports: | 3.9p1-alt0.M30.1 |
Group :: Rede/Outros
RPM: openntpd
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: openntpd
Version: 3.9p1
Release: alt0.M30.1
%define privuser ntpd
%define privgroup ntpd
%define privpath /var/empty
Summary: Network daemon for synchronize local clock to remote NTP servers
License: ISC-style
Group: Networking/Other
Url: http://www.openntpd.org
Packager: Ilya Evseev <evseev at altlinux.ru>
# http://ftp.chg.ru/pub/OpenBSD/OpenNTPD/%name-%version.tar.gz
Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/%name-%version.tar.bz2
Source1: ntpd.init
Source2: ntpd.control
Source3: ntpd.sysconfig
Patch: openntpd-3.9p1-alt-setproctitle.patch
PreReq: %privpath
Conflicts: ntpd
BuildRequires: setproctitle-devel, libssl-devel
Summary(ru_RU.KOI8-R): óÅÔÅ×ÏÊ ÓÅÒ×ÅÒ ÄÌÑ ÓÉÎÈÒÏÎÉÚÁÃÉÉ ÔÏÞÎÏÇÏ ×ÒÅÍÅÎÉ
%description
The ntpd daemon synchronizes the local clock to one or more remote NTP
servers, and can also act as an NTP server itself, redistributing the
local time. It implements the Simple Network Time Protocol version 4,
as described in RFC 2030, and the Network Time Protocol version 3,
as described in RFC 1305.
Here is a portable implementation of OpenNTPD, small reliable NTP daemon
initially designed as part of OpenBSD.
%description -l ru_RU.KOI8-R
äÅÍÏÎ NTP ÓÉÎÈÒÏÎÉÚÉÒÕÅÔ ×ÒÅÍÑ × ÌÏËÁÌØÎÙÈ ÓÉÓÔÅÍÎÙÈ ÞÁÓÁÈ Ó ×ÎÅÛÎÉÍÉ
ÓÅÒ×ÅÒÁÍÉ NTP, Á ÔÁËÖÅ ÐÒÉ ÎÅÏÂÈÏÄÉÍÏÓÔÉ ÓÁÍ ×ÙÓÔÕÐÁÅÔ ÓÅÒ×ÅÒÏÍ NTP,
ÓÏÏÂÝÁÑ Ó×Ï£ ÌÏËÁÌØÎÏÅ ×ÒÅÍÑ ÐÏ ÓÅÔÉ ÄÒÕÇÉÍ ËÏÍÐØÀÔÅÒÁÍ.
äÁÎÎÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÒÅÁÌÉÚÁÃÉÀ NTP-ÄÅÍÏÎÁ, ÒÁÚÒÁÂÏÔÁÎÎÕÀ × ÒÁÍËÁÈ
ÏÐÅÒÁÃÉÏÎÎÏÊ ÓÉÓÔÅÍÙ OpenBSD, É ÐÅÒÅÎÅÓ£ÎÎÕÀ ×ÐÏÓÌÅÄÓÔ×ÉÉ ÎÁ ÄÒÕÇÉÅ
ÐÌÁÔÆÏÒÍÙ.
%prep
%setup -q
%patch -p1
%__bzip2 -9k ChangeLog
%build
export LIBS='-lsetproctitle'
%configure \
--with-mantype=doc \
--with-privsep-user=%privuser \
--with-privsep-path=%privpath
%make_build
%install
%makeinstall
%__install -pD -m755 %_sourcedir/ntpd.init %buildroot%_initdir/ntpd
%__install -pD -m755 %_sourcedir/ntpd.control %buildroot%_controldir/ntpd
%__install -pD -m640 %_sourcedir/ntpd.sysconfig %buildroot%_sysconfdir/sysconfig/ntpd
%files
%config(noreplace) %attr(640,root,wheel) %_sysconfdir/ntpd.conf
%config(noreplace) %attr(640,root,wheel) %_sysconfdir/sysconfig/ntpd
%config %_initdir/ntpd
%config %_controldir/ntpd
%_sbindir/ntpd
%_mandir/man*/ntpd.*
%doc CREDITS ChangeLog.bz2 LICENCE README
%pre
/usr/sbin/groupadd -r -f %privgroup >/dev/null 2>&1 ||:
/usr/sbin/useradd -r -n -s /dev/null -g %privgroup -d %privpath -c 'OpenNTP daemon' %privuser >/dev/null 2>&1 ||:
%post
%post_service ntpd
%preun
%preun_service ntpd
%changelog
…
Todas as alterações você pod ver aqui
Version: 3.9p1
Release: alt0.M30.1
%define privuser ntpd
%define privgroup ntpd
%define privpath /var/empty
Summary: Network daemon for synchronize local clock to remote NTP servers
License: ISC-style
Group: Networking/Other
Url: http://www.openntpd.org
Packager: Ilya Evseev <evseev at altlinux.ru>
# http://ftp.chg.ru/pub/OpenBSD/OpenNTPD/%name-%version.tar.gz
Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/%name-%version.tar.bz2
Source1: ntpd.init
Source2: ntpd.control
Source3: ntpd.sysconfig
Patch: openntpd-3.9p1-alt-setproctitle.patch
PreReq: %privpath
Conflicts: ntpd
BuildRequires: setproctitle-devel, libssl-devel
Summary(ru_RU.KOI8-R): óÅÔÅ×ÏÊ ÓÅÒ×ÅÒ ÄÌÑ ÓÉÎÈÒÏÎÉÚÁÃÉÉ ÔÏÞÎÏÇÏ ×ÒÅÍÅÎÉ
%description
The ntpd daemon synchronizes the local clock to one or more remote NTP
servers, and can also act as an NTP server itself, redistributing the
local time. It implements the Simple Network Time Protocol version 4,
as described in RFC 2030, and the Network Time Protocol version 3,
as described in RFC 1305.
Here is a portable implementation of OpenNTPD, small reliable NTP daemon
initially designed as part of OpenBSD.
%description -l ru_RU.KOI8-R
äÅÍÏÎ NTP ÓÉÎÈÒÏÎÉÚÉÒÕÅÔ ×ÒÅÍÑ × ÌÏËÁÌØÎÙÈ ÓÉÓÔÅÍÎÙÈ ÞÁÓÁÈ Ó ×ÎÅÛÎÉÍÉ
ÓÅÒ×ÅÒÁÍÉ NTP, Á ÔÁËÖÅ ÐÒÉ ÎÅÏÂÈÏÄÉÍÏÓÔÉ ÓÁÍ ×ÙÓÔÕÐÁÅÔ ÓÅÒ×ÅÒÏÍ NTP,
ÓÏÏÂÝÁÑ Ó×Ï£ ÌÏËÁÌØÎÏÅ ×ÒÅÍÑ ÐÏ ÓÅÔÉ ÄÒÕÇÉÍ ËÏÍÐØÀÔÅÒÁÍ.
äÁÎÎÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÒÅÁÌÉÚÁÃÉÀ NTP-ÄÅÍÏÎÁ, ÒÁÚÒÁÂÏÔÁÎÎÕÀ × ÒÁÍËÁÈ
ÏÐÅÒÁÃÉÏÎÎÏÊ ÓÉÓÔÅÍÙ OpenBSD, É ÐÅÒÅÎÅÓ£ÎÎÕÀ ×ÐÏÓÌÅÄÓÔ×ÉÉ ÎÁ ÄÒÕÇÉÅ
ÐÌÁÔÆÏÒÍÙ.
%prep
%setup -q
%patch -p1
%__bzip2 -9k ChangeLog
%build
export LIBS='-lsetproctitle'
%configure \
--with-mantype=doc \
--with-privsep-user=%privuser \
--with-privsep-path=%privpath
%make_build
%install
%makeinstall
%__install -pD -m755 %_sourcedir/ntpd.init %buildroot%_initdir/ntpd
%__install -pD -m755 %_sourcedir/ntpd.control %buildroot%_controldir/ntpd
%__install -pD -m640 %_sourcedir/ntpd.sysconfig %buildroot%_sysconfdir/sysconfig/ntpd
%files
%config(noreplace) %attr(640,root,wheel) %_sysconfdir/ntpd.conf
%config(noreplace) %attr(640,root,wheel) %_sysconfdir/sysconfig/ntpd
%config %_initdir/ntpd
%config %_controldir/ntpd
%_sbindir/ntpd
%_mandir/man*/ntpd.*
%doc CREDITS ChangeLog.bz2 LICENCE README
%pre
/usr/sbin/groupadd -r -f %privgroup >/dev/null 2>&1 ||:
/usr/sbin/useradd -r -n -s /dev/null -g %privgroup -d %privpath -c 'OpenNTP daemon' %privuser >/dev/null 2>&1 ||:
%post
%post_service ntpd
%preun
%preun_service ntpd
%changelog
…
Todas as alterações você pod ver aqui