Re: Macports installation problem

2017-10-19 Thread Arno Hautala
On Thu, Oct 19, 2017 at 1:46 AM, John wrote: > Thanks for pointing out that I should open the "Terminal". I tried it; could > you check if my Cairo is installed successfully? Should I do something on > Xbox? Thanks!! > ... > Warning: The Xcode Command Line Tools don't appear to be installed; most

upgrade apache2 2.4.28_0 < 2.4.28_2 destroyed .conf files!

2017-10-19 Thread Murray Eisenberg
About two days ago I went through the painful process of upgrading apache2 from 2.2 to 2.4. That involved a lot of manual moving of files and editing .conf files, because of the radical changes of locations in 2.4 vs. 2.2. Now today I upgraded apache2 from 2.4.28_0 to 2.4.28_2 and that DESTROYED

Re: upgrade apache2 2.4.28_0 < 2.4.28_2 destroyed .conf files!

2017-10-19 Thread Marius Schamschula
Murray, I’m sorry for that. However, I don’t see how this could have happened, as apache2 @2.4.28_2 was modified to not do this very thing, i.e. it moves the .conf files to .conf.orig in the post-destroot phase, before activation. I was debating, if backing up and littering numerous files in

Re: upgrade apache2 2.4.28_0 < 2.4.28_2 destroyed .conf files!

2017-10-19 Thread Daniel J. Luke
On Oct 19, 2017, at 11:29 AM, Marius Schamschula wrote: > However, I don’t see how this could have happened, as apache2 @2.4.28_2 was > modified to not do this very thing, i.e. it moves the .conf files to > .conf.orig in the post-destroot phase, before activation. 2.4.28.0_0 'owned' .conf files

Re: MacPorts shell mode

2017-10-19 Thread -dan d.
I make an "mp" alias of the below which allows doing a port command without repeated sudo inputs. In effect it puts your pasword into sudo for you: echo your-password | /usr/bin/sudo -S port $1 $2 $3 $4 $5 On Thu, 19 Oct 2017, pagani laurent via macports-users wrote: Hi all, Reading the m

Re: MacPorts shell mode

2017-10-19 Thread Rainer Müller
On 2017-10-19 18:25, -dan d. wrote: > > I make an "mp" alias of the below which allows doing a port command without > repeated sudo inputs.  In effect it puts your pasword into sudo for you: > > echo your-password | /usr/bin/sudo -S port $1 $2 $3 $4 $5 Not a good idea. This means your password i

Re: MacPorts shell mode

2017-10-19 Thread William H. Magill
This is the normal operation of the SUDO command. Read the man page for sudo — man sudo. Sudo has many configurable parameters which control its operation. > On Thu, 19 Oct 2017, pagani laurent via macports-users wrote: > >> Hi all, >> >> Reading the mails on this list, I discovered the She

Re: MacPorts shell mode

2017-10-19 Thread Christopher Jones
> If you really want to run a command without typing your password, > configure the sudoers file accordingly. There are plenty of guides on > the web on how to do this, or see 'man sudoers' and 'man visudo'. > > Be aware of the security implications such a configuration has. Allowing > to run por

Re: Apache 2.4.28 update today? (was:Re: Apache 2.4 any time soon?)

2017-10-19 Thread Bill Christensen
Problem: I originally ran the update to Apache 2.4, then quickly changed the active Apache version back to 2.2 as I had not yet tested everything out. I'm still running php70, and I found that mod_php70.so had been moved to the new modules directory (/opt/local/lib/apache2/modules/). Everything

Re: MacPorts shell mode

2017-10-19 Thread Rainer Müller
On 2017-10-19 19:28, Christopher Jones wrote: > >> If you really want to run a command without typing your password, >> configure the sudoers file accordingly. There are plenty of guides on >> the web on how to do this, or see 'man sudoers' and 'man visudo'. >> >> Be aware of the security implicat

Re: MacPorts shell mode

2017-10-19 Thread Chris Jones
Hi, > On 19 Oct 2017, at 9:07 pm, Rainer Müller wrote: > >> On 2017-10-19 19:28, Christopher Jones wrote: >> >>> If you really want to run a command without typing your password, >>> configure the sudoers file accordingly. There are plenty of guides on >>> the web on how to do this, or see 'man

Re: Apache 2.4.28 update today? (was:Re: Apache 2.4 any time soon?)

2017-10-19 Thread Marius Schamschula
Bill, php’s apache2handler is built against a specific version of apache. Now this defaults to version 2.4.x. Thus you can’t just copy the model over to apache 2.2 and expect it to work. The only way to get around this is to use php-fpm and and some flavor of fastcgi, which will work with mult

Re: Macports installation problem

2017-10-19 Thread Ryan Schmidt
On Oct 19, 2017, at 00:46, John wrote: > Thanks for pointing out that I should open the "Terminal". I tried it; could > you check if my Cairo is installed successfully? Should I do something on > Xbox? Thanks!! > > > Last login: Wed Oct 18 21:01:15 on ttys001 > John-MacBook-Pro:~ john$ sudo p

sudo port security (was: MacPorts shell mode)

2017-10-19 Thread Joshua Root
Chris Jones wrote: On 19 Oct 2017, at 9:07 pm, Rainer Müller wrote: However, in terms of security, allowing to run 'port' without password is equivalent to allowing the user to run any command. Well, not entirely true. It only lets you run whatever port lets you do. The fact that port lets y