Re: can I get a 'mentor' who can guide me on the topic of python module ports?

2017-11-27 Thread Kurt Jaeger
Hi!

> >> I have a requirement from $JOB to install some software (the python
> >> based Azure SDK actually) [...]
> > I suggest you put your initial version up somewhere and
> > then start ask questions here.
> >
> > It might be faster if many people submit hints than if
> > only one person gives you hints 8-}
> So far I don't know enough to put up anything.

Ok, then there are two steps for the start:

1) Where is the distfile ? Because the first step would be to
create a ports Makefile that downloads that distfile.

Is it this ?

https://go.microsoft.com/fwlink/?LinkId=253472=0x409

2) Then, one has to dig into

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html

to get to a initial Makefile.

For this step: Install ports-mgmt/porttools and use

port create

Extra homework: Think about a nice name 8-}

-- 
p...@opsec.eu+49 171 3101372 3 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: Exporting phone list to a fritz router (.xml) & android phone app.

2017-11-27 Thread Chris H

On Mon, 27 Nov 2017 22:42:14 +0100 "Julian H. Stacey"  said


Hi ports@ people
Any reccomendations of ports/ that may manage phone & address booke,
& import/export to Fritz Routers & Android phone app ?  Should I
be using a stack of vCards format as a common intermediary to edit
the master with vi, or some port ?

My large phone+address book has for 20 years been vi editable in my own
format:
http://www.berklix.com/~jhs/src/bsd/jhs/bin/public/phone/
which supports lots of additional fields way beyond phone & address,
& Makefiles export to 3 device formats:
BSD ISDN i4b S0 card man(8) isdnd
ports/comms/gnokii nokia etc mobiles
ports/misc/estic Istec 1008 etc (PBX=LCO=TK Anlage)

I now want to export to 2 new device formats:
Fritz routers that export & import in xml format, sample appended.
Android phone app.  Format unexamined yet

I expect to lash up an export from phone.c to Fritz XML,
but probably you can reccomend some nicer standard ports &/or formats ?
Didn't there used to be some [kde?] or similar tool in a larger package ?

https://www.freebsd.org/cgi/ports/ gives with
"phone book"

ports/misc/telbook  
in Perl and uses the GTK+ 2 p   no mention of xml

ports/deskutils/tel/
Entries are stored in a simple CSV file. This eases import
and export with common spread sheet applications like
Microsoft Excel or OpenOffice.org Calc

"address book"

deskutils/dlume
stores your contacts in XML format
Export to CSV and HTML formats is also available

deskutils/gaddr
holds addresses and any other information you want to know
about a person

deskutils/py-pycarddav
CardDAV CLI client

https://en.wikipedia.org/wiki/CardDAV
based on WebDAV, which is based on HTTP, and it uses vCard
for contact data.

mail/evolution
Big, databases/evolution-data-server make broke.
pkg install worked  starts with mail

mail/horde-turba
supports storing contacts in SQL, LDAP, Kolab, and IMSP

"phone numbers"
devel/py-phonenumbers

I guess if it were me; based on as much of your code as I examined, and
the ports mentioned above. I'd probably go with: deskutils/dlume
or perhaps better, cobble my own.
Managing the numbers, and associated info in CSV format seems like it would
be almost trivial. In my mind could nearly accomplish the whole matter with
awk(1).
In fact, I'm currently managing a database with over 9 million records,
and extract, and format most of it with awk. *Super* fast, and much easier
than sed(1). Which is what I was originally attempting to do it with.

My .02¢ FWIW



Cheers,
Julian


--Chris


--
Julian H. Stacey, Computer Consultant, BSD Linux Unix Systems Engineer,
Munich
Reply below, Prefix '> '. Plain text, No .doc, base64, HTML,
quoted-printable.
http://berklix.eu/brexit/ UK stole 3,500,000 votes; 700,000 from Brits in
EU.



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


Exporting phone list to a fritz router (.xml) & android phone app.

2017-11-27 Thread Julian H. Stacey
Hi ports@ people
Any reccomendations of ports/ that may manage phone & address booke,
& import/export to Fritz Routers & Android phone app ?  Should I
be using a stack of vCards format as a common intermediary to edit
the master with vi, or some port ?

My large phone+address book has for 20 years been vi editable in my own format:
http://www.berklix.com/~jhs/src/bsd/jhs/bin/public/phone/
which supports lots of additional fields way beyond phone & address,
& Makefiles export to 3 device formats:
BSD ISDN i4b S0 card man(8) isdnd
ports/comms/gnokii nokia etc mobiles
ports/misc/estic Istec 1008 etc (PBX=LCO=TK Anlage)

I now want to export to 2 new device formats:
Fritz routers that export & import in xml format, sample appended.
Android phone app.  Format unexamined yet

I expect to lash up an export from phone.c to Fritz XML,
but probably you can reccomend some nicer standard ports &/or formats ?
Didn't there used to be some [kde?] or similar tool in a larger package ?

https://www.freebsd.org/cgi/ports/ gives with
"phone book"

ports/misc/telbook  
in Perl and uses the GTK+ 2 p   no mention of xml

ports/deskutils/tel/
Entries are stored in a simple CSV file. This eases import
and export with common spread sheet applications like
Microsoft Excel or OpenOffice.org Calc

"address book"

deskutils/dlume
stores your contacts in XML format
Export to CSV and HTML formats is also available

deskutils/gaddr
holds addresses and any other information you want to know
about a person

deskutils/py-pycarddav
CardDAV CLI client

https://en.wikipedia.org/wiki/CardDAV
based on WebDAV, which is based on HTTP, and it uses vCard
for contact data.

mail/evolution
Big, databases/evolution-data-server make broke.
pkg install worked  starts with mail

mail/horde-turba
supports storing contacts in SQL, LDAP, Kolab, and IMSP

"phone numbers"
devel/py-phonenumbers

Cheers,
Julian
-- 
Julian H. Stacey, Computer Consultant, BSD Linux Unix Systems Engineer, Munich
 Reply below, Prefix '> '. Plain text, No .doc, base64, HTML, quoted-printable.
 http://berklix.eu/brexit/ UK stole 3,500,000 votes; 700,000 from Brits in EU.
___
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: RTTI support in devel/llvm40 (and maybe other llvm ports)

2017-11-27 Thread Brooks Davis
On Sun, Nov 26, 2017 at 11:15:53PM +0700, Alexey Dokuchaev wrote:
> On Sun, Nov 12, 2017 at 07:41:04PM +0700, Alexey Dokuchaev wrote:
> > On Sun, Nov 12, 2017 at 08:03:19AM +, Brooks Davis wrote:
> > > On Fri, Nov 10, 2017 at 02:07:48PM +0700, Alexey Dokuchaev wrote:
> > > > I've just found out that our `devel/llvm40' port comes without
> > > > -DLLVM_ENABLE_RTTI=ON on the CMAKE_ARGS.  This is a regression
> > > > from e.g. 3.4 times when it was enabled by default.
> > > > 
> > > > The problem is that RTTI support is required by some consumers,
> > > > e.g. `graphics/openshadinglanguage' and `graphics/appleseed'
> > > > (cf. https://github.com/appleseedhq/appleseed/issues/1625),
> > > > but I cannot enable RTTI in those ports unless I enable it in
> > > > LLVM port(s) first.
> > > 
> > > It's been a few years since we disabled it so I don't remember the
> > > details of the decision.  I'll look into it, but am not in a position
> > > to test for breakage to other ports.
> > 
> > Well it's probably OK to expect users or maintainers of those ports
> > would speak up if enabling RTTI breaks their software. :-)
> > 
> > > IIRC there were once ports that failed to build both with and
> > > without so it may be that we need to wait for flavors to make this
> > > change.
> > 
> > Hmm, that's weird: I'd expect it is easier to *not* use RTTI when
> > one does not need it than try to find the way around when it is not
> > available (which might not be possible).  I also don't see why we
> > should wait for FLAVORS: if needed, we can always make it optional
> > (cf. existing EXTRAS LIT LLD LLDB options) but enabled by default.
> 
> Did you have a chance to make up your mind on this?  (If you worry
> that enabling RTTI might break some ports we can always ask portmgr@
> for an exp-run).

Between travel and US holidays I've had no time for this.  I'll take a
look at it soon.

-- Brooks


signature.asc
Description: PGP signature


Ports and LLVM's lld linker

2017-11-27 Thread Ed Maste
We're making good progress on using LLVM's lld linker as FreeBSD's
/usr/bin/ld, so I'd like to raise awareness of the new linker within
the ports community.

Why do we need a new linker? Compared to GNU ld 2.17.50 currently in
the FreeBSD base system, lld brings:

* AArch64 (arm64) support
* Link Time Optimization (LTO)
* New ABI support
* Other linker optimizations
* Much faster link times
* Maintained code base

There are a pair of src.conf build knobs, WITH_LLD_BOOTSTRAP and
WITH_LLD_IS_LD, which control whether lld is used to link during
buildworld, and whether lld is installed as /usr/bin/ld. You can also
switch the linker by making /usr/bin/ld a symlink to either ld.bfd or
ld.lld.

These build knobs are enabled by default on arm64 as of FreeBSD 11.1.
I have been using lld as /usr/bin/ld on my amd64 laptop and desktop
for over a year. (Note that there are a few outstanding issues on
i386, and lld is not yet fully as the system linker there. I expect
that both i386 and 32-bit arm will be fully working in time for
FreeBSD 12.0.)

For the ports tree we've been iterating on exp-runs using lld, in PR
214864. A number of issues have been identified during this process,
and we've added a LLD_UNSAFE option that can be set in a port's
Makefile to fall back to GNU ld (either /usr/bin/ld.bfd or by
depending on the binutils port if /usr/bin/ld.bfd does not exist).

Note that there's currently a bug in pkg (PR223776) which causes
issues registering shared libraries linked by lld; once it's resolved
I'd like to encourage port maintainers who are willing to experiment
with FreeBSD-current test environment to enable WITH_LLD_IS_LD and
ensure that their ports work as expected. I'm happy to help work
through any issues that are found.
___
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: Time for a firefox-56 port?

2017-11-27 Thread blubee blubeeme
I did not add those unless it was from a build process but that doesn't
seem likely for this copy of the ports tree.

Now that I know that I could get rid of them a few lines of code did it.

svn status | awk '{print $2}' | xargs -I {} sudo svn revert "/usr/ports/{}"

svn status | awk '{print $2}' | xargs -I {} sudo svn rm "/usr/ports/{}"

now svn status reports no errors.

Thanks again!

On Tue, Nov 28, 2017 at 12:47 AM, Kurt Jaeger  wrote:

> Hi!
>
> > svn status for /usr/ports is showing ? for these files, why is that?
>
> They are not known to the svn repo, so either remove the files or
> do something with them -- did you add them ? Local patches ?
>
> --
> p...@opsec.eu+49 171 3101372 3 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: Time for a firefox-56 port?

2017-11-27 Thread Kurt Jaeger
Hi!

> svn status for /usr/ports is showing ? for these files, why is that?

They are not known to the svn repo, so either remove the files or
do something with them -- did you add them ? Local patches ?

-- 
p...@opsec.eu+49 171 3101372 3 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: Time for a firefox-56 port?

2017-11-27 Thread blubee blubeeme
svn status for /usr/ports is showing ? for these files, why is that? How
can I fix it?

/usr/ports % svn status .
?   audio/linuxsampler/files/patch-src_common_Pool.h
?   databases/py-pymssql/files/patch-__mssql.pxd
?   databases/timescaledb/pkg-message
?   devel/pychecker/pkg-plist
?   devel/tkinspect
?   ftp/php56-fastdfs/files
?   ftp/php70-fastdfs/files
?   ftp/php71-fastdfs/files
?   games/bogged
?   games/ifm
?   games/tksol
?   games/ttraffic
?   graphics/linux-adobesvg
?   graphics/swfmill/files
?   lang/rust/files/patch-src_vendor_openssl-sys_build.rs
?   lang/rust/files/patch-src_vendor_openssl-sys_src_lib.rs
?   lang/rust/files/patch-src_vendor_openssl-sys_src_libressl_mod.rs
?   lang/rust/files/patch-src_vendor_openssl_build.rs
?   lang/rust/files/patch-src_vendor_openssl_src_ssl_mod.rs
?   lang/rust/files/patch-src_vendor_openssl_src_ssl_tests_mod.rs
?   lang/sagittarius-scheme/files/patch-cmake_FindSSE.cmake
?   lang/tcl84
?   mail/sympa/files/patch-Makefile.in
?   mail/tkrat2
?   math/mprime/files/pkg-message.in
?   math/mprime/pkg-plist
?   math/pari/files
?   math/py-pandas/files/patch-pandas_tests_io_test__html.py
?   math/py-pandas/files/patch-pandas_tests_io_test__sql.py
?   multimedia/dtv
?   net/hping-devel
?   net/rabbitmq-c/files/patch-configure.ac
?   net/rabbitmq-c/files/patch-tools_common.c
?   net/samba46/files/patch-docs-xml__wscript_build
?   net-mgmt/collectd5/files/patch-configure.ac
?   net-mgmt/collectd5/files/patch-src__Makefile.am
?   net-mgmt/collectd5/files/patch-src__daemon__Makefile.am
?   net-mgmt/collectd5/files/patch-src__daemon__collectd.h
?   net-mgmt/collectd5/files/patch-src__dns.c
?   net-mgmt/collectd5/files/patch-src__modbus.c
?   net-mgmt/collectd5/files/patch-src__tcpconns.c
?   net-mgmt/collectd5/files/patch-src_config.h.in
?   net-mgmt/collectd5/files/patch-src_write__mongodb.c
?   net-mgmt/netwag
?   news/brag
?   ports-mgmt/poudriere/work
?   science/tfel/files
?   security/gnupg/files
?   sysutils/qjail2
?   textproc/srilm
?   textproc/uncrustify/files
?   www/firefox/files/firefox.desktop.in
?   www/linux-firefox
?   www/linux-seamonkey
?   x11-toolkits/tk84


On Mon, Nov 27, 2017 at 11:50 PM, blubee blubeeme 
wrote:

> looks like there were a few conflicts. I did a svn revert -R /usr/prts &&
> svn update and all seems well now.
>
> Thanks for the assistance!
>
> On Mon, Nov 27, 2017 at 11:40 PM, Kurt Jaeger  wrote:
>
>> Hi!
>>
>> > URL: https://svn.freebsd.org/ports/head
>> > Relative URL: ^/head
>> > Repository Root: https://svn.freebsd.org/ports
>> > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
>> > Revision: 454966
>> > Node Kind: directory
>> > Schedule: normal
>> > Last Changed Author: feld
>> > Last Changed Rev: 454966
>> > Last Changed Date: 2017-11-27 23:28:45 +0800 (Mon, 27 Nov 2017)
>>
>> I have the same repo upstream and www/palemoon exists on my side.
>>
>> Hmm, strange.
>>
>> What does
>>
>> svn status
>>
>> display ?
>>
>> --
>> p...@opsec.eu+49 171 3101372 3 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: Time for a firefox-56 port?

2017-11-27 Thread blubee blubeeme
looks like there were a few conflicts. I did a svn revert -R /usr/prts &&
svn update and all seems well now.

Thanks for the assistance!

On Mon, Nov 27, 2017 at 11:40 PM, Kurt Jaeger  wrote:

> Hi!
>
> > URL: https://svn.freebsd.org/ports/head
> > Relative URL: ^/head
> > Repository Root: https://svn.freebsd.org/ports
> > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> > Revision: 454966
> > Node Kind: directory
> > Schedule: normal
> > Last Changed Author: feld
> > Last Changed Rev: 454966
> > Last Changed Date: 2017-11-27 23:28:45 +0800 (Mon, 27 Nov 2017)
>
> I have the same repo upstream and www/palemoon exists on my side.
>
> Hmm, strange.
>
> What does
>
> svn status
>
> display ?
>
> --
> p...@opsec.eu+49 171 3101372 3 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: Time for a firefox-56 port?

2017-11-27 Thread Kurt Jaeger
Hi!

> URL: https://svn.freebsd.org/ports/head
> Relative URL: ^/head
> Repository Root: https://svn.freebsd.org/ports
> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> Revision: 454966
> Node Kind: directory
> Schedule: normal
> Last Changed Author: feld
> Last Changed Rev: 454966
> Last Changed Date: 2017-11-27 23:28:45 +0800 (Mon, 27 Nov 2017)

I have the same repo upstream and www/palemoon exists on my side.

Hmm, strange.

What does 

svn status

display ?

-- 
p...@opsec.eu+49 171 3101372 3 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: can I get a 'mentor' who can guide me on the topic of python module ports?

2017-11-27 Thread Kurt Jaeger
Hi!

> I have a requirement from $JOB to install some software (the python 
> based Azure SDK actually) and I'd like to see if I can beat it into 
> the form of a port so that others can solve this issue as well. My 
> problem is that I don't know enough about how ports deal with python,
> nor for that matter how python (via pip) handles it's own modules.

I suggest you put your initial version up somewhere and
then start ask questions here.

It might be faster if many people submit hints than if
only one person gives you hints 8-}

> If there is someone on this mailing list who has the time and patience 
> to help me by answering stupid questions as I come up with them, and 
> really understands the ports/python interaction, I'd love to hear 
> from you.

If you want to have one person only, you can send me questions, but
note that sometimes it gets busy on my side, so sometimes it
will take time for me to answer.

-- 
p...@opsec.eu+49 171 3101372 3 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: Time for a firefox-56 port?

2017-11-27 Thread blubee blubeeme
me@me:/usr/ports % svn info .
Path: .
Working Copy Root Path: /usr/ports
URL: https://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: https://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 454966
Node Kind: directory
Schedule: normal
Last Changed Author: feld
Last Changed Rev: 454966
Last Changed Date: 2017-11-27 23:28:45 +0800 (Mon, 27 Nov 2017)


On Mon, Nov 27, 2017 at 11:35 PM, Kurt Jaeger  wrote:

> Hi!
>
> > I just did a svn update to grab the latest ports but palemoon isn't in
> the
> > tree yet. When will this land in the ports tree for CURRENT consumption/
> > testing?
>
> palemoon is already in the HEAD of the ports tree.
>
> Which ports tree did you check out ?
>
> What does
>
> svn info .
>
> say about your check-out repo ?
>
> --
> p...@opsec.eu+49 171 3101372 3 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: Time for a firefox-56 port?

2017-11-27 Thread Kurt Jaeger
Hi!

> I just did a svn update to grab the latest ports but palemoon isn't in the
> tree yet. When will this land in the ports tree for CURRENT consumption/
> testing?

palemoon is already in the HEAD of the ports tree.

Which ports tree did you check out ?

What does

svn info .

say about your check-out repo ?

-- 
p...@opsec.eu+49 171 3101372 3 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: Time for a firefox-56 port?

2017-11-27 Thread blubee blubeeme
On Sun, Nov 26, 2017 at 11:18 PM, Kurt Jaeger  wrote:

> Hi!
>
> > I'm sure I'm not the only person who relies on old addons.  How about
> > a firefox-56 port until the current problems die down?
> >
> >
> > Here is a port for the Palemoon browser:
> >
> >   https://www.freshports.org/www/palemoon/
>
> And thank you for that! It works much better than firefox in most cases.
>
> --
> p...@opsec.eu+49 171 3101372 3 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"
>

I just did a svn update to grab the latest ports but palemoon isn't in the
tree yet. When will this land in the ports tree for CURRENT consumption/
testing?
___
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"


can I get a 'mentor' who can guide me on the topic of python module ports?

2017-11-27 Thread Julian Elischer
I have a requirement from $JOB to install some software (the python 
based Azure SDK actually) and I'd like to see if I can beat it into 
the form of a port so that others can solve this issue as well.  My 
problem is that I don't know enough about how ports deal with python,  
nor for that matter how python (via pip) handles it's own modules.
If there is someone on this mailing list who has the time and patience 
to help me by answering stupid questions as I come up with them, and 
really understands the ports/python  interaction, I'd love to hear 
from you.


thanks

Julian

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