conga ./clustermon.spec.in.in ./conga.spec.in. ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: kupcevic at sourceware.org 2006-08-15 04:15:54
Modified files:
. : clustermon.spec.in.in conga.spec.in.in ricci/common : Module.cpp ricci/include : Module.h shred_allocator.h
ricci/modules/cluster: Makefile main.cpp
ricci/modules/log: Makefile main.cpp
ricci/modules/rpm: Makefile main.cpp
ricci/modules/service: Makefile main.cpp
ricci/modules/storage: Makefile main.cpp
Removed files:
ricci/modules/cluster: modcluster
ricci/modules/log: ricci-modlog
ricci/modules/rpm: ricci-modrpm
ricci/modules/service: ricci-modservice
ricci/modules/storage: ricci-modstorage
Log message:
- remove astray defines in spec files
- change buildroot
- ricci: remove stderr redirection scripts (.exe files) - reimplement in code
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/clustermon.spec.in.in.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/conga.spec.in.in.diff?cvsroot=cluster&r1=1.28&r2=1.29
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/common/Module.cpp.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/Module.h.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/include/shred_allocator.h.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/Makefile.diff?cvsroot=cluster&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/main.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/cluster/modcluster.diff?cvsroot=cluster&r1=1.1&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/log/Makefile.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/log/main.cpp.diff?cvsroot=cluster&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/log/ricci-modlog.diff?cvsroot=cluster&r1=1.1&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/rpm/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/rpm/main.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/rpm/ricci-modrpm.diff?cvsroot=cluster&r1=1.2&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/service/Makefile.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/service/main.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/service/ricci-modservice.diff?cvsroot=cluster&r1=1.2&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/Makefile.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/main.cpp.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/ricci-modstorage.diff?cvsroot=cluster&r1=1.2&r2=NONE
clustermon.spec.in.in +3 -8
@@ -10,9 +10,6 @@ ############################################################################### ############################################################################### -%define vers @@VERS@@ -%define rel @@REL@@%{?dist} - %define PEGASUS_PROVIDERS_DIR %{_libdir}/Pegasus/providers
@@ -21,8 +18,8 @@ Name: clustermon -Version: %vers -Release: %rel +Version: @@VERS@@ +Release: @@REL@@%{?dist} License: GPL URL: http://sources.redhat.com/cluster/conga
@@ -30,8 +27,7 @@ Summary: cluster snmp agent, cim provider and ricci module - source code Source0: %{name}-%{version}.tar.gz -Buildroot: %{_tmppath}/%{name}-%{version}-buildroot - +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glibc-devel gcc-c++ libxml2-devel make BuildRequires: openssl-devel dbus-devel pam-devel
@@ -92,7 +88,6 @@ %config(noreplace) %{_sysconfdir}/dbus-1/system.d/modcluster.systembus.conf %{_sysconfdir}/rc.d/init.d/modclusterd %{_sbindir}/modcluster - %{_sbindir}/modcluster.exe %{_sbindir}/modclusterd %{_docdir}/modcluster-%{version}/
conga.spec.in.in +3 -9
@@ -10,8 +10,6 @@ ############################################################################### ############################################################################### -%define vers @@VERS@@ -%define rel @@REL@@%{?dist} %define include_zope_and_plone @@INCLUDE_ZOPE_AND_PLONE@@ %define zope_archive @@ZOPE_ARCHIVE@@
@@ -30,8 +28,8 @@ Name: conga -Version: %vers -Release: %rel +Version: @@VERS@@ +Release: @@REL@@%{?dist} License: GPL URL: http://sources.redhat.com/cluster/conga
@@ -44,7 +42,7 @@ Source2: %{plone_archive_file} Patch2: Plone-2.5_CMFPlone.patch %endif -Buildroot: %{_tmppath}/%{name}-%{version}-buildroot +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if "%{include_zope_and_plone}" == yes
@@ -247,22 +245,18 @@ %config(noreplace) %{_sysconfdir}/oddjobd.conf.d/ricci-modrpm.oddjob.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/ricci-modrpm.systembus.conf %{_sbindir}/ricci-modrpm - %{_sbindir}/ricci-modrpm.exe # modstorage %config(noreplace) %{_sysconfdir}/oddjobd.conf.d/ricci-modstorage.oddjob.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/ricci-modstorage.systembus.conf %{_sbindir}/ricci-modstorage - %{_sbindir}/ricci-modstorage.exe # modservice %config(noreplace) %{_sysconfdir}/oddjobd.conf.d/ricci-modservice.oddjob.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/ricci-modservice.systembus.conf %{_sbindir}/ricci-modservice - %{_sbindir}/ricci-modservice.exe # modlog %config(noreplace) %{_sysconfdir}/oddjobd.conf.d/ricci-modlog.oddjob.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/ricci-modlog.systembus.conf %{_sbindir}/ricci-modlog - %{_sbindir}/ricci-modlog.exe %pre -n ricci /usr/sbin/groupadd -r -f ricci >/dev/null 2>&1
ricci/common/Module.cpp +73 -17
141 lines not on this page · raw message
ricci/include/Module.h +4 -1
@@ -57,7 +57,10 @@ }; // class Module -int stdin_out_module_driver(Module& module); +int +stdin_out_module_driver(Module& module, +int argc, +char ** argv);#endif // Module_h
ricci/include/shred_allocator.h +1 -3
@@ -41,13 +41,11 @@ shred(_Tp* __p, size_t n) {size_t size =sizeof (_Tp) /sizeof (char ) * n; -if (size && __p) { -// shred memory +if (size && __p)for (char *ptr = (char *) __p; ptr < ((char *) __p) + size; ptr++) *ptr ='o' ; - } }
ricci/modules/cluster/Makefile +1 -2
@@ -14,7 +14,7 @@ include ${top_srcdir}/make/defines.mk -TARGET = modcluster.exe +TARGET = modcluster OBJECTS = main.o \ ClusterModule.o \
@@ -38,7 +38,6 @@ install: $(INSTALL_DIR) ${sbindir} $(INSTALL_BIN) ${TARGET} ${sbindir} - $(INSTALL_BIN) modcluster ${sbindir} $(INSTALL_DIR) ${sysconfdir}/oddjobd.conf.d $(INSTALL_FILE) d-bus/modcluster.oddjob.conf ${sysconfdir}/oddjobd.conf.d $(INSTALL_DIR) ${sysconfdir}/dbus-1/system.d
ricci/modules/cluster/main.cpp +3 -1
@@ -31,7 +31,9 @@ { try { ClusterModule m; - return stdin_out_module_driver(m); + return stdin_out_module_driver(m, + argc, + argv); } catch (String e) { cerr << e << endl; return 1;
ricci/modules/log/Makefile +1 -2
@@ -14,7 +14,7 @@ include ${top_srcdir}/make/defines.mk -TARGET = ricci-modlog.exe +TARGET = ricci-modlog OBJECTS = main.o \ LoggingModule.o \
@@ -33,7 +33,6 @@ install: $(INSTALL_DIR) ${sbindir} $(INSTALL_BIN) ${TARGET} ${sbindir} - $(INSTALL_BIN) ricci-modlog ${sbindir} $(INSTALL_DIR) ${sysconfdir}/oddjobd.conf.d $(INSTALL_FILE) d-bus/ricci-modlog.oddjob.conf ${sysconfdir}/oddjobd.conf.d $(INSTALL_DIR) ${sysconfdir}/dbus-1/system.d
ricci/modules/log/main.cpp +3 -1
@@ -31,7 +31,9 @@ { try { LoggingModule m; - return stdin_out_module_driver(m); + return stdin_out_module_driver(m, + argc, + argv); } catch (String e) { cerr << e << endl; return 1;
ricci/modules/rpm/Makefile +1 -2
@@ -14,7 +14,7 @@ include ${top_srcdir}/make/defines.mk -TARGET = ricci-modrpm.exe +TARGET = ricci-modrpm OBJECTS = main.o \ RpmModule.o \
@@ -34,7 +34,6 @@ install: $(INSTALL_DIR) ${sbindir} $(INSTALL_BIN) ${TARGET} ${sbindir} - $(INSTALL_BIN) ricci-modrpm ${sbindir} $(INSTALL_DIR) ${sysconfdir}/oddjobd.conf.d $(INSTALL_FILE) d-bus/ricci-modrpm.oddjob.conf ${sysconfdir}/oddjobd.conf.d $(INSTALL_DIR) ${sysconfdir}/dbus-1/system.d
ricci/modules/rpm/main.cpp +3 -1
@@ -31,7 +31,9 @@ { try { RpmModule m; - return stdin_out_module_driver(m); + return stdin_out_module_driver(m, + argc, + argv); } catch (String e) { cerr << e << endl; return 1;
ricci/modules/service/Makefile +1 -2
@@ -14,7 +14,7 @@ include ${top_srcdir}/make/defines.mk -TARGET = ricci-modservice.exe +TARGET = ricci-modservice OBJECTS = main.o \ ServiceManager.o \
@@ -33,7 +33,6 @@ install: $(INSTALL_DIR) ${sbindir} $(INSTALL_BIN) ${TARGET} ${sbindir} - $(INSTALL_BIN) ricci-modservice ${sbindir} $(INSTALL_DIR) ${sysconfdir}/oddjobd.conf.d $(INSTALL_FILE) d-bus/ricci-modservice.oddjob.conf ${sysconfdir}/oddjobd.conf.d $(INSTALL_DIR) ${sysconfdir}/dbus-1/system.d
ricci/modules/service/main.cpp +3 -1
@@ -31,7 +31,9 @@ { try { ServiceModule m; - return stdin_out_module_driver(m); + return stdin_out_module_driver(m, + argc, + argv); } catch (String e) { cerr << e << endl; return 1;
ricci/modules/storage/Makefile +1 -2
@@ -14,7 +14,7 @@ include ${top_srcdir}/make/defines.mk -TARGET = ricci-modstorage.exe +TARGET = ricci-modstorage OBJECTS = main.o \ Props.o \
@@ -62,7 +62,6 @@ install: $(INSTALL_DIR) ${sbindir} $(INSTALL_BIN) ${TARGET} ${sbindir} - $(INSTALL_BIN) ricci-modstorage ${sbindir} $(INSTALL_DIR) ${sysconfdir}/oddjobd.conf.d $(INSTALL_FILE) d-bus/ricci-modstorage.oddjob.conf ${sysconfdir}/oddjobd.conf.d $(INSTALL_DIR) ${sysconfdir}/dbus-1/system.d
ricci/modules/storage/main.cpp +3 -1
@@ -31,7 +31,9 @@ { try { StorageModule m; - return stdin_out_module_driver(m); + return stdin_out_module_driver(m, + argc, + argv); } catch (String e) { cerr << e << endl; return 1;