fix u-boot build on big endian hosts

2016-10-21 Thread Jonathan Gray
u-boot contains a static crc table with endian calls that essentially
requires the endian calls to be macros.

lib/crc32.c:87: error: braced-group within expression allowed only inside a 
function

Define the glibc names in u-boot compiler.h as at least some parts of
the non-cross build assumes those names are present (ie crc32.c).

The cross built parts use local definitions that set __BYTE_ORDER etc
but it isn't always entirely clear which is which.

Index: Makefile
===
RCS file: /cvs/ports/sysutils/u-boot/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile14 Sep 2016 05:52:25 -  1.7
+++ Makefile22 Oct 2016 02:36:27 -
@@ -2,6 +2,7 @@
 
 COMMENT=   U-Boot firmware
 DISTNAME=  u-boot-2016.09
+REVISION=  0
 CATEGORIES=sysutils
 HOMEPAGE=  http://www.denx.de/wiki/U-Boot
 MAINTAINER=Jonathan Gray 
Index: patches/patch-include_configs_omap3_beagle_h
===
RCS file: 
/cvs/ports/sysutils/u-boot/patches/patch-include_configs_omap3_beagle_h,v
retrieving revision 1.1
diff -u -p -r1.1 patch-include_configs_omap3_beagle_h
--- patches/patch-include_configs_omap3_beagle_h18 Jun 2016 03:04:44 
-  1.1
+++ patches/patch-include_configs_omap3_beagle_h22 Oct 2016 02:42:17 
-
@@ -1,7 +1,7 @@
 $OpenBSD: patch-include_configs_omap3_beagle_h,v 1.1 2016/06/18 03:04:44 jsg 
Exp $
 include/configs/omap3_beagle.h.origTue May 17 00:40:32 2016
-+++ include/configs/omap3_beagle.h Mon Jun 13 17:28:45 2016
-@@ -113,9 +113,12 @@
+--- include/configs/omap3_beagle.h.origTue Sep 13 00:05:51 2016
 include/configs/omap3_beagle.h Sat Oct 22 13:42:04 2016
+@@ -112,9 +112,12 @@
  
  #define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x8020\0" \
@@ -15,7 +15,7 @@ $OpenBSD: patch-include_configs_omap3_be
"usbtty=cdc_acm\0" \
"bootfile=uImage\0" \
"ramdisk=ramdisk.gz\0" \
-@@ -210,39 +213,17 @@
+@@ -209,39 +212,17 @@
"userbutton=if gpio input 173; then run userbutton_xm; " \
"else run userbutton_nonxm; fi;\0" \
"userbutton_xm=gpio input 4;\0" \
Index: patches/patch-include_configs_ti_omap5_common_h
===
RCS file: 
/cvs/ports/sysutils/u-boot/patches/patch-include_configs_ti_omap5_common_h,v
retrieving revision 1.2
diff -u -p -r1.2 patch-include_configs_ti_omap5_common_h
--- patches/patch-include_configs_ti_omap5_common_h 6 Aug 2016 08:07:51 
-   1.2
+++ patches/patch-include_configs_ti_omap5_common_h 22 Oct 2016 02:42:21 
-
@@ -1,7 +1,7 @@
 $OpenBSD: patch-include_configs_ti_omap5_common_h,v 1.2 2016/08/06 08:07:51 
jsg Exp $
 include/configs/ti_omap5_common.h.orig Tue Jul 12 05:01:01 2016
-+++ include/configs/ti_omap5_common.h  Sat Aug  6 17:10:52 2016
-@@ -66,6 +66,18 @@
+--- include/configs/ti_omap5_common.h.orig Tue Sep 13 00:05:51 2016
 include/configs/ti_omap5_common.h  Sat Oct 22 13:42:04 2016
+@@ -64,6 +64,18 @@
  #define DFUARGS
  #endif
  
@@ -20,7 +20,7 @@ $OpenBSD: patch-include_configs_ti_omap5
  #ifndef CONFIG_SPL_BUILD
  #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
  #define CONFIG_EXTRA_ENV_SETTINGS \
-@@ -115,21 +127,8 @@
+@@ -113,21 +125,8 @@
"loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile};\0" \
DFUARGS \
NETARGS \
--- /dev/null   Sat Oct 22 13:45:57 2016
+++ patches/patch-include_compiler_hSat Oct 22 13:36:07 2016
@@ -0,0 +1,35 @@
+$OpenBSD$
+--- include/compiler.h.origSat Oct 22 12:27:18 2016
 include/compiler.h Sat Oct 22 12:29:01 2016
+@@ -52,6 +52,9 @@ typedef unsigned long ulong;
+ # include  /* htole32 and friends */
+ #elif defined(__OpenBSD__)
+ # include 
++# define __BYTE_ORDER BYTE_ORDER
++# define __LITTLE_ENDIAN LITTLE_ENDIAN
++# define __BIG_ENDIAN BIG_ENDIAN
+ #endif
+ 
+ #include 
+@@ -84,20 +87,7 @@ typedef unsigned int uint;
+ # define uswap_64(x) _uswap_64(x, )
+ #endif
+ 
+-#if defined(__OpenBSD__)
+-#define cpu_to_le16(x)htole16(x)
+-#define cpu_to_le32(x)htole32(x)
+-#define cpu_to_le64(x)htole64(x)
+-#define le16_to_cpu(x)letoh16(x)
+-#define le32_to_cpu(x)letoh32(x)
+-#define le64_to_cpu(x)letoh64(x)
+-#define cpu_to_be16(x)htobe16(x)
+-#define cpu_to_be32(x)htobe32(x)
+-#define cpu_to_be64(x)htobe64(x)
+-#define be16_to_cpu(x)betoh16(x)
+-#define be32_to_cpu(x)betoh32(x)
+-#define be64_to_cpu(x)betoh64(x)
+-#elif __BYTE_ORDER == __LITTLE_ENDIAN
++#if __BYTE_ORDER == __LITTLE_ENDIAN
+ # define cpu_to_le16(x)   (x)
+ # define cpu_to_le32(x)   (x)
+ # define cpu_to_le64(x)   (x)



Re: CVS: cvs.openbsd.org: ports

2016-10-21 Thread Gonzalo L. Rodriguez
This was OK jca@

On [21/10/16] [03:15P], Gonzalo L. Rodriguez wrote:
; CVSROOT:  /cvs
; Module name:  ports
; Changes by:   gonz...@cvs.openbsd.org 2016/10/21 15:15:58
; 
; Modified files:
;   editors/zile   : Makefile distinfo 
; 
; Log message:
; Update for Zile to 2.4.12

-- 
Sending from my toaster.



CVS: cvs.openbsd.org: ports

2016-10-21 Thread Gonzalo L . Rodriguez
CVSROOT:/cvs
Module name:ports
Changes by: gonz...@cvs.openbsd.org 2016/10/21 15:15:58

Modified files:
editors/zile   : Makefile distinfo 

Log message:
Update for Zile to 2.4.12



Re: UPDATE: security/keepassx

2016-10-21 Thread Rafael Sadowski
*ping*

On Mon Oct 10, 2016 at 05:56:29PM +0200, Rafael Sadowski wrote:
> Hi ports@, steven@,
> 
> as always,  here is the diff to update keepassx from 2.0.2 to 2.0.3.
> Pretty simple! Tested on amd64 with *.kdbx (not *.kdb)
> 
> Kind regards,
> 
> Rafael
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/security/keepassx/Makefile,v
> retrieving revision 1.11
> diff -u -p -u -p -r1.11 Makefile
> --- Makefile  18 Mar 2016 23:12:19 -  1.11
> +++ Makefile  10 Oct 2016 15:49:40 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT =management tool for sensitive data
>  
> -V =  2.0.2
> +V =  2.0.3
>  DISTNAME =   keepassx-$V
>  CATEGORIES = security
>  
> @@ -20,8 +20,7 @@ MODULES =   x11/qt4 \
>  
>  CONFIGURE_ARGS=  -DWITH_CXX11=no
>  
> -WANTLIB += QtGui X11 Xi Xtst c m pthread stdc++
> -WANTLIB += gcrypt z
> +WANTLIB += QtGui X11 Xi Xtst c gcrypt m stdc++ z
>  
>  LIB_DEPENDS =security/libgcrypt
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/security/keepassx/distinfo,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 distinfo
> --- distinfo  14 Mar 2016 18:20:54 -  1.4
> +++ distinfo  10 Oct 2016 15:49:40 -
> @@ -1,2 +1,2 @@
> -SHA256 (keepassx-2.0.2.tar.gz) = IEvc9JxyB4zW8CtPKbBikjzKnnstNVHyvzUnY9qiNrg=
> -SIZE (keepassx-2.0.2.tar.gz) = 1532353
> +SHA256 (keepassx-2.0.3.tar.gz) = I/+0rjYMWKoTmUNELRdbxrjwjmqHaudsRUOrmDpmR8U=
> +SIZE (keepassx-2.0.3.tar.gz) = 1540235



[update] lang/rust 1.12.1

2016-10-21 Thread Sebastien Marie
Hi,

Here an update for lang/rust.

For release note see https://blog.rust-lang.org/2016/10/20/Rust-1.12.1.html.
For the full change see https://github.com/rust-lang/rust/pull/37173.

Please note I rebuilded the bootstrap due to bug in rustc: 1.12.0 wasn't
able to rebuild 1.12.1 without intrusive patch is build system. It
should be corrected in next version of rustc, and I upgraded the
Makefile to try rebuilding when major are same between bootstrap and
version.

Diff tested with `make test', and by rebuilding devel/cargo.

Thanks.
-- 
Sebastien Marie


Index: Makefile
===
RCS file: /cvs/ports/lang/rust/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile5 Oct 2016 16:48:10 -   1.30
+++ Makefile21 Oct 2016 18:04:17 -
@@ -7,12 +7,12 @@ PKG_ARCH-doc =*
 COMMENT-main = compiler for Rust Language
 COMMENT-doc =  html documentation for rustc
 
-V =1.12.0
-BV =   1.12.0-20160929
+V =1.12.1
+BV =   1.12.1-20161021
 DISTNAME = rustc-${V}-src
 
 #RUST_HASH !=  echo -n ${V} | md5 | cut -c1-8
-RUST_HASH =40393716
+RUST_HASH =5c6cf767
 SUBST_VARS +=  RUST_HASH
 
 PKGNAME =  rust-${V}
@@ -87,8 +87,8 @@ CONFIGURE_ARGS += --disable-valgrind-rpa
--prefix="${LOCALBASE}" \
--mandir="${LOCALBASE}/man"
 
-# VERSION and BOOTSTRAP are same version
-.if ${V} == ${BV:C/-[0-9]+$//}
+# VERSION and BOOTSTRAP are same major version
+.if ${V:C/\.[0-9]+$//} == ${BV:C/\.[0-9]+-[0-9]+$//}
 CONFIGURE_ARGS +=  --enable-local-rebuild
 .endif
 
Index: distinfo
===
RCS file: /cvs/ports/lang/rust/distinfo,v
retrieving revision 1.17
diff -u -p -r1.17 distinfo
--- distinfo5 Oct 2016 16:48:10 -   1.17
+++ distinfo21 Oct 2016 18:04:17 -
@@ -1,4 +1,4 @@
-SHA256 (rust/rustc-1.12.0-src.tar.gz) = 
rFkH1vqWwZvVkB2NmTg/uHVRJ1cerT1AcMzpwftfM3o=
-SHA256 (rust/rustc-bootstrap-amd64-1.12.0-20160929.tar.gz) = 
VjewvFzkgatD8nKLpLmaCtWkRecoNWDNOd3GrdYH42U=
-SIZE (rust/rustc-1.12.0-src.tar.gz) = 27501444
-SIZE (rust/rustc-bootstrap-amd64-1.12.0-20160929.tar.gz) = 24459997
+SHA256 (rust/rustc-1.12.1-src.tar.gz) = 
l5E65MslVhiqrNGlNLEfNDY0sECzJlYlDQnY2ewC09w=
+SHA256 (rust/rustc-bootstrap-amd64-1.12.1-20161021.tar.gz) = 
KNG9v6HBcpbf/rr2IaaPkHgjNQ1EwothEswHPdNV4mo=
+SIZE (rust/rustc-1.12.1-src.tar.gz) = 27511443
+SIZE (rust/rustc-bootstrap-amd64-1.12.1-20161021.tar.gz) = 25133752



CVS: cvs.openbsd.org: ports

2016-10-21 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2016/10/21 11:52:09

Modified files:
textproc   : Makefile 

Log message:
Add lua-cosmo.



CVS: cvs.openbsd.org: ports

2016-10-21 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2016/10/21 11:49:25

Log message:
Import textproc/lua-cosmo.

Cosmo is a "safe templates" engine. It allows you to fill nested templates,
providing many of the advantages of Turing-complete template engines,
without the downside of allowing arbitrary code in the templates.

OK jca@

Status:

Vendor Tag: fcambus
Release Tags:   fcambus_20161021

N ports/textproc/lua-cosmo/Makefile
N ports/textproc/lua-cosmo/distinfo
N ports/textproc/lua-cosmo/pkg/PLIST
N ports/textproc/lua-cosmo/pkg/DESCR

No conflicts created by this import



[NEW] devel/lua-tz

2016-10-21 Thread Frederic Cambus
Hi ports@,

Here is a new port: devel/lua-tz

Comments? OK?

>From DESCR:

A lua library for time and date manipulation.

Features include:

- Normalisation of broken down date objects - allows for complex time/date
  manipulation logic e.g. "What day is it in 2 days, 5 hours from now?"
- Conversion between locations (time zones) using your local zoneinfo database
- strftime style formatting



lua-tz.tar.gz
Description: application/tar-gz


Re: [NEW] textproc/lua-cosmo

2016-10-21 Thread Jeremie Courreges-Anglas
Frederic Cambus  writes:

> On Wed, Oct 19, 2016 at 04:58:36PM +0200, Jeremie Courreges-Anglas wrote:
>
>> > Cosmo is a "safe templates" engine. It allows you to fill nested templates,
>> > providing many of the advantages of Turing-complete template engines,
>> > without the downside of allowing arbitrary code in the templates.
>> 
>> lpeg should be in MODLUA_RUN_DEPENDS.  I think we should install the doc
>> in share/doc/${FULLPKGNAME}.  Looks good otherwise.
>
> Indeed. Here is a new tarball with lpeg in MODLUA_RUN_DEPENDS and with
> a post-install target installing the documentation.

ok jca@ to import

Couple of nitpicks, nothing really important:
- not strictly needed, but you could set NO_BUILD=Yes
- *puts on his Makefile-layout-nazi hat* you could move PKG_ARCH=* at
  the end, like in Makefile.template

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [NEW] textproc/lua-cosmo

2016-10-21 Thread Frederic Cambus
On Wed, Oct 19, 2016 at 04:58:36PM +0200, Jeremie Courreges-Anglas wrote:

> > Cosmo is a "safe templates" engine. It allows you to fill nested templates,
> > providing many of the advantages of Turing-complete template engines,
> > without the downside of allowing arbitrary code in the templates.
> 
> lpeg should be in MODLUA_RUN_DEPENDS.  I think we should install the doc
> in share/doc/${FULLPKGNAME}.  Looks good otherwise.

Indeed. Here is a new tarball with lpeg in MODLUA_RUN_DEPENDS and with
a post-install target installing the documentation.



lua-cosmo.tar.gz
Description: application/tar-gz


CVS: cvs.openbsd.org: ports

2016-10-21 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/10/21 08:52:27

Modified files:
net/librenms   : Makefile distinfo 

Log message:
security update to librenms-201609.01
https://github.com/librenms/librenms/pull/4807



Re: UPDATE devel/sdl 2.0.5

2016-10-21 Thread Jeremie Courreges-Anglas
Jeremie Courreges-Anglas  writes:

> David CARLIER  writes:
>
>> Hi,
>>
>> here an update of SDL which seems small but now has now an
>> implementation of SDL_GetBasePath function which can benefit to few
>> video games (like supertux), maybe future Adam Wolk port of
>> falltergeist ...
>
> I'm not sure how I understand how important why this function is
> important.  Right now it seems to return the current working directory.

As discussed with David, the current SDL_GetBasePath implementation is
incorrect.  Instead of misleading applications, let's disable it.

> Anyway, functions were added and the size of the SDL_DropEvent struct
> increased - though in a compatible manner.  So it needs a minor bump.
>
>   http://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs
>
> Which consumers of this library have you tested?

Here's an updated diff, but tests are yet to be performed.


Index: Makefile
===
RCS file: /cvs/ports/devel/sdl2/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile19 Mar 2016 11:34:50 -  1.14
+++ Makefile21 Oct 2016 13:19:03 -
@@ -3,14 +3,13 @@
 COMMENT=   cross-platform multimedia library
 BROKEN-hppa=   src/atomic/SDL_spinlock.c:101:2: error: #error Please implement 
for your platform.
 
-V= 2.0.4
-REVISION=  0
+V= 2.0.5
 DISTNAME=  SDL2-${V}
 PKGNAME=   sdl2-${V}
 CATEGORIES=devel
 MASTER_SITES=  http://www.libsdl.org/release/
 
-SHARED_LIBS=   SDL20.2
+SHARED_LIBS=   SDL20.3
 
 HOMEPAGE=  http://www.libsdl.org/
 
Index: distinfo
===
RCS file: /cvs/ports/devel/sdl2/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo7 Jan 2016 04:49:37 -   1.4
+++ distinfo21 Oct 2016 13:19:03 -
@@ -1,2 +1,2 @@
-SHA256 (SDL2-2.0.4.tar.gz) = 2lXlQL9jMYJBU4BdWLWQopw50tUGxtAvpAmu3qshF0s=
-SIZE (SDL2-2.0.4.tar.gz) = 4136230
+SHA256 (SDL2-2.0.5.tar.gz) = RCA4z1ny/wbZdgMYE95kOvnJ7cnjMb12HCQuh4U=
+SIZE (SDL2-2.0.5.tar.gz) = 4209352
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/devel/sdl2/patches/patch-Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile_in
--- patches/patch-Makefile_in   7 Jan 2016 04:49:37 -   1.2
+++ patches/patch-Makefile_in   21 Oct 2016 13:19:03 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-Makefile_in,v 1.2 2016/01/07 04:49:37 jsg Exp $
 Makefile.in.orig   Sun Jan  3 06:56:31 2016
-+++ Makefile.inSun Jan  3 11:45:11 2016
-@@ -115,7 +115,7 @@ LT_AGE  = @LT_AGE@
+--- Makefile.in.orig   Thu Oct 20 05:56:26 2016
 Makefile.inThu Oct 20 22:23:28 2016
+@@ -121,7 +121,7 @@ LT_AGE  = @LT_AGE@
  LT_CURRENT  = @LT_CURRENT@
  LT_RELEASE  = @LT_RELEASE@
  LT_REVISION = @LT_REVISION@
Index: patches/patch-src_filesystem_unix_SDL_sysfilesystem_c
===
RCS file: patches/patch-src_filesystem_unix_SDL_sysfilesystem_c
diff -N patches/patch-src_filesystem_unix_SDL_sysfilesystem_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_filesystem_unix_SDL_sysfilesystem_c   21 Oct 2016 
13:19:03 -
@@ -0,0 +1,31 @@
+$OpenBSD$
+
+Disable SDL_GetBasePath implementation, not functional.
+
+--- src/filesystem/unix/SDL_sysfilesystem.c.orig   Thu Oct 20 05:56:26 2016
 src/filesystem/unix/SDL_sysfilesystem.cFri Oct 21 15:15:01 2016
+@@ -91,24 +91,6 @@ SDL_GetBasePath(void)
+ }
+ }
+ #endif
+-#if defined(__OPENBSD__)
+-char **retvalargs;
+-size_t len;
+-const int mib[] = { CTL_KERN, KERN_PROC_ARGS, getpid(), KERN_PROC_ARGV };
+-if (sysctl(mib, 4, NULL, , NULL, 0) != -1) {
+-retvalargs = SDL_malloc(len);
+-if (!retvalargs) {
+-SDL_OutOfMemory();
+-return NULL;
+-}
+-sysctl(mib, 4, retvalargs, , NULL, 0);
+-retval = SDL_malloc(PATH_MAX + 1);
+-if (retval)
+-realpath(retvalargs[0], retval);
+-
+-SDL_free(retvalargs);
+-}
+-#endif
+ #if defined(__SOLARIS__)
+ const char *path = getexecname();
+ if ((path != NULL) && (path[0] == '/')) { /* must be absolute path... */


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



CVS: cvs.openbsd.org: ports

2016-10-21 Thread Visa Hankala
CVSROOT:/cvs
Module name:ports
Changes by: v...@cvs.openbsd.org2016/10/21 07:13:31

Modified files:
devel/gdb/patches: patch-gdb_mips64obsd-nat_c 

Log message:
Fix build on mips64. Part of the source is now built using c++ which
rejects implicit casts from type void *.

ok pascal@



CVS: cvs.openbsd.org: ports

2016-10-21 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2016/10/21 06:53:03

Modified files:
www/tomcat/v6  : Makefile distinfo 
www/tomcat/v6/pkg: PLIST-examples 
www/tomcat/v8  : Makefile distinfo 
www/tomcat/v8/pkg: PLIST-examples 

Log message:
Updates:

- Tomcat 6.0.47
- Tomcat 8.5.6



CVS: cvs.openbsd.org: ports

2016-10-21 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2016/10/21 06:51:55

Modified files:
devel/ctftools : Makefile 
devel/ctftools/patches: patch-cddl_lib_libctf_Makefile 
patch-cddl_usr_bin_ctfconvert_Makefile 
patch-cddl_usr_bin_ctfdump_Makefile 
patch-cddl_usr_bin_ctfmerge_Makefile 

Log message:
/usr/local -> ${LOCALBASE}

No objection from jasper@ (maintainer)



CVS: cvs.openbsd.org: ports

2016-10-21 Thread Gonzalo L . Rodriguez
CVSROOT:/cvs
Module name:ports
Changes by: gonz...@cvs.openbsd.org 2016/10/21 06:36:29

Modified files:
security/lynis : Makefile distinfo 
security/lynis/pkg: PLIST 

Log message:
Upgrade for Lynis to 2.3.4:

https://cisofy.com/changelog/lynis/2.3.4/

OK benoit@



Re: UPDATE: emulators/snes9x

2016-10-21 Thread Florian Stinglmayr
On Tue, Oct 18, 2016 at 12:43:48AM -0600, Anthony J. Bentley wrote:
> Hi,
>
> Here is an update to the recently released snes9x-1.54.1.
>
> It looks like there is no longer any asm--would appreciate a test on i386.
>
> ok?
>

ok from me. Works fine on amd64 with all of my ROMs



CVS: cvs.openbsd.org: ports

2016-10-21 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2016/10/21 03:45:38

Modified files:
astro/ansiweather: Makefile distinfo 

Log message:
Update ansiweather to 1.09.



Re: [Patch] lang/sbcl version bump + threads flavor

2016-10-21 Thread Solène Rapenne

"Solène Rapenne"  writes:

Hello,

Please find a version bump for sbcl and a flavor which enable thread.
There is no support for threads in sbcl for macppc and they are 
considered
experimental on OpenBSD, so it should not be the default, hence a 
thread

flavor.



Patch in attachment
Index: Makefile
===
RCS file: /cvs/ports/lang/sbcl/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile	3 Sep 2016 15:10:12 -	1.28
+++ Makefile	21 Oct 2016 09:30:03 -
@@ -6,8 +6,7 @@ USE_WXNEEDED =		Yes
 
 COMMENT=		compiler and runtime system for ANSI Common Lisp
 
-V =			1.2.14
-REVISION =		1
+V =			1.3.10
 DISTNAME=		sbcl-${V}-source
 PKGNAME=		sbcl-${V}
 WRKDIST=		${WRKDIR}/sbcl-${V}
@@ -28,9 +27,16 @@ MODGCC4_LANGS=		c
 
 WANTLIB=		c m util
 
-PSEUDO_FLAVORS=		native_bootstrap
+FLAVORS=		threads
 FLAVOR?=
 
+EXTRA_PARAMS=		
+.if ${FLAVOR:Mthreads}
+EXTRA_PARAMS=		--with-sb-threads
+.endif
+
+PSEUDO_FLAVORS=		native_bootstrap
+
 .if ${FLAVOR:Mnative_bootstrap}
 BUILD_DEPENDS+=		lang/sbcl
 BOOTSTRAP_CMD=		${LOCALBASE}/bin/sbcl \
@@ -63,7 +69,7 @@ pre-configure:
 
 do-build:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} /bin/sh make.sh \
-		--prefix=${PREFIX} --xc-host="${BOOTSTRAP_CMD}"
+		--prefix=${PREFIX} --xc-host="${BOOTSTRAP_CMD}" ${EXTRA_PARAMS}
 	cd ${WRKSRC}/doc/manual && touch sbcl.texinfo && \
 		${SETENV} ${MAKE_ENV} ${GMAKE} asdf.info sbcl.info
 
Index: distinfo
===
RCS file: /cvs/ports/lang/sbcl/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo	11 Aug 2015 21:41:04 -	1.12
+++ distinfo	21 Oct 2016 09:30:03 -
@@ -1,2 +1,2 @@
-SHA256 (sbcl-1.2.14-source.tar.bz2) = uRRt1kYMBbylCPbdqDADWAkRgz7t1R28CdjsqAsPXAY=
-SIZE (sbcl-1.2.14-source.tar.bz2) = 5565538
+SHA256 (sbcl-1.3.10-source.tar.bz2) = SlZ6rZGzFsIut1bdjlAs/ZqVpMZg+x+i6x5Q4Am4V3c=
+SIZE (sbcl-1.3.10-source.tar.bz2) = 5763563


CVS: cvs.openbsd.org: ports

2016-10-21 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2016/10/21 02:29:01

Modified files:
devel/ctftools : Makefile 
Added files:
devel/ctftools/patches: 

patch-sys_cddl_contrib_opensolaris_uts_common_sys_isa_defs_h 

Log message:
Fix build on sparc64

"got for it" jasper@ (maintainer)



CVS: cvs.openbsd.org: ports

2016-10-21 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2016/10/21 02:28:10

Modified files:
devel/ctftools : Makefile 
Added files:
devel/ctftools/patches: 

patch-cddl_contrib_opensolaris_tools_ctf_cvt_ctfmerge_c 

patch-cddl_contrib_opensolaris_tools_ctf_cvt_dwarf_c 
patch-cddl_lib_libctf_Makefile 
patch-cddl_usr_bin_ctfconvert_Makefile 
patch-cddl_usr_bin_ctfdump_Makefile 
patch-cddl_usr_bin_ctfmerge_Makefile 
Removed files:
devel/ctftools/patches: 

patch-contrib_opensolaris_tools_ctf_cvt_ctfmerge_c 
patch-contrib_opensolaris_tools_ctf_cvt_dwarf_c 
patch-lib_libctf_Makefile 
patch-usr_bin_ctfconvert_Makefile 
patch-usr_bin_ctfdump_Makefile 
patch-usr_bin_ctfmerge_Makefile 

Log message:
More WRKDIST one level up, to allow patching in sys/

"go for it" jasper@



Re: NEW: p5-Mojolicious-Plugin-AccessLog and p5-Mojolicious-Plugin-Thumbnail

2016-10-21 Thread Olivier Cherrier

Hi,

Any news / comments for that ?


On Mon, Oct 17, 2016 at 06:36:24AM +, o...@symacx.com wrote:
>   Hi Alexander,
> 
> On Mon, Oct 10, 2016 at 01:07:14AM +0200, alexander.bl...@gmx.net wrote:
> > >   Description:
> > >   easily generate an access log.
> > 
> > A sentence should start with a upper case letter.
> >
> > OK bluhm@ for p5-Mojolicious-Plugin-AccessLog
>  
> I fixed it. Thank you. 
> 
> > > p5-Mojolicious-Plugin-Thumbnail.
> > 
> > There is no license or copyright file in this module.  Please ask
> > the author to provide one, otherwise this is not free software.
> 
> For this one, I am sending emails to the author for one week but I didn't
> get any answer yet ... will try again.
> 
> 
> And here is another one: Mojolicious-Plugin-TextDomain.
> Description: Mojolicious plugin for a gettext localization.
> This one is correctly licensed:
> Copyright (C) 2010 Anatoliy Lapitskiy
> This program is free software; you can redistribute it and/or modify it
> under the terms of either: the GNU General Public License as published
> by the Free Software Foundation; or the Artistic License.
> 
> 
> Thanks a lot,
> Best
> oc