/[secure-testing]/Makefile
ViewVC logotype

Diff of /Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1993 by fw, Wed Sep 14 20:48:54 2005 UTC revision 1994 by fw, Thu Sep 15 10:11:44 2005 UTC
# Line 14  SECURITY_RELEASES = sarge-security=i386, Line 14  SECURITY_RELEASES = sarge-security=i386,
14  PACKAGE_FILES = $(wildcard data/packages/*_Sources) \  PACKAGE_FILES = $(wildcard data/packages/*_Sources) \
15          $(wildcard data/packages/*_Packages)          $(wildcard data/packages/*_Packages)
16    
17  all: stamps/bug-lists-imported stamps/packages-imported \  all:
18          stamps/calc-vulns          $(PYTHON) bin/update-db
   
 stamps/bug-lists-imported: bin/update-bug-list-db \  
         $(BUG_LISTS) $(PYTHON_MODULES)  
         $(PYTHON) bin/update-bug-list-db  
         touch $@  
   
 # No dependencies on the Python files.  This part of the code should  
 # be quite stable.  We only run the packages import if "make  
 # update-packages" has been invoked before.  
 stamps/packages-imported: $(PACKAGE_FILES)  
         if test -e stamps/packages-downloaded ; then \  
                 $(PYTHON) bin/update-packages import ; \  
         fi  
         touch $@  
   
 stamps/calc-vulns: stamps/bug-lists-imported stamps/packages-imported  
         if test -e stamps/packages-downloaded ; then \  
                 $(PYTHON) bin/update-vulnerabilities ; \  
         fi  
         touch $@  
19    
20  clean:  clean:
21          -rm data/security.db          -rm data/security.db
# Line 64  stamps/DTSA-syntax: data/DTSA/list bin/c Line 44  stamps/DTSA-syntax: data/DTSA/list bin/c
44          $(PYTHON) bin/check-syntax DTSA data/DTSA/list          $(PYTHON) bin/check-syntax DTSA data/DTSA/list
45          touch $@          touch $@
46    
47  .PHONY: update-packages  .PHONY: update-packages update-etch-security
48  update-packages:  update-packages:
49          $(PYTHON) bin/update-packages download $(MIRROR) $(RELEASES)          set -e ; for rel in woody sarge etch sid ; do \
50          $(PYTHON) bin/update-packages download \                  for archive in main contrib non-free ; do \
51                  http://security.debian.org/ $(SECURITY_RELEASES)                  $(PYTHON) bin/apt-update-file \
52                            $(MIRROR)/dists/$$rel/$$archive/source/Sources \
53                            data/packages/$${rel}__$${archive}_Sources ; \
54                    done ; \
55                    for arch in i386 ia64 ; do \
56                      for archive in main contrib non-free ; do \
57                      $(PYTHON) bin/apt-update-file \
58                        $(MIRROR)/dists/$$rel/$$archive/binary-$$arch/Packages \
59                        data/packages/$${rel}__$${archive}_$${arch}_Packages ; \
60                      done ; \
61                    done ; \
62            done
63          touch stamps/packages-downloaded          touch stamps/packages-downloaded
64    
65    ST_MIRROR = http://secure-testing.debian.net/debian-secure-testing/dists/etch/security-updates
66    ST_FILE = data/packages/etch_security_
67    update-testing-security:
68            $(PYTHON) bin/apt-update-file \
69              $(ST_MIRROR)/main/source/Sources $(ST_FILE)main_Sources
70            $(PYTHON) bin/apt-update-file \
71              $(ST_MIRROR)/main/binary-i386/Packages $(ST_FILE)main_i386_Packages
72            $(PYTHON) bin/apt-update-file \
73              $(ST_MIRROR)/main/binary-ia64/Packages $(ST_FILE)main_ia64_Packages
74    
75    SEC_MIRROR = http://security.debian.org/dists
76    update-security:
77            for archive in woody sarge ; do \
78              $(PYTHON) bin/apt-update-file \
79                $(SEC_MIRROR)/$$archive/updates/main/source/Sources \
80                data/packages/$${archive}_security_main_Sources ; \
81              for arch in i386 ia64 ; do \
82                $(PYTHON) bin/apt-update-file \
83                  $(SEC_MIRROR)/$$archive/updates/main/binary-$$arch/Packages \
84                  data/packages/$${archive}_security_main_$${arch}_Packages ; \
85              done ; \
86            done

Legend:
Removed from v.1993  
changed lines
  Added in v.1994

  ViewVC Help
Powered by ViewVC 1.1.5