summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2008-03-25 12:58:33 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2008-03-25 12:58:33 +0000
commit3398fe160032cca93d00124e299d0d82cd8666cd (patch)
tree51dfcd7db5d6b6cc9247c53fc29e2030b61ec9a3 /app-laptop/smcinit
parentset the VERSION to the last git commit (diff)
downloadhistorical-3398fe160032cca93d00124e299d0d82cd8666cd.tar.gz
historical-3398fe160032cca93d00124e299d0d82cd8666cd.tar.bz2
historical-3398fe160032cca93d00124e299d0d82cd8666cd.zip
app-laptop/smcinit removal, due to conflicting files with net-wireless/irda-utils which incidentally provides a more up-to-date implementation of the same functionality. See bug #194859 for reference.
Diffstat (limited to 'app-laptop/smcinit')
-rw-r--r--app-laptop/smcinit/ChangeLog31
-rw-r--r--app-laptop/smcinit/Manifest7
-rw-r--r--app-laptop/smcinit/files/smcinit-0.4-pciutils-2.2.0.patch98
-rw-r--r--app-laptop/smcinit/files/smcinit.conf7
-rwxr-xr-xapp-laptop/smcinit/files/smcinit.initscript33
-rw-r--r--app-laptop/smcinit/metadata.xml9
-rw-r--r--app-laptop/smcinit/smcinit-0.4.ebuild60
7 files changed, 0 insertions, 245 deletions
diff --git a/app-laptop/smcinit/ChangeLog b/app-laptop/smcinit/ChangeLog
deleted file mode 100644
index 2c3c64b1e50e..000000000000
--- a/app-laptop/smcinit/ChangeLog
+++ /dev/null
@@ -1,31 +0,0 @@
-# ChangeLog for app-laptop/smcinit
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/smcinit/ChangeLog,v 1.8 2007/08/14 20:54:41 wolf31o2 Exp $
-
- 14 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org> smcinit-0.4.ebuild:
- Added a --missing false since not all versions of pciutils support the zlib
- USE flag. This was reported to bug #188221 by Ă…smund Grammeltvedt
- <asmundg@big-oil.org>.
-
- 22 Jun 2007; Chris Gianelloni <wolf31o2@gentoo.org> smcinit-0.4.ebuild:
- I forgot to add the DEPEND on sys-libs/zlib.
-
- 22 Jun 2007; Chris Gianelloni <wolf31o2@gentoo.org> smcinit-0.4.ebuild:
- Added a check for USE=zlib and checking if sys-apps/pciutils was built with
- USE=zlib. This closes bug #171022.
-
- 28 Apr 2007; Sven Wegener <swegener@gentoo.org> smcinit-0.4.ebuild:
- Fix *initd, *confd and *envd calls (#173884, #174266)
-
- 23 Aug 2006; Michele Noberasco <s4t4n@gentoo.org> smcinit-0.4.ebuild:
- Applied patch to fix long standing bug #117368. Since it the issue is
- about package compilation, I applied the patch to current version instead
- of creating a new revision. Hence, the package is back into ~arch.
-
- 24 Dec 2004; Michele Noberasco <s4t4n@gentoo.org> smcinit-0.4.ebuild:
- Stable for x86.
-
-*smcinit-0.4 (24 Nov 2004)
-
- 24 Nov 2004; Michele Noberasco <s4t4n@gentoo.org> smcinit-0.4.ebuild:
- Initial import. Closes #39746.
diff --git a/app-laptop/smcinit/Manifest b/app-laptop/smcinit/Manifest
deleted file mode 100644
index 1e9773df2398..000000000000
--- a/app-laptop/smcinit/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX smcinit-0.4-pciutils-2.2.0.patch 3332 RMD160 a7a6e88cdd2910fab771ad78da53cc5ab6502c0b SHA1 6a55c3b8c16cc69d1e9c9c58d91a04106bbee737 SHA256 a1298b66a3f82bda755fd5cb54be6be47766d449fb0aa20523e93352fa84d511
-AUX smcinit.conf 192 RMD160 60a36a6442d46f2f5daf9e2f6a5815771d41265c SHA1 22f26ea64ee2f21c3781ea46e463eddbe82b1519 SHA256 1cdfac229b1ad3a5d3224f625f81fe0c2f08390992ff84bc77ce98116bb66217
-AUX smcinit.initscript 693 RMD160 c21f3a396a7316d81117da1f4554659945548051 SHA1 f4a61250141877abeaaba926ac7f1fcb2a3b80ac SHA256 2f24cb951736351c221c2c01005eb71950ac55c03a76a00d4f8afbd49650e249
-DIST smcinit-0.4-1.tar.gz 32343 RMD160 184289babfbadc1bd93daefa37fb0db1654bac4e SHA1 e777844050d904db1e25081b1cf5e694f579ba60 SHA256 403b4c1e5fedf113f97f6ce0beccac43b6e17c53a8e04d159022138b33810032
-EBUILD smcinit-0.4.ebuild 1507 RMD160 9fe44631aa778ede33b7fafe8233e5885bf5a12a SHA1 c293ae69e171cdfc3ee3d48fc6ddcfed3a82540f SHA256 79a2e43154bf968558ed9dcc30d4c84b0c2d69c74e054ae0c3c14398b5555d8d
-MISC ChangeLog 1411 RMD160 ea3c5cbb4f80adc7991a49e2132c9ed577748aa4 SHA1 cf120170b59124cca76e3da2011846f3fede8ba2 SHA256 20740bb32497a058e6d2860b07122e8f2db205f5c517eb86a74566f143c89e0e
-MISC metadata.xml 253 RMD160 335a23cb4d2aea71dee602c0ca2c3115a75ae848 SHA1 14b9340fa03a497144331e26d79bbed3ac7b60de SHA256 6e3e64388cc45be370a002b6ac4f0d7b403b16a749388e991ca9a434883b816d
diff --git a/app-laptop/smcinit/files/smcinit-0.4-pciutils-2.2.0.patch b/app-laptop/smcinit/files/smcinit-0.4-pciutils-2.2.0.patch
deleted file mode 100644
index 52d6086d4d3f..000000000000
--- a/app-laptop/smcinit/files/smcinit-0.4-pciutils-2.2.0.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-diff -uprN smcinit-0.4-1/smcinit.c smcinit-0.4-1-r1/smcinit.c
---- smcinit-0.4-1/smcinit.c 2004-04-20 21:56:41.000000000 +0200
-+++ smcinit-0.4-1-r1/smcinit.c 2006-01-01 18:37:40.000000000 +0100
-@@ -173,7 +173,7 @@ int set_smc(int sir_io, int fir_io, int
- /* setpci.c */
- struct pci_access *acc;
- struct pci_dev *dev;
-- word twobyte;
-+ u16 twobyte;
- int i = 0;
- int local_sir_io, local_fir_io, local_fir_irq, local_fir_dma;
-
-@@ -188,7 +188,7 @@ int set_smc(int sir_io, int fir_io, int
- }
- acc = pci_alloc();
- pci_init(acc);
-- dev = pci_get_dev(acc, BUS_LPC, LPC_DEV, LPC_FUNC); /* 5100 also dev 1f */
-+ dev = pci_get_dev(acc, 0, BUS_LPC, LPC_DEV, LPC_FUNC); /* 5100 also dev 1f */
- twobyte = pci_read_word(dev, VID);
- if (twobyte != 0x8086) {
- fprintf(stderr, "%s IO hub vendor %x not intel (0x8086)\n", PROGNAME, twobyte);
-diff -uprN smcinit-0.4-1/tosh1800-smcinit.c smcinit-0.4-1-r1/tosh1800-smcinit.c
---- smcinit-0.4-1/tosh1800-smcinit.c 2004-04-20 21:56:41.000000000 +0200
-+++ smcinit-0.4-1-r1/tosh1800-smcinit.c 2006-01-01 18:37:40.000000000 +0100
-@@ -75,8 +75,8 @@ static int _debug = 0;
- */
- struct port_decoding_access_info {
- int port;
-- byte reg;
-- byte or_mask;
-+ u8 reg;
-+ u8 or_mask;
- };
-
- struct port_decoding_access_info ali1533_ports[] = {
-@@ -122,7 +122,7 @@ configure_47N227_smc_ircc(int revision,
-
- struct smc_chip_model {
- char *name;
-- byte version_id;
-+ u8 version_id;
- int (*config_function) (int revision, int cfgbase, int sirbase,
- int firbase, int dma, int irq);
- };
-@@ -279,7 +279,7 @@ static int find_ali1533_port_access_info
- static int print_ali1533_port_status(struct pci_dev *dev)
- {
- struct port_decoding_access_info *p;
-- byte onebyte;
-+ u8 onebyte;
- int i;
-
- DEBUG("printing port status");
-@@ -305,7 +305,7 @@ static int print_ali1533_port_status(str
- static int set_ali1533_port(struct pci_dev *dev, int port, int decode)
- {
- struct port_decoding_access_info info;
-- byte previousval, onebyte, and_mask;
-+ u8 previousval, onebyte, and_mask;
- int retval;
-
- DEBUG_VAL("looking for port", port);
-@@ -427,7 +427,7 @@ static int configure_ali1533_smc_ports_d
-
- static int configure_47N227_smc_ircc(int revision, int cfgbase, int sirbase, int firbase, int dma, int irq)
- {
-- byte onebyte;
-+ u8 onebyte;
- int retval;
-
- /* claudiuc: revision is not used yet */
-@@ -526,7 +526,7 @@ static struct smc_chip_model *find_smc_c
- static int
- configure_smc_ircc(int cfgbase, int sirbase, int firbase, int dma, int irq)
- {
-- byte version_id, revision_id;
-+ u8 version_id, revision_id;
- struct smc_chip_model *chip_model;
- int retval;
-
-diff -uprN smcinit-0.4-1/tosh2450-smcinit.c smcinit-0.4-1-r1/tosh2450-smcinit.c
---- smcinit-0.4-1/tosh2450-smcinit.c 2004-04-20 21:56:41.000000000 +0200
-+++ smcinit-0.4-1-r1/tosh2450-smcinit.c 2006-01-01 18:37:40.000000000 +0100
-@@ -58,12 +58,12 @@ int main()
- /* setpci.c */
- struct pci_access *acc;
- struct pci_dev *dev;
-- word twobyte;
-+ u16 twobyte;
-
- acc = pci_alloc();
- pci_init(acc);
-
-- dev = pci_get_dev(acc, BUS_LPC, LPC_DEV, LPC_FUNC);
-+ dev = pci_get_dev(acc, 0, BUS_LPC, LPC_DEV, LPC_FUNC);
-
- twobyte = pci_read_word(dev,VID);
- if (twobyte != INTEL_VID){
diff --git a/app-laptop/smcinit/files/smcinit.conf b/app-laptop/smcinit/files/smcinit.conf
deleted file mode 100644
index 154f2d6d2857..000000000000
--- a/app-laptop/smcinit/files/smcinit.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-# Which SMC-IRCC initializer should we run?
-#SMCEXE=smcinit
-#SMCEXE=tosh1800-smcinit
-#SMCEXE=tosh2450-smcinit
-
-# What kernel module the initializer should be applied to?
-#SMCMODULE=smsc-ircc2
diff --git a/app-laptop/smcinit/files/smcinit.initscript b/app-laptop/smcinit/files/smcinit.initscript
deleted file mode 100755
index 694a7379cb2c..000000000000
--- a/app-laptop/smcinit/files/smcinit.initscript
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/smcinit/files/smcinit.initscript,v 1.1 2004/11/24 16:03:03 s4t4n Exp $
-
-depend() {
- before irda
-}
-
-checkconfig() {
- if [ -z "$SMCEXE" ] || [ -z "$SMCMODULE" ] ; then
- eerror "You need to setup SMCEXE and SMCMODULE in /etc/conf.d/smcinit first"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Running ${SMCEXE}"
- /usr/sbin/${SMCEXE}
- eend ${?} || return 1
-
- ebegin "Loading ${SMCMODULE}"
- modprobe ${SMCMODULE}
- eend ${?}
-}
-
-stop() {
- ebegin "Unloading ${SMCMODULE}"
- modprobe -r ${SMCMODULE}
- eend ${?}
-}
diff --git a/app-laptop/smcinit/metadata.xml b/app-laptop/smcinit/metadata.xml
deleted file mode 100644
index f54702d73489..000000000000
--- a/app-laptop/smcinit/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>mobile</herd>
-<maintainer>
- <email>s4t4n@gentoo.org</email>
- <name>Michele Noberasco</name>
-</maintainer>
-</pkgmetadata>
diff --git a/app-laptop/smcinit/smcinit-0.4.ebuild b/app-laptop/smcinit/smcinit-0.4.ebuild
deleted file mode 100644
index a5d237c4d629..000000000000
--- a/app-laptop/smcinit/smcinit-0.4.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/smcinit/smcinit-0.4.ebuild,v 1.8 2007/08/14 20:54:41 wolf31o2 Exp $
-
-inherit eutils
-
-IUSE="zlib"
-
-MY_PV="0.4-1"
-MY_P="${PN}-${MY_PV}"
-
-DESCRIPTION="A set of utilities to initialize a SMC-IRCC based IrDA subsystem on laptops where the BIOS does not handle it"
-HOMEPAGE="http://irda.sourceforge.net/smcinit/"
-SRC_URI="mirror://sourceforge/irda/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-
-DEPEND=">=sys-apps/pciutils-2.2.0-r1 zlib? ( sys-libs/zlib )"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack()
-{
- unpack ${A}
- cd ${S}
-
- #Patch for bug #117368 - compilation issues with new pciutils versions...
- epatch ${FILESDIR}/${P}-pciutils-2.2.0.patch
-}
-
-src_compile()
-{
- if use zlib
- then
- LIBS="-lpci -lz"
- elif built_with_use --missing false sys-apps/pciutils zlib
- then
- die "You need to build with USE=zlib to match sys-apps/pcituils"
- fi
- econf || die "Configuration failed"
- emake LIBS="${LIBS}" CFLAGS="${CFLAGS}" || die "Compilation failed"
-}
-
-src_install()
-{
- # First goes the software...
- einstall PREFIX="${D}/usr" || die "Installation failed"
-
- # ...then documentation...
- dodoc AUTHORS CHANGELOG.Peri ChangeLog INSTALL README README.Peri README.Rob README.Tom
- dohtml RobMiller-irda.html
-
- # ...after that an init script...
- newinitd ${FILESDIR}/${PN}.initscript ${PN}
-
- # ...and finally its config file
- newconfd ${FILESDIR}/${PN}.conf ${PN}
-}