Re: gettextsetup warnings

2017-09-20 Thread Romain Tartière
On Wed, Sep 20, 2017 at 08:41:16AM +0200, Romain Tartière wrote:
> I'll investigate quickly if it is possible to not use install.rb at all
> (it works well on Debian when installing puppet with `gem install
> puppet` after all).  If it's possible, I'll get rid of install.rb for
> the sake of simplicity, and if not, I'll tweak install.rb to do the
> things we expect it to do.

A fix that addesses the main issues was committed:
https://github.com/smortex/puppet5/commit/bbb3e629dd6ea61e15b44214cfbe297f0233383b

I am currently building packages and updating the nodes I manage in
order to catch any regression, and will commit this in the ports tree as
soon as I am sure nothing breaks!

-- 
Romain Tartière   http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)


signature.asc
Description: PGP signature


FreeBSD ports you maintain which are out of date

2017-09-20 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
lang/gnatcross-binutils-aarch64 | 2.27| 2.29.1
+-+
lang/gnatdroid-binutils | 2.27| 2.29.1
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Thanks.
___
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"


libimobiledevice, ssl and "Failed to connect to lockdownd service on the device"

2017-09-20 Thread Marco Beishuizen

Hi,

I'm trying to mount my iPhone (SE) with fuse to copy all photos and videos 
to my FreeBSD machine. Installed sysutils/fusefs-ifuse and started usbmuxd 
(when the phone is unlocked, as instructed). All daemons run as expected 
etc., but running "ifuse -o allow_other /mnt/iphone" results in an error: 
"Failed to connect to lockdownd service on the device".


After some searching it seems that libimobiledevice should be build with 
OpenSSL instead of GnuTLS. But in the ports this is not a buildoption.


So is it possible to build libimobiledevice with OpenSSL? Or does anyone 
know if there is something else going on?


Thanks,
Marco

--
The value of a program is proportional to the weight of its output.
___
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: gettextsetup warnings

2017-09-20 Thread Romain Tartière
On Wed, Sep 20, 2017 at 09:43:23AM +0200, Romain Tartière wrote:
> I am currently building packages and updating the nodes I manage in
> order to catch any regression, and will commit this in the ports tree
> as soon as I am sure nothing breaks!


Unfortunately, changing locales works on my computer …

-- 8< --
% env LC_ALL=ja_JP.UTF-8 puppet apply -e 'exec { "/usr/bin/true": }'
Notice: コンパイルしましたカタログxxx環境production内 0.12 秒
Notice: /Stage[main]/Main/Exec[/usr/bin/true]/returns: 実行に成功しました。
Notice: カタログが適用されました。 0.04 秒
-- 8< --

… but not on the other nodes I manage :-/

-- 8< --
% env LC_ALL=ja_JP.UTF-8 puppet apply -e 'exec { "/usr/bin/true": }'
Notice: Compiled catalog for xxx in environment production in 0.08 
seconds
Notice: /Stage[main]/Main/Exec[/usr/bin/true]/returns: executed successfully
Notice: Applied catalog in 0.04 seconds
-- 8< --

I currently fail at locating what is different between these nodes.

If somebody spots anything in the ports, thank you for sharring!
https://github.com/smortex/puppet5/tree/master/sysutils/puppet5

-- 
Romain Tartière   http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)


signature.asc
Description: PGP signature


Re: libimobiledevice, ssl and "Failed to connect to lockdownd service on the device"

2017-09-20 Thread Steve

> I'm trying to mount my iPhone (SE) with fuse to copy all photos
> and videos to my FreeBSD machine. Installed sysutils/fusefs-ifuse
> and started usbmuxd (when the phone is unlocked, as instructed). All
> daemons run as expected etc., but running "ifuse -o allow_other
> /mnt/iphone" results in an error:
> "Failed to connect to lockdownd service on the device".

> After some searching it seems that libimobiledevice should be build
> with OpenSSL instead of GnuTLS. But in the ports this is not a
> buildoption.

> So is it possible to build libimobiledevice with OpenSSL? Or does
> anyone know if there is something else going on?


The version of libimobiledevice in ports (1.2.0) is a couple of
years old. The upstream project has done a lot of work on it in
the interim but for some reason has not released a new official
version. If you want to use it with any recent version of iOS,
your best bet is probably to grab the development sources from
github and build it (and its prereqs) from them.

When I did this a few months ago, it required a bit of tweaking.
If you're interested, I could collate my notes and send them
to you.

I found the new version to be much better behaved than 1.2.0
although transfers of large numbers of photos would still lock
up at times. I found that the reliability improved considerably
if I ran idevicesyslog in another window and let it spew the
constant stream of syslog noise from the phone. I have no idea
what the deal is with that but if someone can explain it, I'd
love to know of a better solution.
___
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"


Adding license information for non-predefined license.

2017-09-20 Thread Yasuhiro KIMURA
Hello all.

Let's assume there is a port of software with following situation.

* It is covered under single license that is not defined in
  bsd.license.db.mk.
* There is no license document file in source archive.
* But there is license sentences in each of source code files.

In this case following variable must be set in Makefile of the port.

* LICENSE
* LICENSE_NAME
* LICENSE_PERMS
* Either LICENSE_FILE or LICENSE_TEXT

And I would like to ask how to handle last one. That is,

1. Set one of source code files as LICENSE_FILE.
   (e.g. LICENSE_FILE=${WRKSRC}/src/main.c)
2. Cut license sentences from source code file, create a file under
   'files' directory and paste the sentences to it, and set it as
   LICENSE_FILE. (e.g. LICENSE_FILE=${FILESDIR}/LICENSE)
3. Set LICENSE_TEXT such as "License conditions are written in source
   code files. Extract archive file and check them if necessary."

Which is most preferable in this case?

---
Yasuhiro KIMURA
___
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: OpenLDAP 24 and MemberOf

2017-09-20 Thread Kaya Saman
On Tue, 2017-09-19 at 23:49 +0200, Per olof Ljungmark wrote:
> On 2017-09-19 17:59, Kaya Saman wrote:
> > Hi,
> > 
> > I'm trying to install the MemberOf Overlay in the OpenLDAP 24
> > Server
> > port but for some reason I don't think it's getting installed??
> > 
> > Most likely I'm doing something wrong here but on the port dir:
> > 
> > /usr/ports/net/openldap24-server
> > 
> > make config
> > 
> > [X] MemberOf
> > 
> > make clean
> > 
> > make
> > 
> > make deinstall (remove existing install)
> > 
> > make install
> > 
> > 
> > Then look under:  ls /usr/local/libexec/openldap/
> > 
> > and it's not there?? According to the port a memberof.la file
> > should
> > exist somewhere on the system which it doesn't.
> > 
> > 
> > I've also tried checking the /usr/local/etc/openldap/schema
> > directory
> > with no luck either.
> > 
> > 
> > Could someone point me in the right direction of how to
> > install/enable
> > this as I'm lost.
> > 
> > I mean it might actually be built in but perhaps I can't find it
> > and
> > don't know how to enable it either... ?? :-S
> 
> I ran into the same issue with ppolicy, actually they are statically
> compiled, try
> 
> /usr/local/libexec/slapd -VVV
> 
> //per

Thanks for the hint. :-)

It's strange, I don't know if compiling with the [X] memberOf , option
worked or not but changing a group in my LDAP DB from POSIX to
groupOfNames then adding the 'uid' entity needed worked??

I took the idea from here:

http://www.openldap.org/doc/admin24/overlays.html

as it says, add: overlay memberof

to slapd.conf

then associate the object with groupOfNames type group.


Kaya
___
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"


Business Phone Systems Users List

2017-09-20 Thread Meghan Hudson


Hello there,

I would like to know if you are interested in acquiring Business Phone Systems 
Users List.

Some of your target interest: 1-VoIP, 3CX, 8x8, AirePBX, ShoreTel, RingCentral, 
Nextiva, Allworx, AT&T, Avaya, Mitel, Cisco, Cloud Phone, Cloud Phone 
Answering, Comcast, Frontier, Ooma, Grandstream, Polycom, Yealink, Panasonic, 
Jive PBX, Vonage, FluentStream VoIP, MegaPath, Five9 Cloud Contact Center, 
Huawei eSpace, XO Hosted PBX and many more...

Information fields: Names, Title, Email, Phone, Company Name, Company URL, 
Company physical address, SIC Code, Industry, Company Size (Revenue and 
Employee).

Let me know if you are interested and I will get back to you with the counts 
and pricing.

Regards,
Meghan
Marketing Executive
To opt out, please reply with Leave Out in the Subject Line.


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


namespace pollution with entities in math.h

2017-09-20 Thread Steve Kargl
It seems that I accidentally stumped onto namespace
pollution in lang/python36, which is identical to the
same issue I came across with lang/python27 and reported
several weeks ago.  The following diff fixes both ports.

Index: lang/python27/files/patch-Modules__mathmodule.c
===
--- lang/python27/files/patch-Modules__mathmodule.c (nonexistent)
+++ lang/python27/files/patch-Modules__mathmodule.c (working copy)
@@ -0,0 +1,38 @@
+--- Modules/mathmodule.c.orig  2017-09-15 11:14:58.388892000 -0700
 Modules/mathmodule.c   2017-09-15 11:15:38.636909000 -0700
+@@ -71,7 +71,7 @@
+ static const double sqrtpi = 1.772453850905516027298167483341145182798;
+ 
+ static double
+-sinpi(double x)
++_sinpi(double x)
+ {
+ double y, r;
+ int n;
+@@ -270,7 +270,7 @@
+integer. */
+ if (absx > 200.0) {
+ if (x < 0.0) {
+-return 0.0/sinpi(x);
++return 0.0/_sinpi(x);
+ }
+ else {
+ errno = ERANGE;
+@@ -294,7 +294,7 @@
+ }
+ z = z * lanczos_g / y;
+ if (x < 0.0) {
+-r = -pi / sinpi(absx) / absx * exp(y) / lanczos_sum(absx);
++r = -pi / _sinpi(absx) / absx * exp(y) / lanczos_sum(absx);
+ r -= z * r;
+ if (absx < 140.0) {
+ r /= pow(y, absx - 0.5);
+@@ -366,7 +366,7 @@
+ (x-0.5)*(log(x+lanczos_g-0.5)-1);
+ }
+ else {
+-r = log(pi) - log(fabs(sinpi(absx))) - log(absx) -
++r = log(pi) - log(fabs(_sinpi(absx))) - log(absx) -
+ (log(lanczos_sum(absx)) - lanczos_g +
+  (absx-0.5)*(log(absx+lanczos_g-0.5)-1));
+ }

Property changes on: lang/python27/files/patch-Modules__mathmodule.c
___
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: lang/python36/files/patch-Modules__mathmodule.c
===
--- lang/python36/files/patch-Modules__mathmodule.c (nonexistent)
+++ lang/python36/files/patch-Modules__mathmodule.c (working copy)
@@ -0,0 +1,38 @@
+--- Modules/mathmodule.c.orig  2017-09-15 13:33:29.735199000 -0700
 Modules/mathmodule.c   2017-09-15 13:33:48.030737000 -0700
+@@ -67,7 +67,7 @@
+ static const double logpi = 1.144729885849400174143427351353058711647;
+ 
+ static double
+-sinpi(double x)
++_sinpi(double x)
+ {
+ double y, r;
+ int n;
+@@ -296,7 +296,7 @@
+integer. */
+ if (absx > 200.0) {
+ if (x < 0.0) {
+-return 0.0/sinpi(x);
++return 0.0/_sinpi(x);
+ }
+ else {
+ errno = ERANGE;
+@@ -320,7 +320,7 @@
+ }
+ z = z * lanczos_g / y;
+ if (x < 0.0) {
+-r = -pi / sinpi(absx) / absx * exp(y) / lanczos_sum(absx);
++r = -pi / _sinpi(absx) / absx * exp(y) / lanczos_sum(absx);
+ r -= z * r;
+ if (absx < 140.0) {
+ r /= pow(y, absx - 0.5);
+@@ -390,7 +390,7 @@
+ r += (absx - 0.5) * (log(absx + lanczos_g - 0.5) - 1);
+ if (x < 0.0)
+ /* Use reflection formula to get value for negative x. */
+-r = logpi - log(fabs(sinpi(absx))) - log(absx) - r;
++r = logpi - log(fabs(_sinpi(absx))) - log(absx) - r;
+ if (Py_IS_INFINITY(r))
+ errno = ERANGE;
+ return r;

Property changes on: lang/python36/files/patch-Modules__mathmodule.c
___
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property

-- 
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
___
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: gettextsetup warnings

2017-09-20 Thread Romain Tartière
On Wed, Sep 20, 2017 at 03:06:52PM +0200, Romain Tartière wrote:
> Unfortunately, changing locales works on my computer …
> [...]
> … but not on the other nodes I manage :-/
> [...]
> I currently fail at locating what is different between these nodes.

Found the culprit yesterday in the train! But Internet access is flaky
here :-/

The problems is in the gettext-setup gem, which detects the available
locales in a wrong way (it search for .po files, and when found, add the
directory name to the valid locales available):
https://github.com/puppetlabs/gettext-setup-gem/blob/master/lib/gettext-setup/gettext_setup.rb#L97-L102

Since we only have .mo files in the searched directory, you guess why
the 'ja' locale was not considered available.

But in fact the problem is deeper: the hunt for .po files happens in
multiple directories, and if such a file is available in any of these
directories, the locale is enabled…  So on my system, it looks like the
file /usr/local/share/locale/ja/gutenprint_ja.po installed by
print/gutenprint white-listed the 'ja' locale, and then
/var/puppet/share/locale/ja/LC_MESSAGES/puppet.mo could be used.

The patched gettext-setup gem is available here:
https://github.com/smortex/puppet5/commit/41ea629eca9112510613d966a8e0639f3cb91da1

I am currently deploying this on my nodes in case this changes has other
unexpected consequences.

Romain

-- 
Romain Tartière   http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)


signature.asc
Description: PGP signature