summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-10-17 04:12:03 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-10-17 04:12:03 +0000
commitf8fc287f78543aa004c29a5f50e81ea0694b5986 (patch)
tree3fe24ba51427ab828f660f4c1616f210965c2bf2 /app-misc/leave
parentAdded ewarn; bug #50510. (Manifest recommit) (diff)
downloadgentoo-2-f8fc287f78543aa004c29a5f50e81ea0694b5986.tar.gz
gentoo-2-f8fc287f78543aa004c29a5f50e81ea0694b5986.tar.bz2
gentoo-2-f8fc287f78543aa004c29a5f50e81ea0694b5986.zip
Initial commit.
Diffstat (limited to 'app-misc/leave')
-rw-r--r--app-misc/leave/ChangeLog10
-rw-r--r--app-misc/leave/Manifest6
-rw-r--r--app-misc/leave/files/README9
-rw-r--r--app-misc/leave/files/digest-leave-200410161
-rw-r--r--app-misc/leave/files/leave-fix-makefile.diff20
-rw-r--r--app-misc/leave/leave-20041016.ebuild34
-rw-r--r--app-misc/leave/metadata.xml9
7 files changed, 89 insertions, 0 deletions
diff --git a/app-misc/leave/ChangeLog b/app-misc/leave/ChangeLog
new file mode 100644
index 000000000000..4f559064fce4
--- /dev/null
+++ b/app-misc/leave/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/leave
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/leave/ChangeLog,v 1.1 2004/10/17 04:12:03 ka0ttic Exp $
+
+*leave-20041016 (17 Oct 2004)
+
+ 17 Oct 2004; Aaron Walker <ka0ttic@gentoo.org> +metadata.xml,
+ +files/README, +files/leave-fix-makefile.diff, +leave-20041016.ebuild:
+ Initial commit.
+
diff --git a/app-misc/leave/Manifest b/app-misc/leave/Manifest
new file mode 100644
index 000000000000..a4d82ef93276
--- /dev/null
+++ b/app-misc/leave/Manifest
@@ -0,0 +1,6 @@
+MD5 60106ade3d2625f84e018bd2d0193f7e leave-20041016.ebuild 647
+MD5 4ad27633cc22898e88f8657f797475c9 ChangeLog 302
+MD5 99ce5509db4b50f28a1f6675f8c09b2b metadata.xml 258
+MD5 3b05dfbccade0dc826c586d0c1d35ad3 files/README 455
+MD5 79ec10c433f407249cc0a47d81c4ff8c files/digest-leave-20041016 64
+MD5 0fbcdc2fdb7015594107d933e17d38f0 files/leave-fix-makefile.diff 446
diff --git a/app-misc/leave/files/README b/app-misc/leave/files/README
new file mode 100644
index 000000000000..1af71d7431fd
--- /dev/null
+++ b/app-misc/leave/files/README
@@ -0,0 +1,9 @@
+The leave utility waits until the specified time, then reminds you that you
+have to leave. You are reminded 5 minutes and 1 minute before the actual
+time, at the time, and every minute thereafter. When you log off, leave
+exits just before it would have printed the next message.
+
+To get rid of leave you should either log off or use `kill -s KILL` giving its
+process id.
+
+This program is included with FreeBSD and is distributed under the BSD license.
diff --git a/app-misc/leave/files/digest-leave-20041016 b/app-misc/leave/files/digest-leave-20041016
new file mode 100644
index 000000000000..9f9158535ac2
--- /dev/null
+++ b/app-misc/leave/files/digest-leave-20041016
@@ -0,0 +1 @@
+MD5 89da8f11bf71c7df1d0c27956ec2e4d8 leave-20041016.tar.gz 3543
diff --git a/app-misc/leave/files/leave-fix-makefile.diff b/app-misc/leave/files/leave-fix-makefile.diff
new file mode 100644
index 000000000000..2ae0f4d26771
--- /dev/null
+++ b/app-misc/leave/files/leave-fix-makefile.diff
@@ -0,0 +1,20 @@
+--- Makefile.orig 2004-10-16 23:04:50.144563171 -0400
++++ Makefile 2004-10-16 23:57:27.639495962 -0400
+@@ -2,5 +2,16 @@
+ # $FreeBSD: /repoman/r/ncvs/src/usr.bin/leave/Makefile,v 1.5 2002/02/08 22:31:41 markm Exp $
+
+ PROG= leave
++CC=gcc
++CFLAGS=
++LDFLAGS=
+
+-.include <bsd.prog.mk>
++#.include <bsd.prog.mk>
++
++all: $(PROG)
++$(PROG): leave.o
++ $(CC) leave.o -o $(PROG) $(LDFLAGS)
++leave.o:
++ $(CC) $(CFLAGS) -c leave.c
++clean:
++ rm -f $(PROG) *.o
diff --git a/app-misc/leave/leave-20041016.ebuild b/app-misc/leave/leave-20041016.ebuild
new file mode 100644
index 000000000000..79e55bcb9d1e
--- /dev/null
+++ b/app-misc/leave/leave-20041016.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/leave/leave-20041016.ebuild,v 1.1 2004/10/17 04:12:03 ka0ttic Exp $
+
+inherit eutils
+
+DESCRIPTION="Command-line tool from FreeBSD that reminds you when its time to leave"
+HOMEPAGE="http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/leave/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-fix-makefile.diff
+}
+
+src_compile() {
+ emake \
+ CC="${CC:-gcc}" \
+ CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin leave
+ doman leave.1
+ dodoc ${FILESDIR}/README
+}
diff --git a/app-misc/leave/metadata.xml b/app-misc/leave/metadata.xml
new file mode 100644
index 000000000000..1bd09b7fe2c3
--- /dev/null
+++ b/app-misc/leave/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>shell-tools</herd>
+ <maintainer>
+ <email>ka0ttic@gentoo.org</email>
+ <name>Aaron Walker</name>
+ </maintainer>
+</pkgmetadata>