Re: [arch-general] Distribution license of package information on the website?
On 29/05/18 18:27, Giancarlo Razzolini via arch-general wrote: > Well, I never thought about licensing PKGBUILD's. Honestly, I don't > think we need a license. As a data point, Debian packaging files contain a debian/copyright [1] file which allows the package maintainer to specify a license for the packaging files (debian/*). (Generally things under debian/* are, or perhaps default to, GPL 2 as per the template.) As things are, contributors/maintainers have to license the use of their work in some way otherwise packages couldn't be built from the packaging files; packaging files are still "IP" therefore probably should be licensed. The AUR in particular is interesting as there's nothing I can see that specifies that the user-submitted packaging files are available for "free" use and which prevents me from slapping a restrictive distribution license on them and trying to charge for their use/redistribution/whatever. (And e.g. what happens if the package is adopted to [community]? Could I say I wanted payment because Arch gained the benefit of my work?) (IANAL but I /am/ a pessimist) [1] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ signature.asc Description: OpenPGP digital signature
Re: [arch-general] Distribution license of package information on the website?
On 05/30/2018 02:55 PM, Guus Snijders via arch-general wrote: > Op di 29 mei 2018 21:18 schreef Hong Xu : > >> On 05/29/2018 10:27 AM, Giancarlo Razzolini via arch-general wrote: >>> Em maio 29, 2018 8:27 Eli Schwartz via arch-general escreveu: I'm of the opinion that there cannot be a license requirement for reuse at all, since it's not original enough, and explicitly clarify this in https://github.com/eli-schwartz/pkgbuilds#copyright > > > [...] > > > (IANAL) While every single PKGBUILD file may be trivial enough and thus > > does not require a license, the aggregation of them is actually >> significant. [...] > > > I >> think this can be eventually harmful for ArchLinux. For example, one can >> host an internal mirror for ArchLinux repositories without signing >> explicit agreement with the owner of the repository data. Even, as a >> user, downloading repository data is a form of reproducing. >> > > Ianal either (but also not an American), I fail to see how mirroring *free* > software can be harmful for that same free software. It's not as if "we" > are obliged (by contract or law) to ensure quality or something. With OSS > you get what you pay for; if your kitten gets eaten in the process, too > bad... > > Now, if we were talking about commercial software, that might be something > else. But AFAIK that has no real place in our repos. > > The harmful part is not about mirroring the software themselves, but the metadata created by package maintainers. Hong
Re: [arch-general] Distribution license of package information on the website?
Op di 29 mei 2018 21:18 schreef Hong Xu : > On 05/29/2018 10:27 AM, Giancarlo Razzolini via arch-general wrote: > > Em maio 29, 2018 8:27 Eli Schwartz via arch-general escreveu: > >> > >> I'm of the opinion that there cannot be a license requirement for reuse > >> at all, since it's not original enough, and explicitly clarify this in > >> https://github.com/eli-schwartz/pkgbuilds#copyright > >> [...] (IANAL) While every single PKGBUILD file may be trivial enough and thus does not require a license, the aggregation of them is actually > significant. [...] I > think this can be eventually harmful for ArchLinux. For example, one can > host an internal mirror for ArchLinux repositories without signing > explicit agreement with the owner of the repository data. Even, as a > user, downloading repository data is a form of reproducing. > Ianal either (but also not an American), I fail to see how mirroring *free* software can be harmful for that same free software. It's not as if "we" are obliged (by contract or law) to ensure quality or something. With OSS you get what you pay for; if your kitten gets eaten in the process, too bad... Now, if we were talking about commercial software, that might be something else. But AFAIK that has no real place in our repos. Mvg, Guus Snijders
Re: [arch-general] Set ip lan address /etc/environment
On Wed, May 30, 2018 at 01:07:59PM +0200, Maykel Franco via arch-general wrote: > Hi, I put this text in /etc/environment: > > $ source /etc/environment > > ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d > ' ' -f 1)" > > $ echo $ip > > 192.168.0.33 > > Works fine, but when I reboot my archlinux: > > $ echo $ip > > $(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1) > > > What's happened?? Is necessary exec source /etc/environment after every > reboot? > > Thanks in advanced. /etc/environment is for PAM not shell, so it only allows ip=xxx.yyy.zzz.aaa . Also, /etc/profile is for LOGIN shells, meaning that from scripts or when doing scp(1) it won't be read. What exactly are you trying to achieve? Cheers, -- Leonid Isaev
Re: [arch-general] Set ip lan address /etc/environment
Hi Maykel, > Put file /etc/profile.d/ip.sh with the content: > > ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f > 1)" To debug this kind of thing, e.g. to see if it even runs, intersperse tee(1)s to files that can be inspected afterwards. ip="$(ifconfig | tee /tmp/d.ifc | grep -A 1 'eth0' | tail -1 | tee ... > /etc/security/pam_env.conf : > ip DEFAULT="" OVERRIDE="$(ifconfig | grep -A 1 I see nothing to suggest PAM supports sh's `$()' syntax, and wouldn't expect it to. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy
Re: [arch-general] Set ip lan address /etc/environment
Perhaps head over to #archlinux on Freenode irc to get some more interactive help…? On 30/05/2018 13:31, Maykel Franco via arch-general wrote: > 2018-05-30 13:20 GMT+02:00 Ralph Corderoy : >> Hi Maykel, >> >>> $ source /etc/environment >>> ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' >>> -f 1)" >> https://wiki.archlinux.org/index.php/Environment_variables#Globally says >> /etc/environment doesn't take code, just simple assignments. >> Also see pam_env(8) and the rest of that wiki page. >> >> -- >> Cheers, Ralph. >> https://plus.google.com/+RalphCorderoy > > Thanks for your response but doesn't work > > Put file /etc/profile.d/ip.sh with the content: > > ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d > ' ' -f 1)" > > Not work. > > And I probe this: > > /etc/security/pam_env.conf : > > ip DEFAULT="" OVERRIDE="$(ifconfig | grep -A 1 > 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)" > > And not working...
Re: [arch-general] Set ip lan address /etc/environment
2018-05-30 13:20 GMT+02:00 Ralph Corderoy : > Hi Maykel, > >> $ source /etc/environment >> ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' >> -f 1)" > > https://wiki.archlinux.org/index.php/Environment_variables#Globally says > /etc/environment doesn't take code, just simple assignments. > Also see pam_env(8) and the rest of that wiki page. > > -- > Cheers, Ralph. > https://plus.google.com/+RalphCorderoy Thanks for your response but doesn't work Put file /etc/profile.d/ip.sh with the content: ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)" Not work. And I probe this: /etc/security/pam_env.conf : ip DEFAULT="" OVERRIDE="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)" And not working...
Re: [arch-general] Set ip lan address /etc/environment
Hi Maykel, > $ source /etc/environment > ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f > 1)" https://wiki.archlinux.org/index.php/Environment_variables#Globally says /etc/environment doesn't take code, just simple assignments. Also see pam_env(8) and the rest of that wiki page. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy
Re: [arch-general] Set ip lan address /etc/environment
Why not put it in ~/.profile? Or if it needs to be system wide, in /etc/profile.d/ip.sh? On 30/05/2018 13:07, Maykel Franco via arch-general wrote: > Hi, I put this text in /etc/environment: > > $ source /etc/environment > > ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d > ' ' -f 1)" > > $ echo $ip > > 192.168.0.33 > > Works fine, but when I reboot my archlinux: > > $ echo $ip > > $(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1) > > > What's happened?? Is necessary exec source /etc/environment after every > reboot? > > Thanks in advanced.
[arch-general] Set ip lan address /etc/environment
Hi, I put this text in /etc/environment: $ source /etc/environment ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)" $ echo $ip 192.168.0.33 Works fine, but when I reboot my archlinux: $ echo $ip $(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1) What's happened?? Is necessary exec source /etc/environment after every reboot? Thanks in advanced.