summaryrefslogtreecommitdiff
path: root/app-misc/leave
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/leave
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/leave')
-rw-r--r--app-misc/leave/Manifest5
-rw-r--r--app-misc/leave/files/README9
-rw-r--r--app-misc/leave/files/leave-fix-makefile.diff20
-rw-r--r--app-misc/leave/leave-20100918-r1.ebuild32
-rw-r--r--app-misc/leave/metadata.xml8
5 files changed, 74 insertions, 0 deletions
diff --git a/app-misc/leave/Manifest b/app-misc/leave/Manifest
new file mode 100644
index 000000000000..858a2268cd9e
--- /dev/null
+++ b/app-misc/leave/Manifest
@@ -0,0 +1,5 @@
+AUX README 455 BLAKE2B 5fbc04499c0fd5b636edf37f54e64025c5ad0bbd13d4639559020f11887c45598343e383206e916eb73f59b581f5c78cdc05fa350be59cbc388002b1c639079b SHA512 86135607b70026c849d0851fe4c9aeadc2385eebe2be93949d519f566810916d26388a191c16a88d451d653cb2f6f6ce896948e9f07b9f994c02403898f28242
+AUX leave-fix-makefile.diff 453 BLAKE2B b3252ac7d1bcd41268dc525469b9a35624a0ad34dc4645ce122e59ef08275dba297960f3497a19570b35af7ccefc65454f697be748964da4b44043aad7fb4241 SHA512 a13da158f33c672c28e9e1b5fd169db9c7fcec55f533874ee237c529a4da21b9c68e400ff0f9a3e604c8b487d0548ed6a8693ebaa50b12b660a989f50b60d83a
+DIST leave-20100918.tar.gz 3477 BLAKE2B 2a709c653f2f853d50822fe83bb4f7894aea57ad3d0c15fb4ca4b5c3abccf63f0cd3344f379691e7721915e2bb5f6f1c61506f265e9cd6d74175ae4657e72376 SHA512 69df594800159bc80baeb3945aad144ceabe21bdac22ed2cd706b0ec610895dc82e58bae59ed0230eb97e909812bc90237b7c70e965125e7fa6767972a6259d1
+EBUILD leave-20100918-r1.ebuild 632 BLAKE2B 547942512b07bd3f3f5863fde9d7f71d128719525e02d513caab4ac1d4877102e05e5e3193f8b469d16cd832d50f6418fe5192f7c0808200827057336a7ec384 SHA512 cb4b211e94ec8d8f5c7b23f1f7910da8fb13a20afaddc649b44d8a8cc526b346e10efee3ddef90a8b96e6ecbb10e280c2ff28b0da6e466e9c05beacc82ef13c3
+MISC metadata.xml 265 BLAKE2B 75452ad720a31a08fc0dcd02eec704c18b11bc0660686f9a320b85fc879f55a564ce9c3b6a8c710781b74c5e8eb3d0544c02a042fb35a0b62a5e1491f675296a SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25
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/leave-fix-makefile.diff b/app-misc/leave/files/leave-fix-makefile.diff
new file mode 100644
index 000000000000..772add57d6fb
--- /dev/null
+++ b/app-misc/leave/files/leave-fix-makefile.diff
@@ -0,0 +1,20 @@
+--- a/Makefile.orig 2004-10-16 23:04:50.144563171 -0400
++++ b/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) $(LDFLAGS) leave.o -o $(PROG)
++leave.o:
++ $(CC) $(CFLAGS) -c leave.c
++clean:
++ rm -f $(PROG) *.o
diff --git a/app-misc/leave/leave-20100918-r1.ebuild b/app-misc/leave/leave-20100918-r1.ebuild
new file mode 100644
index 000000000000..f9514aa08ae4
--- /dev/null
+++ b/app-misc/leave/leave-20100918-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="FreeBSD command-line tool 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="amd64 ppc x86"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-fix-makefile.diff"
+)
+
+src_compile() {
+ cp -v "${FILESDIR}/README" . || die
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin "${PN}"
+ doman "${PN}.1"
+ einstalldocs
+}
diff --git a/app-misc/leave/metadata.xml b/app-misc/leave/metadata.xml
new file mode 100644
index 000000000000..3cf14bf74636
--- /dev/null
+++ b/app-misc/leave/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>