Re: NEW: www/p5-Dancer2-Session-Cookie

2015-01-25 Thread Andrew Fresh
On Sun, Jan 25, 2015 at 11:59:12AM -0700, Andrew Fresh wrote:
 On Sat, Jan 24, 2015 at 09:10:24PM +0100, Cesare Gargano wrote:
  - devel/p5-Sereal-Encoder
This library implements a serializer for an efficient, compact-output, and
feature-rich binary protocol called Sereal
  
  - devel/p5-Sereal-Decoder
This library implements a deserializer for an efficient, compact-output,
and feature-rich binary protocol called Sereal
  
 
 These both need
 
 TEST_DEPENDS += devel/p5-Test-Warn

Actually looking further,
p5-Sereal-Encoder needs TEST_DEPENDS += devel/p5-Sereal-Decoder
p5-Sereal-Decoder needs TEST_DEPENDS += devel/p5-Sereal-Encoder

 security/p5-Crypt-URandom

This could use TEST_DEPENDS += devel/p5-Test-Pod

l8rZ,
-- 
andrew - http://afresh1.com

Hey, I think I see a barn up ahead.
  -- The American Astronaut



Re: NEW: www/p5-Dancer2-Session-Cookie

2015-01-25 Thread Andrew Fresh
On Sat, Jan 24, 2015 at 09:10:24PM +0100, Cesare Gargano wrote:
 - devel/p5-Sereal-Encoder
   This library implements a serializer for an efficient, compact-output, and
   feature-rich binary protocol called Sereal
 
 - devel/p5-Sereal-Decoder
   This library implements a deserializer for an efficient, compact-output,
   and feature-rich binary protocol called Sereal
 

These both need

TEST_DEPENDS += devel/p5-Test-Warn

p5-Serial itself doesn't seem to be SHARED_ONLY, although its
dependencies are.
 
 
 - devel/p5-Number-Tolerant (updated to 1.705 from openbsd-wip by todd@)
   Number::Tolerant creates a number-like object whose value refers to a range
   of possible values, each equally acceptable. It overloads comparison
   operations to reflect this

Needs 
TEST_DEPENDS += devel/p5-Test-Tester

Usually perl
ports don't require BUILD_DEPENDS = ${RUN_DEPENDS}, although they do
complain that they can't find dependencies they build and package just
fine.  They seems superfluous in any that have it. Was there something
that indicated it was necessary?

The rest seem OK to me, if you resend updated versions of the rest I'll
go through them all again for OKs.

The group I looked at was:
devel/p5-Number-Tolerant
devel/p5-Sereal-Decoder
devel/p5-Sereal-Encoder
devel/p5-Sereal
devel/p5-String-Compare-ConstantTime
math/p5-Math-Random-ISAAC-XS
security/p5-Crypt-URandom
www/p5-Dancer-Plugin-Database-Core
www/p5-Dancer2-Plugin-Ajax
www/p5-Dancer2-Plugin-Auth-Tiny
www/p5-Dancer2-Plugin-DBIC
www/p5-Dancer2-Plugin-Database
www/p5-Dancer2-Session-Cookie
www/p5-Session-Storage-Secure


l8rZ,
-- 
andrew - http://afresh1.com

Beta. Software undergoes beta testing shortly before it's released.
   Beta is Latin for still doesn't work.



Re: NEW: www/p5-Dancer2-Session-Cookie

2015-01-25 Thread Andrew Fresh
On Sun, Jan 25, 2015 at 08:54:21PM +0100, Cesare Gargano wrote:
 Hi, attached fixed versions. Thanks!

devel/p5-Number-Tolerant

Someone should ask the MAINTAINER (todd@)  but OK afresh1@

www/p5-Dancer-Plugin-Database-Core

Should have said in the other email, but OK afresh1@

devel/p5-Sereal-Decoder
devel/p5-Sereal-Encoder
devel/p5-Sereal
devel/p5-String-Compare-ConstantTime
math/p5-Math-Random-ISAAC-XS
security/p5-Crypt-URandom
www/p5-Dancer2-Plugin-Ajax
www/p5-Dancer2-Plugin-Auth-Tiny
www/p5-Dancer2-Session-Cookie
www/p5-Session-Storage-Secure


OK afresh1@ on the rest of these as well

l8rZ,
-- 
andrew - http://afresh1.com

Life's unfair - but root password helps!



Re: NEW: www/p5-Dancer2-Session-Cookie

2015-01-25 Thread Cesare Gargano
Hi, attached fixed versions. Thanks!
C.

On Sun, Jan 25, 2015 at 8:21 PM, Andrew Fresh and...@afresh1.com wrote:
 On Sun, Jan 25, 2015 at 11:59:12AM -0700, Andrew Fresh wrote:
 On Sat, Jan 24, 2015 at 09:10:24PM +0100, Cesare Gargano wrote:
  - devel/p5-Sereal-Encoder
This library implements a serializer for an efficient, compact-output, 
  and
feature-rich binary protocol called Sereal
 
  - devel/p5-Sereal-Decoder
This library implements a deserializer for an efficient, compact-output,
and feature-rich binary protocol called Sereal
 

 These both need

 TEST_DEPENDS += devel/p5-Test-Warn

 Actually looking further,
 p5-Sereal-Encoder needs TEST_DEPENDS += devel/p5-Sereal-Decoder
 p5-Sereal-Decoder needs TEST_DEPENDS += devel/p5-Sereal-Encoder

 security/p5-Crypt-URandom

 This could use TEST_DEPENDS += devel/p5-Test-Pod

 l8rZ,
 --
 andrew - http://afresh1.com

 Hey, I think I see a barn up ahead.
   -- The American Astronaut


p5-Crypt-URandom.tgz
Description: GNU Zip compressed data


p5-Dancer2-Plugin-Ajax.tgz
Description: GNU Zip compressed data


p5-Dancer2-Plugin-Auth-Tiny.tgz
Description: GNU Zip compressed data


p5-Dancer2-Plugin-DBIC.tgz
Description: GNU Zip compressed data


p5-Dancer2-Plugin-Database.tgz
Description: GNU Zip compressed data


p5-Dancer2-Session-Cookie.tgz
Description: GNU Zip compressed data


p5-Dancer-Plugin-Database-Core.tgz
Description: GNU Zip compressed data


p5-Math-Random-ISAAC-XS.tgz
Description: GNU Zip compressed data


p5-Number-Tolerant.tgz
Description: GNU Zip compressed data


p5-Sereal.tgz
Description: GNU Zip compressed data


p5-Sereal-Decoder.tgz
Description: GNU Zip compressed data


p5-Sereal-Encoder.tgz
Description: GNU Zip compressed data


p5-Session-Storage-Secure.tgz
Description: GNU Zip compressed data


p5-String-Compare-ConstantTime.tgz
Description: GNU Zip compressed data


Re: NEW: www/p5-Dancer2-Session-Cookie

2015-01-25 Thread Cesare Gargano
Already asked privately, no answer yet.
C.
On Jan 25, 2015 9:59 PM, Andrew Fresh and...@afresh1.com wrote:

 On Sun, Jan 25, 2015 at 08:54:21PM +0100, Cesare Gargano wrote:
  Hi, attached fixed versions. Thanks!

 devel/p5-Number-Tolerant

 Someone should ask the MAINTAINER (todd@)  but OK afresh1@

 www/p5-Dancer-Plugin-Database-Core

 Should have said in the other email, but OK afresh1@

 devel/p5-Sereal-Decoder
 devel/p5-Sereal-Encoder
 devel/p5-Sereal
 devel/p5-String-Compare-ConstantTime
 math/p5-Math-Random-ISAAC-XS
 security/p5-Crypt-URandom
 www/p5-Dancer2-Plugin-Ajax
 www/p5-Dancer2-Plugin-Auth-Tiny
 www/p5-Dancer2-Session-Cookie
 www/p5-Session-Storage-Secure


 OK afresh1@ on the rest of these as well

 l8rZ,
 --
 andrew - http://afresh1.com

 Life's unfair - but root password helps!



NEW: www/p5-Dancer2-Session-Cookie

2015-01-24 Thread Cesare Gargano
Hi ports@!

pkg/DESCR:
This module implements a session factory for Dancer 2 that stores session
state within a browser cookie. Features include: data serialization and
compression using Sereal, data encryption using AES with a unique derived
key per cookie enforced expiration timestamp (independent of cookie
expiration), cookie integrity protected with a message authentication
code.

Below dependencies not present in ports tree:

- devel/p5-String-Compare-ConstantTime
  This module compares strings avoiding a timing side-channel

- security/p5-Crypt-URandom
  This Module is intended to provide an interface to the strongest available
  source of non-blocking randomness on the current platform

- devel/p5-Sereal-Encoder
  This library implements a serializer for an efficient, compact-output, and
  feature-rich binary protocol called Sereal

- devel/p5-Sereal-Decoder
  This library implements a deserializer for an efficient, compact-output,
  and feature-rich binary protocol called Sereal

- math/p5-Math-Random-ISAAC-XS
  The ISAAC algorithm is designed to take some seed information and produce
  seemingly random results as output

  This module implements the same interface as Math::Random::ISAAC and can be
  used as a drop-in replacement. This is the recommended implementation of
  the module, based on Bob Jenkins' reference implementation in C

- devel/p5-Number-Tolerant (updated to 1.705 from openbsd-wip by todd@)
  Number::Tolerant creates a number-like object whose value refers to a range
  of possible values, each equally acceptable. It overloads comparison
  operations to reflect this

- www/p5-Session-Storage-Secure
  This module implements a secure way to encode session data. It is primarily
  intended for storing session data in browser cookies, but could be used
  with other backend storage where security of stored session data is
  important

Attached the relevant ports.

Comments? OK?

Thanks,

-
C


p5-Crypt-URandom.tgz
Description: GNU Zip compressed data


p5-Dancer2-Session-Cookie.tgz
Description: GNU Zip compressed data


p5-Math-Random-ISAAC-XS.tgz
Description: GNU Zip compressed data


p5-Number-Tolerant.tgz
Description: GNU Zip compressed data


p5-Sereal.tgz
Description: GNU Zip compressed data


p5-Sereal-Decoder.tgz
Description: GNU Zip compressed data


p5-Sereal-Encoder.tgz
Description: GNU Zip compressed data


p5-Session-Storage-Secure.tgz
Description: GNU Zip compressed data


p5-String-Compare-ConstantTime.tgz
Description: GNU Zip compressed data


Re: NEW: www/p5-Dancer2-Plugin-Ajax

2015-01-24 Thread Cesare Gargano
Ping

On Sun, Jan 18, 2015 at 11:13 PM, Cesare Gargano g...@plusiagamma.org wrote:
 Hi ports@!

 A Dancer2 plugin. Tests pass on amd64.

 -
 pkg/DESCR:
 Dancer2 plugin which allow to define a route handler optimized for
 Ajax queries.



Re: NEW: www/p5-Dancer2-Plugin-Auth-Tiny

2015-01-24 Thread Cesare Gargano
Ping

On Sun, Jan 18, 2015 at 11:15 PM, Cesare Gargano g...@plusiagamma.org wrote:
 Hi ports@!

 A Dancer2 plugin. Tests pass on amd64.

 -
 pkg/DESCR:
 Dancer2 plugin which provides an extremely simple way of requiring that a
 user be logged in before allowing access to certain routes.

 Comments? OK?

 --
 C.



Re: NEW: www/p5-Dancer2-Plugin-DBIC

2015-01-24 Thread Cesare Gargano
Ping

On Sun, Jan 18, 2015 at 11:17 PM, Cesare Gargano g...@plusiagamma.org wrote:
 Hi ports@!

 A Dancer2 plugin. Tests pass on amd64.

 -
 pkg/DESCR:
 Dancer2 plugin which makes very easy to create applications that interface
 with databases. It automatically exports the keyword schema which returns a
 DBIx::Class::Schema object.

 Comments? OK?

 --
 C.



Re: NEW: www/p5-Dancer2-Plugin-Database

2015-01-24 Thread Cesare Gargano
Ping

On Sun, Jan 18, 2015 at 11:22 PM, Cesare Gargano g...@plusiagamma.org wrote:
 Hi ports@!

 A Dancer2 plugin. Tests pass on amd64.

 -
 pkg/DESCR:
 Dancer2 plugin which provides an easy way to obtain a connected DBI database
 handle by simply calling the database keyword within your application.

 Comments? OK?

 Attached its dep, www/p5-Dancer-Plugin-Database-Core

 --
 C.



Re: NEW: www/p5-Dancer2

2015-01-18 Thread Benoit Lecocq
On 01/18/15 01:51, Andrew Fresh wrote:
 On Thu, Jan 08, 2015 at 07:35:06PM +0100, Cesare Gargano wrote:
 Hi ports@!

 pkg/DESCR:
 Dancer2 is the new generation of Dancer, the lightweight web-framework for
 Perl. Dancer2 is a complete rewrite based on Moo.

 Tested on i386/amd64. All deps already posted to ports@.
 
 Once the www/p5-Plack update is committed, this is OK afresh1@
 

Committed, thanks !



NEW: www/p5-Dancer2-Plugin-Auth-Tiny

2015-01-18 Thread Cesare Gargano
Hi ports@!

A Dancer2 plugin. Tests pass on amd64.

-
pkg/DESCR:
Dancer2 plugin which provides an extremely simple way of requiring that a
user be logged in before allowing access to certain routes.

Comments? OK?

--
C.


p5-Dancer2-Plugin-Auth-Tiny.tgz
Description: GNU Zip compressed data


NEW: www/p5-Dancer2-Plugin-DBIC

2015-01-18 Thread Cesare Gargano
Hi ports@!

A Dancer2 plugin. Tests pass on amd64.

-
pkg/DESCR:
Dancer2 plugin which makes very easy to create applications that interface
with databases. It automatically exports the keyword schema which returns a
DBIx::Class::Schema object.

Comments? OK?

--
C.


p5-Dancer2-Plugin-DBIC.tgz
Description: GNU Zip compressed data


NEW: www/p5-Dancer2-Plugin-Ajax

2015-01-18 Thread Cesare Gargano
Hi ports@!

A Dancer2 plugin. Tests pass on amd64.

-
pkg/DESCR:
Dancer2 plugin which allow to define a route handler optimized for
Ajax queries.


p5-Dancer2-Plugin-Ajax.tgz
Description: GNU Zip compressed data


NEW: www/p5-Dancer2-Plugin-Database

2015-01-18 Thread Cesare Gargano
Hi ports@!

A Dancer2 plugin. Tests pass on amd64.

-
pkg/DESCR:
Dancer2 plugin which provides an easy way to obtain a connected DBI database
handle by simply calling the database keyword within your application.

Comments? OK?

Attached its dep, www/p5-Dancer-Plugin-Database-Core

--
C.


p5-Dancer2-Plugin-Database.tgz
Description: GNU Zip compressed data


p5-Dancer-Plugin-Database-Core.tgz
Description: GNU Zip compressed data


Re: NEW: www/p5-Dancer2

2015-01-17 Thread Andrew Fresh
On Thu, Jan 08, 2015 at 07:35:06PM +0100, Cesare Gargano wrote:
 Hi ports@!
 
 pkg/DESCR:
 Dancer2 is the new generation of Dancer, the lightweight web-framework for
 Perl. Dancer2 is a complete rewrite based on Moo.
 
 Tested on i386/amd64. All deps already posted to ports@.


Looking closer at this, I see that there are some recommended
dependencies that we can add on shared arches.  I like doing this if
they are already ported because it makes things faster.

# === Runtime Recommends ===
# 
# Module  Want Have
# ---  
# CGI::Deurl::XS   any  missing
# Crypt::URandom   any  missing
# JSON::XS any  missing
# Math::Random::ISAAC::XS  any  missing
# Pod::Simple::Search  any 3.28
# Pod::Simple::SimpleTree  any 3.28
# Scope::Upper any  missing
# Test::Builderany 1.001002
# Test::More   any 1.001002
# URL::Encode::XS  any  missing
# 
# === Runtime Suggests ===
# 
# Module  WantHave
# ---  ---
# Class::Load::XS  any missing
# Fcntlany1.11
# YAML any0.84

This is what I added.  I'm not actually sure Dancer2 works on non-shared
arches, but this gives a reasonable attempt at it anyway.  If we
continue to expand our use of optional depends for shared arches,
someday the vax may end up the preferred web server for something.
Or not.


diff -ru p5-Dancer2.orig/Makefile p5-Dancer2/Makefile
--- p5-Dancer2.orig/MakefileSat Jan 17 17:06:07 2015
+++ p5-Dancer2/Makefile Sat Jan 17 17:18:39 2015
@@ -44,4 +44,11 @@
devel/p5-Test-MockTime \
devel/p5-YAML
 
+.include bsd.port.arch.mk
+.if !${PROPERTIES:Mno_shared}
+RUN_DEPENDS += converters/p5-JSON-XS \
+   devel/p5-Class-Load-XS \
+   devel/p5-Scope-Upper
+.endif
+
 .include bsd.port.mk



Re: NEW: www/p5-Dancer2

2015-01-17 Thread Andrew Fresh
On Thu, Jan 08, 2015 at 07:35:06PM +0100, Cesare Gargano wrote:
 Hi ports@!
 
 pkg/DESCR:
 Dancer2 is the new generation of Dancer, the lightweight web-framework for
 Perl. Dancer2 is a complete rewrite based on Moo.
 
 Tested on i386/amd64. All deps already posted to ports@.

Once the www/p5-Plack update is committed, this is OK afresh1@



NEW: www/p5-Dancer2

2015-01-08 Thread Cesare Gargano

Hi ports@!

pkg/DESCR:
Dancer2 is the new generation of Dancer, the lightweight web-framework 
for

Perl. Dancer2 is a complete rewrite based on Moo.

Tested on i386/amd64. All deps already posted to ports@.

--
C.

p5-Dancer2.tgz
Description: GNU Zip compressed data