CVS: cvs.openbsd.org: ports

2017-02-26 Thread Jonathan Gray
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/02/26 19:32:22

Modified files:
fonts  : Makefile 

Log message:
+go-fonts



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Jonathan Gray
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2017/02/26 19:28:00

Log message:
Add a port for the Go fonts.

A family of high-quality WGL4 TrueType fonts, created by the Bigelow &
Holmes type foundry specifically for the Go project.

The font family, called Go (naturally), includes proportional and
fixed-width faces in normal, bold, and italic renderings. The fonts have
been tested for technical uses, particularly programming. Go source code
looks particularly good when displayed in Go fonts, as its name implies,
with things like punctuation characters easily distinguishable and
operators lined up and placed consistently.

ok jturner@ on an earlier version, feedback and ok juanfra@

Status:

Vendor Tag: jsg
Release Tags:   jsg_20170227

N ports/fonts/go-fonts/Makefile
N ports/fonts/go-fonts/distinfo
N ports/fonts/go-fonts/pkg/DESCR
N ports/fonts/go-fonts/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2017/02/26 18:42:06

Modified files:
net/osrtspproxy: Makefile 
net/osrtspproxy/patches: patch-configure 

Log message:
honour CC, CXX



Re: [NEW] games/openspades

2017-02-26 Thread David CARLIER
Here a newer version cleaned up. Kind regards.

On 26 February 2017 at 21:51, David CARLIER  wrote:

> Hi all,
>
> Here is a proposal for importing this game to the tree.
>
> Thanks in advance.
>


openspades.tar.gz
Description: GNU Zip compressed data


Re: NEW: shells/py-qtconsole 4.2.1

2017-02-26 Thread Daniel Jakots
On Sat, 18 Feb 2017 18:41:39 +0500, Alexandr Shadchin
 wrote:

> On Sat, Dec 31, 2016 at 01:30:53AM +0500, Alexandr Shadchin wrote:
> > On Wed, Dec 14, 2016 at 02:00:31PM +0500, Alexandr Shadchin wrote:  
> > > Hi,
> > > 
> > > ok to import? Need for import editors/spyder.
> > > 
> > > DESCR:
> > > 
> > > Qt-based console for Jupyter with support for rich media output.
> > >   
> > 
> > Ping
> >   
> 
> Ping
> 

Was a bit of a pain to test it with all these depends, finally
succeed ;).

You need to add nose as a TDEP:
/usr/ports/pobj/py-qtconsole-4.2.1/qtconsole-4.2.1$ grep -nRi nose *
lib/qtconsole/tests/test_kill_ring.py:83:import nose
lib/qtconsole/tests/test_kill_ring.py:84:nose.main()
qtconsole/tests/test_kill_ring.py:83:import nose
qtconsole/tests/test_kill_ring.py:84:nose.main()

with that, ok danj@



Re: [new] www/nextcloud

2017-02-26 Thread Gonzalo L. Rodriguez
I do some tweaks on your port, can you try if this works for you?

On [18/02/17] [01:38P], Johan Huldtgren wrote:
; hello,
; 
; Nextcloud is a fork of ownCloud by many former ownCloud
; developers. after a recent ownCloud upgrade I ran into
; some issues with and decided to give nextcloud a run. It
; worked well enough that I decided to switch over. the
; port is essentially a copy of www/owncloud tweaked and
; updated to the latest version.
; 
; thanks,
; 
; .jh



-- 
Sending from my toaster.


nextcloud.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2017-02-26 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2017/02/26 15:55:38

Modified files:
audio/goattracker: Makefile 
audio/goattracker/patches: patch-makefile_common 

Log message:
Honour CC and CXX.



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Matthias Kilian
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2017/02/26 15:29:58

Modified files:
games/einstein : Makefile 

Log message:
Pass CXX.



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Matthias Kilian
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2017/02/26 15:15:08

Modified files:
math/aamath: Makefile 

Log message:
Pass CXX for linking.



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2017/02/26 14:52:07

Modified files:
editors/tweak  : Makefile 

Log message:
Pass CC for linking.

OK sthen@



[NEW] games/openspades

2017-02-26 Thread David CARLIER
Hi all,

Here is a proposal for importing this game to the tree.

Thanks in advance.


openspades.tar.gz
Description: GNU Zip compressed data


epiphany asking for upstream dep in - stable 6.0

2017-02-26 Thread Erik Adler
Epiphany will not compile in stable. It is asking for a dep that seems
to be upstream.

Requested 'webkit2gtk-4.0 >= 2.13.2' but version of WebKit2 is 2.12.5

login.conf is wide open. Have only tracked stable. Here is the relevant
part of the build log. Build method dpb.






configure: error: Package requirements (
  glib-2.0 >= 2.44.0
  gthread-2.0
  gio-unix-2.0 >= 2.44.0
  gtk+-3.0 >= 3.19.1
  gtk+-unix-print-3.0 >= 3.19.1
  x11
  libwnck-3.0
  libxml-2.0 >= 2.6.12
  libxslt >= 1.1.7
  webkit2gtk-4.0 >= 2.13.2
  libsoup-2.4 >= 2.48.0
  libsecret-1 >= 0.14
  gnome-desktop-3.0 >= 2.91.2
  gsettings-desktop-schemas >= 0.0.1
  libnotify >= 0.5.1
  sqlite3
  gcr-3 >= 3.5.5
  avahi-gobject >= 0.6.22
  avahi-client >= 0.6.22
  ) were not met:

Requested 'webkit2gtk-4.0 >= 2.13.2' but version of WebKit2 is 2.12.5

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DEPENDENCIES_CFLAGS
and DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error 1 in www/epiphany
(/usr/ports/infrastructure/mk/bsd.port.mk:2651
'/usr/ports/pobj/epiphany-3.20.7/.configure_done')
*** Error 1 in www/epiphany
(/usr/ports/infrastructure/mk/bsd.port.mk:2396 'configure')
===> Exiting www/epiphany with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:147
'configure')
Error: job failed 256
#


Erik Adler
GPG/PGP key ID: 0x2B4B58FE
gpg --keyserver pgp.mit.edu --recv-keys 0x2B4B58FE



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:49:01

Modified files:
www/nghttp2: Makefile distinfo 
www/nghttp2/patches: patch-Makefile_in 

Log message:
update to nghttp2-1.20.0



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2017/02/26 13:45:41

Modified files:
textproc/heirloom-doctools: Makefile 

Log message:
Respect CXX.



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:36:28

Modified files:
security/keybase: Makefile 

Log message:
ONLY_FOR_ARCHS=amd64, due to go-ps (bundled) not supporting other arches for 
OpenBSD.



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Anthony J . Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2017/02/26 13:32:12

Added files:
www/netsurf/netsurf-fb/patches: patch-Makefile 

Log message:
Respect CC when compiling programs used during the build.



Re: Ports with hardcoded "gcc", "g++"

2017-02-26 Thread Stuart Henderson
On 2017/02/26 16:00, Christian Weisgerber wrote:
> Ports are supposed to honor the CC and CXX variables.  (There are
> some exceptions such as perl and imake ports that pick up a central
> setting.)  They are not supposed to have hardcoded compiler names.
> In particular they should not call "gcc" or "g++".  Alas, this has
> never been strictly enfored, so numerous offenders have slipped in.
> 
> At least clang architectures will no longer have a /usr/bin/gcc or
> /usr/bin/g++.
> 
> Fortunately, this is easy to test anywhere: just rm /usr/bin/gcc
> and /usr/bin/g++.  You can hardlink them back afterwards.
> 
> Here is a first batch of ports that fail to build without "gcc" or
> "g++" being present.  More will come to light eventually.  At the
> moment, failing dependencies prevent about a third of the ports
> tree from being built.

I've fixed a handful (mostly just adding CC="${CC}" and/or
CXX="${CXX}" to MAKE_FLAGS, though some needed more work)

> audio/mp3gain
> comms/zmtx-zmrx
> converters/html2text
> misc/figlet
> net/ssvnc
> net/vncsnapshot
> telephony/astmanproxy
> security/p0f3

...

These ones are most likely qmake-related

> devel/py-sip
> textproc/wkhtmltopdf
> www/phantomjs

..

> audio/goattracker
> biology/nutdb
> chinese/crxvt
> comms/colrdx
> comms/owx
> converters/lastools
> converters/mimepp
> devel/arm-none-eabi/gcc-linaro
> devel/avr/gcc
> devel/boost
> devel/jsoncpp
> devel/libutf
> devel/premake4
> devel/pysvn
> devel/radare2/main
> editors/tweak
> emulators/sdlmame
> emulators/sdlmess
> games/blockrage
> games/capitan-sevilla
> games/einstein
> games/gemdropx
> games/icebreaker
> games/netris
> games/sdlpop
> games/teeworlds
> games/typespeed
> graphics/s10sh
> lang/ghc
> lang/libv8
> lang/mruby
> lang/nim
> lang/ocaml
> lang/squeak/vm
> mail/archiveopteryx
> mail/bmf
> math/aamath
> math/libneural
> math/libtommath
> math/minisat
> math/suitesparse
> math/xspread
> misc/randtype
> misc/xd
> multimedia/avinfo
> net/clog
> net/ftpcopy
> net/osrtspproxy
> plan9/drawterm
> plan9/plan9port
> security/foremost
> security/ipguard
> sysutils/incron
> textproc/heirloom-doctools
> textproc/libxmlbird
> textproc/pilot_makedoc
> textproc/rman
> www/cntlm
> www/netsurf/netsurf-fb
> www/swiggle
> x11/goggles
> x11/windowlab
> x11/xmold
> 
> -- 
> Christian "naddy" Weisgerber  na...@mips.inka.de
> 



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:27:21

Modified files:
converters/html2text: Makefile 
Added files:
converters/html2text/patches: patch-configure 

Log message:
fix configure script; fails if g++ not available even though build does honour 
CXX



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:18:13

Modified files:
misc/figlet: Makefile 

Log message:
pass CC for linking (it was already used for compiling, but "gcc" was used
for linking)



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:16:29

Modified files:
audio/mp3gain  : Makefile 

Log message:
honour CC



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:15:35

Modified files:
comms/zmtx-zmrx: Makefile 

Log message:
honour CC



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:13:05

Modified files:
security/p0f3  : Makefile 

Log message:
honour CC



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:09:19

Modified files:
net/vncsnapshot: Makefile 

Log message:
honour CC, CXX



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2017/02/26 13:09:32

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 
audio/grip/pkg : DESCR 

Log message:
Register removal of bladeenc and remove port mentions in DESCR files.



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:07:40

Modified files:
telephony/astmanproxy: Makefile 

Log message:
honour CC



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2017/02/26 13:05:36

Modified files:
audio  : Makefile 
Removed files:
audio/bladeenc : Makefile distinfo 
audio/bladeenc/files: Makefile 
audio/bladeenc/patches: patch-bladeenc_main_c 
patch-bladeenc_samplein_c 
patch-bladeenc_system_h 
audio/bladeenc/pkg: DESCR PLIST 

Log message:
Remove audio/bladeenc. It has been dead upstream for years, and the
latest version is from 2001. Nothing depends on it.

The main thing it had for it was speed, which is irrelevant on current
hardware. Audio quality was always controversial.

OK juanfra@, bentley@, naddy@



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2017/02/26 13:05:12

Modified files:
lang/go/pkg: PLIST 

Log message:
unbreak !amd64 packaging, duplicate item in packing-list:

-go/src/cmd/vet/all/whitelist${GOCFG}.txt
+go/src/cmd/vet/all/whitelist/openbsd_amd64.txt



NEW: sysutils/xmem

2017-02-26 Thread Christian Barthel
I'd like to suggest xmem: an X11 utility very similar to xload(1) but
displays memory and swap usage instead of CPU load.   I modified the
code a bit and pledged it.  Since I haven't found any homepage or source
code repo, I uploaded it here: http://onfire.org/xmem/. 

Any comments? 



xmem.tgz
Description: Binary data


CVS: cvs.openbsd.org: ports

2017-02-26 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2017/02/26 11:54:48

Modified files:
infrastructure/mk: bsd.port.mk 

Log message:
makesum: when distinfo changes, display a diff.
okay aja@ landry@

(think multiple distfiles)



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2017/02/26 11:50:05

Modified files:
lang/node  : Makefile distinfo 

Log message:
Bump node to the latest. Full changelog:
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#6.10.0

OK ajacoutot@



Re: [CHANGE] devel/jdk/1.8

2017-02-26 Thread Kurt Miller
On Sat, 2017-02-25 at 11:43 +0100, Antoine Jacoutot wrote:
> On Fri, Feb 24, 2017 at 12:23:15PM -0500, Kurt Miller wrote:
> > 
> > On Fri, 2017-02-24 at 11:02 +, Stuart Henderson wrote:
> > > 
> > > On 2017/02/23 13:43, Kurt Miller wrote:
> > > > 
> > > > 
> > > > This eliminates the with_ipv6 FLAVOR in favor of a different
> > > > approach.
> > > > ipv6 support will be compiled into the default packages,
> > > > however I
> > > > have
> > > > setĀ preferIPv4Stack to default to true. The result should be no
> > > > change
> > > > for ipv4 users but would allow the use of ipv6 by setting some
> > > > properties. Here's what I put in the DESCR:
> > > > 
> > > > NOTE:
> > > > ipv4 to ipv6 address mapping is disabled on OpenBSD. This means
> > > > the
> > > > jdk can only use ipv4 addresses or ipv6 addresses but not both
> > > > at
> > > > the same time. By default ipv4 addresses are enabled. To use
> > > > ipv6
> > > > addresses set the following properties when you start java:
> > > > 
> > > > -Djava.net.preferIPv4Stack=false
> > > > -Djava.net.preferIPv6Stack=true
> > > > -Djava.net.preferIPv6Addresses=true
> > > > 
> > > > Testing that I have not broken ipv4 use cases would be greatly
> > > > appreciated. Testing ipv6 works with the three properties would
> > > > get
> > > > bonus points.
> > > I had to hand-apply the patch due to UTF-8 non-breaking spaces in
> > > the
> > > email, IPv4 works, IPv6 works with the flags. This is much better
> > > than
> > > the separate flavour, so OK with me.
> > > 
> > > As expected, it's not possible to connect to a v4 address if the
> > > v6
> > > flags are in use, so the only practical way I see to be able to
> > > use
> > > both
> > > protocols from the same process is by using the v6 flags and
> > > running
> > > NAT64 + DNS64 and connecting by DNS name rather than raw IP.
> > > Software
> > > like UniFi which wants to connect explicitly to 127.0.0.1 won't
> > > work
> > > this way.
> > > 
> > Thanks for testing it. Should we add any of this text to DESC?
> > 
> > I put the PLIST changes in from your other email. Thanks for
> > catching
> > that. I'll wait a few days to see if there is any more feedback
> > before
> > committing.
> Doesn't this belong in READNE rather than DESCR?
> 

Good idea. Will do.

-Kurt



Re: Ports with hardcoded "gcc", "g++"

2017-02-26 Thread Antoine Jacoutot
On Sun, Feb 26, 2017 at 04:00:16PM +0100, Christian Weisgerber wrote:
> Ports are supposed to honor the CC and CXX variables.  (There are
> some exceptions such as perl and imake ports that pick up a central
> setting.)  They are not supposed to have hardcoded compiler names.
> In particular they should not call "gcc" or "g++".  Alas, this has
> never been strictly enfored, so numerous offenders have slipped in.
> 
> At least clang architectures will no longer have a /usr/bin/gcc or
> /usr/bin/g++.
> 
> Fortunately, this is easy to test anywhere: just rm /usr/bin/gcc
> and /usr/bin/g++.  You can hardlink them back afterwards.
> 
> Here is a first batch of ports that fail to build without "gcc" or
> "g++" being present.  More will come to light eventually.  At the
> moment, failing dependencies prevent about a third of the ports
> tree from being built.

There's also Qt that hardcodes gcc and g++ IIRC (QMAKE_CC or something like
that in the default qmake.conf).

 
> audio/goattracker
> audio/mp3gain
> biology/nutdb
> chinese/crxvt
> comms/colrdx
> comms/owx
> comms/zmtx-zmrx
> converters/html2text
> converters/lastools
> converters/mimepp
> devel/arm-none-eabi/gcc-linaro
> devel/avr/gcc
> devel/boost
> devel/jsoncpp
> devel/libutf
> devel/premake4
> devel/py-sip
> devel/pysvn
> devel/radare2/main
> editors/tweak
> emulators/sdlmame
> emulators/sdlmess
> games/blockrage
> games/capitan-sevilla
> games/einstein
> games/gemdropx
> games/icebreaker
> games/netris
> games/sdlpop
> games/teeworlds
> games/typespeed
> graphics/s10sh
> lang/ghc
> lang/libv8
> lang/mruby
> lang/nim
> lang/ocaml
> lang/squeak/vm
> mail/archiveopteryx
> mail/bmf
> math/aamath
> math/libneural
> math/libtommath
> math/minisat
> math/suitesparse
> math/xspread
> misc/figlet
> misc/randtype
> misc/xd
> multimedia/avinfo
> net/clog
> net/ftpcopy
> net/osrtspproxy
> net/ssvnc
> net/vncsnapshot
> plan9/drawterm
> plan9/plan9port
> security/foremost
> security/ipguard
> security/p0f3
> sysutils/incron
> telephony/astmanproxy
> textproc/heirloom-doctools
> textproc/libxmlbird
> textproc/pilot_makedoc
> textproc/rman
> textproc/wkhtmltopdf
> www/cntlm
> www/netsurf/netsurf-fb
> www/phantomjs
> www/swiggle
> x11/goggles
> x11/windowlab
> x11/xmold
> 
> -- 
> Christian "naddy" Weisgerber  na...@mips.inka.de
> 

-- 
Antoine



Ports with hardcoded "gcc", "g++"

2017-02-26 Thread Christian Weisgerber
Ports are supposed to honor the CC and CXX variables.  (There are
some exceptions such as perl and imake ports that pick up a central
setting.)  They are not supposed to have hardcoded compiler names.
In particular they should not call "gcc" or "g++".  Alas, this has
never been strictly enfored, so numerous offenders have slipped in.

At least clang architectures will no longer have a /usr/bin/gcc or
/usr/bin/g++.

Fortunately, this is easy to test anywhere: just rm /usr/bin/gcc
and /usr/bin/g++.  You can hardlink them back afterwards.

Here is a first batch of ports that fail to build without "gcc" or
"g++" being present.  More will come to light eventually.  At the
moment, failing dependencies prevent about a third of the ports
tree from being built.

audio/goattracker
audio/mp3gain
biology/nutdb
chinese/crxvt
comms/colrdx
comms/owx
comms/zmtx-zmrx
converters/html2text
converters/lastools
converters/mimepp
devel/arm-none-eabi/gcc-linaro
devel/avr/gcc
devel/boost
devel/jsoncpp
devel/libutf
devel/premake4
devel/py-sip
devel/pysvn
devel/radare2/main
editors/tweak
emulators/sdlmame
emulators/sdlmess
games/blockrage
games/capitan-sevilla
games/einstein
games/gemdropx
games/icebreaker
games/netris
games/sdlpop
games/teeworlds
games/typespeed
graphics/s10sh
lang/ghc
lang/libv8
lang/mruby
lang/nim
lang/ocaml
lang/squeak/vm
mail/archiveopteryx
mail/bmf
math/aamath
math/libneural
math/libtommath
math/minisat
math/suitesparse
math/xspread
misc/figlet
misc/randtype
misc/xd
multimedia/avinfo
net/clog
net/ftpcopy
net/osrtspproxy
net/ssvnc
net/vncsnapshot
plan9/drawterm
plan9/plan9port
security/foremost
security/ipguard
security/p0f3
sysutils/incron
telephony/astmanproxy
textproc/heirloom-doctools
textproc/libxmlbird
textproc/pilot_makedoc
textproc/rman
textproc/wkhtmltopdf
www/cntlm
www/netsurf/netsurf-fb
www/phantomjs
www/swiggle
x11/goggles
x11/windowlab
x11/xmold

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Matthias Kilian
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2017/02/26 06:42:10

Modified files:
devel/cpphs: Makefile 

Log message:
Make devel/cpphs ghc-only, since nhc98 is gone.

Test build done by Martijn Rijkeboer. Thanks!



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/02/26 06:34:23

Modified files:
devel/llvm : Makefile 
Added files:
devel/llvm/patches: 
patch-lib_Transforms_Scalar_LoopIdiomRecognize_cpp 

Log message:
Bring in from base:
Disable loop idiom recognition for _libc_memset and _libc_memcpy.  These are
the internal names we use in libc for memset and memcpy and having the
compiler optimize them as calls to memset and memcpy will lead to infinite
recursion.

from Brad (maintainer)



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/02/26 06:31:57

Modified files:
databases/mariadb: Makefile 
emulators/qemu : Makefile 

Log message:
Add aarch64 to ONLY_FOR_ARCHS.

from Brad



Re: NEW: fonts/go-fonts

2017-02-26 Thread Jonathan Gray
On Sun, Feb 26, 2017 at 09:39:52PM +1100, Jonathan Gray wrote:
> https://blog.golang.org/go-fonts
> 
> A family of high-quality WGL4 TrueType fonts, created by the Bigelow &
> Holmes type foundry specifically for the Go project.
> 
> The font family, called Go (naturally), includes proportional- and
> fixed-width faces in normal, bold, and italic renderings. The fonts have
> been tested for technical uses, particularly programming. Go source code
> looks particularly good when displayed in Go fonts, as its name implies,
> with things like punctuation characters easily distinguishable and
> operators lined up and placed consistently.

Another tarball with distinfo updated for a date change.
Spotted by sunil@


go-fonts.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2017-02-26 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2017/02/26 04:18:25

Modified files:
infrastructure/mk: bsd.port.mk pkgpath.mk 

Log message:
GC old stuff



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/02/26 04:15:05

Modified files:
x11/virt-viewer: Makefile distinfo 

Log message:
update to virt-viewer-5.0



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/02/26 04:08:56

Modified files:
www/qutebrowser: Makefile distinfo 
www/qutebrowser/pkg: PLIST 

Log message:
update to qutebrowser-0.10.0



CVS: cvs.openbsd.org: ports

2017-02-26 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2017/02/26 03:52:46

Modified files:
devel/cpp-hocon: Makefile distinfo 

Log message:
update to cpp-hocon-0.1.5



NEW: fonts/go-fonts

2017-02-26 Thread Jonathan Gray
https://blog.golang.org/go-fonts

A family of high-quality WGL4 TrueType fonts, created by the Bigelow &
Holmes type foundry specifically for the Go project.

The font family, called Go (naturally), includes proportional- and
fixed-width faces in normal, bold, and italic renderings. The fonts have
been tested for technical uses, particularly programming. Go source code
looks particularly good when displayed in Go fonts, as its name implies,
with things like punctuation characters easily distinguishable and
operators lined up and placed consistently.


go-fonts.tgz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2017-02-26 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2017/02/26 03:09:53

Modified files:
lang/guile2: Makefile distinfo 
Removed files:
lang/guile2/patches: patch-module_ice-9_ftw_scm 

Log message:
Update to guile2-2.0.14.
Keep BROKEN since the bulk builders cannot build it for some reason.



Re: Remove !LP64 ports (was: Re: shells/{scsh,yash} lacks @shell marker in PLIST)

2017-02-26 Thread Stuart Henderson
On 2017/02/25 15:07, Christian Weisgerber wrote:
> On 2017-02-24, Christian Weisgerber  wrote:
> 
> >> Additionally, the shells/scsh port is another shell port that does not
> >> add an entry to /etc/shells
> >
> > NOT_FOR_ARCHS=  ${LP64_ARCHS}
> >
> > I think this port should be deleted.
> 
> Actually, I suggest that we remove all remaining ports that are marked
> NOT_FOR_ARCHS=${LP64_ARCHS}:
> 
> lang/nhc98
> security/logsurfer
> shells/scsh

IIRC logsurfer is due to an old version of the gnu regexp library.
Somewhere there's a diff converting it to libc's (I think it might have
been from genua). Does anyone have a copy?



mutt esc key to cancel commands

2017-02-26 Thread Walter Alejandro Iglesias
Hello,

I sent the patches below to mutt-dev.  Just a workaround for vi users be
able to get rid of the annoying emacs defacto Ctrl-G to cancel commands.

A maintainer answered me that being mutt_getch() a very low level
function the change could affect more than just the line editor.  I'm
not skilled in C to know it just looking at the code, but so far I
haven't noticed any side effect except for what I added to the man page
(see init.h text below).

I thought it would be fine to post this also here so people interested
can test it.



--- mutt-1.7.2/mutt.h   Mon Dec  5 00:46:59 2016
+++ mutt-1.7.2-modified/mutt.h  Sat Feb 25 23:12:19 2017
@@ -340,6 +340,7 @@ enum
   OPTEDITHDRS,
   OPTENCODEFROM,
   OPTENVFROM,
+  OPTESCKEYABORTS,
   OPTFASTREPLY,
   OPTFCCCLEAR,
   OPTFOLLOWUPTO,


--- mutt-1.7.2/curs_lib.c   Mon Dec  5 00:46:59 2016
+++ mutt-1.7.2-modified/curs_lib.c  Sat Feb 25 23:30:31 2017
@@ -148,7 +148,10 @@ event_t mutt_getch (void)
 
   ret.ch = ch;
   ret.op = 0;
-  return (ch == ctrl ('G') ? err : ret);
+  if (option (OPTESCKEYABORTS))
+return (ch == '\033' ? err : ret);
+  else
+return (ch == ctrl ('G') ? err : ret);
 }
 
 int _mutt_get_field (const char *field, char *buf, size_t buflen, int 
complete, int multiple, char ***files, int *numfiles)


--- mutt-1.7.2/keymap.c Mon Dec  5 00:46:59 2016
+++ mutt-1.7.2-modified/keymap.cSat Feb 25 14:47:29 2017
@@ -1133,16 +1133,32 @@ void mutt_what_key (void)
 {
   int ch;
 
-  mutt_window_mvprintw (MuttMessageWindow, 0, 0, _("Enter keys (^G to abort): 
"));
-  do {
-ch = getch();
-if (ch != ERR && ch != ctrl ('G'))
-{
-  mutt_message(_("Char = %s, Octal = %o, Decimal = %d"),
-  km_keyname(ch), ch, ch);
+  if (option (OPTESCKEYABORTS))
+  {
+mutt_window_mvprintw (MuttMessageWindow, 0, 0, _("Enter keys (ESC to 
abort): "));
+do {
+  ch = getch();
+  if (ch != ERR && ch != '\033')
+  {
+mutt_message(_("Char = %s, Octal = %o, Decimal = %d"),
+  km_keyname(ch), ch, ch);
+  }
 }
+while (ch != ERR && ch != '\033');
   }
-  while (ch != ERR && ch != ctrl ('G'));
+  else
+  {
+mutt_window_mvprintw (MuttMessageWindow, 0, 0, _("Enter keys (^G to 
abort): "));
+do {
+  ch = getch();
+  if (ch != ERR && ch != ctrl ('G'))
+  {
+mutt_message(_("Char = %s, Octal = %o, Decimal = %d"),
+  km_keyname(ch), ch, ch);
+  }
+}
+while (ch != ERR && ch != ctrl ('G'));
+  }
 
   mutt_flushinp();
   mutt_clear_error();


--- mutt-1.7.2/init.h   Mon Dec  5 00:46:59 2016
+++ mutt-1.7.2-modified/init.h  Sat Feb 25 23:36:57 2017
@@ -762,6 +762,14 @@ struct option_t MuttVars[] = {
   ** .pp
   ** Escape character to use for functions in the built-in editor.
   */
+  { "esc_key_aborts",  DT_BOOL, R_NONE, OPTESCKEYABORTS, 0 },
+  /*
+  ** .pp
+  ** For vi-like bindings users.  Set this value to ``yes'' to use
+  ** ESC key instead of the default Ctrl-G to abort commands.  Take
+  ** in care some predifined emacs-like Meta prefixed bindings will
+  ** stop working.
+  */
   { "fast_reply",  DT_BOOL, R_NONE, OPTFASTREPLY, 0 },
   /*
   ** .pp




Re: make devel/cpphs ghc-only

2017-02-26 Thread Martijn Rijkeboer
On 02/25/17 21:48, Matthias Kilian wrote:
> Hi,
> 
> the diff below should make devel/cpphs ghc-only. This is needed because
> of the removal of lang/nhc98.
> 
> It would be nice if anyone with a clean (wrt hs-port) tree could give
> this a try on amd64 or i386 -- my tree is too polluted with diffs
> related to a ghc update ;-)
> 
> Ciao,
>   Kili
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/cpphs/Makefile,v
> retrieving revision 1.41
> diff -u -p -r1.41 Makefile
> --- Makefile  12 Sep 2016 17:51:07 -  1.41
> +++ Makefile  25 Feb 2017 20:44:16 -
> @@ -3,8 +3,6 @@
>  COMMENT-main =   liberalised reimplementation of cpp in Haskell
>  COMMENT-lib =cpphs library
>  
> -ONLY_FOR_ARCHS-lib = i386 amd64
> -
>  DISTNAME =   cpphs-1.19.3
>  PKGNAME-main =   ${DISTNAME}
>  PKGNAME-lib =hs-${DISTNAME}
> @@ -20,8 +18,6 @@ WANTLIB-main =  ${WANTLIB} c m pthread
>  
>  SUBST_VARS +=DISTNAME
>  
> -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
> -# GHC: use cabal to build both the executable and the library.
>  WANTLIB-main +=  util
>  MODULES =lang/ghc
>  LIB_DEPENDS +=   converters/libiconv
> @@ -37,21 +33,6 @@ RUN_DEPENDS-lib =  devel/hs-old-locale \
>  BUILD_DEPENDS += ${RUN_DEPENDS-lib}
>  WANTLIB-lib =
>  DIST_SUBDIR =
> -.else
> -MASTER_SITES = 
> http://hackage.haskell.org/packages/archive/cpphs/${DISTNAME:S/cpphs-//}/
> -# NHC: use the good old makefile for now (though it *should* be possible
> -# to build with cabal, too).
> -BUILD_DEPENDS += devel/hmake \
> - lang/nhc98
> -HC = hmake 
> -HC_OPTS =-nhc98 -package base
> -
> -do-build:
> - cd ${WRKSRC} && ${HC} ${HC_OPTS} cpphs
> -
> -do-install:
> - ${INSTALL_PROGRAM} ${WRKSRC}/cpphs${PREFIX}/bin
> -.endif
>  
>  post-install:
>   ${INSTALL_MAN} ${WRKSRC}/docs/cpphs.1 ${PREFIX}/man/man1
> 

It builds, packages and installs fine on OpenBSD-current amd64 with up
to date ports tree.

Kind regards,


Martijn Rijkeboer




CVS: cvs.openbsd.org: ports

2017-02-26 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2017/02/26 01:40:41

Modified files:
graphics/pdfsandwich: Makefile 

Log message:
Mark as ONLY_FOR_ARCHS=${OCAML_NATIVE_ARCHS}, the configure script looks
for ocamlopt.



Re: UPDATE: security/hydra

2017-02-26 Thread Rafael Sadowski
Ok from benoit@ and rpointel@. Diff see below.

Rafael Sadowski

On Sat Jan 28, 2017 at 10:10:58AM +0100, Rafael Sadowski wrote:
> 
> correct, thanks Remi; I remove gettext as MODULE for -gui. I see no
> gettext-tools calls in -main and -gui.  Now portcheck and
> port-lib-depends-check are happy too.
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/security/hydra/Makefile,v
> retrieving revision 1.56
> diff -u -p -u -p -r1.56 Makefile
> --- Makefile  17 Jan 2016 17:29:10 -  1.56
> +++ Makefile  28 Jan 2017 09:07:24 -
> @@ -3,50 +3,42 @@
>  COMMENT-main=parallelized network logon cracker
>  COMMENT-gui= GTK frontend for hydra
>  
> -VERSION= 8.1
> -REVISION-main=   0
> -DISTNAME=hydra-${VERSION}
> +VERSION= 8.4
>  PKGNAME-main=hydra-${VERSION}
>  PKGNAME-gui= hydra-gui-${VERSION}
> -CATEGORIES=  security
> +CATEGORIES=  security
>  
> -HOMEPAGE=http://thc.org/thc-hydra/
> +GH_ACCOUNT = vanhauser-thc
> +GH_PROJECT = thc-hydra
> +GH_TAGNAME = v${VERSION}
>  
> -#GNU AFFERO GENERAL PUBLIC LICENSE Version 3
> -PERMIT_PACKAGE_CDROM=Yes
> +HOMEPAGE=https://thc.org/thc-hydra/
>  
> -WANTLIB= c m
> +# AGPLv3 (GNU Affero Public License)
> +PERMIT_PACKAGE_CDROM=Yes
>  
> -MASTER_SITES =  http://www.thc.org/releases/
> -MASTER_SITES +=  ${MASTER_SITE_PACKETSTORM:=groups/thc/}
> +WANTLIB= c z
>  
>  PSEUDO_FLAVORS=  no_x11
>  FLAVOR?=
>  
>  MULTI_PACKAGES=  -main
>  
> -CONFIGURE_STYLE=gnu dest
> +CONFIGURE_STYLE=gnu
>  
>  USE_GMAKE=   Yes
>  NO_TEST= Yes
>  MAKE_FLAGS=  CC=${CC}
> -CFLAGS +=-I${LOCALBASE}/include
> +
> +CONFIGURE_ARGS = --with-ssl=prefix="/usr/include" \
> + --with-ssl-lib=prefix="/usr/lib" \
> + --prefix=${LOCALBASE}
>  
>  .if ${FLAVOR:Mno_x11}
>  ALL_TARGET=  hydra pw-inspector
> -
> -do-install:
> - cd ${WRKBUILD}; $(INSTALL_PROGRAM) hydra pw-inspector $(PREFIX)/bin
>  .else
> -
>  MULTI_PACKAGES+=-gui
> -
>  ALL_TARGET=  all
> -
> -MODULES= devel/gettext
> -
> -post-configure:
> - cd ${WRKSRC}/hydra-gtk && ./configure
>  .endif
>  
>  LIB_DEPENDS-main=databases/mariadb,-main \
> @@ -55,24 +47,22 @@ LIB_DEPENDS-main= databases/mariadb,-mai
>   devel/pcre \
>   security/libssh
>  RUN_DEPENDS-main=
> -WANTLIB-main=${WANTLIB} curses crypto idn mysqlclient pcre pq 
> pthread ssh ssl
> -LIB_DEPENDS-gui=x11/gtk+2 \
> - ${MODGETTEXT_LIB_DEPENDS}
> -RUN_DEPENDS-gui=hydra-${VERSION}:security/hydra,-main \
> - ${MODGETTEXT_RUN_DEPENDS}
> -WANTLIB-gui= ${WANTLIB} GL X11 Xcomposite Xcursor Xdamage Xfixes \
> - Xext Xi Xinerama Xrandr Xrender atk-1.0 freetype fontconfig \
> - gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
> - gio-2.0 gmodule-2.0 gobject-2.0 glib-2.0 gthread-2.0 png \
> - pango-1.0 pangocairo-1.0 pixman-1 cairo z expat \
> - pangoft2-1.0 pthread pthread-stubs xcb xcb-render \
> - xcb-shm
>  
> -post-extract:
> - chmod -R u+w ${WRKDIST}
> +WANTLIB-main=${WANTLIB} m crypto curses idn mysqlclient pcre pq ssh 
> ssl
> +
> +LIB_DEPENDS-gui=x11/gtk+2
> +
> +RUN_DEPENDS-gui=${PKGPATH},-main
> +
> +WANTLIB-gui= X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama \
> + Xrandr Xrender atk-1.0 cairo fontconfig freetype gdk-x11-2.0 \
> + gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0 \
> + pango-1.0 pangocairo-1.0 pangoft2-1.0 intl ${WANTLIB}
>  
>  post-install:
>   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hydra
> - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/hydra
> + ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra
> + ${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${PREFIX}/share/doc/hydra
> + mv ${PREFIX}/etc/* ${PREFIX}/share/doc/hydra/ && rm -r ${PREFIX}/etc
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/security/hydra/distinfo,v
> retrieving revision 1.14
> diff -u -p -u -p -r1.14 distinfo
> --- distinfo  21 Nov 2015 14:16:33 -  1.14
> +++ distinfo  28 Jan 2017 09:07:24 -
> @@ -1,2 +1,2 @@
> -SHA256 (hydra-8.1.tar.gz) = 5Lwv0R+XqNmFo4oxeFyG04zGA4Pkeo9KXENjUeUTXxk=
> -SIZE (hydra-8.1.tar.gz) = 559031
> +SHA256 (thc-hydra-8.4.tar.gz) = tHgVdhjmAuCorcQS76zBwqXZWo9b+zBXn79Zl0ac2LQ=
> +SIZE (thc-hydra-8.4.tar.gz) = 1191761
> Index: patches/patch-Makefile
> ===
> RCS file: patches/patch-Makefile
> diff -N patches/patch-Makefile
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-Makefile28 Jan 2017 09:07:24 -
> @@ -0,0 +1,96 @@
> +$OpenBSD$
> +--- Makefile.origFri Jan 27 17:19:18 2017
>  Makefile Fri Jan 27 18:39:51 2017
> +@@ -1,5 +1,90 @@
> +-all:
> +-