X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/4a57b88860bf06d5c81f8ab94f62e10161c27cab..refs/heads/prod:/debian/rules?ds=sidebyside diff --git a/debian/rules b/debian/rules index 1dcc66c..5117948 100755 --- a/debian/rules +++ b/debian/rules @@ -1,9 +1,34 @@ #!/usr/bin/make -f -DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 -DEB_DIVERT_EXTENSION = .sipb-xen -DEB_DIVERT_FILES_sipb-xen-console-server += \ - /etc/conserver/conserver.cf.sipb-xen +DEB_DIVERT_EXTENSION = .invirt +DEB_TRANSFORM_FILES_invirt-console-server += \ + /etc/init.d/bootmisc.sh.invirt \ + /etc/nsswitch.conf.invirt \ + /etc/nscd.conf.invirt \ + /etc/pam.d/sshd.invirt \ + /etc/ssh/sshd_config.invirt.invirt + +DEB_UNDIVERT_FILES_invirt-console-server += \ + /etc/ssh/sshd_config.debathena.invirt + +DEB_UNDIVERT_VERSION_/etc/ssh/sshd_config.debathena.invirt = 0.2.12~ + +ifneq ($(wildcard /usr/share/base-files/nsswitch.conf),) + DEB_CHECK_FILES_SOURCE_/etc/nsswitch.conf.invirt = \ + /usr/share/base-files/nsswitch.conf +endif + +DEB_DIVERT_FILES_invirt-console-server += \ + /etc/conserver/conserver.cf.invirt \ + /etc/conserver/console.cf.invirt \ + /etc/motd.invirt +DEB_DIVERT_FILES_invirt-console-host += \ + /etc/conserver/conserver.cf.invirt \ + /etc/conserver/server.conf.invirt + +DEB_UNDIVERT_FILES_invirt-console-host += \ + /etc/conserver/console.cf.invirt +DEB_UNDIVERT_VERSION_/etc/conserver/console.cf.invirt = 0.2.15~ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/config-package.mk