UPDATE: devel/cppcheck-1.69

2015-05-01 Thread Gleydson Soares

update cppcheck to 1.69

General changes:
- Added flag --platform=native, when it is used type sizes and behaviour of 
host system are used
- Backward compatibility for Libary files is now working. Future cppcheck 
versions will be able to use libraries written for previous versions
- Windows 32 bit builds now set /LARGEADDRESSAWARE, so that they can use up to 
4 GiB
New checks:
- Detect bad bitmask checks (usage of | where  should be used)
- Suggest usage of explicit for constructors with a single parameter
- Suggest usage of make_shared/make_unique
- Warn about usage of malloc with auto_ptr
- Detect redundant pointer operations like *ptr
Improvements:
- Support std::array (C++11)
- Detect same expressions in both branches of a ternary operator
- New container-tags in libraries to configure STL (and similar) container 
types
- Several improvements to ValueFlow analysis (for example support for default 
function arguments)
- Improved buffer overrun and memory leak checking
- Removed a bunch of redundant checking code
- Removed several simplifications
- Stronger matching of library functions
- Lots of additions to std.cfg and posix.cfg
- New library for Microsoft SAL (microsoft_sal.cfg)
- Improved C++11 template parsing ( as closing brackets, variadic templates)
- Added statistics to htmlreport
GUI:
- Fixed language selection
Additionally, lots of false positives and bugs have been fixed and
several existing checks have been improved.

OK?

? cppcheck-1.69.diff
Index: Makefile
===
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 Makefile
--- Makefile7 Jan 2015 04:15:51 -   1.27
+++ Makefile2 May 2015 02:56:35 -
@@ -2,7 +2,7 @@
 
 COMMENT =  C/C++ static checker
 
-DISTNAME = cppcheck-1.68
+DISTNAME = cppcheck-1.69
 
 CATEGORIES =   devel
 
Index: distinfo
===
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 distinfo
--- distinfo7 Jan 2015 04:15:51 -   1.22
+++ distinfo2 May 2015 02:56:35 -
@@ -1,2 +1,2 @@
-SHA256 (cppcheck-1.68.tar.gz) = 75JS9y57H8IENF1TGOVgnTdw5hlkc8FFqE9YYvelI3o=
-SIZE (cppcheck-1.68.tar.gz) = 1316595
+SHA256 (cppcheck-1.69.tar.gz) = /mHJ32TrX/FwuGYjcEWq5kJ9R+3P+baEq6wtEftNeCY=
+SIZE (cppcheck-1.69.tar.gz) = 1366770
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/cppcheck/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 PLIST
--- pkg/PLIST   13 Aug 2014 15:13:33 -  1.5
+++ pkg/PLIST   2 May 2015 02:56:37 -
@@ -4,7 +4,10 @@
 share/cppcheck/
 share/cppcheck/cfg/
 share/cppcheck/cfg/avr.cfg
+share/cppcheck/cfg/cppcheck-cfg.rng
+share/cppcheck/cfg/gnu.cfg
 share/cppcheck/cfg/gtk.cfg
+share/cppcheck/cfg/microsoft_sal.cfg
 share/cppcheck/cfg/posix.cfg
 share/cppcheck/cfg/qt.cfg
 share/cppcheck/cfg/sdl.cfg


fix: p5-Term-ReadKey

2015-05-01 Thread James Turner
Remove patch from 9 years ago that claims to fix GetControlChars but now
actually breaks it.

-- 
James Turner

Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Term-ReadKey/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- Makefile14 Jun 2014 23:24:59 -  1.26
+++ Makefile2 May 2015 02:39:25 -
@@ -8,7 +8,7 @@ MODULES=cpan
 V= 2.30
 DISTNAME=  TermReadKey-${V}
 PKGNAME=   p5-Term-ReadKey-${V}
-REVISION=  6
+REVISION=  7
 CATEGORIES=devel
 
 PERMIT_PACKAGE_CDROM=  Yes
Index: patches/patch-genchars_pl
===
RCS file: patches/patch-genchars_pl
diff -N patches/patch-genchars_pl
--- patches/patch-genchars_pl   30 Oct 2005 22:49:13 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,21 +0,0 @@
-$OpenBSD: patch-genchars_pl,v 1.1 2005/10/30 22:49:13 millert Exp $
 genchars.pl.orig   Tue Jan 11 16:15:17 2005
-+++ genchars.plSun Oct 30 11:02:36 2005
-@@ -174,7 +174,7 @@ XS(XS_Term__ReadKey_GetControlChars)
-   EXTEND(sp,MAXCC*2); .join('',map(
- #if defined($values[$_])  ($values[$_]  LEGALMAXCC).
- PUSHs(sv_2mortal(newSVpv(cc_names[$_],strlen(cc_names[$_]; /* 
$possible{$values[$_]} */
--PUSHs(sv_2mortal(newSVpv((char*)s.c_cc[$values[$_]],1)));.
-+PUSHs(sv_2mortal(newSViv((IV)s.c_cc[$values[$_]])));  .
- #endif   ,0..$#values)).
-   
-   }
-@@ -394,7 +394,7 @@ XS(XS_Term__ReadKey_GetControlChars)
-   int i;
-   EXTEND(sp,MAXCC*2); .join('',map(
- PUSHs(sv_2mortal(newSVpv(cc_names[$_],strlen(cc_names[$_]; /* $values[$_] 
*/
--PUSHs(sv_2mortal(newSVpv(s.$billy{$values[$_]},1))); 
,0..$#values)).
-+PUSHs(sv_2mortal(newSViv((IV)s.$billy{$values[$_]})));
,0..$#values)).
-   
-   }
-   PUTBACK;



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 23:47:57

Modified files:
audio/pavucontrol: Makefile 

Log message:
Needs to BUILD_DEPENDS on www/lynx.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 08:13:12

Removed files:
devel/smpeg/patches: patch-video_video_h 

Log message:
Remove uneeded endian patch.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 08:55:54

Removed files:
audio/ladspa/patches: patch-src_applyplugin_c 

Log message:
Drop unneeded patch.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 08:47:29

Modified files:
devel/boost/patches: patch-boost_detail_endian_hpp 

Log message:
machine/endian.h - sys/endian.h



Re: [UPDATE] audio/jack 0.121.3 = 0.124.1

2015-05-01 Thread Eric Lalonde

On Apr 20, 2015, at 9:50 AM, Eric Lalonde eric.c.lalo...@gmail.com wrote:

 Attached is an update to audio/jack.
 
 Improved areas include client threading, alsa and firewire drivers. 
 
 Notes:
 Public function symbols were removed from and added to both libjack and 
 libjackserver, so the majors on both libs have been bumped. New build 
 dependencies are necessary: e2fsprogs (uuid-related) and databases/db/v4 (use 
 of db_env* objects). The include files were split upstream into internal and 
 public locations, which required a slight change to the jack sndio driver. 
 Upstream checks for alloca.h, but this is provided by stdlib.h so I removed 
 the configure stage check for alloca.h. 
 
 Full commit log is available at 
 https://github.com/jackaudio/jack1/compare/0.121.3...0.124.1
 
 From what I found, the following ports depend on audio/jack, and all of them 
 continue to detect, build, and install correctly after this diff is applied:
 
 audio/aqualung
 audio/aubio
 audio/calf
 audio/hydrogen
 audio/lmms
 audio/milkytracker
 audio/milkytracker
 audio/xmms2
 multimedia/mlt
 x11/mplayer (FLAVOR=jack)
 x11/vlc
 
 jack-0.124.1.diff


Ping.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 09:39:29

Modified files:
x11/kde4   : kde4.port.mk 

Log message:
dpb junk logic is fine.
kde4 build separation does not work as good as vadim said it should
THIS is the reason for the sporadic build failures in kde3 recently.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 09:41:52

Modified files:
infrastructure/lib/DPB/Job: Port.pm 

Log message:
remove debug scaffolding. Found the bug (elsewhere, not surprisingly)



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 08:10:36

Modified files:
graphics/mpeg_play/patches: patch-video_h 

Log message:
machine/endian.h - endian.h



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 08:54:41

Modified files:
audio/cdparanoia: Makefile 
audio/cdparanoia/patches: patch-interface_utils_h patch-utils_h 
Added files:
audio/cdparanoia/patches: patch-header_c 

Log message:
No need for endian chunks.
While here, fix an implicit declaration.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2015/05/01 08:54:40

Modified files:
.  : INDEX 

Log message:
sync; 9063



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/01 09:46:03

Modified files:
security   : Makefile 
devel  : Makefile 
textproc   : Makefile 

Log message:
+p5-Term-ShellUI, p5-Sort-Naturally, p5-File-KeePass, p5-Data-Password  kpcli



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/01 09:40:20

Log message:
Import Data::Password 1.12.

This module checks potential passwords for crackability. It checks that
the password is in the appropriate length, that it has enough character
groups, that it does not contain the same characters repeatedly or
ascending or descending characters, or charcters close to each other in
the keyboard. It will also attempt to search the ispell word file for
existance of whole words. The module's policies can be modified by
changing its variables.

ok ajacoutot@

Status:

Vendor Tag: landry
Release Tags:   landry_20150501

N ports/textproc/p5-Data-Password/Makefile
N ports/textproc/p5-Data-Password/distinfo
N ports/textproc/p5-Data-Password/pkg/PLIST
N ports/textproc/p5-Data-Password/pkg/DESCR

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/01 09:41:21

Log message:
Import Term::ShellUI 0.92.

Term::ShellUI uses the history and autocompletion features of
Term::ReadLine to present a sophisticated command-line interface to the
user. It tries to make every feature that one would expect to see in a
fully interactive shell trivial to implement. You simply declare your
command set and let ShellUI take care of the heavy lifting.

ok ajacoutot@

Status:

Vendor Tag: landry
Release Tags:   landry_20150501

N ports/devel/p5-Term-ShellUI/Makefile
N ports/devel/p5-Term-ShellUI/distinfo
N ports/devel/p5-Term-ShellUI/pkg/DESCR
N ports/devel/p5-Term-ShellUI/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/01 09:39:26

Log message:
Import File::KeePass 2.03.

File::KeePass gives access to KeePass version 1 (kdb) and version 2
(kdbx) databases.

The version 1 and version 2 databases are very different in
construction, but the majority of information overlaps and many
algorithms are similar. File::KeePass attempts to iron out as many of
the differences.

File::KeePass gives nearly raw data access. There are a few utility
methods for manipulating groups and entries. More advanced manipulation
can easily be layered on top by other modules.

ok ajacoutot@

Status:

Vendor Tag: landry
Release Tags:   landry_20150501

N ports/textproc/p5-File-KeePass/Makefile
N ports/textproc/p5-File-KeePass/distinfo
N ports/textproc/p5-File-KeePass/pkg/DESCR
N ports/textproc/p5-File-KeePass/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 09:55:41

Modified files:
x11/gnome/file-roller: Makefile 
x11/gnome/file-roller/patches: patch-src_fr-command-unarchiver_c 

Log message:
Fix logic so that we don't end up with an implicit declaration on
strptime(3).



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 08:17:37

Modified files:
emulators/mupen64plus/video-glide64/patches: patch-src_Main_cpp 
emulators/dynamips/patches: patch-utils_h 

Log message:
machine/endian.h, sys/endian.h - endian.h



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/01 09:42:56

Log message:
Import kpcli 2.8.

A command line interface (interactive shell) to work with KeePass
1.x or 2.x database files.

ok ajacoutot@

Status:

Vendor Tag: landry
Release Tags:   landry_20150501

N ports/security/kpcli/Makefile
N ports/security/kpcli/distinfo
N ports/security/kpcli/pkg/DESCR
N ports/security/kpcli/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/01 09:42:08

Log message:
Import Sort::Naturally 1.03.

This module exports two functions, nsort and ncmp; they are used in
implementing my idea of a natural sorting algorithm. Under natural
sorting, numeric substrings are compared numerically, and other
word-characters are compared lexically.

ok ajacoutot@

Status:

Vendor Tag: landry
Release Tags:   landry_20150501

N ports/devel/p5-Sort-Naturally/Makefile
N ports/devel/p5-Sort-Naturally/distinfo
N ports/devel/p5-Sort-Naturally/pkg/DESCR
N ports/devel/p5-Sort-Naturally/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 10:00:44

Modified files:
games/supertuxkart/patches: 
patch-lib_irrlicht_source_Irrlicht_os_cpp 
x11/irrlicht/patches: patch-source_Irrlicht_os_cpp 

Log message:
sys/endian.h - endian.h



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 00:15:46

Modified files:
misc/cdrdao: Makefile 
misc/cdrdao/patches: patch-scsilib_include_btorder_h 
misc/cdrdao/pkg: PLIST 

Log message:
Tweak endian patch and regen PLIST.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 00:52:58

Modified files:
devel/gsoap: Makefile distinfo 
devel/gsoap/patches: patch-configure_ac patch-gsoap_Makefile_am 
 patch-gsoap_samples_Makefile_defines 
 patch-gsoap_samples_autotest_Makefile_am 
 patch-gsoap_samples_databinding_Makefile_am 
devel/gsoap/pkg: PLIST 

Log message:
Update to gsoap-2.8.22.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 00:55:32

Modified files:
devel/etl  : Makefile distinfo 
devel/etl/pkg  : PLIST 

Log message:
Update to etl-0.04.18.



Re: NEW: print/gl2ps

2015-05-01 Thread Ingo Feinerer
ping?
(original message with attachment at 
https://marc.info/?l=openbsd-portsm=142989681714213w=2)

On Fri, Apr 24, 2015 at 07:31:02PM +0200, Ingo Feinerer wrote:
 I am an occasional Octave (math/octave) user. Newer versions check for
 gl2ps. Please find attached a corresponding port for it:
 
 GL2PS is a C library providing high quality vector output for any OpenGL
 application.
 
 Please someone test (and commit) it.
 
 There are two nice examples (see pkg/PLIST) included which can be
 compiled with
 
 gcc -I/usr/X11R6/include -I/usr/local/include -L/usr/X11R6/lib 
 -L/usr/local/lib gl2psTestSimple.c -o gl2psTestSimple -lglut -lGL -lGLU -lX11 
 -lm -lgl2ps

 gcc -I/usr/X11R6/include -I/usr/local/include -L/usr/X11R6/lib 
 -L/usr/local/lib gl2psTest.c -o gl2psTest -lglut -lGL -lGLU -lX11 -lm -lgl2ps
 
 They work for me (on amd64) and math/octave (newer than what is
 currently in ports) is happy with it as well.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 01:34:02

Modified files:
graphics/barcode: Makefile distinfo 
graphics/barcode/pkg: PLIST 
Added files:
graphics/barcode/patches: patch-Makefile_in 
  patch-doc_barcode_texi 
Removed files:
graphics/barcode/patches: patch-sample_c 

Log message:
Update to barcode-0.99.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 01:34:28

Modified files:
productivity/glabels: Makefile 

Log message:
graphics/barcode is not needed.
Regen wantlib while here.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2015/05/01 10:05:07

Modified files:
multimedia/mlt : Makefile 
productivity/libalkimia: Makefile 

Log message:
Two missing KDE4 tags, spotted by espie@.

Should fix (at least some) KDE3 vs. KDE4 build problems out there.

Since both ports are mine, its noone who to blame for the months long
breakage, other than me. :(



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 10:44:06

Added files:
audio/gogo/patches: patch-Makefile 
Removed files:
audio/gogo/patches: patch-a 

Log message:
Fix patch name.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 10:03:35

Modified files:
security/libnettle: Makefile 
security/libnettle/pkg: PLIST 
Added files:
security/libnettle/patches: patch-pkcs1-decrypt_c 

Log message:
incompatible implicit declaration of built-in function 'alloca'



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2015/05/01 10:19:50

Modified files:
devel/p5-Devel-CheckBin: Makefile distinfo 

Log message:
update p5-Devel-CheckBin to 0.03



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 10:51:25

Modified files:
databases/mongodb/patches: patch-src_third_party_s2_base_port_h 
databases/sqlite3/patches: patch-src_sqliteInt_h 
games/eduke32/patches: patch-build_include_compat_h 
games/openarena/patches: patch-code_qcommon_q_platform_h 
graphics/xanim/patches: patch-a 
misc/digitemp  : Makefile 
misc/digitemp/pkg: PLIST 
Removed files:
games/foobillard/patches: patch-src_billard3d_c 
misc/digitemp/patches: patch-src_digitemp_c 

Log message:
endian.h: drop patching or make includes consistent.



Re: [new] kpcli 2.8

2015-05-01 Thread Giannis Tsaraias
On Fri, May 01, 2015 at 05:23:12PM +0200, Landry Breuil wrote:
 Hi,
 
 here's a port for kpcli (see http://kpcli.sourceforge.net/), a cli shell
 to browse keepassx databases, working fine with a db generated on
 OpenBSD here. 4 perl modules needed for dependencies included in the
 tarball. feedback, tests  oks welcome.
 
 Landry

Works fine here too.

-- yannis



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 11:52:00

Modified files:
infrastructure/man/man1: dpb.1 

Log message:
color display is there to stay as an option



Re: [UPDATE] audio/jack 0.121.3 = 0.124.1

2015-05-01 Thread Stuart Henderson
On 2015/05/01 17:07, Stuart Henderson wrote:
 On 2015/05/01 08:36, Eric Lalonde wrote:
   New build dependencies are necessary: e2fsprogs (uuid-related)
 
 What's the story with this? It doesn't use e2fsprogs libuuid at all,
 there are #include uuid/uuid.h in a couple of files but they don't
 use anything from it, there is no problem if these are just removed.
 

Oh, there was one other thing -

echo #define JACKD_MD5_SUM \`md5sum .libs/jackd | awk '{print $1}'`\  
jack_md5.h
/bin/sh: md5sum: not found



Re: [UPDATE] audio/jack 0.121.3 = 0.124.1

2015-05-01 Thread Stuart Henderson
On 2015/05/01 08:36, Eric Lalonde wrote:
  New build dependencies are necessary: e2fsprogs (uuid-related)

What's the story with this? It doesn't use e2fsprogs libuuid at all,
there are #include uuid/uuid.h in a couple of files but they don't
use anything from it, there is no problem if these are just removed.



Re: CVS: cvs.openbsd.org: ports

2015-05-01 Thread Vadim Zhukov
2015-05-01 18:39 GMT+03:00 Marc Espie es...@cvs.openbsd.org:
 CVSROOT:/cvs
 Module name:ports
 Changes by: es...@cvs.openbsd.org   2015/05/01 09:39:29

 Modified files:
 x11/kde4   : kde4.port.mk

 Log message:
 dpb junk logic is fine.
 kde4 build separation does not work as good as vadim said it should
 THIS is the reason for the sporadic build failures in kde3 recently.

It did; the problem was two ports lacking of KDE4_ONLY set
specifically. Those ports have kdelibs-4.x as BUILD_DEPENDS only, thus
they had MODKDE4_USE empty, which resulted in KDE4_ONLY set to no by
default. Those ports are fixed now.

--
  WBR,
  Vadim Zhukov



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 11:40:58

Modified files:
multimedia/k3b-kde4/patches: patch-libk3b_core_k3bglobals_cpp 
net/hping  : Makefile 
net/hping/patches: patch-bytesex_h 
net/hping/pkg  : PLIST 
security/aircrack-ng/patches: patch-src_osdep_byteorder_h 
security/l0phtcrack/patches: patch-includes_h 
security/samdump2/patches: patch-bkhive_c patch-hive_c 
   patch-samdump2_c 
telephony/astmanproxy/patches: patch-src_include_endian_h 

Log message:
Consistency in endian.h includes.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 13:41:42

Modified files:
infrastructure/man/man1: dpb.1 

Log message:
document ownership of files if you want to separate build/fetch/log
zap lock_user, which isn't actually of any use.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 13:42:54

Modified files:
infrastructure/lib/DPB: Affinity.pm Config.pm HostProperties.pm 
Locks.pm 

Log message:
lock_user is not needed, defaults to log_user for all practical cases



HEADS-UP: dpb changes

2015-05-01 Thread Marc Espie
I've worked hard to allow for dpb to work in a new model, most specifically
so that chroot always works, and also to have a slightly better security 
model.

The corresponding code and documentation have been committed, but they
probably need people to play with it a bit more to make sure all kinks
are gone.

There are some important implications with respect to ports bulk building
security.

In the new model, dpb no longer requires any kind of sudo operation, it's
moved to a privilege separation model.

- dpb should be started as root, it will drop privileges as needed.
- the basic core of dpb runs as root, but any time it's actually looking
at the ports tree, it will drop to a build_user (which has to be specified).
This user does not require any root access.
- dpb will stay root to run the STARTUP script, and also to run 
pkg_add/pkg_delete   to handle dependencies.
- fetch can be run as a separate user (thus, the build_user shouldn't even
have internet access under normal rules).


Commands in the ports tree will actually be run as
chroot -u build_user /somedir cmd

Thus, all builds are chrooted by default with / being used as a root when
there's no chroot.

Distant buils will ssh from root to root, and run the same command
(chroot -u build_user /somedir cmd)
on the distant host.

This is somewhat necessary so that killing dpb will correctly propagate
signals to all running jobs, which has been an issue with previous attempts
at running chroot.

That new user model  is probably going to become the ONLY operating model
of dpb in the near future. Having options suck and is a problem for
maintenance and security.

People running bulks should transition as soon as they can. The manpage
mentions which files belong to whom. It is highly advisable to have a
specific build user without sudo rights and (possibly) restricted net
access.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/01 14:29:19

Modified files:
security/kpcli : Makefile 

Log message:
Add missing Capture::Tiny to RDEP for proper 'copy to clipboard'
support. Reminded by sbz@freebsd



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2015/05/01 14:39:43

Modified files:
net/curl   : Tag: OPENBSD_5_6 Makefile 
net/curl/patches: Tag: OPENBSD_5_6 patch-lib_cookie_c 
  patch-lib_url_c 
Added files:
net/curl/patches: Tag: OPENBSD_5_6 patch-lib_http_c 
  patch-lib_http_negotiate_c 
  patch-lib_http_negotiate_sspi_c 
  patch-tests_data_test1527 
  patch-tests_data_test287 
  patch-tests_libtest_lib1527_c 

Log message:
Security fixes:
CVE-2015-3143: Re-using authenticated connection when unauthenticated
CVE-2015-3144: host name out of boundary memory access
CVE-2015-3145: cookie parser out of boundary memory access
CVE-2015-3148: Negotiate not treated as connection-oriented
CVE-2015-3153: sensitive HTTP server headers also sent to proxies

Backport for CVE-2015-3148 from Ubuntu.



new: sslmate-1.0.1

2015-05-01 Thread James Turner
Attached is a new port for sslmate-1.0.1. Tested on amd64 with
https://sandbox.sslmate.com and httpd(8). Everything works nicely.

I was able to buy, list and revoke a certificate without issue. httpd(8)
also worked with the sandboxed chained certificate without issue.

One thing to note, while it's MIT they have an extra-bit about using
their name to promote your own products, is it ok to package or does
this make it unpackagable like tarsnap?

ok?

Information for inst:sslmate-1.0.1

Comment:
client for the sslmate.com online certificate service

Description:
SSLMate makes it easy to buy, deploy, and manage you SSL certs. With a
single command you can buy, import, renew, reissue and revoke
cetificates all from the comfort of the command line.

See https://sslmate.com for details or to sign up for this service.

Maintainer: James Turner ja...@calminferno.net

WWW: https://sslmate.com

-- 
James Turner


sslmate-1.0.1.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 12:04:07

Modified files:
textproc/exempi: Makefile 
textproc/exempi/pkg: PLIST 
x11/driftnet/patches: patch-src_display_img_h 
misc/hfsplus/patches: patch-libhfsp_src_swab_h 
  patch-libhfsp_src_unicode_c 
Removed files:
textproc/exempi/patches: patch-public_include_XMP_UnixEndian_h 
x11/kde/multimedia3/patches: 
 
patch-kioslave_audiocd_plugins_lame_encoderlame_cpp 

Log message:
Make endian.h includes consistent.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 12:25:59

Modified files:
games/pokerth  : Makefile 

Log message:
Drop maintainer, this is just too addictive.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 12:29:02

Modified files:
infrastructure/man/man1: dpb.1 

Log message:
explain the make_path mechanism



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 12:27:43

Modified files:
infrastructure/lib/DPB/Heuristics: Size.pm 

Log message:
give size logs to log_user.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 12:07:31

Modified files:
infrastructure/man/man1: dpb.1 

Log message:
document the !sudo building model



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 02:28:34

Modified files:
x11/mono-gtk2  : Makefile distinfo 
Removed files:
x11/mono-gtk2/patches: patch-glib_glue_list_c 
   patch-glib_glue_slist_c 

Log message:
Update to mono-gtk2-2.12.11.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 02:41:31

Modified files:
graphics/ffmpeg: Makefile 
Added files:
graphics/ffmpeg/patches: patch-libavcodec_x86_dcadsp_init_c 
 patch-libavutil_x86_float_dsp_init_c 

Log message:
Disable some AVX / FMA3 SIMD functions which are currently crashing VLC
when using DTS or some AAC audio.

from brad (maintainer)



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 03:16:51

Modified files:
emulators/gns3 : Makefile distinfo 
emulators/gns3/patches: patch-src_GNS3_Config_Defaults_py 

Log message:
Update to gns3-0.8.7.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 02:54:02

Modified files:
net/lftp   : Makefile distinfo 
net/lftp/patches: patch-configure 

Log message:
Update to lftp-4.6.2.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 03:03:21

Modified files:
infrastructure/lib/DPB: Config.pm HostProperties.pm 

Log message:
slight cleanup



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2015/05/01 03:19:19

Modified files:
devel/gtkparasite: Makefile distinfo 

Log message:
Update to gtkparasite 0.2.0 from github.

That 2012 release only supports gtk2, newer commits on github removed
support for gtk2 and only supports gtk3 - and gtk3 has a builtin
debugger named gtkinspector via ctrl-shift-d (see
https://blogs.gnome.org/mclasen/2014/05/15/introducing-gtkinspector/)



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 01:42:13

Modified files:
misc/gramps: Makefile distinfo 
misc/gramps/pkg: PLIST 

Log message:
Update to gramps-4.1.3.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 01:49:23

Modified files:
x11/xchm   : Makefile distinfo 
x11/xchm/pkg   : PLIST 

Log message:
Update to xchm-1.23.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 02:39:11

Modified files:
x11/girara : Makefile distinfo 
x11/girara/patches: patch-Makefile 
x11/girara/pkg : PLIST 
Removed files:
x11/girara/patches: patch-macros_h 

Log message:
Update to girara-0.2.4.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 15:06:44

Log message:
Import gprof2dot-2015.02.03.

This is a Python script to convert the output from many profilers into a dot
graph.
...

req. by and ok mpi@

Status:

Vendor Tag: ajacoutot
Release Tags:   ajacoutot_20150501

N ports/graphics/gprof2dot/distinfo
N ports/graphics/gprof2dot/Makefile
N ports/graphics/gprof2dot/pkg/DESCR
N ports/graphics/gprof2dot/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 15:07:35

Modified files:
graphics   : Makefile 

Log message:
+gprof2dot



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2015/05/01 14:49:46

Modified files:
infrastructure/lib/DPB: Logger.pm PortBuilder.pm 

Log message:
fix creation of path log files



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2015/05/01 15:53:07

Modified files:
games/freeciv  : Makefile 

Log message:
don't pick up libexecinfo header; ok bentley@



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2015/05/01 05:01:38

Log message:
Test for portbump -W (not passing yet).

Status:

Vendor Tag: zhuk
Release Tags:   zhuk_20150501

N ports/tests/portbump/t5/Makefile

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2015/05/01 05:02:26

Log message:
Simple test for portbump -l.

Status:

Vendor Tag: zhuk
Release Tags:   zhuk_20150501

N ports/tests/portbump/t6/Makefile
N ports/tests/portbump/t6/files/t6.c
N ports/tests/portbump/t6/files/Makefile
N ports/tests/portbump/t6/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2015/05/01 05:05:23

Modified files:
tests/portbump : Makefile 
Added files:
tests/portbump : t5.sample t6.sample t7.sample 

Log message:
Hook up new tests for portbump.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 04:58:16

Modified files:
audio/pympd: Makefile distinfo 
audio/pympd/pkg: PLIST 

Log message:
Update to pympd-0.08.1.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2015/05/01 05:03:11

Log message:
Multipackaged test for portbump -l.

Status:

Vendor Tag: zhuk
Release Tags:   zhuk_20150501

N ports/tests/portbump/t7/Makefile
N ports/tests/portbump/t7/files/Makefile
N ports/tests/portbump/t7/files/t7.c
N ports/tests/portbump/t7/files/t7-qt4.c
N ports/tests/portbump/t7/pkg/PLIST-main
N ports/tests/portbump/t7/pkg/PLIST-qt4

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2015/05/01 06:45:04

Modified files:
www/chromium   : Makefile distinfo 
www/chromium/patches: 
  
patch-chrome_browser_ui_toolbar_wrench_menu_model_cc 
  patch-chrome_chrome_browser_gypi 
  patch-chrome_common_pref_names_cc 
  patch-chrome_common_pref_names_h 

Log message:
update to 42.0.2311.135



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 06:55:38

Modified files:
audio/puddletag: Makefile distinfo 
audio/puddletag/patches: patch-setup_py 
audio/puddletag/pkg: PLIST 

Log message:
Update to puddletag-1.0.5.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 07:04:04

Modified files:
cad/gtkwave: Makefile distinfo 

Log message:
Update to gtkwave-3.3.65.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 05:25:15

Modified files:
audio/pavucontrol: Makefile distinfo 
Removed files:
audio/pavucontrol/patches: gtk3-patch-src_cardwidget_cc 
   gtk3-patch-src_channelwidget_cc 
   gtk3-patch-src_devicewidget_cc 
   gtk3-patch-src_mainwindow_cc 
   gtk3-patch-src_rolewidget_cc 
   gtk3-patch-src_sinkinputwidget_cc 
   gtk3-patch-src_sinkwidget_cc 
   gtk3-patch-src_sourceoutputwidget_cc 
   gtk3-patch-src_sourcewidget_cc 
   gtk3-patch-src_streamwidget_cc 
   patch-src_devicewidget_cc 
   patch-src_devicewidget_h 

Log message:
Update to pavucontrol-3.0.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 07:16:54

Modified files:
converters/p5-Net-IDN-Encode: Makefile distinfo 
converters/p5-Net-IDN-Encode/pkg: PLIST 

Log message:
Update to p5-Net-IDN-Encode-2.202.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 07:20:21

Modified files:
databases/p5-BerkeleyDB: Makefile distinfo 
databases/p5-BerkeleyDB/pkg: PLIST 

Log message:
Update to p5-BerkeleyDB-0.55.



CVS: cvs.openbsd.org: ports

2015-05-01 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2015/05/01 07:28:50

Modified files:
databases/p5-ldap: Makefile distinfo 
databases/p5-ldap/pkg: PLIST 

Log message:
Update to p5-ldap-0.65.