update gacks RPM package
smbaker [Wed, 12 Sep 2012 02:07:02 +0000 (19:07 -0700)]
rpm_builds/SPECS/gackscentral.spec.template
rpm_builds/build-gackscentral

index b7fd8b8..3d111fc 100644 (file)
@@ -30,6 +30,10 @@ install -d -o 0 -g 0 %{buildroot}/usr/local/gackscentral/var
 install -d -o 0 -g 0 %{buildroot}/usr/local/gackscentral/var/trusted_roots
 install -d -o 0 -g 0 %{buildroot}/usr/local/gackscentral/var/log
 
+install -d -o 0 -g 0 %{buildroot}/var
+install -d -o 0 -g 0 %{buildroot}/var/log
+install -d -o 0 -g 0 %{buildroot}/var/log/gacks
+
 install -d -o 0 -g 0 %{buildroot}/etc
 install -d -o 0 -g 0 %{buildroot}/etc/httpd
 install -d -o 0 -g 0 %{buildroot}/etc/httpd/conf.d
@@ -37,6 +41,8 @@ install -d -o 0 -g 0 %{buildroot}/etc/httpd/conf.d
 install -d -o 0 -g 0 %{buildroot}/etc/cron.d
 install -d -o 0 -g 0 %{buildroot}/etc/init.d
 
+install -d -o 0 -g 0 %{buildroot}/etc/gacks
+
 install gacks-api.conf %{buildroot}/etc/httpd/conf.d
 
 install API.py %{buildroot}/usr/local/gackscentral/bin
@@ -69,6 +75,7 @@ install gackshandler_base.py %{buildroot}/usr/local/gackscentral/bin
 install gackshandler_plc.py %{buildroot}/usr/local/gackscentral/bin
 install gacksid.py %{buildroot}/usr/local/gackscentral/bin
 install gacksinvoice.py %{buildroot}/usr/local/gackscentral/bin
+install gackslogserver.py %{buildroot}/usr/local/gackscentral/bin
 install gacksjob.py %{buildroot}/usr/local/gackscentral/bin
 install gacksnodepicker.py %{buildroot}/usr/local/gackscentral/bin
 install gacksnodestatus.py %{buildroot}/usr/local/gackscentral/bin
@@ -89,6 +96,9 @@ install localhost-gacks-mailinvoices.sh %{buildroot}/usr/local/gackscentral/bin
 install gackscentral.cron %{buildroot}/etc/cron.d
 
 install gacksbackend.init %{buildroot}/etc/init.d
+install gackslogserver.init %{buildroot}/etc/init.d
+
+install gackslog.conf %{buildroot}/etc/gacks
 
 # Geniwrapper stuff
 #install __init__.py %{buildroot}/usr/local/gackscentral/bin/sfa
@@ -178,6 +188,7 @@ fi
 /usr/local/gackscentral/bin/gacksrspec.py
 /usr/local/gackscentral/bin/gackslog.py
 /usr/local/gackscentral/bin/gackslog_mysql.py
+/usr/local/gackscentral/bin/gackslogserver.py
 
 /usr/local/gackscentral/bin/localhost-gacks-defragment.sh
 /usr/local/gackscentral/bin/localhost-gacks-garbagecollect.sh
@@ -186,8 +197,12 @@ fi
 /usr/local/gackscentral/bin/localhost-gacks-mailinvoices.sh
 %attr(0644,root,root) /etc/cron.d/gackscentral.cron
 
+/etc/gacks/gackslog.conf
+
 /etc/init.d/gacksbackend.init
 %attr(0755,root,root) /etc/init.d/gacksbackend.init
+/etc/init.d/gackslogserver.init
+%attr(0755,root,root) /etc/init.d/gackslogserver.init
 
 # geniwrapper stuff
 #/usr/local/gackscentral/bin/sfa/__init__.py
index 8c13c60..054e1f7 100755 (executable)
@@ -23,6 +23,7 @@ mkdir $FOLDER
 #mv the source files we need to there
 cp $SOURCE/apps/gacks/*.py $FOLDER
 cp $SOURCE/apps/gacks/etc/*.conf $FOLDER
+cp $SOURCE/apps/gacks/gackslog.conf $FOLDER
 
 cp $SOURCE/apps/gacks/localhost-gacks-defragment.sh $FOLDER
 cp $SOURCE/apps/gacks/localhost-gacks-garbagecollect.sh $FOLDER
@@ -32,6 +33,7 @@ cp $SOURCE/apps/gacks/localhost-gacks-mailinvoices.sh $FOLDER
 cp $SOURCE/apps/gacks/gackscentral.cron $FOLDER
 
 cp $SOURCE/apps/gacks/gacksbackend.init $FOLDER
+cp $SOURCE/apps/gacks/gackslogserver.init $FOLDER
 
 chmod +x $FOLDER/*.sh
 chmod +x $FOLDER/gackscli.py