~ubuntu-branches/ubuntu/karmic/checkpolicy/karmic

« back to all changes in this revision

Viewing changes to debian/common/install_cmds.mk

  • Committer: Bazaar Package Importer
  • Author(s): Caleb Case, Caleb Case, Joseph Jackson IV
  • Date: 2008-02-09 21:34:46 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080209213446-hqazy6s0r3lpdekc
Tags: 2.0.9-0ubuntu1
[ Caleb Case ]
* New upstream SVN HEAD.
 + Added support for policy capabilities from Todd Miller.
 + Initialize the source file name from the command line argument so
   that checkpolicy/checkmodule report something more useful than
   "unknown source".
 + Merged remove use of REJECT and trailing context in lex rules; make
   ipv4 address parsing like ipv6 from James Carter.
 + Merged handle unknown policydb flag support from Eric Paris.
   Adds new command line options -U {allow, reject, deny} for selecting
   the flag when a base module or kernel policy is built.
 + Merged fix for segfault on duplicate require of sensitivity from
   Caleb Case.
 + Merged fix for dead URLs in checkpolicy man pages from Dan Walsh.

[ Joseph Jackson IV ]
* debian/control
  - Update Debian Maintainer field

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
######################### -*- Mode: Makefile-Gmake -*- ########################
2
 
## install_cmds.mk ---
3
 
## Author           : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com )
4
 
## Created On       : Fri Jun 16 14:40:20 2006
5
 
## Created On Node  : glaurung.internal.golden-gryphon.com
6
 
## Last Modified By : Manoj Srivastava
7
 
## Last Modified On : Wed Sep  6 11:43:05 2006
8
 
## Last Machine Used: glaurung.internal.golden-gryphon.com
9
 
## Update Count     : 9
10
 
## Status           : Unknown, Use with caution!
11
 
## HISTORY          :
12
 
## Description      :
13
 
##
14
 
## arch-tag: a38b6a93-2539-4034-9060-ae94d5c8a071
15
 
##
16
 
## This program is free software; you can redistribute it and/or modify
17
 
## it under the terms of the GNU General Public License as published by
18
 
## the Free Software Foundation; either version 2 of the License, or
19
 
## (at your option) any later version.
20
 
##
21
 
## This program is distributed in the hope that it will be useful,
22
 
## but WITHOUT ANY WARRANTY; without even the implied warranty of
23
 
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
 
## GNU General Public License for more details.
25
 
##
26
 
## You should have received a copy of the GNU General Public License
27
 
## along with this program; if not, write to the Free Software
28
 
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
29
 
##
30
 
###############################################################################
31
 
 
32
 
# install commands
33
 
install_file   = install -p    -o root -g root -m 644
34
 
install_script = install -p    -o root -g root -m 755
35
 
install_program= install -p    -o root -g root -m 755
36
 
make_directory = install -p -d -o root -g root -m 755
37
 
 
38
 
define create_md5sum
39
 
    create_md5sums_fn () {                                         \
40
 
        cd $$1 ;                                                   \
41
 
       find . -type f                                              \
42
 
              ! -regex './DEBIAN/.*'                               \
43
 
              ! -regex './etc/.*'     $(EXTRA_MD5SUM_EXCLUDE)      \
44
 
              -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums ; \
45
 
       if [ -z "DEBIAN/md5sums" ] ; then                           \
46
 
           rm -f "DEBIAN/md5sums" ;                                \
47
 
       fi ;                                                        \
48
 
    } ;                                                            \
49
 
    create_md5sums_fn 
50
 
endef
51
 
 
52
 
#Local variables:
53
 
#mode: makefile
54
 
#End: