Ignore:
Timestamp:
Dec 24, 2009, 4:45:00 PM (14 years ago)
Author:
gdb
Message:

Added debathena krb and ssh config stuff to invirt-base

Location:
package_branches/invirt-base/hvirt/debian
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-base/hvirt/debian/changelog

    r2614 r2776  
     1invirt-base (0.0.28) unstable; urgency=low
     2
     3  * Added debathena SSH and KRB5 config
     4
     5 -- Greg Brockman <gdb@mit.edu>  Thu, 24 Dec 2009 16:30:55 -0500
     6
    17invirt-base (0.0.27) unstable; urgency=low
    28
  • package_branches/invirt-base/hvirt/debian/control

    r2602 r2776  
    33Priority: extra
    44Maintainer: Invirt project <invirt@mit.edu>
    5 Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), python-all-dev, python-support, python-setuptools, python-debian, python-apt
     5Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), python-all-dev, python-support, python-setuptools, python-debian, python-apt, krb5-config, krb5-user, krb5-clients, openssh-server
    66Standards-Version: 3.8.0
    77
    88Package: invirt-base
    99Architecture: all
    10 Depends: ${python:Depends}, ${misc:Depends},
     10Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends},
    1111 python-json (>= 3.4-2), python-yaml (>= 3.05), python-mako (>=
    12  0.2.2), remctl-client, invirt-config
    13 Provides: ${python:Provides}
     12 0.2.2), remctl-client, invirt-config, krb5-config, krb5-user,
     13 krb5-clients, openssh-server
     14Provides: ${python:Provides}, ${diverted-files}
     15Conflicts: ${diverted-files}
    1416XB-Python-Version: ${python:Versions}
    1517Description: Base configuration required for all Invirt servers
  • package_branches/invirt-base/hvirt/debian/rules

    r1330 r2776  
    22
    33DEB_PYTHON_SYSTEM=pysupport
     4DEB_DIVERT_EXTENSION = .invirt
     5# Stolen from Debathena
     6DEB_CHECK_FILES_SOURCE_/etc/krb5.conf.invirt = \
     7        /usr/share/kerberos-configs/krb5.conf.template
     8DEB_TRANSFORM_FILES_invirt-base += \
     9        /etc/krb5.conf.invirt
    410
    511include /usr/share/cdbs/1/rules/debhelper.mk
    612include /usr/share/cdbs/1/class/python-distutils.mk
     13include /usr/share/cdbs/1/rules/config-package.mk
    714
    815binary-fixup/invirt-base::
    916        mv $(DEB_DESTDIR)usr/bin/invirt-reload $(DEB_DESTDIR)usr/sbin/invirt-reload
    1017
     18# Stolen from Debathena
     19debian/sshd_config.invirt-orig: /var/lib/dpkg/info/openssh-server.postinst
     20        perl -0pe 's/^.*<<EOF[^\n]*\n(.*\n)EOF\n.*$$/$$1/s or die;' $< > $@
     21
     22# Stolen from Debathena
     23debian/sshd_config.invirt: debian/sshd_config.invirt-orig
     24        perl -0pe '# Debathena rules (from debathena-ssh-server-config) \
     25s/^#?GSSAPIAuthentication .*$/GSSAPIAuthentication yes\nGSSAPIKeyExchange yes\nGSSAPIStrictAcceptorCheck no/m or die; \
     26s/^#?GSSAPICleanupCredentials .*$/GSSAPICleanupCredentials yes/m or die; \
     27s/^#?ChallengeResponseAuthentication .*$/ChallengeResponseAuthentication yes/m or die; \
     28## In Debathena, privilege separation is configurable. \
     29s/^#?UsePrivilegeSeparation .*$/UsePrivilegeSeparation yes/m or die; \
     30s/^#?PasswordAuthentication .*$/PasswordAuthentication no/m or die;' $< > $@
     31
    1132clean::
    1233        rm -rf python/invirt.egg-info
Note: See TracChangeset for help on using the changeset viewer.