89bf5d
%global _use_internal_dependency_generator 0
89bf5d
89bf5d
%global contentdir       %{_localstatedir}/www/%{name}
89bf5d
%global libdir           %{_localstatedir}/lib/mrtg
89bf5d
89bf5d
Summary:   Multi Router Traffic Grapher
89bf5d
Name:      mrtg
89bf5d
Version:   2.17.7
89bf5d
Release:   1%{?dist}
89bf5d
URL:       http://oss.oetiker.ch/mrtg/
89bf5d
Source0:   http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz
89bf5d
Source1:   http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz.md5
89bf5d
# Source2: configuration file example
89bf5d
Source2:   mrtg.cfg
89bf5d
# Source3: script for filtering out false perl requires
89bf5d
Source3:   filter-requires-mrtg.sh
89bf5d
# Source4: configuration for Apache
89bf5d
Source5:   mrtg-httpd.conf
89bf5d
# Source6: script for filtering out false perl provides
89bf5d
Source6:   filter-provides-mrtg.sh
89bf5d
# Source7: tmpfiles rule
89bf5d
Source7:   mrtg.tmpfiles
89bf5d
# Source8: systemd service file
89bf5d
Source8:   mrtg.service
89bf5d
# Source9: systemd timer file
89bf5d
Source9:   mrtg.timer
89bf5d
Patch0:    mrtg-2.15.0-lib64.patch
89bf5d
Patch1:    mrtg-2.17.2-socket6-fix.patch
89bf5d
# Patch2: some devices return 2**32-2 on ifSpeed (e. g. IBM FibreChannel switches)
89bf5d
Patch2:    mrtg-2.17.4-cfgmaker-ifhighspeed.patch
89bf5d
License:   GPLv2+
89bf5d
Group:     Applications/Internet
89bf5d
Requires(post): systemd-units
89bf5d
Requires(preun): systemd-units
89bf5d
Requires(postun): systemd-units
89bf5d
Requires:  perl-Socket6 perl-IO-Socket-INET6
89bf5d
Requires:  gd
89bf5d
BuildRequires: gd-devel, libpng-devel
89bf5d
BuildRequires: perl-generators
89bf5d
BuildRequires: systemd-units
89bf5d
89bf5d
%global __find_requires %{SOURCE3}
89bf5d
%global __find_provides %{SOURCE6}
89bf5d
89bf5d
%description
89bf5d
The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic
89bf5d
load on network-links. MRTG generates HTML pages containing PNG
89bf5d
images which provide a LIVE visual representation of this traffic.
89bf5d
89bf5d
%prep
89bf5d
%setup -q
89bf5d
%patch0 -p1 -b .lib64
89bf5d
%patch1 -p1 -b .socket6
89bf5d
%patch2 -p1 -b .ifhighspeed
89bf5d
89bf5d
for i in doc/mrtg-forum.1 doc/mrtg-squid.1 CHANGES; do
89bf5d
    iconv -f iso-8859-1 -t utf-8 < "$i" > "${i}_"
89bf5d
    mv "${i}_" "$i"
89bf5d
done
89bf5d
89bf5d
# Remove contribution useful on Windows only
89bf5d
rm -rf contrib/nt-services
89bf5d
89bf5d
%build
89bf5d
%configure
89bf5d
# Don't link rateup statically, don't link to indirect dependencies
89bf5d
# LIBS derived from autodetected by removing -Wl,-B(static|dynamic), -lpng, -lz
89bf5d
make LIBS='-lgd -lm'
89bf5d
find contrib -type f -exec \
89bf5d
    %{__perl} -e 's,^#!/\s*\S*perl\S*,#!%{__perl},gi' -p -i \{\} \;
89bf5d
find contrib -name "*.pl" -exec %{__perl} -e 's;\015;;gi' -p -i \{\} \;
89bf5d
find contrib -type f | xargs chmod a-x
89bf5d
89bf5d
%install
89bf5d
rm -rf   $RPM_BUILD_ROOT
89bf5d
make install DESTDIR=$RPM_BUILD_ROOT
89bf5d
89bf5d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/mrtg
89bf5d
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/mrtg
89bf5d
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lock/mrtg
89bf5d
mkdir -p $RPM_BUILD_ROOT%{contentdir}
89bf5d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
89bf5d
89bf5d
install -m 644 images/*   $RPM_BUILD_ROOT%{contentdir}/
89bf5d
sed 's,@CONTENTDIR@,%{contentdir},g; s,@LIBDIR@,%{_localstatedir}/lib/mrtg,g' \
89bf5d
    %{SOURCE2} > $RPM_BUILD_ROOT%{_sysconfdir}/mrtg/mrtg.cfg
89bf5d
chmod 644 $RPM_BUILD_ROOT%{_sysconfdir}/mrtg/mrtg.cfg
89bf5d
89bf5d
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/mrtg.conf
89bf5d
89bf5d
mkdir -p $RPM_BUILD_ROOT/%{_tmpfilesdir}
89bf5d
install -p -D -m 644 %{SOURCE7} $RPM_BUILD_ROOT/%{_tmpfilesdir}/mrtg.conf
89bf5d
89bf5d
# install systemd files
89bf5d
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
89bf5d
install -p -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_unitdir}/mrtg.service
89bf5d
install -p -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_unitdir}/mrtg.timer
89bf5d
89bf5d
# Add mrtg-traffic-sum here when upstream decides to install it
89bf5d
for i in mrtg cfgmaker indexmaker mrtg-traffic-sum; do
89bf5d
    sed -i 's;@@lib@@;%{_lib};g' "$RPM_BUILD_ROOT"%{_bindir}/"$i"
89bf5d
done
89bf5d
89bf5d
sed -i 's;@@lib@@;%{_lib};g' "$RPM_BUILD_ROOT"%{_mandir}/man1/*.1
89bf5d
89bf5d
%post
89bf5d
install -d -m 0755 -o root -g root /var/lock/mrtg
89bf5d
restorecon /var/lock/mrtg
89bf5d
%systemd_post mrtg.service
89bf5d
89bf5d
%preun
89bf5d
if [ $1 -eq 0 ]; then
89bf5d
  # Package removal, not upgrade
89bf5d
  rm -rf /var/lock/mrtg
89bf5d
fi
89bf5d
%systemd_preun mrtg.service
89bf5d
89bf5d
%postun
89bf5d
%systemd_postun_with_restart mrtg.service 
89bf5d
89bf5d
%files
89bf5d
%license COPYING
89bf5d
%doc contrib CHANGES COPYRIGHT README THANKS
89bf5d
%dir %{_sysconfdir}/mrtg
89bf5d
%config(noreplace) %{_sysconfdir}/mrtg/mrtg.cfg
89bf5d
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mrtg.conf
89bf5d
%{contentdir}
89bf5d
%{_bindir}/*
89bf5d
%{_libdir}/mrtg2
89bf5d
%exclude %{_libdir}/mrtg2/Pod
89bf5d
%{_mandir}/*/*
89bf5d
%exclude %{_datadir}/mrtg2/icons
89bf5d
%exclude %{_datadir}/doc/mrtg2
89bf5d
%dir %{_localstatedir}/lib/mrtg
89bf5d
%{_tmpfilesdir}/mrtg.conf
89bf5d
%ghost /var/lock/mrtg
89bf5d
%{_unitdir}/mrtg.service
89bf5d
%{_unitdir}/mrtg.timer
89bf5d
89bf5d
%changelog
89bf5d
* Mon Aug 13 2018 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.7-1
89bf5d
- Use %%license
89bf5d
- Update to mrtg-2.17.7
89bf5d
  Resolves: #1615340
89bf5d
89bf5d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.4-21
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
89bf5d
89bf5d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.4-20
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
89bf5d
89bf5d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.4-19
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
89bf5d
89bf5d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.4-18
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
89bf5d
89bf5d
* Mon Sep 07 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-17
89bf5d
- Fix cfgmaker uninitialized value errors
89bf5d
  Resolves: #1260062
89bf5d
89bf5d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.4-16
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
89bf5d
89bf5d
* Mon Jan 19 2015 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-15
89bf5d
- Fix packaging of tmpfiles
89bf5d
- Fix bogus dates in the changelog
89bf5d
89bf5d
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.4-14
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
89bf5d
89bf5d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.4-13
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
89bf5d
89bf5d
* Tue Jan 21 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-12
89bf5d
- Fix wrong SELinux context of /var/lock/mrtg
89bf5d
89bf5d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.4-11
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
89bf5d
89bf5d
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 2.17.4-10
89bf5d
- Perl 5.18 rebuild
89bf5d
89bf5d
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 2.17.4-9
89bf5d
- rebuild for new GD 2.1.0
89bf5d
89bf5d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.4-8
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
89bf5d
89bf5d
* Mon Dec 10 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-7
89bf5d
- Apply patch #3
89bf5d
89bf5d
* Thu Nov 29 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-6
89bf5d
- Comment sources
89bf5d
89bf5d
* Wed Oct 31 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-5
89bf5d
- Update mrtg-httpd.conf to work with httpd 2.4
89bf5d
  Resolves: #871434
89bf5d
89bf5d
* Wed Aug 22 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-4
89bf5d
- Use new systemd-rpm macros
89bf5d
  Resolves: #850215
89bf5d
89bf5d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.4-3
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
89bf5d
89bf5d
* Thu Jun 28 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-2
89bf5d
- Fix cfgmaker don't use ifHighSpeed on IBM FibreChannel switches
89bf5d
  (patch by Peter Bieringer)
89bf5d
89bf5d
* Thu Mar 01 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-1
89bf5d
- Update to mrtg-2.17.4
89bf5d
- Use unitdir macro when creating directory for systemd units
89bf5d
89bf5d
* Mon Jan 09 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.3-2
89bf5d
- Fix 'undefined subroutine &SNMP_Session::inet_ntop called at
89bf5d
  /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 549.' error
89bf5d
89bf5d
* Wed Dec 07 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.3-1
89bf5d
- Update to mrtg-2.17.3
89bf5d
89bf5d
* Mon Oct 31 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.2-6
89bf5d
- Remove contribution useful on Windows only from documentation
89bf5d
  Resolves: #749426
89bf5d
89bf5d
* Sun Oct  2 2011 Tom Callaway <spot@fedoraproject.org> - 2.17.2-5
89bf5d
- Resolve bugzilla 732587
89bf5d
89bf5d
* Thu Sep  8 2011 Tom Callaway <spot@fedoraproject.org> - 2.17.2-4
89bf5d
- add missing systemd scriptlets
89bf5d
- drop cron.d config (systemd handles it now)
89bf5d
89bf5d
* Wed Aug 24 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.2-3
89bf5d
- Ship systemd files
89bf5d
  Resolves: #696147
89bf5d
89bf5d
* Thu Mar 24 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.2-2
89bf5d
- Use %%ghost for /var/lock/mrtg
89bf5d
  Resolves: #656629
89bf5d
89bf5d
* Tue Feb 22 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.2-1
89bf5d
- Update to mrtg-2.17.2
89bf5d
89bf5d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.17.0-2
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
89bf5d
89bf5d
* Wed Dec 15 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.0-1
89bf5d
- Update to mrtg-2.17.0
89bf5d
89bf5d
* Mon Dec 13 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.4-4
89bf5d
- Resurrect part of the previous patch lost by mistake
89bf5d
89bf5d
* Mon Dec 13 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.4-3
89bf5d
- Import also getaddrinfo in SNMP_Session.pm
89bf5d
  Resolves: #662116
89bf5d
89bf5d
* Mon Nov 22 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2.16.4-2
89bf5d
- resolve conflict with Socket6 (see bz 438931, 442884, 652158)
89bf5d
89bf5d
* Mon Sep 27 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.4-1
89bf5d
- Update to mrtg-2.16.4
89bf5d
89bf5d
* Wed Apr  7 2010 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.3-1
89bf5d
- Update to mrtg-2.16.3
89bf5d
89bf5d
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.16.2-4
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
89bf5d
89bf5d
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.16.2-3
89bf5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
89bf5d
89bf5d
* Thu Dec 11 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.2-2
89bf5d
- Merge Review and spec cleanup
89bf5d
  Resolves: #226161
89bf5d
89bf5d
* Fri Jun 27 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.2-1
89bf5d
- Update to 2.16.2
89bf5d
- Mark /etc/crond.d/mrtg file as "noreplace" to keep current setup
89bf5d
  during mrtg update
89bf5d
  Related: #391261
89bf5d
- Fix mrtg complains of undefined subroutine AF_UNSPEC
89bf5d
  Resolves: #451783
89bf5d
89bf5d
* Fri Jun  6 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.1-3
89bf5d
- Add gd graphic library to Requires
89bf5d
  Resolves: #446533
89bf5d
89bf5d
* Tue Apr 22 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.16.1-2
89bf5d
- Rebuild
89bf5d
  Resolves: #443116
89bf5d
89bf5d
* Fri Apr 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.16.1-1
89bf5d
- Update to 2.16.1
89bf5d
- fix perl noise (bz 438931, 442884)
89bf5d
89bf5d
* Mon Feb 11 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.15.1-8
89bf5d
- Fix Buildroot
89bf5d
89bf5d
* Fri Jan 18 2008 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.15.1-7
89bf5d
- Rebuild
89bf5d
89bf5d
* Mon Oct 15 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.15.1-6
89bf5d
- Fix another two bad perl provides
89bf5d
89bf5d
* Thu Sep 20 2007 Vitezslav Crhonek <vcrhonek@redhat.com> 2.15.1-5
89bf5d
- Fix bad provides
89bf5d
89bf5d
* Thu Aug 23 2007 Vitezslav Crhonek <vcrhonek@redhat.com> 2.15.1-4
89bf5d
- fix license
89bf5d
- rebuild
89bf5d
89bf5d
* Fri Jun  8 2007 Vitezslav Crhonek <vcrhonek@redhat.com> 2.15.1-3
89bf5d
- Rebuild
89bf5d
89bf5d
* Thu Jun  7 2007 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.15.1-2
89bf5d
- Specfile update, because upstream decides to install mrtg-traffic-sum
89bf5d
  Resolves: #243112
89bf5d
89bf5d
* Mon Feb 12 2007 Miloslav Trmac <mitr@redhat.com> - 2.15.1-1
89bf5d
- Update to mrtg-2.15.1
89bf5d
89bf5d
* Wed Dec  6 2006 Miloslav Trmac <mitr@redhat.com> - 2.15.0-1
89bf5d
- Update to mrtg-2.15.0
89bf5d
- Don't use Prereq: for /sbin/service
89bf5d
- Use (sed -i) instead of perl to make the regexps more readable
89bf5d
89bf5d
* Tue Oct 24 2006 Miloslav Trmac <mitr@redhat.com> - 2.14.7-1
89bf5d
- Update to mrtg-2.14.7
89bf5d
89bf5d
* Wed Aug 30 2006 Miloslav Trmac <mitr@redhat.com> - 2.14.5-2
89bf5d
- Add Requires: perl-Socket6 perl-IO-Socket-INET6 for IPv6 support
89bf5d
89bf5d
* Sun Jul 16 2006 Miloslav Trmac <mitr@redhat.com> - 2.14.5-1
89bf5d
- Update to mrtg-2.14.5
89bf5d
89bf5d
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.14.4-1.1
89bf5d
- rebuild
89bf5d
89bf5d
* Wed Jul  5 2006 Miloslav Trmac <mitr@redhat.com> - 2.14.4-1
89bf5d
- Update to mrtg-2.14.4
89bf5d
89bf5d
* Mon May 15 2006 Miloslav Trmac <mitr@redhat.com> - 2.14.3-1
89bf5d
- Update to mrtg-2.14.3
89bf5d
89bf5d
* Sat Mar 18 2006 Miloslav Trmac <mitr@redhat.com> - 2.13.2-1
89bf5d
- Update to mrtg-2.13.2
89bf5d
89bf5d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.13.0-1.2
89bf5d
- bump again for double-long bug on ppc(64)
89bf5d
89bf5d
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.13.0-1.1
89bf5d
- rebuilt for new gcc4.1 snapshot and glibc changes
89bf5d
89bf5d
* Mon Jan 30 2006 Miloslav Trmac <mitr@redhat.com> - 2.13.0-1
89bf5d
- Update to mrtg-2.13.0
89bf5d
89bf5d
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
89bf5d
- rebuilt
89bf5d
89bf5d
* Mon Sep 12 2005 Miloslav Trmac <mitr@redhat.com> - 2.12.2-2
89bf5d
- Add LANG and LC_ALL definition to cron script for easier copying to command
89bf5d
  line (#167530)
89bf5d
- Don't ship MANIFEST and a very obsolete version of 14all.cgi
89bf5d
- Fix rewriting of perl paths to /usr/bin/perl in contrib scripts
89bf5d
- Make contrib scripts unexecutable to avoid unnecessary rpm dependencies;
89bf5d
  remove unnecessary entries from filter-requires-mrtg.sh
89bf5d
89bf5d
* Mon Jun 20 2005 Miloslav Trmac <mitr@redhat.com> - 2.12.2-1
89bf5d
- Update to mrtg-2.12.2
89bf5d
89bf5d
* Wed May 25 2005 Miloslav Trmac <mitr@redhat.com> - 2.12.1-2
89bf5d
- Remove included old version of PodParser (#158735)
89bf5d
89bf5d
* Tue May 17 2005 Miloslav Trmac <mitr@redhat.com> - 2.12.1-1
89bf5d
- Update to mrtg-2.12.1
89bf5d
- Remove unnecessary BuildRequires, Requires
89bf5d
- Don't link rateup to libpng and libz
89bf5d
89bf5d
* Sun Mar 13 2005 Miloslav Trmac <mitr@redhat.com> - 2.11.1-3
89bf5d
- Fix Timezone[] handling in html output (#149296)
89bf5d
89bf5d
* Fri Mar  4 2005 Miloslav Trmac <mitr@redhat.com> - 2.11.1-2
89bf5d
- Rebuild with gcc 4
89bf5d
89bf5d
* Thu Jan  6 2005 Miloslav Trmac <mitr@redhat.com> - 2.11.1-1
89bf5d
- Update to mrtg-2.11.1
89bf5d
89bf5d
* Mon Dec 13 2004 Miloslav Trmac <mitr@redhat.com> - 2.11.0-1
89bf5d
- Update to mrtg-2.11.0
89bf5d
- Don't install HTML documentation to /var/www/mrtg
89bf5d
- Clean up %%install a bit
89bf5d
89bf5d
* Tue Nov 23 2004 Miloslav Trmac <mitr@redhat.com> - 2.10.15-3
89bf5d
- Convert man pages to UTF-8
89bf5d
89bf5d
* Mon Nov 22 2004 Jindrich Novy <jnovy@redhat.com> 2.10.15-2
89bf5d
- remove bogus characters from man pages to prevent
89bf5d
  man displaying the page is in wrong encoding (#139341)
89bf5d
89bf5d
* Tue Aug 17 2004 Miloslav Trmac <mitr@redhat.com> - 2.10.15-1
89bf5d
- Update to 2.10.15
89bf5d
- Use a more generic URL
89bf5d
- Don't link rateup statically
89bf5d
- Move threshold and log files to /var/lib/mrtg, lock files to /var/lock/mrtg
89bf5d
89bf5d
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
89bf5d
- rebuilt
89bf5d
89bf5d
* Tue Apr 20 2004 Joe Orton <jorton@redhat.com> 2.10.5-3
89bf5d
- Allow/Deny by address in conf.d/mrtg.conf (#113089)
89bf5d
89bf5d
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
89bf5d
- rebuilt
89bf5d
89bf5d
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
89bf5d
- rebuilt
89bf5d
89bf5d
* Sat Oct 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
89bf5d
- update to 2.10.5
89bf5d
- to not set LD_RUN_PATH
89bf5d
89bf5d
* Sat Aug  2 2003 Joe Orton <jorton@redhat.com> 2.9.29-5
89bf5d
- rebuild
89bf5d
89bf5d
* Fri Aug  1 2003 Joe Orton <jorton@redhat.com> 2.9.29-4.ent
89bf5d
- move default output directory to /var/www/mrtg
89bf5d
89bf5d
* Mon Jun  9 2003 Nalin Dahyabhai <nalin@redhat.com> 2.9.28-4
89bf5d
- disable use of RPM's internal dependency generator so that we can filter out
89bf5d
  requirements of the contrib scripts included in the docs directory
89bf5d
89bf5d
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
89bf5d
- rebuilt
89bf5d
89bf5d
* Tue Jun  3 2003 Jeff Johnson <jbj@redhat.com>
89bf5d
- add explicit epoch's where needed.
89bf5d
89bf5d
* Tue May  6 2003 Nalin Dahyabhai <nalin@redhat.com> 2.9.28-2
89bf5d
- rebuild
89bf5d
89bf5d
* Wed Apr 30 2003 Nalin Dahyabhai <nalin@redhat.com> 2.9.28-1
89bf5d
- update to 2.9.29
89bf5d
89bf5d
* Wed Mar  5 2003 Nalin Dahyabhai <nalin@redhat.com> 2.9.17-14
89bf5d
- fixup lib/lib64 references (#82916)
89bf5d
89bf5d
* Fri Feb  7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.9.17-13
89bf5d
- move crontab data to /etc/cron.d
89bf5d
- add trigger to remove crontab data from /etc/crontab on removal of
89bf5d
  older versions
89bf5d
89bf5d
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
89bf5d
- rebuilt
89bf5d
89bf5d
* Tue Dec 17 2002 Tim Powers <timp@redhat.com> 2.9.17-11
89bf5d
- PreReq crontabs
89bf5d
89bf5d
* Sat Dec 14 2002 Tim Powers <timp@redhat.com> 2.9.17-10
89bf5d
- don't use rpms internal dep generator
89bf5d
89bf5d
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 2.9.17-9
89bf5d
- rebuild on all arches
89bf5d
89bf5d
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
89bf5d
- automated rebuild
89bf5d
89bf5d
* Wed May 29 2002 Chip Turner <cturner@redhat.com>
89bf5d
- added filter for soft perl dependencies
89bf5d
89bf5d
* Sun May 26 2002 Tim Powers <timp@redhat.com>
89bf5d
- automated rebuild
89bf5d
89bf5d
* Fri May 17 2002 Nalin Dahyabhai <nalin@redhat.com> 2.9.17-4
89bf5d
- rebuild in new environment
89bf5d
89bf5d
* Fri Feb 22 2002 Nalin Dahyabhai <nalin@redhat.com> 2.9.17-3
89bf5d
- rebuild
89bf5d
89bf5d
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
89bf5d
- automated rebuild
89bf5d
89bf5d
* Thu Nov  1 2001 Nalin Dahyabhai <nalin@redhat.com> 2.9.17-1
89bf5d
- update to 2.9.17
89bf5d
- use FHS macros
89bf5d
- install the .gif files as well
89bf5d
- copyright: distributable -> license: GPL
89bf5d
89bf5d
* Tue Jul  3 2001 Tim Powers <timp@redhat.com>
89bf5d
- changed description to indicate that it creates PNG images and not GIF images
89bf5d
89bf5d
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
89bf5d
- set LIBS=-lfreetype and LDFLAGS="-lgd -lpng -lfreetype -lm" to link the gd
89bf5d
  support with freetype, which it needs
89bf5d
- remove Packager: tag (was Packager: Tim Verhoeven <dj@sin.khk.be>)
89bf5d
89bf5d
* Mon May 21 2001 Tim Powers <timp@redhat.com>
89bf5d
- rebuilt for the distro
89bf5d
89bf5d
* Mon Mar  5 2001 Tim Powers <timp@redhat.com>
89bf5d
- fixed bad group
89bf5d
89bf5d
* Thu Dec 14 2000 Tim Powers <timp@redhat.com>
89bf5d
- updated to 2.9.6
89bf5d
89bf5d
* Tue Dec 12 2000 Tim Powers <timp@redhat.com>
89bf5d
- updated to 2.9.5
89bf5d
89bf5d
* Mon Nov 20 2000 Tim Powers <timp@redhat.com>
89bf5d
- rebuilt to fix bad dir perms
89bf5d
89bf5d
* Mon Nov 13 2000 Tim Powers <timp@redhat.com>
89bf5d
- using this new spec for 7.1 build
89bf5d
89bf5d
* Fri Oct 27 2000  Henri Gomez <hgomez@slib.fr>
89bf5d
 [2.9.4]
89bf5d
- compiled on Redhat 6.1 box plus updates with rpm-3.0.5
89bf5d
89bf5d
* Thu Oct 26 2000  Henri Gomez <hgomez@slib.fr>
89bf5d
 [2.9.2]
89bf5d
- clean up spec file for 2.9 release
89bf5d
  (no .gif, cfgmaker_ip removed)
89bf5d
- mrtg 2.9 look for .pm in /usr/lib/mrtg2, so no more need
89bf5d
  to relocate .pm at post time.
89bf5d
- mrtg config (mrtg.cfg) goes now in /etc/mrtg/
89bf5d
- added manual to rpm
89bf5d
- spec file adapted to RH 7.0
89bf5d
89bf5d
* Wed Feb 9 2000 Tim Verhoeven <dj@sin.khk.be>
89bf5d
 [2.8.12]
89bf5d
- source archiv changed back to .gz
89bf5d
- upgraded to mrtg version 2.8.12
89bf5d
89bf5d
* Sat Nov 13 1999 Peter Hanecak <hanecak@megaloman.sk>
89bf5d
 [2.8.9]
89bf5d
- source archiv changed to .bz2
89bf5d
89bf5d
* Fri Aug 27 1999 Henri Gomez <gomez@slib.fr>
89bf5d
 [2.8.8]
89bf5d
- important release since rrd support is added
89bf5d
  It came from Rainer Bawidamann work. If you have rrdtool RPM
89bf5d
  installed, just add UseRRDTool: Yes in your config files.
89bf5d
- added latest patch for mrtg-rrd.
89bf5d
- to convert your mrtg logs to rrd format, use log2rrd.pl
89bf5d
  you can found on rrdtool package.
89bf5d
89bf5d
* Mon Aug 16 1999 Henri Gomez <gomez@slib.fr>
89bf5d
 [2.8.6]
89bf5d
89bf5d
* Fri Jul 23 1999 Henri Gomez <gomez@slib.fr>
89bf5d
 [2.8.4]
89bf5d
- mrtg could use now png instead of gif via gd1.6.1
89bf5d
  but since gd1.6.1 remove all gif reference it could
89bf5d
  break your dependencies, so we don't use it for now.
89bf5d
* Tue Jun 15 1999 Henri Gomez <gomez@slib.fr>
89bf5d
 [2.7.5]
89bf5d
- removed gd-devel requires, RH5.x use libgd-devel and RH6 gd-devel.
89bf5d
- removed CR from perl files in contrib.
89bf5d
- added cfgmaker_ip in binaries.
89bf5d
- rework modules install/de-install for RH5.x/6.0 compat
89bf5d
89bf5d
* Wed Jun  9 1999 Henri Gomez <gomez@slib.fr>
89bf5d
 [2.7.4-2]
89bf5d
- set perl path for contribs
89bf5d
- set SNMP's perl to /usr/lib/perl5/site_perl (clean for RH5.x and RH6.0)
89bf5d
89bf5d
* Wed May  5 1999 Ian Macdonald <ianmacd@xs4all.nl>
89bf5d
  [2.7.4-1]
89bf5d
- changed Perl module installation to be version independent
89bf5d
- changed libgd dependency to gd
89bf5d
- changed URL
89bf5d
- strip binaries
89bf5d
- include contrib directory as documentation
89bf5d
89bf5d
* Tue Mar  2 1999 Henri Gomez <gomez@slib.fr>
89bf5d
  [2.6.6]
89bf5d
89bf5d
* Wed Feb 17 1999 Henri Gomez <gomez@slib.fr>
89bf5d
  [2.6.4]
89bf5d
- removed mrtg-squid (specific OIDS)
89bf5d
- cfgmaker and indexmaker now /usr/bin
89bf5d
- libgd must be >= 1.3
89bf5d
89bf5d
* Fri Jan 29 1999 Henri Gomez <gomez@slib.fr>
89bf5d
  [2.5.4c-3]
89bf5d
- Added mrtg-squid to monitor squid (specific OIDS)
89bf5d
89bf5d
* Thu Jan 28 1999 Henri Gomez <gomez@slib.fr>
89bf5d
  [2.5.4c-2]
89bf5d
- applied squid snmp patch
89bf5d
89bf5d
* Wed Jan 27 1999 Henri Gomez <gomez@slib.fr>
89bf5d
  [2.5.4c-1]
89bf5d
- upgraded to 2.5.4c.
89bf5d
- added require libgd-devel
89bf5d
89bf5d
* Mon Nov 30 1998 Arne Coucheron <arneco@online.no>
89bf5d
  [2.5.4a-1]
89bf5d
89bf5d
* Thu Jun 18 1998 Arne Coucheron <arneco@online.no>
89bf5d
  [2.5.3-1]
89bf5d
- using %%{name} and %%{version} macros
89bf5d
- using %%defattr macro in filelist
89bf5d
- using install -d in various places instead of cp
89bf5d
- added -q parameter to %%setup
89bf5d
- removed older changelogs