fe84cd4
# spec file for ocsinventory-agent
fe84cd4
#
fe84cd4
# Copyright (c) 2007-2014 Remi Collet
fe84cd4
# Copyright (c) 2016-2017 Philippe Beaumont
fe84cd4
# License: CC-BY-SA
fe84cd4
# http://creativecommons.org/licenses/by-sa/3.0/
fe84cd4
#
fe84cd4
# Please, preserve the changelog entries
fe84cd4
#
fe84cd4
fe84cd4
# Can, optionaly, be define at build time (see README.RPM)
fe84cd4
# - ocstag    : administrative tag
fe84cd4
# - ocsserver : OCS Inventory NG communication serveur
fe84cd4
fe84cd4
# Avoid empty debuginfo package, arched only for dep
fe84cd4
%global debug_package %{nil}
fe84cd4
fe84cd4
# Official release version
2d9732c
%global official_version 2.10.2
fe84cd4
fe84cd4
Name:      ocsinventory-agent
fe84cd4
Summary:   Open Computer and Software Inventory Next Generation client
fe84cd4
2d9732c
Version:   2.10.2
2d9732c
Release:   1%{?dist}
fe84cd4
fe84cd4
Source0:   https://github.com/OCSInventory-NG/UnixAgent/releases/download/v%{official_version}/Ocsinventory-Unix-Agent-%{official_version}.tar.gz
fe84cd4
fe84cd4
Source11:   %{name}.README
fe84cd4
fe84cd4
License:   GPLv2+
fe84cd4
URL:       http://www.ocsinventory-ng.org/
fe84cd4
12f2f48
BuildRequires: coreutils
12f2f48
BuildRequires: findutils
12f2f48
BuildRequires: make
fe84cd4
BuildRequires: perl-interpreter
fe84cd4
BuildRequires: perl-generators
12f2f48
BuildRequires: perl(Config)
12f2f48
BuildRequires: perl(English)
12f2f48
BuildRequires: perl(Getopt::Long)
12f2f48
BuildRequires: perl(inc::Module::Install)
12f2f48
BuildRequires: perl(Module::Install::Metadata)
12f2f48
BuildRequires: perl(Module::Install::Scripts)
12f2f48
BuildRequires: perl(Module::Install::WriteAll)
12f2f48
BuildRequires: perl(strict)
12f2f48
BuildRequires: sed
fe84cd4
fe84cd4
%if 0%{?rhel} >= 7
fe84cd4
BuildRequires: systemd
fe84cd4
Requires(post): systemd
fe84cd4
%else
fe84cd4
BuildRequires: systemd-rpm-macros
fe84cd4
Requires(post): systemd
fe84cd4
%endif
fe84cd4
fe84cd4
###
fe84cd4
#  NOTE: rpmlint: the runtime requirments change depending on the arch
fe84cd4
#        so while this package contains no binaries, it is arch dependant.
fe84cd4
###
fe84cd4
Requires: perl-Ocsinventory-Agent = %{version}-%{release}
fe84cd4
%ifarch %{ix86} x86_64 ia64
fe84cd4
Requires:  dmidecode
fe84cd4
%endif
fe84cd4
fe84cd4
%ifarch %{ix86} x86_64
fe84cd4
Requires:  libx86
fe84cd4
%endif
fe84cd4
42a3bcc
Requires:  logrotate
fe84cd4
fe84cd4
Obsoletes: ocsinventory-client < %{version}
fe84cd4
Provides:  ocsinventory-client = %{version}-%{release}
fe84cd4
fe84cd4
%{?perl_default_filter}
fe84cd4
fe84cd4
%description
fe84cd4
Open Computer and Software Inventory Next Generation is an application
fe84cd4
designed to help a network or system administrator keep track of computer
fe84cd4
configuration and software installed on the network. 
fe84cd4
fe84cd4
It also allows deploying software, commands or files on Windows and
fe84cd4
Linux client computers.
fe84cd4
fe84cd4
%{name} provides the client for Linux (Unified Unix Agent).
fe84cd4
fe84cd4
fe84cd4
%description -l fr
fe84cd4
Open Computer and Software Inventory Next Generation est une application
fe84cd4
destinée à aider l'administrateur système ou réseau à garder un oeil sur
fe84cd4
la configuration des machines du réseau et sur les logiciels qui y sont
fe84cd4
installés. 
fe84cd4
fe84cd4
Elle autorise aussi la télédiffusion (ou déploiement) de logiciels, 
fe84cd4
de commandes ou de fichiers sur les clients Windows ou Linux.
fe84cd4
fe84cd4
%{name} fournit le client pour Linux (Agent Unix Unifié)
fe84cd4
fe84cd4
fe84cd4
%package -n perl-Ocsinventory-Agent
fe84cd4
Summary:   Libraries %{name}
fe84cd4
BuildArch: noarch
fe84cd4
fe84cd4
Requires:  perl(Data::UUID)
fe84cd4
Requires:  perl(Digest::MD5)
fe84cd4
Requires:  perl(File::Temp)
fe84cd4
Requires:  perl(HTTP::Request)
fe84cd4
Requires:  perl(LWP) > 6
fe84cd4
Requires:  perl(LWP::Protocol)
fe84cd4
Requires:  perl(LWP::Protocol::http)
fe84cd4
Requires:  perl(LWP::Protocol::https)
fe84cd4
Requires:  perl(Net::IP)
fe84cd4
Requires:  perl(Net::Netmask)
fe84cd4
Requires:  perl(Net::SNMP)
fe84cd4
Requires:  perl(Net::SSLeay)
fe84cd4
Requires:  perl(XML::Simple)
fe84cd4
Requires: monitor-edid
bc8bffb
Requires: net-tools
bc8bffb
Requires: pciutils
bc8bffb
Requires: smartmontools
bc8bffb
Requires: which
fe84cd4
%if 0%{?fedora} >= 25 || 0%{?rhel} >= 8
fe84cd4
Recommends: perl(Net::Cups)
fe84cd4
Recommends: perl(Net::Ping)
fe84cd4
Recommends: perl(Parse::EDID)
bc8bffb
Recommends: perl(Proc::Daemon)
bc8bffb
Recommends: perl(Proc::PID::File)
5abdf4d
Recommends: ipmitool
fe84cd4
Suggests: nmap
fe84cd4
Suggests: perl(Nmap::Parser)
fe84cd4
%endif
fe84cd4
fe84cd4
Conflicts: %{name} < %{version}
fe84cd4
fe84cd4
%description  -n perl-Ocsinventory-Agent
fe84cd4
Perl libraries for %{name}
fe84cd4
fe84cd4
%prep
fe84cd4
%setup -q -n Ocsinventory-Unix-Agent-%{version}
64db999
#%%autopatch -p1
ab1675f
rm -f lib/Ocsinventory/Agent/Network.pm.orig
fe84cd4
fe84cd4
sed -e 's/\r//' -i snmp/mibs/local/6876.xml
fe84cd4
12f2f48
# Remove bundled modules
12f2f48
rm -rf ./inc
bc8bffb
if [[ -e MANIFEST ]]; then
bc8bffb
  perl -MConfig -i -ne 'print $_ unless m{^inc/}' MANIFEST
bc8bffb
fi
12f2f48
fe84cd4
###
fe84cd4
# NOTE: rpmlint will complain about these macros in comments
fe84cd4
#       they are on purpose to permit the comments to match
fe84cd4
#       what the values used by the build environment.
fe84cd4
###
fe84cd4
cat <<EOF >%{name}.conf
fe84cd4
# 
fe84cd4
# OCS Inventory "Unix Unified Agent" Configuration File
fe84cd4
# used by the ocsinventory-agent.service and
fe84cd4
# related timers.
fe84cd4
#
fe84cd4
fe84cd4
# Add tools directory if needed (tw_cli, hpacucli, ipssend, ...)
fe84cd4
PATH=/sbin:/bin:/usr/sbin:/usr/bin
fe84cd4
fe84cd4
%if 0%{?ocsserver:1}
fe84cd4
# Mode, change to "none" to disable
fe84cd4
OCSMODE[0]=cron
fe84cd4
fe84cd4
# used to override the %{name}.cfg setup.
fe84cd4
OCSSERVER[0]=%{ocsserver}
fe84cd4
fe84cd4
# runs in addition to the remote report
fe84cd4
# corresponds with --local=%{_localstatedir}/lib/%{name}
fe84cd4
# OCSSERVER[1]=local
fe84cd4
%else
fe84cd4
# Mode, change to "cron" to activate
fe84cd4
OCSMODE[0]=none
fe84cd4
fe84cd4
# can be used to override the %{name}.cfg setup.
fe84cd4
# OCSSERVER[0]=your.ocsserver.name
fe84cd4
# 
fe84cd4
# corresponds with --local=%{_localstatedir}/lib/%{name}
fe84cd4
# OCSSERVER[0]=local
fe84cd4
%endif
fe84cd4
fe84cd4
# Wait before inventory 
fe84cd4
OCSPAUSE[0]=100
fe84cd4
fe84cd4
# Administrative TAG (optional, must be filed before first inventory)
fe84cd4
OCSTAG[0]=%{?ocstag}
baafae0
baafae0
# If you need an HTTP/HTTPS proxy, fill this out
9c49419
# OCSPROXYSERVER[0]='http://user:pass@proxy:port'
fe84cd4
EOF
fe84cd4
fe84cd4
cat <<EOF >%{name}.cfg
fe84cd4
# 
fe84cd4
# OCS Inventory "Unix Unified Agent" Configuration File
fe84cd4
#
fe84cd4
# options used by timers or /etc/sysconfig/%{name} overide these.
fe84cd4
#
fe84cd4
fe84cd4
# Server URL, unconmment if needed
fe84cd4
# server = your.ocsserver.name
fe84cd4
local = %{_localstatedir}/lib/%{name}
fe84cd4
fe84cd4
# Administrative TAG (optional, must be filed before first inventory)
fe84cd4
# tag = %{?ocsserver:yourtag}
fe84cd4
fe84cd4
# How to log, can be File,Stderr,Syslog
fe84cd4
logger = Stderr
fe84cd4
logfile = %{_localstatedir}/log/%{name}/%{name}.log
fe84cd4
EOF
fe84cd4
fe84cd4
cp %{SOURCE11} README.RPM
fe84cd4
fe84cd4
fe84cd4
%build
fe84cd4
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
fe84cd4
%{make_build}
fe84cd4
rm run-postinst
fe84cd4
fe84cd4
%install
fe84cd4
%{make_install}
fe84cd4
find %{buildroot} -type f -name '*.bs' -size 0 -delete
fe84cd4
fe84cd4
# Move exe to root directory
fe84cd4
mv %{buildroot}%{_bindir} %{buildroot}%{_sbindir}
fe84cd4
fe84cd4
mkdir -p %{buildroot}%{_localstatedir}/{log,lib}/%{name}
fe84cd4
mkdir -p %{buildroot}%{_sysconfdir}/{logrotate.d,sysconfig,ocsinventory/softwares}
fe84cd4
fe84cd4
mkdir %{buildroot}%{_localstatedir}/lib/%{name}/download
fe84cd4
cp -pr snmp %{buildroot}%{_localstatedir}/lib/%{name}/snmp
fe84cd4
fe84cd4
install -pm 644 %{name}.conf %{buildroot}%{_sysconfdir}/sysconfig/%{name}
fe84cd4
fe84cd4
mkdir -p %{buildroot}/%{_libexecdir}/%{name}
fe84cd4
sed -e 's;/etc/;%{_sysconfdir}/;' \
fe84cd4
    -e 's;/var/;%{_localstatedir}/;' \
fe84cd4
    -e 's;/usr/sbin/;%{_sbindir}/;' \
64db999
    contrib/cron/ocsinventory-agent.cron > %{buildroot}%{_libexecdir}/%{name}/ocsinventory-agent.cron
bc8bffb
cp contrib/cron/ocsinventory-agent.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
fe84cd4
fe84cd4
mkdir -p %{buildroot}/%{_unitdir}
64db999
cp contrib/cron/systemd/* %{buildroot}/%{_unitdir}/
fe84cd4
fe84cd4
install -m 644 %{name}.cfg %{buildroot}/%{_sysconfdir}/ocsinventory/%{name}.cfg
fe84cd4
install -m 644 etc/ocsinventory-agent/modules.conf %{buildroot}/%{_sysconfdir}/ocsinventory/modules.conf
fe84cd4
fe84cd4
# Remove some unusefull files (which brings unresolvable deps)
fe84cd4
rm -rf %{buildroot}%{perl_vendorlib}/Ocsinventory/Agent/Backend/OS/Win32*
fe84cd4
2e94c2a
# Drop extra files
2e94c2a
rm -f %{buildroot}%{perl_vendorarch}/auto/Ocsinventory/Unix/Agent/.packlist
2e94c2a
rm -f %{buildroot}%{perl_vendorarch}/../perllocal.pod
2e94c2a
fe84cd4
# Only need for manual installation
fe84cd4
rm %{buildroot}%{perl_vendorlib}/Ocsinventory/Unix/postinst.pl
fe84cd4
fe84cd4
# Provided by ocsinventtory-ipdiscover
fe84cd4
rm %{buildroot}%{_sbindir}/ipdiscover
fe84cd4
1a916ee
# the source comes with some odd permissions set
1a916ee
# just fix them to make sense
1a916ee
find %{buildroot} -type f -exec chmod 644 {} \;
bc8bffb
find %{buildroot} -type f -name .DS_Store -exec rm {} \;
bc8bffb
find %{buildroot} -type f -name ._.DS_Store -exec rm {} \;
fe84cd4
fe84cd4
%post
fe84cd4
fe84cd4
# See if sysadmin requested ocs agent run on boot
fe84cd4
%systemd_post ocsinventory-agent-onboot.timer
fe84cd4
fe84cd4
# See if sysadmin requested ocs agent hourly run
fe84cd4
%systemd_post ocsinventory-agent-hourly.timer
fe84cd4
fe84cd4
# See if sysadmin requested ocs agent daily run
fe84cd4
%systemd_post ocsinventory-agent-daily.timer
fe84cd4
fe84cd4
%files
948f202
%defattr(644,root,root,755)
948f202
%attr(0755, root, root) %{_sbindir}/%{name}
fe84cd4
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
fe84cd4
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
948f202
%{_libexecdir}/%{name}/
948f202
%attr(0755, root, root) %{_libexecdir}/%{name}/ocsinventory-agent.cron
fe84cd4
%dir %{_localstatedir}/log/%{name}
fe84cd4
%{_mandir}/man1/%{name}*
fe84cd4
%{_unitdir}/*
fe84cd4
fe84cd4
%files -n perl-Ocsinventory-Agent
948f202
%defattr(644,root,root,755)
fe84cd4
%doc AUTHORS Changes README.md THANKS README.RPM
fe84cd4
%doc etc/ocsinventory-agent/softwares/example.sh
fe84cd4
%license LICENSE
948f202
%config(noreplace) %{_sysconfdir}/ocsinventory/%{name}.cfg
948f202
%config(noreplace) %{_sysconfdir}/ocsinventory/modules.conf
fe84cd4
%{perl_vendorlib}/Ocsinventory
98bf3eb
%attr(0755, root, root) %{perl_vendorlib}/Ocsinventory/Agent.pm
fe84cd4
%{_mandir}/man3/Ocs*
fe84cd4
%dir %{_localstatedir}/lib/%{name}
fe84cd4
%{_localstatedir}/lib/%{name}/download
fe84cd4
%{_localstatedir}/lib/%{name}/snmp
fe84cd4
%dir %{_sysconfdir}/ocsinventory
fe84cd4
%dir %{_sysconfdir}/ocsinventory/softwares
fe84cd4
fe84cd4
fe84cd4
%changelog
2d9732c
* Thu Mar 28 2024 Pat Riehecky <riehecky@fnal.gov> - 2.10.2-1
2d9732c
- Update to 2.10.2.
2d9732c
9c856d2
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-6
9c856d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
9c856d2
3aa63f4
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-5
3aa63f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
3aa63f4
42a3bcc
* Tue Nov 28 2023 Pat Riehecky <riehecky@fnal.gov> - 2.10.0-4
42a3bcc
- Fix requires for logrotate
42a3bcc
85c8930
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-3
85c8930
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
85c8930
33da7ae
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-2
33da7ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
33da7ae
ab888e7
* Mon Oct 17 2022 Pat Riehecky <riehecky@fnal.gov> - 2.10.0-1
ab888e7
- Update to 2.10.0
ab888e7
7b854ab
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-3
7b854ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
7b854ab
f32abcc
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.9.3-2
f32abcc
- Perl 5.36 rebuild
f32abcc
bc8bffb
* Tue May 31 2022 Pat Riehecky <riehecky@fnal.gov> - 2.9.3-1
bc8bffb
- Update to 2.9.3
bc8bffb
64db999
* Wed Jan 26 2022 Pat Riehecky <riehecky@fnal.gov> - 2.9.1-1
64db999
- Update to 2.9.1
64db999
d1cdb82
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.0-3
d1cdb82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
d1cdb82
98bf3eb
* Mon Dec 13 2021 Pat Riehecky <riehecky@fnal.gov> - 2.9.0-2
98bf3eb
- Fix gating permissions
98bf3eb
f93a31e
* Mon Dec 13 2021 Pat Riehecky <riehecky@fnal.gov> - 2.9.0-1.1
f93a31e
- remove meaningless execute on README
f93a31e
fdae289
* Mon Dec 13 2021 Pat Riehecky <riehecky@fnal.gov> - 2.9.0-1
fdae289
- Update to 2.9.0
fdae289
92672e9
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-12
92672e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
92672e9
d8a7e44
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.6.0-11
d8a7e44
- Perl 5.34 rebuild
d8a7e44
e43381f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-10
e43381f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e43381f
62f0c91
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-9
62f0c91
- Second attempt - Rebuilt for
62f0c91
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
62f0c91
1ea6c56
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-8
1ea6c56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1ea6c56
126bacf
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.6.0-7
126bacf
- Perl 5.32 rebuild
126bacf
12f2f48
* Tue Mar 24 2020 Petr Pisar <ppisar@redhat.com> - 2.6.0-6
12f2f48
- Specify all dependencies
12f2f48
baafae0
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-5
baafae0
- Add OCSPROXYSERVER for http/s proxys
baafae0
a8bf5d8
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-4.2
a8bf5d8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a8bf5d8
1aefaa8
* Mon Jan 6 2020 Pat Riehecky <riehecky@fnal.gov> - 2.6.0-3.2
1aefaa8
- More cleanup UTF8 parse
1aefaa8
- Smarter use of local CA list
1aefaa8
2e74a85
* Fri Dec 27 2019 Pat Riehecky <riehecky@fnal.gov> - 2.6.0-3.1
2e74a85
- Cleanup UTF8 parse
2e74a85
- drop system CA list, keep local CA list
2e74a85
c26c6f4
* Wed Dec 18 2019 Pat Riehecky <riehecky@fnal.gov> - 2.6.0-3
c26c6f4
- Use system CA certs if no custom client CA set
c26c6f4
2180502
* Tue Dec 03 2019 Pat Riehecky <riehecky@fnal.gov> - 2.6.0-2.1
2180502
- Backport a few patches from upstream
2180502
fe84cd4
* Thu Aug 15 2019 Pat Riehecky <riehecky@fnal.gov> - 2.6.0-2
fe84cd4
- Return to Fedora
fe84cd4
- Use systemd timers rather than cron for regular runs
fe84cd4
- Add a handful of possible timers users might want
fe84cd4
fe84cd4
* Mon May 20 2019 Philippe Beaumont <philippe.beaumont@ocsinventory-ng.org> - 2.6.0-1
fe84cd4
- Update to 2.6.0
fe84cd4
fe84cd4
* Mon Dec 31 2018 Philippe Beaumont <philippe.beaumont@ocsinventory-ng.org> - 2.4.2-3
fe84cd4
- Remove Module::Install as dependancy
fe84cd4
fe84cd4
* Mon Dec 24 2018 Philippe Beaumont <philippe.beaumont@ocsinventory-ng.org> - 2.4.2-2
fe84cd4
- Add core agent
fe84cd4
fe84cd4
* Tue Jul 31 2018 Philippe Beaumont <philippe.beaumont@ocsinventory-ng.org> - 2.4.2-1
fe84cd4
- Update to 2.4.2
fe84cd4
fe84cd4
* Sun Feb 11 2018 Philippe Beaumont <philippe.beaumont@ocsinventory-ng.org> - 2.4.0-1
fe84cd4
- Update to 2.4.0
fe84cd4
fe84cd4
* Mon Jan 15 2018 Philippe Beaumont <philippe.beaumont@ocsinventory-ng.org> - 2.3.0-2
fe84cd4
- Add SSL dependancies
fe84cd4
fe84cd4
* Thu Jan 12 2017 Philippe Beaumont <philippe.beaumont@ocsinventory-ng.org> - 2.3.0-1
fe84cd4
- Update to 2.3.0
fe84cd4
fe84cd4
* Sun Jan 01 2017 Philippe Beaumont <philippe.beaumont@ocsinventory-ng.org> - 2.3.0-0.1
fe84cd4
- Update to 2.3RC1
fe84cd4
fe84cd4
* Thu May 22 2014 Remi Collet <remi@fedoraproject.org> - 2.1.1-2
fe84cd4
- Update to 2.1.1
fe84cd4
fe84cd4
* Thu Feb 13 2014 Remi Collet <remi@fedoraproject.org> - 2.1-2
fe84cd4
- more upstream patches
fe84cd4
- add /var/lib/ocsinventory-agent/snmp and download folder
fe84cd4
- move /etc/ocsinventory and /var/lib to subpackage
fe84cd4
fe84cd4
* Thu Feb 13 2014 Remi Collet <remi@fedoraproject.org> - 2.1-1
fe84cd4
- Update to 2.1
fe84cd4
- move perl library to perl-Ocsinventory-Agent
fe84cd4
- make main package arched for dependency on dmidecode
fe84cd4
fe84cd4
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 2.0.5-8
fe84cd4
- Perl 5.18 rebuild
fe84cd4
fe84cd4
* Sat Jul 27 2013 Jóhann B. Guðmundsson <johannbg@fedoraproject.org> - 2.0.5-7
fe84cd4
- Add a missing requirement on crontabs to spec file
fe84cd4
fe84cd4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-6
fe84cd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fe84cd4
fe84cd4
* Mon Dec 17 2012 Remi Collet <remi@fedoraproject.org> - 2.0.5-5
fe84cd4
- fix provided configuration when build with ocsserver defined
fe84cd4
fe84cd4
* Sun Sep 23 2012 Remi Collet <remi@fedoraproject.org> - 2.0.5-4
fe84cd4
- fix ifconfig output parser (#853982)
fe84cd4
  https://bugs.launchpad.net/bugs/1045356
fe84cd4
fe84cd4
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-3
fe84cd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fe84cd4
fe84cd4
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 2.0.5-2
fe84cd4
- Perl 5.16 rebuild
fe84cd4
fe84cd4
* Sat Apr 14 2012 Remi Collet <remi@fedoraproject.org> - 2.0.5-1
fe84cd4
- update to 2.0.5
fe84cd4
fe84cd4
* Mon Feb 13 2012 Remi Collet <remi@fedoraproject.org> - 2.0.4-1
fe84cd4
- update to 2.0.4
fe84cd4
fe84cd4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2.1-4
fe84cd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fe84cd4
fe84cd4
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.1.2.1-3
fe84cd4
- Perl mass rebuild
fe84cd4
fe84cd4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2.1-2
fe84cd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fe84cd4
fe84cd4
* Wed Oct 13 2010 Remi Collet <Fedora@famillecollet.com> 1.1.2.1-1
fe84cd4
- security update for CVE-2009-0667
fe84cd4
  http://bugs.debian.org/590879
fe84cd4
  http://www.debian.org/security/2009/dsa-1828
fe84cd4
fe84cd4
* Sat Oct 09 2010 Remi Collet <Fedora@famillecollet.com> 1.1.2-3
fe84cd4
- remove perl-XML-SAX optional dep, which is broken on EL5
fe84cd4
  and cause overload when installed on the OCS server
fe84cd4
fe84cd4
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1.2-2
fe84cd4
- Mass rebuild with perl-5.12.0
fe84cd4
fe84cd4
* Sun Jan 03 2010 Remi Collet <Fedora@famillecollet.com> 1.1.2-1
fe84cd4
- update to 1.1.2
fe84cd4
fe84cd4
* Sun Dec 27 2009 Remi Collet <Fedora@famillecollet.com> 1.1.1-2
fe84cd4
- missing perl(Net::IP) requires (+ some EL3 stuff: yes, I know)
fe84cd4
fe84cd4
* Tue Dec 22 2009 Remi Collet <Fedora@famillecollet.com> 1.1.1-1
fe84cd4
- update to 1.1.1
fe84cd4
fe84cd4
* Sat Nov 28 2009 Remi Collet <Fedora@famillecollet.com> 1.1-2
fe84cd4
- add Requires: which
fe84cd4
fe84cd4
* Sat Nov 07 2009 Remi Collet <Fedora@famillecollet.com> 1.1-1
fe84cd4
- update to 1.1
fe84cd4
- add missing modules.conf
fe84cd4
- new Requires perl(Net::SSLeay), perl(Crypt::SSLeay), smartmontools
fe84cd4
- download URL to launchpad
fe84cd4
fe84cd4
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
fe84cd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fe84cd4
fe84cd4
* Thu May 14 2009 Remi Collet <Fedora@famillecollet.com> 1.0.1-4
fe84cd4
- fix typo
fe84cd4
fe84cd4
* Thu May 14 2009 Remi Collet <Fedora@famillecollet.com> 1.0.1-3
fe84cd4
- define PATH in config (workaround for #500594 + tool path if needed)
fe84cd4
 
fe84cd4
* Fri Apr 24 2009 Remi Collet <Fedora@famillecollet.com> 1.0.1-2
fe84cd4
- update the README.RPM (new configuration file)
fe84cd4
- change from URL to only servername in config comment
fe84cd4
fe84cd4
* Sun Mar 29 2009 Remi Collet <Fedora@famillecollet.com> 1.0.1-1
fe84cd4
- update to 1.0.1
fe84cd4
fe84cd4
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9.2-3
fe84cd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fe84cd4
fe84cd4
* Mon Oct 20 2008 Remi Collet <Fedora@famillecollet.com> 0.0.9.2-2
fe84cd4
- fix FTBFS (#465073)
fe84cd4
fe84cd4
* Sun Apr 20 2008 Remi Collet <Fedora@famillecollet.com> 0.0.9.2-1
fe84cd4
- update to 0.0.9.2 (minor bug fix)
fe84cd4
fe84cd4
* Mon Apr 07 2008 Remi Collet <Fedora@famillecollet.com> 0.0.9.1-2
fe84cd4
- add Requires monitor-edid
fe84cd4
fe84cd4
* Thu Apr 03 2008 Remi Collet <Fedora@famillecollet.com> 0.0.9.1-1
fe84cd4
- update to 0.0.9.1 (minor bug fix)
fe84cd4
- swicth back to nobundle sources
fe84cd4
fe84cd4
* Wed Apr 02 2008 Remi Collet <Fedora@famillecollet.com> 0.0.9-1
fe84cd4
- update to 0.0.9 finale
fe84cd4
- provides default config to file (need options.patch)
fe84cd4
- add requires nmap (for ipdiscover)
fe84cd4
- add BR perl(XML::SAX) (to avoid install of bundled one)
fe84cd4
fe84cd4
* Mon Mar 10 2008 Remi Collet <Fedora@famillecollet.com> 0.0.8.2-0.6.20080305
fe84cd4
- rebuild against perl 5.10
fe84cd4
fe84cd4
* Fri Mar  7 2008 Remi Collet <Fedora@famillecollet.com> 0.0.8.2-0.5.20080305
fe84cd4
- patches from review (Patrice Dumas)
fe84cd4
fe84cd4
* Wed Mar  5 2008 Remi Collet <Fedora@famillecollet.com> 0.0.8.2-0.4.20080305
fe84cd4
- update to 2008-03-05
fe84cd4
- add /etc/sysconfig/ocsinventory-agent config file for cron job
fe84cd4
fe84cd4
* Mon Mar  3 2008 Remi Collet <Fedora@famillecollet.com> 0.0.8.2-0.3.20080302
fe84cd4
- only enable cron when server is configured
fe84cd4
fe84cd4
* Sun Mar  2 2008 Remi Collet <Fedora@famillecollet.com> 0.0.8.2-0.2.20080302
fe84cd4
- from Review, see #435593
fe84cd4
fe84cd4
* Sun Mar  2 2008 Remi Collet <Fedora@famillecollet.com> 0.0.8.2-0.1.20080302
fe84cd4
- update to 0.0.8.2 from CVS
fe84cd4
fe84cd4
* Fri Feb 22 2008 Remi Collet <Fedora@famillecollet.com> 0.0.8.2-0.1.20080222
fe84cd4
- update to 0.0.8.2 from CVS
fe84cd4
fe84cd4
* Sun Feb 17 2008 Remi Collet <Fedora@famillecollet.com> 0.0.8.1-0.1.20080217
fe84cd4
- update to 0.0.8.1 from CVS
fe84cd4
- change config file used
fe84cd4
   from /etc/ocsinventory-agent/ocsinv.conf 
fe84cd4
     to /etc/ocsinventory/ocsinventory-agent.cfg
fe84cd4
fe84cd4
* Sat Jan 26 2008 Remi Collet <Fedora@famillecollet.com> 0.0.7-1
fe84cd4
- update to 0.0.7
fe84cd4
fe84cd4
* Fri Dec 28 2007 Remi Collet <Fedora@famillecollet.com> 0.0.6.2-1
fe84cd4
- update to 0.0.6.2
fe84cd4
fe84cd4
* Mon Apr 16 2007 Remi Collet <Fedora@famillecollet.com> 0.0.6-1
fe84cd4
- update to 0.0.6
fe84cd4
fe84cd4
* Sat Feb 10 2007 Remi Collet <Fedora@famillecollet.com> 0.0.5-0.20070409
fe84cd4
- cvs update 20070409
fe84cd4
- create cron.daily file
fe84cd4
- create logrotate.d file
fe84cd4
- create ocsinv.conf
fe84cd4
- cvs update 20070405
fe84cd4
- cvs update 20070403
fe84cd4
fe84cd4
* Sat Feb 10 2007 Remi Collet <Fedora@famillecollet.com> 0.0.2-0.20070210
fe84cd4
- initial spec