CVS: cvs.openbsd.org: ports

2019-02-13 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2019/02/13 09:09:40

Modified files:
net/ngircd : Makefile distinfo 
net/ngircd/patches: patch-doc_Makefile_in 
patch-doc_sample-ngircd_conf_tmpl 
patch-src_ngircd_conf_c 
net/ngircd/pkg : PLIST 

Log message:
Update to ngircd-25.

MaxPenaltyTime patch and OK from sthen@.



UPDATE: net/ngircd to 25

2019-02-12 Thread Giannis Tsaraias
Hello,

Here's a diff to update ngircd to 25. Changelog:
https://raw.githubusercontent.com/ngircd/ngircd/master/ChangeLog

Passes all tests. Manually tested with SSL as well.

Looking for feedback and OKs.

-- 
tsg
Index: Makefile
===
RCS file: /cvs/ports/net/ngircd/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile11 Jan 2018 19:27:07 -  1.16
+++ Makefile12 Feb 2019 14:17:52 -
@@ -2,8 +2,7 @@
 
 COMMENT =  lightweight irc server
 
-DISTNAME = ngircd-24
-REVISION = 0
+DISTNAME = ngircd-25
 
 CATEGORIES =   net
 
Index: distinfo
===
RCS file: /cvs/ports/net/ngircd/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo19 Mar 2017 18:20:00 -  1.10
+++ distinfo12 Feb 2019 14:17:52 -
@@ -1,2 +1,2 @@
-SHA256 (ngircd-24.tar.gz) = PgCn2lLIH8HgK7mWonv0PakFunA3v4xrs70TMh4Mhas=
-SIZE (ngircd-24.tar.gz) = 524968
+SHA256 (ngircd-25.tar.gz) = UZFXgFGbrkPaN5iAfjvtYNiH5OqnKDVKprthzbzaSbo=
+SIZE (ngircd-25.tar.gz) = 527886


CVS: cvs.openbsd.org: ports

2017-05-09 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2017/05/09 07:37:08

Modified files:
infrastructure/lib/OpenBSD/PortGen/Port: CPAN.pm 

Log message:
Set CONFIGURE_STYLE = modbuild tiny for p5 ports using Module::Build::Tiny.
While at it, fix indentation.



CVS: cvs.openbsd.org: ports

2017-05-02 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2017/05/02 06:02:49

Modified files:
sysutils/entr  : Makefile distinfo 

Log message:
Update to entr-3.7. Maintainer timeout.

"If Eric doesn't answer don't be afraid to go ahead with this update." - jca@



CVS: cvs.openbsd.org: ports

2017-05-02 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2017/05/02 05:30:04

Modified files:
infrastructure/lib/OpenBSD/PortGen: Port.pm 

Log message:
There's no need for 'make fetch-all' when creating a new port.



Re: wxneeded for dosbox

2017-03-26 Thread Giannis Tsaraias
On Sun, Mar 26, 2017 at 11:37:21AM +1100, Jonathan Gray wrote:
> On Sat, Mar 25, 2017 at 06:51:32PM +0100, Hiltjo Posthuma wrote:
> > On Sat, Mar 25, 2017 at 05:43:27PM +0200, Giannis Tsaraias wrote:
> > > On Sat, Mar 25, 2017 at 03:24:26PM +0100, Benjamin Baier wrote:
> > > > Patch to add wxneeded to dosbox. I got a application that otherwise
> > > > crashes with the following dosbox error message.
> > > > 
> > > > >Setting excute permission on the code cache has failed
> > > > >Exit to error: DRC64:Unhandled memory reference
> > > > 
> > > 
> > > I saw the W^X violation too and had to do this, but forgot to send the 
> > > diff.
> > > FWIW, OK tsg@ if someone wants to commit.
> > > 
> > 
> > Hey,
> > 
> > I noticed it too while playing Mortal Kombat 1 :)
> > 
> > Some other games (skiordi, stunts) don't crash.
> 
> Instead of blindly setting USE_WXNEEDED, I'd prefer if someone who has
> a case that triggers this can try disabling the various cpu core options
> in configure.

As Hiltjo mentioned, there are calls to mprotect asking for both write and
execute in ./src/cpu/core_dynrec/cache.h and ./src/cpu/core_dyn_x86/cache.h.

Compiling with '--disable-dynamic-core', I tested a few executables on i386
and amd64 without managing to trigger a violation. Didn't notice any performance
loss either. No need for wxneeded this way.

'--disable-dynrec' is not enough, as I got a violation on i386 using it.



Re: wxneeded for dosbox

2017-03-25 Thread Giannis Tsaraias
On Sat, Mar 25, 2017 at 03:24:26PM +0100, Benjamin Baier wrote:
> Patch to add wxneeded to dosbox. I got a application that otherwise
> crashes with the following dosbox error message.
> 
> >Setting excute permission on the code cache has failed
> >Exit to error: DRC64:Unhandled memory reference
> 

I saw the W^X violation too and had to do this, but forgot to send the diff.
FWIW, OK tsg@ if someone wants to commit.



CVS: cvs.openbsd.org: ports

2017-03-24 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2017/03/24 09:56:38

Modified files:
devel/p5-Modern-Perl: Makefile distinfo 

Log message:
Update to p5-Modern-Perl-1.20170117.

OK afresh1@, bluhm@



Re: NEW: sysutils/screenfetch

2017-03-24 Thread Giannis Tsaraias
On Thu, Mar 23, 2017 at 10:05:12PM -0600, Anthony J. Bentley wrote:
> Hi,
> 
> Attached is a very simple port for screenfetch.
> 
> screenfetch is a handy script that can be used to generate one of those
> nifty terminal theme information + ASCII distribution logos you see in
> everyone's screenshots nowadays.
> 
> ok?
> 
> -- 
> Anthony J. Bentley

FWIW, it looks good to me.



UPDATE: devel/p5-Modern-Perl to 1.20170117

2017-03-22 Thread Giannis Tsaraias
Hi,

Update to 1.20170117. Changed the license string to 'Perl', which is
what it uses. Passes test suite.

OK?

Changelog:

1.20170117 2017-01-16 20:37:12-08:00 America/Los_Angeles
 - cleaned up test suite
 - fixed Perl 5.25 failures (RT #114690)

1.20170116 2017-01-16 08:46:50-08:00 America/Los_Angeles
 - updated for 2017 release
 - maybe 2016 should have supported 5.22, but given how long I waited
   ... oops
 - improved documentation about reexporting (RT #109076)

1.20161229 2016-12-28 16:02:17-08:00 America/Los_Angeles
 - improved VERSION numbering (Gryphon Shafer, GH #5)

1.20161005 2016-10-05 09:38:21-07:00 America/Los_Angeles
 - updated for 2016 release (Gryphon Shafer)
 - added support for 5.24
Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Modern-Perl/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile20 Mar 2016 19:56:27 -  1.3
+++ Makefile22 Mar 2017 08:24:24 -
@@ -5,12 +5,12 @@ COMMENT = enable all of the features of
 MODULES =  cpan
 PKG_ARCH = *
 CPAN_AUTHOR =  CHROMATIC
-DISTNAME = Modern-Perl-1.20150127
+DISTNAME = Modern-Perl-1.20170117
 CATEGORIES =   devel
 
 MAINTAINER =   Edward 
 
-# The Artistic License 1.0
+# Perl
 PERMIT_PACKAGE_CDROM = Yes
 
 post-install:
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Modern-Perl/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo9 Apr 2015 01:52:39 -   1.2
+++ distinfo22 Mar 2017 08:24:24 -
@@ -1,2 +1,2 @@
-SHA256 (Modern-Perl-1.20150127.tar.gz) = 
lME+9oEQmIiL704hue4cGEeUXdovPDNwNbAP2l1mYkc=
-SIZE (Modern-Perl-1.20150127.tar.gz) = 13336
+SHA256 (Modern-Perl-1.20170117.tar.gz) = 
XfKoNGEWMhLbIrnDNTYGoaEjYWgg/lBnUEHDTwBLNig=
+SIZE (Modern-Perl-1.20170117.tar.gz) = 13867


UPDATE: sysutils/entr to 3.7

2017-03-21 Thread Giannis Tsaraias
Hi,

Update to 3.7. All unit tests pass.

OK? CC'ing maintainer/author.

Changelog:

- Terminate subprocess in restart mode if a file under watch disappears
- Allow NOTE_ATTRIB to set '/_' only if file mode changes
- New '-s' option executes commands using $SHELL -c
- Print usage and exit if input is from a terminal instead of a pipe
Index: Makefile
===
RCS file: /cvs/ports/sysutils/entr/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile23 Oct 2016 00:21:24 -  1.9
+++ Makefile22 Mar 2017 01:59:54 -
@@ -2,8 +2,8 @@
 
 COMMENT =  run arbitrary commands when files change
 
-DISTNAME = entr-3.6
-REV =  c15b0be493fc
+DISTNAME = entr-3.7
+REV =  c5b62bde107d
 
 CATEGORIES =   sysutils
 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/entr/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo23 Oct 2016 00:21:24 -  1.6
+++ distinfo22 Mar 2017 01:59:54 -
@@ -1,2 +1,2 @@
-SHA256 (entr-3.6.tar.gz) = pCdG2BxUjX5VfVAPk0IrjslzHXGTCesmAbi+aa4NyOs=
-SIZE (entr-3.6.tar.gz) = 22548
+SHA256 (entr-3.7.tar.gz) = lO/VDI9+nVaQYNXe6/Nmw1ZegegUqzMrlz1ymPqOoi8=
+SIZE (entr-3.7.tar.gz) = 23326


CVS: cvs.openbsd.org: ports

2017-03-19 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2017/03/19 12:20:00

Modified files:
net/ngircd : Makefile distinfo 

Log message:
Update to ngircd-24.

OK sthen@



UPDATE: net/ngircd to 24

2017-03-18 Thread Giannis Tsaraias
Hi,

This diff updates ngircd to 24. Passes all tests on amd64 and works
fine based on some light testing.

Comments? OK?

Changelog:
https://raw.githubusercontent.com/ngircd/ngircd/rel-24/ChangeLog
Index: Makefile
===
RCS file: /cvs/ports/net/ngircd/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile28 Apr 2016 13:35:46 -  1.14
+++ Makefile18 Mar 2017 13:23:43 -
@@ -2,7 +2,7 @@
 
 COMMENT =  lightweight irc server
 
-DISTNAME = ngircd-23
+DISTNAME = ngircd-24
 
 CATEGORIES =   net
 
Index: distinfo
===
RCS file: /cvs/ports/net/ngircd/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo28 Apr 2016 13:35:46 -  1.9
+++ distinfo18 Mar 2017 13:23:43 -
@@ -1,2 +1,2 @@
-SHA256 (ngircd-23.tar.gz) = mbi2epdamum4HJa97gITOhD1FccYgl00zty2Tx/JXnM=
-SIZE (ngircd-23.tar.gz) = 517686
+SHA256 (ngircd-24.tar.gz) = PgCn2lLIH8HgK7mWonv0PakFunA3v4xrs70TMh4Mhas=
+SIZE (ngircd-24.tar.gz) = 524968


CVS: cvs.openbsd.org: ports

2016-11-07 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2016/11/07 17:12:14

Modified files:
security/py-pbkdf2: Makefile 

Log message:
Be consistent and use my openbsd.org address in MAINTAINER, bump REVISION.

Thanks to jca@ for the reminder.



NEW: comms/dump1090

2016-09-09 Thread Giannis Tsaraias
Hello.

Recently got my hands on an RTL-SDR dongle and I've been using dump1090 to track
aircrafts flying nearby.

DESCR:
dump1090 is an ADS-B Mode S decoder specifically designed for RTLSDR devices.
Currently detected aircrafts can be displayed on the terminal or on Google Maps
using an embedded HTTP server. Raw data can be sent to and received from other
clients.

OK to import? Comments?


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


CVS: cvs.openbsd.org: ports

2016-04-28 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2016/04/28 07:35:47

Modified files:
net/ngircd : Makefile distinfo 
net/ngircd/pkg : PLIST 

Log message:
Update to ngircd-23.

OK sthen@



CVS: cvs.openbsd.org: ports

2016-04-28 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2016/04/28 07:29:04

Modified files:
infrastructure/lib/OpenBSD/PortGen: Utils.pm 

Log message:
Make use of FETCH_CMD if possible.

OK zhuk@



UPDATE: net/ngircd to 23

2016-04-28 Thread Giannis Tsaraias
Passes all tests on amd64. I added converters/libiconv in MODULES to silence 
portcheck.
I'm also taking maintainership as the current maintainer told me he's busy and 
would
appreciate it.

Tests/OKs?
Index: Makefile
===
RCS file: /cvs/ports/net/ngircd/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile9 Apr 2016 20:14:48 -   1.13
+++ Makefile28 Apr 2016 12:18:15 -
@@ -2,13 +2,13 @@
 
 COMMENT =  lightweight irc server
 
-DISTNAME = ngircd-22.1
+DISTNAME = ngircd-23
 
 CATEGORIES =   net
 
 HOMEPAGE = http://ngircd.barton.de/
 
-MAINTAINER =   Federico G. Schwindt <fg...@openbsd.org>
+MAINTAINER =   Giannis Tsaraias <t...@openbsd.org>
 
 # GPLv2
 PERMIT_PACKAGE_CDROM = Yes
@@ -18,7 +18,8 @@ WANTLIB = c crypto iconv ssl z
 MASTER_SITES = http://ngircd.barton.de/pub/ngircd/ \
http://ngircd.mirror.3rz.org/pub/ngircd/
 
-LIB_DEPENDS =  converters/libiconv
+MODULES =  converters/libiconv
+
 TEST_DEPENDS = lang/expect \
${BASE_PKGPATH}
 
Index: distinfo
===
RCS file: /cvs/ports/net/ngircd/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo28 Apr 2015 15:48:45 -  1.8
+++ distinfo28 Apr 2016 12:18:15 -
@@ -1,2 +1,2 @@
-SHA256 (ngircd-22.1.tar.gz) = F60I0EIMAKGAtx5yhNG2qNL28526x1b+EE9spZqcZvU=
-SIZE (ngircd-22.1.tar.gz) = 514141
+SHA256 (ngircd-23.tar.gz) = mbi2epdamum4HJa97gITOhD1FccYgl00zty2Tx/JXnM=
+SIZE (ngircd-23.tar.gz) = 517686
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/ngircd/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   3 Nov 2013 23:29:28 -   1.3
+++ pkg/PLIST   28 Apr 2016 12:18:15 -
@@ -13,7 +13,6 @@ share/doc/ngircd/ChangeLog
 share/doc/ngircd/Commands.txt
 share/doc/ngircd/Contributing.txt
 share/doc/ngircd/FAQ.txt
-share/doc/ngircd/GIT.txt
 share/doc/ngircd/HowToRelease.txt
 share/doc/ngircd/INSTALL
 share/doc/ngircd/Modes.txt


CVS: cvs.openbsd.org: ports

2016-04-27 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2016/04/27 03:58:35

Modified files:
infrastructure/lib/OpenBSD/PortGen: License.pm 

Log message:
Add another license string and remove outdated comment while I'm at it.

OK naddy@



CVS: cvs.openbsd.org: ports

2016-04-26 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2016/04/26 11:24:38

Modified files:
infrastructure/lib/OpenBSD/PortGen: Port.pm 

Log message:
Get rid of accidental RCS marker.

OK jasper@



CVS: cvs.openbsd.org: ports

2016-04-25 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2016/04/25 12:38:40

Modified files:
infrastructure/lib/OpenBSD/PortGen: Port.pm 
infrastructure/lib/OpenBSD/PortGen/Port: CPAN.pm 

Log message:
Set PKG_ARCH and WANTLIB for perl ports.

OK sthen@ zhuk@



Re: Where do we want PKG_ARCH in Makefile?

2016-03-25 Thread Giannis Tsaraias
On Mon, Mar 21, 2016 at 07:09:52PM +, Nigel Taylor wrote:
>
> Should portgen be updated?
> 
> Perl ports should have normally a PKG_ARCH = * added to the Makefile.
> When perl uses C or other languages PKG_ARCH = * should not be present,
> a WANTLIB += perl should.
> 
> To find which either read MANIFEST if files listed end in .xs excluding
> those under t/ xt/ inc/ or search for files using find
> 
> $ find `make show=WRKSRC`/!(inc|t|xt) -name "*.xs"
> /usr/ports/pobj/p5-Cpanel-JSON-XS-3.0213/Cpanel-JSON-XS-3.0213/XS.xs
> 
> So this port should not have PKG_ARCH = *
> needs a WANTLIB += perl in the Makefile, as a .xs file is present.
> 
>

This diff syncs portgen with the recent changes in perl ports. OK?
Index: Port.pm
===
RCS file: /cvs/ports/infrastructure/lib/OpenBSD/PortGen/Port.pm,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Port.pm
--- Port.pm 18 Jan 2016 18:08:19 -  1.1.1.1
+++ Port.pm 25 Mar 2016 22:54:38 -
@@ -222,6 +222,7 @@ sub write_makefile
$other_stuff =~ s/^#//;
$other_stuff =~ s/(\?\?\?|$)/$value\n/;
 
+   # handle cases where replacing '???' isn't enough
if ( $other_stuff =~ /^PERMIT_PACKAGE_CDROM/ ) {
$output .= "# $self->{license}\n";
} elsif ( $other_stuff =~ /_DEPENDS/ ) {
@@ -229,6 +230,8 @@ sub write_makefile
} elsif ( $other_stuff =~ /^COMMENT/ ) {
$output .= "# original: $self->{full_comment}\n"
if $self->{full_comment};
+   } elsif ( $other_stuff =~ /^WANTLIB/ ) {
+   $other_stuff =~ s/=/+=/;
}
 
$output .= $other_stuff;
Index: Port/CPAN.pm
===
RCS file: /cvs/ports/infrastructure/lib/OpenBSD/PortGen/Port/CPAN.pm,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 CPAN.pm
--- Port/CPAN.pm18 Jan 2016 18:08:20 -  1.1.1.1
+++ Port/CPAN.pm25 Mar 2016 22:54:38 -
@@ -205,6 +205,13 @@ sub postextract
 
$self->set_descr( $self->read_descr($wrksrc) || $di->{abstract} );
$self->_find_hidden_test_deps($wrksrc);
+
+   if ( $self->_uses_xs($wrksrc) ) {
+   $self->set_other( 'WANTLIB', 'perl' );
+   }
+   else {
+   $self->set_other( 'PKG_ARCH', '*' );
+   }
 }
 
 sub try_building
@@ -266,6 +273,22 @@ sub _test_skips
return;
}
}
+}
+
+sub _uses_xs
+{
+   my ( $self, $dir ) = @_;
+   my $found_xs = 0;
+
+   find( sub {
+   if ( -d && /^(inc|t|xt)$/ ) {
+   $File::Find::prune = 1;
+   return;
+   }
+   $found_xs = 1 if -f && /\.xs$/;
+   }, $dir );
+
+   return $found_xs;
 }
 
 1;


CVS: cvs.openbsd.org: ports

2016-01-18 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2016/01/18 11:08:20

Log message:
Import portgen.

OK many

Status:

Vendor Tag: tsg
Release Tags:   tsg_2016-Jan-18

N ports/infrastructure/lib/OpenBSD/PortGen/Dependency.pm
N ports/infrastructure/lib/OpenBSD/PortGen/License.pm
N ports/infrastructure/lib/OpenBSD/PortGen/Port.pm
N ports/infrastructure/lib/OpenBSD/PortGen/Utils.pm
N ports/infrastructure/lib/OpenBSD/PortGen/Port/CPAN.pm
N ports/infrastructure/lib/OpenBSD/PortGen/Port/PyPI.pm
N ports/infrastructure/lib/OpenBSD/PortGen/Port/Ruby.pm

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2016-01-18 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2016/01/18 12:01:02

Added files:
infrastructure/man/man1: portgen.1 
infrastructure/bin: portgen 

Log message:
Import portgen.

OK many



CVS: cvs.openbsd.org: ports

2016-01-12 Thread Giannis Tsaraias
CVSROOT:/cvs
Module name:ports
Changes by: t...@cvs.openbsd.org2016/01/12 06:52:56

Modified files:
geo/openbsd-developers: Makefile 
geo/openbsd-developers/files: OpenBSD 

Log message:
Add myself.

OK ajacoutot@ landry@



Re: Importing pkg_module

2015-12-16 Thread Giannis Tsaraias
On Wed, Dec 16, 2015 at 11:19:13PM +0300, Vadim Zhukov wrote:
> 2015-12-16 23:12 GMT+03:00 Landry Breuil :
> > On Wed, Dec 16, 2015 at 10:33:33PM +0300, Vadim Zhukov wrote:
> >> (some history)
> >>
> >> During this summer the Jannis Tsaraias worked on the pkg_module, an
> >> automated port creation framework as a GSoC Project. The project
> >> succeeded, and Jannis stayed to maintain the code and accept patches
> >> from interested parties:
> >>
> >> https://github.com/diethyl/pkg_module
> >>
> >> (back to nowadays)
> >>
> >> A few months went, and we're still at the same place. pkg_module
> >> proved to work by a few people already, and should be a nice addition
> >> for 5.9. So I want to move on and finally import it. I'm attaching the
> >> archive to be extracted under /usr/ports/infrastructure. After that
> >> just type something like "pkg_module ruby dbf" and see how easy it
> >> goes. :)
> >>
> >> Personally I use it about once a month, saving a hour or two of manual
> >> work. In particular, I'm trying to reuse this code to make maintaining
> >> KDE Frameworks easier: doing things manually, I have to re-start
> >> porting a new version before finishing a previous one...
> >>
> >> Any comments/suggestions/objections/okays?
> >
> > That sounds like a really nice addition, the 'pkg_module' naming is a
> > bit weird but whatever..
> >
> > You could have mentioned that (as far i can gather from quickly looking
> > at the code) it supports Ruby (forge? gems?), PyPI and CPAN as sources...
> > And that it generates a _port_ (which means to keep local or to submit
> > for import in cvs?), not a package - hence the confusing naming :)
> 

PyPI.pm is currently a placeholder; I had some pieces of it working, but
thought I'd keep it out of the repo until its coverage gets closer to that
of CPAN or Ruby Gems.

> Yep. I'm biased since I (as well as afresh1@) was involved in the
> project as a mentor, and thus I missed those - meaningful! - points.
> Thank you for pointing them out!
> 
> > But all this can be gathered from the manpage :)
> >
> > The only missing thing.. i dont see regress tests, nor a list of
> > ports/packages tested working/non-working with it, to get an idea of its
> > coverage of the corresponding 'native repositories'...
> 
> The list of "successfully tested on" is rather large, thus it was
> dropped at some point in the past. :) And the SPECIALS file in repo
> lists known items having problems (i.e., requiring manual porting
> instead).
> 

That file could use some updates, which I've been meaning to do. One issue
worth mentioning is that currently there's no handling of modules that install
shared libraries, though I've recently started working on that.

I also have some useful feedback about CPAN by nigel@ that I haven't addressed 
yet.

Seeing that there's interest, I could resume working on this more actively. :)



Re: [NEW]devel/p5-Test-File-ShareDir

2015-09-23 Thread Giannis Tsaraias
On Wed, Sep 23, 2015 at 09:56:43AM +0200, Vincent Gross wrote:
> Hi,
> 
> This is a port for Test::File::ShareDir from CPAN, which is needed
> to run regression tests on latest versions of Mail::DMARC.
> 
> ok ?
> 

There are minimum version requirements for these two:

devel/p5-File-ShareDir>=1.0
devel/p5-Path-Tiny>=0.018



Re: [NEW] devel/p5-Type-Tiny

2015-09-04 Thread Giannis Tsaraias
On Fri, Sep 04, 2015 at 01:09:14PM -0500, attila wrote:
> Attached is a new port, devel/p5-Type-Tiny.
> 
> $ cat pkg/DESCR
> Type::Tiny is a tiny class for creating Moose-like type constraint
> objects which are compatible with Moo, Moose and Mouse.
> 
> Passes tests for me on i386.
> 
> Comments, feedback most welcome.
> 

I'll take a closer look once I get some sleep, but there seems to be
a RUN_DEP (devel/p5-Exporter-Tiny) and some TEST_DEPS missing.

BTW, you can use pkg_module [0] to automatically port CPAN modules.
Manual tweaking is required in some cases, but the resulting ports
are usually good to go.

[0] https://github.com/diethyl/pkg_module



Re: WIP: security/py-cryptography (cryptography.io) - dep ports needed!

2015-05-20 Thread Giannis Tsaraias
On Wed, May 20, 2015 at 10:51:28AM +0100, Stuart Henderson wrote:
 There is a nice looking crypto library for python, https://cryptography.io/
 
   cryptography is a Python library which exposes cryptographic recipes and
   primitives, with the goal of it being a cryptographic standard library.
   It aims to address various problems seen with other Python cryptography
   libraries, including lack of PyPy and Python 3 support, lack of maintenance.
   use of poor implementations of algorithms, lack of high-level APIs, absence
   of important algorithms, error prone APIs and bad defaults.
 
 I have started a port, it is needed for some updates and it would be good
 to have anyway, but it needs some additional python ports -
 
 included here:
   cryptography-vectors
   iso8601
 
 not yet:
   idna
   ipaddress
   pretend
 
 If anyone has ports of these not yet ones lying around on disk, or has time
 to look at writing a port for any of them it would be appreciated!
 

Attached are py-idna, py-ipaddress and py-pretend.

py-idna doesn't uninstall cleanly when using the python3 flavor; will
look into it again later.

-- yannis


py-idna.tar.gz
Description: application/tar-gz


py-ipaddress.tar.gz
Description: application/tar-gz


py-pretend.tar.gz
Description: application/tar-gz


Re: NEW: devel/hs-file-embed

2015-05-08 Thread Giannis Tsaraias
On Fri, May 08, 2015 at 11:12:23PM +0200, Matthias Kilian wrote:
 Hi,
 
 On Fri, May 08, 2015 at 02:12:31AM +0300, Giannis Tsaraias wrote:
  DESCR:
  
  Use Template Haskell to read a file or all the files in a directory, and 
  turn
  them into (path, bytestring) pairs embedded in your haskell code.
 
 Will this be a prerequisite for any other port?

The plan was to eventually port Yesod; yesod-bin depends on file-embed.
I thought I'd start with a simple dependency, as I'm familiarizing myself
with the hs- module ecosystem.

 
 Actually, I'd like to reduce the number of hs-libraries in our tree
 to only those required by haskell-platform for by applications that
 depend on them (like darcs, hpodder, xmonad etc.).

Makes sense now that I've given the situation a closer look. There's
always cabal-install.

-- yannis



NEW: devel/hs-file-embed

2015-05-07 Thread Giannis Tsaraias
DESCR:

Use Template Haskell to read a file or all the files in a directory, and turn
them into (path, bytestring) pairs embedded in your haskell code.

OK?

-- yannis


hs-file-embed.tar.gz
Description: application/tar-gz


Re: NEW: security/py-pbkdf2

2015-05-04 Thread Giannis Tsaraias
On Sat, May 02, 2015 at 07:28:42PM +0300, Giannis Tsaraias wrote:
 DESCR:
 
 This Python module implements the password-based key derivation
 function, PBKDF2, specified in RSA PKCS#5 v2.0.
 
 Comments?
 
 -- yannis

Changed a few things using feedback from zhuk@.

OK?

-- yannis


py-pbkdf2.tar.gz
Description: application/tar-gz


NEW: security/py-pbkdf2

2015-05-02 Thread Giannis Tsaraias
DESCR:

This Python module implements the password-based key derivation
function, PBKDF2, specified in RSA PKCS#5 v2.0.

Comments?

-- yannis


py-pbkdf2.tar.gz
Description: application/tar-gz


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



UPDATE: p5-Path-Tiny 0.068

2015-04-28 Thread Giannis Tsaraias
Update p5-Path-Tiny from 0.061 to 0.068.

-- yannis
Index: p5-Path-Tiny/Makefile
===
RCS file: /cvs/ports/devel/p5-Path-Tiny/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- p5-Path-Tiny/Makefile   10 Dec 2014 08:05:05 -  1.2
+++ p5-Path-Tiny/Makefile   28 Apr 2015 11:31:22 -
@@ -2,7 +2,7 @@
 
 COMMENT =  file path utility
 
-DISTNAME = Path-Tiny-0.061
+DISTNAME = Path-Tiny-0.068
 CATEGORIES =   devel
 
 # Apachev2
Index: p5-Path-Tiny/distinfo
===
RCS file: /cvs/ports/devel/p5-Path-Tiny/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- p5-Path-Tiny/distinfo   10 Dec 2014 08:05:05 -  1.2
+++ p5-Path-Tiny/distinfo   28 Apr 2015 11:31:22 -
@@ -1,2 +1,2 @@
-SHA256 (Path-Tiny-0.061.tar.gz) = 6CkKrIwGI+6hsgtKnZob4I239akupRpRRneWTz+gHMo=
-SIZE (Path-Tiny-0.061.tar.gz) = 71937
+SHA256 (Path-Tiny-0.068.tar.gz) = ozH72FWmIWh3xkPEyuS/ft/ffhPNgULSyy0S6v3rruA=
+SIZE (Path-Tiny-0.068.tar.gz) = 79290