diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-05-22 20:02:59 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-05-22 20:02:59 +0000 |
commit | 7a75390e74a122e8ede22d905eacae9536a93180 (patch) | |
tree | 70afae7d319d602a31ed786c58e7f19fbb83812e /app-admin | |
parent | Removed the libelf check from configure. (diff) | |
download | gentoo-2-7a75390e74a122e8ede22d905eacae9536a93180.tar.gz gentoo-2-7a75390e74a122e8ede22d905eacae9536a93180.tar.bz2 gentoo-2-7a75390e74a122e8ede22d905eacae9536a93180.zip |
Initial commit for bug 93271.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/nologin/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/nologin/Manifest | 4 | ||||
-rw-r--r-- | app-admin/nologin/files/digest-nologin-20050522 | 1 | ||||
-rw-r--r-- | app-admin/nologin/metadata.xml | 9 | ||||
-rw-r--r-- | app-admin/nologin/nologin-20050522.ebuild | 35 |
5 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/nologin/ChangeLog b/app-admin/nologin/ChangeLog new file mode 100644 index 000000000000..3ad11845a39e --- /dev/null +++ b/app-admin/nologin/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/nologin +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/nologin/ChangeLog,v 1.1 2005/05/22 20:02:59 ka0ttic Exp $ + +*nologin-20050522 (22 May 2005) + + 22 May 2005; Aaron Walker <ka0ttic@gentoo.org> +metadata.xml, + +nologin-20050522.ebuild: + Initial commit for bug 93271. + diff --git a/app-admin/nologin/Manifest b/app-admin/nologin/Manifest new file mode 100644 index 000000000000..c6a4974b39b7 --- /dev/null +++ b/app-admin/nologin/Manifest @@ -0,0 +1,4 @@ +MD5 059d3cac51cdfcbb2d588e910e96ec9b nologin-20050522.ebuild 939 +MD5 42574471cc2b0b31c1f9a3c2d77ca505 ChangeLog 276 +MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254 +MD5 c9bacebe6f756f54335279165ee674e0 files/digest-nologin-20050522 67 diff --git a/app-admin/nologin/files/digest-nologin-20050522 b/app-admin/nologin/files/digest-nologin-20050522 new file mode 100644 index 000000000000..421f1549b161 --- /dev/null +++ b/app-admin/nologin/files/digest-nologin-20050522 @@ -0,0 +1 @@ +MD5 63e7752069acb9244d36b6eae9fff38b nologin-20050522.tar.bz2 2096 diff --git a/app-admin/nologin/metadata.xml b/app-admin/nologin/metadata.xml new file mode 100644 index 000000000000..d31152aca840 --- /dev/null +++ b/app-admin/nologin/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>no-herd</herd> + <maintainer> + <email>ka0ttic@gentoo.org</email> + <name>Aaron Walker</name> + </maintainer> +</pkgmetadata> diff --git a/app-admin/nologin/nologin-20050522.ebuild b/app-admin/nologin/nologin-20050522.ebuild new file mode 100644 index 000000000000..aa985f98c601 --- /dev/null +++ b/app-admin/nologin/nologin-20050522.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/nologin/nologin-20050522.ebuild,v 1.1 2005/05/22 20:02:59 ka0ttic Exp $ + +inherit toolchain-funcs + +DESCRIPTION="OpenBSD's nologin - politely refuse a login; intended as a replacement shell field (in /etc/passwd) for accounts that have been disabled." +HOMEPAGE="http://www.openbsd.org/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +src_compile() { + echo "$(tc-getCC) ${CFLAGS} nologin.c -o nologin" + $(tc-getCC) ${CFLAGS} nologin.c -o nologin || die "compilation failed" +} + +src_install() { + doman nologin.8 || die "doman failed" + into / + dosbin nologin || die "dosbin failed" +} + +pkg_postinst() { + einfo + einfo "To use nologin, edit /etc/passwd and replace /bin/false with" + einfo "/sbin/nologin for those accounts." + einfo + einfo "If the file /etc/nologin.txt exists, nologin displays it's" + einfo "contents instead of the default message." + einfo +} |