From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B27C4E00A01; Thu, 6 Aug 2015 07:22:47 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from smtp.twobit.us (smtp.twobit.us [38.83.192.235]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DA57FE00867 for ; Thu, 6 Aug 2015 07:22:45 -0700 (PDT) Received: from c-50-185-54-102.hsd1.ca.comcast.net ([50.185.54.102] helo=[10.79.148.103]) by smtp.twobit.us with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1ZNM3R-0006Bw-Px; Thu, 06 Aug 2015 14:21:59 +0000 Message-ID: <55C36DAB.1080002@twobit.us> Date: Thu, 06 Aug 2015 07:22:35 -0700 From: Philip Tricca User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: yocto@yoctoproject.org References: <1438530765-127834-1-git-send-email-flihp@twobit.us> In-Reply-To: <1438530765-127834-1-git-send-email-flihp@twobit.us> X-SA-Exim-Connect-IP: 50.185.54.102 X-SA-Exim-Mail-From: flihp@twobit.us X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on smtp.twobit.us) Subject: Re: [][meta-selinux] libpam: Upgrade recipe with wildcard. X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2015 14:22:47 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit This is a duplicate. Please disregard in favor of: https://lists.yoctoproject.org/pipermail/yocto/2015-July/025833.html Philip On 08/02/2015 08:52 AM, flihp@twobit.us wrote: > From: Philip Tricca > > The DESTDIR prefix patch is now upstream and no longer necessary. > > Signed-off-by: Philip Tricca > --- > .../pam/libpam/sepermit-add-DESTDIR-prefix.patch | 31 ---------------------- > recipes-extended/pam/libpam_1.%.bbappend | 8 ++++++ > recipes-extended/pam/libpam_1.1.6.bbappend | 10 ------- > 3 files changed, 8 insertions(+), 41 deletions(-) > delete mode 100644 recipes-extended/pam/libpam/sepermit-add-DESTDIR-prefix.patch > create mode 100644 recipes-extended/pam/libpam_1.%.bbappend > delete mode 100644 recipes-extended/pam/libpam_1.1.6.bbappend > > diff --git a/recipes-extended/pam/libpam/sepermit-add-DESTDIR-prefix.patch b/recipes-extended/pam/libpam/sepermit-add-DESTDIR-prefix.patch > deleted file mode 100644 > index d48d386..0000000 > --- a/recipes-extended/pam/libpam/sepermit-add-DESTDIR-prefix.patch > +++ /dev/null > @@ -1,31 +0,0 @@ > -Subject: [PATCH] libpam: add missing DESTDIR prefix > - > -The DESTDIR prefix is missing, this will cause build failures for > -mkdir /var/run/sepermit on the host. > - > -| mkdir -p /var/run/sepermit > -| mkdir: cannot create directory `/var/run/sepermit': Permission denied > - > -Upstream-Status: Pending > - > -Signed-off-by: Xin Ouyang > ---- > - modules/pam_sepermit/Makefile.am | 2 +- > - 1 files changed, 1 insertions(+), 1 deletions(-) > - > -diff --git a/modules/pam_sepermit/Makefile.am b/modules/pam_sepermit/Makefile.am > -index cfc5594..bc82275 100644 > ---- a/modules/pam_sepermit/Makefile.am > -+++ b/modules/pam_sepermit/Makefile.am > -@@ -35,7 +35,7 @@ if HAVE_LIBSELINUX > - securelib_LTLIBRARIES = pam_sepermit.la > - > - install-data-local: > -- mkdir -p $(sepermitlockdir) > -+ mkdir -p $(DESTDIR)$(sepermitlockdir) > - endif > - if ENABLE_REGENERATE_MAN > - noinst_DATA = README pam_sepermit.8 sepermit.conf.5 > --- > -1.7.5.4 > - > diff --git a/recipes-extended/pam/libpam_1.%.bbappend b/recipes-extended/pam/libpam_1.%.bbappend > new file mode 100644 > index 0000000..100a376 > --- /dev/null > +++ b/recipes-extended/pam/libpam_1.%.bbappend > @@ -0,0 +1,8 @@ > +#FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > +FILESPATH_append := ":${@base_set_filespath(['${THISDIR}/${PN}'], d)}" > + > +PR .= ".4" > + > +inherit enable-selinux > + > +RDEPENDS_${PN}-runtime += "${@target_selinux(d, 'pam-plugin-selinux')}" > diff --git a/recipes-extended/pam/libpam_1.1.6.bbappend b/recipes-extended/pam/libpam_1.1.6.bbappend > deleted file mode 100644 > index 71acecc..0000000 > --- a/recipes-extended/pam/libpam_1.1.6.bbappend > +++ /dev/null > @@ -1,10 +0,0 @@ > -#FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > -FILESPATH_append := ":${@base_set_filespath(['${THISDIR}/${PN}'], d)}" > - > -SRC_URI += "file://sepermit-add-DESTDIR-prefix.patch" > - > -PR .= ".4" > - > -inherit enable-selinux > - > -RDEPENDS_${PN}-runtime += "${@target_selinux(d, 'pam-plugin-selinux')}" >