diff options
Diffstat (limited to 'test/package/debian')
| -rw-r--r-- | test/package/debian/copyright | 143 | ||||
| -rw-r--r-- | test/package/debian/ncurses-examples.lintian-overrides | 7 | ||||
| -rw-r--r-- | test/package/debian/ncursest-examples.lintian-overrides | 7 | ||||
| -rwxr-xr-x | test/package/debian/rules | 23 | ||||
| -rw-r--r-- | test/package/debian/watch | 2 |
5 files changed, 92 insertions, 90 deletions
diff --git a/test/package/debian/copyright b/test/package/debian/copyright index 7546e1cc1f71..2249ad5e1130 100644 --- a/test/package/debian/copyright +++ b/test/package/debian/copyright @@ -1,79 +1,68 @@ -Upstream source https://invisible-island.net/ncurses/ncurses-examples.html +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ncurses-examples +Upstream-Contact: Thomas E. Dickey <dickey@invisible-island.net> +Source: https://invisible-island.net/ncurses/ncurses-examples.html -Current ncurses maintainer: Thomas Dickey <dickey@invisible-island.net> - -------------------------------------------------------------------------------- Files: * -Copyright: 2017-2023,2024 Thomas E. Dickey -Copyright: 1998-2016,2017 Free Software Foundation, Inc. -License: X11 - -Files: aclocal.m4 package -Copyright: 2003-2023,2024 by Thomas E. Dickey -License: X11 - - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, distribute with modifications, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR - OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR - THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - Except as contained in this notice, the name(s) of the above copyright - holders shall not be used in advertising or otherwise to promote the - sale, use or other dealings in this Software without prior written - authorization. - -------------------------------------------------------------------------------- -Files: install-sh -Copyright: 1994 X Consortium -License: X11 - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- - TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - Except as contained in this notice, the name of the X Consortium shall not - be used in advertising or otherwise to promote the sale, use or other deal- - ings in this Software without prior written authorization from the X Consor- - tium. - - FSF changes to this file are in the public domain. - - Calling this script install-sh is preferred over install.sh, to prevent - `make' implicit rules from creating a file called install from it - when there is no Makefile. - - This script is compatible with the BSD install script, but was written - from scratch. It can only install one file at a time, a restriction - shared with many OS's install programs. - -On Debian systems, the complete text of the GNU General -Public License can be found in '/usr/share/common-licenses/GPL-2' - --- vile: txtmode file-encoding=utf-8 +Copyright: 2017-2024,2025 by Thomas E. Dickey + 1998-2016,2017 Free Software Foundation, Inc. +License: X11 License Distribution Modification Variant + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, distribute with modifications, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR + OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR + THE USE OR OTHER DEALINGS IN THE SOFTWARE. + . + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the + sale, use or other dealings in this Software without prior written + authorization. +Comment: + https://invisible-island.net/ncurses/ncurses-license.html + +Files: aclocal.m4 package +Copyright: 2003-2024,2025 by Thomas E. Dickey +License: X11 License Distribution Modification Variant + +Files: install-sh +Copyright: 1994 X Consortium +License: X11 + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + . + Except as contained in this notice, the name(s) of the above copyright + holders shall not be used in advertising or otherwise to promote the sale, + use or other dealings in this Software without prior written authorization. + +Files: terminal.xbm +Copyright: 1988 Evans & Sutherland Computer Corporation, Salt Lake City, Utah +License: StandardML-NJ +Comment: vile: txtmode file-encoding=utf-8 diff --git a/test/package/debian/ncurses-examples.lintian-overrides b/test/package/debian/ncurses-examples.lintian-overrides new file mode 100644 index 000000000000..2b063e9d23b1 --- /dev/null +++ b/test/package/debian/ncurses-examples.lintian-overrides @@ -0,0 +1,7 @@ +# $Id: ncurses-examples.lintian-overrides,v 1.1 2025/06/14 21:12:31 tom Exp $ + +# "function" is used in an awk script +bash-term-in-posix-shell 'function scaled(' [usr/libexec/ncurses-examples/tput-initc:*] + +# workaround for lintian bug +incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/libexec/ncurses-examples/tracemunch] diff --git a/test/package/debian/ncursest-examples.lintian-overrides b/test/package/debian/ncursest-examples.lintian-overrides new file mode 100644 index 000000000000..7be45eb0e268 --- /dev/null +++ b/test/package/debian/ncursest-examples.lintian-overrides @@ -0,0 +1,7 @@ +# $Id: ncursest-examples.lintian-overrides,v 1.1 2025/06/14 21:12:31 tom Exp $ + +# "function" is used in an awk script +bash-term-in-posix-shell 'function scaled(' [usr/libexec/ncursest-examples/tput-initc:*] + +# workaround for lintian bug +incorrect-path-for-interpreter /usr/bin/env perl != /usr/bin/perl [usr/libexec/ncursest-examples/tracemunch] diff --git a/test/package/debian/rules b/test/package/debian/rules index 2cc34f7305ef..02cd1840b26e 100755 --- a/test/package/debian/rules +++ b/test/package/debian/rules @@ -1,11 +1,15 @@ #!/usr/bin/make -f -# Made with the aid of dh_make, by Craig Small -# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. -# Some lines taken from debmake, by Cristoph Lameter. +# $Id: rules,v 1.15 2025/06/14 21:15:59 tom Exp $ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +SHELL = /bin/bash +DPKG_EXPORT_BUILDFLAGS = 1 +export DEB_BUILD_MAINT_OPTIONS := hardening=+all qa=+bug reproducible=+all + +include /usr/share/dpkg/buildflags.mk + # packages NCURSES_PKG = ncurses-examples NCURSEST_PKG = ncursest-examples @@ -18,10 +22,6 @@ PACKAGES.arch = $(NCURSES_PKG) $(NCURSEST_PKG) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) -LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) - ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else @@ -34,9 +34,7 @@ endif verbose = # -v configure = \ - CFLAGS="$(CFLAGS)" \ - CPPFLAGS="$(CPPFLAGS)" \ - LDFLAGS="$(LDFLAGS)" ../../configure \ + ../../configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ @@ -75,7 +73,7 @@ config-$(NCURSES_PKG)-stamp: cd t/ncurses6; $(configure) \ --datadir=\$${datarootdir}/$(NCURSES_PKG) \ - --with-screen=ncursesw6 + --with-screen=ncursesw6td touch $@ @@ -87,7 +85,7 @@ config-$(NCURSEST_PKG)-stamp: cd t/ncursest6; $(configure) \ --datadir=\$${datarootdir}/$(NCURSEST_PKG) \ - --with-screen=ncursestw6 + --with-screen=ncursestw6td touch $@ @@ -153,6 +151,7 @@ ifneq ($(PACKAGES.arch),) rm -f $(PACKAGES.arch:%=install-%-stamp) dh_testdir dh_testroot + dh_lintian $(verbose) $(PACKAGES.arch:%=-p%) dh_installdocs $(verbose) $(PACKAGES.arch:%=-p%) dh_installchangelogs $(verbose) $(PACKAGES.arch:%=-p%) NEWS dh_strip $(verbose) $(PACKAGES.arch:%=-p%) diff --git a/test/package/debian/watch b/test/package/debian/watch index ec075b189b01..c35c8e38ee9f 100644 --- a/test/package/debian/watch +++ b/test/package/debian/watch @@ -1,4 +1,4 @@ version=3 -opts=passive ftp://ftp.invisible-island.net/ncurses-examples/ncurses-examples-([\d.]+)\.tgz \ +opts=passive https://invisible-island.net/archives/ncurses-examples/ncurses-examples-([\d.]+)\.tgz \ debian uupdate |
