Re: [Slackbuilds-users] Extend FAQ for UID/GID

2018-03-25 Thread Robby Workman
On Tue, 20 Mar 2018 14:59:15 +0100
Andrzej Telszewski  wrote:

> "13. Do you keep a list of non-standard uid and gid numbers that we 
> should use in our scripts?"
> 
> Could this point have somewhere words "group" and "user" added?
> It took me a minute to think that I have to look for "UID" or "GID"
> to find the relevant info.


Done.

-RW


pgpoKnvmFaFla.pgp
Description: OpenPGP digital signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] github doubling tarball name, again

2018-03-25 Thread B Watson
On 3/25/18, David Spencer via SlackBuilds-users
 wrote:

> (1) an http tool like wget that by default ignores what the http
> protocol is telling it.

wget didn't always support Content-Disposition. When support was added,
it was flagged as "experimental" and thus disabled by default. From the
man page:

   --content-disposition
   If this is set to on, experimental (not fully-functional) support for
   "Content-Disposition" headers is enabled. This can
currently result in
   extra round-trips to the server for a "HEAD" request, and is known to
   suffer from a few bugs, which is why it is not currently enabled by
   default.

I wouldn't call wget "broken" because of that. But, that's my opinion,
plenty of room for others...
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] BOINC releases: more github downoad URL befuddlement

2018-03-25 Thread King Beowulf
On 03/25/2018 06:47 PM, Willy Sudiarto Raharjo wrote:
>> TL;DR:
>> What do I put in boinc.info for a download URL for release posted on github?
> 
> try
> 
> https://github.com/BOINC/boinc/archive/client_release/7.10/7.9.3/boinc-client_release-7.9.3.tar.gz
> 
> 
Thanks.  The one permutation I didn't try.  Github (and github users)
makes no freaking sense.



signature.asc
Description: OpenPGP digital signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] BOINC releases: more github downoad URL befuddlement

2018-03-25 Thread Willy Sudiarto Raharjo
> TL;DR:
> What do I put in boinc.info for a download URL for release posted on github?

try

https://github.com/BOINC/boinc/archive/client_release/7.10/7.9.3/boinc-client_release-7.9.3.tar.gz


-- 
Willy Sudiarto Raharjo



signature.asc
Description: OpenPGP digital signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] BOINC releases: more github downoad URL befuddlement

2018-03-25 Thread King Beowulf
I know this comes up way to often, but I am stumped.  How do I get a
proper download URL from github for boinc?  On the release page

https://github.com/BOINC/boinc/releases

when I use a browser (e.g. Firefox) to d/l the tar.gz for
client_release/7.8/7.8.6 I get the file:
boinc-client_release-7.8-7.8.6.tar.gz

the same URL with wget (right-click, copy link location) gives:
7.8.6.tar.gz

The URL Firefox displays in the status bar to click on to d/l is:
https://github.com/BOINC/boinc/archive/client_release/7.8/7.8.6.tar.gz

If I extract the URL Firefox ended up using in its download progress window:
https://codeload.github.com/BOINC/boinc/tar.gz/client_release/7.8/7.8.6
I get a file named simply "7.8.6"

If I use:
wget --content-disposition
https://github.com/BOINC/boinc/archive/client_release/7.8/7.8.6.tar.gz

the downloaded file is as expected:
boinc-client_release-7.8-7.8.6.tar.gz

Why does this have to be so freaking obscure?  Obviously, "7.8.6.tar.gz"
is not usable in .info for SBo automated tools. Looking at other github
examples was of no help - lots of 'ERROR 404: Not Found.' trying to link
to the full file name directly.

TL;DR:
What do I put in boinc.info for a download URL for release posted on github?

Thanks
Ed






signature.asc
Description: OpenPGP digital signature
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Request for UID/GID allocation in uid_gid.txt for 'chrony'

2018-03-25 Thread Matteo Bernardini
2018-03-25 19:46 GMT+02:00 Richard Ellis via SlackBuilds-users
:
>
> Hello,
>
> I am the maintainer of the SlackBuilds 'chrony' build script
> (https://slackbuilds.org/repository/14.2/network/chrony/).  Last week a user
> of the build script emailed me a patch that moved the scripts support up to
> Chrony version 3.2 as well as added an rc.chrony start/stop script and made
> use of version 3.2's ability to run chronyd as a user other than root.
>
> I am in the process of updating the build script for resubmission, and so as
> to avoid UID/GID overlap with other SlackBuild scripts, I am requesting a
> UID/GID allocation in the uid_gid.txt file for chrony.

there you go :)

chrony

User:   chronyUID: 354GID: 354
Group:  chronyGID: 354

Matteo
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] github doubling tarball name, again

2018-03-25 Thread David Spencer via SlackBuilds-users
>> wget works as expected, Firefox doesn't.
>> Shit. Again.
>
> Yes. I avoid to use Firefox for downloading files, especially compressed ones.

Well, that's not my opinion.  IMO, what's broken is

(1) an http tool like wget that by default ignores what the http
protocol is telling it.

(2) github that doesn't document their download api.

(3) projects using stupid tags like 'elementary-xfce-0.11' or 'v0.1.2'
or 'Release_3.2.1' instead of just '1.2.3'

-D.
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] Request for UID/GID allocation in uid_gid.txt for 'chrony'

2018-03-25 Thread Richard Ellis via SlackBuilds-users

Hello,

I am the maintainer of the SlackBuilds 'chrony' build script
(https://slackbuilds.org/repository/14.2/network/chrony/).  Last week a user
of the build script emailed me a patch that moved the scripts support up to
Chrony version 3.2 as well as added an rc.chrony start/stop script and made
use of version 3.2's ability to run chronyd as a user other than root.

I am in the process of updating the build script for resubmission, and so as
to avoid UID/GID overlap with other SlackBuild scripts, I am requesting a
UID/GID allocation in the uid_gid.txt file for chrony.

Thank you,
Richard

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] github doubling tarball name, again

2018-03-25 Thread Didier Spaier


Le 25/03/2018 à 19:11, Andrzej Telszewski a écrit :
> On 25/03/18 18:56, Didier Spaier wrote:
>> Hi,
>>
>> Le 25/03/2018 à 18:46, Andrzej Telszewski a écrit :
>>> Hi,
>>>
>>> When I try to download:
>>> https://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz
>>>
>>> the suggested tarball name is:
>>>
>>> "elementary-xfce-elementary-xfce-0.11.tar.gz"
>>>
>>> Can someone knowledgeable (I know we have some here ;-)) tell me if it's 
>>> possible to get the link in a way so that the tarball is actually:
>>>
>>> "elementary-xfce-0.11.tar.gz"
>> No issue here, using wget-1.19.4-x86_64-2_slack14.2
>>
>> Command:
>> wgethttps://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz
>>
>> didier[~]$ ls -ltr elem*
>> -rw-r--r-- 1 didier users 7945508 mars  25 18:51 elementary-xfce-0.11.tar.gz
> 
> OK then.
> wget works as expected, Firefox doesn't.
> Shit. Again.

Yes. I avoid to use Firefox for downloading files, especially compressed ones.
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] github doubling tarball name, again

2018-03-25 Thread Andrzej Telszewski

On 25/03/18 19:11, Matteo Bernardini wrote:

2018-03-25 18:46 GMT+02:00 Andrzej Telszewski :

Hi,

When I try to download:
https://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz

the suggested tarball name is:

"elementary-xfce-elementary-xfce-0.11.tar.gz"

Can someone knowledgeable (I know we have some here ;-)) tell me if it's
possible to get the link in a way so that the tarball is actually:

"elementary-xfce-0.11.tar.gz"

?


I suppose you are using a browser to download it or wget with the
parameter "--content-disposition", but it's not your or github's
fault: if you look at the release page you can see that they seem to
have tagged it wrong, compare the releases below or equal to v0.9 to
the subsequent

https://github.com/shimmerproject/elementary-xfce/releases

with proper tagging, prepending the name of the tag should let you
specify a consistent (not depending on the download type) naming for
the tarball, for example

https://github.com/shimmerproject/elementary-xfce/archive/v0.9/elementary-xfce-0.9.tar.gz

but as tagging for the following releases is broken I don't have a
solution for you apart for adding an alternate extraction routine,
like

tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf
$CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz

Matteo


Yep, I noticed this too.
curl shows that indeed that is the case:
Content-Disposition: attachment; 
filename=elementary-xfce-elementary-xfce-0.11.tar.gz


Maybe I'll open issue ticket there.

--
Best regards / Pozdrawiam,
Andrzej Telszewski
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] github doubling tarball name, again

2018-03-25 Thread Frédéric Falsetti
On Sun, 25 Mar 2018 18:56:17 +0200
Didier Spaier  wrote:

> Hi,
> 
> Le 25/03/2018 à 18:46, Andrzej Telszewski a écrit :

> > When I try to download:
> > https://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz
> > 
> > the suggested tarball name is:
> > 
> > "elementary-xfce-elementary-xfce-0.11.tar.gz"

> No issue here, using wget-1.19.4-x86_64-2_slack14.2
> 
> Command:
> wget 
> https://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz
> 

I confirm, firefox (nightly) give "elementary-xfce-elementary-xfce-0.11.tar.gz
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] github doubling tarball name, again

2018-03-25 Thread Matteo Bernardini
2018-03-25 18:46 GMT+02:00 Andrzej Telszewski :
> Hi,
>
> When I try to download:
> https://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz
>
> the suggested tarball name is:
>
> "elementary-xfce-elementary-xfce-0.11.tar.gz"
>
> Can someone knowledgeable (I know we have some here ;-)) tell me if it's
> possible to get the link in a way so that the tarball is actually:
>
> "elementary-xfce-0.11.tar.gz"
>
> ?

I suppose you are using a browser to download it or wget with the
parameter "--content-disposition", but it's not your or github's
fault: if you look at the release page you can see that they seem to
have tagged it wrong, compare the releases below or equal to v0.9 to
the subsequent

https://github.com/shimmerproject/elementary-xfce/releases

with proper tagging, prepending the name of the tag should let you
specify a consistent (not depending on the download type) naming for
the tarball, for example

https://github.com/shimmerproject/elementary-xfce/archive/v0.9/elementary-xfce-0.9.tar.gz

but as tagging for the following releases is broken I don't have a
solution for you apart for adding an alternate extraction routine,
like

tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf
$CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz

Matteo
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] github doubling tarball name, again

2018-03-25 Thread Andrzej Telszewski

On 25/03/18 18:56, Didier Spaier wrote:

Hi,

Le 25/03/2018 à 18:46, Andrzej Telszewski a écrit :

Hi,

When I try to download:
https://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz

the suggested tarball name is:

"elementary-xfce-elementary-xfce-0.11.tar.gz"

Can someone knowledgeable (I know we have some here ;-)) tell me if it's 
possible to get the link in a way so that the tarball is actually:

"elementary-xfce-0.11.tar.gz"

No issue here, using wget-1.19.4-x86_64-2_slack14.2

Command:
wgethttps://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz

didier[~]$ ls -ltr elem*
-rw-r--r-- 1 didier users 7945508 mars  25 18:51 elementary-xfce-0.11.tar.gz


OK then.
wget works as expected, Firefox doesn't.
Shit. Again.

--
Best regards / Pozdrawiam,
Andrzej Telszewski
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] github doubling tarball name, again

2018-03-25 Thread Didier Spaier
Hi,

Le 25/03/2018 à 18:46, Andrzej Telszewski a écrit :
> Hi,
> 
> When I try to download:
> https://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz
> 
> the suggested tarball name is:
> 
> "elementary-xfce-elementary-xfce-0.11.tar.gz"
> 
> Can someone knowledgeable (I know we have some here ;-)) tell me if it's 
> possible to get the link in a way so that the tarball is actually:
> 
> "elementary-xfce-0.11.tar.gz"

No issue here, using wget-1.19.4-x86_64-2_slack14.2

Command:
wget 
https://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz

didier[~]$ ls -ltr elem*
-rw-r--r-- 1 didier users 7945508 mars  25 18:51 elementary-xfce-0.11.tar.gz


Didier
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



[Slackbuilds-users] github doubling tarball name, again

2018-03-25 Thread Andrzej Telszewski

Hi,

When I try to download:
https://github.com/shimmerproject/elementary-xfce/archive/elementary-xfce-0.11.tar.gz

the suggested tarball name is:

"elementary-xfce-elementary-xfce-0.11.tar.gz"

Can someone knowledgeable (I know we have some here ;-)) tell me if it's 
possible to get the link in a way so that the tarball is actually:


"elementary-xfce-0.11.tar.gz"

?

Thanks!

--
Best regards / Pozdrawiam,
Andrzej Telszewski
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Extend FAQ for UID/GID

2018-03-25 Thread Andrzej Telszewski

On 25/03/18 09:50, Jheengut Pritvi wrote:

I don't remember having seen such a list which makes sense as much as
the list of network port numbers

On 20 March 2018 at 17:59, Andrzej Telszewski  wrote:

Hi,

"13. Do you keep a list of non-standard uid and gid numbers that we should
use in our scripts?"

Could this point have somewhere words "group" and "user" added?
It took me a minute to think that I have to look for "UID" or "GID" to find
the relevant info.

Thanks!


https://slackbuilds.org/uid_gid.txt

--
Best regards / Pozdrawiam,
Andrzej Telszewski
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Extend FAQ for UID/GID

2018-03-25 Thread Jheengut Pritvi
I don't remember having seen such a list which makes sense as much as
the list of network port numbers

On 20 March 2018 at 17:59, Andrzej Telszewski  wrote:
> Hi,
>
> "13. Do you keep a list of non-standard uid and gid numbers that we should
> use in our scripts?"
>
> Could this point have somewhere words "group" and "user" added?
> It took me a minute to think that I have to look for "UID" or "GID" to find
> the relevant info.
>
> Thanks!
>
> --
> Best regards / Pozdrawiam,
> Andrzej Telszewski
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/



Re: [Slackbuilds-users] Proposal for Slackware category in SBo

2018-03-25 Thread Jheengut Pritvi
On 22 March 2018 at 23:46, Ricardo J. Barberis  wrote:
> El Jueves 22/03/2018 a las 16:00, David Woodfall escribió:
>> On Friday 23 March 2018 07:27,
>> kla...@mixedsignals.ml  put forth the proposition:
>> >Rich's recent question (from which I learned much) made me think that
>> >maybe there ought to be a "Slackware" category in the SBo repo.
>> >
>> >A "Slackware" category would contain applications that are useful only
>> >in Slackware. That is to say: there are applications that are useful
>> >across Linux, and then there are tools that are designed exclusively
>> >for Slackware (usually package management, often based on either
>> >Slackpkg or SBo). Tools that are useful in BOTH Linux and Slackware
>> >would *not* appear in this category.
>> >
>> >Here are some examples. See how many of them you knew existed, and how
>> >many you know about but think more people might need help finding:
>> >* sbopkg
>> >* sboui
>> >* sbbdep
>> >* slackpkg+
>> >* sport
>> >* sbotools
>
> Some of those are not on SBo.
>
>> * mkslack :)
>
> Nice one!
>
>
> Also: https://slackbuilds.org/result/?search=slackware
>
> That query returns, among others:
>
> asbt
> slack-utils
> slackchlog
> slackroll
> slpkg
> sun
> swun
>
> So, maybe simply tagging Slackware specific utilities with "slackware" would
> be enough.
>
> Or at least a start :)
>

thumbs up


>
>> >It seems to me like hiding great Slackware-specific sys utils harms
>> >discoverability, and mixing them into other, broader categories serves
>> >no purpose anyway. Sure, sboui might be a System tool, but let's face
>> >it: it's a Slackware "addon" that nobody knows to look for, and it's
>> >not just a system tool, it's a Slackware tool. Why not create a
>> >category we can all go to when we have questions like Rich's, and see
>> >what cool script or application one of our colleagues has written to
>> >scratch the itch?
>> >
>> >Can anyone think of a reason this would be harmful, or not helpful?
>> >
>> >-klaatu
>
> --
> Ricardo J. Barberis
> Usuario Linux Nº 250625: http://counter.li.org/
> Usuario LFS Nº 5121: http://www.linuxfromscratch.org/
> Senior SysAdmin / IT Architect - www.DonWeb.com
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/