Blame SPECS/mrtg.spec

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