kumba       14/08/13 05:47:27

  Modified:             ChangeLog
  Added:                ncpfs-2.2.6-r3.ebuild
  Log:
  Added 2.2.6-r3 that contains patches from Mageia and Debian that address 
several issues, including bugs #371477, #497278, & #446696.
  
  (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 
D25D95E3)

Revision  Changes    Path
1.33                 net-fs/ncpfs/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/ncpfs/ChangeLog?rev=1.33&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/ncpfs/ChangeLog?rev=1.33&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/ncpfs/ChangeLog?r1=1.32&r2=1.33

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ChangeLog,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- ChangeLog   4 Dec 2012 10:21:15 -0000       1.32
+++ ChangeLog   13 Aug 2014 05:47:27 -0000      1.33
@@ -1,6 +1,23 @@
 # ChangeLog for net-fs/ncpfs
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ChangeLog,v 1.32 2012/12/04 
10:21:15 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ChangeLog,v 1.33 2014/08/13 
05:47:27 kumba Exp $
+
+*ncpfs-2.2.6-r3 (13 Aug 2014)
+
+  13 Aug 2014; Joshua Kinard <ku...@gentoo.org> +ncpfs-2.2.6-r3.ebuild,
+  +files/ncpfs-2.2.6-align-fix.patch,
+  +files/ncpfs-2.2.6-cve-2011-1679-1680.patch,
+  +files/ncpfs-2.2.6-drop-kernel-check.patch,
+  +files/ncpfs-2.2.6-drop-mtab-support.patch,
+  +files/ncpfs-2.2.6-getuid-fix.patch,
+  +files/ncpfs-2.2.6-ldflags-support.patch,
+  +files/ncpfs-2.2.6-makefile-fix-soname-link.patch,
+  +files/ncpfs-2.2.6-no-suid-root.patch,
+  +files/ncpfs-2.2.6-pam_ncp_auth-fix.patch, +files/ncpfs-2.2.6-pie-fix.patch,
+  +files/ncpfs-2.2.6-remove-libncp_atomic-header.patch,
+  +files/ncpfs-2.2.6-servername-array-fix.patch:
+  Added 2.2.6-r3 that contains patches from Mageia and Debian that address
+  several issues, including bugs #371477, #497278, & #446696.
 
   04 Dec 2012;  <a...@gentoo.org> ncpfs-2.2.6-r2.ebuild:
   stable for x86, wrt to bug #418227



1.1                  net-fs/ncpfs/ncpfs-2.2.6-r3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/ncpfs/ncpfs-2.2.6-r3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/ncpfs/ncpfs-2.2.6-r3.ebuild?rev=1.1&content-type=text/plain

Index: ncpfs-2.2.6-r3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/ncpfs/ncpfs-2.2.6-r3.ebuild,v 1.1 
2014/08/13 05:47:27 kumba Exp $

EAPI="5"

inherit eutils pam

DESCRIPTION="Provides Access to Netware services using the NCP protocol"
HOMEPAGE="ftp://platan.vc.cvut.cz/pub/linux/ncpfs/";
SRC_URI="ftp://platan.vc.cvut.cz/pub/linux/${PN}/${P}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
IUSE="nls pam php"

DEPEND="nls? ( sys-devel/gettext )
        pam? ( virtual/pam )
        php? ( || ( dev-lang/php virtual/httpd-php ) )"

RDEPEND="${DEPEND}"

src_prepare() {
        # Add patch for PHP extension sandbox violation
        epatch "${FILESDIR}"/${PN}-2.2.5-php.patch
        epatch "${FILESDIR}"/${P}-gcc4.patch
        epatch "${FILESDIR}"/${P}-missing-includes.patch

        # Add a patch to fix multiple vulnerabilities.
        # CVE-2010-0788, CVE-2010-0790, & CVE-2010-0791.
        # http://seclists.org/fulldisclosure/2010/Mar/122
        epatch "${FILESDIR}"/${P}-multiple-vulns.patch

        # Bug 371477
        epatch "${FILESDIR}"/${P}-cve-2011-1679-1680.patch

        # Add a patch that removes the __attribute__((packed)); directive
        # from several struct members in include/ncp/ncplib.h.  This will
        # cut down on a large number of compile warnings generated by modern
        # gcc releases.
        epatch "${FILESDIR}"/${P}-remove-packed-attrib.patch

        # Misc patches borrowed from Mageia.
        epatch "${FILESDIR}"/${P}-align-fix.patch
        epatch "${FILESDIR}"/${P}-getuid-fix.patch
        epatch "${FILESDIR}"/${P}-pam_ncp_auth-fix.patch
        epatch "${FILESDIR}"/${P}-servername-array-fix.patch

        # Misc patches borrowed from Debian.
        # Fixes Bug #497278
        epatch "${FILESDIR}"/${P}-drop-kernel-check.patch
        epatch "${FILESDIR}"/${P}-drop-mtab-support.patch
        epatch "${FILESDIR}"/${P}-no-suid-root.patch
        epatch "${FILESDIR}"/${P}-remove-libncp_atomic-header.patch

        # Bug #273484.
        sed -i '/ldconfig/d' lib/Makefile.in

        # Support LDFLAGS.
        epatch "${FILESDIR}"/${P}-ldflags-support.patch

        # Bug 446696.  This might need re-diffing if additional Makefile
        # fixes are added.
        epatch "${FILESDIR}"/${P}-makefile-fix-soname-link.patch
}

src_configure() {
        econf \
                $(use_enable nls) \
                $(use_enable pam pam "$(getpam_mod_dir)") \
                $(use_enable php)
}

src_install() {
        dodir $(getpam_mod_dir) /usr/sbin /sbin

        # Bug #446696.
        #ln -s "${D}"/usr/lib64/libncp.so.2.3 "${D}"/libncp.so.2.3.0

        # Install the main programs, then the headers.
        emake DESTDIR="${D}" install || die
        emake DESTDIR="${D}" install-dev || die

        # Install a startup script in /etc/init.d and a conf file in /etc/conf.d
        newconfd "${FILESDIR}"/ipx.confd ipx
        newinitd "${FILESDIR}"/ipx.init ipx

        # Docs
        dodoc FAQ README
}




Reply via email to