diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/leave |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/leave')
-rw-r--r-- | app-misc/leave/Manifest | 7 | ||||
-rw-r--r-- | app-misc/leave/files/README | 9 | ||||
-rw-r--r-- | app-misc/leave/files/leave-fix-makefile.diff | 20 | ||||
-rw-r--r-- | app-misc/leave/leave-20100918.ebuild | 33 | ||||
-rw-r--r-- | app-misc/leave/metadata.xml | 8 |
5 files changed, 77 insertions, 0 deletions
diff --git a/app-misc/leave/Manifest b/app-misc/leave/Manifest new file mode 100644 index 000000000000..151fba31a56a --- /dev/null +++ b/app-misc/leave/Manifest @@ -0,0 +1,7 @@ +AUX README 455 SHA256 8cb48d9c2b2a941a0cf0a6b7663dd75af7c58267560b980a718b1de067cd3a61 SHA512 86135607b70026c849d0851fe4c9aeadc2385eebe2be93949d519f566810916d26388a191c16a88d451d653cb2f6f6ce896948e9f07b9f994c02403898f28242 WHIRLPOOL e5b8f2733dcdef005a98ba0b910dc3e4b3c90a813304b2caedfda24aa1811ee1e9042fa4a482b517b71162dde7ae704d1ac0ccd87a09e639942f2c0747492f04 +AUX leave-fix-makefile.diff 449 SHA256 d590c4c37ecfb4cc02059ab6f04f78e6ffad2aa7b421f5766c1ac7d251da218c SHA512 ad5d787eb421d92edd3ab03017318b71e26ff0b699871d5017436af607c47fd3bc7221206773f8b993652fdb0a9551519c34160e1df832314ea05eb6d57a7895 WHIRLPOOL 1ab87c7a37339d332b514f937261e6433cd5d0f0388aaf878971d081cbb97152af155dbd5f9161100e460dbb2cc9283b639732977aa501d4f866432d62a90a97 +DIST leave-20100918.tar.gz 3477 SHA256 a467a4841b9d0a2daafbc5485d3761a9ca14b84f17320bc224b490edabfd0c97 SHA512 69df594800159bc80baeb3945aad144ceabe21bdac22ed2cd706b0ec610895dc82e58bae59ed0230eb97e909812bc90237b7c70e965125e7fa6767972a6259d1 WHIRLPOOL 8c7a0dd09916133cf6207e4540da63391c6310bf541d6461efd6b178754b6d8e268968fb5bf3dfb0c6bbacd23e1ce87b53f2a1d301e8b0535cb28013fa3fefdf +EBUILD leave-20100918.ebuild 724 SHA256 a432dd6630264d1d5cebfad79f9d643f6cd96e121560fe27f14cca612617bbd6 SHA512 308bd9f7f8b6245da0c2921e22c922ac969a65d00600fd26b20e341a5ab98c44afdc6cf8b9508056da84d5089fa984084229f90f9d2cba413cc48565d1252cc0 WHIRLPOOL 568647f46808ab7bdbb4ea1390f338ab2f3f9cabc3312e4ff1bd20e63550697cb44867a484195174be26ca331ed0e662e51a7c347584b38015df23079538b881 +MISC ChangeLog 2474 SHA256 70ef9c6e3f98d3c8adeec6c96d40dfa94b1c7c36ddf0c6818c0d24a3f89f287d SHA512 19922c5d93a6891f1bd3155ca5c1c2578842560ab5e161d032c06d5bee5093286085be5f3bec84852472a053ec1fec07869bd3fe3755740d035eaf3c36a75a24 WHIRLPOOL 56efde6c14de2237fd59a7f6e4da42a616c5379b8a601539fe071ab9c0bd79bc9030656aa03955ffe657f795eff8e9185464a30f9aeb47260b51601ab180af5f +MISC ChangeLog-2015 2000 SHA256 11725bd487bc8290e0a155e947a438d90c5f5d914e319a29436588fd3b5b78d3 SHA512 834d474c186c91885bb8c6f455496ab0cc0f41bdee3a2269eba266e3ebcfc3f4ec0b852bcad1421f7c6fac0b19a349948881e385b744c309a8634fd869aedb56 WHIRLPOOL ca23b10b0c9ec53d13cb1cd0e79a52427bacfea7a76cf87911afbdf09baddbcbd96cca01ed8b98a11f27dc0f75633450ebfc66e588f103c275696fbb1cb3365f +MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519 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..efcb89eadea6 --- /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) $(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.ebuild b/app-misc/leave/leave-20100918.ebuild new file mode 100644 index 000000000000..9a8f79245f1f --- /dev/null +++ b/app-misc/leave/leave-20100918.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" + +inherit eutils toolchain-funcs + +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="amd64 ppc x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}/${PN}-fix-makefile.diff" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}"\ + || die "emake failed" +} + +src_install() { + dobin leave || die "dobin failed" + doman leave.1 || die "doman failed" + dodoc "${FILESDIR}/README" || die "dodoc failed" +} 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> |