summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Fix python Requires in Fedora 17 buildMartin Kosek2012-05-151-5/+7
| | | | | | | | | | | | | | | | When python's distutils build process prepares python scripts, it use current Python interpreter in an updated shebang for python scripts. Since Makefile did not use absolute path to python interpreter, it may be translated to "/bin/python" in Fedora 17 which is then taken by rpmbuild as freeipa-admintools dependency. This can break of F-17 python package which provides just "/usr/bin/python" This patch updates Makefile to use a correct absolute path to python interpreter which is then filled to freeipa scripts shebang and rpm Requires list. The value is taken from RPM __python macro so that we do not hardcode it. https://fedorahosted.org/freeipa/ticket/2727
* validate i18n strings when running "make lint"John Dennis2012-04-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Add bootstrap-autogen depdenency to lint target to force generated files to be created. * Add validate-src-strings to lint rules * Add validate-src-strings as dependency to lint targett * Remove obsolete test_lang frm test target * Add diagnostic message to validation command in i18n.py that outputs how many objects were scanned. Formerly it only output a message if there were errors. This made it impossible to distinguish an empty file from one with no errors. * While adding the validation counts it was discovered plurals had been omitted for some of the validation checks. Added the missing checks for plural forms. * Also distinguished between errors and warnings. Permit warnings to be emitted but do not fail the validatition unless actual errors were also detected.
* Remove old RPMROOT contents before it is used for rpmbuildJohn Dennis2011-12-091-0/+1
|
* ticket 2172 - If "make rpms" fails so will the next makeJohn Dennis2011-12-081-10/+10
| | | | | | | | | | | | | If "make rpms" fails it doesn't clean up the rpmbuild directory it created. The next make-lint will also fail because it finds files under rpmbuild. make-lint is invoked by "make rpms", a vicous cycle. The patch contains two sets of changes Include "rpmbuild" in the IGNORE_PATHS list of make-lint. Fix the Makefile to use $(RPMBUILD) consistently, there were a number of hardcoded uses of "rpmbuild" as a direcotry.
* Create directories for client installAlexander Bokovoy2011-11-161-1/+10
| | | | | | | | | | | When ``make client-install`` is called, create /etc/ipa and /var/lib/ipa-client/sysrestore directories required for successful use of ipa-client-install. Do it only if DESTDIR is set to help packagers to notice that these directories have to exist https://fedorahosted.org/freeipa/ticket/1849
* Add support for systemd environments and use it to support Fedora 16Alexander Bokovoy2011-10-241-1/+1
| | | | https://fedorahosted.org/freeipa/ticket/1192
* Introduce platform-specific adaptation for services used by FreeIPA.Alexander Bokovoy2011-09-131-0/+8
| | | | | | | | | Refactor FreeIPA code to allow abstracting all calls to external processes and dependencies on modification of system-wide configuration. A platform provider would give its own implementation of those methods and FreeIPA would use it based on what's built in packaging process. https://fedorahosted.org/freeipa/ticket/1605
* Multi-process build problemsMartin Kosek2011-06-191-1/+1
| | | | | | | | Fix a problem when a target missed a version-update requirement. This caused build problems, especially in a parallel build environment. https://fedorahosted.org/freeipa/ticket/1215
* Require an imported certificate's issuer to match our issuer.Rob Crittenden2011-06-161-0/+1
| | | | | | | | | | The goal is to not import foreign certificates. This caused a bunch of tests to fail because we had a hardcoded server certificate. Instead a developer will need to run make-testcert to create a server certificate generated by the local CA to test against. ticket 1134
* Run lint during each build.Jan Cholasta2011-05-051-4/+9
| | | | ticket 1180
* Add lint script for static code analysis.Jan Cholasta2011-04-131-0/+3
| | | | ticket 867
* Rename package to freeipaJan Zeleny2011-01-251-6/+6
| | | | https://fedorahosted.org/freeipa/ticket/581
* Add API version and have server reject incompatible clients.Rob Crittenden2011-01-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | This patch contains 2 parts. The first part is a small utility to create and validate the current API. To do this it needs to load ipalib which on a fresh system introduces a few problems, namely that it relies on a python plugin to set the default encoding to utf8. For our purposes we can skip that. It is also important that any optional plugins be loadable so the API can be examined. The second part is a version exchange between the client and server. The version has a major and a minor version. The major verion is updated whenever existing API changes. The minor version is updated when new API is added. A request will be rejected if either the major versions don't match or if the client major version is higher than then server major version (though by implication new API would return a command not found if allowed to proceed). To determine the API version of the server from a client use the ping command. ticket 584
* Remove radius options completely.Simo Sorce2011-01-141-13/+0
| | | | | | | This has been completely abandoned since ipa v1 and is not built by default. Instead of carrying dead weight, let's remove it for now. Fixes: https://fedorahosted.org/freeipa/ticket/761
* Replication version checking.Rob Crittenden2010-06-241-0/+4
| | | | | | | | Whenever we upgrade IPA such that any data incompatibilities might occur then we need to bump the DATA_VERSION value so that data will not replicate to other servers. The idea is that you can do an in-place upgrade of each IPA server and the different versions own't pollute each other with bad data.
* Drop --with-openldap option in the client. This is no longer optional.Rob Crittenden2010-06-211-2/+2
|
* Use more traditional make notation to build the test languageRob Crittenden2010-04-161-1/+1
|
* Add gettext translation test using test language.John Dennis2010-04-161-0/+1
|
* Fix the client and client-rpms make targetsrcrit2010-03-191-0/+2
|
* Add a separate client-only targetRob Crittenden2009-10-171-2/+31
|
* Enrollment for a host in an IPA domainRob Crittenden2009-09-241-2/+2
| | | | | | | | | | | | This will create a host service principal and may create a host entry (for admins). A keytab will be generated, by default in /etc/krb5.keytab If no kerberos credentails are available then enrollment over LDAPS is used if a password is provided. This change requires that openldap be used as our C LDAP client. It is much easier to do SSL using openldap than mozldap (no certdb required). Otherwise we'd have to write a slew of extra code to create a temporary cert database, import the CA cert, ...
* Added Rob's 'srpms' make targetRob Crittenden2009-05-111-0/+7
|
* Don't build radius by defaultRob Crittenden2009-03-041-2/+12
|
* Rename ipa-python directory to ipapython so it is a real python libraryRob Crittenden2009-02-091-7/+7
| | | | | We used to install it as ipa, now installing it as ipapython. The rpm is still ipa-python.
* Remove the temporary tree used during rpmbuild when finishedRob Crittenden2009-02-051-0/+1
|
* Complete consolidation into a single autogen.shRob Crittenden2009-02-041-13/+8
|
* Fix remaining issues with XML-RPC test casesRob Crittenden2009-02-041-3/+1
| | | | | | Tied the make-test script into the test target of the top-level Makefile Added code to xmlrpc_test.py so that it configures the API if it isn't already done which enables individual tests to be executed.
* Get merged tree into an installalble state.Rob Crittenden2009-02-031-145/+47
| | | | | | | | I have only tested the all, rpms and *clean targets directly. install may work but the rpm moves a lot of things around for us. The Apache configuration file isn't in its final state but it works with the new mod_python configuration.
* apparently the "configure" target is never usedSimo Sorce2008-08-131-4/+0
|
* Fix versioning for configure.ac and ipa-python/setup.pySimo Sorce2008-08-111-20/+37
| | | | | | | | | | Fix make maintainer-clean Also make RPM naming consistent by using a temp RELEASE file. This one helps when testing builds using rpms. Just 'echo X > RELEASE' to build a new rpms (X, X+1, X+2 ...) Version 1.1.0 was released some times ago, bump up to 1.1.1
* Fix make allSimo Sorce2008-06-161-1/+1
|
* Move version.py to the common ipa directory instead of being server-based so ↵Rob Crittenden2008-06-031-3/+3
| | | | | | it can be used by the client tool. Fix the client tool imports to fail more gracefully.
* Use openldap libraries by default as mozldap libs seem to breakSimo Sorce2008-05-291-2/+2
| | | | ldap_extended_operation() somehow and ipa_kpasswd stops working
* Convert mercurial command to git equivalent for creating an archive.Rob Crittenden2008-05-091-1/+2
| | | | | | | | | By default it will use the master branch of the repo this is run from. To specify a different branch use the argument TARGET=<branch> e.g. make dist TARGET=ipa-1-0 442419
* Add a version API to the server so it knows what version it is.Rob Crittenden2008-05-081-1/+3
| | | | 435019
* Second half of the redoing how the version is managed.Rob Crittenden2008-05-071-58/+55
|
* Become version 1.0.0release-1-0-0Rob Crittenden2008-04-161-14/+14
|
* Become freeipa-0.99.0Rob Crittenden2008-02-211-7/+7
|
* Initial SELinux policies for ipa_kpasswd and ipa_webguiRob Crittenden2008-02-081-1/+19
|
* Include --prefix in all invocations of autogen.sh.Rob Crittenden2008-01-241-2/+2
| | | | Resolves bz 430002
* Backup system state in ipa-server-installRob Crittenden2008-01-141-4/+4
| | | | | | | | | | | | | This patch adds a sysrestore module which allows ipa-server-install code to backup any system state so that it can be restored again with e.g. ipa-server-install --uninstall. The idea is that any files ipa-server-install modifies gets backed up to /var/cache/ipa/sysrestore/ while any "meta" state, like whether a service is enabled with chkconfig, is saved to /var/cache/ipa/sysrestore.state. Signed-off-by: Mark McLoughlin <markmc@redhat.com>
* Update versions for release.Karl MacMillan2007-12-211-6/+6
|
* Create ipa-radius-admintoolsKarl MacMillan2007-12-181-2/+24
|
* Move radius server components into a separate package.Karl MacMillan2007-12-121-2/+26
|
* Add ipa-python to maintainer-clean and clean up .pyc filesRob Crittenden2007-11-281-0/+1
|
* Move packages to ipa from freeipa.Karl MacMillan2007-11-211-21/+21
|
* Bump the version numbers for release. Also removeKarl MacMillan2007-11-211-8/+8
| | | | | | specific version check on freeradius. Packages aren't available and the freeradius support isn't ready anyway.
* Allow setting of lib directory to correct non-rpm builds on x86_64.Karl MacMillan2007-11-131-4/+6
| | | | | | With this patch you will need to run: make autogen LIBDIR=/usr/lib64 Also works for 'make all'.
* Make it possible to force the running of autogen.Karl MacMillan2007-11-051-2/+6
| | | | | | | | | With the change to run autogen on make all if there was no makefile present, it became impossible to force the running of autogen when that is needed. Fix that by adding a bootstrap-autogen target that checks the existing of Makefiles and reverting the autogen target to always run autogen.
* 'make all' needs to depend on autogen.sh but we don't want to re-run itRob Crittenden2007-11-021-3/+3
| | | | on every iteration. This lets the top-level 'make install' work properly.