/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Teddy Hogeborn
  • Date: 2008-10-03 09:32:30 UTC
  • Revision ID: teddy@fukt.bsnet.se-20081003093230-rshn19e0c19zz12i
* .bzrignore (plugins.d/askpass-fifo): Added.

* Makefile (FORTIFY): Added "-fstack-protector-all".
  (mandos, mandos-keygen): Use more strict regexps when updating the
                           version number.

* mandos (Client.__init__): Use os.path.expandvars() and
                            os.path.expanduser() on the "secfile"
                            config value.

* plugins.d/splashy.c: Update comments and order of #include's.
  (main): Check user and group when looking for running splashy
          process.  Do not ignore ENOENT from execl().  Use _exit()
          instead of "return" when an error happens in child
          processes.  Bug fix: Only wait for splashy_update
          completion if it was started.  Bug fix: detect failing
          waitpid().  Only kill splashy_update if it is running.  Do
          the killing of the old splashy process before the fork().
          Do setsid() and setuid(geteuid()) before starting the new
          splashy.  Report failing execl().

* plugins.d/usplash.c: Update comments and order of #include's.
  (main): Check user and group when looking for running usplash
          process.  Do not report execv() error if interrupted by a
          signal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        rm -f build-arch-stamp build-indep-stamp configure-stamp
39
39
        dh_auto_clean
40
40
        dh_clean
 
41
        debconf-updatepo
41
42
 
42
43
install: install-indep install-arch
43
44
install-indep:
47
48
        dh_installdirs --indep
48
49
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
49
50
        dh_lintian
50
 
        dh_installinit --onlyscripts --no-start
 
51
        dh_installinit --onlyscripts --no-start \
 
52
                --update-rcd-params="defaults 25 15"
51
53
        dh_install --indep
52
54
 
53
55
install-arch:
64
66
        dh_testroot
65
67
        dh_installchangelogs
66
68
        dh_installdocs
67
 
#       dh_installdebconf
 
69
        dh_installdebconf
68
70
        dh_link
69
71
        dh_strip
70
72
        dh_compress
71
73
        dh_fixperms --exclude etc/keys/mandos \
72
74
                --exclude etc/mandos/clients.conf \
 
75
                --exclude etc/mandos/plugins.d \
73
76
                --exclude usr/lib/mandos/plugins.d
74
77
        dh_installdeb
75
78
        dh_shlibdeps