rpms/ocsinventory-ipdiscover/FC-5 ocsinventory-ipdiscover.patch, NONE, 1.1 ocsinventory-ipdiscover.spec, NONE, 1.1 sources, 1.1, 1.2
Remi Collet (remi)
fedora-extras-commits at redhat.com
Mon Apr 9 05:46:11 UTC 2007
- Previous message (by thread): rpms/ocsinventory-ipdiscover/FC-6 ocsinventory-ipdiscover.patch, NONE, 1.1 ocsinventory-ipdiscover.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/ocsinventory-client/FC-6 ocsinventory-client.spec, 1.3, 1.4 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/extras/rpms/ocsinventory-ipdiscover/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2820
Modified Files:
sources
Added Files:
ocsinventory-ipdiscover.patch ocsinventory-ipdiscover.spec
Log Message:
initial release
ocsinventory-ipdiscover.patch:
--- NEW FILE ocsinventory-ipdiscover.patch ---
--- ipdiscover.c.orig 2006-12-08 17:23:15.000000000 +0100
+++ ipdiscover.c 2007-04-06 17:24:02.000000000 +0200
@@ -113,7 +113,7 @@
}
void validate_iface( struct sockaddr_in *ipaddr, struct sockaddr_in *netmask, packet *ppacket ){
- char *error_str;
+ char error_str[100];
if( ntohl(netmask->sin_addr.s_addr) < 0xFFFF0000){
sprintf(error_str, "Invalid netmask -> too large (%s). Stop\n", inet_ntoa(netmask->sin_addr));
--- NEW FILE ocsinventory-ipdiscover.spec ---
%define tarname OCSNG_LINUX_AGENT_1.01
Name: ocsinventory-ipdiscover
Version: 1.01
Release: 2%{?dist}
Summary: Open Computer and Software Inventory Next Generation client
Group: Development/Libraries
License: GPL
URL: http://ocsinventory.sourceforge.net/
Source0: http://downloads.sourceforge.net/sourceforge/ocsinventory/%{tarname}.tar.gz
Patch0: ocsinventory-ipdiscover.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Open Computer and Software Inventory Next Generation is an application
designed to help a network or system administrator keep track of computer
configuration and software installed on the network.
It also allows deploying softwares, commands or files on Windows and
Linux client computers.
%{name} provide the ipdiscover command used by
client agent for Linux.
%description -l fr
Open Computer and Software Inventory Next Generation est une application
destinée à aider l'administrateur système ou réseau à garder un oeil sur
la configuration des machines du réseau et sur les logiciels qui y sont
installés.
Elle autorise aussi la télédiffusion (ou déploiement) de logiciels,
de commandes ou de fichiers sur les clients Windows ou Linux.
%{name} fournit la commande ipdiscover utilisée par
le client pour Linux.
%prep
%setup -q -n %{tarname}
%patch0 -p0
touch -r README timestamp
%{__perl} -pi -e 's/\r//' README
touch -r timestamp README
%build
%{__cc} %{optflags} -o ipdiscover ipdiscover.c
%install
rm -rf %{buildroot}
%{__mkdir_p} %{buildroot}%{_sbindir}
%{__install} -m 755 ipdiscover %{buildroot}%{_sbindir}
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%doc README
%{_sbindir}/ipdiscover
%changelog
* Fri Apr 06 2007 Remi Collet <Fedora at famillecollet.com> 1.01-2
- change source URL
- add ocsinventory-ipdiscover.patch
- preserve README timestamp
* Tue Mar 20 2007 Remi Collet <Fedora at famillecollet.com> 1.01-1
- split from ocsinventory-client
- update to 1.01
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ocsinventory-ipdiscover/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Apr 2007 15:20:34 -0000 1.1
+++ sources 9 Apr 2007 05:45:37 -0000 1.2
@@ -0,0 +1 @@
+9e5a5893cd83eb94637c34b60286dcb8 OCSNG_LINUX_AGENT_1.01.tar.gz
- Previous message (by thread): rpms/ocsinventory-ipdiscover/FC-6 ocsinventory-ipdiscover.patch, NONE, 1.1 ocsinventory-ipdiscover.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/ocsinventory-client/FC-6 ocsinventory-client.spec, 1.3, 1.4 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list