source: trunk/packages/invirt-console/debian/rules @ 3052

Last change on this file since 3052 was 3023, checked in by broder, 14 years ago

Divert /etc/conserver/console.cf in the right binary package.

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1#!/usr/bin/make -f
2
3DEB_DIVERT_EXTENSION = .invirt
4DEB_TRANSFORM_FILES_invirt-console-server += \
5        /etc/init.d/bootmisc.sh.invirt \
6        /etc/nsswitch.conf.invirt \
7        /etc/nscd.conf.invirt \
8        /etc/pam.d/sshd.invirt \
9        /etc/ssh/sshd_config.invirt.invirt
10
11DEB_UNDIVERT_FILES_invirt-console-server += \
12        /etc/ssh/sshd_config.debathena.invirt
13
14DEB_UNDIVERT_VERSION_/etc/ssh/sshd_config.debathena.invirt = 0.2.12~
15
16ifneq ($(wildcard /usr/share/base-files/nsswitch.conf),)
17    DEB_CHECK_FILES_SOURCE_/etc/nsswitch.conf.invirt = \
18        /usr/share/base-files/nsswitch.conf
19endif
20
21DEB_DIVERT_FILES_invirt-console-server += \
22        /etc/conserver/conserver.cf.invirt \
23        /etc/conserver/console.cf.invirt \
24        /etc/motd.invirt
25DEB_DIVERT_FILES_invirt-console-host += \
26        /etc/conserver/conserver.cf.invirt \
27        /etc/conserver/server.conf.invirt
28
29DEB_UNDIVERT_FILES_invirt-console-host += \
30        /etc/conserver/console.cf.invirt
31DEB_UNDIVERT_VERSION_/etc/conserver/console.cf.invirt = 0.2.15~
32
33include /usr/share/cdbs/1/rules/debhelper.mk
34include /usr/share/cdbs/1/rules/config-package.mk
Note: See TracBrowser for help on using the repository browser.