summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore11
-rwxr-xr-xbuild14
-rw-r--r--changelog5
-rw-r--r--control3
-rw-r--r--copyright35
-rw-r--r--format1
-rw-r--r--ich9gen.pkg/control7
-rw-r--r--ich9gen.pkg/docs0
-rw-r--r--source.mk15
9 files changed, 91 insertions, 0 deletions
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" <pj@pehjota.net> 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" <pj@pehjota.net>
+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 <info@gluglug.org.uk>
+Copyright (C) 2014 Steve Shenton <sgsit@libreboot.org>
+
+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 <http://www.gnu.org/licenses/>.
+
+On this system, a copy of the GNU General Public License may be found at
+<file:///usr/share/common-licenses/GPL-3>.
+
+
+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
+<file:///usr/share/common-licenses/Expat>.
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)