[gold] Added a huge todo list
zaniyah
zaniyah at fedoraproject.org
Fri Aug 27 08:30:25 UTC 2010
commit 46c568afc8a2840ea5298084bdfffda0e1963e58
Author: Jessica R Jones <fedora at zaniyah.org>
Date: Fri Aug 27 09:30:15 2010 +0100
Added a huge todo list
gold.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 45 insertions(+), 4 deletions(-)
---
diff --git a/gold.spec b/gold.spec
index 90fbaa6..edc3f66 100644
--- a/gold.spec
+++ b/gold.spec
@@ -22,8 +22,11 @@ BuildArch: noarch
Requires(pre): shadow-utils
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: sqlite
-# For some reason, this requires is missed:
+
+# For some reason, these requires are missed:
Requires: perl(Data::Properties)
+Requires: perl(Crypt::DES_EDE3)
+
BuildRequires: autoconf
BuildRequires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -95,6 +98,9 @@ make install DESTDIR=%{buildroot}
## Install web gui
make install-gui DESTDIR=%{buildroot}
+# TODO
+#make auth_key DESTDIR=%{buildroot}
+
# Clean up things that shouldn't have been installed
rm %{buildroot}%{perl_vendorlib}/Gold/*.pm.in
@@ -106,6 +112,41 @@ do
mv $i.utf8 $i
done
+# TODO Separate out the gold server and client packages
+
+# TODO Work out why init script isn't installing - in src/etc/gold.d.in
+# TODO chkconfig --add gold
+# TODO Patch Perl in /usr/sbin/goldd to use the passed in pid file and not the
+# hard coded one!!
+# TODO Patch Perl in /usr/sbin/goldd to use the correct path for the /etc/
+# files!
+# TODO Patch Perl in Gold.pm and others too as paths to the config files are
+# incorrect.
+# TODO Correct init script to use the correct path for the pid file -
+# /var/run/gold/gold.pid or /var/run/gold.pid
+
+# TODO Correct goldsh so that the gold_history file isn't in a hard-coded
+# location in /usr/log/.gold_history or similar
+
+# TODO Sort out the authkey: ${GOLD_HOME}/etc/auth_key (line 220 of
+# /usr/sbin/goldd)
+
+# TODO On the client end, make sure the default logging is to use syslog, and
+# that this is honoured in all the places it is currently hard-coded!
+
+# TODO The gold*.conf config files need to have their permissions changed so
+# that they belong to the gold user and group and are chmod 600 or similar as
+# they will contain database usernames and passwords.
+
+# TODO Change the server name set in the config files
+# TODO Change the log location set in the config files
+# TODO Change the logging level set in the config files
+
+# The server configuration file is goldd.conf
+# The client is
+# The web interface configuration file is
+
+
%check
# This target, although it exists, does nothing at present
make test
@@ -115,10 +156,10 @@ rm -rf %{buildroot}
%pre
## Add the "gold" group
-getent group GROUPNAME >/dev/null || groupadd -r gold
+getent group gold >/dev/null || groupadd -r gold
## Add the "gold" user
-getent passwd USERNAME >/dev/null || \
-/usr/sbin/useradd -c "Gold Allocation Manager" -G gold \
+getent passwd gold >/dev/null || \
+/usr/sbin/useradd -c "Gold Allocation Manager" -g gold \
-s /sbin/nologin -r -d %{_localstatedir}/lib/%{name} gold
exit 0
More information about the scm-commits
mailing list