Re: [Slackbuilds-users] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-28 Thread King Beowulf
On 10/27/20 10:16 PM, B Watson wrote:
> On 10/21/20, King Beowulf  wrote:
>>
>> Teamviewer3 will run the EULA acceptance no matter what - there doesn't
>> seem to me a command line option to automatically accept.
> 
> Is this network/TeamSpeak3? I don't see a Teamviewer3 in the repo...


Yes.  I'm old, tired, and ready to be put out to pasture...

*** TeamSpeak3 ***

-sigh.



OpenPGP_signature
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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-27 Thread B Watson
On 10/21/20, King Beowulf  wrote:
>
> Teamviewer3 will run the EULA acceptance no matter what - there doesn't
> seem to me a command line option to automatically accept.

Is this network/TeamSpeak3? I don't see a Teamviewer3 in the repo...
___
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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-27 Thread Dave Woodfall
On 28/10/20 00:01,
B Watson  put forth the proposition:
> On 10/23/20, Dave Woodfall  wrote:
> >
> > I must admit that I'm a bit uncomfortable with this, and I wouldn't
> > want anything to backfire on SBo for hosting it.  In my mind it's no
> > worse than having to download jdk etc. source manually to build it.
> >
> > Just because it's an inconvenience for build tools is no reason to
> > try to bypass what the developers are trying their hardest to have
> > people read, and there may be good reason for someone to *want* to
> > read it to understand if they agree and want to continue to install
> > it, or not, as the case may be.
> >
> > I would put a note in the README about it and leave it at that.
> >
> > What do the other admins think?
> I think it'd actually be OK to add an environment variable EULA=agree
> or such, defaulting to off. The user's only required to read the
> EULA *once*, not every time he has to rebuild/reinstall the package
> (possibly on a different Slackware box than the first time). Set the
> variable and it skips the EULA (by whatever means).
> This will especially helpful to the maintainer of the package, who
> might have to run the script multiple times while developing/testing
> it.
> Also, if it doesn't already do so, it would be nice to include a copy
> of the EULA as e.g. /usr/doc/$PRGNAM-$VERSION/EULA.txt in the package.

That's a fair point.  Perhaps a more specific name for the variable
to the equivalent of ${PRGNAM}_EULA would be the way to go, in case
more crop up in the future and we need to distinguish between them.

--
Dave

Love is a snowmobile racing across the tundra and then suddenly it flips over,
pinning you underneath.  At night, the ice weasels come.
 --Friedrich Nietzsche
___
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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-27 Thread B Watson
On 10/23/20, Dave Woodfall  wrote:
>
> I must admit that I'm a bit uncomfortable with this, and I wouldn't
> want anything to backfire on SBo for hosting it.  In my mind it's no
> worse than having to download jdk etc. source manually to build it.
>
> Just because it's an inconvenience for build tools is no reason to
> try to bypass what the developers are trying their hardest to have
> people read, and there may be good reason for someone to *want* to
> read it to understand if they agree and want to continue to install
> it, or not, as the case may be.
>
> I would put a note in the README about it and leave it at that.
>
> What do the other admins think?

I think it'd actually be OK to add an environment variable EULA=agree
or such, defaulting to off. The user's only required to read the
EULA *once*, not every time he has to rebuild/reinstall the package
(possibly on a different Slackware box than the first time). Set the
variable and it skips the EULA (by whatever means).

This will especially helpful to the maintainer of the package, who
might have to run the script multiple times while developing/testing
it.

Also, if it doesn't already do so, it would be nice to include a copy
of the EULA as e.g. /usr/doc/$PRGNAM-$VERSION/EULA.txt in the package.
___
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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-27 Thread King Beowulf
On 10/24/20 1:13 AM, Matteo Bernardini wrote:
> As for me I agree with your points and with your proposed solution.
> 
> Il sab 24 ott 2020, 01:30 Dave Woodfall  > ha scritto:
> 
> 
> I must admit that I'm a bit uncomfortable with this, and I wouldn't
> want anything to backfire on SBo for hosting it.  In my mind it's no
> worse than having to download jdk etc. source manually to build it.
> 
> Just because it's an inconvenience for build tools is no reason to
> try to bypass what the developers are trying their hardest to have
> people read, and there may be good reason for someone to *want* to
> read it to understand if they agree and want to continue to install
> it, or not, as the case may be.
> 
> I would put a note in the README about it and leave it at that.
> 
> What do the other admins think?
> 
> 

[SOLVED] The admin(s) have spoken.

As it is written, so shall it be done.

Note in README advising not to walk away so that the user may read the
fine EULA (RTFE).

-Ed



OpenPGP_0x5EFC0C696EB574B7.asc
Description: application/pgp-keys


OpenPGP_signature
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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-24 Thread Matteo Bernardini
As for me I agree with your points and with your proposed solution.

Il sab 24 ott 2020, 01:30 Dave Woodfall  ha scritto:

>
> I must admit that I'm a bit uncomfortable with this, and I wouldn't
> want anything to backfire on SBo for hosting it.  In my mind it's no
> worse than having to download jdk etc. source manually to build it.
>
> Just because it's an inconvenience for build tools is no reason to
> try to bypass what the developers are trying their hardest to have
> people read, and there may be good reason for someone to *want* to
> read it to understand if they agree and want to continue to install
> it, or not, as the case may be.
>
> I would put a note in the README about it and leave it at that.
>
> What do the other admins think?
>
___
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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-23 Thread Jude DaShiell
On Fri, 23 Oct 2020, King Beowulf wrote:

> Date: Fri, 23 Oct 2020 19:21:04
> From: King Beowulf 
> Reply-To: SlackBuilds.org Users List 
> To: slackbuilds-users@slackbuilds.org
> Subject: Re: [Slackbuilds-users] [Slackbuilds-user] Teamviewer3 EULA bypass
>
> On 10/21/20 4:01 PM, Rich Shepard wrote:
> > On Wed, 21 Oct 2020, King Beowulf wrote:
> >
> >> Teamviewer3 will run the EULA acceptance no matter what - there doesn't
> >> seem to me a command line option to automatically accept. as a result,
> >> any
> >> automated SBo build tools get "stuck." As my bash-fu is rudimentary,
> >> anyone know a good bashism to allow for automatic acceptance?
> >
> > Ed,
> >
> > Would 'expect' do this for you?
> >
> >...
>
> Sure.  I was hoping for a solution less dependent on external, non-bash
> commands.

This may be possible running some bash code inside (`) A line to find the
question followed by ; followed by another line to echo the answer then
close that (`).  I've never had occasion to try this, so handle with
care.

> > -Ed >
>
>

-- 
___
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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-23 Thread Dave Woodfall
On 23/10/20 16:21,
King Beowulf  put forth the proposition:
> On 10/21/20 4:01 PM, Rich Shepard wrote:
> > On Wed, 21 Oct 2020, King Beowulf wrote:
> >
> >> Teamviewer3 will run the EULA acceptance no matter what - there doesn't
> >> seem to me a command line option to automatically accept. as a result,
> >> any
> >> automated SBo build tools get "stuck." As my bash-fu is rudimentary,
> >> anyone know a good bashism to allow for automatic acceptance?
> >
> > Ed,
> >
> > Would 'expect' do this for you?
> >
> >...
> Sure.  I was hoping for a solution less dependent on external, non-bash
> commands.
> -Ed

I must admit that I'm a bit uncomfortable with this, and I wouldn't
want anything to backfire on SBo for hosting it.  In my mind it's no
worse than having to download jdk etc. source manually to build it.

Just because it's an inconvenience for build tools is no reason to
try to bypass what the developers are trying their hardest to have
people read, and there may be good reason for someone to *want* to
read it to understand if they agree and want to continue to install
it, or not, as the case may be.

I would put a note in the README about it and leave it at that.

What do the other admins think?

--
Dave

Love is a snowmobile racing across the tundra and then suddenly it flips over,
pinning you underneath.  At night, the ice weasels come.
 --Friedrich Nietzsche


signature.asc
Description: PGP 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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-23 Thread King Beowulf
On 10/21/20 4:01 PM, Rich Shepard wrote:
> On Wed, 21 Oct 2020, King Beowulf wrote:
> 
>> Teamviewer3 will run the EULA acceptance no matter what - there doesn't
>> seem to me a command line option to automatically accept. as a result,
>> any
>> automated SBo build tools get "stuck." As my bash-fu is rudimentary,
>> anyone know a good bashism to allow for automatic acceptance?
> 
> Ed,
> 
> Would 'expect' do this for you?
> 
>...

Sure.  I was hoping for a solution less dependent on external, non-bash
commands.

-Ed




OpenPGP_signature
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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-22 Thread Tim Dickson via SlackBuilds-users

another method that might work is  a simple pipe.

echo -e "y\n"|teamviewerscript

assuming teamviewerscript is the program that asks for eula acceptance. 
(and expects a "y" )


On 21/10/2020 23:34, King Beowulf wrote:

Hello

Teamviewer3 will run the EULA acceptance no matter what - there doesn't
seem to me a command line option to automatically accept.  as a result,
any automated SBo build tools get "stuck."  As my bash-fu is
rudimentary, anyone know a good bashism to allow for automatic acceptance?

Thanks.


___
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/





--
This email has been checked for viruses by AVG.
https://www.avg.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/



Re: [Slackbuilds-users] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-21 Thread Rich Shepard

On Wed, 21 Oct 2020, King Beowulf wrote:


Teamviewer3 will run the EULA acceptance no matter what - there doesn't
seem to me a command line option to automatically accept. as a result, any
automated SBo build tools get "stuck." As my bash-fu is rudimentary,
anyone know a good bashism to allow for automatic acceptance?


Ed,

Would 'expect' do this for you?

From the man page:

NAME
   expect - programmed dialogue with interactive programs, Version 5

SYNOPSIS
   expect [ -dDinN ] [ -c cmds ] [ [ -[f|b] ] cmdfile ] [ args ]

INTRODUCTION
   Expect  is  a  program  that  "talks" to other interactive programs 
according to a
   script.  Following the script, Expect knows what can be expected  from  
a  program
   and what the correct response should be.  An interpreted language 
provides branch‐
   ing and high-level control structures to direct the dialogue.   In  
addition,  the
   user can take control and interact directly when desired, afterward 
returning con‐
   trol to the script.

Rich
___
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] [Slackbuilds-user] Teamviewer3 EULA bypass

2020-10-21 Thread King Beowulf
Hello

Teamviewer3 will run the EULA acceptance no matter what - there doesn't
seem to me a command line option to automatically accept.  as a result,
any automated SBo build tools get "stuck."  As my bash-fu is
rudimentary, anyone know a good bashism to allow for automatic acceptance?

Thanks.



OpenPGP_signature
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/