Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Cc: Donnie Berkholz <dberkholz@g.o>, rajiv@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/zaptel: ChangeLog zaptel-1.2.22.1-r1.ebuild
Date: Tue, 15 Jan 2008 09:58:39
Message-Id: 200801150458.35669.vapier@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/zaptel: ChangeLog zaptel-1.2.22.1-r1.ebuild by Donnie Berkholz
1 On Tuesday 15 January 2008, Donnie Berkholz wrote:
2 > On 05:34 Tue 15 Jan , Rajiv Aaron Manglani (rajiv) wrote:
3 > > 1.1 net-misc/zaptel/zaptel-1.2.22.1-r1.ebuild
4 > >
5 > > file :
6 > > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/zaptel/zaptel-1.
7 > >2.22.1-r1.ebuild?rev=1.1&view=markup plain:
8 > > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/zaptel/zaptel-1.
9 > >2.22.1-r1.ebuild?rev=1.1&content-type=text/plain
10 > >
11 > > # fix permissions if there's no udev around
12 > > if [[ -d ${D}/dev/zap ]]; then
13 > > chown -R root:dialout ${D}/dev/zap
14 > > chmod -R u=rwX,g=rwX,o= ${D}/dev/zap
15 > > fi
16 >
17 > You can check whether udev's around by looking for /dev/.udev -- that
18 > way you don't hack around with /dev files for no reason.
19
20 but what about mdev ? devfs ? $random-magic-hotplug-flavor ?
21
22 > > # fix permissions if there's no udev around
23 > > if [[ -d ${ROOT}dev/zap ]]; then
24 > > chown -R root:dialout ${ROOT}dev/zap
25 > > chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap
26 > > fi
27 > > }
28 >
29 > And again..
30
31 i'd just straight up say that /dev/ management is the user's problem, not
32 ebuilds, and it's up to the user to dictate policies. keep the ebuilds
33 clean.
34 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature