Re: kbuild

2018-04-18 Thread Walter Schwarzenfeld

Solved, seems it was my error (maybe, it was an entry in etc/make.conf).

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


Re: @owner in plist for ETCDIR not working

2018-04-18 Thread Alexander Leidinger
Quoting Alexander Leidinger alexan...@leidinger.net> (from Fri, 13 Apr  
2018 17:42:02 +0200):



Hi,

This is about misc/openhab2:
The plist contains @owner and @group before the files in ETCDIR, but  
the files are installed as root:wheel. The other files  
(/var/db/openhab2/) which are also listed after @owner are installed  
with the owner ID.


What am I doing wrong?


For the record, the solution is to add explicit @dir entries for the  
directories in ETCDIR (after @owner). Relying on the implicit ones  
doesn't work (assumption: they are added to the final plist before the  
hand-written one, or directories are created implicitly... I haven't  
analysed after having the idea of trying the @dir explicitly).


Bye,
Alexander.

--
http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0x8F31830F9F2772BF


pgpdu7EedZvlW.pgp
Description: Digitale PGP-Signatur


Re: zsh 5.5: core dump during serial login

2018-04-18 Thread Dr. Peter Voigt
On Wed, 18 Apr 2018 13:42:41 +0200
Baptiste Daroussin  wrote:

> Le 17 avril 2018 00:20:43 GMT+02:00, "Dr. Peter Voigt"
>  a écrit :
> >On Mon, 16 Apr 2018 12:56:45 +0200
> >Baptiste Daroussin  wrote:
> >  
> >> On Sun, Apr 15, 2018 at 12:33:08AM +0200, Dr. Peter Voigt wrote:  
> >> > Today I upgraded shells/zsh to version 5.5 on my FreeBSD
> >> > 11.1-RELEASE-p9 machine.
> >> > 
> >> > During a login over serial line (wired or IPMI-SOL) I am  
> >immediately  
> >> > kicked out after a successful login. Syslogd shows:
> >> > 
> >> >  xxx kernel: pid xxx (zsh), uid 0: exited on signal 8
> >> > (core dumped)
> >> > 
> >> > I immediately downgraded to zsh-5.4.2_1 and the error
> >> > disappeared.
> >> > 
> >> > Is this a known error or should I created a ticket under
> >> > https://bugs.freebsd.org/
> >> 
> >> I have never heard of that error, so yes I would like a bug report
> >> please
> >> 
> >> Best regards,
> >> Bapt  
> >
> >Bug ticket created:
> >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227565
> >
> >I hope the issue can be reproduced and fixed as soon as possible. I
> >am currently using downgraded zsh-5.4.2_1 while having the package
> >in hold status.
> >
> >Regards,
> >Peter  
> 
> 
> I updated it to 5.5.1 and I can't reproduce with it. Can you check if
> it works for you? 
> 
> Best regards
> Bapt
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscr...@freebsd.org"

Version 5.5.1 indeed seems to correct the issue.

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


Re: magic syntax for most recent git from sourceforge? [solved]

2018-04-18 Thread Le Baron d’Merde
On Wed, Apr 18, 2018 at 07:05:49AM -0600, Gary Aitken wrote:
> On 04/18/18 00:06, Le Baron d’Merde wrote:
> > On Tue, Apr 17, 2018 at 09:48:53PM -0600, Gary Aitken wrote:
> > > On 04/16/18 13:17, Gary Aitken wrote:
> > > > Can anyone give me the magic formula for fetching the most recent
> > > > git distro from sourceforge for a ports Makefile?
> > > > 
> > > > The porter's handbook talks about how to fetch git repos from
> > > > github but not about how to get them from sourceforge.
> > > > 
> > > > I've tried a few things but can't get the right combo of
> > > > MASTER_SITES and PORTNAME, DISTFILE, and DISTVERSION
> > > > 
> > > > The git clone cmd is: git clone
> > > > https://git.code.sf.net/p/nufraw/git nufraw-git
> > > > 
> > > > This particular git version says it is 0.41 but attempting to
> > > > fetch with from PORTVERSION=0.41 MASTER_SITES=
> > > > https://sourceforge.net/projects/nufraw/files/latest/ doesn't
> > > > work; PORTVERSION=  0.40 does. I've also tried with DISTVERSION=
> > > > 07ebb73a with no joy.
> > > 
> > > Many thanks to Jeremy Chadwick for guidance. Appropriate values for
> > > the above example are:
> > > 
> > > DISTVERSION= 0.41 MASTER_SITES= SOURCEFORGE/nufraw
> > 
> > Please use just SF instead, this is the way it is used in practice:
> > 
> > https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#makefile-master_sites-popular
> > 
> >  I guess you didn't read The 'FreeBSD Porter's Handbook' yet. :)
> 
> Actually, I did, more than once.
> Because of the problem caused by having a mis-matched distinfo lying
> around I assumed (erroneously) that SF didn't work and started trying
> other things.  The handbook explicitly mentions one might have to do
> this.
> 
> > > A problem also encountered while searching for a solution was a
> > > stale distinfo left over from using the 0.40 version; moving it
> > > aside allowed the fetch to complete.  Apparently the distinfo file
> > > is checked during the fetch process if it exists, not just at
> > > extract time.
> > 
> > Please don't do that, run 'make makesum' instead.
> 
> I know to do that and had all ready done so with the 0.40 version, which
> was why the stale distinfo was lying around.  This whole thread came
> up because I couldn't get a good fetch to do a make makesum with
> because a stale distinfo was lying around.

You could just got the stale file removed/deleted from /usr/ports/distfiles too.

> 
> > Do not forget to run 'portlint -AC' and 'poudriere testport ...'
> > before opening a PR! ;)
> 
> the portlint part is easy, poudriere not so easy if if it's not what
> one uses normally.
> 
> Thanks,
> 
> Gary

-- 
Best Regards.
LBdM.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: reccomendation for a building architecture schematic diagram editor ?

2018-04-18 Thread Don Lewis
On 18 Apr, Julian H. Stacey wrote:
>> Might any of you have a FreeBSD ports/ reccomendation for a building
>> architecture schematic diagram editor, please ?
> 
> Thanks for all suggestions, I installed all to try, but about to
> travel so will be a few days before I try, I'll summarise to list
> with a few notes after I've tried them.

Another one that might be worth a look is librecad.  I haven't had a
chance to play with it yet, but I have a similar need.  In my case I
need to draw up a site plan for my lot showing my house and all of my
trees.

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


Re: saslauthd ldap connection to Samba AD

2018-04-18 Thread Jan Bramkamp
I use saslauthd with GSSAPI (aka Kerberos) authentication inside jails. 
IIRC you have to install a second package to add GSSAPI support to 
saslauthd.


On 18.04.18 15:49, Andrea Venturoli wrote:

Hello.

I'm trying to setup saslauthd (in a jail) to authenticate to a Samba AD 
DC (in another jail) and I'm hitting my head on this.


I'm stuck at the connection stage where the two will refuse to talk to 
each other: before I spend too many hours on this: is it expected to work?


  bye & Thanks
 av.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

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


saslauthd ldap connection to Samba AD

2018-04-18 Thread Andrea Venturoli

Hello.

I'm trying to setup saslauthd (in a jail) to authenticate to a Samba AD 
DC (in another jail) and I'm hitting my head on this.


I'm stuck at the connection stage where the two will refuse to talk to 
each other: before I spend too many hours on this: is it expected to work?


 bye & Thanks
av.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: magic syntax for most recent git from sourceforge? [solved]

2018-04-18 Thread Gary Aitken

On 04/18/18 00:06, Le Baron d’Merde wrote:

On Tue, Apr 17, 2018 at 09:48:53PM -0600, Gary Aitken wrote:

On 04/16/18 13:17, Gary Aitken wrote:

Can anyone give me the magic formula for fetching the most recent
git distro from sourceforge for a ports Makefile?

The porter's handbook talks about how to fetch git repos from
github but not about how to get them from sourceforge.

I've tried a few things but can't get the right combo of
MASTER_SITES and PORTNAME, DISTFILE, and DISTVERSION

The git clone cmd is: git clone
https://git.code.sf.net/p/nufraw/git nufraw-git

This particular git version says it is 0.41 but attempting to
fetch with from PORTVERSION=0.41 MASTER_SITES=
https://sourceforge.net/projects/nufraw/files/latest/ doesn't
work; PORTVERSION=  0.40 does. I've also tried with DISTVERSION=
07ebb73a with no joy.


Many thanks to Jeremy Chadwick for guidance. Appropriate values for
the above example are:

DISTVERSION= 0.41 MASTER_SITES= SOURCEFORGE/nufraw


Please use just SF instead, this is the way it is used in practice:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#makefile-master_sites-popular

 I guess you didn't read The 'FreeBSD Porter's Handbook' yet. :)


Actually, I did, more than once.
Because of the problem caused by having a mis-matched distinfo lying
around I assumed (erroneously) that SF didn't work and started trying
other things.  The handbook explicitly mentions one might have to do
this.


A problem also encountered while searching for a solution was a
stale distinfo left over from using the 0.40 version; moving it
aside allowed the fetch to complete.  Apparently the distinfo file
is checked during the fetch process if it exists, not just at
extract time.


Please don't do that, run 'make makesum' instead.


I know to do that and had all ready done so with the 0.40 version, which
was why the stale distinfo was lying around.  This whole thread came
up because I couldn't get a good fetch to do a make makesum with
because a stale distinfo was lying around.


Do not forget to run 'portlint -AC' and 'poudriere testport ...'
before opening a PR! ;)


the portlint part is easy, poudriere not so easy if if it's not what
one uses normally.

Thanks,

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


Re: reccomendation for a building architecture schematic diagram editor ?

2018-04-18 Thread Julian H. Stacey
> Might any of you have a FreeBSD ports/ reccomendation for a building
> architecture schematic diagram editor, please ?

Thanks for all suggestions, I installed all to try, but about to
travel so will be a few days before I try, I'll summarise to list
with a few notes after I've tried them.

Cheers,
Julian
-- 
Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich
 Brexit Referendum stole 3,700,000 votes, inc. 700,000 from British in EU.
 UK Govt. lied it's "democratic" in Article 50 letter to EU paragraph 3.
Petition for votes: http://berklix.eu/queen/
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: zsh 5.5: core dump during serial login

2018-04-18 Thread Baptiste Daroussin


Le 17 avril 2018 00:20:43 GMT+02:00, "Dr. Peter Voigt"  a écrit :
>On Mon, 16 Apr 2018 12:56:45 +0200
>Baptiste Daroussin  wrote:
>
>> On Sun, Apr 15, 2018 at 12:33:08AM +0200, Dr. Peter Voigt wrote:
>> > Today I upgraded shells/zsh to version 5.5 on my FreeBSD
>> > 11.1-RELEASE-p9 machine.
>> > 
>> > During a login over serial line (wired or IPMI-SOL) I am
>immediately
>> > kicked out after a successful login. Syslogd shows:
>> > 
>> >  xxx kernel: pid xxx (zsh), uid 0: exited on signal 8
>> > (core dumped)
>> > 
>> > I immediately downgraded to zsh-5.4.2_1 and the error disappeared.
>> > 
>> > Is this a known error or should I created a ticket under
>> > https://bugs.freebsd.org/  
>> 
>> I have never heard of that error, so yes I would like a bug report
>> please
>> 
>> Best regards,
>> Bapt
>
>Bug ticket created:
>https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227565
>
>I hope the issue can be reproduced and fixed as soon as possible. I am
>currently using downgraded zsh-5.4.2_1 while having the package in hold
>status.
>
>Regards,
>Peter


I updated it to 5.5.1 and I can't reproduce with it. Can you check if it works 
for you? 

Best regards
Bapt
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: FreeBSD Port: tvheadend-4.2.6

2018-04-18 Thread Bernhard Fröhlich
On Tue, Apr 17, 2018 at 1:12 PM, Jongsung Kim  wrote:
> Hi decke,
>
> I tried live-TV streaming from tvheadend installed on my FreeBSD server, and
> failed. I found the tcp_socket_dead() incompatible with FreeBSD. Submitted a
> patch to address this problem, but don't know when accepted and merged:
>
> https://github.com/tvheadend/tvheadend/pull/1112
>
> If you think it's valid and acceptable, please early-apply it to the port.

Thanks a lot, that is a great catch! I will add the patch to the FreeBSD port in
the meantime because it can take some time for them to merge it and till the
next patch release.

-- 
Bernhard Froehlich
http://www.bluelife.at/
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Committer needed: update lang/J

2018-04-18 Thread João Neves
Thanks!

Re: release notes and changelogs. Will do. Unfortunately the J
documentation is all sorts of scattered and outdated and I haven't managed
to find any release or change notes.

For the next update I will try to actively ask upstream where those can be
found if they have them.

Cheers,

/Joao

--
João Neves

On 17 April 2018 at 18:54, Kurt Jaeger  wrote:

> Hi!
>
> > I have a pending patch to update lang/J to the latest version. The
> updated
> > version seems to also remove some problematic code that makes the package
> > for 10.3 fail to build currently.
> >
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227395
>
> Committed. Please try to find links to release notes or changelogs
> for the next updates. Without those, it's difficult to understand
> what happened.
>
> --
> p...@opsec.eu+49 171 31013722 years to go !
>
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Conflicts due to renamed KDE4 ports

2018-04-18 Thread Stefan Esser
Am 17.04.18 um 20:29 schrieb Tobias C. Berner:
> Moin moin
> 
> Here's a script which should automatically fix the origin for the
> kde4-versioned ports (based on the MOVED entries of r465345):
>    http://people.freebsd.org/~tcberner/scripts/fix_kde4_origins.sh
> 
> It //should// set the origins properly for the moved ports, and the output
> should be on the lines of
> # ./fix_kde4_origins.sh
> [...]
> - sysutils/baloo-widgets [sysutils/baloo-widgets-kde4] is not installed.
> + Changing origin of nepomuk-core-4.14.3_14 from sysutils/nepomuk-core to
> sysutils/nepomuk-core-kde4.
> - sysutils/kfloppy [sysutils/kfloppy-kde4] is not installed.
> - sysutils/ksystemlog [sysutils/ksystemlog-kde4] is not installed.
> + Changing origin of baloo-4.14.3_5 from sysutils/baloo to 
> sysutils/baloo-kde4.
> + Changing origin of kfilemetadata-4.14.3_13 from sysutils/kfilemetadata to
> sysutils/kfilemetadata-kde4.
> [...]
> 
> 
> Please let me know if that works for you, or how I could improve it.

My suggested version (that does not depend on any hard-coded version
strings in the script) is:

#!/bin/sh

cd /usr/ports
for origin in */*-kde4; do
origin_old=$(dirname $origin)/$(basename $origin -kde4)
pkgname=$(make -C $origin -V PKGNAME)
pkg_glob="${pkgname%%.*}.*"
package=$(pkg query -g "%n-%v" "$pkg_glob")
pkg set -y -o $origin_old:$origin $package
done

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


Re: magic syntax for most recent git from sourceforge? [solved]

2018-04-18 Thread Le Baron d’Merde
On Tue, Apr 17, 2018 at 09:48:53PM -0600, Gary Aitken wrote:
> On 04/16/18 13:17, Gary Aitken wrote:
> > Can anyone give me the magic formula for fetching the most recent git
> > distro from sourceforge for a ports Makefile?
> > 
> > The porter's handbook talks about how to fetch git repos from github
> > but not about how to get them from sourceforge.
> > 
> > I've tried a few things but can't get the right combo of MASTER_SITES
> > and PORTNAME, DISTFILE, and DISTVERSION
> > 
> > The git clone cmd is:
> >    git clone https://git.code.sf.net/p/nufraw/git nufraw-git
> > 
> > This particular git version says it is 0.41 but attempting to fetch
> > with from
> >    PORTVERSION=    0.41
> >    MASTER_SITES=   https://sourceforge.net/projects/nufraw/files/latest/
> > doesn't work; PORTVERSION=  0.40 does.
> > I've also tried with
> >    DISTVERSION=    07ebb73a
> > with no joy.
> 
> Many thanks to Jeremy Chadwick for guidance.
> Appropriate values for the above example are:
> 
> DISTVERSION= 0.41
> MASTER_SITES= SOURCEFORGE/nufraw

Please use just SF instead, this is the way it is used in practice:

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#makefile-master_sites-popular

I guess you didn't read The 'FreeBSD Porter's Handbook' yet. :)

> 
> A problem also encountered while searching for a solution was a stale distinfo
> left over from using the 0.40 version; moving it aside allowed the fetch to
> complete.  Apparently the distinfo file is checked during the fetch process
> if it exists, not just at extract time.

Please don't do that, run 'make makesum' instead.

Do not forget to run 'portlint -AC' and 'poudriere testport ...' before opening 
a
PR! ;)

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

-- 
Best Regards.
LBdM.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"