From c5379b4a73b94e855e5553c6be412f8253fc2890 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 06 Sep 2015 16:19:36 -0400 Subject: Initial commit --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..213a9bf --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +# Swap and backup files +.*.sw* +.sw* +*~ +Session.vim + +# Source archives +*-*.orig.tar.* + +# Work area +tmp/ diff --git a/build b/build new file mode 100755 index 0000000..36a5ee9 --- /dev/null +++ b/build @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +include ../source.mk + +nop: + @: + +build: + oh-autobuild + touch $@ + +install: build + install -D -o 0 -g 0 -m 0755 src/ich9gen ich9gen.data/usr/bin/ich9gen + oh-strip -d ich9gen.data diff --git a/changelog b/changelog new file mode 100644 index 0000000..9577eec --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +ich9deblob (20150518fix~git20150628.0e3520f-1) trunk + + * Initial release. + + -- "P. J. McDermott" Sun, 06 Sep 2015 15:55:42 -0400 diff --git a/control b/control new file mode 100644 index 0000000..0d72324 --- /dev/null +++ b/control @@ -0,0 +1,3 @@ +Maintainer: "P. J. McDermott" +Build-Depends: opkhelper-3.0 +Homepage: http://libreboot.org/docs/hcl/gm45_remove_me.html diff --git a/copyright b/copyright new file mode 100644 index 0000000..388eec9 --- /dev/null +++ b/copyright @@ -0,0 +1,35 @@ +Upstream Source +=============== + +This file is part of the ich9deblob utility from the libreboot project + +Copyright (C) 2014, 2015 Francis Rowe +Copyright (C) 2014 Steve Shenton + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +On this system, a copy of the GNU General Public License may be found at +. + + +Distribution Packaging +====================== + +Copyright (C) 2015 Patrick "P. J." McDermott + +These files may be reproduced, distributed, modified, and otherwise dealt in +under the terms of the Expat License. + +On this system, a copy of the Expat License may be found at +. diff --git a/format b/format new file mode 100644 index 0000000..cd5ac03 --- /dev/null +++ b/format @@ -0,0 +1 @@ +2.0 diff --git a/ich9gen.pkg/control b/ich9gen.pkg/control new file mode 100644 index 0000000..8cef113 --- /dev/null +++ b/ich9gen.pkg/control @@ -0,0 +1,7 @@ +Architecture: any +Platform: all +Description: Utility to generate IFD and GbE regions for ICH9 + ich9gen is a utility from the libreboot firmware distribution that generates + Intel Flash Descriptor (IFD) and Gigabit Ethernet (GbE) boot flash regions for + Intel ICH9 systems. The generated IFD allows read/write access to all flash + regions by the host CPU and GbE NIC and disables the Intel Management Engine. diff --git a/ich9gen.pkg/docs b/ich9gen.pkg/docs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ich9gen.pkg/docs diff --git a/source.mk b/source.mk new file mode 100644 index 0000000..8343782 --- /dev/null +++ b/source.mk @@ -0,0 +1,15 @@ +upstream_commit = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ + sed 's/^.*~git........\.\([0-9a-f]*\).*$$/\1/') +upstream_git_uri = git://git.sv.gnu.org/libreboot.git +source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 + +$(source_archive): + git clone '$(upstream_git_uri)' libreboot/ + (cd libreboot/ && git checkout "$(upstream_commit)") + mv libreboot/resources/utilities/ich9deblob/ ich9deblob/ + tar -cjf '$@' ich9deblob/ + rm -Rf src/ + mv ich9deblob/ src/ + rm -Rf libreboot/ + +source: $(source_archive) -- cgit v0.9.1