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