Initial import. Closes #70584.
authorAndrej Kacian <ticho@gentoo.org>
Wed, 15 Dec 2004 12:38:59 +0000 (12:38 +0000)
committerAndrej Kacian <ticho@gentoo.org>
Wed, 15 Dec 2004 12:38:59 +0000 (12:38 +0000)
net-mail/ixbiff/ChangeLog [new file with mode: 0644]
net-mail/ixbiff/Manifest [new file with mode: 0644]
net-mail/ixbiff/files/digest-ixbiff-0.03b [new file with mode: 0644]
net-mail/ixbiff/files/ixbiff_0.03b-config-gentoo.patch [new file with mode: 0644]
net-mail/ixbiff/files/ixbiff_0.03b-main.c-gentoo.patch [new file with mode: 0644]
net-mail/ixbiff/ixbiff-0.03b.ebuild [new file with mode: 0644]
net-mail/ixbiff/metadata.xml [new file with mode: 0644]

diff --git a/net-mail/ixbiff/ChangeLog b/net-mail/ixbiff/ChangeLog
new file mode 100644 (file)
index 0000000..e177d54
--- /dev/null
@@ -0,0 +1,12 @@
+# ChangeLog for net-mail/ixbiff
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/ixbiff/ChangeLog,v 1.1 2004/12/15 12:38:59 ticho Exp $
+
+*ixbiff-0.03b (15 Dec 2004)
+
+  15 Dec 2004; Andrej Kacian <ticho@gentoo.org> +metadata.xml,
+  +files/ixbiff_0.03b-config-gentoo.patch,
+  +files/ixbiff_0.03b-main.c-gentoo.patch, +ixbiff-0.03b.ebuild:
+  Initial import. Closes #70584, reported by Joe Sapp <nixphoeni@yahoo.com>,
+  who also submitted the ebuild and both patches.
+
diff --git a/net-mail/ixbiff/Manifest b/net-mail/ixbiff/Manifest
new file mode 100644 (file)
index 0000000..114f291
--- /dev/null
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 b839e16d39db66dddf37c09da6ce7b75 ChangeLog 530
+MD5 031b4034edd60144a86913259cde6af0 metadata.xml 162
+MD5 52a03a3f5bce46b880ed415e67e14b1e ixbiff-0.03b.ebuild 1218
+MD5 c720b5733cbd824a500afee72d8f7ec7 files/ixbiff_0.03b-config-gentoo.patch 877
+MD5 7266aea3c37e52463c266ad8039ea062 files/ixbiff_0.03b-main.c-gentoo.patch 200
+MD5 5cf770445bcadc42261f71d51c4b255a files/digest-ixbiff-0.03b 63
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBwDBrQlM6RnzZP+IRAk+NAJwJEdMNtStSFg/uD/J4K80Ll8vJ6gCeM+eS
+xSAwrXMzE2EqTxnI/lgx1XU=
+=6GX/
+-----END PGP SIGNATURE-----
diff --git a/net-mail/ixbiff/files/digest-ixbiff-0.03b b/net-mail/ixbiff/files/digest-ixbiff-0.03b
new file mode 100644 (file)
index 0000000..53f2f34
--- /dev/null
@@ -0,0 +1 @@
+MD5 b33a8719c763614bb097c13eb2ff6353 ixbiff_0.03b.tar.gz 25805
diff --git a/net-mail/ixbiff/files/ixbiff_0.03b-config-gentoo.patch b/net-mail/ixbiff/files/ixbiff_0.03b-config-gentoo.patch
new file mode 100644 (file)
index 0000000..30a9dca
--- /dev/null
@@ -0,0 +1,23 @@
+--- Makefile.orig      2004-11-09 21:21:40.082012784 -0500
++++ Makefile           2004-11-09 21:21:25.680202192 -0500
+@@ -31,7 +31,7 @@
+ # debian      compile for debian system (i.e. if you want to make a debian package)
+ # default     compile for a normal system (i.e. everything goes to /usr/local)
+ # NOTE: Leave this undefined if you just want to check out ixbiff first (i.e. you don't want to install anything)
+-SYSTYPE = "debian"
++SYSTYPE = "default"
+ 
+ export SYSTYPE
+ export DESTDIR
+
+--- src/ixbiff.sh.orig  2004-11-10 00:47:22.217722960 -0500
++++ src/ixbiff.sh       2004-11-10 00:47:35.196749848 -0500
+@@ -27,7 +27,7 @@
+ #  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ 
+-DAEMON="/usr/local/sbin/ixbiff"
++DAEMON="/usr/sbin/ixbiff"
+ 
+ ###############################################
+ 
diff --git a/net-mail/ixbiff/files/ixbiff_0.03b-main.c-gentoo.patch b/net-mail/ixbiff/files/ixbiff_0.03b-main.c-gentoo.patch
new file mode 100644 (file)
index 0000000..973de2a
--- /dev/null
@@ -0,0 +1,10 @@
+--- src/main.c.orig    2004-11-09 10:37:52.787254168 -0500
++++ src/main.c 2004-11-09 10:38:08.565855456 -0500
+@@ -262,7 +262,6 @@
+         case SIGUSR1:
+               reset_logs = true;
+               break;
+-        default:
+        }
+ }
+ 
diff --git a/net-mail/ixbiff/ixbiff-0.03b.ebuild b/net-mail/ixbiff/ixbiff-0.03b.ebuild
new file mode 100644 (file)
index 0000000..6b45044
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/ixbiff/ixbiff-0.03b.ebuild,v 1.1 2004/12/15 12:38:59 ticho Exp $
+
+inherit eutils
+
+DESCRIPTION="Ixbiff blinks the keyboard LEDs on new mail"
+HOMEPAGE="http://ixbiff.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
+IUSE=""
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND=""
+
+src_compile() {
+       # This first one is to set the configuration correctly
+       # The init script installed later also needs to be configured
+       # for a gentoo system
+       epatch ${FILESDIR}/ixbiff_0.03b-config-gentoo.patch
+       # This second one is because gcc was complaining about the
+       # default case in a switch statement
+       epatch ${FILESDIR}/ixbiff_0.03b-main.c-gentoo.patch
+
+       make || die
+}
+
+src_install () {
+       # Building in "default" mode means that these variables have to be overriden
+       # if we don't want sandbox violations
+       make prefix=${D} sysconfdir=${D}/etc localstatedir=${D}/var install || die
+
+       exeinto /etc/init.d
+       newexe src/ixbiff.sh ixbiff
+
+       doman man/*.1 man/*.5
+       dohtml doc/*.html
+}
+
+pkg_postinst () {
+       einfo "Use rc-update to add ixbiff to the startup sequence."
+}
diff --git a/net-mail/ixbiff/metadata.xml b/net-mail/ixbiff/metadata.xml
new file mode 100644 (file)
index 0000000..56010cb
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-mail</herd>
+</pkgmetadata>