FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 08-04-2012, 07:31 AM
Samuli Suominen
 
Default gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

If you don't use double [[ then ${ROOT} will need "" quoting

On 08/04/2012 12:29 AM, William Hubbs (williamh) wrote:

williamh 12/08/03 21:29:17

Modified: udev-187-r1.ebuild udev-9999.ebuild ChangeLog
Log:
Add a warning for bug #429466 wrt the /lib/udev->/usr/lib/udev
migration.

(Portage version: 2.2.0_alpha120/cvs/Linux i686)

Revision Changes Path
1.2 sys-fs/udev/udev-187-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild?r1=1.1&r2=1.2

Index: udev-187-r1.ebuild
================================================== =================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- udev-187-r1.ebuild 3 Aug 2012 00:57:06 -0000 1.1
+++ udev-187-r1.ebuild 3 Aug 2012 21:29:16 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild,v 1.1 2012/08/03 00:57:06 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-187-r1.ebuild,v 1.2 2012/08/03 21:29:16 williamh Exp $

EAPI=4

@@ -381,6 +381,17 @@
ewarn "If you are using standalone udev, consolekithandles this"
ewarn "functionality."

+ if [ -d ${ROOT}/lib/udev ]
+ then
+ ewarn
+ ewarn "This version of udev moves the files that were installed in"
+ ewarn "/lib/udev to /usr/lib/udev."
+ ewarn "We include a backward compatibility patch for gentoo to"
+ ewarn "allow the rules in /lib/udev/rules.d to be read. However,"
+ ewarn "bugs should be filed against packages that are installing"
+ ewarn "files in /lib/udev so they can be fixed."
+ fi
+
ewarn
ewarn "You need to restart udev as soon as possible to make the upgrade go"
ewarn "into affect."



1.102 sys-fs/udev/udev-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.102&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?rev=1.102&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/udev-9999.ebuild?r1=1.101&r2=1.102

Index: udev-9999.ebuild
================================================== =================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- udev-9999.ebuild 3 Aug 2012 00:57:06 -0000 1.101
+++ udev-9999.ebuild 3 Aug 2012 21:29:16 -0000 1.102
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.101 2012/08/03 00:57:06 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.102 2012/08/03 21:29:16 williamh Exp $

EAPI=4

@@ -381,6 +381,17 @@
ewarn "If you are using standalone udev, consolekithandles this"
ewarn "functionality."

+ if [ -d ${ROOT}/lib/udev ]
+ then
+ ewarn
+ ewarn "This version of udev moves the files that were installed in"
+ ewarn "/lib/udev to /usr/lib/udev."
+ ewarn "We include a backward compatibility patch for gentoo to"
+ ewarn "allow the rules in /lib/udev/rules.d to be read. However,"
+ ewarn "bugs should be filed against packages that are installing"
+ ewarn "files in /lib/udev so they can be fixed."
+ fi
+
ewarn
ewarn "You need to restart udev as soon as possible to make the upgrade go"
ewarn "into affect."



1.704 sys-fs/udev/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.704&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?rev=1.704&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/udev/ChangeLog?r1=1.703&r2=1.704

Index: ChangeLog
================================================== =================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v
retrieving revision 1.703
retrieving revision 1.704
diff -u -r1.703 -r1.704
--- ChangeLog 3 Aug 2012 00:57:06 -0000 1.703
+++ ChangeLog 3 Aug 2012 21:29:16 -0000 1.704
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.703 2012/08/03 00:57:06 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.704 2012/08/03 21:29:16 williamh Exp $
+
+ 03 Aug 2012; William Hubbs <williamh@gentoo.org> udev-187-r1.ebuild,
+ udev-9999.ebuild:
+ Add a warning for bug #429466 wrt the /lib/udev->/usr/lib/udev migration.

*udev-187-r1 (03 Aug 2012)
 
Old 08-04-2012, 07:22 PM
Doug Goldstein
 
Default gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

On Sat, Aug 4, 2012 at 2:31 AM, Samuli Suominen <ssuominen@gentoo.org> wrote:
> If you don't use double [[ then ${ROOT} will need "" quoting
>

Don't do top post code reviews. Snip out the context and do code
reviews inline so that your feedback is meaningful. Top posting and
leaving the entire commit with CVS metadata and all is just wasteful
and silly.

--
Doug Goldstein
 
Old 08-04-2012, 08:49 PM
William Hubbs
 
Default gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

On Sat, Aug 04, 2012 at 02:22:52PM -0500, Doug Goldstein wrote:
> On Sat, Aug 4, 2012 at 2:31 AM, Samuli Suominen <ssuominen@gentoo.org> wrote:
> > If you don't use double [[ then ${ROOT} will need "" quoting
> >
>
> Don't do top post code reviews. Snip out the context and do code
> reviews inline so that your feedback is meaningful. Top posting and
> leaving the entire commit with CVS metadata and all is just wasteful
> and silly.

This has been fixed.

WRT Doug's request, the important part is "snip out the context". Don't
just insert comments and leave the entire commit in the message.

Thanks,

William
 
Old 08-05-2012, 11:20 PM
Marc Schiffbauer
 
Default gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

Am Samstag, 4. August 2012, 10:31:05 schrieb Samuli Suominen:
> > + if [ -d ${ROOT}/lib/udev ]

> If you don't use double [[ then ${ROOT} will need "" quoting

This was only true if ${ROOT} stood there on its own. IMO if you have
${ROOT}/foo you do not need "" quoting because even if $ROOT is empty you will
not get a syntaxt error.

-Marc
--
0x35A64134 - 8AAC 5F46 83B4 DB70 8317 3723 296C 6CCA 35A6 4134
 
Old 08-05-2012, 11:26 PM
Diego Elio Pettenò
 
Default gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

On 05/08/2012 16:20, Marc Schiffbauer wrote:
> This was only true if ${ROOT} stood there on its own. IMO if you have
> ${ROOT}/foo you do not need "" quoting because even if $ROOT is empty you will
> not get a syntaxt error.

Different issue I guess, here's it's about having spaces in there, not
the syntax error.

--
Diego Elio Pettenò — Flameeyes
flameeyes@flameeyes.eu — http://blog.flameeyes.eu/
 
Old 08-06-2012, 12:49 AM
Marc Schiffbauer
 
Default gentoo-x86 commit in sys-fs/udev: udev-187-r1.ebuild udev-9999.ebuild ChangeLog

Am Montag, 6. August 2012, 01:25:44 schrieb Peter Stuge:
> Marc Schiffbauer wrote:
> > > > + if [ -d ${ROOT}/lib/udev ]
> > >
> > > If you don't use double [[ then ${ROOT} will need "" quoting
> >
> > This was only true if ${ROOT} stood there on its own. IMO if you have
> > ${ROOT}/foo you do not need "" quoting because even if $ROOT is empty
> > you will not get a syntaxt error.
>
> I think you will run into trouble if it contains whitespace.

Indeed. Convinced.

-Marc
--
0x35A64134 - 8AAC 5F46 83B4 DB70 8317 3723 296C 6CCA 35A6 4134
 

Thread Tools




All times are GMT. The time now is 09:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org