PageRenderTime 36ms CodeModel.GetById 30ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/crypto/heimdal/packages/debian/rules

https://bitbucket.org/freebsd/freebsd-head/
Makefile | 62 lines | 48 code | 12 blank | 2 comment | 2 complexity | 7e5d01930b851ff7e851107e551d1233 MD5 | raw file
 1#!/usr/bin/make -f
 2
 3include /usr/share/cdbs/1/rules/debhelper.mk
 4include /usr/share/cdbs/1/class/autotools.mk
 5include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 6
 7DEB_INSTALL_DOCS_ALL =
 8DEB_INSTALL_DOCS_heimdal-docs = $(filter-out $(DEB_INSTALL_CHANGELOGS_ALL),$(shell for f in README NEWS TODO BUGS AUTHORS THANKS; do if test -s $(DEB_SRCDIR)/$$f; then echo $(DEB_SRCDIR)/$$f; fi; done)) \
 9	NEWS TODO
10
11
12DEB_DH_INSTALL_SOURCEDIR = debian/tmp
13
14DEB_CONFIGURE_LIBEXECDIR ="\$${prefix}/sbin"
15
16DEB_CONFIGURE_EXTRA_FLAGS := \
17	--enable-shared \
18	--enable-otp \
19	--with-kaserver \
20	--with-openssl \
21	--with-openldap \
22	--with-readline-include=/usr/include/editline \
23	--enable-kcm
24
25# /var/lib/heimdal-kdc is 700
26DEB_FIXPERMS_EXCLUDE = heimdal-kdc
27
28binary-post-install/heimdal-servers::
29	mv debian/heimdal-servers/usr/sbin/kfd debian/heimdal-servers/usr/lib/heimdal-servers
30	mv debian/heimdal-servers/usr/sbin/ftpd debian/heimdal-servers/usr/lib/heimdal-servers
31	mv debian/heimdal-servers/usr/sbin/rshd debian/heimdal-servers/usr/lib/heimdal-servers
32	mv debian/heimdal-servers/usr/sbin/telnetd debian/heimdal-servers/usr/lib/heimdal-servers
33	mv debian/heimdal-servers/usr/sbin/popper debian/heimdal-servers/usr/lib/heimdal-servers
34	mv debian/heimdal-servers/usr/bin/login debian/heimdal-servers/usr/lib/heimdal-servers
35
36binary-post-install/heimdal-servers-x::
37	mv debian/heimdal-servers-x/usr/sbin/kxd debian/heimdal-servers-x/usr/lib/heimdal-servers
38
39binary-post-install/heimdal-kdc::
40	mv debian/heimdal-kdc/usr/sbin/kdc debian/heimdal-kdc/usr/lib/heimdal-servers
41	mv debian/heimdal-kdc/usr/sbin/kadmind debian/heimdal-kdc/usr/lib/heimdal-servers
42	mv debian/heimdal-kdc/usr/sbin/kpasswdd debian/heimdal-kdc/usr/lib/heimdal-servers
43	install -m644 debian/extras/default debian/heimdal-kdc/etc/default/heimdal-kdc
44	install -m644 lib/hdb/hdb.schema debian/heimdal-kdc/etc/ldap/schema/hdb.schema
45	dh_fixperms -pheimdal-kdc
46	chmod 700 debian/heimdal-kdc/var/lib/heimdal-kdc
47
48binary-post-install/heimdal-clients::
49	mv debian/heimdal-clients/usr/bin/telnet debian/heimdal-clients/usr/bin/ktelnet
50	mv debian/heimdal-clients/usr/bin/ftp debian/heimdal-clients/usr/bin/kftp
51	mv debian/heimdal-clients/usr/share/man/man1/telnet.1 debian/heimdal-clients/usr/share/man/man1/ktelnet.1
52	mv debian/heimdal-clients/usr/share/man/man1/ftp.1 debian/heimdal-clients/usr/share/man/man1/kftp.1
53	mv debian/heimdal-clients/usr/bin/rsh debian/heimdal-clients/usr/bin/krsh
54	mv debian/heimdal-clients/usr/bin/rcp debian/heimdal-clients/usr/bin/krcp
55	mv debian/heimdal-clients/usr/bin/pagsh debian/heimdal-clients/usr/bin/kpagsh
56	mv debian/heimdal-clients/usr/bin/su debian/heimdal-clients/usr/bin/ksu
57	mv debian/heimdal-clients/usr/share/man/man1/rsh.1 debian/heimdal-clients/usr/share/man/man1/krsh.1
58	mv debian/heimdal-clients/usr/share/man/man1/pagsh.1 debian/heimdal-clients/usr/share/man/man1/kpagsh.1
59	mv debian/heimdal-clients/usr/share/man/man1/su.1 debian/heimdal-clients/usr/share/man/man1/ksu.1
60
61binary-post-install/heimdal-docs::
62	mv debian/heimdal-docs/usr/share/man/man5/krb5.conf.5 debian/heimdal-docs/usr/share/man/man5/krb5.conf.5heimdal