Package: debian-policy
Severity: normal
Tags: patch

I think the Homepage field for debian/control is now official - at least it
isn't documented in the policy right now. So here - a little patch which would
fix that.

Regards,
diff -Naur debian-policy-3.7.2.2/policy.sgml 
debian-policy-3.7.2.2.homepage/policy.sgml
--- debian-policy-3.7.2.2/policy.sgml   2006-10-03 00:36:50.000000000 +0200
+++ debian-policy-3.7.2.2.homepage/policy.sgml  2007-11-20 14:11:58.000000000 
+0100
@@ -2181,6 +2181,7 @@
            <item><qref id="f-Uploaders"><tt>Uploaders</tt></qref></item>
            <item><qref id="f-Section"><tt>Section</tt></qref> 
(recommended)</item>
            <item><qref id="f-Priority"><tt>Priority</tt></qref> 
(recommended)</item>
+           <item><qred if="f-Homepage"><tt>Homepage</tt></qref> 
(recommended)</item>
            <item><qref id="sourcebinarydeps"><tt>Build-Depends</tt> et 
al</qref></item>
            <item><qref 
id="f-Standards-Version"><tt>Standards-Version</tt></qref> (recommended)</item>
          </list>
@@ -2275,6 +2276,7 @@
          <item><qref id="f-Binary"><tt>Binary</tt></qref></item>
          <item><qref id="f-Architecture"><tt>Architecture</tt></qref></item>
           <item><qref id="sourcebinarydeps"><tt>Build-Depends</tt> et 
al</qref></item>
+         <item><qred id="f-Homepage"><tt>Homepage</tt></qref></item>
          <item><qref 
id="f-Standards-Version"><tt>Standards-Version</tt></qref> (recommended)</item>
          <item><qref id="f-Files"><tt>Files</tt></qref> (mandatory)</item>
        </list>
@@ -2449,6 +2451,21 @@
          </p>
        </sect1>
 
+       <sect1 id="f-Homepage">
+         <heading><tt>Homepage</tt></heading>
+
+         <p>
+           URL to the Upstream homepage
+         </p>
+
+         <p>
+           Most upstream projects from the upstream have got a website, it can
+           be helpful for the users to provide it as an information.
+           The field should look like that:
+           <tt>Homepage: http://www.debian.org</tt>
+         </p>
+       </sect1>
+
        <sect1 id="f-Package">
          <heading><tt>Package</tt></heading>
 
diff -Naur debian-policy-3.7.2.2/version.ent 
debian-policy-3.7.2.2.homepage/version.ent
--- debian-policy-3.7.2.2/version.ent   1970-01-01 01:00:00.000000000 +0100
+++ debian-policy-3.7.2.2.homepage/version.ent  2007-11-20 14:05:05.000000000 
+0100
@@ -0,0 +1,2 @@
+<!entity version "3.7.2.2">
+<!entity date    "2007-11-20">

Reply via email to