public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/zaptel: ChangeLog zaptel-1.2.22.1-r1.ebuild
       [not found] <E1JEeRq-0003Sn-6j@stork.gentoo.org>
@ 2008-01-15  6:47 ` Donnie Berkholz
  2008-01-15  9:58   ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Donnie Berkholz @ 2008-01-15  6:47 UTC (permalink / raw
  To: gentoo-dev, rajiv

On 05:34 Tue 15 Jan     , Rajiv Aaron Manglani (rajiv) wrote:
> 1.1                  net-misc/zaptel/zaptel-1.2.22.1-r1.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/zaptel/zaptel-1.2.22.1-r1.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/zaptel/zaptel-1.2.22.1-r1.ebuild?rev=1.1&content-type=text/plain

> 	# fix permissions if there's no udev around
> 	if [[ -d ${D}/dev/zap ]]; then
> 		chown -R root:dialout	${D}/dev/zap
> 		chmod -R u=rwX,g=rwX,o= ${D}/dev/zap
> 	fi

You can check whether udev's around by looking for /dev/.udev -- that 
way you don't hack around with /dev files for no reason.

> 	# fix permissions if there's no udev around
> 	if [[ -d ${ROOT}dev/zap ]]; then
> 		chown -R root:dialout	${ROOT}dev/zap
> 		chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap
> 	fi
> }

And again..

Thanks,
Donnie
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/zaptel: ChangeLog zaptel-1.2.22.1-r1.ebuild
  2008-01-15  6:47 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/zaptel: ChangeLog zaptel-1.2.22.1-r1.ebuild Donnie Berkholz
@ 2008-01-15  9:58   ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2008-01-15  9:58 UTC (permalink / raw
  To: gentoo-dev; +Cc: Donnie Berkholz, rajiv

[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]

On Tuesday 15 January 2008, Donnie Berkholz wrote:
> On 05:34 Tue 15 Jan     , Rajiv Aaron Manglani (rajiv) wrote:
> > 1.1                  net-misc/zaptel/zaptel-1.2.22.1-r1.ebuild
> >
> > file :
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/zaptel/zaptel-1.
> >2.22.1-r1.ebuild?rev=1.1&view=markup plain:
> > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/zaptel/zaptel-1.
> >2.22.1-r1.ebuild?rev=1.1&content-type=text/plain
> >
> > 	# fix permissions if there's no udev around
> > 	if [[ -d ${D}/dev/zap ]]; then
> > 		chown -R root:dialout	${D}/dev/zap
> > 		chmod -R u=rwX,g=rwX,o= ${D}/dev/zap
> > 	fi
>
> You can check whether udev's around by looking for /dev/.udev -- that
> way you don't hack around with /dev files for no reason.

but what about mdev ?  devfs ?  $random-magic-hotplug-flavor ?

> > 	# fix permissions if there's no udev around
> > 	if [[ -d ${ROOT}dev/zap ]]; then
> > 		chown -R root:dialout	${ROOT}dev/zap
> > 		chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap
> > 	fi
> > }
>
> And again..

i'd just straight up say that /dev/ management is the user's problem, not 
ebuilds, and it's up to the user to dictate policies.  keep the ebuilds 
clean.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-15  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JEeRq-0003Sn-6j@stork.gentoo.org>
2008-01-15  6:47 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/zaptel: ChangeLog zaptel-1.2.22.1-r1.ebuild Donnie Berkholz
2008-01-15  9:58   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox