summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-07-12 00:13:21 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-07-12 00:13:21 (EDT)
commit5c8b4a8ace8538138f8daab29c6dd46f96fae618 (patch)
tree5a0618113d09f8628459d3515946a0b8d679349c
parentfec9f32685f12a8f1ca7538cf599ec96f4ed3fef (diff)
ppt-mkpkgs: Add Section fields to control files
-rw-r--r--changelog2
-rw-r--r--src/2/ppt-mkpkgs5
-rw-r--r--src/3/ppt-mkpkgs5
3 files changed, 12 insertions, 0 deletions
diff --git a/changelog b/changelog
index df49013..278c5f3 100644
--- a/changelog
+++ b/changelog
@@ -16,6 +16,8 @@ platconf-pkg-tools (3.0.0) trunk
* platconf-pkg-tools: Add an extended description.
* platconf-pkg-tools: Organize into section "dev".
- Add opkbuild 4.2.0 to build dependencies.
+ * Generated package control files are now organized into sections
+ "share" and "dev".
-- Patrick McDermott <patrick.mcdermott@libiquity.com> Mon, 15 Jul 2019 17:59:07 -0400
diff --git a/src/2/ppt-mkpkgs b/src/2/ppt-mkpkgs
index 0567346..04fb541 100644
--- a/src/2/ppt-mkpkgs
+++ b/src/2/ppt-mkpkgs
@@ -21,6 +21,7 @@ make_common_pkg()
# Generated by ppt-mkpkgs. Do not edit.
Architecture: all
Platform: all
+ Section: share
Description: "${PLAT}" platform configuration - common files
EOF
>"config-${PLAT}-common.pkg/docs"
@@ -36,6 +37,7 @@ make_base_pkg()
# Generated by ppt-mkpkgs. Do not edit.
Architecture: all
Platform: ${PLAT}
+ Section: share
Essential: yes
Depends: config-${PLAT}-common (= \${Binary-Version}),
\${Config-Base-Depends}
@@ -60,6 +62,7 @@ make_build_time_pkgs()
# Generated by ppt-mkpkgs. Do not edit.
Architecture: all
Platform: all
+ Section: dev
Depends: config-${PLAT}-common (= \${Binary-Version}),
\${Config-${pkg}-Depends}
Description: "${PLAT}" platform configuration for ${pkg}
@@ -85,6 +88,7 @@ make_run_time_pkgs()
# Generated by ppt-mkpkgs. Do not edit.
Architecture: all
Platform: ${PLAT}
+ Section: share
Depends: config-${PLAT}-common (= \${Binary-Version}),
\${Config-${pkg}-Depends}
Description: "${PLAT}" platform configuration for ${pkg}
@@ -109,6 +113,7 @@ main()
make_base_pkg
make_build_time_pkgs
make_run_time_pkgs
+ info 'Consider adding "opkbuild (>= 4.2.0)" to Build-Depends'
if ${MAKE_SUBSTVARS}; then
info 'Stub "substvars" file generated. Set variables as '$(: \
)'needed.'
diff --git a/src/3/ppt-mkpkgs b/src/3/ppt-mkpkgs
index 41121f9..2cb1908 100644
--- a/src/3/ppt-mkpkgs
+++ b/src/3/ppt-mkpkgs
@@ -21,6 +21,7 @@ make_common_pkg()
# Generated by ppt-mkpkgs. Do not edit.
Architecture: all
Platform: all
+ Section: share
Description: "${PLAT}" platform configuration - common files
EOF
>"config-${PLAT}-common.pkg/docs"
@@ -36,6 +37,7 @@ make_base_pkg()
# Generated by ppt-mkpkgs. Do not edit.
Architecture: all
Platform: ${PLAT}
+ Section: share
Essential: yes
Depends: config-${PLAT}-common (= \${Binary-Version}),
\${Config-Base-Depends}
@@ -62,6 +64,7 @@ make_build_time_pkgs()
# Generated by ppt-mkpkgs. Do not edit.
Architecture: all
Platform: all
+ Section: dev
Depends: config-${PLAT}-common (= \${Binary-Version}),
\${Config-${pkg}-Depends}
Description: "${PLAT}" platform configuration for ${pkg}
@@ -87,6 +90,7 @@ make_run_time_pkgs()
# Generated by ppt-mkpkgs. Do not edit.
Architecture: all
Platform: ${PLAT}
+ Section: share
Depends: config-${PLAT}-common (= \${Binary-Version}),
\${Config-${pkg}-Depends}
Description: "${PLAT}" platform configuration for ${pkg}
@@ -111,6 +115,7 @@ main()
make_base_pkg
make_build_time_pkgs
make_run_time_pkgs
+ info 'Consider adding "opkbuild (>= 4.2.0)" to Build-Depends'
if ${MAKE_SUBSTVARS}; then
info 'Stub "substvars" file generated. Set variables as '$(: \
)'needed.'