Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
rancid-stable
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 19
[-]
[+]
Changed
rancid.changes
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Dec 13 12:04:18 UTC 2013 - cs@linux-administrator.com + +- add files for DELL switches +- add log directory +- add default rancid user to system + +------------------------------------------------------------------- Sun Jan 13 18:12:21 UTC 2013 - cs@linux-administrator.com - Update to version 2.3.8
[-]
[+]
Changed
rancid.spec
^
@@ -6,8 +6,14 @@ Summary: Really Awesome New Cisco confIg Differ URL: http://www.shrubbery.net/rancid/ Source0: %{name}-%{version}.tar.bz2 +Source1: %{name}-dell.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: glibc-devel libgcc gcc gcc-c++ expect >= 5.40 mailx iputils +%if 0%{?suse_version} +Requires(pre): pwdutils +%else + +%endif %if 0%{?fedora_version} || 0%{?centos_version} BuildRequires: expect-devel @@ -25,7 +31,7 @@ switches, Foundry switches, Redback NASs, and ADC EZT3 muxes. %prep -%setup +%setup -a 1 %configure %build @@ -33,13 +39,21 @@ %install %makeinstall +%__install -m755 rancid-dell/{drancid,dlogin} %{buildroot}%{_bindir}/ +%__install -d %{buildroot}/var/log/rancid rm -rf %{buildroot}/%{_datadir}/%{name} + %if 0%{?suse_version} > 1020 # create symlinks for man pages %fdupes -s $RPM_BUILD_ROOT/%{_mandir} %endif find %{buildroot}/%{_mandir} -type f -exec gzip -9 {} \; +%pre +getent group %{name} >/dev/null || groupadd -r %{name} +getent passwd %{name} >/dev/null || useradd -r -g %{name} -d /var/lib/%{name} -s /sbin/nologin -c "user for %{name}" %{name} +exit 0 + %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* @@ -61,6 +75,8 @@ %{_bindir}/clogin %{_bindir}/control_rancid %{_bindir}/cssrancid +%{_bindir}/dlogin +%{_bindir}/drancid %{_bindir}/elogin %{_bindir}/erancid %{_bindir}/f10rancid @@ -165,6 +181,8 @@ %{_mandir}/man5/rancid.conf.5* %{_mandir}/man5/router.db.5* %{_mandir}/man1/fnlogin.1* +%defattr(-,%{name},%{name}) +/var/log/%{name} %doc BUGS CHANGES COPYING FAQ README*
Added
rancid-dell.tar.bz2
^