Codebase list checkpolicy / 07c2534
Imported Debian patch 1.18-2 Manoj Srivastava authored 19 years ago Laurent Bigonville committed 12 years ago
72 changed file(s) with 1808 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.0
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.1
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.2
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.3
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.4
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.5
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.6
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.7
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.8
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.9
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.10
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.11
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.12
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.14
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.15
0 Manoj Srivastava <srivasta@debian.org> Fri Nov 5 00:55:20 2004 9452.0
0 Manoj Srivastava <srivasta@debian.org> Fri Nov 21 03:17:12 2003 26704.0
0 Manoj Srivastava <srivasta@debian.org> Fri Nov 5 00:55:20 2004 9452.1
0 checkpolicy (1.18-2) unstable; urgency=low
1
2 * Update download location and copyright file, since the locations we
3 were pointing to are now forbidden (return a code 403).
4
5 -- Manoj Srivastava <srivasta@debian.org> Wed, 24 Nov 2004 14:01:41 -0600
6
7 checkpolicy (1.18-1) unstable; urgency=low
8
9 * New upstream release.
10 * MLS build fix.
11 * Fixed Makefile dependencies (Chris PeBenito).
12 * Merged fix for role dominance ordering issue from Chad Hanson of TCS.
13 * Preserve portcon ordering and apply more checking.
14
15 -- Manoj Srivastava <srivasta@debian.org> Thu, 4 Nov 2004 20:43:52 -0600
16
17 checkpolicy (1.16-1) unstable; urgency=low
18
19 * New upstream version, plus patches to 1.17 CVS.
20
21 -- Russell Coker <russell@coker.com.au> Tue, 26 Oct 2004 22:47:00 +1000
22
23 checkpolicy (1.14-2) unstable; urgency=low
24
25 * Patch from Tresys to fix a bug in conditional code compilation.
26
27 -- Russell Coker <russell@coker.com.au> Sun, 8 Aug 2004 22:26:00 +1000
28
29 checkpolicy (1.14-1) unstable; urgency=low
30
31 * New upstream version that adds fine-grained netlink support and fixes
32 some minur bugs.
33
34 -- Russell Coker <russell@coker.com.au> Wed, 30 Jun 2004 15:03:00 +1000
35
36 checkpolicy (1.10-1) unstable; urgency=low
37
38 * New ustream version, includes support for policy V17 and changes to the
39 -c option for backward compatability.
40
41 * Taking the package over from Colin.
42
43 -- Russell Coker <russell@coker.com.au> Thu, 20 May 2004 04:32:00 +1000
44
45 checkpolicy (1.6-0.1) unstable; urgency=low
46
47 * NMU with latest release (same as CVS).
48
49 -- Russell Coker <russell@coker.com.au> Thu, 26 Feb 2004 21:19:00 +1100
50
51 checkpolicy (1.4-2.1) unstable; urgency=low
52
53 * NMU to update to latest CVS, needed by new policy.
54
55 * Merged conditional policy extensions from Tresys Technology.
56 * Added typealias declaration support per Russell Coker's request.
57 * Added support for excluding types from type sets based on
58 a patch by David Caplan, but reimplemented as a change to the
59 policy grammar.
60 * Merged patch from Colin Walters to report source file name and line
61 number for errors when available.
62 * Un-deprecated role transitions.
63
64 -- Russell Coker <russell@coker.com.au> Mon, 23 Feb 2004 21:09:00 +1100
65
66 checkpolicy (1.4-2) unstable; urgency=low
67
68 * debian/control:
69 - Apply patch from ddtp to fix typo in description (Closes: #218528)
70
71 -- Colin Walters <walters@debian.org> Fri, 9 Jan 2004 06:00:52 +0000
72
73 checkpolicy (1.4-1) unstable; urgency=low
74
75 * New upstream release.
76 * debian/patches/lineno.patch:
77 - Add patch from CVS to display source line numbers on error.
78
79 -- Colin Walters <walters@debian.org> Fri, 9 Jan 2004 05:30:22 +0000
80
81 checkpolicy (1.1-1) unstable; urgency=low
82
83 * New upstream release.
84
85 -- Colin Walters <walters@debian.org> Thu, 21 Aug 2003 23:55:39 -0400
86
87 checkpolicy (1.0-2) unstable; urgency=low
88
89 * debian/control:
90 - Add Build-Depends on bison, flex (Closes: #205831)
91
92 -- Colin Walters <walters@debian.org> Tue, 5 Aug 2003 18:37:17 -0400
93
94 checkpolicy (1.0-1) unstable; urgency=low
95
96 * Initial version.
97
98 -- Colin Walters <walters@debian.org> Tue, 5 Aug 2003 01:35:18 -0400
0 ############################ -*- Mode: Makefile -*- ###########################
1 ## archvars.mk ---
2 ## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
3 ## Created On : Sat Nov 15 02:40:56 2003
4 ## Created On Node : glaurung.green-gryphon.com
5 ## Last Modified By : Manoj Srivastava
6 ## Last Modified On : Tue Nov 16 23:36:15 2004
7 ## Last Machine Used: glaurung.internal.golden-gryphon.com
8 ## Update Count : 5
9 ## Status : Unknown, Use with caution!
10 ## HISTORY :
11 ## Description :
12 ##
13 ## arch-tag: e16dd848-0fd6-4c0e-ae66-bef20d1f7c63
14 ##
15 ###############################################################################
16
17 DPKG_ARCH := dpkg-architecture
18 ifdef ARCH
19 ifeq ($(strip $(MAKING_VIRTUAL_IMAGE)),)
20 ha:=-a$(ARCH)
21 endif
22 endif
23
24 # set the dpkg-architecture vars
25
26 # set the dpkg-architecture vars
27 export DEB_BUILD_ARCH := $(shell $(DPKG_ARCH) -qDEB_BUILD_ARCH)
28 export DEB_BUILD_GNU_CPU := $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_CPU)
29 export DEB_BUILD_GNU_TYPE := $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_TYPE)
30 export DEB_HOST_ARCH := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH)
31 export DEB_HOST_GNU_CPU := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_CPU)
32 export DEB_HOST_GNU_SYSTEM := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_SYSTEM)
33 export DEB_HOST_GNU_TYPE := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_TYPE)
34 export DEB_BUILD_GNU_SYSTEM:= $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_SYSTEM)
35
36
37 REASON = @if [ -f $@ ]; then \
38 echo "====== making $(notdir $@) because of $(notdir $?) ======";\
39 else \
40 echo "====== making (creating) $@ ======"; \
41 fi
42
43 OLDREASON = @if [ -f $@ ]; then \
44 echo "====== making $(notdir $@) because of $(notdir $?) ======";\
45 else \
46 echo "====== making (creating) $(notdir $@) ======"; \
47 fi
48
49 LIBREASON = @echo "====== making $(notdir $@)($(notdir $%))because of $(notdir $?)======"
0 ############################ -*- Mode: Makefile -*- ###########################
1 ## automake.mk ---
2 ## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
3 ## Created On : Sat Nov 15 02:47:23 2003
4 ## Created On Node : glaurung.green-gryphon.com
5 ## Last Modified By : Manoj Srivastava
6 ## Last Modified On : Sat Nov 15 02:47:53 2003
7 ## Last Machine Used: glaurung.green-gryphon.com
8 ## Update Count : 1
9 ## Status : Unknown, Use with caution!
10 ## HISTORY :
11 ## Description :
12 ##
13 ## arch-tag: 1fabe69b-7cc8-4ecc-9411-bc5906b19857
14 ##
15 ###############################################################################
16
17 AUTOCONF_VERSION:=$(shell if [ -e configure ]; then \
18 grep "Generated automatically using autoconf" \
19 configure | sed -e 's/^.*autoconf version //g'; \
20 fi)
21 HAVE_NEW_AUTOMAKE:=$(shell if [ "X$(AUTOCONF_VERSION)" != "X2.13" ]; then \
22 echo 'YES' ; fi)
23
24 ifneq ($(strip $(HAVE_NEW_AUTOMAKE)),)
25 confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
26 else
27 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
28 confflags += $(DEB_HOST_GNU_TYPE)
29 else
30 confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
31 endif
32 endif
0 ############################ -*- Mode: Makefile -*- ###########################
1 ## copt.mk ---
2 ## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
3 ## Created On : Sat Nov 15 02:48:40 2003
4 ## Created On Node : glaurung.green-gryphon.com
5 ## Last Modified By : Manoj Srivastava
6 ## Last Modified On : Sat Nov 15 02:49:07 2003
7 ## Last Machine Used: glaurung.green-gryphon.com
8 ## Update Count : 1
9 ## Status : Unknown, Use with caution!
10 ## HISTORY :
11 ## Description :
12 ##
13 ## arch-tag: a0045c20-f1b3-4852-9a4b-1a33ebd7c1b8
14 ##
15 ###############################################################################
16
17 CC = cc
18 CFLAGS = -O2
19 PREFIX := /usr
20
21 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
22 CFLAGS += -g
23 endif
24 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
25 STRIP += -s
26 LDFLAGS += -s
27 INT_INSTALL_TARGET = install
28 else
29 INT_INSTALL_TARGET = install
30 endif
0 ############################ -*- Mode: Makefile -*- ###########################
1 ## debconf.mk ---
2 ## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com )
3 ## Created On : Fri Mar 12 11:11:31 2004
4 ## Created On Node : glaurung.internal.golden-gryphon.com
5 ## Last Modified By : Manoj Srivastava
6 ## Last Modified On : Fri Mar 12 13:51:21 2004
7 ## Last Machine Used: glaurung.internal.golden-gryphon.com
8 ## Update Count : 14
9 ## Status : Unknown, Use with caution!
10 ## HISTORY :
11 ## Description :
12 ##
13 ## arch-tag: 32b933a9-05ad-4c03-97a8-8644745b832a
14 ##
15 ###############################################################################
16
17 # The idea behind this scheme is that the maintainer (or whoever's
18 # building the package for upload to unstable) has to build on a
19 # machine with po-debconf installed, but nobody else does.
20
21 # When building with po-debconf, a format 1 (no encoding specifications,
22 # woody-compatible) debian/templates file is generated in the clean target
23 # and shipped in the source package, but a format 2 (UTF8-encoded,
24 # woody-incompatible) debian/templates file is generated in binary-arch
25 # for the binary package only.
26
27 # When building without po-debconf, the binary package simply reuses the
28 # woody-compatible debian/templates file that was produced by the clean
29 # target of the maintainer's build.
30
31 # Also, make sure that debian/control has ${debconf-depends} in the
32 # appropriate Depends: line., and use the following in the binary
33 # target:
34 # dpkg-gencontrol -V'debconf-depends=debconf (>= $(MINDEBCONFVER))'
35 #
36
37 # WARNING!! You need to create the templates.master file before this all works.
38
39 ifeq (,$(wildcard /usr/bin/po2debconf))
40 PO2DEBCONF := no
41 MINDEBCONFVER := 0.5
42 else
43 PO2DEBCONF := yes
44 MINDEBCONFVER := 1.2.0
45 endif
46
47
48 # Hack for woody compatibility. This makes sure that the
49 # debian/templates file shipped in the source package doesn't specify
50 # encodings, which woody's debconf can't handle. If building on a
51 # system with po-debconf installed the binary-arch target will
52 # generate a better version for sarge. Only do this if there is a
53 # templates.master, or else the debian/templates file can get
54 # damamged.
55 ifeq ($(PO2DEBCONF),yes)
56 ifeq (,$(wildcard debian/templates.master))
57 define CREATE_COMPATIBLE_TEMPLATE
58 @echo Not modifying templates
59 endef
60 else
61 define CREATE_COMPATIBLE_TEMPLATE
62 echo 1 > debian/po/output
63 po2debconf debian/templates.master > debian/templates
64 rm -f debian/po/output
65 endef
66 endif
67 else
68 define CREATE_COMPATIBLE_TEMPLATE
69 @echo Not modifying templates
70 endef
71 endif
72
73
74 ifeq ($(PO2DEBCONF),yes)
75 ifeq (,$(wildcard debian/templates.master))
76 define INSTALL_TEMPLATE
77 @echo using old template
78 endef
79 else
80 define INSTALL_TEMPLATE
81 po2debconf debian/templates.master > debian/templates
82 endef
83 endif
84 else
85 define INSTALL_TEMPLATE
86 @echo using old template
87 endef
88 endif
0 # arch-tag: a38b6a93-2539-4034-9060-ae94d5c8a071
1 # install commands
2 install_file = install -p -o root -g root -m 644
3 install_script = install -p -o root -g root -m 755
4 install_program= install -p -o root -g root -m 755
5 make_directory = install -p -d -o root -g root -m 755
0 ############################ -*- Mode: Makefile -*- ###########################
1 ## perlvars.mk ---
2 ## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
3 ## Created On : Sat Nov 15 02:55:47 2003
4 ## Created On Node : glaurung.green-gryphon.com
5 ## Last Modified By : Manoj Srivastava
6 ## Last Modified On : Sat Dec 13 13:50:58 2003
7 ## Last Machine Used: glaurung.green-gryphon.com
8 ## Update Count : 3
9 ## Status : Unknown, Use with caution!
10 ## HISTORY :
11 ## Description :
12 ##
13 ## arch-tag: a97a01ba-d08d-404d-aa81-572717c03e6c
14 ##
15 ###############################################################################
16
17 # Perl variables
18 PERL = /usr/bin/perl
19
20 INSTALLPRIVLIB = $(TMPTOP)/$(shell \
21 perl -e 'use Config; print "$$Config{'installprivlib'}\n";')
22 INSTALLARCHLIB = $(TMPTOP)/$(shell \
23 perl -e 'use Config; print "$$Config{'installarchlib'}\n";')
24 INSTALLVENDORLIB =$(TMPTOP)/$(shell \
25 perl -e 'use Config; print "$$Config{'vendorlibexp'}\n";')
26 CONFIG = INSTALLDIRS=vendor
0 ############################ -*- Mode: Makefile -*- ###########################
1 ## pkgvars.mk ---
2 ## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
3 ## Created On : Sat Nov 15 02:56:30 2003
4 ## Created On Node : glaurung.green-gryphon.com
5 ## Last Modified By : Manoj Srivastava
6 ## Last Modified On : Tue Nov 18 01:06:00 2003
7 ## Last Machine Used: glaurung.green-gryphon.com
8 ## Update Count : 5
9 ## Status : Unknown, Use with caution!
10 ## HISTORY :
11 ## Description :
12 ##
13 ## arch-tag: 75fcc720-7389-4eaa-a7ac-c556d3eac331
14 ##
15 ###############################################################################
16
17 # The maintainer information.
18 maintainer := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Maintainer: | \
19 sed 's/^Maintainer: *//')
20 email := srivasta@debian.org
21
22 # Priority of this version (or urgency, as dchanges would call it)
23 urgency := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Urgency: | \
24 sed 's/^Urgency: *//')
25
26 # Common useful variables
27 DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | \
28 cut -f 2 -d ':'))
29 DEB_VERSION := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \
30 egrep '^Version:' | cut -f 2 -d ' '))
31 DEB_ISNATIVE := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \
32 perl -ne 'print if (m/^Version:/g && ! m/^Version:.*\-/);'))
33
34 DEB_PACKAGES := $(shell perl -e ' \
35 $$/=""; \
36 while(<>){ \
37 $$p=$$1 if m/^Package:\s*(\S+)/; \
38 die "duplicate package $$p" if $$seen{$$p}; \
39 $$seen{$$p}++; print "$$p " if $$p; \
40 }' debian/control )
41
42 DEB_INDEP_PACKAGES := $(shell perl -e ' \
43 $$/=""; \
44 while(<>){ \
45 $$p=$$1 if m/^Package:\s*(\S+)/; \
46 die "duplicate package $$p" if $$seen{$$p}; \
47 $$seen{$$p}++; \
48 $$a=$$1 if m/^Architecture:\s*(\S+)/m; \
49 next unless ($$a eq "all"); \
50 print "$$p " if $$p; \
51 }' debian/control )
52
53 DEB_ARCH_PACKAGES := $(shell perl -e ' \
54 $$/=""; \
55 while(<>){ \
56 $$p=$$1 if m/^Package:\s*(\S+)/; \
57 die "duplicate package $$p" if $$seen{$$p}; \
58 $$seen{$$p}++; \
59 $$a=$$1 if m/^Architecture:\s*(\S+)/m; \
60 next unless ($$a eq "$(DEB_HOST_ARCH)" || $$a eq "any"); \
61 print "$$p " if $$p; \
62 }' debian/control )
63
64 # This package is what we get after removing the psuedo dirs we use in rules
65 package = $(notdir $@)
66
67
0 ############################ -*- Mode: Makefile -*- ###########################
1 ## targets.mk ---
2 ## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
3 ## Created On : Sat Nov 15 01:10:05 2003
4 ## Created On Node : glaurung.green-gryphon.com
5 ## Last Modified By : Manoj Srivastava
6 ## Last Modified On : Tue Nov 18 14:31:47 2003
7 ## Last Machine Used: glaurung.green-gryphon.com
8 ## Update Count : 44
9 ## Status : Unknown, Use with caution!
10 ## HISTORY :
11 ## Description :
12 ##
13 ## arch-tag: a81086a7-00f7-4355-ac56-8f38396935f4
14 ##
15 ## This program is free software; you can redistribute it and/or modify
16 ## it under the terms of the GNU General Public License as published by
17 ## the Free Software Foundation; either version 2 of the License, or
18 ## (at your option) any later version.
19 ##
20 ## This program is distributed in the hope that it will be useful,
21 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ## GNU General Public License for more details.
24 ##
25 ## You should have received a copy of the GNU General Public License
26 ## along with this program; if not, write to the Free Software
27 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 ##
29 ###############################################################################
30
31 #######################################################################
32 #######################################################################
33 ############### Miscellaneous ###############
34 #######################################################################
35 #######################################################################
36 source diff:
37 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
38
39 testroot:
40 @test $$(id -u) = 0 || (echo need root priviledges; exit 1)
41
42
43 # arch-buildpackage likes to call this
44 prebuild:
45
46 # OK. We have two sets of rules here, one for arch dependent packages,
47 # and one for arch independent packages. We have already calculated a
48 # list of each of these packages.
49
50 # In each set, we may need to do things in five steps: configure,
51 # build, install, package, and clean. Now, there can be a common
52 # actions to be taken for all the packages, all arch dependent
53 # packages, all all independent packages, and each package
54 # individually at each stage.
55
56 #######################################################################
57 #######################################################################
58 ############### Configuration ###############
59 #######################################################################
60 #######################################################################
61
62 # Work here
63 CONFIG-common:: testdir
64
65 stamp-arch-conf: testdir CONFIG-common
66 @touch $@
67 stamp-indep-conf: testdir CONFIG-common
68 @touch $@
69
70 # Work here
71 CONFIG-arch:: stamp-arch-conf
72 CONFIG-indep:: stamp-indep-conf
73
74 STAMPS_TO_CLEAN += stamp-arch-conf stamp-indep-conf
75 # Work here
76 $(patsubst %,CONFIG/%,$(DEB_ARCH_PACKAGES)) :: CONFIG/% : testdir CONFIG-arch
77 $(patsubst %,CONFIG/%,$(DEB_INDEP_PACKAGES)) :: CONFIG/% : testdir CONFIG-indep
78
79 stamp-configure-arch: $(patsubst %,CONFIG/%,$(DEB_ARCH_PACKAGES))
80 @touch $@
81 stamp-configure-indep: $(patsubst %,CONFIG/%,$(DEB_INDEP_PACKAGES))
82 @touch $@
83
84 configure-arch: stamp-configure-arch
85 configure-indep: stamp-configure-indep
86
87 stamp-configure: configure-arch configure-indep
88 @touch $@
89
90 configure: stamp-configure
91
92 STAMPS_TO_CLEAN += stamp-configure-arch stamp-configure-indep stamp-configure
93 #######################################################################
94 #######################################################################
95 ############### Build ###############
96 #######################################################################
97 #######################################################################
98
99 # Work here
100 BUILD-common:: testdir
101
102 stamp-arch-build: testdir BUILD-common $(patsubst %,CONFIG/%,$(DEB_ARCH_PACKAGES))
103 @touch $@
104 stamp-indep-build: testdir BUILD-common $(patsubst %,CONFIG/%,$(DEB_INDEP_PACKAGES))
105 @touch $@
106
107 STAMPS_TO_CLEAN += stamp-arch-build stamp-indep-build
108 # sync. Work here
109 BUILD-arch:: testdir stamp-arch-build
110 BUILD-indep:: testdir stamp-indep-build
111
112 # Work here
113 $(patsubst %,BUILD/%,$(DEB_ARCH_PACKAGES)) :: BUILD/% : testdir BUILD-arch
114 $(patsubst %,BUILD/%,$(DEB_INDEP_PACKAGES)) :: BUILD/% : testdir BUILD-indep
115
116 stamp-build-arch: $(patsubst %,BUILD/%,$(DEB_ARCH_PACKAGES))
117 @touch $@
118 stamp-build-indep: $(patsubst %,BUILD/%,$(DEB_INDEP_PACKAGES))
119 @touch $@
120
121 build-arch: stamp-build-arch
122 build-indep: stamp-build-indep
123
124 stamp-build: build-arch build-indep
125 @touch $@
126
127 build: stamp-build
128
129 # Work here
130 POST-BUILD-arch-stamp::
131 POST-BUILD-indep-stamp::
132
133 STAMPS_TO_CLEAN += stamp-build-arch stamp-build-indep stamp-build
134 #######################################################################
135 #######################################################################
136 ############### Install ###############
137 #######################################################################
138 #######################################################################
139 # Work here
140 INST-common:: testdir
141
142 stamp-arch-inst: testdir POST-BUILD-arch-stamp INST-common $(patsubst %,BUILD/%,$(DEB_ARCH_PACKAGES))
143 @touch $@
144 stamp-indep-inst: testdir POST-BUILD-indep-stamp INST-common $(patsubst %,BUILD/%,$(DEB_INDEP_PACKAGES))
145 @touch $@
146
147 STAMPS_TO_CLEAN += stamp-arch-inst stamp-indep-inst
148 # sync. Work here
149 INST-arch:: testdir stamp-arch-inst
150 INST-indep:: testdir stamp-indep-inst
151
152 # Work here
153 $(patsubst %,INST/%,$(DEB_ARCH_PACKAGES)) :: INST/% : testdir testroot INST-arch
154 $(patsubst %,INST/%,$(DEB_INDEP_PACKAGES)) :: INST/% : testdir testroot INST-indep
155
156 stamp-install-arch: $(patsubst %,INST/%,$(DEB_ARCH_PACKAGES))
157 @touch $@
158 stamp-install-indep: $(patsubst %,INST/%,$(DEB_INDEP_PACKAGES))
159 @touch $@
160
161 install-arch: stamp-install-arch
162 install-indep: stamp-install-indep
163
164 stamp-install: install-indep install-arch
165 @touch $@
166
167 install: stamp-install
168
169 STAMPS_TO_CLEAN += stamp-install stamp-install-arch stamp-install-indep
170 #######################################################################
171 #######################################################################
172 ############### Package ###############
173 #######################################################################
174 #######################################################################
175 # Work here
176 BIN-common:: testdir testroot
177
178 stamp-arch-bin: testdir testroot BIN-common $(patsubst %,INST/%,$(DEB_ARCH_PACKAGES))
179 @touch $@
180 stamp-indep-bin: testdir testroot BIN-common $(patsubst %,INST/%,$(DEB_INDEP_PACKAGES))
181 @touch $@
182
183 STAMPS_TO_CLEAN += stamp-arch-bin stamp-indep-bin
184 # sync Work here
185 BIN-arch:: testdir testroot stamp-arch-bin
186 BIN-indep:: testdir testroot stamp-indep-bin
187
188 # Work here
189 $(patsubst %,BIN/%,$(DEB_ARCH_PACKAGES)) :: BIN/% : testdir testroot BIN-arch
190 $(patsubst %,BIN/%,$(DEB_INDEP_PACKAGES)) :: BIN/% : testdir testroot BIN-indep
191
192
193 stamp-binary-arch: $(patsubst %,BIN/%,$(DEB_ARCH_PACKAGES))
194 @touch $@
195 stamp-binary-indep: $(patsubst %,BIN/%,$(DEB_INDEP_PACKAGES))
196 @touch $@
197 # required
198 binary-arch: stamp-binary-arch
199 binary-indep: stamp-binary-indep
200
201 stamp-binary: binary-indep binary-arch
202 @touch $@
203
204 # required
205 binary: stamp-binary
206
207 STAMPS_TO_CLEAN += stamp-binary stamp-binary-arch stamp-binary-indep
208 #######################################################################
209 #######################################################################
210 ############### Clean ###############
211 #######################################################################
212 #######################################################################
213 # Work here
214 CLN-common:: testdir
215 # sync Work here
216 CLN-arch:: testdir CLN-common
217 CLN-indep:: testdir CLN-common
218 # Work here
219 $(patsubst %,CLEAN/%,$(DEB_ARCH_PACKAGES)) :: CLEAN/% : testdir CLN-arch
220 $(patsubst %,CLEAN/%,$(DEB_INDEP_PACKAGES)) :: CLEAN/% : testdir CLN-indep
221
222 clean-arch: $(patsubst %,CLEAN/%,$(DEB_ARCH_PACKAGES))
223 clean-indep: $(patsubst %,CLEAN/%,$(DEB_INDEP_PACKAGES))
224
225 stamp-clean: clean-indep clean-arch
226 $(checkdir)
227 -test -f Makefile && $(MAKE) distclean
228 -rm -f $(FILES_TO_CLEAN) $(STAMPS_TO_CLEAN)
229 -rm -rf $(DIRS_TO_CLEAN)
230 -rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
231 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
232 -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS
233
234 clean: stamp-clean
235
236
237 #######################################################################
238 #######################################################################
239 ############### ###############
240 #######################################################################
241 #######################################################################
242
243 .PHONY: CONFIG-common CONFIG-indep CONFIG-arch configure-arch configure-indep configure \
244 BUILD-common BUILD-indep BUILD-arch build-arch build-indep build \
245 INST-common INST-indep INST-arch install-arch install-indep install \
246 BIN-common BIN-indep BIN-arch binary-arch binary-indep binary \
247 CLN-common CLN-indep CLN-arch clean-arch clean-indep clean \
248 $(patsubst %,CONFIG/%,$(DEB_INDEP_PACKAGES)) $(patsubst %,CONFIG/%,$(DEB_ARCH_PACKAGES)) \
249 $(patsubst %,BUILD/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,BUILD/%, $(DEB_ARCH_PACKAGES)) \
250 $(patsubst %,INST/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,INST/%, $(DEB_ARCH_PACKAGES)) \
251 $(patsubst %,BIN/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,BIN/%, $(DEB_ARCH_PACKAGES)) \
252 $(patsubst %,CLEAN/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,CLEAN/%, $(DEB_ARCH_PACKAGES)) \
253 implode explode prebuild
254
0 srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1
0 A_./{arch}/.arch-project-tree ino=3003631:mtime=1099621873:size=52
1 A_./{arch}/=tagging-method ino=3003632:mtime=1099621873:size=6822
2 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/base-0 ino=3003638:mtime=1099621873:size=448
3 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-1 ino=3003639:mtime=1099621873:size=433
4 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-10 ino=3003640:mtime=1099621873:size=423
5 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-11 ino=3003641:mtime=1099621873:size=497
6 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-12 ino=3003642:mtime=1099621873:size=435
7 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-2 ino=3003643:mtime=1099621873:size=417
8 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-3 ino=3003644:mtime=1099621873:size=408
9 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-4 ino=3003645:mtime=1099621873:size=398
10 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-5 ino=3003646:mtime=1099621873:size=379
11 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-6 ino=3003647:mtime=1099621873:size=377
12 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-7 ino=3003648:mtime=1099621873:size=402
13 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-8 ino=3003649:mtime=1099621873:size=1472
14 A_./{arch}/skeleton-make-rules/skeleton-make-rules--main/skeleton-make-rules--main--0.1/srivasta@debian.org--2003-primary/patch-log/patch-9 ino=3003650:mtime=1099621873:size=439
15 i_1fabe69b-7cc8-4ecc-9411-bc5906b19857 ino=2968600:mtime=1099621873:size=1356
16 i_32b933a9-05ad-4c03-97a8-8644745b832a ino=2968602:mtime=1099621873:size=2908
17 i_75fcc720-7389-4eaa-a7ac-c556d3eac331 ino=2968605:mtime=1099621873:size=3840
18 i_a0045c20-f1b3-4852-9a4b-1a33ebd7c1b8 ino=2968601:mtime=1099621873:size=931
19 i_a38b6a93-2539-4034-9060-ae94d5c8a071 ino=2968603:mtime=1099621873:size=284
20 i_a81086a7-00f7-4355-ac56-8f38396935f4 ino=2968606:mtime=1099621873:size=10120
21 i_a97a01ba-d08d-404d-aa81-572717c03e6c ino=2968604:mtime=1099621873:size=1093
22 i_e16dd848-0fd6-4c0e-ae66-bef20d1f7c63 ino=2968599:mtime=1099621873:size=1823
0 Hackerlab arch project directory, format version 1.
0 # id tagging method
1 #
2 # This determines how "inventory ids", strings conveying
3 # logical file identity, are computed for each file, directory
4 # and symbolic link.
5 #
6 # The choices are:
7 #
8 # tagline: inventory ids may be set using add-id, or omitted
9 # (though tree-lint warns about omitted ids), or in
10 # text files, set in a comment line near the top or
11 # bottom of the file of a form like "<PUNCT> arch-tag: <STRING>".
12 # Renames of files with no id are treated as a combined
13 # add and delete (e.g., local changes can be lost).
14 #
15 # explicit: ids must be set using add-id. Files passing the naming
16 # conventions for source, but lacking add-id ids, are treated
17 # as unrecognized files (see below).
18 #
19 # names: ids are not used. All renames are treated as add+delete
20 #
21 # implicit: similar to tagline, but in addition, the id comment
22 # may be of the form "<PUNCT> <BASENAME> - <STRING>", where
23 # <BASENAME> is the basename of the file. This method
24 # is not recommended, but is retained for backwards
25 # compatability.
26 #
27
28 tagline
29
30 # disposition of untagged source files
31 #
32 # (NOTE: this option must follow the tagline/explicit/names/implicit
33 # directive.)
34 #
35 # By default, the explicit method treats untagged files matching the naming
36 # conventions for source files as unrecognized and the implicit and tagline
37 # methods treat such untagged files as source.
38 #
39 # You can override those default treatments of untagged files by specifying
40 # which inventory category (see below) should be used for files whose names
41 # suggest they are source but which lack ids.
42 #
43 # This feature may be especially convenient when importing sources that do
44 # not use file naming conventions that can be conveniently described with
45 # the regexps below.
46 #
47 # Uncomment one of these lines as appropriate to override the default:
48 #
49 # untagged-source source
50 # untagged-source precious
51 # untagged-source backup
52 # untagged-source junk
53 # untagged-source unrecognized
54 #
55
56 # naming convention regexps
57 #
58 # For various commands, arch traverses your project trees, categorizing
59 # the files found there. For example, when importing a project for
60 # the first time, this traversal determines which files are included
61 # in the import.
62 #
63 # The categories of greatest importance are defined in terms of three
64 # questions:
65 #
66 # 1) If arch makes a local copy of this tree, should this file be included
67 # in the copy?
68 #
69 # 2) Is it generally safe to remove this file based only on how it is named?
70 # For example, can it be safely clobbered by a new file of the same name?
71 #
72 # 3) Should this file be archived along with the project? For example,
73 # should it be included when importing the project for the first time?
74 #
75 # The primary categories are:
76 #
77 # category: copy locally? safe to clobber? archive?
78 #
79 # junk no yes no
80 # backup no no no
81 # precious yes no no
82 # source yes no yes
83 #
84 # There are two additional categories, unrelated to those questions:
85 #
86 # excluded -- during a traversal by srcfind (aka inventory), this file (and,
87 # if a directory, its contents) are simply ignored unless the
88 # --all flag is specified. This category is usually used to
89 # omit arch's own control files from a listing.
90 #
91 # unrecognized -- a category for files whose name fits no other pattern.
92 # Usually, the presence of unrecognized files is treated as an
93 # error. You can use the naming conventions to define certain
94 # names as "deliberately unrecognized" -- i.e., filenames whose
95 # presence in a source tree you _want_ to be treated as an error
96 #
97 # The traveral algorithm is described here, along with lines you can edit to
98 # customize the naming conventions.
99 #
100 # Starting at "." within a project tree (usually at the root of the
101 # project tree) consider each filename in that directory.
102 #
103 # The files "." and ".." are simply ignored.
104 #
105 # Files containing "illegal characters" are characterized as unrecognized.
106 # If they are directories, traversal does _not_ descend into those directories.
107 # Currently, the illegal characters are *, ?, [, ], \, space, and tab.
108 # (The set of illegal characters may shrink in future releases.)
109 #
110 # In an interactive call to srcfind (aka inventory) _without_ the --all flag,
111 # names are next compared to the exclude regexp defined here. Those that
112 # are ignored and not descended below. (Most arch operations performing
113 # traversals internally, e.g. imprev (aka import), do not use this pattern
114 # and skip this step of the algorithm.
115 #
116
117 exclude ^(.arch-ids|\{arch\})$
118
119 # If the file has a name that begins with "++", it is categorized as
120 # _precious_. Names of this form are hard-wired and reserved for use by arch
121 # itself. Traversal does not descend into precious directories, but when a
122 # precious directory is copied, its contents are recursively copied.
123 #
124 # Files and directories that reach this stage and which arch recognizes as its
125 # own control files are classified at this step as source. Traversal _does_
126 # descend into source directories.
127 #
128 # If the file has a name that begins with ",,", it is categorized as _junk_.
129 # Names of this form are hard-wired and reserved for use by arch and other tools,
130 # and arch may clobber such files without warning. In a project tree, when no
131 # arch commands are running, it is safe for users to delete any ",," files.
132 # Although the general rule for junk files is that arch is free to clobber them,
133 # in fact, arch will only ever clobber files starting with ",,".
134 #
135 # Traversal does not descend into junk directories.
136 #
137 # For your convenience, at this step of the traversal, you can classify
138 # additional files as junk or precious:
139 #
140
141 junk ^(,.*)$
142
143 precious ^(\+.*|\.gdbinit|\.#ckpts-lock|=build\.*|=install\.*|CVS|CVS\.adm|RCS|RCSLOG|SCCS|TAGS)$
144
145 # Files matching the following regexp are classified as backup files, and
146 # traversal does not descend into backup directories:
147 #
148
149 backup ^.*(~|\.~[0-9]+~|\.bak|\.orig|\.rej|\.original|\.modified|\.reject)$
150
151 # If you want to force certain filenames to be treated as errors when present,
152 # you can add them to the regexp for deliberately unrecognized files. Traversal
153 # does not descend into unrecognized directories.
154
155 unrecognized ^(.*\.(o|a|so|core|so(\.[[:digit:]]+)*)|core)$
156
157 # Files which match the following pattern are treated as source files.
158 # Traversal _does_ descend into source directories:
159
160 source ^[_=a-zA-Z0-9].*$
161
162 # Any files not classified by the above rules are classified as unrecognized.
163 # Traversal does not descend into unrecognized directories.
164
0 Revision: skeleton-make-rules--main--0.1--base-0
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Sat Nov 15 11:39:12 CST 2003
4 Standard-date: 2003-11-15 17:39:12 GMT
5 Summary: Initial upload of the package
6 Keywords:
7 New-files: archvars.mk automake.mk copt.mk install_cmds.mk
8 perlvars.mk pkgvars.mk targets.mk
9 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--base-0
10
0 Revision: skeleton-make-rules--main--0.1--patch-1
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Mon Nov 17 01:56:37 CST 2003
4 Standard-date: 2003-11-17 07:56:37 GMT
5 Modified-files: targets.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-1
7 Summary: We need to use a char that can't legally be in a package name, / seems to fit best
8 Keywords:
9
0 Revision: skeleton-make-rules--main--0.1--patch-10
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Fri Mar 12 13:43:39 CST 2004
4 Standard-date: 2004-03-12 19:43:39 GMT
5 Modified-files: debconf.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-10
7 Summary: Actually, it is endef, not enddef.
8 Keywords:
9
10 Actually, it is endef, not enddef.
11
0 Revision: skeleton-make-rules--main--0.1--patch-11
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Fri Mar 12 13:55:29 CST 2004
4 Standard-date: 2004-03-12 19:55:29 GMT
5 Modified-files: debconf.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-11
7 Summary: debconf-updatepo should not be run always, so take it out of the macro.
8 Keywords:
9
10 debconf-updatepo should not be run always, so take it out of the macro.
11
0 Revision: skeleton-make-rules--main--0.1--patch-12
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Sat Mar 13 12:19:18 CST 2004
4 Standard-date: 2004-03-13 18:19:18 GMT
5 Modified-files: debconf.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-12
7 Summary: Do not force utf encoding by po2debconf.
8 Keywords:
9
10 Do not force utf encoding by po2debconf.
11
0 Revision: skeleton-make-rules--main--0.1--patch-13
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Wed Nov 17 10:31:10 CST 2004
4 Standard-date: 2004-11-17 16:31:10 GMT
5 Modified-files: archvars.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-13
7 Summary: Fix arch variable determination for cross compilation
8 Keywords:
9
0 Revision: skeleton-make-rules--main--0.1--patch-2
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Tue Nov 18 01:22:42 CST 2003
4 Standard-date: 2003-11-18 07:22:42 GMT
5 Modified-files: archvars.mk pkgvars.mk targets.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-2
7 Summary: Moved more things into the common directory
8 Keywords:
9
0 Revision: skeleton-make-rules--main--0.1--patch-3
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Tue Nov 18 14:34:16 CST 2003
4 Standard-date: 2003-11-18 20:34:16 GMT
5 Modified-files: targets.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-3
7 Summary: Added common (not arch, not indep) targets to all phases.
8 Keywords:
9
0 Revision: skeleton-make-rules--main--0.1--patch-4
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Wed Dec 3 16:08:31 CST 2003
4 Standard-date: 2003-12-03 22:08:31 GMT
5 Modified-files: targets.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-4
7 Summary: Add target prebuild, which arch-buildpackage likes to call
8
0 Revision: skeleton-make-rules--main--0.1--patch-5
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Wed Dec 3 23:33:39 CST 2003
4 Standard-date: 2003-12-04 05:33:39 GMT
5 Modified-files: targets.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-5
7 Summary: prebuild should not depend on configure
8
0 Revision: skeleton-make-rules--main--0.1--patch-6
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Sat Dec 13 13:17:50 CST 2003
4 Standard-date: 2003-12-13 19:17:50 GMT
5 Modified-files: perlvars.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-6
7 Summary: Added the PEL variable tp pervars.mk
8
0 Revision: skeleton-make-rules--main--0.1--patch-7
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Sat Dec 13 13:51:54 CST 2003
4 Standard-date: 2003-12-13 19:51:54 GMT
5 Modified-files: perlvars.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-7
7 Summary: use =, not :=, so that the package dir can be specified later
8
0 Revision: skeleton-make-rules--main--0.1--patch-8
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Fri Mar 12 12:04:45 CST 2004
4 Standard-date: 2004-03-12 18:04:45 GMT
5 New-files: debconf.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-8
7 Summary: Add mechanisms to allow backporting debconf using packages
8 Keywords:
9
10
11 The idea behind this scheme is that the maintainer (or whoever's
12 building the package for upload to unstable) has to build on a
13 machine with po-debconf installed, but nobody else does.
14
15 When building with po-debconf, a format 1 (no encoding specifications,
16 woody-compatible) debian/templates file is generated in the clean target
17 and shipped in the source package, but a format 2 (UTF8-encoded,
18 woody-incompatible) debian/templates file is generated in binary-arch
19 for the binary package only.
20
21 When building without po-debconf, the binary package simply reuses the
22 woody-compatible debian/templates file that was produced by the clean
23 target of the maintainer's build.
24
25 This also runs debconf-updatepo in either case, just in case the
26 templates have been changed.
27
28 Also, make sure that debian/control has ${debconf-depends} in the
29 appropriate Depends: line., and use the following in the binary
30 target: dpkg-gencontrol -V'debconf-depends=debconf (>= $(MINDEBCONFVER))'
31
32
33 WARNING!! You need to create the templates.master file before this all works.
0 Revision: skeleton-make-rules--main--0.1--patch-9
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Fri Mar 12 13:13:23 CST 2004
4 Standard-date: 2004-03-12 19:13:23 GMT
5 Modified-files: debconf.mk
6 New-patches: srivasta@debian.org--2003-primary/skeleton-make-rules--main--0.1--patch-9
7 Summary: Definitions can't have conditionals inside.
8 Keywords:
9
10 Definitions can't have conditionals inside.
11
0 Source: checkpolicy
1 Priority: optional
2 Section: utils
3 Maintainer: Manoj Srivastava <srivasta@debian.org>
4 Standards-Version: 3.6.1.0
5 Build-Depends-Indep:
6 Build-Depends: bison, flex, libsepol1-dev
7
8 Package: checkpolicy
9 Architecture: any
10 Depends: ${shlibs:Depends}
11 Replaces: selinux
12 Conflicts: selinux
13 Description: SELinux policy compiler
14 Security-enhanced Linux is a patch of the Linux® kernel and a number
15 of utilities with enhanced security functionality designed to add
16 mandatory access controls to Linux. The Security-enhanced Linux
17 kernel contains new architectural components originally developed to
18 improve the security of the Flask operating system. These
19 architectural components provide general support for the enforcement
20 of many kinds of mandatory access control policies, including those
21 based on the concepts of Type Enforcement®, Role-based Access
22 Control, and Multi-level Security.
23 .
24 This package contains checkpolicy, the SELinux policy compiler.
25 Only required for building policies.
0 This is the Debian packe for checkpolicy, and it is built from sources
1 obtained from: http://www.nsa.gov/selinux/code/download5.cfm.
2
3 This package was debianized by Colin Walters <walters@debian.org> on
4 Thu, 3 Jul 2003 17:10:57 -0400.
5
6 checkpolicy is Copyright (C) 2002, 2003, 2004 Stephen Smalley
7 <sds@epoch.ncsc.mil>, Tresys Technology, LLC, Red Hat, Inc., James
8 Morris <jmorris@redhat.com>
9
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; version 2 dated June, 1991.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19
20 This package is maintained by Manoj Srivastava <srivasta@debian.org>.
21
22 The debian specific changes are Copyright (c) 1995 Manoj Srivastava, and
23 distributed under the terms of the GNU General Public License.
24
25 On Debian GNU/Linux systems, the complete text of the GNU General
26 Public License can be found in `/usr/share/common-licenses/GPL'.
27
28 A copy of the GNU General Public License is also available at
29 <URL:http://www.gnu.org/copyleft/gpl.html>. You may also obtain
30 it by writing to the Free Software Foundation, Inc., 59 Temple
31 Place - Suite 330, Boston, MA 02111-1307, USA.
32
33 Manoj Srivastava <srivasta@debian.org>
34 arch-tag: d4250e44-a0e0-4ee0-adb9-2bd74f6eeb27
35
0 ############################ -*- Mode: Makefile -*- ###########################
1 ## local-vars.mk ---
2 ## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
3 ## Created On : Sat Nov 15 10:43:00 2003
4 ## Created On Node : glaurung.green-gryphon.com
5 ## Last Modified By : Manoj Srivastava
6 ## Last Modified On : Fri Nov 5 00:45:07 2004
7 ## Last Machine Used: glaurung.internal.golden-gryphon.com
8 ## Update Count : 11
9 ## Status : Unknown, Use with caution!
10 ## HISTORY :
11 ## Description :
12 ##
13 ## arch-tag: 1a76a87e-7af5-424a-a30d-61660c8f243e
14 ##
15 ###############################################################################
16
17 FILES_TO_CLEAN = debian/substvars debian/files
18 STAMPS_TO_CLEAN =
19 DIRS_TO_CLEAN =
20
21 # Location of the source dir
22 SRCTOP := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
23 TMPTOP = $(SRCTOP)/debian/$(package)
24 LINTIANDIR = $(TMPTOP)/usr/share/lintian/overrides
25 DOCBASEDIR = $(TMPTOP)/usr/share/doc-base
26
27 BINDIR = $(TMPTOP)$(PREFIX)/bin
28 LIBDIR = $(TMPTOP)$(PREFIX)/lib
29
30 MANDIR = $(TMPTOP)/usr/share/man
31 MAN1DIR = $(MANDIR)/man1
32 MAN3DIR = $(MANDIR)/man3
33 MAN5DIR = $(MANDIR)/man5
34 MAN7DIR = $(MANDIR)/man7
35 MAN8DIR = $(MANDIR)/man8
36 INFODIR = $(TMPTOP)/usr/share/info
37 DOCTOP = $(TMPTOP)/usr/share/doc
38 DOCDIR = $(DOCTOP)/$(package)
39
40 define checkdir
41 @test -f debian/rules -a -f checkpolicy.8 || \
42 (echo Not in correct source directory; exit 1)
43 endef
44
45 define checkroot
46 @test $$(id -u) = 0 || (echo need root priviledges; exit 1)
47 endef
0 ############################ -*- Mode: Makefile -*- ###########################
1 ## local.mk ---
2 ## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
3 ## Created On : Sat Nov 15 10:42:10 2003
4 ## Created On Node : glaurung.green-gryphon.com
5 ## Last Modified By : Manoj Srivastava
6 ## Last Modified On : Fri Nov 5 00:44:01 2004
7 ## Last Machine Used: glaurung.internal.golden-gryphon.com
8 ## Update Count : 6
9 ## Status : Unknown, Use with caution!
10 ## HISTORY :
11 ## Description :
12 ##
13 ## arch-tag: b07b1015-30ba-4b46-915f-78c776a808f4
14 ##
15 ###############################################################################
16
17 testdir:
18 $(testdir)
19
20
21 BUILD/checkpolicy:: build/checkpolicy
22 INST/checkpolicy:: install/checkpolicy
23 BIN/checkpolicy:: binary/checkpolicy
24
25 CLN-common::
26 $(REASON)
27 -test ! -f Makefile || $(MAKE) clean
28 $(MAKE) -C test clean
29
30 CLEAN/checkpolicy::
31 -rm -rf $(TMPTOP)
32
33 build/checkpolicy:
34 $(checkdir)
35 $(REASON)
36 $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
37 $(MAKE) -C test CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
38 touch stamp-build-checkpolicy
39
40 STAMPS_TO_CLEAN += stamp-build-checkpolicy
41 install/checkpolicy: testroot
42 $(checkdir)
43 $(REASON)
44 rm -rf $(TMPTOP)
45 $(make_directory) $(TMPTOP)
46 $(make_directory) $(BINDIR)
47 $(make_directory) $(MAN8DIR)
48 $(make_directory) $(DOCDIR)
49 $(make_directory) $(LINTIANDIR)
50 $(MAKE) DESTDIR=$(TMPTOP) install
51 $(install_file) debian/changelog $(DOCDIR)/changelog.Debian
52 $(install_file) ChangeLog $(DOCDIR)/changelog
53 gzip -9frq $(DOCDIR)/
54 # Make sure the copyright file is not compressed
55 $(install_file) debian/copyright $(DOCDIR)/copyright
56 gzip -9fqr $(MANDIR)/
57 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
58 strip --strip-unneeded --remove-section=.note --remove-section=.comment $(BINDIR)/checkpolicy $(BINDIR)/genpolusers
59 endif
60
61 binary/checkpolicy: testroot
62 $(checkdir)
63 $(REASON)
64 $(make_directory) $(TMPTOP)/DEBIAN
65 dpkg-shlibdeps $(BINDIR)/checkpolicy $(BINDIR)/genpolusers
66 dpkg-gencontrol -p$(package) -isp -P$(TMPTOP)
67 chown -R root:root $(TMPTOP)
68 chmod -R u+w,go=rX $(TMPTOP)
69 dpkg --build $(TMPTOP) ..
0 #! /usr/bin/make -f
1 ############################ -*- Mode: Makefile; coding: utf-8 -*- ###########################
2 ## rules ---
3 ## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com )
4 ## Created On : Fri Nov 14 12:33:34 2003
5 ## Created On Node : glaurung.green-gryphon.com
6 ## Last Modified By : Manoj Srivastava
7 ## Last Modified On : Tue Nov 18 17:46:22 2003
8 ## Last Machine Used: glaurung.green-gryphon.com
9 ## Update Count : 70
10 ## Status : Unknown, Use with caution!
11 ## HISTORY :
12 ## Description :
13 ##
14 ## arch-tag: 9a5063f4-1e20-4fff-b22a-de94c1e3d954
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 ##
30 ###############################################################################
31
32 # Include dpkg-architecture generated variables
33 include debian/common/archvars.mk
34
35 # Set variables with information extracted from control and changelog files
36 include debian/common/pkgvars.mk
37
38 # variables useful for perl packages
39 include debian/common/perlvars.mk
40
41 # Install commands
42 include debian/common/install_cmds.mk
43
44 include debian/local-vars.mk
45
46 include debian/common/copt.mk
47
48 include debian/common/automake.mk
49
50
51
52 all:
53 @echo nothing to be done
54
55 include debian/common/targets.mk
56
57 include debian/local.mk
58
59
60 #Local variables:
61 #mode: makefile
62 #End:
0 # format version number, currently 2; this line is compulsory!
1 version=2
2
3
4
5 http://www.nsa.gov/selinux/code/download5.cfm ../archives/checkpolicy-(.*)\.tgz
0 srivasta@debian.org--2003-primary/debian-dir--checkpolicy--1.0
0 A_./{arch}/.arch-project-tree ino=2575468:mtime=1099621862:size=52
1 A_./{arch}/=tagging-method ino=2575469:mtime=1099621862:size=6822
2 A_./{arch}/debian-dir/debian-dir--checkpolicy/debian-dir--checkpolicy--1.0/srivasta@debian.org--2003-primary/patch-log/base-0 ino=2840997:mtime=1099621862:size=724
3 A_./{arch}/debian-dir/debian-dir--skeleton/debian-dir--skeleton--1.0/srivasta@debian.org--2003-primary/patch-log/base-0 ino=2936449:mtime=1099621862:size=639
4 A_./{arch}/debian-dir/debian-dir--skeleton/debian-dir--skeleton--1.0/srivasta@debian.org--2003-primary/patch-log/patch-1 ino=2936450:mtime=1099621862:size=470
5 A_./{arch}/debian-dir/debian-dir--skeleton/debian-dir--skeleton--1.0/srivasta@debian.org--2003-primary/patch-log/patch-2 ino=2936451:mtime=1099621862:size=450
6 E_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov_21_03:17:12_2003_26704.0 ino=2562093:mtime=1099621862:size=72
7 i_1a76a87e-7af5-424a-a30d-61660c8f243e ino=2512433:mtime=1099621862:size=1438
8 i_5401e9ef-39cc-4aee-96a4-61dfb8f32cf7 ino=2512435:mtime=1099621862:size=7451
9 i_56802d51-d980-4822-85c0-28fce19ed430 ino=2512436:mtime=1099621862:size=5768
10 i_9a5063f4-1e20-4fff-b22a-de94c1e3d954 ino=2512439:mtime=1099621862:size=1968
11 i_a4c1a888-137d-4800-98f8-93d0365422d8 ino=2512438:mtime=1099621862:size=4068
12 i_b07b1015-30ba-4b46-915f-78c776a808f4 ino=2512434:mtime=1099621862:size=688
13 i_d4250e44-a0e0-4ee0-adb9-2bd74f6eeb27 ino=2512432:mtime=1099621862:size=759
14 i_d6a3672d-acb3-4f6c-9984-bad17d8ce0aa ino=2512437:mtime=1099621862:size=2605
15 x_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov_21_03:17:12_2003_26704.0 ino=2512431:mtime=1099621862:size=282
0 A_./{arch}/.arch-project-tree ino=2575468:mtime=1099621862:size=52
1 A_./{arch}/=tagging-method ino=2575469:mtime=1099621862:size=6822
2 A_./{arch}/debian-dir/debian-dir--checkpolicy/debian-dir--checkpolicy--1.0/srivasta@debian.org--2003-primary/patch-log/base-0 ino=2840997:mtime=1099621862:size=724
3 A_./{arch}/debian-dir/debian-dir--checkpolicy/debian-dir--checkpolicy--1.0/srivasta@debian.org--2003-primary/patch-log/patch-1 ino=2840998:mtime=1099638143:size=520
4 A_./{arch}/debian-dir/debian-dir--skeleton/debian-dir--skeleton--1.0/srivasta@debian.org--2003-primary/patch-log/base-0 ino=2936449:mtime=1099621862:size=639
5 A_./{arch}/debian-dir/debian-dir--skeleton/debian-dir--skeleton--1.0/srivasta@debian.org--2003-primary/patch-log/patch-1 ino=2936450:mtime=1099621862:size=470
6 A_./{arch}/debian-dir/debian-dir--skeleton/debian-dir--skeleton--1.0/srivasta@debian.org--2003-primary/patch-log/patch-2 ino=2936451:mtime=1099621862:size=450
7 E_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov_21_03:17:12_2003_26704.0 ino=2562093:mtime=1099621862:size=72
8 E_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov__5_00:55:20_2004_9452.0 ino=2562094:mtime=1099637720:size=71
9 E_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov__5_00:55:20_2004_9452.1 ino=2562095:mtime=1099637720:size=71
10 i_1a76a87e-7af5-424a-a30d-61660c8f243e ino=2512433:mtime=1099637107:size=1547
11 i_9a5063f4-1e20-4fff-b22a-de94c1e3d954 ino=2512439:mtime=1099621862:size=1968
12 i_b07b1015-30ba-4b46-915f-78c776a808f4 ino=2512434:mtime=1099637041:size=2293
13 i_d4250e44-a0e0-4ee0-adb9-2bd74f6eeb27 ino=2512436:mtime=1099637763:size=1487
14 x_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov_21_03:17:12_2003_26704.0 ino=2512431:mtime=1099622484:size=1017
15 x_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov__5_00:55:20_2004_9452.0 ino=2512442:mtime=1099622632:size=2913
16 x_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov__5_00:55:20_2004_9452.1 ino=2512441:mtime=1099622546:size=134
0 A_./{arch}/.arch-project-tree ino=2575468:mtime=1099621862:size=52
1 A_./{arch}/=tagging-method ino=2575469:mtime=1099621862:size=6822
2 A_./{arch}/debian-dir/debian-dir--checkpolicy/debian-dir--checkpolicy--1.0/srivasta@debian.org--2003-primary/patch-log/base-0 ino=2840997:mtime=1099621862:size=724
3 A_./{arch}/debian-dir/debian-dir--checkpolicy/debian-dir--checkpolicy--1.0/srivasta@debian.org--2003-primary/patch-log/patch-1 ino=2840998:mtime=1099638143:size=520
4 A_./{arch}/debian-dir/debian-dir--checkpolicy/debian-dir--checkpolicy--1.0/srivasta@debian.org--2003-primary/patch-log/patch-2 ino=2840664:mtime=1101331965:size=405
5 A_./{arch}/debian-dir/debian-dir--skeleton/debian-dir--skeleton--1.0/srivasta@debian.org--2003-primary/patch-log/base-0 ino=2936449:mtime=1099621862:size=639
6 A_./{arch}/debian-dir/debian-dir--skeleton/debian-dir--skeleton--1.0/srivasta@debian.org--2003-primary/patch-log/patch-1 ino=2936450:mtime=1099621862:size=470
7 A_./{arch}/debian-dir/debian-dir--skeleton/debian-dir--skeleton--1.0/srivasta@debian.org--2003-primary/patch-log/patch-2 ino=2936451:mtime=1099621862:size=450
8 E_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov_21_03:17:12_2003_26704.0 ino=2562093:mtime=1099621862:size=72
9 E_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov__5_00:55:20_2004_9452.0 ino=2562094:mtime=1099637720:size=71
10 E_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov__5_00:55:20_2004_9452.1 ino=2562095:mtime=1099637720:size=71
11 i_1a76a87e-7af5-424a-a30d-61660c8f243e ino=2512433:mtime=1099637107:size=1547
12 i_9a5063f4-1e20-4fff-b22a-de94c1e3d954 ino=2512439:mtime=1099621862:size=1968
13 i_b07b1015-30ba-4b46-915f-78c776a808f4 ino=2512434:mtime=1099637041:size=2293
14 i_d4250e44-a0e0-4ee0-adb9-2bd74f6eeb27 ino=2512436:mtime=1101326660:size=1534
15 x_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov_21_03:17:12_2003_26704.0 ino=2512431:mtime=1099622484:size=1017
16 x_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov__5_00:55:20_2004_9452.0 ino=2512442:mtime=1101328164:size=3167
17 x_Manoj_Srivastava_<srivasta@debian.org>_Fri_Nov__5_00:55:20_2004_9452.1 ino=2512441:mtime=1101326354:size=156
0 Hackerlab arch project directory, format version 1.
0 # id tagging method
1 #
2 # This determines how "inventory ids", strings conveying
3 # logical file identity, are computed for each file, directory
4 # and symbolic link.
5 #
6 # The choices are:
7 #
8 # tagline: inventory ids may be set using add-id, or omitted
9 # (though tree-lint warns about omitted ids), or in
10 # text files, set in a comment line near the top or
11 # bottom of the file of a form like "<PUNCT> arch-tag: <STRING>".
12 # Renames of files with no id are treated as a combined
13 # add and delete (e.g., local changes can be lost).
14 #
15 # explicit: ids must be set using add-id. Files passing the naming
16 # conventions for source, but lacking add-id ids, are treated
17 # as unrecognized files (see below).
18 #
19 # names: ids are not used. All renames are treated as add+delete
20 #
21 # implicit: similar to tagline, but in addition, the id comment
22 # may be of the form "<PUNCT> <BASENAME> - <STRING>", where
23 # <BASENAME> is the basename of the file. This method
24 # is not recommended, but is retained for backwards
25 # compatability.
26 #
27
28 tagline
29
30 # disposition of untagged source files
31 #
32 # (NOTE: this option must follow the tagline/explicit/names/implicit
33 # directive.)
34 #
35 # By default, the explicit method treats untagged files matching the naming
36 # conventions for source files as unrecognized and the implicit and tagline
37 # methods treat such untagged files as source.
38 #
39 # You can override those default treatments of untagged files by specifying
40 # which inventory category (see below) should be used for files whose names
41 # suggest they are source but which lack ids.
42 #
43 # This feature may be especially convenient when importing sources that do
44 # not use file naming conventions that can be conveniently described with
45 # the regexps below.
46 #
47 # Uncomment one of these lines as appropriate to override the default:
48 #
49 # untagged-source source
50 # untagged-source precious
51 # untagged-source backup
52 # untagged-source junk
53 # untagged-source unrecognized
54 #
55
56 # naming convention regexps
57 #
58 # For various commands, arch traverses your project trees, categorizing
59 # the files found there. For example, when importing a project for
60 # the first time, this traversal determines which files are included
61 # in the import.
62 #
63 # The categories of greatest importance are defined in terms of three
64 # questions:
65 #
66 # 1) If arch makes a local copy of this tree, should this file be included
67 # in the copy?
68 #
69 # 2) Is it generally safe to remove this file based only on how it is named?
70 # For example, can it be safely clobbered by a new file of the same name?
71 #
72 # 3) Should this file be archived along with the project? For example,
73 # should it be included when importing the project for the first time?
74 #
75 # The primary categories are:
76 #
77 # category: copy locally? safe to clobber? archive?
78 #
79 # junk no yes no
80 # backup no no no
81 # precious yes no no
82 # source yes no yes
83 #
84 # There are two additional categories, unrelated to those questions:
85 #
86 # excluded -- during a traversal by srcfind (aka inventory), this file (and,
87 # if a directory, its contents) are simply ignored unless the
88 # --all flag is specified. This category is usually used to
89 # omit arch's own control files from a listing.
90 #
91 # unrecognized -- a category for files whose name fits no other pattern.
92 # Usually, the presence of unrecognized files is treated as an
93 # error. You can use the naming conventions to define certain
94 # names as "deliberately unrecognized" -- i.e., filenames whose
95 # presence in a source tree you _want_ to be treated as an error
96 #
97 # The traveral algorithm is described here, along with lines you can edit to
98 # customize the naming conventions.
99 #
100 # Starting at "." within a project tree (usually at the root of the
101 # project tree) consider each filename in that directory.
102 #
103 # The files "." and ".." are simply ignored.
104 #
105 # Files containing "illegal characters" are characterized as unrecognized.
106 # If they are directories, traversal does _not_ descend into those directories.
107 # Currently, the illegal characters are *, ?, [, ], \, space, and tab.
108 # (The set of illegal characters may shrink in future releases.)
109 #
110 # In an interactive call to srcfind (aka inventory) _without_ the --all flag,
111 # names are next compared to the exclude regexp defined here. Those that
112 # are ignored and not descended below. (Most arch operations performing
113 # traversals internally, e.g. imprev (aka import), do not use this pattern
114 # and skip this step of the algorithm.
115 #
116
117 exclude ^(.arch-ids|\{arch\})$
118
119 # If the file has a name that begins with "++", it is categorized as
120 # _precious_. Names of this form are hard-wired and reserved for use by arch
121 # itself. Traversal does not descend into precious directories, but when a
122 # precious directory is copied, its contents are recursively copied.
123 #
124 # Files and directories that reach this stage and which arch recognizes as its
125 # own control files are classified at this step as source. Traversal _does_
126 # descend into source directories.
127 #
128 # If the file has a name that begins with ",,", it is categorized as _junk_.
129 # Names of this form are hard-wired and reserved for use by arch and other tools,
130 # and arch may clobber such files without warning. In a project tree, when no
131 # arch commands are running, it is safe for users to delete any ",," files.
132 # Although the general rule for junk files is that arch is free to clobber them,
133 # in fact, arch will only ever clobber files starting with ",,".
134 #
135 # Traversal does not descend into junk directories.
136 #
137 # For your convenience, at this step of the traversal, you can classify
138 # additional files as junk or precious:
139 #
140
141 junk ^(,.*)$
142
143 precious ^(\+.*|\.gdbinit|\.#ckpts-lock|=build\.*|=install\.*|CVS|CVS\.adm|RCS|RCSLOG|SCCS|TAGS)$
144
145 # Files matching the following regexp are classified as backup files, and
146 # traversal does not descend into backup directories:
147 #
148
149 backup ^.*(~|\.~[0-9]+~|\.bak|\.orig|\.rej|\.original|\.modified|\.reject)$
150
151 # If you want to force certain filenames to be treated as errors when present,
152 # you can add them to the regexp for deliberately unrecognized files. Traversal
153 # does not descend into unrecognized directories.
154
155 unrecognized ^(.*\.(o|a|so|core|so(\.[[:digit:]]+)*)|core)$
156
157 # Files which match the following pattern are treated as source files.
158 # Traversal _does_ descend into source directories:
159
160 source ^[_=a-zA-Z0-9].*$
161
162 # Any files not classified by the above rules are classified as unrecognized.
163 # Traversal does not descend into unrecognized directories.
164
0 Revision: debian-dir--checkpolicy--1.0--base-0
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Thu Nov 4 20:30:55 CST 2004
4 Standard-date: 2004-11-05 02:30:55 GMT
5 New-patches: srivasta@debian.org--2003-primary/debian-dir--checkpolicy--1.0--base-0
6 srivasta@debian.org--2003-primary/debian-dir--skeleton--1.0--base-0
7 srivasta@debian.org--2003-primary/debian-dir--skeleton--1.0--patch-1
8 srivasta@debian.org--2003-primary/debian-dir--skeleton--1.0--patch-2
9 Continuation-of: srivasta@debian.org--2003-primary/debian-dir--skeleton--1.0--patch-2
10 Summary: tag of srivasta@debian.org--2003-primary/debian-dir--skeleton--1.0--patch-2
11
12 (automatically generated log message)
0 Revision: debian-dir--checkpolicy--1.0--patch-1
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Fri Nov 5 01:02:23 CST 2004
4 Standard-date: 2004-11-05 07:02:23 GMT
5 New-files: .arch-ids/changelog.id .arch-ids/watch.id
6 changelog watch
7 Removed-files: postinst postrm preinst prerm
8 Modified-files: control copyright local-vars.mk local.mk
9 New-patches: srivasta@debian.org--2003-primary/debian-dir--checkpolicy--1.0--patch-1
10 Summary: Tailored for the package.
11 Keywords:
12
0 Revision: debian-dir--checkpolicy--1.0--patch-2
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Wed Nov 24 15:32:37 CST 2004
4 Standard-date: 2004-11-24 21:32:37 GMT
5 Modified-files: changelog copyright watch
6 New-patches: srivasta@debian.org--2003-primary/debian-dir--checkpolicy--1.0--patch-2
7 Summary: Update download location and copyright file
8 Keywords:
9
0 Revision: debian-dir--skeleton--1.0--base-0
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Fri Nov 21 03:16:51 CST 2003
4 Standard-date: 2003-11-21 09:16:51 GMT
5 Summary: Initial implementation of a generic debian directory
6 Keywords:
7 New-files: control copyright local-vars.mk local.mk postinst
8 postrm preinst prerm rules
9 New-patches: srivasta@debian.org--2003-primary/debian-dir--skeleton--1.0--base-0
10
11 This is a baseline for creating debian directories for packages. Any
12 new package should have a new branch ragged from this one, and then
13 tailored for the needs of the package itself.
0 Revision: debian-dir--skeleton--1.0--patch-1
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Fri Nov 21 03:18:40 CST 2003
4 Standard-date: 2003-11-21 09:18:40 GMT
5 New-files: .arch-ids/control.id control
6 New-directories: .arch-ids
7 Removed-files: control
8 New-patches: srivasta@debian.org--2003-primary/debian-dir--skeleton--1.0--patch-1
9 Summary: The control file lacked an arch tag. Fixed
10 Keywords:
11
12 This is a minor bug fix.
0 Revision: debian-dir--skeleton--1.0--patch-2
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Mon Dec 1 23:21:11 CST 2003
4 Standard-date: 2003-12-02 05:21:11 GMT
5 Modified-files: local-vars.mk postinst postrm preinst prerm
6 New-patches: srivasta@debian.org--2003-primary/debian-dir--skeleton--1.0--patch-2
7 Summary: Added more common elements, and perform common tasks learned from the last few packages
8
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:49 2004 13522.13
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:54 2004 13528.0
0 Manoj Srivastava <srivasta@debian.org> Thu Nov 4 20:22:54 2004 13528.1
0 srivasta@debian.org--2003-primary/checkpolicy--devo--1.0
0 A_./{arch}/.arch-project-tree ino=2645752:mtime=1099621739:size=52
1 A_./{arch}/=tagging-method ino=2645753:mtime=1099621739:size=6809
2 A_./{arch}/checkpolicy/checkpolicy--devo/checkpolicy--devo--1.0/srivasta@debian.org--2003-primary/patch-log/base-0 ino=3003574:mtime=1099621739:size=567
3 A_./{arch}/checkpolicy/checkpolicy--upstream/checkpolicy--upstream--1.0/srivasta@debian.org--2003-primary/patch-log/base-0 ino=3003579:mtime=1099621739:size=576
4 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.0 ino=2481912:mtime=1099621739:size=72
5 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.1 ino=2481913:mtime=1099621739:size=72
6 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.10 ino=2481922:mtime=1099621739:size=73
7 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.11 ino=2481923:mtime=1099621739:size=73
8 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.12 ino=2481924:mtime=1099621739:size=73
9 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.13 ino=2544553:mtime=1099621739:size=73
10 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.14 ino=2481925:mtime=1099621739:size=73
11 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.15 ino=2481926:mtime=1099621739:size=73
12 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.2 ino=2481914:mtime=1099621739:size=72
13 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.3 ino=2481915:mtime=1099621739:size=72
14 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.4 ino=2481916:mtime=1099621739:size=72
15 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.5 ino=2481917:mtime=1099621739:size=72
16 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.6 ino=2481918:mtime=1099621739:size=72
17 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.7 ino=2481919:mtime=1099621739:size=72
18 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.8 ino=2481920:mtime=1099621739:size=72
19 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.9 ino=2481921:mtime=1099621739:size=72
20 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:54_2004_13528.0 ino=2544554:mtime=1099621739:size=72
21 E_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:54_2004_13528.1 ino=2544555:mtime=1099621739:size=72
22 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.0 ino=2449144:mtime=1099621739:size=18009
23 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.1 ino=2449145:mtime=1099621739:size=1884
24 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.10 ino=2449154:mtime=1099621739:size=5307
25 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.11 ino=2449155:mtime=1099621739:size=2559
26 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.12 ino=2449156:mtime=1099621739:size=1534
27 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.14 ino=2449157:mtime=1099621739:size=1345
28 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.15 ino=2449158:mtime=1099621739:size=8688
29 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.2 ino=2449146:mtime=1099621739:size=1300
30 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.3 ino=2449147:mtime=1099621739:size=5
31 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.4 ino=2449148:mtime=1099621739:size=1171
32 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.5 ino=2449149:mtime=1099621739:size=25307
33 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.6 ino=2449150:mtime=1099621739:size=336
34 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.7 ino=2449151:mtime=1099621739:size=1329
35 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.8 ino=2449152:mtime=1099621739:size=5021
36 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:49_2004_13522.9 ino=2449153:mtime=1099621739:size=117048
37 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:54_2004_13528.0 ino=2531064:mtime=1099621739:size=367
38 x_Manoj_Srivastava_<srivasta@debian.org>_Thu_Nov__4_20:22:54_2004_13528.1 ino=2531065:mtime=1099621739:size=10050
0 Hackerlab arch project directory, format version 1.
0 # id tagging method
1 #
2 # This determines how "inventory ids", strings conveying
3 # logical file identity, are computed for each file, directory
4 # and symbolic link.
5 #
6 # The choices are:
7 #
8 # tagline: inventory ids may be set using add-id, or omitted
9 # (though tree-lint warns about omitted ids), or in
10 # text files, set in a comment line near the top or
11 # bottom of the file of a form like "<PUNCT> arch-tag: <STRING>".
12 # Renames of files with no id are treated as a combined
13 # add and delete (e.g., local changes can be lost).
14 #
15 # explicit: ids must be set using add-id. Files passing the naming
16 # conventions for source, but lacking add-id ids, are treated
17 # as unrecognized files (see below).
18 #
19 # names: ids are not used. All renames are treated as add+delete
20 #
21 # implicit: similar to tagline, but in addition, the id comment
22 # may be of the form "<PUNCT> <BASENAME> - <STRING>", where
23 # <BASENAME> is the basename of the file. This method
24 # is not recommended, but is retained for backwards
25 # compatability.
26 #
27
28 explicit
29
30 # disposition of untagged source files
31 #
32 # (NOTE: this option must follow the tagline/explicit/names/implicit
33 # directive.)
34 #
35 # By default, the explicit method treats untagged files matching the naming
36 # conventions for source files as unrecognized and the implicit and tagline
37 # methods treat such untagged files as source.
38 #
39 # You can override those default treatments of untagged files by specifying
40 # which inventory category (see below) should be used for files whose names
41 # suggest they are source but which lack ids.
42 #
43 # This feature may be especially convenient when importing sources that do
44 # not use file naming conventions that can be conveniently described with
45 # the regexps below.
46 #
47 # Uncomment one of these lines as appropriate to override the default:
48 #
49 # untagged-source source
50 untagged-source precious
51 # untagged-source backup
52 # untagged-source junk
53 # untagged-source unrecognized
54 #
55
56 # naming convention regexps
57 #
58 # For various commands, arch traverses your project trees, categorizing
59 # the files found there. For example, when importing a project for
60 # the first time, this traversal determines which files are included
61 # in the import.
62 #
63 # The categories of greatest importance are defined in terms of three
64 # questions:
65 #
66 # 1) If arch makes a local copy of this tree, should this file be included
67 # in the copy?
68 #
69 # 2) Is it generally safe to remove this file based only on how it is named?
70 # For example, can it be safely clobbered by a new file of the same name?
71 #
72 # 3) Should this file be archived along with the project? For example,
73 # should it be included when importing the project for the first time?
74 #
75 # The primary categories are:
76 #
77 # category: copy locally? safe to clobber? archive?
78 #
79 # junk no yes no
80 # backup no no no
81 # precious yes no no
82 # source yes no yes
83 #
84 # There are two additional categories, unrelated to those questions:
85 #
86 # excluded -- during a traversal by inventory, this file (and,
87 # if a directory, its contents) are simply ignored unless the
88 # --all flag is specified. This category is usually used to
89 # omit arch's own control files from a listing.
90 #
91 # unrecognized -- a category for files whose name fits no other pattern.
92 # Usually, the presence of unrecognized files is treated as an
93 # error. You can use the naming conventions to define certain
94 # names as "deliberately unrecognized" -- i.e., filenames whose
95 # presence in a source tree you _want_ to be treated as an error
96 #
97 # The traveral algorithm is described here, along with lines you can edit to
98 # customize the naming conventions.
99 #
100 # Starting at "." within a project tree (usually at the root of the
101 # project tree) consider each filename in that directory.
102 #
103 # The files "." and ".." are simply ignored.
104 #
105 # Files containing "illegal characters" are characterized as unrecognized.
106 # If they are directories, traversal does _not_ descend into those directories.
107 # Currently, the illegal characters are *, ?, [, ], \, space, and tab.
108 # (The set of illegal characters may shrink in future releases.)
109 #
110 # In an interactive call to inventory _without_ the --all flag,
111 # names are next compared to the exclude regexp defined here. Those that
112 # are ignored and not descended below. (Most arch operations performing
113 # traversals internally, e.g. import, do not use this pattern
114 # and skip this step of the algorithm.
115 #
116
117 exclude ^(.arch-ids|\{arch\}|\.arch-inventory)$
118
119 # If the file has a name that begins with "++", it is categorized as
120 # _precious_. Names of this form are hard-wired and reserved for use by arch
121 # itself. Traversal does not descend into precious directories, but when a
122 # precious directory is copied, its contents are recursively copied.
123 #
124 # Files and directories that reach this stage and which arch recognizes as its
125 # own control files are classified at this step as source. Traversal _does_
126 # descend into source directories.
127 #
128 # If the file has a name that begins with ",,", it is categorized as _junk_.
129 # Names of this form are hard-wired and reserved for use by arch and other tools,
130 # and arch may clobber such files without warning. In a project tree, when no
131 # arch commands are running, it is safe for users to delete any ",," files.
132 # Although the general rule for junk files is that arch is free to clobber them,
133 # in fact, arch will only ever clobber files starting with ",,".
134 #
135 # Traversal does not descend into junk directories.
136 #
137 # For your convenience, at this step of the traversal, you can classify
138 # additional files as junk or precious:
139 #
140
141 junk ^(,.*)$
142
143 precious ^(\+.*|\.gdbinit|\.#ckpts-lock|=build\.*|=install\.*|CVS|CVS\.adm|RCS|RCSLOG|SCCS|TAGS|\.svn)$
144
145 # Files matching the following regexp are classified as backup files, and
146 # traversal does not descend into backup directories:
147 #
148
149 backup ^.*(~|\.~[0-9]+~|\.bak|\.swp|\.orig|\.rej|\.original|\.modified|\.reject)$
150
151 # If you want to force certain filenames to be treated as errors when present,
152 # you can add them to the regexp for deliberately unrecognized files. Traversal
153 # does not descend into unrecognized directories.
154
155 unrecognized ^(.*\.(o|a|so|core|so(\.[[:digit:]]+)*)|core)$
156
157 # Files which match the following pattern are treated as source files.
158 # Traversal _does_ descend into source directories:
159
160 source ^[_=a-zA-Z0-9].*$
161
162 # Any files not classified by the above rules are classified as unrecognized.
163 # Traversal does not descend into unrecognized directories.
164
0 Revision: checkpolicy--devo--1.0--base-0
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Thu Nov 4 20:25:13 CST 2004
4 Standard-date: 2004-11-05 02:25:13 GMT
5 New-patches: srivasta@debian.org--2003-primary/checkpolicy--devo--1.0--base-0
6 srivasta@debian.org--2003-primary/checkpolicy--upstream--1.0--base-0
7 Continuation-of: srivasta@debian.org--2003-primary/checkpolicy--upstream--1.0--base-0
8 Summary: tag of srivasta@debian.org--2003-primary/checkpolicy--upstream--1.0--base-0
9
10 (automatically generated log message)
0 Revision: checkpolicy--upstream--1.0--base-0
1 Archive: srivasta@debian.org--2003-primary
2 Creator: Manoj Srivastava <srivasta@debian.org>
3 Date: Thu Nov 4 20:23:09 CST 2004
4 Standard-date: 2004-11-05 02:23:09 GMT
5 Summary: initial import
6 New-files: COPYING ChangeLog Makefile VERSION checkpolicy.8
7 checkpolicy.c checkpolicy.h checkpolicy.spec
8 genpolusers.c policy_parse.y policy_scan.l queue.c queue.h
9 test/Makefile test/dispol.c users.l users.y
10 New-patches: srivasta@debian.org--2003-primary/checkpolicy--upstream--1.0--base-0
11
12
13 (automatically generated log message)