From f4b565cc1472409fb3f1f3fc4f67612ef0ff41c9 Mon Sep 17 00:00:00 2001 From: opensides Date: Fri, 1 Aug 2008 15:23:39 +0000 Subject: [PATCH] - Added patched version of dh-make-gosa to correctly put homepage field in package - Added field to several plugin for final test git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12112 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/dh-make-gosa | 4 ++++ gosa-plugins/addressbook/plugin.dsc | 1 + gosa-plugins/apache2/plugin.dsc | 1 + gosa-plugins/connectivity/plugin.dsc | 1 + gosa-plugins/dak/plugin.dsc | 1 + gosa-plugins/dfs/plugin.dsc | 1 + gosa-plugins/dhcp/plugin.dsc | 1 + 7 files changed, 10 insertions(+) diff --git a/gosa-core/dh-make-gosa b/gosa-core/dh-make-gosa index f3813ae90..b78b143d1 100755 --- a/gosa-core/dh-make-gosa +++ b/gosa-core/dh-make-gosa @@ -39,6 +39,7 @@ load_dsc() { PL_DESCRIPTION=$(sed -n 's/"//g;s/^description\s*=\s*\(.*\)$/\1/p' "$1") PL_AUTHOR=$(sed -n 's/"//g;s/^author\s*=\s*\([^<]*\).*$/\1/p' "$1") PL_MAIL=$(sed -n 's/"//g;s/^author\s*=[^<].*<\([^>]*\).*$/\1/p' "$1") + PL_HOMEPAGE=$(sed -n 's/"//g;s/^homepage\s*=\s*\(.*\)$/\1/p' "$1") else echo "Error: cannot find description file" >&2 exit 1 @@ -154,6 +155,7 @@ echo "Depends: $PL_DEPENDS" echo "Conflicts: $PL_CONFLICTS" echo "Author name: $PL_AUTHOR" echo "Author email: $PL_MAIL" +echo "Homepage: $PL_HOMEPAGE" echo read -s -n 1 -p "Do you want to continue? (y/n)" ans; echo [ "$ans" != "y" ] && exit 0 @@ -206,6 +208,8 @@ sed -i '/^Upstream/,/^$/d' debian/copyright # Adapt control sed -i "s#^Section: unknown#Section: $SECTION#g" debian/control sed -i 's/^Architecture: any/Architecture: all/g' debian/control +sed -i "s#^Homepage: #Homepage: $PL_HOMEPAGE#g" debian/control + if [ "$PL_DEPENDS" ]; then sed -i "s/^Depends: .*$/Depends: gosa, $PL_DEPENDS/g" debian/control else diff --git a/gosa-plugins/addressbook/plugin.dsc b/gosa-plugins/addressbook/plugin.dsc index b904075b7..423f1f183 100644 --- a/gosa-plugins/addressbook/plugin.dsc +++ b/gosa-plugins/addressbook/plugin.dsc @@ -3,3 +3,4 @@ name = addressbook description = "Simple addressbook addon" version = 2.6 author = "Cajus Pollmeier " +homepage = https://oss.gonicus.de/labs/gosa/ diff --git a/gosa-plugins/apache2/plugin.dsc b/gosa-plugins/apache2/plugin.dsc index 81365b71a..93fc48f91 100644 --- a/gosa-plugins/apache2/plugin.dsc +++ b/gosa-plugins/apache2/plugin.dsc @@ -4,3 +4,4 @@ description = "Apache2 vhost management module" depends = systems version = 2.6 author = "Cajus Pollmeier " +homepage = https://oss.gonicus.de/labs/gosa/ diff --git a/gosa-plugins/connectivity/plugin.dsc b/gosa-plugins/connectivity/plugin.dsc index e7e822f3c..fb6edbff9 100644 --- a/gosa-plugins/connectivity/plugin.dsc +++ b/gosa-plugins/connectivity/plugin.dsc @@ -3,3 +3,4 @@ name = connectivity description = "Connectivity base plugin - pool for really small plugins" version = 2.6 author = "Cajus Pollmeier " +homepage = https://oss.gonicus.de/labs/gosa/ diff --git a/gosa-plugins/dak/plugin.dsc b/gosa-plugins/dak/plugin.dsc index 1ecaad971..41386c69a 100644 --- a/gosa-plugins/dak/plugin.dsc +++ b/gosa-plugins/dak/plugin.dsc @@ -4,3 +4,4 @@ description = "Debian archive management infrastructure plugin" version = 2.6 author = "Cajus Pollmeier " depends = fai +homepage = https://oss.gonicus.de/labs/gosa/ diff --git a/gosa-plugins/dfs/plugin.dsc b/gosa-plugins/dfs/plugin.dsc index 653ad1fff..79fe44431 100644 --- a/gosa-plugins/dfs/plugin.dsc +++ b/gosa-plugins/dfs/plugin.dsc @@ -3,3 +3,4 @@ name = dfs description = "DFS share manager" version = 2.6 author = "Cajus Pollmeier " +homepage = https://oss.gonicus.de/labs/gosa/ diff --git a/gosa-plugins/dhcp/plugin.dsc b/gosa-plugins/dhcp/plugin.dsc index 058f23b54..aa2e2e395 100644 --- a/gosa-plugins/dhcp/plugin.dsc +++ b/gosa-plugins/dhcp/plugin.dsc @@ -3,4 +3,5 @@ name = dhcp description = "DHCP service management plugin" version = 2.6 author = "Cajus Pollmeier " +homepage = https://oss.gonicus.de/labs/gosa/ depends = systems -- 2.30.2