summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2004-10-04 18:53:38 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2004-10-04 18:53:38 +0000
commit86c824d5ae0bb941070f42870273757a69368a12 (patch)
tree5e5f360d75c87120565959511d5dafd6daf3df50 /net-wireless/irda-utils
parentStable on x86 (diff)
downloadhistorical-86c824d5ae0bb941070f42870273757a69368a12.tar.gz
historical-86c824d5ae0bb941070f42870273757a69368a12.tar.bz2
historical-86c824d5ae0bb941070f42870273757a69368a12.zip
Moved from sys-apps
Diffstat (limited to 'net-wireless/irda-utils')
-rw-r--r--net-wireless/irda-utils/ChangeLog60
-rw-r--r--net-wireless/irda-utils/Manifest8
-rw-r--r--net-wireless/irda-utils/files/digest-irda-utils-0.9.131
-rw-r--r--net-wireless/irda-utils/files/digest-irda-utils-0.9.151
-rw-r--r--net-wireless/irda-utils/files/irda.conf9
-rw-r--r--net-wireless/irda-utils/files/irda.rc40
-rw-r--r--net-wireless/irda-utils/irda-utils-0.9.13.ebuild53
-rw-r--r--net-wireless/irda-utils/irda-utils-0.9.15.ebuild64
-rw-r--r--net-wireless/irda-utils/metadata.xml8
9 files changed, 244 insertions, 0 deletions
diff --git a/net-wireless/irda-utils/ChangeLog b/net-wireless/irda-utils/ChangeLog
new file mode 100644
index 000000000000..f8d2e084815c
--- /dev/null
+++ b/net-wireless/irda-utils/ChangeLog
@@ -0,0 +1,60 @@
+# ChangeLog for sys-apps/irda-utils
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/ChangeLog,v 1.1 2004/10/04 18:53:38 brix Exp $
+
+*irda-utils-0.9.13 (04 Oct 2004)
+
+ 04 Oct 2004; Henrik Brix Andersen <brix@gentoo.org> +metadata.xml,
+ +files/irda.conf, +files/irda.rc, +irda-utils-0.9.13.ebuild,
+ +irda-utils-0.9.15.ebuild:
+ Moved from sys-apps/irda-utils
+
+ 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ irda-utils-0.9.15.ebuild:
+ Masked irda-utils-0.9.15.ebuild stable for ppc
+
+ 27 Jun 2004; David Holm <dholm@gentoo.org> irda-utils-0.9.15.ebuild:
+ Added to ~ppc.
+
+ 24 Feb 2004; Martin Holzer <mholzer@gentoo.org> irda-utils-0.9.13.ebuild,
+ irda-utils-0.9.15.ebuild:
+ adding automake version. closes 42620.
+
+ 17 Jan 2004; Aron Griffis <agriffis@gentoo.org> irda-utils-0.9.15.ebuild:
+ Fix bug 1797 by removing ${D}/etc/sysconfig if it is created by etc-install
+
+ 12 Jun 2003; <msterret@gentoo.org> irda-utils-0.9.15.ebuild:
+ fix Header
+
+*irda-utils-0.9.15 (15 Dec 2002)
+
+ 26 Jan 2003; Chad Huneycutt <chadh@gentoo.org> irda-utils-0.9.15.ebuild :
+ Bug #12986 caught a missing dependence on glib-1.2
+
+ 30 Dec 2002; Martin Holzer <mholzer@gentoo.org> irda-utils-0.9.15.ebuild ChangeLog :
+ Change SRC_URI to use mirror://sf
+
+ 15 Dec 2002; Chad Huneycutt <chadh@gentoo.org>:
+ Thanks to contributors to bug 1727 for init scripts and config files to go
+ with them. I have cleaned up the ebuild some, and it now installs all the
+ sample programs from irsockets. README's and man pages are installed as
+ well.
+
+*irda-utils-0.9.13 (1 Feb 2002)
+
+ 30 Dec 2002; Martin Holzer <mholzer@gentoo.org> irda-utils-0.9.13.ebuild :
+ Change SRC_URI to use mirror://sf
+
+ 21 Jul 2002; Mark Guertin <gerk@gentoo.org>:
+ updated keywords (-ppc)
+
+ 14 Jul 2002; phoen][x <phoenix@gentoo.org> irda-utils-0.9.13.ebuild :
+ Added KEYWORDS, SLOT.
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
+
diff --git a/net-wireless/irda-utils/Manifest b/net-wireless/irda-utils/Manifest
new file mode 100644
index 000000000000..76676c101744
--- /dev/null
+++ b/net-wireless/irda-utils/Manifest
@@ -0,0 +1,8 @@
+MD5 9490402a9e36f316fa8d41b9c6aa24df irda-utils-0.9.13.ebuild 1199
+MD5 0ff30c1ba55c18f0f7d5398e7acde14c irda-utils-0.9.15.ebuild 1584
+MD5 4f4226f402499400dc432480819fd60b ChangeLog 2370
+MD5 dc1773fc29727c205a632b4a780a5d21 metadata.xml 219
+MD5 10a500d681ec4e01d3d614987d5c9068 files/digest-irda-utils-0.9.13 69
+MD5 b853c309634581523261878b433cc4ac files/digest-irda-utils-0.9.15 69
+MD5 db4f871dba7e66e861503b792ca0a7e3 files/irda.conf 313
+MD5 b3f79d6bc205a1fde999cb893ba247b1 files/irda.rc 970
diff --git a/net-wireless/irda-utils/files/digest-irda-utils-0.9.13 b/net-wireless/irda-utils/files/digest-irda-utils-0.9.13
new file mode 100644
index 000000000000..bf0898ec03aa
--- /dev/null
+++ b/net-wireless/irda-utils/files/digest-irda-utils-0.9.13
@@ -0,0 +1 @@
+MD5 c01620dd7df363d2d46e1ee5b90bc23f irda-utils-0.9.13.tar.gz 182720
diff --git a/net-wireless/irda-utils/files/digest-irda-utils-0.9.15 b/net-wireless/irda-utils/files/digest-irda-utils-0.9.15
new file mode 100644
index 000000000000..330dff08ac8a
--- /dev/null
+++ b/net-wireless/irda-utils/files/digest-irda-utils-0.9.15
@@ -0,0 +1 @@
+MD5 b69b75464d6ee72e6600a8459d9b68ac irda-utils-0.9.15.tar.gz 226303
diff --git a/net-wireless/irda-utils/files/irda.conf b/net-wireless/irda-utils/files/irda.conf
new file mode 100644
index 000000000000..e5e48a5534a9
--- /dev/null
+++ b/net-wireless/irda-utils/files/irda.conf
@@ -0,0 +1,9 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/files/irda.conf,v 1.1 2004/10/04 18:53:38 brix Exp $
+
+IRDA=yes
+IRDADEV=/dev/ttyS2
+#Set (optional) Dongle name here
+#DONGLE=actisys+
+DISCOVERY=yes
diff --git a/net-wireless/irda-utils/files/irda.rc b/net-wireless/irda-utils/files/irda.rc
new file mode 100644
index 000000000000..aa9de89a6da5
--- /dev/null
+++ b/net-wireless/irda-utils/files/irda.rc
@@ -0,0 +1,40 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/files/irda.rc,v 1.1 2004/10/04 18:53:38 brix Exp $
+
+checkconfig() {
+ if [ -z "$IRDA" ] || [ -z "$IRDADEV" ] ; then
+ eerror "You need to setup IRDA and IRDADEV in /etc/conf.d/irda first"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+
+ # Check that irda is enabled.
+ [ ${IRDA} = "no" ] && return 1
+
+ [ -f /usr/sbin/irattach ] || return 1
+
+ local ARGS=""
+ if [ $DONGLE ]; then
+ ARGS="$ARGS -d $DONGLE"
+ fi
+ if [ "$DISCOVERY" = "yes" ];then
+ ARGS="$ARGS -s"
+ fi
+
+ # Attach irda device
+ ebegin "Starting IrDA"
+ start-stop-daemon --start --quiet \
+ --exec /usr/sbin/irattach -- ${IRDADEV} ${ARGS}
+ eend ${?}
+}
+
+stop() {
+ ebegin "Shutting down IrDA"
+ start-stop-daemon --stop --quiet --pidfile /var/run/irattach.pid
+ eend ${?}
+}
diff --git a/net-wireless/irda-utils/irda-utils-0.9.13.ebuild b/net-wireless/irda-utils/irda-utils-0.9.13.ebuild
new file mode 100644
index 000000000000..7d91323dce3d
--- /dev/null
+++ b/net-wireless/irda-utils/irda-utils-0.9.13.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/irda-utils-0.9.13.ebuild,v 1.1 2004/10/04 18:53:38 brix Exp $
+
+DESCRIPTION="IrDA Utilities, tools for IrDA communication"
+HOMEPAGE="http://irda.sourceforge.net/"
+SRC_URI="mirror://sourceforge/irda/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 -ppc amd64"
+IUSE=""
+
+DEPEND="virtual/libc
+ >=dev-libs/glib-1.2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/irdadump
+ cp autogen.sh autogen.sh.orig
+ sed -e "s:1.2:1.4:g" autogen.sh.orig > autogen.sh
+ rm autogen.sh.orig
+}
+
+src_compile() {
+ make ROOT="${D}" RPM_BUILD_ROOT="${D}" || die "Making failed."
+}
+
+src_install() {
+ dodir /etc/rc.d/init.d
+ dodir /usr/bin
+ dodir /usr/sbin
+ dodir /usr/X11R6/bin
+
+ cd ${S}/irdadump
+ make install ROOT="${D}" || die "Couldn't install from ${S}/irdadump."
+
+ cd ${S}/etc
+ make install ROOT="${D}" || die "Couldn't install from ${S}/etc."
+
+ cd ${S}
+ into /usr
+ dobin psion/irpsion5
+ dobin irsockets/irdaspray
+ dobin tekram/irkbd
+
+ dosbin irattach/irattach
+ dosbin irattach/dongle_attach
+ dosbin irdaping/irdaping
+ dosbin findchip/findchip
+
+ dodoc README
+}
diff --git a/net-wireless/irda-utils/irda-utils-0.9.15.ebuild b/net-wireless/irda-utils/irda-utils-0.9.15.ebuild
new file mode 100644
index 000000000000..15a25005c441
--- /dev/null
+++ b/net-wireless/irda-utils/irda-utils-0.9.15.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/irda-utils/irda-utils-0.9.15.ebuild,v 1.1 2004/10/04 18:53:38 brix Exp $
+
+DESCRIPTION="IrDA Utilities, tools for IrDA communication"
+HOMEPAGE="http://irda.sourceforge.net/"
+SRC_URI="mirror://sourceforge/irda/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc amd64"
+IUSE=""
+
+DEPEND="virtual/libc
+ >=dev-libs/glib-1.2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ export WANT_AUTOCONF=2.5
+}
+
+src_compile() {
+ make ROOT="${D}" RPM_BUILD_ROOT="${D}" || die "Making failed."
+ cd irsockets
+ make || die "Making irsockets failed."
+}
+
+src_install () {
+ dodir /usr/bin
+ dodir /usr/sbin
+ dodir /usr/X11R6/bin
+
+ make install PREFIX="${D}" ROOT="${D}" || die "Couldn't install from ${S}"
+
+ # irda-utils's install-etc installs files in /etc/sysconfig if
+ # that directory exists on the system, so clean up just in case.
+ # This is for bug 1797 (17 Jan 2004 agriffis)
+ rm -rf ${D}/etc/sysconfig 2>/dev/null
+
+ into /usr
+ dobin irsockets/irdaspray
+ dobin irsockets/ias_query
+ dobin irsockets/irprintf
+ dobin irsockets/irprintfx
+ dobin irsockets/irscanf
+ dobin irsockets/recv_ultra
+ dobin irsockets/send_ultra
+
+ # install README's into /usr/share/doc
+ for i in *
+ do
+ if [ -d $i -a $i != "man" ]; then
+ if [ -f $i/README ]; then
+ cp $i/README README.$i
+ dodoc README.$i
+ rm README.$i
+ fi
+ fi
+ done
+
+ insinto /etc/conf.d ; newins ${FILESDIR}/irda.conf irda
+ insinto /etc/init.d ; insopts -m0755 ; newins ${FILESDIR}/irda.rc irda
+}
diff --git a/net-wireless/irda-utils/metadata.xml b/net-wireless/irda-utils/metadata.xml
new file mode 100644
index 000000000000..042b87179f01
--- /dev/null
+++ b/net-wireless/irda-utils/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mobile</herd>
+<maintainer>
+ <email>brix@gentoo.org</email>
+</maintainer>
+</pkgmetadata>