From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ioQHE-0001iK-3c for ptxdist@pengutronix.de; Mon, 06 Jan 2020 12:10:28 +0100 Received: from mol by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ioQHD-0004cX-SH for ptxdist@pengutronix.de; Mon, 06 Jan 2020 12:10:27 +0100 Date: Mon, 6 Jan 2020 12:10:27 +0100 From: Michael Olbrich Message-ID: <20200106111027.GF5858@pengutronix.de> References: <20191210200817.GA759825@lenoch> <20191210200905.GA948325@lenoch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191210200905.GA948325@lenoch> Subject: Re: [ptxdist] [PATCH 1/4] pam: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Tue, Dec 10, 2019 at 09:09:05PM +0100, Ladislav Michl wrote: > Signed-off-by: Ladislav Michl See my comments for the last version. Michael > --- > rules/pam.in | 10 +++++++ > rules/pam.make | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 83 insertions(+) > create mode 100644 rules/pam.in > create mode 100644 rules/pam.make > > diff --git a/rules/pam.in b/rules/pam.in > new file mode 100644 > index 000000000..75d5ef42c > --- /dev/null > +++ b/rules/pam.in > @@ -0,0 +1,10 @@ > +## SECTION=security > + > +config PAM > + tristate > + prompt "PAM" > + select LIBC_CRYPT > + help > + Linux-PAM (Pluggable Authentication Modules for Linux) is a suite > + of shared libraries that enable the local system administrator to > + choose how applications authenticate users. > diff --git a/rules/pam.make b/rules/pam.make > new file mode 100644 > index 000000000..130744db8 > --- /dev/null > +++ b/rules/pam.make > @@ -0,0 +1,73 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2019 by Ladislav Michl > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PAM) += pam > + > +# > +# Paths and names > +# > +PAM_VERSION := 1.3.1 > +PAM_MD5 := 558ff53b0fc0563ca97f79e911822165 > +PAM := Linux-PAM-$(PAM_VERSION) > +PAM_SUFFIX := tar.xz > +PAM_URL := https://github.com/linux-pam/linux-pam/releases/download/v$(PAM_VERSION)/$(PAM).$(PAM_SUFFIX) > +PAM_SOURCE := $(SRCDIR)/$(PAM).$(PAM_SUFFIX) > +PAM_DIR := $(BUILDDIR)/$(PAM) > +PAM_LICENSE := unknown > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# autoconf > +# > +PAM_CONF_TOOL := autoconf > +PAM_CONF_OPT := \ > + $(CROSS_AUTOCONF_USR) \ > + $(GLOBAL_LARGE_FILE_OPTION) \ > + --disable-lckpwdf \ > + --disable-cracklib \ > + --disable-audit \ > + --enable-db=no \ > + --disable-nis \ > + --disable-selinux \ > + --disable-regenerate-docu \ > + --disable-nls \ > + --disable-rpath > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/pam.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, pam) > + @$(call install_fixup, pam,PRIORITY,optional) > + @$(call install_fixup, pam,SECTION,base) > + @$(call install_fixup, pam,AUTHOR,"Ladislav Michl ") > + @$(call install_fixup, pam,DESCRIPTION,missing) > + > + @$(call install_lib, pam, 0, 0, 0644, libpamc) > + @$(call install_lib, pam, 0, 0, 0644, libpam_misc) > + @$(call install_lib, pam, 0, 0, 0644, libpam) > + > + @$(call install_tree, pam, 0, 0, -, /usr/lib/security) > + > + @$(call install_alternative, pam, 0, 0, 0644, /etc/environment) > + @$(call install_alternative_tree, pam, 0, 0, /etc/security) > + > + @$(call install_finish, pam) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 2.24.0 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de