From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <54EDF381.1000309@pengutronix.de> Date: Wed, 25 Feb 2015 17:08:33 +0100 From: Marc Kleine-Budde MIME-Version: 1.0 References: <1424879663-24528-1-git-send-email-oliver.graute@neuhaus.de> In-Reply-To: <1424879663-24528-1-git-send-email-oliver.graute@neuhaus.de> Subject: Re: [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: , Content-Type: multipart/mixed; boundary="===============0152221407==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Oliver Graute This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0152221407== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Xck3h9qtkkepjVJ1F0dln40r2ITNmx9tS" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Xck3h9qtkkepjVJ1F0dln40r2ITNmx9tS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/25/2015 04:54 PM, Oliver Graute wrote: > this patch add Linux-PAM support to ptxdist >=20 > 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 >=20 > 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=3Dnetworking > + > +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 Germa= ny, Oliver Graute > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license condit= ions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_LINUX_PAM) +=3D linux-pam > + > +# > +# Paths and names > +# > +LINUX_PAM_VERSION :=3D 1.1.8 > +LINUX_PAM_MD5 :=3D please add MD5. > +LINUX_PAM :=3D Linux-PAM-$(LINUX_PAM_VERSION) > +LINUX_PAM_SUFFIX :=3D tar.gz why not use the tar.bz2 it's smaller. > +LINUX_PAM_URL :=3D http://www.linux-pam.org/library/$(LINUX_PAM).$(LI= NUX_PAM_SUFFIX) > +LINUX_PAM_SOURCE :=3D $(SRCDIR)/$(LINUX_PAM).$(LINUX_PAM_SUFFIX) > +LINUX_PAM_DIR :=3D $(BUILDDIR)/$(LINUX_PAM) > +LINUX_PAM_LICENSE :=3D gpl We usually write GPL in uppercase, in AFICS fact pam is dual licensed under GPL (version not stated) and I think a BSD license, but I'm not sure about that. > + please add the usual > # ---------------------------------------------------------------------= ------- =20 > # Prepare = =20 > # ---------------------------------------------------------------------= ------- =20 separator > + > +# > +# autoconf > +# > +LINUX_PAM_CONF_TOOL :=3D 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/pa= m.conf, /etc/pam.conf) please use install_alternative instead. > + @$(call install_finish, linux-pam) > + > + @$(call touch) > + > +# vim: syntax=3Dmake >=20 Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --Xck3h9qtkkepjVJ1F0dln40r2ITNmx9tS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJU7fOHAAoJECte4hHFiupUco0QAIWyEwqXBpGGick9WQYXFhsJ jS/RMlWTCJBeYD7UqgQ8Xg/vc9NTHJxBlL0pD70fWasTS7yp04o9XF9sw6mu+eVA yGXwr11ncUqJXkDBy6lYKsXcxk2PIvSBzu6sXM+a/uZpc6a8Jhjn8HYUME4zvufZ lII1CdYoYMUEaYAcllP/MiM57iQP/5xyvIdTKaO7JV/uZ044wVkQqdU5PjsOnjK4 hrM0F1oe1IIfu+dOqHue4yURTdkE9r+symNKR6LbOGP09/YbF9dBJyr09+oUaeOW paEct5D7EdRul4ZJCar57vH4QWjKjx3e7Qqx+FgGVsGsIppkG0Li9VZNZWOsVStr w0IXq84MUYoB51c6xdi6u9embxhMa+lIFeww5PjVbGlKoSo84ZkzYCY7CBxhnluQ 5NVlSL0MLD68L+t4HsO6K1sO8MprGkCzusCu0UE7Sl82j9l31zSvWDnHbmOdlCHL ljAjM/xEgBLpkKwmXTcLGCO3rsovBdCwjs3x/4EDHcrFXzI8ktVS1G13Ew9Zsy9a mEjhwtKKIJKOzWlpo5RcoGN+JpXLrG3BUQo6BW2AFyRXFPZymSGFxNXNyvHL3ESJ 8a/VleS2uuU7BnKD+FH0eDBIWHJaoFbgbISNLK5ibrDJBC/wAzOJSa9W8sVSASgG 0eAgRawwypFZ9KH8ppn9 =Qkhk -----END PGP SIGNATURE----- --Xck3h9qtkkepjVJ1F0dln40r2ITNmx9tS-- --===============0152221407== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0152221407==--