[PATCHES] Extend service(8) and rc(8) was: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-19 Thread Lars Engels
On Fri, Jul 18, 2014 at 12:10:34PM -0700, Adrian Chadd wrote:
 Hi!
 
 
 On 18 July 2014 07:28, Lars Engels lars.eng...@0x20.net wrote:
  On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote:
  On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar npar...@gmail.com wrote:
 
   On 07/17/14 13:12, Adrian Chadd wrote:
On 17 July 2014 13:03, Alberto Mijares amijar...@gmail.com wrote:
On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd adr...@freebsd.org
   wrote:
Hi!
   
3) The binary packages need to work out of the box
4) .. which means, when you do things like pkg install apache, it
can't just be installed and not be enabled, because that's a bit of a
problem;
   
   
No. Please NEVER do that! The user must be able to edit the files and
start the service by himself.
   
Cool, so what's the single line command needed to type in to start a
given package service?
  
   Aren't sysrc(8) and service(8) for this kind of stuff?
  
 
  They sure are.
 
  Well, pkg install $service ; sysrc ${service}_enable=YES would do.
  Although some services have different names than the packge, which is sort
  of annoying.
 
  I hacked up a solution for service(8):
 
  http://bsd-geek.de/FreeBSD/service.sh.enable-disable.patch
 
  The patch adds the following directives to service(8):
 
  enable: Grabs an rc script's rcvar value and runs sysrc foo_enable=YES
  disable: The opposite of enable
  rcdelete: Deletes an rc script's rcvar value from /etc/rc.conf using
sysrc -x foo_enable
 
  The nice thing about is that you can use one of the new directives on
  one line with the old ones, as long as the new are the first argument:
 
  # service syslogd enable
  # service apache24 disable stop
  # service apache24 rcdelete stop
  # service nginx enable start
 
 
  So after installing a package, to start and enable a daemon permanently
  all you have to run is
  # service foo enable start
 
  Lars
 
  P.S.: Thansk to Devin for his hard work on sysrc!
 
 Having a way for sysrc and service to know what particular options and
 services are exposed by a given package or installed thing would be
 nice. Right now the namespace is very flat and it's not obvious in all
 instances what needs to happen to make it useful and what the options
 are.
 
 Oh, hm, I'd like to know what options there are for controlling the
 installed apache24 package, let's see...
 
 I remember IRIX having that command to list services, stop them and
 start them, configure them enabled and disabled. Solaris grew
 something like that with Solaris 10 and after the initial learning
 curve it was great. Hving something like that would be 100% awesome.

I've updated the patch and extended it a little:

https://phabric.freebsd.org/D451

It can now print the rc options for a service.
It needs however to have the options listed as comments between the
KEYWORDS section and the sourcing of /etc/rc.subr.


And I've made some changes to rc.subr itself:

https://phabric.freebsd.org/D452

So now you can use

# service sshd describe
Secure Shell Daemon

and

# service sshd extracommands
configtest keygen reload


Sorry for the mess in phabricator's SUMMARY. I will learn the markup
syntax later...


Lars


pgpwjm22pgrSF.pgp
Description: PGP signature


Ola!

2014-07-19 Thread hakim_n...@b2b.ideaup.com
Hi, how are you, dear?
I so missed the bright and strong relationships
I know what you want
We created this resource for you
You'll love this, come to us!
http://pymsupportperu.com/eula.html


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


regression-test target

2014-07-19 Thread Sean Bruno
Is there a document on how to use/implement this target?  I was trying
to test devel/libffi and noted that the target doesn't work.

sean

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Current xbuild for mips64

2014-07-19 Thread Sean Bruno
I'm running a build via qemu for mips64.  I see a list of slowly growing
failures for this architecture.  If you are bored and want to take a
stab at looking into them, here is the current build:


http://chips.ysv.freebsd.org/index.html

sean

p.s. libffi/pyton are the biggest blockers here (patches can be found at
https://phabric.freebsd.org/D428 pending review/regression test).

pcre, cmake and libxml2 are probably the next targets for anyone looking
to explore.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


linphone pkg-plist.patch

2014-07-19 Thread chris j. mutter
Hello,

there seems to be a wrong path to a file during pkg installion of net/linphone:

===   Registering installation for linphone-3.7.0,1
pkg-static: 
lstat(/usr/ports/net/linphone/work/stage/usr/local/share/locale/nb_NO/LC_MESSAGES/):
 No such file or directory
pkg-static: 
lstat(/usr/ports/net/linphone/work/stage/usr/local/share/locale/nb_NO/): No 
such file or directory
*** Error code 74

correct directory that the compile generates is nb/ instead of nb_NO.

regards,
cjm
-- 
God save the queen
 and her fascist regime  -- Sex Pistols
--- pkg-plist.orig	2014-07-19 21:54:52.076857044 +0200
+++ pkg-plist	2014-07-19 21:58:21.420827996 +0200
@@ -53,7 +53,7 @@
 %%NLS%%share/locale/hu/LC_MESSAGES/linphone.mo
 %%NLS%%share/locale/it/LC_MESSAGES/linphone.mo
 %%NLS%%share/locale/ja/LC_MESSAGES/linphone.mo
-%%NLS%%share/locale/nb_NO/LC_MESSAGES/linphone.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/linphone.mo
 %%NLS%%share/locale/nl/LC_MESSAGES/linphone.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/linphone.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/linphone.mo
@@ -114,8 +114,8 @@
 @dirrmtry man/cs/man1
 @dirrmtry man/cs
 @dirrm %%DATADIR%%
-@dirrmtry share/locale/nb_NO/LC_MESSAGES
-@dirrmtry share/locale/nb_NO
+@dirrmtry share/locale/nb/LC_MESSAGES
+@dirrmtry share/locale/nb
 @dirrm share/pixmaps/linphone
 @dirrm share/sounds/linphone/rings
 @dirrm share/sounds/linphone
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

[QAT] 362227: 2x leftovers, 2x success

2014-07-19 Thread Ports-QAT
- Update to 20130911
- Add LICENSE=MIT
-

  Build ID:  20140718205200-63980
  Job owner: gbl...@freebsd.org
  Buildtime: 25 hours
  Enddate:   Sat, 19 Jul 2014 21:52:39 GMT

  Revision:  362227
  Repository:
https://svnweb.freebsd.org/ports?view=revisionrevision=362227

-

Port:textproc/go-text 20130911

  Buildgroup: 8.4-QAT/amd64
  Buildstatus:   SUCCESS
  Log: 
https://qat.redports.org//~gbl...@freebsd.org/20140718205200-63980-379934/go-text-20130911.log

  Buildgroup: 8.4-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~gbl...@freebsd.org/20140718205200-63980-379935/go-text-20130911.log

  Buildgroup: 9.2-QAT/amd64
  Buildstatus:   SUCCESS
  Log: 
https://qat.redports.org//~gbl...@freebsd.org/20140718205200-63980-379936/go-text-20130911.log

  Buildgroup: 9.2-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~gbl...@freebsd.org/20140718205200-63980-379937/go-text-20130911.log


--
Buildarchive URL: https://qat.redports.org/buildarchive/20140718205200-63980
redports https://qat.redports.org/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[QAT] 362228: 2x leftovers, 2x success

2014-07-19 Thread Ports-QAT
- Update to 20140714
-

  Build ID:  20140718205400-20047
  Job owner: gbl...@freebsd.org
  Buildtime: 25 hours
  Enddate:   Sat, 19 Jul 2014 21:53:51 GMT

  Revision:  362228
  Repository:
https://svnweb.freebsd.org/ports?view=revisionrevision=362228

-

Port:databases/redigo 20140714

  Buildgroup: 8.4-QAT/amd64
  Buildstatus:   SUCCESS
  Log: 
https://qat.redports.org//~gbl...@freebsd.org/20140718205400-20047-379938/redigo-20140714.log

  Buildgroup: 8.4-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~gbl...@freebsd.org/20140718205400-20047-379939/redigo-20140714.log

  Buildgroup: 9.2-QAT/amd64
  Buildstatus:   SUCCESS
  Log: 
https://qat.redports.org//~gbl...@freebsd.org/20140718205400-20047-379940/redigo-20140714.log

  Buildgroup: 9.2-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~gbl...@freebsd.org/20140718205400-20047-379941/redigo-20140714.log


--
Buildarchive URL: https://qat.redports.org/buildarchive/20140718205400-20047
redports https://qat.redports.org/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[QAT] 362225: 4x leftovers

2014-07-19 Thread Ports-QAT
- drop maintainership cause r361131
-

  Build ID:  20140718193200-25584
  Job owner: din...@freebsd.org
  Buildtime: 27 hours
  Enddate:   Sat, 19 Jul 2014 22:24:04 GMT

  Revision:  362225
  Repository:
https://svnweb.freebsd.org/ports?view=revisionrevision=362225

-

Port:graphics/gnash 0.8.10_13

  Buildgroup: 8.4-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~din...@freebsd.org/20140718193200-25584-379926/gnash-0.8.10_13.log

  Buildgroup: 8.4-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~din...@freebsd.org/20140718193200-25584-379927/gnash-0.8.10_13.log

  Buildgroup: 9.2-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~din...@freebsd.org/20140718193200-25584-379928/gnash-0.8.10_13.log

  Buildgroup: 9.2-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~din...@freebsd.org/20140718193200-25584-379929/gnash-0.8.10_13.log


--
Buildarchive URL: https://qat.redports.org/buildarchive/20140718193200-25584
redports https://qat.redports.org/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[QAT] 362248: 4x leftovers, 4x success

2014-07-19 Thread Ports-QAT
Remove needless MAKE_ENV
-

  Build ID:  20140719102600-34763
  Job owner: m...@freebsd.org
  Buildtime: 12 hours
  Enddate:   Sat, 19 Jul 2014 22:39:33 GMT

  Revision:  362248
  Repository:
https://svnweb.freebsd.org/ports?view=revisionrevision=362248

-

Port:cad/librecad 2.0.3

  Buildgroup: 8.4-QAT/amd64
  Buildstatus:   SUCCESS
  Log: 
https://qat.redports.org//~m...@freebsd.org/20140719102600-34763-380018/librecad-2.0.3.log

  Buildgroup: 8.4-QAT/i386
  Buildstatus:   SUCCESS
  Log: 
https://qat.redports.org//~m...@freebsd.org/20140719102600-34763-380019/librecad-2.0.3.log

  Buildgroup: 9.2-QAT/amd64
  Buildstatus:   SUCCESS
  Log: 
https://qat.redports.org//~m...@freebsd.org/20140719102600-34763-380020/librecad-2.0.3.log

  Buildgroup: 9.2-QAT/i386
  Buildstatus:   SUCCESS
  Log: 
https://qat.redports.org//~m...@freebsd.org/20140719102600-34763-380021/librecad-2.0.3.log

-

Port:graphics/klatexformula 3.2.8

  Buildgroup: 8.4-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~m...@freebsd.org/20140719102600-34763-380022/klatexformula-3.2.8.log

  Buildgroup: 8.4-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~m...@freebsd.org/20140719102600-34763-380023/klatexformula-3.2.8.log

  Buildgroup: 9.2-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~m...@freebsd.org/20140719102600-34763-380024/klatexformula-3.2.8.log

  Buildgroup: 9.2-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~m...@freebsd.org/20140719102600-34763-380025/klatexformula-3.2.8.log


--
Buildarchive URL: https://qat.redports.org/buildarchive/20140719102600-34763
redports https://qat.redports.org/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [PATCHES] Extend service(8) and rc(8) was: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?

2014-07-19 Thread Adrian Chadd
Hi!

I like it! It's a useful command line API.

Eventually people will realise there needs to be a more formal method
for describing/controlling the underlying framework, but I leave that
up to bapt to figure out and .. well, push people to do. :)

Thanks!



-a

On 19 July 2014 09:08, Lars Engels lars.eng...@0x20.net wrote:
 On Fri, Jul 18, 2014 at 12:10:34PM -0700, Adrian Chadd wrote:
 Hi!


 On 18 July 2014 07:28, Lars Engels lars.eng...@0x20.net wrote:
  On Thu, Jul 17, 2014 at 10:21:17PM +0200, Andreas Nilsson wrote:
  On Thu, Jul 17, 2014 at 10:15 PM, Navdeep Parhar npar...@gmail.com 
  wrote:
 
   On 07/17/14 13:12, Adrian Chadd wrote:
On 17 July 2014 13:03, Alberto Mijares amijar...@gmail.com wrote:
On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd adr...@freebsd.org
   wrote:
Hi!
   
3) The binary packages need to work out of the box
4) .. which means, when you do things like pkg install apache, it
can't just be installed and not be enabled, because that's a bit of 
a
problem;
   
   
No. Please NEVER do that! The user must be able to edit the files and
start the service by himself.
   
Cool, so what's the single line command needed to type in to start a
given package service?
  
   Aren't sysrc(8) and service(8) for this kind of stuff?
  
 
  They sure are.
 
  Well, pkg install $service ; sysrc ${service}_enable=YES would do.
  Although some services have different names than the packge, which is sort
  of annoying.
 
  I hacked up a solution for service(8):
 
  http://bsd-geek.de/FreeBSD/service.sh.enable-disable.patch
 
  The patch adds the following directives to service(8):
 
  enable: Grabs an rc script's rcvar value and runs sysrc foo_enable=YES
  disable: The opposite of enable
  rcdelete: Deletes an rc script's rcvar value from /etc/rc.conf using
sysrc -x foo_enable
 
  The nice thing about is that you can use one of the new directives on
  one line with the old ones, as long as the new are the first argument:
 
  # service syslogd enable
  # service apache24 disable stop
  # service apache24 rcdelete stop
  # service nginx enable start
 
 
  So after installing a package, to start and enable a daemon permanently
  all you have to run is
  # service foo enable start
 
  Lars
 
  P.S.: Thansk to Devin for his hard work on sysrc!

 Having a way for sysrc and service to know what particular options and
 services are exposed by a given package or installed thing would be
 nice. Right now the namespace is very flat and it's not obvious in all
 instances what needs to happen to make it useful and what the options
 are.

 Oh, hm, I'd like to know what options there are for controlling the
 installed apache24 package, let's see...

 I remember IRIX having that command to list services, stop them and
 start them, configure them enabled and disabled. Solaris grew
 something like that with Solaris 10 and after the initial learning
 curve it was great. Hving something like that would be 100% awesome.

 I've updated the patch and extended it a little:

 https://phabric.freebsd.org/D451

 It can now print the rc options for a service.
 It needs however to have the options listed as comments between the
 KEYWORDS section and the sourcing of /etc/rc.subr.


 And I've made some changes to rc.subr itself:

 https://phabric.freebsd.org/D452

 So now you can use

 # service sshd describe
 Secure Shell Daemon

 and

 # service sshd extracommands
 configtest keygen reload


 Sorry for the mess in phabricator's SUMMARY. I will learn the markup
 syntax later...


 Lars
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[QAT] 362269: 4x leftovers

2014-07-19 Thread Ports-QAT
- Add libmediainfo 0.7.69

MediaInfo is a convenient unified display of the most relevant technical and
tag data for video and audio files.

Read http://mediaarea.net/en/MediaInfo/Support/Formats for supported formats.

WWW: http://mediainfo.sourceforge.net/
-

  Build ID:  20140719164200-42093
  Job owner: sunp...@freebsd.org
  Buildtime: 10 hours
  Enddate:   Sun, 20 Jul 2014 02:32:46 GMT

  Revision:  362269
  Repository:
https://svnweb.freebsd.org/ports?view=revisionrevision=362269

-

Port:multimedia/libmediainfo 0.7.69

  Buildgroup: 8.4-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~sunp...@freebsd.org/20140719164200-42093-380426/libmediainfo-0.7.69.log

  Buildgroup: 8.4-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~sunp...@freebsd.org/20140719164200-42093-380427/libmediainfo-0.7.69.log

  Buildgroup: 9.2-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~sunp...@freebsd.org/20140719164200-42093-380428/libmediainfo-0.7.69.log

  Buildgroup: 9.2-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~sunp...@freebsd.org/20140719164200-42093-380429/libmediainfo-0.7.69.log


--
Buildarchive URL: https://qat.redports.org/buildarchive/20140719164200-42093
redports https://qat.redports.org/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[QAT] 362270: 4x leftovers

2014-07-19 Thread Ports-QAT
- Update to 0.7.69
- Update LICENSE
- Update COMMENT
- Update pkg-descr

Changes:http://mediainfo.sourceforge.net/Log
-

  Build ID:  20140719164200-52330
  Job owner: sunp...@freebsd.org
  Buildtime: 10 hours
  Enddate:   Sun, 20 Jul 2014 02:35:40 GMT

  Revision:  362270
  Repository:
https://svnweb.freebsd.org/ports?view=revisionrevision=362270

-

Port:multimedia/mediainfo 0.7.69

  Buildgroup: 8.4-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~sunp...@freebsd.org/20140719164200-52330-380430/mediainfo-0.7.69.log

  Buildgroup: 8.4-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~sunp...@freebsd.org/20140719164200-52330-380431/mediainfo-0.7.69.log

  Buildgroup: 9.2-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~sunp...@freebsd.org/20140719164200-52330-380432/mediainfo-0.7.69.log

  Buildgroup: 9.2-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~sunp...@freebsd.org/20140719164200-52330-380433/mediainfo-0.7.69.log


--
Buildarchive URL: https://qat.redports.org/buildarchive/20140719164200-52330
redports https://qat.redports.org/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[QAT] 362282: 4x leftovers

2014-07-19 Thread Ports-QAT
Stop pkg complaining, and do exactly the same as before :)
-

  Build ID:  20140719213200-44910
  Job owner: cr...@freebsd.org
  Buildtime: 5 hours
  Enddate:   Sun, 20 Jul 2014 02:50:27 GMT

  Revision:  362282
  Repository:
https://svnweb.freebsd.org/ports?view=revisionrevision=362282

-

Port:audio/musicpd 0.18.11_1

  Buildgroup: 8.4-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~cr...@freebsd.org/20140719213200-44910-380482/musicpd-0.18.11_1.log

  Buildgroup: 8.4-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~cr...@freebsd.org/20140719213200-44910-380483/musicpd-0.18.11_1.log

  Buildgroup: 9.2-QAT/amd64
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~cr...@freebsd.org/20140719213200-44910-380484/musicpd-0.18.11_1.log

  Buildgroup: 9.2-QAT/i386
  Buildstatus:   LEFTOVERS
  Log: 
https://qat.redports.org//~cr...@freebsd.org/20140719213200-44910-380485/musicpd-0.18.11_1.log


--
Buildarchive URL: https://qat.redports.org/buildarchive/20140719213200-44910
redports https://qat.redports.org/
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org