summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ipkg-build2
-rw-r--r--scripts/make-ipkg-dir.sh6
2 files changed, 5 insertions, 3 deletions
diff --git a/scripts/ipkg-build b/scripts/ipkg-build
index 4c0f47143..378236b78 100644
--- a/scripts/ipkg-build
+++ b/scripts/ipkg-build
@@ -98,7 +98,7 @@ You probably want to remove them: " >&2
[ "$?" -ne 0 ] && PKG_ERROR=1
if [ -z "$section" ]; then
echo "The Section field should have one of the following values:" >&2
- echo "admin, base, comm, editors, extras, games, graphics, kernel, libs, misc, net, text, web, x11" >&2
+ echo "admin, base, comm, editors, extras, games, graphics, kernel, lang, libs, misc, net, text, web, x11" >&2
fi
priority=`required_field Priority`
diff --git a/scripts/make-ipkg-dir.sh b/scripts/make-ipkg-dir.sh
index 08b48f59e..857076fb1 100644
--- a/scripts/make-ipkg-dir.sh
+++ b/scripts/make-ipkg-dir.sh
@@ -1,4 +1,4 @@
-BASE=http://waldemar-brodkorb.de
+BASE=http://www.openadk.org
TARGET=$1
CONTROL=$2
VERSION=$3
@@ -9,7 +9,9 @@ WD=$(pwd)
mkdir -p "$TARGET/CONTROL"
grep '^[^(Version|Architecture)]' "$CONTROL" > "$TARGET/CONTROL/control"
grep '^Maintainer' "$CONTROL" 2>&1 >/dev/null || \
- echo "Maintainer: Waldemar Brodkorb <mail@waldemar-brodkorb.de>" >> "$TARGET/CONTROL/control"
+ echo "Maintainer: Waldemar Brodkorb <wbx@openadk.org>" >> "$TARGET/CONTROL/control"
+grep '^Priority' "$CONTROL" 2>&1 >/dev/null || \
+ echo "Priority: optional" >> "$TARGET/CONTROL/control"
grep '^Source' "$CONTROL" 2>&1 >/dev/null || {
pkgbase=$(echo "$WD" | sed -e "s|^$TOPDIR/||g")
[ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE/$pkgbase"