summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debrecords.cc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-25 09:58:11 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-25 09:58:11 -0200
commitf27b4a70b2cfe4d49806080937d15fb415d4d18b (patch)
treec93622cf82bbba4b685d448f7ac8b31066db54b3 /apt-pkg/deb/debrecords.cc
parent1ccceaf30e1eeb08a408f7a400b66cdaec77c25b (diff)
* Applied patch from Daniel Burrows <dburrows@debian.org> to add support
for the Homepage field, closes: #447970.
Diffstat (limited to 'apt-pkg/deb/debrecords.cc')
-rw-r--r--apt-pkg/deb/debrecords.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc
index 3d3d7de0a..8ed0bb7eb 100644
--- a/apt-pkg/deb/debrecords.cc
+++ b/apt-pkg/deb/debrecords.cc
@@ -51,6 +51,14 @@ string debRecordParser::Name()
return Section.FindS("Package");
}
/*}}}*/
+// RecordParser::Homepage - Return the package homepage /*{{{*/
+// ---------------------------------------------------------------------
+/* */
+string debRecordParser::Homepage()
+{
+ return Section.FindS("Homepage");
+}
+ /*}}}*/
// RecordParser::MD5Hash - Return the archive hash /*{{{*/
// ---------------------------------------------------------------------
/* */