summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--release/packages/lib32-development.ucl13
-rw-r--r--release/packages/lib32-profile.ucl13
-rw-r--r--release/packages/lib32.ucl2
-rw-r--r--release/scripts/mtree-to-plist.awk18
4 files changed, 42 insertions, 4 deletions
diff --git a/release/packages/lib32-development.ucl b/release/packages/lib32-development.ucl
new file mode 100644
index 0000000..c4e7152
--- /dev/null
+++ b/release/packages/lib32-development.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-lib32-development"
+origin = "base"
+version = "%VERSION%"
+comment = "32bits libraries"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "http://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+TODO
+EOD
diff --git a/release/packages/lib32-profile.ucl b/release/packages/lib32-profile.ucl
new file mode 100644
index 0000000..b2cdb7d
--- /dev/null
+++ b/release/packages/lib32-profile.ucl
@@ -0,0 +1,13 @@
+name = "FreeBSD-lib32-profile"
+origin = "base"
+version = "%VERSION%"
+comment = "32bits libraries"
+categories = [ base ]
+maintainer = "re@FreeBSD.org"
+www = "http://www.FreeBSD.org"
+prefix = "/"
+licenselogic = "single"
+licenses = [ BSD2CLAUSE ]
+desc = <<EOD
+TODO
+EOD
diff --git a/release/packages/lib32.ucl b/release/packages/lib32.ucl
index 95b5631..14f5b9e 100644
--- a/release/packages/lib32.ucl
+++ b/release/packages/lib32.ucl
@@ -1,7 +1,7 @@
name = "FreeBSD-lib32"
origin = "base"
version = "%VERSION%"
-comment = "32bits libraries
+comment = "32bits libraries"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "http://www.FreeBSD.org"
diff --git a/release/scripts/mtree-to-plist.awk b/release/scripts/mtree-to-plist.awk
index e61805f..9aa172b 100644
--- a/release/scripts/mtree-to-plist.awk
+++ b/release/scripts/mtree-to-plist.awk
@@ -25,7 +25,7 @@
if (length(tags) == 0)
next
if (tags ~ /package=/) {
- ext = pkgname = ""
+ ext = pkgname = pkgend = ""
split(tags, a, ",");
for (i in a) {
if (a[i] ~ /^package=/) {
@@ -33,17 +33,29 @@
gsub(/package=/, "", pkgname)
} else if (a[i] == "config") {
type="config"
+ } else if (a[i] == "development" || a[i] == "profile") {
+ pkgend=a[i]
} else {
- ext=a[i]
+ if (ext != "")
+ ext=ext"-"a[i]
+ else
+ ext=a[i]
}
}
- if (length(ext) > 0) {
+ if (ext != "") {
if (pkgname == "runtime") {
pkgname=ext
} else {
pkgname=pkgname"-"ext
}
}
+ if (pkgend != "") {
+ if (pkgname == "runtime") {
+ pkgname=pkgend
+ } else {
+ pkgname=pkgname"-"pkgend
+ }
+ }
} else {
print "No packages specified in line: $0" > 2
next
OpenPOWER on IntegriCloud