~ubuntu-branches/ubuntu/maverick/apt/maverick-security

« back to all changes in this revision

Viewing changes to apt-pkg/deb/debsrcrecords.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2005-03-07 20:08:33 UTC
  • Revision ID: james.westby@ubuntu.com-20050307200833-0lxdgg2cb4oculdv
Tags: 0.6.35
* Merge apt--mvo--0 (incorporates 0.6.34ubuntu1):
  - Implement MaxSize and MaxAge in apt.cron.daily, to prevent the cache
    from growing too large (Ubuntu #6761)
  - some comments about the pkgAcqMetaSig::Custom600Headers() added
  - use gpg --with-colons
  - commented the ftp no_proxy unseting in methods/ftp.cc
  - added support for "Acquire::gpgv::options" in methods/gpgv.cc
* Merge bubulle@debian.org--2005/apt--main--0
  - Make capitalization more consistent
  - Un-fuzzy translations resulting from capitalization changes
  - Italian translation update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- mode: cpp; mode: fold -*-
2
2
// Description                                                          /*{{{*/
3
 
// $Id: debsrcrecords.h,v 1.6 2001/02/20 07:03:17 jgg Exp $
 
3
// $Id: debsrcrecords.h,v 1.8 2004/03/17 05:58:54 mdz Exp $
4
4
/* ######################################################################
5
5
   
6
6
   Debian Source Package Records - Parser implementation for Debian style
39
39
   virtual string Maintainer() const {return Sect.FindS("Maintainer");};
40
40
   virtual string Section() const {return Sect.FindS("Section");};
41
41
   virtual const char **Binaries();
42
 
   virtual bool BuildDepends(vector<BuildDepRec> &BuildDeps);
 
42
   virtual bool BuildDepends(vector<BuildDepRec> &BuildDeps, bool ArchOnly);
43
43
   virtual unsigned long Offset() {return iOffset;};
44
44
   virtual string AsStr() 
45
45
   {
52
52
   debSrcRecordParser(string File,pkgIndexFile const *Index) :
53
53
                   Parser(Index),      
54
54
                   Fd(File,FileFd::ReadOnly),
55
 
                   Tags(&Fd,sizeof(Buffer)) {};
 
55
                   Tags(&Fd,102400) {};
56
56
};
57
57
 
58
58
#endif