From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YQeIE-00005O-ID for ptxdist@pengutronix.de; Wed, 25 Feb 2015 16:54:35 +0100 Received: by mail-wi0-f180.google.com with SMTP id h11so6100931wiw.1 for ; Wed, 25 Feb 2015 07:54:28 -0800 (PST) From: Oliver Graute Date: Wed, 25 Feb 2015 16:54:23 +0100 Message-Id: <1424879663-24528-1-git-send-email-oliver.graute@neuhaus.de> Subject: [ptxdist] [PATCH] linux-pam: added Linux-PAM support to ptxdist Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Oliver Graute this patch add Linux-PAM support to ptxdist Signed-off-by: Oliver Graute --- rules/linux-pam.in | 13 ++++++++++++ rules/linux-pam.make | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 rules/linux-pam.in create mode 100644 rules/linux-pam.make diff --git a/rules/linux-pam.in b/rules/linux-pam.in new file mode 100644 index 0000000..d76e4db --- /dev/null +++ b/rules/linux-pam.in @@ -0,0 +1,13 @@ +## SECTION=networking + +config LINUX_PAM + tristate + prompt "linux-pam" + help + Linux-PAM is a free implementation of the following DCE-RFC from + Sunsoft. PAM provides a way to develop programs that are + independent of authentication scheme. These programs need + "authentication modules" to be attatched to them at run-time + in order to work. Which authentication module is to be attatched + is dependent upon the local system setup and is at the discretion + of the local system administrator. diff --git a/rules/linux-pam.make b/rules/linux-pam.make new file mode 100644 index 0000000..e8fbd02 --- /dev/null +++ b/rules/linux-pam.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LINUX_PAM) += linux-pam + +# +# Paths and names +# +LINUX_PAM_VERSION := 1.1.8 +LINUX_PAM_MD5 := +LINUX_PAM := Linux-PAM-$(LINUX_PAM_VERSION) +LINUX_PAM_SUFFIX := tar.gz +LINUX_PAM_URL := http://www.linux-pam.org/library/$(LINUX_PAM).$(LINUX_PAM_SUFFIX) +LINUX_PAM_SOURCE := $(SRCDIR)/$(LINUX_PAM).$(LINUX_PAM_SUFFIX) +LINUX_PAM_DIR := $(BUILDDIR)/$(LINUX_PAM) +LINUX_PAM_LICENSE := gpl + + +# +# autoconf +# +LINUX_PAM_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/linux-pam.targetinstall: + @$(call targetinfo) + + @$(call install_init, linux-pam) + @$(call install_fixup, linux-pam,PRIORITY,optional) + @$(call install_fixup, linux-pam,SECTION,base) + @$(call install_fixup, linux-pam,AUTHOR,"") + @$(call install_fixup, linux-pam,DESCRIPTION,missing) + + @$(call install_lib, linux-pam, 0, 0, 0644, libpam) + + @$(call install_copy, linux-pam, 0, 0, 0644, $(LINUX_PAM_DIR)/conf/pam.conf, /etc/pam.conf) + @$(call install_finish, linux-pam) + + @$(call touch) + +# vim: syntax=make -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de