Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What does offensive USE flag do?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tux2015
n00b
n00b


Joined: 31 May 2014
Posts: 27

PostPosted: Wed Jun 04, 2014 5:01 pm    Post subject: What does offensive USE flag do? Reply with quote

Can anyone clarify the meaning of 'offensive' USE flag. For example, what does it enable for net-misc/youtube-dl? What can be offensive in portage? Any concrete example?
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 4294
Location: USA

PostPosted: Wed Jun 04, 2014 5:16 pm    Post subject: Reply with quote

Historically some applications have taunts and verbally offensive error messages that the USE flag enables but to be "politically correct" they were opted out. Sudo is one of them, and I also recall the old /usr/games/bin/fortune command also included colorful remarks that may follow the same issues but don't know what package has that now.

I don't know about other applications however. It's up to your discretion wanting these things.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1622

PostPosted: Wed Jun 04, 2014 5:20 pm    Post subject: Reply with quote

http://www.gentoo.org/dyn/use-index.xml wrote:
offensive | Enable potentially offensive items in packages


For sudo it insults you if you mistype your password. I don't know what it does for the particular package you listed.

An example might be in Sabayon Linux if you misuse equo it will tell you several variations of 'read the manual' in increasingly ridiculing ways before simply defaulting to 'go to hell.' The possible objectiveness of having your computer insult your or do something else you might consider offensive is why the useflag exists. Simply because some people might be offended isn't a good reason to exclude something from the portage tree. At best it is a reason to put a warning on it so people can't complain they weren't warned.

EDIT: I see I was slow pressing submit.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
Chiitoo
l33t
l33t


Joined: 28 Feb 2010
Posts: 933
Location: Here and Away Again

PostPosted: Wed Jun 04, 2014 6:21 pm    Post subject: ><)))°€ Reply with quote

Teegrins, tux2015, et al!


With regards to youtube-dl (and libquvi-scripts, I maybe guess), I believe the flag enables support for “nsfw” sites.

At least that's what the ebuilds told me! ^^
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 4294
Location: USA

PostPosted: Wed Jun 04, 2014 8:34 pm    Post subject: Reply with quote

Then it really should be a "nsfw" flag? :D
Maybe there also needs to be a "parental control" USE flag? :o

Really can't blame the user for pointing to a bad site versus getting vulgar error messages because you don't have a choice upon build...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Chiitoo
l33t
l33t


Joined: 28 Feb 2010
Posts: 933
Location: Here and Away Again

PostPosted: Wed Jun 04, 2014 9:17 pm    Post subject: Reply with quote

Well at least in youtube-dl's case, I'm not sure if it's really necessary (even as it is), or at least I can't imagine a situation where it would be.

As far as I understand, it adds the 'extraction' bits for the specific sites, and it's then possible to use it to download videos from those sites similarly to youtube.

The user would still need the link to a video.

I guess if a browser was managed by, say, a parent, and the little rascals got them naughty links from elsewhere, they would be able to make use of this. How probable is such a scenario though?


I'm not sure if there is any other part (aside from the code) that lists those sites, aside from the --list-extractors option. With that said, I guess it's understandable to have a flag for removing them from that list.
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum