Re: Macports tasks not launching at boot. policy?

2014-07-27 Thread Julien T
Just to make a confirmation on this old thread. I reinstalled my Mac with only one partition at daemon are starting right away. As the matter is mostly Apple, I think what's important is mostly issue a warning if at a moment (port update/selfupdate/sync/upgrade) we detect than /opt is not on / Di

Re: MacPorts 2.3.0-rc1 now available for testing

2014-05-16 Thread Julien T
Hello, 2014-05-12 16:42 GMT-04:00 Adam Mercer : > I've been using the 2.3.0 beta releases and now the rc1 release and > I've just noticed that port seems to have forgotten what ports I've > explicitly requested, for example: > > $ port installed requested > None of the specified ports are install

Re: Macports tasks not launching at boot. policy?

2014-05-05 Thread Julien T
​I search a bit the web to know when non-system partition are mounted but it seems unclear. Many people seems to do a mount script+plist to mount various network partition. As a launchd option, PathState could be a solution to try http://stackoverflow.com/questions/19449288/how-to-instruct-launchd

Re: Macports tasks not launching at boot. policy?

2014-05-05 Thread Julien T
2014-05-05 6:18 GMT-04:00 "René J.V. Bertin" : > Of course all permissions/ownerships are correct on both the Launch* > directories and the plist, and the directories are on a volume that's > mounted when the system tries to launch tasks at boot (which in my > experience requires that they reside

Re: Macports tasks not launching at boot. policy?

2014-05-04 Thread Julien T
Sorry for the late answer, yes. That's exactly it. The 'launchctl load' works for current session but not after reboot. I didn't spot any special message in my system.log, so what could have been mess up... 2014-04-24 18:41 GMT-04:00 Ryan Schmidt : > > It has always been the case previously tha

Re: Macports tasks not launching at boot. policy?

2014-04-24 Thread Julien T
2014-04-24 10:55 GMT-04:00 Jeremy Lavergne : > Did the user run `port load …` ? > normally port load is the same as launchctl load -w /Library/LaunchDaemons/org.macports.${port}.plist so yes, it was. but from what re-reading docs gave me, plist doesn't make daemon start at boot/startup, it's Run

Macports tasks not launching at boot. policy?

2014-04-24 Thread Julien T
Hello, macports is never setting 'RunAtLoad' it seems. any option to do so? Any policy about it? for provided plist, put it as a comment, enable it by default? Some are daemons, some are agents. It seems agents are started only for user while I was using them more for cron-like tasks and also age

Re: Portfile development questions

2014-04-19 Thread Julien T
27;s files which is already the case for cron like task. 2014-04-17 10:42 GMT-04:00 Craig Treleaven : > At 10:22 AM -0400 4/17/14, Julien T wrote: > >> Another question, is there any wait for a launchd plist or macports >> startupitem to specify dependency to run? for example, an

Portfile: extra characters after close-brace. location?

2014-04-17 Thread Julien T
Following the port lint command, I have a few new Portfile which returns the above error. Even with a diff of some past backup I had, I don't manage to locate which characters are a problem for Portindex and following port lint. Any way to precise which line or character is a problem? It may be li

Portfile development questions

2014-04-17 Thread Julien T
Hi, following a comment on trac, I put all my Portfile through "port lint --nitpick" and fix many small glitches. I was also aware of: # port -q contents $p | grep /bin/ | xargs otool -L # plutil -lint */$p/files/*.plist Any other commands useful to validate Portfile, patch & co?

Re: MacPorts Statistics (was Re: usage numbers for macports vs. homebrew?)

2014-03-25 Thread Julien T
ok. my 2 cents after quick reading this long thread - clearly, submission should be asked on install of macports, either opt-in or opt-out. I'm pretty sure It's a legal constraint in some places (like european union). w opt-in, there is a risk to have little people but it's probably cleaner. It wo

trac.macports.org: database down

2014-03-12 Thread Julien T
When trying to add a comment: >>> Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 441, in send_error data, 'text/html') File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 828, in render_template message = req.session.pop('c

more new ports to review, mostly security

2014-03-02 Thread Julien T
Hello, I have submitted a bunch of security tools on trac, If interested people, could review/comment. Some (mostly daemons/HIDS) tools need a good config to be define to avoid linux-non-working base. #25899[NEW] net/nsm-console #42388tcpick: enable x86_64 #25904[NEW] graphics/after

Re: questions about writing Portfile

2014-02-28 Thread Julien T
2014-02-28 11:09 GMT-05:00 Clemens Lang : > > - when updating an existing port, is it recommended to copy in your own > depot > > (own user) or work on the existing one (as root)? in the first case, it > > seems that not all action are prioritizing repositories in the same order > > (install and b

questions about writing Portfile

2014-02-28 Thread Julien T
Hello, I have several Portfile in the pipe and more questions arising which don't find solutions in the guide. - when updating an existing port, is it recommended to copy in your own depot (own user) or work on the existing one (as root)? in the first case, it seems that not all action are priori

Re: php-fpm & co: not loading pdo extensions

2014-02-22 Thread Julien T
2014-02-22 1:42 GMT-05:00 Ryan Schmidt : > You are attempting to mix two different MacPorts php worlds; this does not > work. > > You have the mysql module installed for the old php5 world, and the fpm > sapi installed for the new php53 world. These worlds are unconnected; they > don't talk to one

php-fpm & co: not loading pdo extensions

2014-02-21 Thread Julien T
Hello, I'm trying to use mysql w nginx/php-fpm but phpinfo in the webserver returns PDO as "no value" and I don't understand why. $ port installed |grep php php5 @5.3.28_0+apache2 (active) php5-curl @5.3.28_0 (active) php5-gd @5.3.28_1 (active) php5-mysql @5.3.28_0+mysqlnd (active) php5