summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-03-30 06:28:53 +0000
committerMike Frysinger <vapier@gentoo.org>2014-03-30 06:28:53 +0000
commit6934da9c14005050e9f0964025945d926203e84a (patch)
tree7647ea949ecd54c9eae844fb56431a88c6337863 /sys-apps
parentrm old (diff)
downloadhistorical-6934da9c14005050e9f0964025945d926203e84a.tar.gz
historical-6934da9c14005050e9f0964025945d926203e84a.tar.bz2
historical-6934da9c14005050e9f0964025945d926203e84a.zip
New package by me.
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/salinfo/ChangeLog9
-rw-r--r--sys-apps/salinfo/Manifest25
-rw-r--r--sys-apps/salinfo/files/salinfo-1.2-build.patch47
-rw-r--r--sys-apps/salinfo/metadata.xml5
-rw-r--r--sys-apps/salinfo/salinfo-1.2.ebuild29
5 files changed, 115 insertions, 0 deletions
diff --git a/sys-apps/salinfo/ChangeLog b/sys-apps/salinfo/ChangeLog
new file mode 100644
index 000000000000..a1a018d4a053
--- /dev/null
+++ b/sys-apps/salinfo/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-apps/salinfo
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/salinfo/ChangeLog,v 1.1 2014/03/30 06:28:51 vapier Exp $
+
+*salinfo-1.2 (30 Mar 2014)
+
+ 30 Mar 2014; Mike Frysinger <vapier@gentoo.org>
+ +files/salinfo-1.2-build.patch, +metadata.xml, +salinfo-1.2.ebuild:
+ New package by me.
diff --git a/sys-apps/salinfo/Manifest b/sys-apps/salinfo/Manifest
new file mode 100644
index 000000000000..db4871a4579b
--- /dev/null
+++ b/sys-apps/salinfo/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX salinfo-1.2-build.patch 1198 SHA256 7bed6fe36f57feaae9cbcbaabc68e39024685d0fda2093377aeb49331ab9b9b5 SHA512 fd037371b22fe3d6038ad2555fd6af485d45688006b02a35bace25c7a98b9f5b9f13cff0a0be4c47f356952b24b9622328b465e8439cd7056f7b288866068bec WHIRLPOOL c408e51eea20dc542613b75ba5f348afa63b44c076088a791acabc8b6594acc2a6d24087067ed611a5bbd326f3254d3749b77faeeababf9a3f0a72ca17e42abd
+DIST salinfo-1.2.tar.gz 40511 SHA256 4c5b19a38d29b9e2883fc9f5ef3a5e9198c4a323b7cd1b35da21e86f392e1498 SHA512 6a92eb6ff38965a93ea61f034ba3607b871b7250cb640ced21b0eabaf94214ad2df78a3fb059fa0c61eb7aa90a6fc4e592ea852b89629b259c36d2b17fb7c4ca WHIRLPOOL d831aa5f773d51ff8170d6c102b211887e49bf24636f9f85dbc0154a393211fa3716f78b1b9e39013ce454336333ff184fbee28fbc047057dd31832fcb5eb236
+EBUILD salinfo-1.2.ebuild 665 SHA256 4de5d955710c255456723aad0c35b7fdba7bffb7060d51301351114ff31c1bc7 SHA512 6a48f45de66313d6b4eb61db7c626101b084933aea74a4588dcdbbc34897f6eb907691431ec93d8c934117669c6c92865681be2706962cf039f8561a023bf32d WHIRLPOOL 29cfc1a4f6b9c0e53dab6aa809fae029dd56b40d496f6ccce31e1fd1b27882afcb1086a2fe951f0a4bf3a0ae523682122422340593536f03f3efca1bc37a8f14
+MISC ChangeLog 374 SHA256 f0d7f2878ccdb382a0153c4706e8475b0fef209dc0423c2d5caef3b966a9d378 SHA512 b015645ac2d162e96fe7910f97911f0b3be4f7f2b7c6ee61f88e3387f4bb2595594a1ae7e74ca39fb1d7e6e95cfdd512da8169ea9a2185598e7c6b9472959ba3 WHIRLPOOL 9a683219ab72499c11f698a4e38cb199ef6291ace5dc0f731b66781a57520ae0fe3cd79f434f5d419402a0e4e2aa9e73dba565a0f57badadd8104339862e7e3f
+MISC metadata.xml 157 SHA256 7e261fbe78f2088ab2a27fe3bd23a4224dde9a11031edcb4b7bb95dd3ba1fe4a SHA512 0d0a45c88d8f80bd12c6f182387db789e11fb77de5f17f6896e638d1f57be0e207f8a0bdb63c4cbf570d30fb9d4d9928374bddd26bd035dd13485779158e078f WHIRLPOOL 431702b09d79742c3946fca1ee4adc8c7dc7bc1f35b8baa9db077208d540808a9dd774077e268a18b72cbe97305165b599a2cb4553f514691697da7f2251418b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQIcBAEBCAAGBQJTN7mrAAoJEPGu1DbS6WIAfrwP/1subcEHNHTYAzU1ZM2BVwZB
+D+SZ14rFHG/uH3DCvQ397jDgNSm/9+x/F23R2vcVwrBanv23TJScPY1SuYaooPr7
+Ia7Yqslj6hnaR8Ttiy3gU5caZBxToI4Da/yu1uW8nstBJaA4XsTCZU1b/b5lStwT
+nN1+f203E7UXNHSYA+odbIEadQvhA9NHFt7/vuXJ/Tlfp2q+2Rd4GGehNHOyUHkh
++sZ6eKzEEIZUx4q2PdhqKQB89jRRW1nKCrrU0TL1NBiz+dpql8om71xB7MuxSlSK
+PCLeZFekyetDru7Arr6GaBLOeI0ZKaorXbqEHxm7XjQE802G9sBCE9myVEChneDI
+xWHvHXSQGeG9BKQwROi6EweI59vWUjKSfHaraT6yHkxKukZ5eSqaNIBUWaeHYKxr
+A4tZplEIaDTYwLUfp4820XbqRabPzPG4EZpLGny699za/R7lNsQrfM3Af3GW7EFG
+A9V2/UeHCqc140HPOsQJFe8dFV5SE/YR8qF8NquR1vE/cBnWDvMKdfHFUz35e0rN
+3sTVXnb6zAaD13L+8HriodQGDrejtVDh2Hgh0tKvaQIce7fTRjWrfTlTlYwAG8m+
+Ax/llUQUbU2ZaOic9atHwaA9A63wp3RzpnuO9JtUaK3Inbw6A89jpIn3W3pOQp71
+7WbFpIif5mGFH/t0MDj3
+=h2OP
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/salinfo/files/salinfo-1.2-build.patch b/sys-apps/salinfo/files/salinfo-1.2-build.patch
new file mode 100644
index 000000000000..848b363939af
--- /dev/null
+++ b/sys-apps/salinfo/files/salinfo-1.2-build.patch
@@ -0,0 +1,47 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,3 +1,4 @@
++prefix = $(DESTDIR)
+ mandir := /usr/share/man
+ sbindir := /usr/sbin
+ logdir := /var/log/salinfo
+@@ -5,7 +6,7 @@ initdir := /etc/rc.d/init.d
+ sysconfigdir := /etc/sysconfig
+ logrotate := /etc/logrotate.d
+
+-CFLAGS += -Wall -g -O2 $(EXTRA_CFLAGS)
++CFLAGS += -Wall $(EXTRA_CFLAGS)
+ export CFLAGS
+
+ ifneq ($(VPATH),)
+--- a/sal.h
++++ b/sal.h
+@@ -27,6 +27,8 @@
+ * Keith Owens <kaos@sgi.com>
+ */
+
++#include <asm/fpu.h>
++
+ #include "efi.h"
+ #include "pal.h"
+
+--- a/salinfo_decode.c
++++ b/salinfo_decode.c
+@@ -303,7 +303,7 @@ log_dropped_records(void)
+ snprintf(line, sizeof(line), ", %d %s",
+ dropped_all[i]->dropped, dropped_all[i]->name);
+ dropped_all[i]->dropped = 0;
+- strncat(log, line, sizeof(log));
++ strncat(log, line, sizeof(log) - strlen(log));
+ }
+ }
+ syslog(LOG_NOTICE, "%s", log);
+@@ -424,7 +424,7 @@ talk_to_sal (void)
+ int fd;
+ char filename[PATH_MAX];
+ snprintf(filename, sizeof(filename), "%s/%s/.check", directory, rd[i]);
+- if ((fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC)) < 0) {
++ if ((fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0644)) < 0) {
+ perror(filename);
+ goto out;
+ }
diff --git a/sys-apps/salinfo/metadata.xml b/sys-apps/salinfo/metadata.xml
new file mode 100644
index 000000000000..fe15722775f2
--- /dev/null
+++ b/sys-apps/salinfo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ia64</herd>
+</pkgmetadata>
diff --git a/sys-apps/salinfo/salinfo-1.2.ebuild b/sys-apps/salinfo/salinfo-1.2.ebuild
new file mode 100644
index 000000000000..bc42bc3690b9
--- /dev/null
+++ b/sys-apps/salinfo/salinfo-1.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/salinfo/salinfo-1.2.ebuild,v 1.1 2014/03/30 06:28:51 vapier Exp $
+
+EAPI="4"
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="decode Itanium SAL records (e.g. various hardware errors)"
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/people/helgaas/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ia64"
+IUSE=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ default
+ rm -rf "${ED}"/etc/{rc.d,sysconfig} "${ED}"/var || die
+}