Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7328 - ebuild for new pam-login 3.7
Summary: ebuild for new pam-login 3.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-01 09:20 UTC by Sebastian Boehm
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pam-login-3.7.ebuild (pam-login-3.7.ebuild,1.22 KB, text/plain)
2002-09-01 09:57 UTC, Sebastian Boehm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Boehm 2002-09-01 09:20:52 UTC
i've modified the ebuild for pam-login in order to get the last version
available (3.7):
sebastian: ~ > cat /usr/portage.local/sys-apps/pam-login/pam-login-3.7.ebuild
--// SNIP //--
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/sys-apps/pam-login/pam-login-3.7'.ebuild,v
1.4 2002/07/16 05:51:02 seemant Exp $

MY_PN="${PN/pam-/pam_}"
S="${WORKDIR}/${MY_PN}-${PV}"
DESCRIPTION="Based on the sources from util-linux, with added pam and shadow
features"
SRC_URI="ftp://ftp.suse.com/pub/people/kukuk/pam/${MY_PN}/${MY_PN}-${PV}.tar.bz2"
HOMEPAGE="http://www.thkukuk.de/pam/pam_login/"
KEYWORDS="x86 ppc"
LICENSE="GPL-2"

DEPEND="virtual/glibc
        sys-libs/pam
        >=sys-apps/shadow-4.0.2-r5"

SLOT="0"

src_unpack() {

        unpack ${A}

        cd ${S}
        #patch -p1 <${FILESDIR}/${P}-SUPATH.patch || die
}

src_compile() {

        local myconf=""
        use nls || {
                myconf="--disable-nls"
                touch ${S}/intl/libintl.h
        }

        ./configure --host=${CHOST} \
                --prefix=/usr \
                --mandir=/usr/share/man \
                --sysconfdir=/etc \
                ${myconf} || die

        emake || die
}

src_install() {

        make prefix=${D}/usr \
                rootexecbindir=${D}/bin \
                mandir=${D}/usr/share/man \
                sysconfdir=${D}/etc \
                install || die

        #insinto /etc
        #insopts -m0644
        #newins ${FILESDIR}/login.defs login.defs.new

        dodoc AUTHORS COPYING ChangeLog NEWS README THANKS
}
--// SNAP //--
Comment 1 Sebastian Boehm 2002-09-01 09:57:17 UTC
Created attachment 3584 [details]
pam-login-3.7.ebuild

sorry, had some problems with my w3m, here's the ebuild!
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-01 18:37:55 UTC
Updated version in CVS.