diff options
-rwxr-xr-x | build | 2 | ||||
-rw-r--r-- | changelog | 7 | ||||
-rw-r--r-- | dialog-common.pkg/control | 8 | ||||
-rw-r--r-- | dialog-common.pkg/docs (copied from dialog-ncursesw.pkg/docs) | 0 | ||||
-rw-r--r-- | dialog-common.pkg/files (renamed from dialog-ncursesw.pkg/docs) | 0 | ||||
-rw-r--r-- | dialog-doc.pkg/control | 2 | ||||
-rw-r--r-- | dialog-locale.pkg/control | 2 | ||||
-rw-r--r-- | dialog-ncurses.pkg/control | 8 | ||||
-rw-r--r-- | dialog-ncurses.pkg/files | 1 | ||||
-rw-r--r-- | dialog-ncurses.pkg/postinst | 6 | ||||
-rw-r--r-- | dialog-ncurses.pkg/prerm | 6 | ||||
-rw-r--r-- | dialog-ncursesw.pkg/control | 2 |
12 files changed, 40 insertions, 4 deletions
@@ -2,7 +2,7 @@ include ../source.mk -curses_libs = ncursesw +curses_libs = ncurses ncursesw nop: @: @@ -1,3 +1,10 @@ +dialog (1.3+20201126-2) trunk + + * dialog-ncurses: New package, using the non-wide-character ncurses + library. + + -- Patrick McDermott <patrick.mcdermott@libiquity.com> Mon, 11 Jan 2021 01:00:50 -0500 + dialog (1.3+20201126-1) trunk * Initial release. diff --git a/dialog-common.pkg/control b/dialog-common.pkg/control new file mode 100644 index 0000000..1781fbb --- /dev/null +++ b/dialog-common.pkg/control @@ -0,0 +1,8 @@ +Architecture: all +Platform: all +Section: share +Description: Program to display dialog boxes from shell scripts - common files + dialog is a program that will let you present a variety of questions or display + messages using dialog boxes from a shell script. + . + This package provides source package documentation for the dialog program. diff --git a/dialog-ncursesw.pkg/docs b/dialog-common.pkg/docs index e69de29..e69de29 100644 --- a/dialog-ncursesw.pkg/docs +++ b/dialog-common.pkg/docs diff --git a/dialog-ncursesw.pkg/docs b/dialog-common.pkg/files index e69de29..e69de29 100644 --- a/dialog-ncursesw.pkg/docs +++ b/dialog-common.pkg/files diff --git a/dialog-doc.pkg/control b/dialog-doc.pkg/control index 4678b87..7ace239 100644 --- a/dialog-doc.pkg/control +++ b/dialog-doc.pkg/control @@ -1,7 +1,7 @@ Architecture: all Platform: all Section: doc -Depends: dialog-ncursesw (>= ${Source-Version}) +Depends: dialog-common (= ${Source-Version}) Description: Program to display dialog boxes from shell scripts - documentation dialog is a program that will let you present a variety of questions or display messages using dialog boxes from a shell script. diff --git a/dialog-locale.pkg/control b/dialog-locale.pkg/control index e9f74b9..36cd4ec 100644 --- a/dialog-locale.pkg/control +++ b/dialog-locale.pkg/control @@ -1,7 +1,7 @@ Architecture: all Platform: all Section: locale -Depends: dialog-ncursesw (>= ${Source-Version}) +Depends: dialog-common (= ${Source-Version}) Description: Program to display dialog boxes from shell scripts - locales dialog is a program that will let you present a variety of questions or display messages using dialog boxes from a shell script. diff --git a/dialog-ncurses.pkg/control b/dialog-ncurses.pkg/control new file mode 100644 index 0000000..cd82575 --- /dev/null +++ b/dialog-ncurses.pkg/control @@ -0,0 +1,8 @@ +Architecture: any +Platform: all +Section: util +Provides: dialog +Depends: dialog-common (= ${Source-Version}), ${Shlib-Depends} +Description: Program to display dialog boxes from shell scripts - ncurses + dialog is a program that will let you present a variety of questions or display + messages using dialog boxes from a shell script. diff --git a/dialog-ncurses.pkg/files b/dialog-ncurses.pkg/files new file mode 100644 index 0000000..b342cb0 --- /dev/null +++ b/dialog-ncurses.pkg/files @@ -0,0 +1 @@ +/usr/bin/dialog.ncurses diff --git a/dialog-ncurses.pkg/postinst b/dialog-ncurses.pkg/postinst new file mode 100644 index 0000000..734e4bf --- /dev/null +++ b/dialog-ncurses.pkg/postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ x"${1}" = x'configure' ]; then + update-alternatives --install /usr/bin/dialog dialog \ + /usr/bin/dialog.ncurses 20 +fi diff --git a/dialog-ncurses.pkg/prerm b/dialog-ncurses.pkg/prerm new file mode 100644 index 0000000..d21b9a4 --- /dev/null +++ b/dialog-ncurses.pkg/prerm @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ x"${1}" = x'remove' ] || [ x"${1}" = x'purge' ] || [ x"${1}" = x'upgrade' ] +then + update-alternatives --remove /usr/bin/dialog /usr/bin/dialog.ncurses +fi diff --git a/dialog-ncursesw.pkg/control b/dialog-ncursesw.pkg/control index b4702cc..4724ab9 100644 --- a/dialog-ncursesw.pkg/control +++ b/dialog-ncursesw.pkg/control @@ -2,7 +2,7 @@ Architecture: any Platform: all Section: util Provides: dialog -Depends: ${Shlib-Depends} +Depends: dialog-common (= ${Source-Version}), ${Shlib-Depends} Description: Program to display dialog boxes from shell scripts - ncursesw dialog is a program that will let you present a variety of questions or display messages using dialog boxes from a shell script. |