ports: migrate to new ports mechanism

Issue #1082
This commit is contained in:
Norman Feske 2014-05-17 00:57:41 +02:00
parent e17f271ba6
commit 6adbb9e438
134 changed files with 515 additions and 1044 deletions

View File

@ -5,14 +5,12 @@ VBOX_MACH_ASM_OPT_x86_32 = -f elf32
VBOX_MACH_CC_OPT_x86_64 = -DRT_ARCH_AMD64 -D__AMD64__ -DHC_ARCH_BITS=64
VBOX_MACH_ASM_OPT_x86_64 = -f elf64
include $(REP_DIR)/ports/virtualbox.inc
ifeq ($(shell which yasm),)
REQUIRES += installation_of_yasm
REQUIRES += installation_of_iasl
endif
VIRTUALBOX_DIR = $(REP_DIR)/contrib/$(VIRTUALBOX)
VIRTUALBOX_DIR = $(call select_from_ports,virtualbox)/src/app/virtualbox
VBOX_DIR = $(VIRTUALBOX_DIR)/src/VBox
VBOX_CC_OPT += -DIN_RING3 -DVBOX -DVBOX_OSE \
@ -38,9 +36,15 @@ VBOX_CC_OPT += -DUSE_SDL
VBOX_CC_OPT += -DRTLOG_REL_ENABLED -DRT_STRICT -DVBOX_STRICT
VIRTUALBOX_VERSION_MAJOR := $(shell cat $(VIRTUALBOX_DIR)/Config.kmk | grep "VBOX_VERSION_MAJOR = " | grep -v "'VBOX_VERSION_MAJOR" | sed "s/^.*= //")
VIRTUALBOX_VERSION_MINOR := $(shell cat $(VIRTUALBOX_DIR)/Config.kmk | grep "VBOX_VERSION_MINOR = " | grep -v "'VBOX_VERSION_MINOR" | sed "s/^.*= //")
VIRTUALBOX_VERSION_BUILD := $(shell cat $(VIRTUALBOX_DIR)/Config.kmk | grep "VBOX_VERSION_BUILD = " | grep -v "'VBOX_VERSION_BUILD" | sed "s/^.*= //")
VBOX_CC_OPT += -DVBOX_VERSION_MAJOR=$(VIRTUALBOX_VERSION_MAJOR) \
-DVBOX_VERSION_MINOR=$(VIRTUALBOX_VERSION_MINOR) \
-DVBOX_VERSION_BUILD=$(VIRTUALBOX_VERSION_BUILD)
-DVBOX_VERSION_BUILD=$(VIRTUALBOX_VERSION_BUILD) \
-DVBOX_VERSION_STRING=\"$(VIRTUALBOX_VERSION_MAJOR).$(VIRTUALBOX_VERSION_MINOR).$(VIRTUALBOX_VERSION_BUILD)_OSE\"
VBOX_CC_OPT += -DVBOX_HDD_NO_DYNAMIC_BACKENDS

View File

@ -33,7 +33,7 @@ NOUX_PKG ?= $(TARGET)
LIBS += libc libm libc_noux
NOUX_PKG_DIR ?= $(wildcard $(REP_DIR)/contrib/$(NOUX_PKG)-*)
NOUX_PKG_DIR ?= $(call select_from_ports,$(NOUX_PKG))/src/noux-pkg/$(NOUX_PKG)
PWD = $(shell pwd)

View File

@ -0,0 +1 @@
dummy

View File

@ -1,26 +0,0 @@
ARORA = arora-0.11.0
ARORA_TGZ = $(ARORA).tar.gz
ARORA_URL = http://arora.googlecode.com/files/$(ARORA_TGZ)
#
# Interface to top-level prepare Makefile
#
PORTS += $(ARORA)
prepare-arora: $(CONTRIB_DIR)/$(ARORA)
PATCHES_DIR = src/app/arora/patches
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(ARORA_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(ARORA_URL) && touch $@
$(CONTRIB_DIR)/$(ARORA): $(DOWNLOAD_DIR)/$(ARORA_TGZ)
$(VERBOSE)tar xfz $< -C $(CONTRIB_DIR) && touch $@
$(VERBOSE)for p in $(shell cat $(PATCHES_DIR)/series); do \
patch -d $@ -p1 -i ../../$(PATCHES_DIR)/$$p; done;
clean-arora:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(ARORA)

View File

@ -0,0 +1,12 @@
LICENSE := unknown
VERSION := 0.11.0
DOWNLOADS := arora.archive
URL(arora) := http://arora.googlecode.com/files/arora-$(VERSION).tar.gz
SHA(arora) := 480cfd7482cccbb7ece866fa10afe9acace29b31
DIR(arora) := src/app/arora
PATCHES := $(foreach P,$(shell cat $(REP_DIR)/src/app/arora/patches/series),\
src/app/arora/patches/$P)
PATCH_OPT := -p1 -d src/app/arora

View File

@ -0,0 +1 @@
dummy

View File

@ -1,36 +0,0 @@
BASH = bash-4.1
BASH_TGZ = $(BASH).tar.gz
BASH_SIG = $(BASH_TGZ).sig
BASH_BASE_URL = http://ftp.gnu.org/gnu/bash
BASH_URL = $(BASH_BASE_URL)/$(BASH_TGZ)
BASH_URL_SIG = $(BASH_BASE_URL)/$(BASH_SIG)
BASH_KEY = GNU
#
# Interface to top-level prepare Makefile
#
PORTS += $(BASH)
prepare-bash: $(CONTRIB_DIR)/$(BASH)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(BASH_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(BASH_URL) && touch $@
$(DOWNLOAD_DIR)/$(BASH_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(BASH_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(BASH_TGZ).verified: $(DOWNLOAD_DIR)/$(BASH_TGZ) \
$(DOWNLOAD_DIR)/$(BASH_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(BASH_TGZ) $(DOWNLOAD_DIR)/$(BASH_SIG) $(BASH_KEY)
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(BASH): $(DOWNLOAD_DIR)/$(BASH_TGZ).verified
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(BASH) -N -p1 < src/noux-pkg/bash/build.patch
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(BASH) -N -p1 < src/noux-pkg/bash/check_dev_tty.patch
clean-bash:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(BASH)

View File

@ -0,0 +1,13 @@
LICENSE := GPLv3
VERSION := 4.1
DOWNLOADS := bash.archive
URL(bash) := http://ftp.gnu.org/gnu/bash/bash-$(VERSION).tar.gz
SHA(bash) := 3bd1ec9c66f3689f6b3495bdaaf9077b2e5dc150
SIG(bash) := ${URL(bash)}.sig
KEY(bash) := GNU
DIR(bash) := src/noux-pkg/bash
PATCHES := src/noux-pkg/bash/build.patch \
src/noux-pkg/bash/check_dev_tty.patch
PATCH_OPT := -p1 -d src/noux-pkg/bash

View File

@ -0,0 +1 @@
dummy

View File

@ -1,35 +0,0 @@
BINUTILS = binutils-2.22
BINUTILS_TBZ2 = $(BINUTILS).tar.bz2
BINUTILS_SIG = $(BINUTILS_TBZ2).sig
BINUTILS_BASE_URL = ftp://ftp.fu-berlin.de/gnu/binutils
BINUTILS_URL = $(BINUTILS_BASE_URL)/$(BINUTILS_TBZ2)
BINUTILS_URL_SIG = $(BINUTILS_BASE_URL)/$(BINUTILS_SIG)
BINUTILS_KEY = GNU
#
# Interface to top-level prepare Makefile
#
PORTS += $(BINUTILS)
prepare-binutils: $(CONTRIB_DIR)/$(BINUTILS)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(BINUTILS_TBZ2):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(BINUTILS_URL) && touch $@
$(DOWNLOAD_DIR)/$(BINUTILS_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(BINUTILS_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(BINUTILS_TBZ2).verified: $(DOWNLOAD_DIR)/$(BINUTILS_TBZ2) \
$(DOWNLOAD_DIR)/$(BINUTILS_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(BINUTILS_TBZ2) $(DOWNLOAD_DIR)/$(BINUTILS_SIG) $(BINUTILS_KEY)
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(BINUTILS): $(DOWNLOAD_DIR)/$(BINUTILS_TBZ2).verified
$(VERBOSE)tar xfj $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(BINUTILS) -N -p1 < src/noux-pkg/binutils/build.patch
clean-binutils:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(BINUTILS)

View File

@ -0,0 +1,12 @@
LICENSE := GPLv2
VERSION := 2.22
DOWNLOADS := binutils.archive
URL(binutils) := ftp://ftp.fu-berlin.de/gnu/binutils/binutils-$(VERSION).tar.bz2
SHA(binutils) := 65b304a0b9a53a686ce50a01173d1f40f8efe404
SIG(binutils) := ${URL(binutils)}.sig
KEY(binutils) := GNU
DIR(binutils) := src/noux-pkg/binutils
PATCHES := src/noux-pkg/binutils/build.patch
PATCH_OPT := -p1 -d src/noux-pkg/binutils

View File

@ -0,0 +1 @@
dummy

View File

@ -1,34 +0,0 @@
COREUTILS = coreutils-8.9
COREUTILS_TGZ = $(COREUTILS).tar.gz
COREUTILS_SIG = $(COREUTILS_TGZ).sig
COREUTILS_BASE_URL = http://ftp.gnu.org/gnu/coreutils
COREUTILS_URL = $(COREUTILS_BASE_URL)/$(COREUTILS_TGZ)
COREUTILS_URL_SIG = $(COREUTILS_BASE_URL)/$(COREUTILS_SIG)
COREUTILS_KEY = GNU
#
# Interface to top-level prepare Makefile
#
PORTS += $(COREUTILS)
prepare-coreutils: $(CONTRIB_DIR)/$(COREUTILS)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(COREUTILS_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(COREUTILS_URL) && touch $@
$(DOWNLOAD_DIR)/$(COREUTILS_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(COREUTILS_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(COREUTILS_TGZ).verified: $(DOWNLOAD_DIR)/$(COREUTILS_TGZ) \
$(DOWNLOAD_DIR)/$(COREUTILS_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(COREUTILS_TGZ) $(DOWNLOAD_DIR)/$(COREUTILS_SIG) $(COREUTILS_KEY)
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(COREUTILS): $(DOWNLOAD_DIR)/$(COREUTILS_TGZ)
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
clean-coreutils:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(COREUTILS)

View File

@ -0,0 +1,9 @@
LICENSE := GPLv3
VERSION := 8.9
DOWNLOADS := coreutils.archive
URL(coreutils) := http://ftp.gnu.org/gnu/coreutils/coreutils-$(VERSION).tar.gz
SHA(coreutils) := 1e7a4d012abf840684d3b769297721377ffc4743
SIG(coreutils) := ${URL(coreutils)}.sig
KEY(coreutils) := GNU
DIR(coreutils) := src/noux-pkg/coreutils

View File

@ -0,0 +1 @@
dummy

View File

@ -1,24 +0,0 @@
DASH = dash-0.5.6
DASH_TGZ = $(DASH).tar.gz
DASH_URL = http://gondor.apana.org.au/~herbert/dash/files/$(DASH_TGZ)
#
# Interface to top-level prepare Makefile
#
PORTS += $(DASH)
prepare-dash: $(CONTRIB_DIR)/$(DASH)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(DASH_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(DASH_URL) && touch $@
$(CONTRIB_DIR)/$(DASH): $(DOWNLOAD_DIR)/$(DASH_TGZ)
$(VERBOSE)tar xfz $< -C $(CONTRIB_DIR) && touch $@
$(VERBOSE)patch -N -p0 < src/noux-pkg/dash/build.patch
clean-dash:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(DASH)

View File

@ -0,0 +1,9 @@
LICENSE := BSD
VERSION := 0.5.6
DOWNLOADS := dash.archive
URL(dash) := http://gondor.apana.org.au/~herbert/dash/files/dash-$(VERSION).tar.gz
SHA(dash) := c62f94f09feb5eeb5e4b90793c5b6d5dad6ac003
DIR(dash) := src/noux-pkg/dash
PATCHES := src/noux-pkg/dash/build.patch

View File

@ -0,0 +1 @@
dummy

View File

@ -1,4 +0,0 @@
DOSBOX_REV := 3837
DOSBOX_VERSION := svn-$(DOSBOX_REV)
DOSBOX := dosbox-$(DOSBOX_VERSION)

View File

@ -1,22 +0,0 @@
include ports/dosbox.inc
DOSBOX_SVN_URL = http://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk
#
# Interface to top-level prepare Makefile
#
PORTS += $(DOSBOX)
prepare-dosbox: $(CONTRIB_DIR)/$(DOSBOX)
#
# Port-specific local rules
#
$(CONTRIB_DIR)/$(DOSBOX):
$(ECHO) "checking out 'dosbox rev. $(DOSBOX_REV)' to '$@'"
$(VERBOSE)svn export $(DOSBOX_SVN_URL)@$(DOSBOX_REV) $@
$(VERBOSE)for i in src/app/dosbox/patches/*.patch; do \
patch -N -p0 < $$i; done || true
clean-dosbox:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(DOSBOX)

View File

@ -0,0 +1,12 @@
LICENSE := GPLv2
VERSION := svn
DOWNLOADS := dosbox.svn
URL(dosbox) := http://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk
DIR(dosbox) := src/app/dosbox
REV(dosbox) := 3837
PATCHES := $(addprefix src/app/dosbox/patches/,\
$(notdir $(wildcard $(REP_DIR)/src/app/dosbox/patches/*.patch)))
PATCH_OPT := -p2 -d src/app/dosbox

View File

@ -0,0 +1 @@
dummy

View File

@ -1,26 +0,0 @@
include ports/e2fsprogs.inc
#
# Check for tools
#
$(call check_tool,git)
#
# Interface to top-level prepare Makefile
#
PORTS += $(E2FSPROGS)
prepare-e2fsprogs: $(CONTRIB_DIR)/$(E2FSPROGS)
#
# Port-specific local rules
#
$(CONTRIB_DIR)/$(E2FSPROGS):
$(VERBOSE)git clone $(E2FSPROGS_URL) $(CONTRIB_DIR)/$(E2FSPROGS) && \
cd $(CONTRIB_DIR)/$(E2FSPROGS) && \
git checkout -b $(E2FSPROGS_BRANCH) $(E2FSPROGS_BRANCH)
$(VERBOSE)for i in src/noux-pkg/e2fsprogs/patches/*.patch; do \
patch -d $(CONTRIB_DIR)/$(E2FSPROGS) -N -p1 < $$i; done || true
clean-e2fsprogs:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(E2FSPROGS)

View File

@ -0,0 +1,9 @@
LICENSE := GPLv2
VERSION := 1.42.9
DOWNLOADS := e2fsprogs.git
URL(e2fsprogs) := https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
REV(e2fsprogs) := v$(VERSION)
DIR(e2fsprogs) := src/noux-pkg/e2fsprogs
PATCHES := src/noux-pkg/e2fsprogs/patches/*.patch

View File

@ -0,0 +1 @@
dummy

View File

@ -1,25 +0,0 @@
ETC := etc-8.2.0
#
# Interface to top-level prepare Makefile
#
PORTS += $(ETC)
#
# Check for tools
#
$(call check_tool,svn)
#
# Subdirectories to check out from FreeBSD's Subversion repository
#
ETC_SVN_BASE = http://svn.freebsd.org/base/release/8.2.0
$(CONTRIB_DIR)/$(ETC):
$(ECHO) "checking out 'etc' to '$@'"
$(VERBOSE)svn export $(ETC_SVN_BASE)/etc $@
prepare-etc: $(CONTRIB_DIR)/$(ETC)
clean-etc:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(ETC)

View File

@ -0,0 +1,7 @@
LICENSE := BSD
VERSION := 8.2.0
DOWNLOADS := etc.svn
URL(etc) := http://svn.freebsd.org/base/release/$(VERSION)/etc
REV(etc) := HEAD
DIR(etc) := src/noux-pkg/etc

View File

@ -0,0 +1 @@
dummy

View File

@ -1,35 +0,0 @@
FINDUTILS = findutils-4.4.2
FINDUTILS_TGZ = $(FINDUTILS).tar.gz
FINDUTILS_SIG = $(FINDUTILS_TGZ).sig
FINDUTILS_BASE_URL = http://ftp.gnu.org/pub/gnu/findutils
FINDUTILS_URL = $(FINDUTILS_BASE_URL)/$(FINDUTILS_TGZ)
FINDUTILS_URL_SIG = $(FINDUTILS_BASE_URL)/$(FINDUTILS_SIG)
FINDUTILS_KEY = GNU
#
# Interface to top-level prepare Makefile
#
PORTS += $(FINDUTILS)
prepare-findutils: $(CONTRIB_DIR)/$(FINDUTILS)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(FINDUTILS_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(FINDUTILS_URL) && touch $@
$(DOWNLOAD_DIR)/$(FINDUTILS_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(FINDUTILS_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(FINDUTILS_TGZ).verified: $(DOWNLOAD_DIR)/$(FINDUTILS_TGZ) \
$(DOWNLOAD_DIR)/$(FINDUTILS_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(FINDUTILS_TGZ) $(DOWNLOAD_DIR)/$(FINDUTILS_SIG) $(FINDUTILS_KEY)
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(FINDUTILS): $(DOWNLOAD_DIR)/$(FINDUTILS_TGZ).verified
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(FINDUTILS) -N -p1 < src/noux-pkg/findutils/build.patch
clean-findutils:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(FINDUTILS)

View File

@ -0,0 +1,13 @@
LICENSE := GPLv3
VERSION := 4.4.2
DOWNLOADS := findutils.archive
URL(findutils) := http://ftp.gnu.org/pub/gnu/findutils/findutils-$(VERSION).tar.gz
SHA(findutils) := e8dd88fa2cc58abffd0bfc1eddab9020231bb024
SIG(findutils) := ${URL(findutils)}
KEY(findutils) := GNU
DIR(findutils) := src/noux-pkg/findutils
PATCHES := src/noux-pkg/findutils/build.patch
PATCH_OPT := -p1 -d src/noux-pkg/findutils

View File

@ -0,0 +1 @@
dummy

View File

@ -1,32 +0,0 @@
GNUGREP = grep-2.14
GNUGREP_TXZ = $(GNUGREP).tar.xz
GNUGREP_SIG = $(GNUGREP_TXZ).sig
GNUGREP_URL = http://ftp.gnu.org/pub/gnu/grep
GNUGREP_KEY = GNU
#
# Interface to top-level prepare Makefile
#
PORTS += $(GNUGREP)
prepare-grep: $(CONTRIB_DIR)/$(GNUGREP)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(GNUGREP_TXZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(GNUGREP_URL)/$(GNUGREP_TXZ) && touch $@
$(DOWNLOAD_DIR)/$(GNUGREP_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(GNUGREP_URL)/$(GNUGREP_SIG) && touch $@
$(CONTRIB_DIR)/$(GNUGREP): $(DOWNLOAD_DIR)/$(GNUGREP_TXZ).verified
$(VERBOSE)tar xfJ $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
$(DOWNLOAD_DIR)/$(GNUGREP_TXZ).verified: $(DOWNLOAD_DIR)/$(GNUGREP_TXZ) \
$(DOWNLOAD_DIR)/$(GNUGREP_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(GNUGREP_TXZ) $(DOWNLOAD_DIR)/$(GNUGREP_SIG) $(GNUGREP_KEY)
$(VERBOSE)touch $@
clean-grep:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(GNUGREP)

View File

@ -0,0 +1,9 @@
LICENSE := GPLv3
VERSION := 2.14
DOWNLOADS := grep.archive
URL(grep) := http://ftp.gnu.org/pub/gnu/grep/grep-$(VERSION).tar.xz
SHA(grep) := fb6ea404a0ef915334ca6212c7b517432ffe193e
SIG(grep) := ${URL(grep)}.sig
KEY(grep) := GNU
DIR(grep) := src/noux-pkg/grep

View File

@ -0,0 +1 @@
dummy

View File

@ -1,36 +0,0 @@
include ports/lighttpd.inc
LIGHTTPD_TGZ = $(LIGHTTPD).tar.gz
LIGHTTPD_SIG = $(LIGHTTPD_TGZ).asc
LIGHTTPD_BASE_URL = http://download.lighttpd.net/lighttpd/releases-1.4.x
LIGHTTPD_URL = $(LIGHTTPD_BASE_URL)/$(LIGHTTPD_TGZ)
LIGHTTPD_URL_SIG = $(LIGHTTPD_BASE_URL)/$(LIGHTTPD_SIG)
LIGHTTPD_KEY = stbuehler@lighttpd.net
#
# Interface to top-level prepare Makefile
#
PORTS += $(LIGHTTPD)
prepare-lighttpd: $(CONTRIB_DIR)/$(LIGHTTPD)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(LIGHTTPD_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(LIGHTTPD_URL) && touch $@
$(DOWNLOAD_DIR)/$(LIGHTTPD_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(LIGHTTPD_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(LIGHTTPD_TGZ).verified: $(DOWNLOAD_DIR)/$(LIGHTTPD_TGZ) \
$(DOWNLOAD_DIR)/$(LIGHTTPD_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(LIGHTTPD_TGZ) $(DOWNLOAD_DIR)/$(LIGHTTPD_SIG) $(LIGHTTPD_KEY)
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(LIGHTTPD): $(DOWNLOAD_DIR)/$(LIGHTTPD_TGZ).verified
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
$(VERBOSE)patch -N -p1 < src/app/lighttpd/disable_gethostbyaddr_fcntl.patch
clean-lighttpd:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(LIGHTTPD)

View File

@ -0,0 +1,11 @@
LICENSE := BSD
VERSION := 1.4.31
DOWNLOADS := lighttpd.archive
URL(lighttpd) := http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-$(VERSION).tar.gz
SHA(lighttpd) := 6b3babc9df173cea5ae4756c2fd6b0e85e015f2a
SIG(lighttpd) := ${URL(lighttpd)}.asc
KEY(lighttpd) := stbuehler@lighttpd.net
DIR(lighttpd) := src/app/lighttpd
PATCHES := src/app/lighttpd/disable_gethostbyaddr_fcntl.patch

View File

@ -0,0 +1 @@
dummy

View File

@ -1,39 +0,0 @@
LYNX = lynx-2.8.8.dev12
LYNX_TGZ = $(LYNX).tar.gz
LYNX_SIG = $(LYNX_TGZ).asc
LYNX_URL = http://lynx.isc.org/gnumatic/$(LYNX_TGZ)
LYNX_URL_SIG = UNKOWN/$(LYNX_SIG)
LYNX_KEY = dickey@sf1.isc.org
#
# Interface to top-level prepare Makefile
#
PORTS += $(LYNX)
prepare-lynx: $(CONTRIB_DIR)/$(LYNX)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(LYNX_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) -O $@ $(LYNX_URL) && touch $@
$(DOWNLOAD_DIR)/$(LYNX_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(LYNX_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(LYNX_TGZ).verified: $(DOWNLOAD_DIR)/$(LYNX_TGZ)
#
# XXX The current source of the lynx tarball does not contain the signature
# file. The official location contains the signature. Thus, upon
# switching to the official location, the signature check can be
# enabled.
#
#$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(LYNX_TGZ) $(DOWNLOAD_DIR)/$(LYNX_SIG) $(LYNX_KEY)
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(LYNX): $(DOWNLOAD_DIR)/$(LYNX_TGZ).verified
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
$(VERBOSE)patch -d contrib/ -N -p0 < src/noux-pkg/lynx/build.patch
clean-lynx:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(LYNX)

View File

@ -0,0 +1,10 @@
LICENSE := GPLv2
VERSION := 2.8.8.dev12
DOWNLOADS := lynx.archive
URL(lynx) := http://lynx.isc.org/gnumatic/lynx-$(VERSION).tar.gz
SHA(lynx) := 73cb60708e9746c74b3ee22ddcfe7d7a8fcb01b8
SIG(lynx) := ${URL(lynx)}.asc
DIR(lynx) := src/noux-pkg/lynx
PATCHES := src/noux-pkg/lynx/build.patch

View File

@ -0,0 +1 @@
dummy

View File

@ -1,34 +0,0 @@
GNUMAKE = make-3.82
GNUMAKE_TGZ = $(GNUMAKE).tar.gz
GNUMAKE_SIG = $(GNUMAKE_TGZ).sig
GNUMAKE_BASE_URL = http://ftp.gnu.org/pub/gnu/make
GNUMAKE_URL = $(GNUMAKE_BASE_URL)/$(GNUMAKE_TGZ)
GNUMAKE_URL_SIG = $(GNUMAKE_BASE_URL)/$(GNUMAKE_SIG)
GNUMAKE_KEY = GNU
#
# Interface to top-level prepare Makefile
#
PORTS += $(GNUMAKE)
prepare-make: $(CONTRIB_DIR)/$(GNUMAKE)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(GNUMAKE_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(GNUMAKE_URL) && touch $@
$(DOWNLOAD_DIR)/$(GNUMAKE_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(GNUMAKE_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(GNUMAKE_TGZ).verified: $(DOWNLOAD_DIR)/$(GNUMAKE_TGZ) \
$(DOWNLOAD_DIR)/$(GNUMAKE_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(GNUMAKE_TGZ) $(DOWNLOAD_DIR)/$(GNUMAKE_SIG) $(GNUMAKE_KEY)
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(GNUMAKE): $(DOWNLOAD_DIR)/$(GNUMAKE_TGZ).verified
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
clean-make:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(GNUMAKE)

View File

@ -0,0 +1,9 @@
LICENSE := GPLv3
VERSION := 3.82
DOWNLOADS := make.archive
URL(make) := http://ftp.gnu.org/pub/gnu/make/make-$(VERSION).tar.gz
SHA(make) := 92d1b87a30d1c9482e52fb4a68e8a355e7946331
SIG(make) := ${URL(make)}.sig
KEY(make) := GNU
DIR(make) := src/noux-pkg/make

View File

@ -0,0 +1 @@
dummy

View File

@ -1,23 +0,0 @@
GNUNETCAT = netcat-0.7.1
GNUNETCAT_VERSION = 0.7.1
GNUNETCAT_TBZ = netcat-$(GNUNETCAT_VERSION).tar.bz2
GNUNETCAT_URL = http://downloads.sourceforge.net/sourceforge/netcat/netcat-$(GNUNETCAT_VERSION).tar.bz2
#
# Interface to top-level prepare Makefile
#
PORTS += $(GNUNETCAT)
prepare-netcat: $(CONTRIB_DIR)/$(GNUNETCAT)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(GNUNETCAT_TBZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(GNUNETCAT_URL) && touch $@
$(CONTRIB_DIR)/$(GNUNETCAT): $(DOWNLOAD_DIR)/$(GNUNETCAT_TBZ)
$(VERBOSE)tar xfj $< -C $(CONTRIB_DIR) && touch $@
clean-netcat:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(GNUNETCAT)

View File

@ -0,0 +1,8 @@
LICENSE := GPLv2
VERSION := 0.7.1
DOWNLOADS := netcat.archive
URL(netcat) := http://downloads.sourceforge.net/sourceforge/netcat/netcat-$(VERSION).tar.bz2
SHA(netcat) := b761d70fe9e3e8b3fe33a329b9bc31300dc04d11
DIR(netcat) := src/noux-pkg/netcat

View File

@ -0,0 +1 @@
dummy

View File

@ -1,33 +0,0 @@
NETPERF_VERSION := 2.6.0
NETPERF := netperf
#
# Interface to top-level prepare Makefile
#
PORTS += $(NETPERF)-$(NETPERF_VERSION)
#
# Check for tools
#
$(call check_tool,svn)
#
# Subdirectories to check out
#
NETPERF_SVN_BASE = http://www.netperf.org/svn
$(CONTRIB_DIR)/$(NETPERF):
$(ECHO) "checking out 'netperf' to '$@'"
$(VERBOSE)svn export $(NETPERF_SVN_BASE)/netperf2/tags/$(NETPERF)-$(NETPERF_VERSION) $@
checkout-netperf: $(CONTRIB_DIR)/$(NETPERF)
apply_patches-netperf: checkout-netperf
$(VERBOSE)find $(CURDIR)/src/app/netperf/ -name "*.patch" |\
xargs -ixxx sh -c "patch -p0 -r - -N -d $(CONTRIB_DIR)/$(NETPERF) < xxx" || true
$(VERBOSE)echo '#define NETPERF_VERSION "$(NETPERF_VERSION)"' >$(CONTRIB_DIR)/$(NETPERF)/src/netperf_version.h
prepare-netperf: apply_patches-netperf
clean-netperf:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(NETPERF)

View File

@ -0,0 +1,13 @@
LICENSE := netperf
VERSION := 2.6.0
DOWNLOADS := netperf.svn
URL(netperf) := http://www.netperf.org/svn/netperf2/tags/netperf-$(VERSION)
REV(netperf) := HEAD
DIR(netperf) := src/app/netperf
PATCHES := src/app/netperf/*.patch
default: apply_version
apply_version: $(DOWNLOADS)
$(VERBOSE)echo '#define NETPERF_VERSION "$(VERSION)"' > src/app/netperf/src/netperf_version.h

View File

@ -0,0 +1 @@
dummy

View File

@ -1,37 +0,0 @@
OPENSSH = openssh-6.1p1
OPENSSH_TGZ = $(OPENSSH).tar.gz
OPENSSH_SIG = $(OPENSSH_TGZ).asc
OPENSSH_BASE_URL = ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/
OPENSSH_URL = $(OPENSSH_BASE_URL)/$(OPENSSH_TGZ)
OPENSSH_URL_SIG = $(OPENSSH_BASE_URL)/$(OPENSSH_SIG)
OPENSSH_KEY = 3981992A1523ABA079DBFC66CE8ECB0386FF9C48
#
# Interface to top-level prepare Makefile
#
PORTS += $(OPENSSH)
prepare-openssh: $(CONTRIB_DIR)/$(OPENSSH)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(OPENSSH_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(OPENSSH_URL) && touch $@
$(DOWNLOAD_DIR)/$(OPENSSH_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(OPENSSH_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(OPENSSH_TGZ).verified: $(DOWNLOAD_DIR)/$(OPENSSH_TGZ) \
$(DOWNLOAD_DIR)/$(OPENSSH_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(OPENSSH_TGZ) $(DOWNLOAD_DIR)/$(OPENSSH_SIG) $(OPENSSH_KEY)
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(OPENSSH): $(DOWNLOAD_DIR)/$(OPENSSH_TGZ).verified
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
$(VERBOSE)patch -d contrib/ -N -p0 < src/noux-pkg/openssh/monitor_fdpass.c.patch
$(VERBOSE)patch -d contrib/ -N -p0 < src/noux-pkg/openssh/sshconnect.h.patch
$(VERBOSE)patch -d contrib/ -N -p0 < src/noux-pkg/openssh/includes_h.patch
clean-openssh:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(OPENSSH)

View File

@ -0,0 +1,11 @@
LICENSE := BSD
VERSION := 6.1p1
DOWNLOADS := openssh.archive
URL(openssh) := ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$(VERSION).tar.gz
SHA(openssh) := 751c92c912310c3aa9cadc113e14458f843fc7b3
SIG(openssh) := ${URL(openssh)}.asc
KEY(openssh) := 3981992A1523ABA079DBFC66CE8ECB0386FF9C48
DIR(openssh) := src/noux-pkg/openssh
PATCHES := src/noux-pkg/openssh/*.patch

View File

@ -0,0 +1 @@
dummy

View File

@ -1,33 +0,0 @@
GNUSED = sed-4.2.2
GNUSED_TGZ = $(GNUSED).tar.gz
GNUSED_SIG = $(GNUSED_TGZ).sig
GNUSED_URL = http://ftp.gnu.org/pub/gnu/sed
GNUSED_KEY = GNU
#
# Interface to top-level prepare Makefile
#
PORTS += $(GNUSED)
prepare-sed: $(CONTRIB_DIR)/$(GNUSED)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(GNUSED_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(GNUSED_URL)/$(GNUSED_TGZ) && touch $@
$(DOWNLOAD_DIR)/$(GNUSED_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(GNUSED_URL)/$(GNUSED_SIG) && touch $@
$(CONTRIB_DIR)/$(GNUSED): $(DOWNLOAD_DIR)/$(GNUSED_TGZ).verified
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
$(DOWNLOAD_DIR)/$(GNUSED_TGZ).verified: $(DOWNLOAD_DIR)/$(GNUSED_TGZ) \
$(DOWNLOAD_DIR)/$(GNUSED_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(GNUSED_TGZ) $(DOWNLOAD_DIR)/$(GNUSED_SIG) $(GNUSED_KEY)
$(VERBOSE)touch $@
clean-sed:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(SED)

View File

@ -0,0 +1,9 @@
LICENSE := GPLv3
VERSION := 4.2.2
DOWNLOADS := sed.archive
URL(sed) := http://ftp.gnu.org/pub/gnu/sed/sed-$(VERSION).tar.gz
SHA(sed) := 2f24b4624d1a3080626b11610053996ec30ba0f1
SIG(sed) := ${URL(sed)}
KEY(sed) := GNU
DIR(sed) := src/noux-pkg/sed

View File

@ -0,0 +1 @@
dummy

View File

@ -1,68 +0,0 @@
SEOUL_BRANCH = genode_13_08
SEOUL = seoul-git
SEOUL_URL = https://github.com/alex-ab/seoul.git
#
# Check for tools
#
$(call check_tool,git)
#
# Interface to top-level prepare Makefile
#
PORTS += $(SEOUL)
#
# We need to execute some python scripts for preparing the i82576vf
# device model.
#
PYTHON2 := $(notdir $(lastword $(shell which python2 python2.{4,5,6,7,8})))
ifeq ($(PYTHON2),)
prepare: python_not_installed
python_not_installed:
$(ECHO) "Error: Seoul needs Python 2 to be installed"
@false;
endif
prepare-seoul: fetch-new-version $(CONTRIB_DIR)/$(SEOUL)/genode_prepared
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(SEOUL):
$(VERBOSE)git clone $(SEOUL_URL) $(DOWNLOAD_DIR)/$(SEOUL) && \
cd $(DOWNLOAD_DIR)/$(SEOUL) && \
git checkout $(SEOUL_BRANCH) && \
rm -f $(CURDIR)/$(CONTRIB_DIR)/$(SEOUL)/genode_prepared
fetch-new-version: $(DOWNLOAD_DIR)/$(SEOUL)
$(VERBOSE)(cd download/seoul-git && \
git fetch origin --dry-run 2>&1 | grep "$(SEOUL_BRANCH)" && \
git pull origin && \
rm -f $(CURDIR)/$(CONTRIB_DIR)/$(SEOUL)/genode_prepared) | true
I82576VF_DIR = $(CONTRIB_DIR)/$(SEOUL)/model/intel82576vf
EXECUTOR_DIR = $(CONTRIB_DIR)/$(SEOUL)/executor
$(CONTRIB_DIR)/$(SEOUL):
$(VERBOSE)git clone $(DOWNLOAD_DIR)/$(SEOUL) $(CONTRIB_DIR)/$(SEOUL) && \
cd $(CONTRIB_DIR)/$(SEOUL) && \
git checkout $(SEOUL_BRANCH)
$(CONTRIB_DIR)/$(SEOUL)/genode_prepared: $(CONTRIB_DIR)/$(SEOUL)
$(VERBOSE)cd $(CONTRIB_DIR)/$(SEOUL) && git checkout -f $(SEOUL_BRANCH)
$(VERBOSE)echo "fix python version in code generator scripts ..." && \
sed -i "s/env python2/env $(PYTHON2)/" $(I82576VF_DIR)/genreg.py $(EXECUTOR_DIR)/build_instructions.py && \
echo "call code generators ..." && \
cd $(EXECUTOR_DIR) && \
./build_instructions.py > instructions.inc && \
cd $(CURDIR)/$(I82576VF_DIR) && \
./genreg.py reg_pci.py ../../include/model/intel82576vfpci.inc && \
cd $(CURDIR)/$(I82576VF_DIR) && \
./genreg.py reg_mmio.py ../../include/model/intel82576vfmmio.inc && \
touch $(CURDIR)/$@
.PHONY: fetch-new-version
clean-seoul:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(SEOUL)

View File

@ -0,0 +1,34 @@
LICENSE := GPLv2
VERSION := git
DOWNLOADS := seoul.git
URL(seoul) := https://github.com/alex-ab/seoul.git
REV(seoul) := genode_13_08
DIR(seoul) := src/app/seoul
#
# We need to execute some python scripts for preparing the i82576vf
# device model.
#
PYTHON2 := $(notdir $(lastword $(shell which python2 python2.{4,5,6,7,8})))
ifeq ($(PYTHON2),)
default : missing_tool
missing_tool:
$(ECHO) "Error: Seoul needs Python 2 to be installed"
@false;
endif
I82576VF_DIR = src/app/seoul/model/intel82576vf
EXECUTOR_DIR = src/app/seoul/executor
default : additional_steps
additional_steps : $(DOWNLOADS)
@echo "fix python version in code generator scripts ..." && \
sed -i "s/env python2/env $(PYTHON2)/" $(I82576VF_DIR)/genreg.py $(EXECUTOR_DIR)/build_instructions.py && \
echo "call code generators ... takes a while ..." && \
cd $(EXECUTOR_DIR) && \
./build_instructions.py > instructions.inc && \
cd $(CURDIR)/$(I82576VF_DIR) && \
./genreg.py reg_pci.py ../../include/model/intel82576vfpci.inc && \
cd $(CURDIR)/$(I82576VF_DIR) && \
./genreg.py reg_mmio.py ../../include/model/intel82576vfmmio.inc

View File

@ -0,0 +1 @@
dummy

View File

@ -1,45 +0,0 @@
VIM = vim-7.3
VIM_TBZ2 = $(VIM).tar.bz2
VIM_URL = ftp://ftp.vim.org/pub/vim/unix/$(VIM_TBZ2)
# from ftp://ftp.vim.org/pub/vim/unix/MD5SUMS
VIM_MD5 = 5b9510a17074e2b37d8bb38ae09edbf2
#
# Interface to top-level prepare Makefile
#
PORTS += $(VIM)
#
# Check for tools
#
$(call check_tool,sed)
prepare-vim: $(CONTRIB_DIR)/$(VIM)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(VIM_TBZ2):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(VIM_URL) && touch $@
$(DOWNLOAD_DIR)/$(VIM_TBZ2).verified: $(DOWNLOAD_DIR)/$(VIM_TBZ2)
$(VERBOSE)$(HASHVERIFIER) $(DOWNLOAD_DIR)/$(VIM_TBZ2) $(VIM_MD5) md5
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(VIM): $(DOWNLOAD_DIR)/$(VIM_TBZ2).verified
$(VERBOSE)tar xfj $(<:.verified=) -C $(CONTRIB_DIR)
$(VERBOSE)mv $(CONTRIB_DIR)/vim73 $@ && touch $@
@#
@# Prevent configure script from breaking unconditionally
@# because of cross compiling.
@#
$(VERBOSE)sed -i "/could not compile program using uint32_t/s/^/#/" $@/src/auto/configure
@#
@# Fix compiled-in VIM install location. Otherwise, the absolute path used
@# during the build will be compiled-in, which makes no sense in the Noux
@# environment
@#
$(VERBOSE)sed -i "/default_vim_dir/s/.(VIMRCLOC)/\/share\/vim/" $@/src/Makefile
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(VIM) -N -p1 < src/noux-pkg/vim/build.patch
clean-vim:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(VIM)

View File

@ -0,0 +1,23 @@
LICENSE := Vim
VERSION := 7.3
DOWNLOADS := vim.archive
URL(vim) := ftp://ftp.vim.org/pub/vim/unix/vim-$(VERSION).tar.bz2
SHA(vim) := 46faa96c5fab639899b1c655c23d8755b62f036f
DIR(vim) := src/noux-pkg/vim
PATCHES := src/noux-pkg/vim/build.patch
default : additional_fixes
additional_fixes : $(DOWNLOADS)
@#
@# Prevent configure script from breaking unconditionally
@# because of cross compiling.
@#
$(VERBOSE)sed -i "/could not compile program using uint32_t/s/^/#/" src/noux-pkg/vim/src/auto/configure
@#
@# Fix compiled-in VIM install location. Otherwise, the absolute path used
@# during the build will be compiled-in, which makes no sense in the Noux
@# environment
@#
$(VERBOSE)sed -i "/default_vim_dir/s/.(VIMRCLOC)/\/share\/vim/" src/noux-pkg/vim/src/Makefile

View File

@ -0,0 +1 @@
dummy

View File

@ -1,5 +0,0 @@
VIRTUALBOX_VERSION_MAJOR := 4
VIRTUALBOX_VERSION_MINOR := 2
VIRTUALBOX_VERSION_BUILD := 16
VIRTUALBOX = virtualbox-$(VIRTUALBOX_VERSION_MAJOR).$(VIRTUALBOX_VERSION_MINOR).$(VIRTUALBOX_VERSION_BUILD)

View File

@ -1,85 +0,0 @@
include ports/virtualbox.inc
VIRTUALBOX = virtualbox-4.2.16
VIRTUALBOX_TBZ2 = VirtualBox-4.2.16.tar.bz2
VIRTUALBOX_URL = http://download.virtualbox.org/virtualbox/4.2.16/$(VIRTUALBOX_TBZ2)
VIRTUALBOX_MD5 = c4a36e2099a317f4715cd3861cdae238
VIRTUALBOX_CONTENT = src/VBox/VMM \
src/VBox/Devices \
src/VBox/Runtime \
src/VBox/GuestHost/HGSMI \
src/VBox/Frontends/VBoxBFE \
src/VBox/Storage \
src/VBox/Disassembler \
src/recompiler \
src/VBox/Main/include/MouseImpl.h \
src/VBox/Main/include/ConsoleEvents.h \
src/VBox/Main/src-client/MouseImpl.cpp \
src/libs/zlib-1.2.6 \
src/libs/liblzf-3.4 \
include/VBox/vmm \
include/iprt \
$(addprefix include/VBox/,types.h cdefs.h hgcmsvc.h \
err.h dis.h disopcode.h \
log.h sup.h pci.h param.h \
ostypes.h VMMDev.h VMMDev2.h \
vusb.h dbg.h version.h \
VBoxVideo.h Hardware bioslogo.h \
scsi.h HGSMI) \
include/VBox/msi.h \
include/VBox/DevPCNet.h \
include/VBox/asmdefs.mac \
include/VBox/err.mac \
include/VBox/vd.h \
include/VBox/vd-ifs.h \
include/VBox/vd-plugin.h \
include/VBox/vd-ifs-internal.h \
include/VBox/vd-cache-plugin.h
#
# Interface to top-level prepare Makefile
#
PORTS += $(VIRTUALBOX)
#
# Check for tools
#
$(call check_tool,iasl)
$(call check_tool,yasm)
PATCHES := $(shell find $(CURDIR)/src/virtualbox/ -name "*.patch")
apply_patches:
$(VERBOSE)set -e; for p in $(PATCHES); do \
echo $$p; \
patch -p0 -N -d $(CONTRIB_DIR)/$(VIRTUALBOX) -i $$p; \
done
prepare-virtualbox: $(CONTRIB_DIR)/$(VIRTUALBOX) apply_patches
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(VIRTUALBOX_TBZ2):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(VIRTUALBOX_URL) && touch $@
$(DOWNLOAD_DIR)/$(VIRTUALBOX_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(VIRTUALBOX_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(VIRTUALBOX_TBZ2).verified: $(DOWNLOAD_DIR)/$(VIRTUALBOX_TBZ2)
$(VERBOSE)$(HASHVERIFIER) $(DOWNLOAD_DIR)/$(VIRTUALBOX_TBZ2) $(VIRTUALBOX_MD5) md5
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(VIRTUALBOX): $(DOWNLOAD_DIR)/$(VIRTUALBOX_TBZ2).verified
$(VERBOSE)tar xfj $(<:.verified=) \
--transform "s/$(VIRTUALBOX_TBZ2:.tar.bz2=)/$(VIRTUALBOX)/" \
-C $(CONTRIB_DIR) \
$(addprefix $(VIRTUALBOX_TBZ2:.tar.bz2=)/,$(VIRTUALBOX_CONTENT)) && \
rm $(CONTRIB_DIR)/$(VIRTUALBOX)/src/VBox/Frontends/VBoxBFE/SDLConsole.h && \
rm $(CONTRIB_DIR)/$(VIRTUALBOX)/src/VBox/Frontends/VBoxBFE/SDLFramebuffer.h; \
if [ $$? -ne 0 ]; then rm -r $(CONTRIB_DIR)/$(VIRTUALBOX); exit 1; fi
clean-virtualbox:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(VIRTUALBOx)

View File

@ -0,0 +1,49 @@
LICENSE := GPLv2
VERSION := 4.2.16
DOWNLOADS := virtualbox.archive
VIRTUALBOX_TBZ2 := VirtualBox-$(VERSION).tar.bz2
URL(virtualbox) := http://download.virtualbox.org/virtualbox/$(VERSION)/$(VIRTUALBOX_TBZ2)
DIR(virtualbox) := src/app/virtualbox
SHA(virtualbox) := bf95d3c4004169ccde6254e4b72c1bed03cb31c6
PATCHES := src/virtualbox/*.patch
VIRTUALBOX_CONTENT = src/VBox/VMM \
src/VBox/Devices \
src/VBox/Runtime \
src/VBox/GuestHost/HGSMI \
src/VBox/Frontends/VBoxBFE \
src/VBox/Storage \
src/VBox/Disassembler \
src/recompiler \
src/VBox/Main/include/MouseImpl.h \
src/VBox/Main/include/ConsoleEvents.h \
src/VBox/Main/src-client/MouseImpl.cpp \
src/libs/zlib-1.2.6 \
src/libs/liblzf-3.4 \
include/VBox/vmm \
include/iprt \
$(addprefix include/VBox/,types.h cdefs.h hgcmsvc.h \
err.h dis.h disopcode.h \
log.h sup.h pci.h param.h \
ostypes.h VMMDev.h VMMDev2.h \
vusb.h dbg.h version.h \
VBoxVideo.h Hardware bioslogo.h \
scsi.h HGSMI) \
include/VBox/msi.h \
include/VBox/DevPCNet.h \
include/VBox/asmdefs.mac \
include/VBox/err.mac \
include/VBox/vd.h \
include/VBox/vd-ifs.h \
include/VBox/vd-plugin.h \
include/VBox/vd-ifs-internal.h \
include/VBox/vd-cache-plugin.h \
Config.kmk
TAR_OPT(virtualbox) := \
--strip-components 1 \
$(addprefix $(VIRTUALBOX_TBZ2:.tar.bz2=)/,$(VIRTUALBOX_CONTENT)) \
--exclude SDLConsole.h --exclude SDLFramebuffer.h

View File

@ -0,0 +1 @@
dummy

View File

@ -1,34 +0,0 @@
WHICH = which-2.20
WHICH_TGZ = $(WHICH).tar.gz
WHICH_SIG = $(WHICH_TGZ).sig
WHICH_BASE_URL = http://ftp.gnu.org/gnu/which
WHICH_URL = $(WHICH_BASE_URL)/$(WHICH_TGZ)
WHICH_URL_SIG = $(WHICH_BASE_URL)/$(WHICH_SIG)
WHICH_KEY = GNU
#
# Interface to top-level prepare Makefile
#
PORTS += $(WHICH)
prepare-which: $(CONTRIB_DIR)/$(WHICH)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(WHICH_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) -O $@ $(WHICH_URL) && touch $@
$(DOWNLOAD_DIR)/$(WHICH_SIG):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(WHICH_URL_SIG) && touch $@
$(DOWNLOAD_DIR)/$(WHICH_TGZ).verified: $(DOWNLOAD_DIR)/$(WHICH_TGZ) \
$(DOWNLOAD_DIR)/$(WHICH_SIG)
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(WHICH_TGZ) $(DOWNLOAD_DIR)/$(WHICH_SIG) $(WHICH_KEY)
$(VERBOSE)touch $@
$(CONTRIB_DIR)/$(WHICH): $(DOWNLOAD_DIR)/$(WHICH_TGZ).verified
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
clean-which:
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(WHICH)

View File

@ -0,0 +1,10 @@
LICENSE := GPLv3
VERSION := 2.20
DOWNLOADS := which.archive
URL(which) := http://ftp.gnu.org/gnu/which/which-$(VERSION).tar.gz
SHA(which) := 3bcd6d87aa5231917ba7123319eedcae90cfa0fd
SIG(which) := ${URL(which)}.sig
KEY(which) := GNU
DIR(which) := src/noux-pkg/which

View File

@ -1,9 +1,9 @@
#
# \brief Vancouver on Genode - for automated testing
# \brief Seoul on Genode - for automated testing
# \author Alexander Boettcher
# \date 2013-06-11
#
# This run script starts the Vancouver VMM booting from a multiboot image.
# This run script starts the Seoul VMM booting from a multiboot image.
# It assumes that the module files are present at '<build-dir>/bin/'
#
@ -54,7 +54,7 @@ append qemu_args " -cpu phenom "
append qemu_args " -net nic,model=e1000 "
append qemu_args " -nographic "
run_genode_until {\[init -\> vancouver\] VMM: # Hello Genode world!} 300
run_genode_until {\[init -\> seoul\] VMM: # Hello Genode world!} 300
foreach binary $guest_os_binaries {
exec rm -f bin/$binary

View File

@ -1,9 +1,9 @@
#
# \brief Vancouver on Genode - test to boot from a raw disk
# \brief Seoul on Genode - test to boot from a raw disk
# \author Alexander Boettcher
# \date 2013-06-11
#
# This run script starts the Vancouver VMM booting from a disc image.
# This run script starts the Seoul VMM booting from a disc image.
# It assumes that the module files are present at '<build-dir>/bin/'
#

View File

@ -1,11 +1,11 @@
#
# \brief Example for using Vancouver on Genode
# \brief Example for using Seoul on Genode
# \author Norman Feske
# \author Markus Partheymueller
# \author Alexander Boettcher
# \date 2011-11-21
#
# This run script starts the Vancouver VMM booting the multiboot modules
# This run script starts the Seoul VMM booting the multiboot modules
# listed in the 'multiboot' config node. It assumes that the module files
# are present at '<build-dir>/bin/' (see the 'boot_modules' variable).
#

View File

@ -1,9 +1,9 @@
#
# \brief Seoul/Vancouver on Genode - build Linux kernel inside VM
# \brief Seoul on Genode - build Linux kernel inside VM
# \author Alexander Boettcher
# \date 2013-06-11
#
# This run script starts the Vancouver VMM booting from a multiboot image.
# This run script starts the Seoul VMM booting from a multiboot image.
# It assumes that the module files are present at '<build-dir>/bin/'
#
@ -61,6 +61,6 @@ append qemu_args " -m 1536 "
append qemu_args " -cpu phenom "
append qemu_args " -nographic "
run_genode_until {\[init -\> vancouver\] VMM: # ! PERF: kbuild [ 0-9]+ s ok} 2000
run_genode_until {\[init -\> seoul\] VMM: # ! PERF: kbuild [ 0-9]+ s ok} 2000
puts "Test succeeded"

View File

@ -1,9 +1,9 @@
#
# \brief Vancouver on Genode - for testing network
# \brief Seoul on Genode - for testing network
# \author Alexander Boettcher
# \date 2013-06-11
#
# This run script starts the Vancouver VMM booting from a multiboot image.
# This run script starts the Seoul VMM booting from a multiboot image.
# It assumes that the module files are present at '<build-dir>/bin/'
#

View File

@ -18,7 +18,7 @@ set build_components {
core init
drivers/timer
drivers/rtc
vancouver
app/seoul
drivers/pci
drivers/input
}
@ -223,8 +223,8 @@ append_if $use_framebuffer config {
if {!$use_fancy_stuff} {
append config {
<start name="vancouver">
<binary name="vancouver"/>}
<start name="seoul">
<binary name="seoul"/>}
append config "
<resource name=\"RAM\" quantum=\"$memory_vmm_vm\"/>"
append config {