summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjakllsch <jakllsch>2011-02-08 16:51:17 +0000
committerjakllsch <jakllsch>2011-02-08 16:51:17 +0000
commit0f4be9425c3df1f92afb4aeec1842939d51f6395 (patch)
treeeaa175f09a5933e160ee1312ebe0efb958225235 /sysutils
parent85dff62dd1a99528e81f10c5ac9664ef9523ec93 (diff)
downloadpkgsrc-0f4be9425c3df1f92afb4aeec1842939d51f6395.tar.gz
Add nvramtool.
nvramtool is a utility for reading/writing coreboot parameters and displaying information from the coreboot table in CMOS. The program works only on x86-based systems that use coreboot.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/nvramtool/DESCR4
-rw-r--r--sysutils/nvramtool/Makefile36
-rw-r--r--sysutils/nvramtool/PLIST3
-rw-r--r--sysutils/nvramtool/distinfo5
4 files changed, 48 insertions, 0 deletions
diff --git a/sysutils/nvramtool/DESCR b/sysutils/nvramtool/DESCR
new file mode 100644
index 00000000000..1beab94c13c
--- /dev/null
+++ b/sysutils/nvramtool/DESCR
@@ -0,0 +1,4 @@
+nvramtool is a utility for reading/writing coreboot parameters and
+displaying information from the coreboot table in CMOS.
+
+The program works only on x86-based systems that use coreboot.
diff --git a/sysutils/nvramtool/Makefile b/sysutils/nvramtool/Makefile
new file mode 100644
index 00000000000..ba84b187862
--- /dev/null
+++ b/sysutils/nvramtool/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/02/08 16:51:17 jakllsch Exp $
+#
+
+DISTNAME= nvramtool-r6338
+PKGNAME= nvramtool-0pre6338
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_LOCAL:=${PKGNAME_NOREV}/}
+
+MAINTAINER= jakllsch@kollasch.net
+HOMEPAGE= http://www.coreboot.org/Nvramtool
+COMMENT= Coreboot CMOS NVRAM manipulation utility
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= gmake
+USE_TOOLS+= date
+
+USE_LANGUAGES+= c
+
+.include "../../mk/bsd.prefs.mk"
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-x86_64
+ONLY_FOR_PLATFORM+= Linux-*-i386 Linux-*-x86_64 # not yet tested.
+
+WRKSRC= ${WRKDIR}/${PKGBASE}
+
+BUILD_TARGET= nvramtool
+
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/nvramtool ${DESTDIR}${PREFIX}/sbin/nvramtool
+ ${INSTALL_MAN} ${WRKSRC}/cli/nvramtool.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/nvramtool.8
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/nvramtool/PLIST b/sysutils/nvramtool/PLIST
new file mode 100644
index 00000000000..8af30d9bc83
--- /dev/null
+++ b/sysutils/nvramtool/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/02/08 16:51:17 jakllsch Exp $
+man/man8/nvramtool.8
+sbin/nvramtool
diff --git a/sysutils/nvramtool/distinfo b/sysutils/nvramtool/distinfo
new file mode 100644
index 00000000000..71ed657565e
--- /dev/null
+++ b/sysutils/nvramtool/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/02/08 16:51:17 jakllsch Exp $
+
+SHA1 (nvramtool-r6338.tar.gz) = 16bd20ab10297935e805401d446c056c95761096
+RMD160 (nvramtool-r6338.tar.gz) = 6af3ef54ff8b2b1e39066aff4d50bf4c0cbb89a4
+Size (nvramtool-r6338.tar.gz) = 54789 bytes