Commit Graph
72 Commits
Author SHA1 Message Date
Karl MacMillan 628aa3a5e7 Correct PACKAGE in ipa-client/autogen.sh. -
Karl MacMillan 4c59be2b0d Fix autogen.sh to correctly compare versions and removed .la files from packages. -
Karl MacMillan 4718fc6dff Merge with head. -
Karl MacMillan 1d2c024afa Additional build fixes from autoconf merge. -
Karl MacMillan 1fcc3c6650 Autotool ipa-client - patch from William Jon McCann <mccann@jhu.edu> -
Karl MacMillan 5dab9feafd Fix small error in top-level makefile. -
Karl MacMillan 31fb0033ba Merge. -
Karl MacMillan c49d478b92 Fix build from autoconf patch import. -
Karl MacMillan f8fba3b7dd Autotool ipa-server - patch from William Jon McCann <mccann@jhu.edu>. -
Karl MacMillan bd3b07b448 Use setup.py for ipa-python from William Jon McCann <mccann@jhu.edu>. -
Karl MacMillan f25e7c46ef Merge. -
Karl MacMillan d2a19b2009 Karl MacMillan wrote:
> > This largish patch makes the build and installation work on 64bit
> > machines. The only catch here is that to get a 64bit build you need to
> > set LIBDIR on make:
> >
> > make install LIBDIR=/usr/lib64
> >
> > The spec file does this correctly. I couldn't find any reliable way to
> > guess this that works both on real systems and in the almost entirely
> > empty rpm build root (you can't, for example, check for the existence
> > of /usr/lib64).
-
Karl MacMillan 1be00394e3 Hi,
Here is another patch for the installer.  It does a few things:

 * use socket.getfqdn() but fallback to gethostname()
 * streamlines the hostname prompting
 * fixes a bunch of spelling and grammatical errors
 * fixes a bug in the hostname reading/verification logic
 * allows "yes" and "no" as answers
 * modularizes and reuses code where possible
 * changes some of the prompts to be more like
   the FDS installer - some text is copied (which is easy to use IMO)
 * tries to make the prompts fit on smaller screens (<80 chars)

Hope you agree that it is better.  :)

Thanks,
Jon
-
Karl MacMillan cfaa18a1cf On 10/4/07, Rob Crittenden <rcritten@redhat.com> wrote:
> William Jon McCann wrote:
> > Hi,
> >
> > After playing with the install (repeatedly) I ended up with a lot of
> > duplicate values in:
> > /etc/sysconfig/dirsrv
> > /etc/sysconfig/ipa-kpasswd
> >
> > Here is a patch that should fix this.  It modifies the file "in-place"
> > and removes lines that matching the key (or commented key) and then
> > appends the new key=value.
> >
> > Jon
>
> Cool, I've wanted to fix this for a while (and recently aborted a switch
> from open with "a" to "w").
>
> What happens if the file doesn't exist yet? Do we need to wrap the
> fileinput loop in either a try/except or just look to see if the file
> exists first (my vote)?
>
> Something like:
>
> def update_key_val_in_file(filename, key, val):
>      if os.path.exists(filename):
>          pattern = "^[\s#]*%s\s*=" % re.escape(key)
>          p = re.compile(pattern)
>          for line in fileinput.input(filename, inplace=1):
>              if not p.search(line):
>                  sys.stdout.write(line)
>          fileinput.close()
>      f = open(filename, "a")
>      f.write("%s=%s\n" % (key, val))
>      f.close()

Good point.  In genera,l I prefer doing a try because it is a little
less racy but in this case it doesn't make a difference.

Updated patch attached.

Thanks,
Jon
-
Karl MacMillan 679343594d Install the web gui
Install the turbogears web gui including an init script. This
patch includes a few related changes:

* create a production configuration
* rename the web gui startup scrip to ipa-webgui
* add an init script
* chkconfig on the ipa-webgui init script
* make the start script properly daemonize the app when not
  in a development directory.
* Install everything to the correct places (/usr/sbin/ipa-webgui
  and /usr/share/ipa/ipagui mainly).

There are some things still left to do:

* Sort out the logging - the config needs to be adjusted so
  that logging messages end up in /var/log.
-
Karl MacMillan 50d12d6d2e Misc small fixes
* Remove the rpmbuild tree with the dist-clean target.
* Move ipa-server-setupssl from /usr/sbin to /usr/share/ipa
* Check in requirement change for generated freeipa-python.spec
* Fix interactive hostname in ipa-server-install.
-
Karl MacMillan 22710a8dce Make apache work with selinux
The default configuration of the apache selinux policy doesn't allow
apache to connect to the turbogears gui. This sets the correct
boolean to allow that connection.
-
Karl MacMillan ab0f69891d Overwrite ldappwd file to fix bug when reinstalling IPA. -
Karl MacMillan d0c856d547 Reset version numbers for next milestone. -
Karl MacMillan b690ccd795 Added tag milestone_3 for changeset d3a37950495c -
Karl MacMillan d15ad0f26a Update version numbers for release. -
Karl MacMillan 438b548f19 Correct installation path for dna plugin. -
Karl MacMillan 09621f1319 Added freeipa logo. -
Karl MacMillan 6eea6664e0 This patch wraps binary data in an xmlrpclib Binary object. This
removes the need for LDIF conversion.  It will make TurboGears direct
code faster, but should keep xmlrpc about the same speed.

The patch also swaps out ldap.cidict for the IPA CIDict class.  IPA code
should only use the CIDict class now.
-
Karl MacMillan 14d78e9170 Added tag milestone_2 for changeset b0ff0d52ef89 -
Karl MacMillan 268dd829df Added dna plugin to spec. -
Karl MacMillan f437ecfad1 Fix minor error in previous patch. -
Karl MacMillan 8d36f03f83 Merge simple fix from Rob Crittenden. -
Karl MacMillan 07ee40cb28 Revert incorrect fix. -
Karl MacMillan 7ace2ba951 Fix small typo in ipaclient. -
Karl MacMillan 288128d560 Updated freeipa-admintool spec file to include additional tools.
Updated freeipa-python to depend on PyKerberos package.
-
Karl MacMillan 92be45e3fe Fix -Wall for memberof plugin (from Pete Rowley). -
Karl MacMillan c1b3a4c412 Install server plugins in correct lib directory. -
Karl MacMillan 0144922fd7 Merge from bundle. -
Karl MacMillan 2e1f317b09 Updated dep list. -
Karl MacMillan e27ab98fd2 Integrate memberof plugin into build. -
Karl MacMillan 0d981af820 Various build system fixes. -
Karl MacMillan cf93b1bc64 Fixed merge. -
Karl MacMillan b1831b4593 Fix typo / buglets in setup scripts.
Add fallback to ds_newinst.pl.
-
Karl MacMillan cdbaccb928 import initial install tool -
Karl MacMillan 9a01f353cf Bump version numbers for release. -
Karl MacMillan 86c223f472 Merge. -
Karl MacMillan cef59d76eb Minor fix to adduser.
Make ipa-server-install restart htppd
-
Karl MacMillan 1b4406dc5d Reorganize repo to reflect more generic command names. -
Karl MacMillan 88a1ab65ce Updates to build kpaswd and the slapi plugins. -
Karl MacMillan 548698a887 Add ntpd requirement. -
Karl MacMillan 66ab69d0b2 Only install the ipa.conf file if it does not exist. -
Karl MacMillan 66ee656155 Added spec files for python and admintools. -
Karl MacMillan eff27932e0 Initial layout. -
Karl MacMillan abdc56fb3a Added ipa.conf. -
Karl MacMillan 8cf45633fe Fixed broken patches and server spec. -
Karl MacMillan ec9ca376c5 Added config.py. -
Karl MacMillan 7d95cd612c Final reorginzation to reflect packaging. -
Karl MacMillan aed1f91105 Add local-dist target.
Remove hard-coded config.
-
Karl MacMillan 1d8d4222ab Second (final) part of xmlrpc patch. -
Karl MacMillan 4d656111e6 First part of xml-rpc patch. -
Karl MacMillan 95bdb1bdf0 Updated spec with nss-tools and openldap-clients -
Karl MacMillan e811c87b1c Update dsinstance.py to use setup-ds.pl instead of ds_newinst.pl. -
Karl MacMillan ee1a0bb90f First working spec file. -
Karl MacMillan 19f5aaa424 Fixed spec. -
Karl MacMillan c7a3bbe3ac Update for DESTDIR -
Karl MacMillan 618b98fea7 Finish python library reorg. -
Karl MacMillan bac241ffc3 More reorgnization. -
Karl MacMillan f7d005a854 Finish removing extra files. -
Karl MacMillan 1e52deca8f Removed unnecessary files (which were added to work around a mercurial bug) -
Karl MacMillan b8a0512998 Update for new python library layout. -
Karl MacMillan 899daaf048 First cut at spec files and Makefile for ipa-server. -
Karl MacMillan 9d5b946fda Reorganized repo to reflect packaging. -
Karl MacMillan a471ebe751 Removed duplication. -
Karl MacMillan 0d0f83f603 Fix permission problem with DS user. -
Karl MacMillan 326b37371b Improve kerberos install patch from Simo. -
Karl MacMillan a53a4e71bb Added additional debugging information. -