summaryrefslogtreecommitdiff
path: root/app-admin/longrun
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/longrun')
-rw-r--r--app-admin/longrun/Manifest8
-rw-r--r--app-admin/longrun/files/0.9-makefile_cflags.patch13
-rw-r--r--app-admin/longrun/files/0.9-replace-loff_t.patch35
-rw-r--r--app-admin/longrun/longrun-0.9-r4.ebuild70
-rw-r--r--app-admin/longrun/longrun-0.9-r5.ebuild66
-rw-r--r--app-admin/longrun/metadata.xml10
6 files changed, 0 insertions, 202 deletions
diff --git a/app-admin/longrun/Manifest b/app-admin/longrun/Manifest
deleted file mode 100644
index 7485e08f94fc..000000000000
--- a/app-admin/longrun/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX 0.9-makefile_cflags.patch 305 BLAKE2B 7b2c0df4162b44c723286b86f1cdff3de6761def2139d737c3dc7ac754b6e8b9f5674528a12334316fbc922f4b9d961d2e53e0e7c085f69a16952395feaef36e SHA512 3aaf8b9a21364264734de21505a5c2e5327bc443a25e26db55af87b49bec6b9a767bce9abdcf24ee0af2e43579460a36caaffa1d6d57b7420192685194f4979d
-AUX 0.9-replace-loff_t.patch 992 BLAKE2B 81c94054ba9ab75cd6c9f71e10c78b6f921695e9b0273aa35a394bade52d1183e588a3a5c8b894c1c16cf5c3c620f1777ab56e591fdb68ed6e70927c4aa89f2c SHA512 6eb0e828afcd6265babd4cefd50191610095c8d6309b75089ecf3f34363231bf8a2b68c3db0d3938904951035232b9bafcb2029de832e9c7515922dad3ceac1b
-DIST longrun-0.9.tar.bz2 11539 BLAKE2B a308dc7f350399da0bf593e2eee8109a90103b298d943976f0da143c52105362aa100763dcdd3cacd4c3244cdd5a7eb9a1b355aa803a69a2225ea18c6e5a60dd SHA512 6b38160f54d0cb9124c46c0e3ba22faf4ba4376ef58f7db40aabbab20836b1551dd839d28e5bf49540a5ce0e13312bd1d7332cc59ce45fa49f81d0b9746ef055
-DIST longrun_0.9-19.diff.gz 14697 BLAKE2B 98a7497679df5be0346a37b6119a9418c7fba80672eb2c345784628c3517c6f1fbc8d953abe2696a3b576310cd489e5c1d3595153bbfa9d82dfb44697c246116 SHA512 591519183017dd84d6f78554eea9f215be9346efc3f30889f5a25d01c6b68bd5a949507b9a0c871f9aca0b49e415c4fa261821d4158b24c93481394403b83e35
-DIST longrun_0.9-22.diff.gz 15714 BLAKE2B a132fcd5925b4868c767a43bc5e3428bc2731ffdc3678207442bd538db0bef79a1f50877679907dbd4a131aa807001d8bee602abc94ae086ec1ec458ec68a12d SHA512 6addb2a4070a4b105cbdd1ef96d3d99fbcbab5f6026fb2fcf8d6a702a60548e1ac9249c44e6359fcf46eab83da7529a6715a6ae77f8750f4be19d42ab83f51f8
-EBUILD longrun-0.9-r4.ebuild 1774 BLAKE2B e66169a3bbe8dbb1f870f70295100f527de6298e2903dae7249edc095c6f5d8d9fb332f1fde50db3d4efc8faea8dbdabe696a88e3d4c7e131dc28c30e6b46461 SHA512 c7a806889e17a5bfb28a2d34c87a6c3877d94b477ebe67bd2f5493b12a4aa4343f9632e6e578ee11fbd7c21daae7be8c997f73fb5520aee47f3603ff47a7a313
-EBUILD longrun-0.9-r5.ebuild 1753 BLAKE2B 95d21c21c8d3e9bdc4c4cd1c7b52836b6f30b46975a831342bae2b746675865c30b4b8d730d1f19d0b293f7b806ef8c174246bb9a7fea85a5d4aa6dfffa585e6 SHA512 fa0e297e0fecced44ff5ebb51111d54207645dd90cd4ccd9435857094dd44f1b92cf38f57933777a7dbf8206d5785ee40939bbf403e43e222e447988327602a6
-MISC metadata.xml 363 BLAKE2B 22d6e8b0a3932d9be0aacccbb3b4f7394afa7eac490d19bfbedc2bec07c8ca0592991d88d084794f1fa7e3860c20fe82f636c79a707f7a9cb2ecf6f5d949fad0 SHA512 083abdb385309dc323d2f1a9c129a99676f3183f9da59de55466cf077bca524e630caca21ffb98c7b7d95f754b38e447f0b7c008515c49597924fab396218f16
diff --git a/app-admin/longrun/files/0.9-makefile_cflags.patch b/app-admin/longrun/files/0.9-makefile_cflags.patch
deleted file mode 100644
index 8848dc667866..000000000000
--- a/app-admin/longrun/files/0.9-makefile_cflags.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -2,8 +2,8 @@
-
- all: longrun README stamp-po
-
--longrun: longrun.c
-- gcc -DLOCALEDIR=\"$(LOCALEDIR)\" -g -O2 -W -Wall -o longrun longrun.c
-+CFLAGS += -W -Wall
-+CPPFLAGS += -DLOCALEDIR=\"$(LOCALEDIR)\"
-
- README: longrun.1
- groff -Tascii -man longrun.1 | col -bx > README
diff --git a/app-admin/longrun/files/0.9-replace-loff_t.patch b/app-admin/longrun/files/0.9-replace-loff_t.patch
deleted file mode 100644
index 589c0947b155..000000000000
--- a/app-admin/longrun/files/0.9-replace-loff_t.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Use off_t instead of loff_t. Both pread() and pwrite() take
-off_t not loff_t types. This breaks the build on musl. See
-
-https://bugs.gentoo.org/show_bug.cgi?id=541694
-
-diff -Naur longrun.orig/longrun.c longrun/longrun.c
---- longrun.orig/longrun.c 2015-03-07 19:05:19.166652462 +0000
-+++ longrun/longrun.c 2015-03-07 19:06:05.419651899 +0000
-@@ -181,7 +181,7 @@
- }
-
- /* note: if an output is NULL, then don't set it */
--void read_msr(loff_t address, int *lower, int *upper)
-+void read_msr(off_t address, int *lower, int *upper)
- {
- uint32_t data[2];
-
-@@ -193,7 +193,7 @@
- if (upper) *upper = data[1];
- }
-
--void write_msr(loff_t address, int lower, int upper)
-+void write_msr(off_t address, int lower, int upper)
- {
- uint32_t data[2];
-
-@@ -206,7 +206,7 @@
- }
-
- /* note: if an output is NULL, then don't set it */
--void read_cpuid(loff_t address, int *eax, int *ebx, int *ecx, int *edx)
-+void read_cpuid(off_t address, int *eax, int *ebx, int *ecx, int *edx)
- {
- uint32_t data[4];
-
diff --git a/app-admin/longrun/longrun-0.9-r4.ebuild b/app-admin/longrun/longrun-0.9-r4.ebuild
deleted file mode 100644
index 7992acb965bd..000000000000
--- a/app-admin/longrun/longrun-0.9-r4.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit linux-info toolchain-funcs
-
-DESCRIPTION="A utility to control Transmeta's Crusoe and Efficeon processors"
-HOMEPAGE="http://freshmeat.net/projects/longrun/"
-
-DEBIAN_PATCH_VERSION="19"
-DEBIAN_PATCH="${PN}_${PV}-${DEBIAN_PATCH_VERSION}.diff"
-SRC_URI="
- https://www.kernel.org/pub/linux/utils/cpu/crusoe/${P}.tar.bz2
- mirror://debian/pool/main/l/${PN}/${DEBIAN_PATCH}.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-ppc x86"
-IUSE=""
-
-DEPEND="sys-apps/groff"
-
-S=${WORKDIR}/${PN}
-
-CONFIG_CHECK="~X86_MSR ~X86_CPUID"
-ERROR_X86_MSR="
-Longrun needs a MSR device to function. Please select
-MSR under Processor type and features. It can be build
-directly into the kernel or as a module."
-ERROR_X86_CPUID="
-Longrun needs a CPUID device to function. Please select
-CPUID under Processor type and features. It can be
-build directly into the kernel or as a module."
-
-PATCHES=(
- "${WORKDIR}"/${DEBIAN_PATCH}
- "${FILESDIR}"/${PV}-makefile_cflags.patch
- "${FILESDIR}"/${PV}-replace-loff_t.patch
-)
-
-src_configure() {
- tc-export CC
-}
-
-src_install() {
- default
- dodoc MAKEDEV-cpuid-msr
-}
-
-pkg_postinst() {
- if linux_config_exists; then
- if linux_chkconfig_module X86_MSR; then
- elog "You have compiled MSR as a module."
- elog "You need to load it before using Longrun."
- elog "The module is called msr."
- elog
- fi
-
- if linux_chkconfig_module X86_CPUID; then
- elog "You have compiled CPUID as a module."
- elog "You need to load it before using Longrun."
- elog "The module is called cpuid."
- fi
- else
- elog "You have no kernel configuration available."
- elog "Longrun needs both CPUID and MSR capabilites,"
- elog "in the kernel you intend to run it under."
- fi
-}
diff --git a/app-admin/longrun/longrun-0.9-r5.ebuild b/app-admin/longrun/longrun-0.9-r5.ebuild
deleted file mode 100644
index 1cbda722a3ef..000000000000
--- a/app-admin/longrun/longrun-0.9-r5.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit linux-info toolchain-funcs
-
-DESCRIPTION="A utility to control Transmeta's Crusoe and Efficeon processors"
-HOMEPAGE="http://freshmeat.net/projects/longrun/"
-
-DEBIAN_PATCH_VERSION="22"
-DEBIAN_PATCH="${PN}_${PV}-${DEBIAN_PATCH_VERSION}.diff"
-SRC_URI="
- https://www.kernel.org/pub/linux/utils/cpu/crusoe/${P}.tar.bz2
- mirror://debian/pool/main/l/${PN}/${DEBIAN_PATCH}.gz"
-S="${WORKDIR}/${PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-ppc ~x86"
-
-BDEPEND="sys-apps/groff"
-
-DOCS=( MAKEDEV-cpuid-msr )
-
-CONFIG_CHECK="~X86_MSR ~X86_CPUID"
-ERROR_X86_MSR="
-Longrun needs a MSR device to function. Please select
-MSR under Processor type and features. It can be build
-directly into the kernel or as a module."
-ERROR_X86_CPUID="
-Longrun needs a CPUID device to function. Please select
-CPUID under Processor type and features. It can be
-build directly into the kernel or as a module."
-
-PATCHES=(
- "${WORKDIR}"/${DEBIAN_PATCH}
- "${FILESDIR}"/${PV}-makefile_cflags.patch
- "${FILESDIR}"/${PV}-replace-loff_t.patch
-)
-
-src_configure() {
- tc-export CC
- default
-}
-
-pkg_postinst() {
- if linux_config_exists; then
- if linux_chkconfig_module X86_MSR; then
- elog "You have compiled MSR as a module."
- elog "You need to load it before using Longrun."
- elog "The module is called msr."
- elog
- fi
-
- if linux_chkconfig_module X86_CPUID; then
- elog "You have compiled CPUID as a module."
- elog "You need to load it before using Longrun."
- elog "The module is called cpuid."
- fi
- else
- elog "You have no kernel configuration available."
- elog "Longrun needs both CPUID and MSR capabilites,"
- elog "in the kernel you intend to run it under."
- fi
-}
diff --git a/app-admin/longrun/metadata.xml b/app-admin/longrun/metadata.xml
deleted file mode 100644
index 5e882ed16b13..000000000000
--- a/app-admin/longrun/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>
- Longrun is a user space utility program for controlling the Longrun
- thermal and power save functionalities found in the processors made
- by Transmeta.
- </longdescription>
-</pkgmetadata>