mgorny      14/10/13 08:28:56

  Modified:             ChangeLog
  Added:                pmount-0.9.99_alpha-r5.ebuild
  Removed:              pmount-0.9.99_alpha-r4.ebuild
  Log:
  Remove use of deprecated "have" and alias pumount for new bash-completion, 
bug #521158.
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key EFB4464E!)

Revision  Changes    Path
1.112                sys-apps/pmount/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.112&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/ChangeLog?rev=1.112&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/ChangeLog?r1=1.111&r2=1.112

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- ChangeLog   18 Apr 2014 18:19:51 -0000      1.111
+++ ChangeLog   13 Oct 2014 08:28:56 -0000      1.112
@@ -1,6 +1,13 @@
 # ChangeLog for sys-apps/pmount
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.111 
2014/04/18 18:19:51 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pmount/ChangeLog,v 1.112 
2014/10/13 08:28:56 mgorny Exp $
+
+*pmount-0.9.99_alpha-r5 (13 Oct 2014)
+
+  13 Oct 2014; Michał Górny <[email protected]> +pmount-0.9.99_alpha-r5.ebuild,
+  -pmount-0.9.99_alpha-r4.ebuild, files/pmount.bash-completion:
+  Remove use of deprecated "have" and alias pumount for new bash-completion, 
bug
+  #521158.
 
 *pmount-0.9.99_alpha-r4 (18 Apr 2014)
 



1.1                  sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild?rev=1.1&content-type=text/plain

Index: pmount-0.9.99_alpha-r5.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sys-apps/pmount/pmount-0.9.99_alpha-r5.ebuild,v 1.1 
2014/10/13 08:28:56 mgorny Exp $

EAPI=5
inherit eutils user bash-completion-r1

DESCRIPTION="Policy based mounter that gives the ability to mount removable 
devices as a user"
HOMEPAGE="http://pmount.alioth.debian.org/";
SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV/_/-}.orig.tar.bz2"
#SRC_URI="http://alioth.debian.org/frs/download.php/3530/${P/_/-}.tar.bz2";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="crypt"

RDEPEND=">=sys-apps/util-linux-2.17.2
        crypt? ( >=sys-fs/cryptsetup-1.0.6-r2 )"
DEPEND="${RDEPEND}
        dev-util/intltool
        sys-devel/gettext"

S=${WORKDIR}/${P/_/-}

pkg_setup() {
        enewgroup plugdev
}

src_prepare() {
        # Restore default value from pmount <= 0.9.23 wrt #393633
        sed -i -e '/^not_physically_logged_allow/s:=.*:= yes:' etc/pmount.conf 
|| die

        cat <<-EOF > po/POTFILES.skip
        src/conffile.c
        src/configuration.c
        src/loop.c
        EOF

        epatch \
                "${FILESDIR}"/${PN}-0.9.19-testsuite-missing-dir.patch \
                "${FILESDIR}"/${P}-locale-regex.patch
}

src_configure() {
        econf --disable-hal
}

src_test() {
        local testdir=${S}/tests/check_fstab

        ln -s $testdir/a $testdir/b && ln -s $testdir/d $testdir/c && \
                ln -s $testdir/c $testdir/e \
                || die "Unable to create fake symlinks required for testsuite"

        emake check
}

src_install () {
        # Must be run SETUID+SETGID, bug #250106
        exeinto /usr/bin
        exeopts -m 6710 -g plugdev
        doexe src/{p,pu}mount

        dodoc AUTHORS ChangeLog TODO
        doman man/{{p,pu}mount.1,pmount.conf.5}

        insinto /etc
        doins etc/pmount.{allow,conf}

        keepdir /media #501772

        newbashcomp "${FILESDIR}/${PN}.bash-completion" "${PN}"
        bashcomp_alias pmount pumount
}

pkg_postinst() {
        elog
        elog "This package has been installed setuid and setgid."

        elog "The permissions are as such that only users that belong to the 
plugdev"
        elog "group are allowed to run this. But if a script run by root mounts 
a"
        elog "device, members of the plugdev group will have access to it."
        elog
        elog "Please add your user to the plugdev group to be able to mount USB 
drives"
}




Reply via email to