commit: ec196793931d17a8454945741ea3ac531873925b Author: Austin English <wizardedit <AT> gentoo <DOT> org> AuthorDate: Thu Jul 7 17:59:03 2016 +0000 Commit: Austin English <wizardedit <AT> gentoo <DOT> org> CommitDate: Thu Jul 7 18:00:22 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec196793
app-admin/tmpwatch: bump to EAPI 6, add maintainer-needed Package-Manager: portage-2.2.28 app-admin/tmpwatch/metadata.xml | 1 + app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild | 37 ++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/app-admin/tmpwatch/metadata.xml b/app-admin/tmpwatch/metadata.xml index 097975e..6f49eba 100644 --- a/app-admin/tmpwatch/metadata.xml +++ b/app-admin/tmpwatch/metadata.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> +<!-- maintainer-needed --> </pkgmetadata> diff --git a/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild b/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild new file mode 100644 index 0000000..3de9352 --- /dev/null +++ b/app-admin/tmpwatch/tmpwatch-2.11-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit toolchain-funcs eutils + +DESCRIPTION="Files which haven't been accessed in a given period of time are removed from specified directories" +HOMEPAGE="https://fedorahosted.org/tmpwatch/" +SRC_URI="https://fedorahosted.org/releases/t/m/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="selinux" + +RDEPEND="selinux? ( sec-policy/selinux-tmpreaper )" +DEPEND="" + +PATCHES=( + "${FILESDIR}/${P}-boottime.patch" +) + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + + dosbin tmpwatch + doman tmpwatch.8 + + exeinto /etc/cron.daily + newexe "${FILESDIR}/${PN}.cron" "${PN}" +}
