diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/lms/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/lms/files/lms-8.0.0.7-missing-unistd.patch | 10 | ||||
-rw-r--r-- | sys-apps/lms/lms-8.0.0.7-r1.ebuild (renamed from sys-apps/lms/lms-8.0.0.7.ebuild) | 20 | ||||
-rw-r--r-- | sys-apps/lms/metadata.xml | 8 |
4 files changed, 35 insertions, 7 deletions
diff --git a/sys-apps/lms/Manifest b/sys-apps/lms/Manifest index dade791..da117bb 100644 --- a/sys-apps/lms/Manifest +++ b/sys-apps/lms/Manifest @@ -1,3 +1,5 @@ +AUX lms-8.0.0.7-missing-unistd.patch 308 SHA256 2fec6fd65d28337be6036596da078c0557c14ab8ab0120ee3c26525f267da382 SHA512 a3234469597442c28ce415e2d6710d285e41b0634b003515fc5a00233c66a7dfd5d349167ac58aa4a9e4d01992a7cae777ca5050f295839b12c6c25eef22a8d5 WHIRLPOOL 460cb9eea9de4a8cf8ef314037c9ab2103edefa90477f442933348e7d9ff1dd84dd26da49a1337d0159f45906efd31595cd7e3544f33ec056934acc84edd6c94 AUX lms.initd 516 SHA256 44affc8baf3708535f8dce7c966d6b72b7cb748625dda74cd6b0be54b87742e2 SHA512 ecc65bc7f54ae7aa4762028ac452e260f051577954b3e4af7f0d831c04a4baec53aa8e422d4daef6cdcd228b2c9ea1b045c747360008a30b6cc3ae5a99aaa9af WHIRLPOOL 63120f10d1802d1bbd8ed7ffd12ddceb6fbdf5bf2ef10269524f96fcb5be4d45f4b7109922973f0db3042f515cf56027763887e36e6c7991f8130abfe09eaee4 DIST lms-8.0.0-7.tar.gz 382509 SHA256 7077db6f2f381e67cb37565b20c40ff0c7d3f98f014e65622a4b4b66c2b1d637 SHA512 1b1a92466061518d939bf541aaf39553ee1d6eb27a9fdfcb4b6b39dd88179d7edc51b4b3cde20caba7c6d62d2485b969804a32e44cca9db60e5cc7fc89bbda5c WHIRLPOOL 3c9219105687a0ec2a8b29afbabbaf9d4321815280656a234115097b08562a6d18f67eaac1b140d933f77f80839e13ee399d704d459c5440207550b88cc396ad -EBUILD lms-8.0.0.7.ebuild 1158 SHA256 2e7082464eec3d38d84f458bbddd1e982b2c3e950ed30529e557178aeaf0b53a SHA512 21f6ab87f22dadc3b7940b23338150a531d73b5a94a259fc91f16945024198b2c05687f09e3d80a7986578bea380b0734a04cf6d360c4e8f3974279033524039 WHIRLPOOL 2d58e1ce7f33741f3b576f15c1fc7a9504b5ceb56625ab2837fcb0a973fd31ce9857ecfadd2cdf7f9e26bcc263b8cce6fd2b9aee598c78f8fdd510b2d79a7c77 +EBUILD lms-8.0.0.7-r1.ebuild 1336 SHA256 7e26d29616f8139623bfde14692fc423cafd900bdd29d0799ee88aeaf518b36e SHA512 4ed90db7fba6798baca3ef246d4a2db0cce803d0425bb8ec4eaf3535fbb0d83937a95bcc668c03f4ad92570790ef8ad1468587777506c53ca8599a5b5f100e55 WHIRLPOOL 85fd9b4e39922db40eb13017dd7fabf960a571a8625a6d0da38997ad94b2b198c8e22ea9e6a6d7526724db035f38b64e8a6c7a5d07d011382d39011f01b885f8 +MISC metadata.xml 241 SHA256 6c8bf650f92e35ce441f4f7e664c261c396bf0b7387eead268ac7ac8c78d018a SHA512 4fd289d5889d95606c00514daf808a41d37c998c80c21fed5337cd259ef3605c14dd75186bedfd1b5abed98fcb590232553332468cb218cddcc7c089af81bc76 WHIRLPOOL e98ff9e57da40346406b3827c648ca386de579ea4a4c8904dc6288a1b1018c39d4e7c81787ff6ceec710c9f05465378920feba7745d5f27261d7c49436eee54e diff --git a/sys-apps/lms/files/lms-8.0.0.7-missing-unistd.patch b/sys-apps/lms/files/lms-8.0.0.7-missing-unistd.patch new file mode 100644 index 0000000..8932721 --- /dev/null +++ b/sys-apps/lms/files/lms-8.0.0.7-missing-unistd.patch @@ -0,0 +1,10 @@ +--- lms-8.0.0-7/src/tools/ATVersion.cpp 2011-06-29 04:45:54.000000000 -0500 ++++ /tmp/ATVersion.cpp 2017-03-08 13:46:49.100021793 -0600 +@@ -40,6 +40,7 @@ + #include <cerrno> + #include <fstream> + #include <dirent.h> ++#include <unistd.h> + + #define AT_VERSION_ARGUMENT "--version" + #define AT_VERSION_MAXSIZE 40 diff --git a/sys-apps/lms/lms-8.0.0.7.ebuild b/sys-apps/lms/lms-8.0.0.7-r1.ebuild index bde89e2..15c1ccf 100644 --- a/sys-apps/lms/lms-8.0.0.7.ebuild +++ b/sys-apps/lms/lms-8.0.0.7-r1.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=4 +EAPI=5 -inherit versionator linux-info +inherit versionator linux-info eutils flag-o-matic MY_PV=$(replace_version_separator 3 '-' ) MY_P="${PN}-${MY_PV}" -DESCRIPTION="Local Manageability Service (LMS) allows access to Intel® Active Management" +DESCRIPTION="Local Manageability Service (LMS) allows access to Intel Active Management" HOMEPAGE="http://software.intel.com/en-us/articles/download-the-latest-intel-amt-open-source-drivers" SRC_URI="http://software.intel.com/sites/default/files/${MY_P}.tar.gz" @@ -37,12 +37,20 @@ pkg_pretend() { fi } +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-missing-unistd.patch" +} + src_prepare() { - edos2unix README + append-cppflags -ansi + edos2unix README } + src_install() { - emake DESTDIR="${D}" install + emake DESTDIR="${D}" OPTFLAGS="-ansi -pedantic ${CFLAGS}" install dodoc README newinitd "${FILESDIR}/lms.initd" lms } diff --git a/sys-apps/lms/metadata.xml b/sys-apps/lms/metadata.xml new file mode 100644 index 0000000..f078bb8 --- /dev/null +++ b/sys-apps/lms/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andy@ndyk.de</email> + <name>Andrew Karpow</name> + </maintainer> +</pkgmetadata> |