summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-10-30 17:43:50 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-10-30 17:43:50 -0400
commit4f6d730917ea7b3e1669fa72ca3fb36118a3f106 (patch)
tree08d1e8f164c18fd467ed714d367e46fa7a26da58 /Makefile
parenta09fb59680442993cf42cb3e0dd22fd6d0ec7efd (diff)
downloadthird_party-cobbler-4f6d730917ea7b3e1669fa72ca3fb36118a3f106.zip
third_party-cobbler-4f6d730917ea7b3e1669fa72ca3fb36118a3f106.tar.gz
third_party-cobbler-4f6d730917ea7b3e1669fa72ca3fb36118a3f106.tar.xz
Moving the auth parts to a .htaccess and out of Apache config. Tested on my box with Digest auth and seems to work well. Misc associated packaging details.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 14e7e47..084b926 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ test:
-cp /var/lib/cobbler/profiles* /tmp/cobbler_test_bak
-cp /var/lib/cobbler/systems* /tmp/cobbler_test_bak
-cp /var/lib/cobbler/repos* /tmp/cobbler_test_bak
+ -cp /var/lib/cobbler/repos* /tmp/cobbler_test_bak
python tests/tests.py
-cp /tmp/cobbler_test_bak/* /var/lib/cobbler
@@ -38,11 +39,15 @@ devinstall:
cp /var/lib/cobbler/settings /tmp/cobbler_settings
cp /etc/cobbler/auth.conf /tmp/cobbler_auth.conf
cp /etc/cobbler/modules.conf /tmp/cobbler_modules.conf
+ cp /var/www/cobbler/cgi-bin/.htpasswd /tmp/cobbler_htpasswd
make install
cp /tmp/cobbler_settings /var/lib/cobbler/settings
cp /tmp/cobbler_auth.conf /etc/cobbler/auth.conf
cp /tmp/cobbler_modules.conf /etc/cobbler/modules.conf
+ cp /tmp/cobbler_htpasswd /var/www/cobbler/cgi-bin/.htpasswd
find /var/lib/cobbler/triggers | xargs chmod +x
+ chown -R apache /var/www/cobbler
+ chown -R apache /var/www/cgi-bin/cobbler
sdist: clean messages updatewui
python setup.py sdist