From b80939cc0a0ed80ba236c8fa831601908525cfc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Thu, 4 Oct 2012 11:33:57 +0200 Subject: [PATCH] Noux: add noux-pkg/less Issue #2014 --- repos/ports/ports/less.hash | 1 + repos/ports/ports/less.port | 11 +++++++++++ repos/ports/run/noux_bash.run | 12 ++++++++++-- repos/ports/src/noux-pkg/less/target.mk | 17 +++++++++++++++++ repos/ports/src/noux-pkg/less/tty_fd.patch | 12 ++++++++++++ 5 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 repos/ports/ports/less.hash create mode 100644 repos/ports/ports/less.port create mode 100644 repos/ports/src/noux-pkg/less/target.mk create mode 100644 repos/ports/src/noux-pkg/less/tty_fd.patch diff --git a/repos/ports/ports/less.hash b/repos/ports/ports/less.hash new file mode 100644 index 000000000..36e28ad86 --- /dev/null +++ b/repos/ports/ports/less.hash @@ -0,0 +1 @@ +58e87934afd2c2ed0f9bc808f23d838bdf578f69 diff --git a/repos/ports/ports/less.port b/repos/ports/ports/less.port new file mode 100644 index 000000000..e236c7ebe --- /dev/null +++ b/repos/ports/ports/less.port @@ -0,0 +1,11 @@ +LICENSE := GPLv3 +VERSION := 481 +DOWNLOADS := less.archive + +URL(less) := http://ftp.gnu.org/gnu/less/less-$(VERSION).tar.gz +SHA(less) := 58e7e62a760a9ca3636349de8e3357f7102aea1d +SIG(less) := ${URL(less)}.sig +KEY(less) := GNU +DIR(less) := src/noux-pkg/less + +PATCHES := src/noux-pkg/less/tty_fd.patch diff --git a/repos/ports/run/noux_bash.run b/repos/ports/run/noux_bash.run index c6acbca9a..3fa2c6696 100644 --- a/repos/ports/run/noux_bash.run +++ b/repos/ports/run/noux_bash.run @@ -24,7 +24,7 @@ lappend_if [have_spec gpio] build_components drivers/gpio # # Build Noux packages only once # -foreach pkg {bash coreutils vim diffutils} { +foreach pkg {bash coreutils vim diffutils less} { lappend_if [expr ![file exists bin/$pkg]] build_components noux-pkg/$pkg } source ${genode_dir}/repos/base/run/platform_drv.inc @@ -50,6 +50,7 @@ exec tar cfv bin/bash.tar -h -C bin/bash . exec tar cfv bin/coreutils.tar -h -C bin/coreutils . exec tar cfv bin/vim.tar -h -C bin/vim . exec tar cfv bin/diffutils.tar -h -C bin/diffutils . +exec tar cfv bin/less.tar -h -C bin/less . create_boot_directory @@ -137,6 +138,12 @@ append config { + +Hello world ?! + + +Hello world !! + @@ -153,6 +160,7 @@ append config { +