summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-05-19 12:59:19 +0000
committerPeter Volkov <pva@gentoo.org>2008-05-19 12:59:19 +0000
commit5adbcf64d021ea9320fdb697f389cb2566331657 (patch)
tree0892612408b33d7f6160b8a5413baacd051327c9 /app-misc
parentVersion bump. (diff)
downloadgentoo-2-5adbcf64d021ea9320fdb697f389cb2566331657.tar.gz
gentoo-2-5adbcf64d021ea9320fdb697f389cb2566331657.tar.bz2
gentoo-2-5adbcf64d021ea9320fdb697f389cb2566331657.zip
Version bump. Some of our fixes integrated!
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/vlock/ChangeLog7
-rw-r--r--app-misc/vlock/vlock-2.2.2.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/app-misc/vlock/ChangeLog b/app-misc/vlock/ChangeLog
index 94658368d590..13b9e06e7f3d 100644
--- a/app-misc/vlock/ChangeLog
+++ b/app-misc/vlock/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/vlock
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/vlock/ChangeLog,v 1.26 2008/05/12 20:51:29 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vlock/ChangeLog,v 1.27 2008/05/19 12:59:19 pva Exp $
+
+*vlock-2.2.2 (19 May 2008)
+
+ 19 May 2008; Peter Volkov <pva@gentoo.org> +vlock-2.2.2.ebuild:
+ Version bump. Some of our fixes integrated!
*vlock-2.2.1 (12 May 2008)
diff --git a/app-misc/vlock/vlock-2.2.2.ebuild b/app-misc/vlock/vlock-2.2.2.ebuild
new file mode 100644
index 000000000000..d446fbf3a31e
--- /dev/null
+++ b/app-misc/vlock/vlock-2.2.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/vlock/vlock-2.2.2.ebuild,v 1.1 2008/05/19 12:59:19 pva Exp $
+
+inherit eutils pam toolchain-funcs
+
+DESCRIPTION="A console screen locker"
+HOMEPAGE="http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html"
+SRC_URI="http://cthulhu.c3d2.de/~toidinamai/vlock/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="pam"
+
+DEPEND="pam? ( sys-libs/pam )"
+
+pkg_setup() {
+ enewgroup vlock
+}
+
+src_compile() {
+ if use pam; then
+ myconf="--enable-pam"
+ else
+ myconf="--enable-shadow"
+ fi
+ # this package has handmade configure system which fails with econf...
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ ${myconf} \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getLD)" \
+ CFLAGS="${CFLAGS} -pedantic -std=gnu99" \
+ LDFLAGS="${LDFLAGS}" || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ use pam && pamd_mimic_system vlock auth
+ dodoc ChangeLog PLUGINS README README.X11 SECURITY STYLE TODO
+}