2010-06-01 23:24:18

by Rogério Brito

[permalink] [raw]
Subject: [PATCH 1/3] scripts: Add homepage field to debian/control file

This helps when the user sees information of the packages on package
managers like aptitude.

Signed-off-by: Rogério Brito <[email protected]>
---
scripts/package/builddeb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 07f2fbd..d8477a6 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -152,6 +152,7 @@ Section: admin
Priority: optional
Maintainer: $maintainer
Standards-Version: 3.8.1
+Homepage: http://www.kernel.org/
EOF

if [ "$ARCH" = "um" ]; then
--
1.7.1


2010-06-01 23:32:14

by Rogério Brito

[permalink] [raw]
Subject: [PATCH 3/3] scripts: Change section of generated debian packages to kernel

To follow the way that Official Debian kernel packages are made, put the
generated packages in the right section, the kernel section. This also
avoids polluting the admin section.

Signed-off-by: Rogério Brito <[email protected]>
---
scripts/package/builddeb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 784f67d..5f1e2fc 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -148,7 +148,7 @@ EOF
# Generate a control file
cat <<EOF > debian/control
Source: linux-upstream
-Section: admin
+Section: kernel
Priority: optional
Maintainer: $maintainer
Standards-Version: 3.8.4
--
1.7.1

2010-06-01 23:32:13

by Rogério Brito

[permalink] [raw]
Subject: [PATCH 2/3] scripts: Mark that the packages generated conform to Standards-Version 3.8.4

The packages generated by the builddeb script conform to the Debian
Policy version 3.8.4. Make this explicit in the generated packages.

Signed-off-by: Rogério Brito <[email protected]>
---
scripts/package/builddeb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index d8477a6..784f67d 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -151,7 +151,7 @@ Source: linux-upstream
Section: admin
Priority: optional
Maintainer: $maintainer
-Standards-Version: 3.8.1
+Standards-Version: 3.8.4
Homepage: http://www.kernel.org/
EOF

--
1.7.1

2010-06-03 11:21:44

by Michal Marek

[permalink] [raw]
Subject: Re: [PATCH 1/3] scripts: Add homepage field to debian/control file

On 2.6.2010 01:22, Rogério Brito wrote:
> This helps when the user sees information of the packages on package
> managers like aptitude.
>
> Signed-off-by: Rogério Brito <[email protected]>

Thanks, I've applied all your three patches.

Michal