CVS: cvs.openbsd.org: ports

2013-12-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/12/05 02:45:12

Modified files:
x11/gtk+3  : Makefile distinfo 
x11/gtk+3/patches: patch-gtk_Makefile_in 
x11/gtk+3/pkg  : PLIST-main 

Log message:
Update to gtk+3-3.10.6.



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/12/05 03:21:49

Modified files:
mail/amavisd-new: Makefile 
mail/amavisd-new/pkg: PLIST 

Log message:
install the sample amavisd-custom.conf file, and re-arrange the do-install
Makefile target so that it's shorter/easier to read. ok giovanni@



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/12/05 03:45:32

Modified files:
net/dnscrypt-proxy: Makefile 

Log message:
don't pick up uuid/uuid.h if it's present at build time (not used here
anyway), spotted by naddy



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2013/12/05 05:19:00

Modified files:
cad/chipmunk   : Makefile 
cad/chipmunk/patches: patch-psys_include_p2c_p2c_h 
Added files:
cad/chipmunk/patches: patch-view_viewmod_c patch-wol_wol_init_c 

Log message:
L_cuserid - LOGIN_NAME_MAX



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2013/12/05 05:57:40

Modified files:
net/munin  : Tag: OPENBSD_5_4 Makefile distinfo 
net/munin/patches: Tag: OPENBSD_5_4 patch-Makefile 

Log message:
Update munin to 2.0.18 which contains various bugfixes as well as fixes for
CVE-2013-6048/CVE-2013-6359

ok kirby@ (MAINTAINER)



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Nigel Taylor
CVSROOT:/cvs
Module name:ports
Changes by: ni...@cvs.openbsd.org   2013/12/05 06:08:50

Modified files:
net/samba  : Makefile 

Log message:
Fix WANTLIB/LDEP sysutils/e2fsprogs for ads FLAVOR

Ok sthen@



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2013/12/05 07:38:18

Log message:
Import ocaml-bitstring.

Port from Daniel Dickman (didickman at gmail dot com) with a few tweaks
by me.  ok dcoppa@

The ocaml-bitstring project adds Erlang-style bitstrings and matching
over bitstrings as a syntax extension and library for OCaml. You
can use this module to both parse and generate binary formats, files
and protocols. Bitstring handling is added as primitives to the
language, making it exceptionally simple to use and very powerful.
Bitstring handles integers, strings, sub-bitstrings, big-, little-
and native-endianness, signed and unsigned types, variable-width
fields, and fields with arbitrary bit alignment.

Status:

Vendor Tag: jca
Release Tags:   jca_2013-12-05

N ports/devel/ocaml-bitstring/Makefile
N ports/devel/ocaml-bitstring/distinfo
N ports/devel/ocaml-bitstring/patches/patch-Makefile_in
N ports/devel/ocaml-bitstring/pkg/DESCR
N ports/devel/ocaml-bitstring/pkg/PLIST
N ports/devel/ocaml-bitstring/pkg/PFRAG.shared
N ports/devel/ocaml-bitstring/pkg/PFRAG.native

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2013/12/05 07:40:51

Modified files:
devel  : Makefile 

Log message:
+ocaml-bitstring



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/12/05 09:18:46

Modified files:
sysutils/toad  : Makefile distinfo 

Log message:
Update to toad-0.5.
Fix build with WARNINGS (from giovanni@).



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Robert Nagy
CVSROOT:/cvs
Module name:ports
Changes by: rob...@cvs.openbsd.org  2013/12/05 09:31:35

Modified files:
mail/z-push: Makefile distinfo 

Log message:
update to 2.1.1



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2013/12/05 09:54:19

Added files:
x11/qt4/patches: 
 
patch-tools_assistant_lib_fulltextsearch_qclucene-config_p_h 

Log message:
don't include sys/timeb.h; ok espie@



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2013/12/05 11:34:48

Modified files:
net/libnet/1.0/patches: patch-src_libnet_link_bpf_c 
net/libnet/1.1 : Makefile 
net/libnet/1.1/patches: patch-src_libnet_link_bpf_c 

Log message:
do not include sys/timeb.h, sync autoconf version



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2013/12/05 12:34:01

Added files:
lang/newlisp/patches: patch-newlisp_h 

Log message:
do not include sys/timeb.h



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2013/12/05 14:41:08

Modified files:
productivity/grisbi: Makefile 
Added files:
productivity/grisbi/patches: patch-src_include_h 

Log message:
Don't include sys/timeb.h if you don't use anything from it, mkay ?



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2013/12/05 14:58:50

Added files:
audio/audacity/patches: 
patch-lib-src_libnyquist_nyquist_cmt_midifns_c 

Log message:
do not include sys/timeb.h



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Edd Barrett
CVSROOT:/cvs
Module name:ports
Changes by: e...@cvs.openbsd.org2013/12/05 16:44:01

Modified files:
audio/milkytracker: Makefile distinfo 
audio/milkytracker/patches: patch-src_tracker_sdl_SDL_Main_cpp 
audio/milkytracker/pkg: PLIST 
Removed files:
audio/milkytracker/patches: patch-configure_in 

Log message:
Update to milkytracker-0.90.86.

Also install desktop files and examples.

Based upon work by bcallah@

OK bcallah@



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Anthony J. Bentley
CVSROOT:/cvs
Module name:ports
Changes by: bent...@cvs.openbsd.org 2013/12/05 19:26:02

Added files:
cad/ngspice/patches: patch-src_maths_misc_randnumb_c 

Log message:
Remove unnecessary include of sys/timeb.h.



CVS: cvs.openbsd.org: ports

2013-12-05 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2013/12/05 23:35:34

Modified files:
security/ccid  : Makefile distinfo 

Log message:
Update to ccid-1.4.14



CVS: cvs.openbsd.org: ports

2013-12-05 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/12/06 00:27:44

Added files:
print/hplip/patches: patch-prnt_hpcups_CommonDefinitions_h 

Log message:
Do not include sys/timeb.h, it's unused.



WIP: LLVM 3.4

2013-12-05 Thread Brad Smith
Here is a work in progress update to LLVM 3.4. This has only been lightly
tested on amd64. I need this build tested on i386, powerpc, sparc64 and
mips64 to start off. If you have such an arch please try building it as
soon as possible as I'd like to report any issues upstream if there are
any. Any runtime testing feedback would also be appreciated.


Index: Makefile
===
RCS file: /home/cvs/ports/devel/llvm/Makefile,v
retrieving revision 1.68
diff -u -p -r1.68 Makefile
--- Makefile2 Dec 2013 22:14:29 -   1.68
+++ Makefile4 Dec 2013 08:35:47 -
@@ -8,14 +8,14 @@ DPB_PROPERTIES = parallel
 
 COMMENT =  modular, fast C/C++/ObjC compiler, static analyzer and tools
 
-LLVM_V =   3.3
-REVISION = 2
-DISTNAME = llvm-${LLVM_V}.src
-PKGNAME =  llvm-${LLVM_V}
+LLVM_V =   3.4
+DISTNAME = llvm.src-${LLVM_V}rc2-source
+PKGNAME =  llvm-${LLVM_V}rc2
 CATEGORIES =   devel
-MASTER_SITES = http://llvm.org/releases/${LLVM_V}/
+MASTER_SITES = http://llvm.org/pre-releases/${LLVM_V}/rc2/
+EXTRACT_SUFX = .tar.xz
 
-DISTFILES =${DISTNAME}${EXTRACT_SUFX} cfe-${LLVM_V}.src${EXTRACT_SUFX}
+DISTFILES =${DISTNAME}${EXTRACT_SUFX} 
cfe.src-${LLVM_V}rc2-source${EXTRACT_SUFX}
 
 SHARED_LIBS =  clang   0.0 # 3.2
 
@@ -25,9 +25,9 @@ HOMEPAGE =http://www.llvm.org/
 # BSD
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB =  c m pthread stdc++ z
+WANTLIB =  c curses m pthread stdc++ z
 
-WRKDIST =  ${WRKDIR}/llvm-${LLVM_V}.src
+WRKDIST =  ${WRKDIR}/llvm.src
 
 MODULES =  devel/cmake \
lang/python
@@ -41,8 +41,7 @@ SEPARATE_BUILD =  Yes
 CONFIGURE_ARGS =   -DLLVM_ENABLE_FFI:Bool=False \
-DLLVM_REQUIRES_RTTI:Bool=True \
-DCMAKE_BUILD_TYPE:String=Release \
-   -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2:Bool=True \
-   -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD:String=R600
+   -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2:Bool=True
 
 # Workaround relocation overflow
 .if ${MACHINE_ARCH} == powerpc
@@ -53,7 +52,8 @@ CLANG_INCLUDE_PATH =  lib/clang/${LLVM_V}
 SUBST_VARS +=  CLANG_INCLUDE_PATH LLVM_V
 
 post-extract:
-   @mv ${WRKDIR}/cfe-${LLVM_V}.src ${WRKDIST}/tools/clang
+   @rm ${WRKDIST}/tools/clang
+   @mv ${WRKDIR}/cfe.src ${WRKDIST}/tools/clang
 
 pre-configure:
@${SUBST_CMD} ${WRKSRC}/tools/clang/tools/scan-build/scan-build
Index: distinfo
===
RCS file: /home/cvs/ports/devel/llvm/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo21 Jun 2013 22:09:12 -  1.12
+++ distinfo4 Dec 2013 08:31:53 -
@@ -1,4 +1,4 @@
-SHA256 (cfe-3.3.src.tar.gz) = sbVd5Ks6V9PgMxqD4ChGEBkcd9kk40RkmNkRPQjfuZY=
-SHA256 (llvm-3.3.src.tar.gz) = aHZrHnDQWiXi9QLpl6PLOTcYejKWWVz24Jd9XNZydXg=
-SIZE (cfe-3.3.src.tar.gz) = 9425539
-SIZE (llvm-3.3.src.tar.gz) = 13602421
+SHA256 (cfe.src-3.4rc2-source.tar.xz) = 
QG6V1W6QeN5R5aKQq1wjMMy5AKDGNzzQ8NyGvxAX8Ls=
+SHA256 (llvm.src-3.4rc2-source.tar.xz) = 
2TRf5o8bxg16pNa+VZt/ptHBbr/Puag0Dm2L6sDwc8w=
+SIZE (cfe.src-3.4rc2-source.tar.xz) = 7618328
+SIZE (llvm.src-3.4rc2-source.tar.xz) = 10490924
Index: patches/patch-CMakeLists_txt
===
RCS file: /home/cvs/ports/devel/llvm/patches/patch-CMakeLists_txt,v
retrieving revision 1.3
diff -u -p -r1.3 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt21 Jun 2013 22:09:12 -  1.3
+++ patches/patch-CMakeLists_txt4 Dec 2013 08:41:49 -
@@ -2,14 +2,14 @@ $OpenBSD: patch-CMakeLists_txt,v 1.3 201
 
 Don't confuse scripts who want the version with appended 'svn' goo.
 
 CMakeLists.txt.origMon May  6 12:23:07 2013
-+++ CMakeLists.txt Tue Jun 18 23:00:44 2013
-@@ -13,7 +13,7 @@ set(CMAKE_MODULE_PATH
- set(LLVM_VERSION_MAJOR 3)
- set(LLVM_VERSION_MINOR 3)
+--- CMakeLists.txt.origMon Nov 25 13:34:26 2013
 CMakeLists.txt Wed Dec  4 03:41:41 2013
+@@ -14,7 +14,7 @@ set(LLVM_VERSION_MAJOR 3)
+ set(LLVM_VERSION_MINOR 4)
  
--set(PACKAGE_VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}svn)
-+set(PACKAGE_VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR})
+ if (NOT PACKAGE_VERSION)
+-  set(PACKAGE_VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}svn)
++  set(PACKAGE_VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR})
+ endif()
  
- option(LLVM_USE_FOLDERS Enable solution folders in Visual Studio. Disable 
for Express versions. ON)
- if ( LLVM_USE_FOLDERS )
+ option(LLVM_INSTALL_TOOLCHAIN_ONLY Only include toolchain files in the 
'install' target. OFF)
Index: patches/patch-lib_CodeGen_StackProtector_cpp
===
RCS file: patches/patch-lib_CodeGen_StackProtector_cpp
diff -N patches/patch-lib_CodeGen_StackProtector_cpp
--- 

Re: samba and e2fsprogs packages -- 5.4

2013-12-05 Thread Stuart Henderson
On 2013/12/05 05:31, frantisek holop wrote:
 hmm, on Wed, Dec 04, 2013 at 11:47:50PM +, Stuart Henderson said that
 It was not easy to find where libuuid was located.
  
  Ah, I see you haven't been introduced to the pkglocatedb package yet :)
 
 a bit off-topic, but what is exactly the reason for
 pkg_locate being a package and not in base like the
 other pkg tools?

The tool is useless without the database, which needs to be built from
the ports tree which can't be included in base (ports+base are built
on different machines).



Re: FIX: net/synergy

2013-12-05 Thread David Coppa
On Wed, Dec 4, 2013 at 9:29 PM, Brian Callahan bcal...@devio.us wrote:
 Hi ports --

 Here's a patch for Synergy that addresses some recent fallout. Synergy
 insists on building its own testing framework as part of the build. The
 framework seems to have compiled due to magic in the past, so let's not even
 bother with it. We're using NO_TEST=Yes anyway. As a benefit, we save some
 significant compiling time on slower archs.

 I'm not even sure the bump is needed, but I did it anyway.

 OK?

ok with me.

ciao,
David



Re: ocaml-bitstring

2013-12-05 Thread David Coppa
On Thu, Dec 5, 2013 at 1:24 AM, Jérémie Courrèges-Anglas j...@wxcvbn.org 
wrote:
 j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes:

 Hi,

 Daniel Dickman didick...@gmail.com writes:

 I'm looking to get ocaml bitstring ported to OpenBSD.

 I attached my work in progress. Anyone with more ocaml porting
 experience willing to help me finish the port? I tested this on macppc
 but I'm sure the pkg/* files and dependencies probably need more
 work...

 Here's an updated port.

 I believe I have addressed your concerns regarding PLIST/PFRAGs and
 deps.  Tests run fine on i386 and sparc64.

 I don't know what's missing except pkg/DESCR-cil.

 Issue solved! As Daniel pointed out, upstream doesn't automatically
 install the cil tools, and this on purpose. So let's remove the
 dependency and the multi-package setup.

 Comments?  OK?

ok with me to import it.

ciao,
David



Re: samba and e2fsprogs packages -- 5.4

2013-12-05 Thread Stuart Henderson
On 2013/12/05 00:48, Nigel Taylor wrote:
 the problem is this - for amd64/i386 current.
 
 $ cd /usr/ports/packages/amd64/all
 $ check-lib-depends -d . samba-*
 
 samba-3.6.15p2-ads(net/samba,-main,ads):
 Missing lib: uuid.14 (/usr/local/bin/net) (NOT REACHABLE)
 Scanning: ok
 
 This check is run every now and then for all ports. 

We haven't done this for ages actually. If anyone's bored it would be
great to have a tool that updates WANTLIB automatically for the simple
cases (no FLAVOR or subpackages) and this would reduce the pain enough
that handling the rest by hand wouldn't be too bad.

 Something like this should fix current, 

Please also remove the BUILD_DEPENDS on e2fsprogs, then ok sthen@.

 If it's not the ads flavor your using, then the dependency is hidden, in 
 which case the FLAVORS other 
 than ads will require changes.

It does just affect ads.



Re: NEW: devel/phantomjs

2013-12-05 Thread Francisco de Borja Lopez Rio
On Wed, Dec 04, 2013 at 11:37:07AM +, Stuart Henderson wrote:

 MESSAGE should go; if every port which installed examples under
 share/examples/portname printed a message about it, installing or
 updating ports would be excessively noisy.

 BUILD_DEPENDS on print/freetype seems unlikely to be correct - this
 is a very old version providing libttf (which you don't have in WANTLIB).
 the usual freetype is in base (X) and provides libfreetype which is
 listed in WANTLIB.

 the #!/usr/bin/env bash lines should be replaced with proper paths
 rather than relying on the environment, I would use perl -pi -e
 's,^#!/usr/bin/env bash,#!${LOCALBASE}/bin/bash,' ${WRKSRC}/... for
 this.

 i'd add a comment next to the PARALLEL_BUILD line, e.g.

 # passed via environment rather than on the command line to make
 PARALLEL_BUILD =No

 NO_TEST is meant to indicate that there are no tests, not that there
 are tests which fail - so please remove the NO_TEST line, but it may be
 appropriate to add a comment noting the failures.


All done, attached is the updated version of the port, which is also
available here for download:

http://codigo23.net/openbsd/ports/phantomjs.tar.gz

Regards.

--

Do nothing which is of no use. - Miyamoto Musashi
-
Francisco de Borja Lopez Rio (bo...@codigo23.net)
Soluciones Informaticas Codigo23 S.L.U.
http://www.codigo23.net


phantomjs.tar.gz
Description: application/tar-gz


pgpHcbgS0G3h0.pgp
Description: PGP signature


Re: Preventing substitutions in PLIST ?

2013-12-05 Thread Marc Espie
On Thu, Dec 05, 2013 at 01:26:47AM -0500, Stuart Cassoff wrote:
 I'd like tcllib and tklib to make use of 'tcl modules'.
 Every package that can be installed as a tcl module saves one file and one dir
 and there are enough eligible packages that I think it's worth doing.
 This makes use of a newer tcl packaging system that's a bit better and/or 
 faster.
 
 These should always be installend in the dir for lowest tcl version possible, 
 which is 8.5.
 I'm concerned that ${MODTK_VERSION} in the PLIST isn't right.
 
 Here's the result for one package:

So, make sure to look at the result of update-plist, it's not always
right.

Another trick would be to add a longer variable *in front* of MODTK_VERSION
in SUBST_VARS.

E.g., 

MODTK_MINVERSION ?= 8.5
MODTK_MODPATH=modules/${MODTK_MINVERSION}

SUBST_VARS = ... MODTK_MODPATH MODTK_VERSION ...

should solve your substitute issue


 --- /usr/ports/devel/tklib/pkg/PLISTSat Nov 16 16:26:47 2013
 +++ PLIST   Thu Dec  5 00:09:14 2013
 @@ -3,9 +3,6 @@
  @conflict wcb-*
  @pkgpath devel/mentry
  @pkgpath devel/wcb
 -lib/tcl/autoscroll/
 -lib/tcl/autoscroll/autoscroll.tcl
 -lib/tcl/autoscroll/pkgIndex.tcl
  lib/tcl/canvas/
  lib/tcl/canvas/canvas_drag.tcl
  lib/tcl/canvas/canvas_epoints.tcl
 @@ -101,6 +98,7 @@
  lib/tcl/menubar/node.tcl
  lib/tcl/menubar/pkgIndex.tcl
  lib/tcl/menubar/tree.tcl
 +lib/tcl/modules/${MODTK_VERSION}/autoscroll-1.1.tm
  lib/tcl/ntext/
  lib/tcl/ntext/ntext.tcl
  lib/tcl/ntext/pkgIndex.tcl



Re: samba and e2fsprogs packages -- 5.4

2013-12-05 Thread Ian McWilliam

On 5/12/2013 8:53 PM, Stuart Henderson wrote:

On 2013/12/05 00:48, Nigel Taylor wrote:

the problem is this - for amd64/i386 current.

$ cd /usr/ports/packages/amd64/all
$ check-lib-depends -d . samba-*

samba-3.6.15p2-ads(net/samba,-main,ads):
Missing lib: uuid.14 (/usr/local/bin/net) (NOT REACHABLE)
Scanning: ok

This check is run every now and then for all ports.


I didn't even know this existed. Is it documented anywhere?

How is it different from say make port-lib-depends-check or 
lib-depends-check ?



We haven't done this for ages actually. If anyone's bored it would be
great to have a tool that updates WANTLIB automatically for the simple
cases (no FLAVOR or subpackages) and this would reduce the pain enough
that handling the rest by hand wouldn't be too bad.


Something like this should fix current,

Please also remove the BUILD_DEPENDS on e2fsprogs, then ok sthen@.


If it's not the ads flavor your using, then the dependency is hidden, in which 
case the FLAVORS other
than ads will require changes.

It does just affect ads.




I've probably not noticed this as all my boxen with samba on have 
e2fsprogs installed.


On a side note samabe 3.6.x is no longer being maintained, just security 
fixes. We'll have to seriously start porting 4.1.x


Ian McWilliam



Re: samba and e2fsprogs packages -- 5.4

2013-12-05 Thread Vadim Zhukov
05.12.2013 14:59 пользователь Ian McWilliam kaosa...@tpg.com.au написал:

 On 5/12/2013 8:53 PM, Stuart Henderson wrote:

 On 2013/12/05 00:48, Nigel Taylor wrote:

 the problem is this - for amd64/i386 current.

 $ cd /usr/ports/packages/amd64/all
 $ check-lib-depends -d . samba-*

 samba-3.6.15p2-ads(net/samba,-main,ads):
 Missing lib: uuid.14 (/usr/local/bin/net) (NOT REACHABLE)
 Scanning: ok

 This check is run every now and then for all ports.


 I didn't even know this existed. Is it documented anywhere?

 How is it different from say make port-lib-depends-check or
lib-depends-check ?


 We haven't done this for ages actually. If anyone's bored it would be
 great to have a tool that updates WANTLIB automatically for the simple
 cases (no FLAVOR or subpackages) and this would reduce the pain enough
 that handling the rest by hand wouldn't be too bad.

 Something like this should fix current,

 Please also remove the BUILD_DEPENDS on e2fsprogs, then ok sthen@.

 If it's not the ads flavor your using, then the dependency is hidden,
in which case the FLAVORS other
 than ads will require changes.

 It does just affect ads.



 I've probably not noticed this as all my boxen with samba on have
e2fsprogs installed.

 On a side note samabe 3.6.x is no longer being maintained, just security
fixes. We'll have to seriously start porting 4.1.x

There is a version in WIP repo, but it needs an update after Kerberos
changes made in last months.


Re: UPDATE: protobuf-2.5.0

2013-12-05 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes:

 David Coppa dco...@openbsd.org writes:

 Hi!

 Hi,

 The following diff updates devel/protobuf to version 2.5.0.

 Bumps checked with abi-compliance-checker.
 All tests pass successfully (log attached).

 I've already tried building some consumers with this, but more
 thorough testing will be highly appreciated...

 This errors out early on i386.  I doubt this is because of local
 changes, can anyone confirm?

sparc64 dies much earlier...

/usr/bin/libtool   --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I..
-pthread -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare  -O2 
-pipe -MT atomicops_internals_x86_gcc.lo -MD -MP -MF 
.deps/atomicops_internals_x86_gcc.Tpo -c -o atomicops_internals_x86_gcc.lo 
`test -f 'google/protobuf/stubs/atomicops_internals_x86_gcc.cc' || echo 
'./'`google/protobuf/stubs/atomicops_internals_x86_gcc.cc
c++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Wwrite-strings 
-Woverloaded-virtual -Wno-sign-compare -O2 -pipe -MT 
atomicops_internals_x86_gcc.lo -MD -MP -MF 
.deps/atomicops_internals_x86_gcc.Tpo -c 
google/protobuf/stubs/atomicops_internals_x86_gcc.cc -fPIC -DPIC -o 
.libs/atomicops_internals_x86_gcc.o
In file included from ./google/protobuf/stubs/atomicops.h:59,
 from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/platform_macros.h:61:2: error: #error Host architecture 
was not detected as supported by protobuf
In file included from google/protobuf/stubs/atomicops_internals_x86_gcc.cc:36:
./google/protobuf/stubs/atomicops.h:188: error: stray '#' in program
./google/protobuf/stubs/atomicops.h:188: error: expected constructor, 
destructor, or type conversion before string constant
Error while executing c++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall 
-Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -pipe -MT 
atomicops_internals_x86_gcc.lo -MD -MP -MF 
.deps/atomicops_internals_x86_gcc.Tpo -c 
google/protobuf/stubs/atomicops_internals_x86_gcc.cc -fPIC -DPIC -o 
.libs/atomicops_internals_x86_gcc.o

 I'll try to investigate later.

Actually, maybe not...

-- 
jca | PGP: 0x06A11494 / 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494



Libcompat cleanup

2013-12-05 Thread Christian Weisgerber
Libcompat has been removed from base.  I should point out that the
old files do not magically disappear on upgraded machines, you need
to delete them manually:

# rm /usr/lib/libcompat* /usr/include/{re_comp,regexp}.h
# rm /usr/share/man/man3/{re_comp,re_exec,regexp}.3

sgtty.h and sys/timeb.h have been temporarily left in place, but
these will go next.  Below is a list of ports that need fixing.
Some more are likely to show up once these are done.  I could use
some assistance there.

sgtty.h users that directly use the 4.3BSD ioctl() interface that
was underlying the stty()/gtty() calls will need conversion to
termios(4).  Most sys/timeb.h users should probably just not include
the file.  A lot of this is old cruft, but for ports that are still
alive upstream, we need to feed the changes back.  These are APIs
that were already obsolete in 4.4BSD and any required changes to
deal with their removal are safe on FreeBSD/NetBSD as well.

astro/sunclock  sys/timeb.h
astro/wmglobe   sys/timeb.h
audio/audacity  sys/timeb.h
cad/ngspice sys/timeb.h
cad/xnecviewsys/timeb.h
comms/fldigisys/timeb.h
comms/kermitsys/timeb.h
devel/mico  sys/timeb.h
devel/ptlib sys/timeb.h
editors/ee  sgtty.h
editors/libreoffice sys/timeb.h
games/csmashsys/timeb.h
games/zangband  sys/timeb.h
graphics/amide  sys/timeb.h
japanese/Wnnsgtty.h
japanese/onew,canna sgtty.h
java/tanukiwrapper  sys/timeb.h
lang/newlispsys/timeb.h
lang/scm,no_x11 sys/timeb.h
lang/ucblogosgtty.h
mail/elmsys/timeb.h
math/lpsolve/core   sys/timeb.h
misc/mshell sgtty.h
multimedia/hdhomerunsys/timeb.h
net/libnet/1.0  sys/timeb.h
net/libnet/1.1  sys/timeb.h
net/tintin++sgtty.h
news/nn sgtty.h
print/hplip sys/timeb.h
productivity/grisbi sys/timeb.h
security/antisniff  sys/timeb.h
security/fragrouter sys/timeb.h
security/parse  sgtty.h
textproc/ispell sgtty.h
x11/ede/desktop sys/timeb.h

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



Re: Libcompat cleanup

2013-12-05 Thread Antoine Jacoutot
 sgtty.h and sys/timeb.h have been temporarily left in place, but
 these will go next.  Below is a list of ports that need fixing.
 Some more are likely to show up once these are done.  I could use
 some assistance there.
 

I will take care of these:

 devel/ptlib sys/timeb.h
 print/hplip sys/timeb.h

-- 
Antoine



Re: samba and e2fsprogs packages -- 5.4

2013-12-05 Thread Nigel Taylor
On 12/05/13 10:12, Ian McWilliam wrote:
 On 5/12/2013 8:53 PM, Stuart Henderson wrote:
 On 2013/12/05 00:48, Nigel Taylor wrote:
 the problem is this - for amd64/i386 current.

 $ cd /usr/ports/packages/amd64/all
 $ check-lib-depends -d . samba-*

 samba-3.6.15p2-ads(net/samba,-main,ads):
 Missing lib: uuid.14 (/usr/local/bin/net) (NOT REACHABLE)
 Scanning: ok

 This check is run every now and then for all ports.
 
 I didn't even know this existed. Is it documented anywhere?
 
 How is it different from say make port-lib-depends-check or
 lib-depends-check ?
 
 We haven't done this for ages actually. If anyone's bored it would be
 great to have a tool that updates WANTLIB automatically for the simple
 cases (no FLAVOR or subpackages) and this would reduce the pain enough
 that handling the rest by hand wouldn't be too bad.

 Something like this should fix current,
 Please also remove the BUILD_DEPENDS on e2fsprogs, then ok sthen@.

 If it's not the ads flavor your using, then the dependency is hidden,
 in which case the FLAVORS other
 than ads will require changes.
 It does just affect ads.


 
 I've probably not noticed this as all my boxen with samba on have
 e2fsprogs installed.
 
 On a side note samabe 3.6.x is no longer being maintained, just security
 fixes. We'll have to seriously start porting 4.1.x
 
 Ian McWilliam
 
check-lib-depends is in /usr/ports/infrastructure/bin

man pages are in the ports tree under /usr/ports/infrastructure/man

check-lib-depends is what bsd.port.mk uses to do
make lib-depends-check/port-lib-depends-check




Re: [update] py-flask

2013-12-05 Thread frantisek holop
hmm, on Thu, Dec 05, 2013 at 08:32:12AM +, Federico Schwindt said that
 Attached is my version. It also fixes the doc install and removes the
 .DS_Store dirs.
 FWIW, the original issue was #781.

shouldnt be py-itsdangerous BUILD_DEPENDS?
sphinx throws errors while generating the docs
if not present..

-f
-- 
if the limit was 250, there'd be no speeders...



DELETE: cad/chipmunk, cad/spice

2013-12-05 Thread Christian Weisgerber
Does anybody still use cad/chipmunk or cad/spice?

Both are incredibly crufty ports whose main code base dates back
to the 1980s, was barely carried over into the 1990s, and has been
on minimum life support since.  These are the sort of ports we
always run into when we clean up something, and we always mechanically
fix them, but it's never clear if they are still of any use or if
they even work at all.

So does anybody still do circuit design with these tools?
Can anybody imagine anybody still doing circuit design with these
tools?

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



FIX: textproc/ispell

2013-12-05 Thread Christian Weisgerber
This welcomes textproc/ispell in the 1990s and switches it from
sgtty ioctls to POSIX termios.

ok?

Index: Makefile
===
RCS file: /cvs/ports/textproc/ispell/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile14 Mar 2013 09:25:09 -  1.59
+++ Makefile5 Dec 2013 20:30:18 -
@@ -57,7 +57,7 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz \
 SUBST_VARS+=   VERSION
 
 PKGNAME-main=  ${DISTNAME}
-REVISION-main= 7
+REVISION-main= 8
 MULTI_PACKAGES=-main -dutch -french -german -swedish -russian 
-portuguese \
-slovak -spanish
 .for i in ${MULTI_PACKAGES}
Index: patches/patch-config_X
===
RCS file: patches/patch-config_X
diff -N patches/patch-config_X
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-config_X  5 Dec 2013 20:30:18 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+--- config.X.orig  Wed Jul 25 23:51:45 2001
 config.X   Thu Dec  5 21:27:28 2013
+@@ -172,6 +172,10 @@
+ #include sys/dir.h
+ #endif /* USG */
+ 
++#ifndef TERMIOS
++#define TERMIOS 1 /* POSIX termios.h */
++#endif /* TERMIOS */
++
+ /*
+ ** Things that normally go in a Makefile.  Define these just like you
+ ** might in the Makefile, except you should use #define instead of
Index: patches/patch-term_c
===
RCS file: patches/patch-term_c
diff -N patches/patch-term_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-term_c5 Dec 2013 20:30:18 -
@@ -0,0 +1,155 @@
+$OpenBSD$
+--- term.c.origWed Jul 25 23:51:46 2001
 term.c Thu Dec  5 21:13:57 2013
+@@ -80,7 +80,9 @@ static char Rcs_Id[] =
+ #include ispell.h
+ #include proto.h
+ #include msgs.h
+-#ifdef USG
++#if defined(TERMIOS)
++#include termios.h
++#elif defined(USG)
+ #include termio.h
+ #else
+ #include sgtty.h
+@@ -151,7 +153,10 @@ static int putch (c)
+ return putchar (c);
+ }
+ 
+-#ifdef USG
++#if defined(TERMIOS)
++static struct termios sbuf;
++static struct termios osbuf;
++#elif defined(USG)
+ static struct termio  sbuf;
+ static struct termio  osbuf;
+ #else
+@@ -257,12 +262,32 @@ retry:
+ #endif /* SIGTSTP */
+ #endif /* TIOCPGRP */
+ 
+-#ifdef USG
++#if defined(TERMIOS)
+ if (!isatty (0))
+   {
+   (void) fprintf (stderr, TERM_C_NO_BATCH);
+   exit (1);
+   }
++(void) tcgetattr (0, osbuf);
++termchanged = 1;
++
++sbuf = osbuf;
++sbuf.c_lflag = ~(ECHO | ECHOK | ECHONL | ICANON);
++sbuf.c_oflag = ~(OPOST);
++sbuf.c_iflag = ~(INLCR | IGNCR | ICRNL);
++sbuf.c_cc[VMIN] = 1;
++sbuf.c_cc[VTIME] = 1;
++(void) tcsetattr (0, TCSADRAIN, sbuf);
++
++uerasechar = osbuf.c_cc[VERASE];
++ukillchar = osbuf.c_cc[VKILL];
++
++#elif defined(USG)
++if (!isatty (0))
++  {
++  (void) fprintf (stderr, TERM_C_NO_BATCH);
++  exit (1);
++  }
+ (void) ioctl (0, TCGETA, (char *) osbuf);
+ termchanged = 1;
+ 
+@@ -306,7 +331,7 @@ retry:
+ #endif
+ #endif
+ 
+-#ifndef USG
++#if !defined(TERMIOS)  !defined(USG)
+ (void) ioctl (0, TIOCGETP, (char *) osbuf);
+ #ifdef TIOCGLTC
+ (void) ioctl (0, TIOCGLTC, (char *) oltc);
+@@ -327,7 +352,7 @@ retry:
+ (void) ioctl (0, TIOCSLTC, (char *) ltc);
+ #endif
+ 
+-#endif /* USG */
++#endif /* TERMIOS  USG */
+ 
+ if ((oldint = signal (SIGINT, SIG_IGN)) != SIG_IGN)
+   (void) signal (SIGINT, done);
+@@ -359,7 +384,9 @@ SIGNAL_TYPE done (signo)
+   {
+   if (te)
+   tputs (te, 1, putch);
+-#ifdef USG
++#if defined(TERMIOS)
++  (void) tcsetattr (0, TCSADRAIN, osbuf);
++#elif defined(USG)
+   (void) ioctl (0, TCSETAW, (char *) osbuf);
+ #else
+   (void) ioctl (0, TIOCSETP, (char *) osbuf);
+@@ -375,7 +402,9 @@ SIGNAL_TYPE done (signo)
+ static SIGNAL_TYPE onstop (signo)
+ int   signo;
+ {
+-#ifdef USG
++#if defined(TERMIOS)
++(void) tcsetattr (0, TCSADRAIN, osbuf);
++#elif defined(USG)
+ (void) ioctl (0, TCSETAW, (char *) osbuf);
+ #else
+ (void) ioctl (0, TIOCSETP, (char *) osbuf);
+@@ -390,7 +419,9 @@ static SIGNAL_TYPE onstop (signo)
+ (void) kill (0, signo);
+ /* stop here until continued */
+ (void) signal (signo, onstop);
+-#ifdef USG
++#if defined(TERMIOS)
++(void) tcsetattr (0, TCSADRAIN, sbuf);
++#elif defined(USG)
+ (void) ioctl (0, TCSETAW, (char *) sbuf);
+ #else
+ (void) ioctl (0, TIOCSETP, (char *) sbuf);
+@@ -450,7 +481,9 @@ int shellescape(buf)
+   }
+ argv[i] = NULL;
+ 
+-#ifdef USG
++#if defined(TERMIOS)
++(void) tcsetattr (0, TCSADRAIN, osbuf);
++#elif defined(USG)
+ (void) ioctl (0, TCSETAW, (char *) osbuf);
+ #else
+ (void) ioctl (0, TIOCSETP, (char *) osbuf);
+@@ -496,7 +529,9 @@ int shellescape(buf)
+   (void) signal (SIGTSTP, onstop);
+ #endif
+ 
+-#ifdef USG
++#if defined(TERMIOS)
++(void) tcsetattr (0, TCSADRAIN, sbuf);

Re: Libcompat cleanup

2013-12-05 Thread Christian Weisgerber
Christian Weisgerber na...@mips.inka.de wrote:

 sgtty.h and sys/timeb.h have been temporarily left in place, but
 these will go next.  Below is a list of ports that need fixing.
 Some more are likely to show up once these are done.  I could use
 some assistance there.

astro/sunclock
astro/wmglobe 
audio/audacity
cad/ngspice   Anthony J. Bentley anth...@cathet.us
cad/xnecview  
comms/fldigi  
comms/kermit  
devel/mico
editors/eeBrian Callahan bcal...@openbsd.org
editors/libreoffice   Robert Nagy rob...@openbsd.org
games/csmash  Jason Dixon jdi...@openbsd.org
games/zangband
graphics/amideBenoit Lecocq ben...@openbsd.org
japanese/Wnn  Marc Espie es...@openbsd.org
japanese/onew,canna   Marc Espie es...@openbsd.org
java/tanukiwrapper
lang/scm,no_x11   Marc Espie es...@openbsd.org
lang/ucblogo  
mail/elm  Paul Janzen pjan...@openbsd.org
math/lpsolve/core Edd Barrett e...@openbsd.org
misc/mshell   
multimedia/hdhomerun  
net/tintin++  
news/nn   Aaron W. Hsu arcf...@sacrideo.us
productivity/grisbi   Landry Breuil lan...@openbsd.org
security/antisniff
security/fragrouter   
security/parse
x11/ede/desktop   Pascal Stumpf pascal.stu...@cubes.de

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



FIX: editors/ee

2013-12-05 Thread Brian Callahan

Hi ports --

Here's a fix for ee after the Libcompat fallout. What this patch does is 
use our curses instead of ee's included subset of curses. While the code 
says to prefer the included subset of curses over local curses, I don't 
see a reason why that should be.


OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/editors/ee/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile	17 May 2013 13:13:51 -	1.13
+++ Makefile	5 Dec 2013 23:04:31 -
@@ -5,6 +5,7 @@ COMMENT=		easy to use text editor
 VERSION=		1.5.2
 DISTNAME=		ee-${VERSION}.src
 PKGNAME=		ee-${VERSION}
+REVISION=		0
 EPOCH=			0
 CATEGORIES=		editors
 
@@ -14,7 +15,7 @@ MAINTAINER=		Brian Callahan bcallah@ope
 # BSD-like
 PERMIT_PACKAGE_CDROM=	Yes
 
-WANTLIB=		c
+WANTLIB=		c curses
 
 MASTER_SITES=		http://devio.us/~bcallah/source/
 EXTRACT_SUFX=		.tgz
Index: patches/patch-create_make
===
RCS file: /cvs/ports/editors/ee/patches/patch-create_make,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-create_make
--- patches/patch-create_make	15 Jan 2006 01:01:29 -	1.2
+++ patches/patch-create_make	5 Dec 2013 23:04:31 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-create_make,v 1.2 2006/01/15 01:01:29 brad Exp $
 --- create.make.orig	Mon Sep 23 00:18:30 2002
-+++ create.make	Sat Jan 14 19:47:28 2006
 create.make	Thu Dec  5 18:02:06 2013
 @@ -11,6 +11,11 @@
  
  name_string=`uname`
@@ -13,6 +13,17 @@ $OpenBSD: patch-create_make,v 1.2 2006/0
  # test for existence of termcap (exists on both BSD and SysV systems)
  
  if [ -f /etc/termcap -o -f /usr/share/lib/termcap -o -f /usr/share/misc/termcap ]
+@@ -180,8 +185,8 @@ then
+ 	TARGET=curses
+ 	curses=
+ else
+-	curses=-DNCURSE
+-	TARGET=ee
++	curses=-DHAS_NCURSES
++	TARGET=curses
+ fi
+ 
+ if [ -z $termio -a -z $sgtty ]
 @@ -257,7 +262,7 @@ then
  	mv make.local make.lcl.old
  fi
@@ -27,7 +38,7 @@ $OpenBSD: patch-create_make,v 1.2 2006/0
  
  curses :	ee.c
 -	cc ee.c -o ee \$(CFLAGS) -lcurses 
-+	\$(CC) ee.c -o ee \$(CFLAGS) -lcurses 
++	\$(CC) ee.c -o ee \$(DEFINES) \$(CFLAGS) -lcurses 
  
  ee :	ee.o new_curse.o
 -	cc -o ee ee.o new_curse.o \$(CFLAGS) 


Re: Libcompat cleanup

2013-12-05 Thread Amit Kulkarni
On Thu, Dec 5, 2013 at 3:15 PM, Christian Weisgerber na...@mips.inka.dewrote:

 Christian Weisgerber na...@mips.inka.de wrote:

  sgtty.h and sys/timeb.h have been temporarily left in place, but
  these will go next.  Below is a list of ports that need fixing.
  Some more are likely to show up once these are done.  I could use
  some assistance there.

 astro/sunclock
 astro/wmglobe
 audio/audacity
 cad/ngspice   Anthony J. Bentley anth...@cathet.us
 cad/xnecview
 comms/fldigi
 comms/kermit
 devel/mico
 editors/eeBrian Callahan bcal...@openbsd.org
 editors/libreoffice   Robert Nagy rob...@openbsd.org
 games/csmash  Jason Dixon jdi...@openbsd.org
 games/zangband
 graphics/amideBenoit Lecocq ben...@openbsd.org
 japanese/Wnn  Marc Espie es...@openbsd.org
 japanese/onew,canna   Marc Espie es...@openbsd.org
 java/tanukiwrapper
 lang/scm,no_x11   Marc Espie es...@openbsd.org
 lang/ucblogo
 mail/elm  Paul Janzen pjan...@openbsd.org
 math/lpsolve/core Edd Barrett e...@openbsd.org
 misc/mshell
 multimedia/hdhomerun
 net/tintin++
 news/nn   Aaron W. Hsu arcf...@sacrideo.us
 productivity/grisbi   Landry Breuil lan...@openbsd.org
 security/antisniff
 security/fragrouter
 security/parse
 x11/ede/desktop   Pascal Stumpf pascal.stu...@cubes.de

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


Sorry, this same content I sent earlier to naddy, but sending publicly.

 I will try to fix astro/sunclock, astro/wmglobe, misc/mshell,
games/zangband, net/tintin++


UPDATE: libvpx 1.2.0

2013-12-05 Thread Brad Smith
Here is an update to libvpx 1.2.0.

OK?


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libvpx/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile7 Aug 2013 21:32:15 -   1.12
+++ Makefile6 Dec 2013 02:54:49 -
@@ -2,15 +2,14 @@
 
 COMMENT=   Google VP8 video codec
 
-V= 1.1.0
+V= 1.2.0
 DISTNAME=  libvpx-v${V}
 PKGNAME=   libvpx-${V}
-REVISION=  0
 CATEGORIES=multimedia
 MASTER_SITES=  https://webm.googlecode.com/files/
 EXTRACT_SUFX=  .tar.bz2
 
-SHARED_LIBS=   vpx 4.0
+SHARED_LIBS=   vpx 4.1
 
 HOMEPAGE=  http://www.webmproject.org/
 
@@ -35,7 +34,8 @@ MAKE_FLAGS=   LIBVPX_VERSION=${LIBvpx_VERS
 USE_GMAKE= Yes
 CONFIGURE_STYLE= simple
 CONFIGURE_ARGS+=--prefix=${PREFIX} \
-   --disable-optimizations
+   --disable-optimizations \
+   --disable-unit-tests
 CONFIGURE_ENV= LD=${CC}
 
 NO_TEST=   Yes
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libvpx/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo22 May 2012 18:22:50 -  1.5
+++ distinfo6 Dec 2013 02:38:23 -
@@ -1,5 +1,2 @@
-MD5 (libvpx-v1.1.0.tar.bz2) = euFjrDGWx57C8JBCgAeKRQ==
-RMD160 (libvpx-v1.1.0.tar.bz2) = b0YsFCGlGvd9NAHqTB6vDb6vR5E=
-SHA1 (libvpx-v1.1.0.tar.bz2) = NWr193DFDNAhxghjID2PMBZPYCE=
-SHA256 (libvpx-v1.1.0.tar.bz2) = nOB0z0s7zZpJ/5PgVIW3HCc7/DaFowXlWg5/pRvrcsU=
-SIZE (libvpx-v1.1.0.tar.bz2) = 1653485
+SHA256 (libvpx-v1.2.0.tar.bz2) = XvDGULLapiCF64EFp6QnPz6YfbU8Xsl/1R0bZRHlqgY=
+SIZE (libvpx-v1.2.0.tar.bz2) = 1714121
Index: patches/patch-build_make_Makefile
===
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-build_make_Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 patch-build_make_Makefile
--- patches/patch-build_make_Makefile   28 Aug 2012 13:04:01 -  1.4
+++ patches/patch-build_make_Makefile   6 Dec 2013 02:44:18 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-build_make_Makefile,v 1.4 2012/08/28 13:04:01 fgsch Exp $
 build/make/Makefile.orig   Fri Jan 27 13:36:39 2012
-+++ build/make/MakefileSun Jan 29 21:11:03 2012
-@@ -247,8 +247,7 @@ define so_template
+--- build/make/Makefile.orig   Mon Oct 14 14:16:36 2013
 build/make/MakefileThu Dec  5 21:38:33 2013
+@@ -251,8 +251,7 @@ define so_template
  # This needs further abstraction for dealing with non-GNU linkers.
  $(1):
$(if $(quiet),@echo [LD] $$@)
@@ -11,7 +11,7 @@ $OpenBSD: patch-build_make_Makefile,v 1.
  -Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \
  $$(filter %.o,$$?) $$(extralibs)
  endef
-@@ -316,7 +315,7 @@ LIBS=$(call enabled,LIBS)
+@@ -320,7 +319,7 @@ LIBS=$(call enabled,LIBS)
  .libs: $(LIBS)
@touch $@
  $(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib
Index: patches/patch-build_make_gen_asm_deps_sh
===
RCS file: 
/home/cvs/ports/multimedia/libvpx/patches/patch-build_make_gen_asm_deps_sh,v
retrieving revision 1.3
diff -u -p -r1.3 patch-build_make_gen_asm_deps_sh
--- patches/patch-build_make_gen_asm_deps_sh22 May 2012 18:22:50 -  
1.3
+++ patches/patch-build_make_gen_asm_deps_sh6 Dec 2013 01:37:14 -
@@ -7,12 +7,3 @@ $OpenBSD: patch-build_make_gen_asm_deps_
  ##
  ##  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
  ##
-@@ -42,7 +42,7 @@ done
- 
- [ -n $srcfile ] || show_help
- sfx=${sfx:-asm}
--includes=$(LC_ALL=C egrep -i include +\?+[a-z0-9_/]+\.${sfx} $srcfile |
-+includes=$(LC_ALL=C egrep -i include +\*[a-z0-9_/]+\.${sfx} $srcfile |
-perl -p -e s;.*?([a-z0-9_/]+.${sfx}).*;\1;)
- # restore editor state
- for inc in ${includes}; do
Index: patches/patch-configure
===
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-configure,v
retrieving revision 1.7
diff -u -p -r1.7 patch-configure
--- patches/patch-configure 22 May 2012 18:22:50 -  1.7
+++ patches/patch-configure 6 Dec 2013 02:44:19 -
@@ -1,13 +1,13 @@
 $OpenBSD: patch-configure,v 1.7 2012/05/22 18:22:50 ajacoutot Exp $
 configure.orig Tue May  8 19:14:00 2012
-+++ configure  Wed May 16 17:07:35 2012
+--- configure.orig Mon Oct 14 14:16:36 2013
 configure  Thu Dec  5 21:42:57 2013
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!${BASH}
  ##
  ##  configure
  ##
-@@ -103,6 +103,7 @@ all_platforms=${all_platforms} ppc32-linux-gcc
+@@ -104,6 +104,7 @@ all_platforms=${all_platforms} ppc32-linux-gcc
  all_platforms=${all_platforms} ppc64-darwin8-gcc
  all_platforms=${all_platforms} ppc64-darwin9-gcc
  all_platforms=${all_platforms} ppc64-linux-gcc
@@ -15,7 +15,7 @@ $OpenBSD: patch-configure,v 1.7 2012/05/
  

Re: UPDATE: smpeg

2013-12-05 Thread Anthony J. Bentley
On Tue, Dec 3, 2013 at 9:17 PM, Brad Smith b...@comstyle.com wrote:
 Pull in various bug fixes and improvements from upstream...

 - accelerate the exit from the audio and video threads when we want to exit
 - GCC 4 fixes
 - Handle automatic endian swapping
 - Fix multi-threaded crash when rewinding and seeking during playback
 - Fix minor compiler warning
 - Check for SDL_CreateYUVOverlay() failure
 - Add missing decleration of stack markings
 - Support PIC properly and no longer contains any TEXTRELs
 - Use SDL to decide about byte order

 Also remove pval as MAINTAINER as he has not been active in ages.

 Could someone please do a build/runtime test on i386 by trying to
 play an MPEG video with plaympeg?

i386 builds fine. But:

$ plaympeg /usr/ports/devel/smpeg/kaguya_earthrise_20071107.mpg
kaguya_earthrise_20071107.mpg: MPEG video stream
Video 720x480 resolution
Size: 33700475
Total time: 29.00
Segmentation fault (core dumped)


(gdb) bt
#0  next_start_code (vid_stream=0x8bc8e000)
at /usr/ports/pobj/smpeg-0.4.4/smpeg-0.4.4/video/util.cpp:382
#1  0x01d708ab in mpegVidRsrc (time_stamp=0, vid_stream=0x8bc8e000, first=0)
at /usr/ports/pobj/smpeg-0.4.4/smpeg-0.4.4/video/video.cpp:1202
#2  0x01d61721 in Play_MPEGvideo (udata=0x8bc8e400)
at /usr/ports/pobj/smpeg-0.4.4/smpeg-0.4.4/video/MPEGvideo.cpp:254
#3  0x09c77c3b in SDL_RunThread () from /usr/local/lib/libSDL.so.8.0
#4  0x09cbb93d in RunThread () from /usr/local/lib/libSDL.so.8.0
#5  0x0bec45ee in _rthread_start (v=0x8abc2e00)
at /usr/src/lib/librthread/rthread.c:128
#6  0x000cf516 in __tfork_thread ()
at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:95



UPDATE: games/openttd

2013-12-05 Thread Anthony J. Bentley
Hi,

Attached is a trivial update to openttd-1.3.3.

Works fine on i386/amd64.

ok?

-- 
Anthony J. Bentley
Index: Makefile
===
RCS file: /cvs/ports/games/openttd/Makefile,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 Makefile
--- Makefile24 Sep 2013 06:33:02 -  1.33
+++ Makefile3 Dec 2013 09:56:37 -
@@ -2,7 +2,7 @@
 
 COMMENT=   open source clone of the game Transport Tycoon Deluxe
 
-V =1.3.2
+V =1.3.3
 DISTNAME = openttd-${V}
 EXTRACT_SUFX=  -source.tar.gz
 GFX_V= 0.4.7
@@ -16,7 +16,7 @@ DIST_SUBDIR=  openttd
 
 CATEGORIES=games
 
-HOMEPAGE=  http://www.openttd.org/
+HOMEPAGE=  https://www.openttd.org/en/
 
 MAINTAINER =   Anthony J. Bentley anth...@cathet.us
 
Index: distinfo
===
RCS file: /cvs/ports/games/openttd/distinfo,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 distinfo
--- distinfo24 Sep 2013 06:33:02 -  1.17
+++ distinfo3 Dec 2013 09:56:37 -
@@ -1,8 +1,8 @@
 SHA256 (openttd/opengfx-0.4.7.zip) = 
EAMsaD+YtNN4wGURGKSFiubT8KUFkwLcP5a/v83GckE=
 SHA256 (openttd/openmsx-0.3.1.zip) = 
kuKTronxOtZ59DGF6D+4H7jK1H/mP0rz09n5VRMEYPU=
 SHA256 (openttd/opensfx-0.2.3.zip) = 
NXR0WsDBOLrlO1aXJZHbjXeK2fr/1R3q43pIpWPnFmI=
-SHA256 (openttd/openttd-1.3.2-source.tar.gz) = 
nHAEBtN1Ap9PCSNsQU2qvaq6bnmS3rcwDbd0KzymQbk=
+SHA256 (openttd/openttd-1.3.3-source.tar.gz) = 
oh+fUyGscP/SwNu7UgIfANSlX2aVHhSOCP3N5EdcLVw=
 SIZE (openttd/opengfx-0.4.7.zip) = 3471843
 SIZE (openttd/openmsx-0.3.1.zip) = 136981
 SIZE (openttd/opensfx-0.2.3.zip) = 11144025
-SIZE (openttd/openttd-1.3.2-source.tar.gz) = 9614867
+SIZE (openttd/openttd-1.3.3-source.tar.gz) = 9643325
Index: patches/patch-src_string_func_h
===
RCS file: /cvs/ports/games/openttd/patches/patch-src_string_func_h,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_string_func_h
--- patches/patch-src_string_func_h 25 Jun 2013 22:41:41 -  1.1
+++ patches/patch-src_string_func_h 3 Dec 2013 09:56:37 -
@@ -1,8 +1,8 @@
 $OpenBSD: patch-src_string_func_h,v 1.1 2013/06/25 22:41:41 bentley Exp $
 Don't use openttd's internal copies of strndup()/strcasestr().
 src/string_func.h.orig Fri May 31 14:57:15 2013
-+++ src/string_func.h  Sun Jun 23 21:47:08 2013
-@@ -196,7 +196,7 @@ static inline bool IsWhitespace(WChar c)
+--- src/string_func.h.orig Fri Nov 29 05:16:09 2013
 src/string_func.h  Tue Dec  3 02:39:29 2013
+@@ -249,7 +249,7 @@ static inline bool IsWhitespace(WChar c)
  #endif
  
  /* strndup is a GNU extension */
@@ -11,7 +11,7 @@ Don't use openttd's internal copies of s
  # undef DEFINE_STRNDUP
  #else
  # define DEFINE_STRNDUP
-@@ -204,7 +204,7 @@ char *strndup(const char *s, size_t len);
+@@ -257,7 +257,7 @@ char *strndup(const char *s, size_t len);
  #endif /* strndup is available */
  
  /* strcasestr is available for _GNU_SOURCE, BSD and some Apple */