openldap-server-2.4.23p1 does not starts up via /etc/rc.d/slapd

2011-02-27 Thread Igor Zinovik
Hello, ports@ readers.

I have problem with starting openldap-server-2.4.23p1.

I've setup /etc/openldap/slapd.conf and I can run slapd via command line
by doing:

$ sudo /usr/local/libexec/slapd -4d 2
@(#) $OpenLDAP: slapd 2.4.23 (Feb 16 2011 15:45:39) $

@i386.ports.openbsd.org:/usr/obj/i386/openldap-2.4.23/build-i386/servers/slapd
bdb_monitor_db_open: monitoring disabled; configure monitor database to enable
slapd starting

But if I run
$ sudo /etc/rc.d/slapd start

I do not see running slapd instance among my processes.  Are there
someone who also faced this problem?

I'm running OpenBSD-current i386.



Re: openldap-server-2.4.23p1 does not starts up via /etc/rc.d/slapd

2011-02-27 Thread Igor Zinovik
On Feb 27, Antoine Jacoutot wrote: 
> How are you running current? Is that a new installation or an upgrade? 
> If you upgraded, did you use sysmerge(8)? root's dot.profile needs to be 
> up to date.

I updated sources, compiled new kernel, installed it, compiled new
userland and installed it.  After that I launched sysmerge -b.  Thats
all.



Re: openldap-server-2.4.23p1 does not starts up via /etc/rc.d/slapd

2011-02-28 Thread Igor Zinovik
On Feb 27, Stuart Henderson wrote: 
> With sysmerge -b you have to merge the files manually,
> did you do that (and, if you did that, did you miss merging
> any files?)
> 
> In the first few months of /etc/rc.d, things evolved as
> new requirements were identified. If you still have an
> older rc.subr file, you are likely to have some problems.

Sorry for the noise guys, my rc.subr is in sync.  Total PEBKAC.  I
missed following thing:

# mkdir -p /var/run/openldap
# chown -R _openldap:wheel /var/run/openldap
# mkdir -p /var/openldap-data
# chown -R _openldap:_openldap /var/openldap-data

After this slapd started via /etc/rc.d/slapd

I do not know why directories was not created during package
intallation.  There was no message after installation of openldap-server
and there is no readme for it that mentions that thing.



[update] devel/cppcheck 1.47

2011-03-12 Thread Igor Zinovik
Hello.

This diff brings cppcheck to latest available version 1.47.

Runs fine on i386.

Index: Makefile
===
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.5
diff -U 3 -p -r1.5 Makefile
--- Makefile30 Dec 2010 09:12:01 -  1.5
+++ Makefile6 Feb 2011 15:16:33 -
@@ -2,7 +2,7 @@
 
 COMMENT =  C/C++ static checker
 
-DISTNAME = cppcheck-1.46.1
+DISTNAME = cppcheck-1.47
 
 CATEGORIES =   devel
 
@@ -16,15 +16,18 @@ PERMIT_PACKAGE_FTP =Yes
 PERMIT_DISTFILES_CDROM = Yes
 PERMIT_DISTFILES_FTP = Yes
 
-WANTLIB =  c m stdc++
+WANTLIB =  c m pcre stdc++ 
 
 BUILD_DEPENDS =textproc/docbook-xsl \
textproc/libxslt
 
+LIB_DEPENDS =  devel/pcre
+
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
 
 ALL_TARGET =   cppcheck
-MAKE_FLAGS =   BIN=${PREFIX}/bin CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+MAKE_FLAGS =   BIN=${PREFIX}/bin CXX="${CXX}" \
+   CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include 
-L${PREFIX}/lib"
 
 USE_GMAKE =Yes
 
Index: distinfo
===
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.3
diff -U 3 -p -r1.3 distinfo
--- distinfo30 Dec 2010 09:12:01 -  1.3
+++ distinfo6 Feb 2011 15:16:33 -
@@ -1,5 +1,5 @@
-MD5 (cppcheck-1.46.1.tar.gz) = gHPrXdnbYRBKwHgtLqzjMg==
-RMD160 (cppcheck-1.46.1.tar.gz) = yqy489WqF8JsJv70Yh/yPhFCyfQ=
-SHA1 (cppcheck-1.46.1.tar.gz) = d7/JTbytJ0WMu2dEceS4zwrql48=
-SHA256 (cppcheck-1.46.1.tar.gz) = VHdGng/86CTKyPOle6fWXMfXwz+nDX2fRzew/y6eUCw=
-SIZE (cppcheck-1.46.1.tar.gz) = 860765
+MD5 (cppcheck-1.47.tar.gz) = 52er7RPUJOX4ysU8Bq1C1g==
+RMD160 (cppcheck-1.47.tar.gz) = cxc5uoF8sWkxQgT6j9KfJoneYTY=
+SHA1 (cppcheck-1.47.tar.gz) = dvx2t8bmXWMFgzf4KMWSsWwDlSo=
+SHA256 (cppcheck-1.47.tar.gz) = 3njfSVLgIG3ENz0GSXrrQWJM9to+l5wZOp18SSDxQ+8=
+SIZE (cppcheck-1.47.tar.gz) = 1005795



[update] sysutils/fdupes does not honor ${CC} during build

2011-03-14 Thread Igor Zinovik
Hello, ports@ readers.

Following diff changes these things:
- honor ${CC} environmental varaible during build
- add extra space in front of `='
- bump REVISION

Index: Makefile
===
RCS file: /cvs/ports/sysutils/fdupes/Makefile,v
retrieving revision 1.6
diff -U 3 -p -r1.6 Makefile
--- Makefile20 Nov 2010 17:22:40 -  1.6
+++ Makefile5 Mar 2011 19:27:09 -
@@ -1,26 +1,27 @@
 # $OpenBSD: Makefile,v 1.6 2010/11/20 17:22:40 espie Exp $
 
-COMMENT=   identify or delete duplicates
+COMMENT =  identify or delete duplicates
 
-DISTNAME=  fdupes-1.40
-REVISION = 2
-CATEGORIES=sysutils
+DISTNAME = fdupes-1.40
+REVISION = 3
+CATEGORIES =   sysutils
 
-HOMEPAGE=  http://netdial.caribe.net/~adrian2/fdupes.html
-MASTER_SITES=  ${HOMEPAGE:fdupes.html=programs/}
+HOMEPAGE = http://netdial.caribe.net/~adrian2/fdupes.html
+MASTER_SITES = ${HOMEPAGE:fdupes.html=programs/}
 
 # BSD
-PERMIT_PACKAGE_CDROM=  Yes
-PERMIT_PACKAGE_FTP=Yes
-PERMIT_DISTFILES_CDROM=Yes
-PERMIT_DISTFILES_FTP=  Yes
+PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_FTP =   Yes
+PERMIT_DISTFILES_CDROM = Yes
+PERMIT_DISTFILES_FTP = Yes
 
-WANTLIB=   c
+WANTLIB =  c
 
 USE_GROFF =Yes
-NO_REGRESS=Yes
+NO_REGRESS =   Yes
+MAKE_FLAGS =   CC=${CC}
 
-ALL_TARGET=
+ALL_TARGET =
 
 do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fdupes ${PREFIX}/bin/



[new] www/p5-Mojolicious

2011-03-16 Thread Igor Zinovik
Hello, ports@ readers.

Here is a port for Mojolicious framework.  Mojo is modern MVC web
development framework that depends only on Perl itself.

make regress runs fine on i386 at least.

`USE_GROFF = Yes' because -current mandoc see some formatting issues in
mojos man pages:
# pkg_info -L p5-Mojolicious-1.13 | egrep -e '\.[0-9]p?$' | xargs mandoc -Tlint 
-Werror
/usr/local/man/man3p/Mojolicious.3p:186:2: ERROR: skipping end of block that is 
not open
/usr/local/man/man3p/Mojolicious.3p:187:2: ERROR: macro requires body 
argument(s)
/usr/local/man/man3p/README.3p:152:2: ERROR: skipping end of block that is not 
open
/usr/local/man/man3p/README.3p:153:2: ERROR: macro requires body argument(s)

pkg/DESCR
Mojolicious is MVC web framework that supports following features:

* Full stack HTTP 1.1 and WebSocket client/server implementation with IPv6,
  TLS, Bonjour, IDNA, Comet (long polling), chunking and multipart support.
* Builtin async IO web server supporting epoll, kqueue, UNIX domain sockets
  and hot deployment, perfect for embedding.
* Automatic CGI, FastCGI and PSGI detection.
* JSON and XML/HTML5 parser with CSS3 selector support.
* Very clean, portable and Object Oriented pure Perl API without any hidden
  magic and no requirements besides Perl 5.8.7.


p5-Mojolicious.tar.gz
Description: application/tar-gz


Re: [new] www/p5-Mojolicious

2011-03-16 Thread Igor Zinovik
On Mar 16, Igor Zinovik wrote: 
>   Hello, ports@ readers.
> 
> Here is a port for Mojolicious framework.  Mojo is modern MVC web
> development framework that depends only on Perl itself.
> 
> make regress runs fine on i386 at least.
> 
> `USE_GROFF = Yes' because -current mandoc see some formatting issues in
> mojos man pages:
> # pkg_info -L p5-Mojolicious-1.13 | egrep -e '\.[0-9]p?$' | xargs mandoc 
> -Tlint -Werror
> /usr/local/man/man3p/Mojolicious.3p:186:2: ERROR: skipping end of block that 
> is not open
> /usr/local/man/man3p/Mojolicious.3p:187:2: ERROR: macro requires body 
> argument(s)
> /usr/local/man/man3p/README.3p:152:2: ERROR: skipping end of block that is 
> not open
> /usr/local/man/man3p/README.3p:153:2: ERROR: macro requires body argument(s)
> 
> pkg/DESCR
> Mojolicious is MVC web framework that supports following features:
> 
> * Full stack HTTP 1.1 and WebSocket client/server implementation with IPv6,
>   TLS, Bonjour, IDNA, Comet (long polling), chunking and multipart support.
> * Builtin async IO web server supporting epoll, kqueue, UNIX domain sockets
>   and hot deployment, perfect for embedding.
> * Automatic CGI, FastCGI and PSGI detection.
> * JSON and XML/HTML5 parser with CSS3 selector support.
> * Very clean, portable and Object Oriented pure Perl API without any hidden
>   magic and no requirements besides Perl 5.8.7.

Forgot to do `make update-plist' and attached wrong archive in previous
mail.  This letter contains update tarball.


p5-Mojolicious.tar.gz
Description: application/tar-gz


Re: [new] www/p5-Mojolicious

2011-03-16 Thread Igor Zinovik
On Mar 16, Landry Breuil wrote: 
> Port reads and installs good. You might want to fix the english though..
> 
> 'Mojolicious is a MVC web framework that supports the following features'
> 
> ok for me if anyone wants to import it..

I added missing article.  Here is tarball with updated pkg/DESCR.

BTW what we have to do with www/p5-Mojo?


p5-Mojolicious.tar.gz
Description: application/tar-gz


Re: [new] www/p5-Mojolicious

2011-03-16 Thread Igor Zinovik
On Mar 16, Landry Breuil wrote: 
> On Wed, Mar 16, 2011 at 08:20:02PM +0300, Igor Zinovik wrote:
> > On Mar 16, Landry Breuil wrote: 
> > > Port reads and installs good. You might want to fix the english though..
> > > 
> > > 'Mojolicious is a MVC web framework that supports the following features'
> > > 
> > > ok for me if anyone wants to import it..
> > 
> > I added missing article.  Here is tarball with updated pkg/DESCR.
> > 
> > BTW what we have to do with www/p5-Mojo?
> 
> Looking at the files, it looks like it's an update and it got renamed in
> the meantime... so keep the name p5-Mojo and update it here.

I hope i understand you right (not native english speaker as you may
notice).

Index: Makefile
===
RCS file: /cvs/ports/www/p5-Mojo/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile3 Dec 2010 11:46:53 -   1.6
+++ Makefile16 Mar 2011 19:59:58 -
@@ -1,23 +1,25 @@
-# $OpenBSD: Makefile,v 1.6 2010/12/03 11:46:53 ajacoutot Exp $
+# $OpenBSD$
 
-COMMENT =  framework for web frameworks
+COMMENT =  perl MVC framework for web development
 
 MODULES =  cpan
-DISTNAME = Mojo-0.991237
-REVISION = 0
+DISTNAME = Mojolicious-1.13
 CATEGORIES =   www
-USE_GROFF =Yes
 
-MAINTAINER =   Simon Bertrang 
+# Artistic 2.0
+PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_FTP =   Yes
+PERMIT_DISTFILES_CDROM = Yes
+PERMIT_DISTFILES_FTP = Yes
 
-# Perl
-PERMIT_PACKAGE_CDROM = Yes
-PERMIT_PACKAGE_FTP =   Yes
-PERMIT_DISTFILES_CDROM =   Yes
-PERMIT_DISTFILES_FTP = Yes
 
-CPAN_AUTHOR =  SRI
+MASTER_SITES = http://search.cpan.org/CPAN/authors/id/K/KR/KRAIH/
 
-MAKE_ENV +=TEST_POD=1
+USE_GROFF = Yes
+
+CONFIGURE_STYLE = perl
+
+MAKE_ENV +=APACHE_TEST_HTTPD=/usr/sbin/httpd \
+   TEST_POD=1
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/www/p5-Mojo/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo16 Jul 2009 16:11:14 -  1.4
+++ distinfo16 Mar 2011 19:59:58 -
@@ -1,5 +1,5 @@
-MD5 (Mojo-0.991237.tar.gz) = zXTkH5afdxmIFLVZNmLFcQ==
-RMD160 (Mojo-0.991237.tar.gz) = fOmXCFIyZCSVdZ5zsp1LabWXItQ=
-SHA1 (Mojo-0.991237.tar.gz) = KHurKPrqI7nIv6EuPdubpfec+Ns=
-SHA256 (Mojo-0.991237.tar.gz) = TzCA9rLcwTpMVnG5ldH9/kJ9LuwhSOqEB2fGYiKBRSI=
-SIZE (Mojo-0.991237.tar.gz) = 302742
+MD5 (Mojolicious-1.13.tar.gz) = TeExWvCb8pnQHmawhahx3A==
+RMD160 (Mojolicious-1.13.tar.gz) = +NoDyib2F8JGzP/UtIL1XkJ8ZGA=
+SHA1 (Mojolicious-1.13.tar.gz) = ceWq7gvZqXbFW0GhqGXqFHX7kUw=
+SHA256 (Mojolicious-1.13.tar.gz) = zv0X+BgpNiVLJrUipjJo+To4z8rALswQQ52/zU5/xl0=
+SIZE (Mojolicious-1.13.tar.gz) = 463154
Index: pkg/DESCR
===
RCS file: /cvs/ports/www/p5-Mojo/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   12 Nov 2008 17:23:04 -  1.1.1.1
+++ pkg/DESCR   16 Mar 2011 19:59:58 -
@@ -1,4 +1,10 @@
-Mojo is a collection of libraries and example web frameworks for web
-framework developers.
-If you are searching for a higher level MVC web framework you should
-take a look at Mojolicious, also coming with this module.
+Mojolicious is a MVC web framework that supports following features:
+
+* Full stack HTTP 1.1 and WebSocket client/server implementation with IPv6,
+  TLS, Bonjour, IDNA, Comet (long polling), chunking and multipart support.
+* Builtin async IO web server supporting epoll, kqueue, UNIX domain sockets
+  and hot deployment, perfect for embedding.
+* Automatic CGI, FastCGI and PSGI detection.
+* JSON and XML/HTML5 parser with CSS3 selector support.
+* Very clean, portable and Object Oriented pure Perl API without any hidden
+  magic and no requirements besides Perl 5.8.7.
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/p5-Mojo/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   16 Jul 2009 16:11:14 -  1.3
+++ pkg/PLIST   16 Mar 2011 19:59:58 -
@@ -1,181 +1,213 @@
-@comment $OpenBSD: PLIST,v 1.3 2009/07/16 16:11:14 pyr Exp $
+@comment $OpenBSD$
+bin/hypnotoad
 bin/mojo
-bin/mojolicious
 ${P5SITE}/Mojo/
 ${P5SITE}/Mojo.pm
+${P5SITE}/Mojo/Asset/
+${P5SITE}/Mojo/Asset.pm
+${P5SITE}/Mojo/Asset/File.pm
+${P5SITE}/Mojo/Asset/Memory.pm
 ${P5SITE}/Mojo/Base.pm
-${P5SITE}/Mojo/Buffer.pm
 ${P5SITE}/Mojo/ByteStream.pm
+${P5SITE}/Mojo/Cache.pm
 ${P5SITE}/Mojo/Client.pm
+${P5SITE}/Mojo/Command.pm
 ${P5SITE}/Mojo/Content/
 ${P5SITE}/Mojo/Content.pm
 ${P5SITE}/Mojo/Content/MultiPart.pm
+${P5SITE}/Mojo/Content/Single.pm
 ${P5SITE}/Mojo/Cookie/
 ${P5SITE}/Mojo/Cookie.pm
 ${P5SITE}/Mojo/Cookie/Request.pm
 ${P5SITE}/Mojo/Cookie/Response.pm
+${P5SITE}/Mojo/CookieJar.pm
+${P5SITE}/

[new] net/p5-Net-NBName

2011-03-21 Thread Igor Zinovik
Hello.

Here is a port that I made some time ago it incorporates feedback from
Giovanni Bechis.  -current mandoc renders all man pages fine.


pkg/DESCR:
Net::NBName is a class that allows you to perform simple NetBIOS Name
Service Requests in your Perl code. It performs these NetBIOS operations
over TCP/IP using Perl's built-in socket support.

Currently two NBNS requests are implemented: the node status request and
the name query request.


p5-Net-NBName.tar.gz
Description: application/tar-gz


Re: NEW: www/p5-MasonX-Request-WithApacheSession

2011-03-22 Thread Igor Zinovik
On Jan 10, Igor Zinovik wrote: 
> On Jan 07, Igor Zinovik wrote: 
> > Hello.
> > 
> > pkg/DESCR
> > This module integrates Apache::Session into Mason by adding methods to
> > the Mason Request object available in all Mason components.
> > 
> > Any subrequests created by a request share the same session.
> 
> Return `USE_GROFF = Yes' to workaround mandoc(1) reported errors:
> # pkg_info -L p5-MasonX-Request-WithApacheSession-0.31|grep man3|xargs mandoc 
> -Tlint -Werror
> /usr/local/man/man3p/MasonX::Request::WithApacheSession.3p:123:1: ERROR: NOT 
> IMPLEMENTED: skipping request: rm
> /usr/local/man/man3p/MasonX::Request::WithMultiSession.3p:123:1: ERROR: NOT 
> IMPLEMENTED: skipping request: rm
> 
> Nevertheless manpages are rendered correctly.

With -current mandoc does not detects any error in man pages and they
are rendered correctly.  So this version of port comes without USE_GROFF


p5-MasonX-Request-WithApacheSession.tar.gz
Description: application/tar-gz


[new] databases/p5-DBIx-Simple

2011-03-26 Thread Igor Zinovik
Hello.

Here is a port for Perl module DBIx::Simple:

DBIx::Simple provides a simplified interface to DBI, Perl's powerful
database module.

This module is aimed at rapid development and easy maintenance. Query
preparation and execution are combined in a single method, the result
object (which is a wrapper around the statement handle) provides easy
row-by-row and slurping methods.


Regression tests run fine on i386.  Man page looks correctly rendered
with mandoc.

It seems to that i have grammar mistake in COMMENT.  What is correct
'object-orient' or 'object-oriented'?


p5-DBIx-Simple.tar.gz
Description: application/tar-gz


update: cppcheck-1.48

2011-04-13 Thread Igor Zinovik
Hello.

Following diff update cppcheck to version 1.48.  Works fine on i386.

Index: Makefile
===
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile12 Mar 2011 13:25:30 -  1.6
+++ Makefile12 Apr 2011 18:33:38 -
@@ -2,7 +2,7 @@
 
 COMMENT =  C/C++ static checker
 
-DISTNAME = cppcheck-1.47
+DISTNAME = cppcheck-1.48
 
 CATEGORIES =   devel
 
Index: distinfo
===
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo12 Mar 2011 13:25:30 -  1.4
+++ distinfo12 Apr 2011 18:33:38 -
@@ -1,5 +1,5 @@
-MD5 (cppcheck-1.47.tar.gz) = 52er7RPUJOX4ysU8Bq1C1g==
-RMD160 (cppcheck-1.47.tar.gz) = cxc5uoF8sWkxQgT6j9KfJoneYTY=
-SHA1 (cppcheck-1.47.tar.gz) = dvx2t8bmXWMFgzf4KMWSsWwDlSo=
-SHA256 (cppcheck-1.47.tar.gz) = 3njfSVLgIG3ENz0GSXrrQWJM9to+l5wZOp18SSDxQ+8=
-SIZE (cppcheck-1.47.tar.gz) = 1005795
+MD5 (cppcheck-1.48.tar.gz) = vQyyEuSEBnYhennavR4BnA==
+RMD160 (cppcheck-1.48.tar.gz) = aNAIQ1QHMqTeTuYjq9s4eY6n0u8=
+SHA1 (cppcheck-1.48.tar.gz) = YF97DL1fjTdZ2xR4kQmLcW99qxI=
+SHA256 (cppcheck-1.48.tar.gz) = hHInayqUhqrwI24uPFLEr7iQeFLN0X/Gka8C0is+ii4=
+SIZE (cppcheck-1.48.tar.gz) = 1062737



Re: `make plist' does not work

2008-04-22 Thread Igor Zinovik
On Апр 21  17:49, Stuart Henderson wrote: 

- check you have matching base system and ports trees, infrastructure
was changed recently


Today i updated to -current by doing cvs up -Pd in /usr/src and
/usr/ports, rebuilded GENERIC kernel and installed updated userland.
This does not helped.


- check you have all the /etc/sudoers env_keep lines merged in,
alternatively use "SUDO=sudo -E" in mk.conf and make sure your
user/group has SETENV: permission in sudoers.


I'm using following setup in sudoers:
%wheel  ALL=(ALL)   SETENV : NOPASSWD : ALL

Even running `make plist' as root does not helped.


- call the directory "mystuff" not "myports", the name is special-cased


I've changed directory name to 'mystuff', but this also does not helped.



Re: `make plist' does not work

2008-04-22 Thread Igor Zinovik
On Апр 21  17:49, Stuart Henderson wrote: 

- check you have all the /etc/sudoers env_keep lines merged in,
alternatively use "SUDO=sudo -E" in mk.conf and make sure your
user/group has SETENV: permission in sudoers.


By changing SUDO=sudo to SUDO=sudo -E solved my problem.  plist
successfully generated.



Re: [net port] www/free-sa

2008-04-28 Thread Igor Zinovik
On Апр 29  00:01, Igor Zinovik wrote: 

Hello.
I'm trying to port free-sa and i seem that i cannot solve problems by 
myself.


Igor Zinovik is an empty head.  I forgot a port archive.


free-sa.tar.gz
Description: application/compressed-tar


[new] x11/xxkb

2008-04-29 Thread Igor Zinovik

Hello.

Several people (Anton Karpov, Dmitri Alentich, Greg Steuck) in past time
tried to port xxkb to openbsd, but seems that nobody noticed their
effort.  So here is my try.

pkg/DESCR

Keyboard indicator and layout switcher for X Window.  It can hold
layout for each window separately and show small flag of country,
which language is in use.

Tested on i386 and works just fine.


xxkb.tar.gz
Description: application/compressed-tar


[new] net/climm

2008-05-02 Thread Igor Zinovik

Hello.

climm is a CLI-based Multi-Messenger.  It is based on micq.  Tested on
i386 machine.


climm.tar.gz
Description: application/compressed-tar


[new] sysutils/stan

2008-05-02 Thread Igor Zinovik

Hello.

pkg/DESCR
Stan is a console application that analyzes binary streams and
calculates several useful statistical information from the observed
data.  It features statistical, pattern and bit analysis. Stan has been
designed as a "swiss-knife" for first steps in reverse engineering and
cryptographic analysis.

# uname -smrv
OpenBSD 4.3 GENERIC#1 i386
# stan /bsd
General statistics for the stream, bytes 6553113
Arithmetic mean:   101.909093  ~  0x65(e)
Median:101.00  ~  0x65(e)
Deviation:  84.768524  ~  0x54(T)
Chi-Square test:  64250854.330390
Entropy per byte:6.456446
Correlation co.: 0.330670

Pattern length 1, different 256, total 6553113, bytes
6553113, depth 20
- Pattern range
0x00( ): 0x00123805 - 0xff(Ъ): 0x000535fd
   - 10 most used patterns
 0x00( ): 0x00123805   0xff(Ъ): 0x000535fd   0x8b( ): 0x0003314d
  0x83( ): 0x00027e54   0x89( ): 0x00021c37   0xd0(п): 0x0001c11e
  0x01( ): 0x000177c0   0x85( ): 0x0001707a   0x08( ): 0x00015738
  0x74(t): 0x00014fcf

Pattern length 2, different 63825, total 6553112, bytes 6553113, depth 51
- Pattern range
  0x(  ): 0x000bcc9a - 0x(ЪЪ): 0x00022d8c
- 10 most used patterns
  0x(  ): 0x000bcc9a   0x(ЪЪ): 0x00022d8c   0x0100(  ): 0xeefc
  0x83c4( д): 0xca74   0x83ec( Л): 0xb916   0x008b(  ): 0x9518
  0xc410(д ): 0x91d4   0x0200(  ): 0x8b37   0xff83(Ъ ): 0x7873
  0x8b45( E): 0x74db



Re: [new] sysutils/stan

2008-05-02 Thread Igor Zinovik

Sorry, forgot an archive.


stan.tar.gz
Description: application/compressed-tar


pkg_create can not create package

2008-05-02 Thread Igor Zinovik

Hello.

I'm trying to build install irssi on my system (running -current) and i
get following:

[...]
===>  Building package for irssi-0.8.12p1
Create /usr/ports/packages/i386/all/irssi-0.8.12p1.tgz
/usr/sbin/pkg_create: Exactly one single package name is required:
glib2-docs-2.16.1.html -q -W glib-2.0.1600.0 -W gmodule-2.0.1600.0 -P
devel/glib2:glib2-*:glib2-2.16.1 -W intl.4.0 -P
devel/gettext:gettext->=0.10.38:gettext-0.16.1 -W iconv.4.0 -P
converters/libiconv:libiconv-*:libiconv-1.9.2p5 -W c.44.0 -W crypto.13.0
-W m.2.3 -W ncurses.10.0 -W perl.10.1 -W ssl.11.0 -W util.11.0 -W
pcre.2.1 -Dsocks=0 -DSHARED_LIBS=1 -DFLAVORS= -B
/usr/obj/ports/irssi-0.8.12p1/fake-i386 -DMACHINE_ARCH=i386 -DARCH=i386
-DHOMEPAGE=http://www.irssi.org/ -D^PREFIX=/usr/local -D^SYSCONFDIR=/etc
-DFLAVOR_EXT= -DMAINTAINER=Wiktor Izdebski <[EMAIL PROTECTED]>
-D^BASE_PKGPATH=net/irssi -DFULLPKGPATH=net/irssi
-DPERMIT_PACKAGE_CDROM=Yes -DPERMIT_PACKAGE_FTP=Yes -DCOMMENT=modular
IRC client with many features (ipv6,socks,proxy) -d
/usr/ports/net/irssi/pkg/DESCR -f /usr/ports/net/irssi/pkg/PLIST -p
/usr/local -Ai386 /usr/ports/packages/i386/all/irssi-0.8.12p1.tgz
Usage: pkg_create [-nQqv] [-A arches] [-B pkg-destdir] [-D name=value]
  [-i iscript] [-k dscript] [-L localbase] [-M displayfile]
  [-P pkg-dependency] [-p prefix] [-S pkg-destdir]
  [-U undisplayfile] [-W wantedlib] -c desc -d desc -f packinglist pkg-name



[new] graphics/optipng

2008-05-03 Thread Igor Zinovik

Hello.

pkg/DESCR
OptiPNG is a PNG optimizer that recompresses image files to a smaller
size, without losing any information. This program also converts
external formats (BMP, GIF, PNM and TIFF) to optimized PNG, and performs
PNG integrity checks and corrections.

Tested on i386.


optipng.tar.gz
Description: application/compressed-tar


Re: [new] graphics/optipng

2008-05-03 Thread Igor Zinovik
On Май 03  16:19, Simon Bertrang wrote: 

Hm, had that in my tree too already.  Slightly different though, see
attached tarballe.


Defenetly your work is much better.  I forgot dependency on libpng, math
lib and zlib.  You only do not install .html from ${WRKSRC}/doc.  Works
fine for me on i386 arch.

# import -window root desk.png
# du -h desk.png
124Kdesk.png
# optipng -q desk.png
# du -h desk.png
78.0K   desk.png



[new] devel/cppcheck

2010-09-22 Thread Igor Zinovik
Hello.

DESCR:
Cppcheck is an analysis tool for C/C++ code. Unlike C/C++ compilers and
many other analysis tools, we don't detect syntax errors. Cppcheck only
detects the types of bugs that the compilers normally fail to detect.
The goal is no false positives.

cppcheck has a GUI, but this version of port does not provides it.  It
needs qmake to build gui.  Right now i cannot test gui, so i made
version without gui.  Should I provide -gui flavor?

It also has a target in Makefile that is called `man', which is intended
to build cppcheck.1 man page, but it does not because `man' is name of
directory where cppcheck.1.xml (which is transformed into cppcheck.1
using xsltproc) is located, so make says only that: `man' is up to date
and does no build man page.  I build man page by calling
${PREFIX}/xsltproc in `post-build' target.  Maybe i should just patch
Makefile instead of doing this?

Works fine on i386.


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


Re: new: devel/clog

2010-09-24 Thread Igor Zinovik
On Sep 24, Chris Kuethe wrote: 
> Clog is a configurable logging library, supporting filtering and
> timestamping ... use it when you don't want to litter your code with
> 
> if (debug)
> fprintf(stderr, ...);
> else
> syslog(...);


Maybe it is better to remove patch and override PREFIX value during make
invocation?

--- devel/clog/Makefile Thu Sep 23 20:53:22 2010
+++ /usr/ports/mystuff//devel/clog/Makefile Fri Sep 24 20:52:07 2010
@@ -22,4 +22,6 @@
 
 NO_REGRESS =   Yes
 
+MAKE_FLAGS=PREFIX=${LOCALBASE}
+
 .include 



sysutils/stan update MAINTANER email

2010-10-31 Thread Igor Zinovik
Hello.

Update my email so that people can contact me.

Index: Makefile
===
RCS file: /cvs/ports/sysutils/stan/Makefile,v
retrieving revision 1.2
diff -U  3 -N -p Makefile
--- Makefile19 Oct 2010 07:43:02 -  1.2
+++ Makefile31 Oct 2010 21:04:37 -
@@ -8,7 +8,7 @@ CATEGORIES =sysutils
 
 HOMEPAGE = http://www.roqe.org/stan/
 
-MAINTAINER =   Igor Zinovik 
+MAINTAINER =   Igor Zinovik 
 
 # 4-clause BSD
 PERMIT_PACKAGE_CDROM = Yes
@@ -22,6 +22,6 @@ MASTER_SITES =${HOMEPAGE}
 
 CONFIGURE_STYLE =  gnu
 CONFIGURE_ENV +=   CFLAGS="${CFLAGS}"
-USE_GROFF =Yes
+USE_GROFF= Yes
 
 .include 



[update] devel/cppcheck

2010-10-31 Thread Igor Zinovik
Hello.

Update cppcheck to 1.45.  Runs fine on i386.  Also I grabbed description
from debian cppcheck package.

Index: Makefile
===
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.2
diff -U  3 -N -p Makefile
--- Makefile18 Oct 2010 17:47:51 -  1.2
+++ Makefile31 Oct 2010 21:01:24 -
@@ -2,7 +2,7 @@
 
 COMMENT=   C/C++ static checker
 
-DISTNAME=  cppcheck-1.44
+DISTNAME=  cppcheck-1.45
 
 CATEGORIES=devel
 
@@ -25,7 +25,9 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
 
 ALL_TARGET=cppcheck
 MAKE_FLAGS=BIN=${PREFIX}/bin CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
-USE_GROFF =Yes
+
+USE_GMAKE= Yes
+USE_GROFF= Yes
 
 NO_REGRESS=Yes
 
Index: distinfo
===
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.1.1.1
diff -U  3 -N -p distinfo
--- distinfo23 Sep 2010 09:34:51 -  1.1.1.1
+++ distinfo31 Oct 2010 21:01:24 -
@@ -1,5 +1,5 @@
-MD5 (cppcheck-1.44.tar.gz) = LB3e4pYjoPK1qTLvqiTIbQ==
-RMD160 (cppcheck-1.44.tar.gz) = 8ihQup/F0kgfgxPpml9dn6xFg5Y=
-SHA1 (cppcheck-1.44.tar.gz) = F/A29CJj41AkT8HQRuw3LuYAQHk=
-SHA256 (cppcheck-1.44.tar.gz) = 8OA2gDsnwKF7S9HMkNMnmr9u2Pkhxkjhp+qA30dR8Xw=
-SIZE (cppcheck-1.44.tar.gz) = 705243
+MD5 (cppcheck-1.45.tar.gz) = HSZh/CVwMxp8nEGIo1bW9w==
+RMD160 (cppcheck-1.45.tar.gz) = 3hosUlWC6c41TDscTSV3cn2TwzI=
+SHA1 (cppcheck-1.45.tar.gz) = P53HcfRKAbfQRl0Th1/NXYslx9I=
+SHA256 (cppcheck-1.45.tar.gz) = obCktxGyXP8t8Y1POs4dgfdGsLqlREW3AOenlMIxJMI=
+SIZE (cppcheck-1.45.tar.gz) = 799711
Index: pkg/DESCR
===
RCS file: /cvs/ports/devel/cppcheck/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -U  3 -N -p pkg/DESCR
--- pkg/DESCR   23 Sep 2010 09:34:51 -  1.1.1.1
+++ pkg/DESCR   31 Oct 2010 21:01:24 -
@@ -1,4 +1,32 @@
-Cppcheck is an analysis tool for C/C++ code. Unlike C/C++ compilers and
-many other analysis tools, we don't detect syntax errors. Cppcheck only
-detects the types of bugs that the compilers normally fail to detect.
-The goal is no false positives.
+Cppcheck is a command-line tool that tries to detect bugs that your
+C/C++ compiler doesn't see. It is versatile, and can check non-standard
+code including various compiler extensions, inline assembly code, etc.
+Its internal preprocessor can handle includes, macros, and several
+preprocessor commands. While Cppcheck is highly configurable, you can
+start using it just by giving it a path to the source code.
+
+It includes checks for:
+* pointers to out-of-scope auto variables;
+* assignment of auto variables to an effective parameter of a function;
+* out-of-bounds errors in arrays and STL;
+* missing class constructors;
+* variables not initialized by a constructor;
+* use of memset, memcpy, etcetera on a class;
+* non-virtual destructors for base classes;
+* operator= not returning a constant reference to itself;
+* use of deprecated functions (mktemp, gets, scanf);
+* exceptions thrown in destructors;
+* memory leaks in class or function variables;
+* C-style pointer cast in C++ code;
+* redundant if;
+* misuse of the strtol or sprintf functions;
+* unsigned division or division by zero;
+* unused functions and struct members;
+* passing parameters by value;
+* misuse of signed char variables;
+* unusual pointer arithmetic (such as "abc" + 'd');
+* dereferenced null pointers;
+* incomplete statements;
+* misuse of iterators when iterating through a container;
+* dereferencing of erased iterators;
+* use of invalidated vector iterators/pointers;
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/cppcheck/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -U  3 -N -p pkg/PLIST
--- pkg/PLIST   23 Sep 2010 09:34:51 -  1.1.1.1
+++ pkg/PLIST   31 Oct 2010 21:01:24 -
@@ -1,3 +1,3 @@
-...@comment $OpenBSD: PLIST,v 1.1.1.1 2010/09/23 09:34:51 jasper Exp $
+...@comment $OpenBSD$
 @bin bin/cppcheck
 @man man/man1/cppcheck.1



Re: sysutils/stan update MAINTANER email

2010-10-31 Thread Igor Zinovik
On Nov 01, Igor Zinovik wrote: 
>   Hello.
> 
> Update my email so that people can contact me.

Updated version.  Proper spacing.

Index: Makefile
===
RCS file: /cvs/ports/sysutils/stan/Makefile,v
retrieving revision 1.2
diff -U  3 -N -p Makefile
--- Makefile19 Oct 2010 07:43:02 -  1.2
+++ Makefile31 Oct 2010 21:23:48 -
@@ -8,12 +8,12 @@ CATEGORIES =  sysutils
 
 HOMEPAGE = http://www.roqe.org/stan/
 
-MAINTAINER =   Igor Zinovik 
+MAINTAINER =   Igor Zinovik 
 
 # 4-clause BSD
 PERMIT_PACKAGE_CDROM = Yes
 PERMIT_PACKAGE_FTP =   Yes
-PERMIT_DISTFILES_CDROM =Yes
+PERMIT_DISTFILES_CDROM = Yes
 PERMIT_DISTFILES_FTP = Yes
 
 WANTLIB =  c m
@@ -22,6 +22,6 @@ MASTER_SITES =${HOMEPAGE}
 
 CONFIGURE_STYLE =  gnu
 CONFIGURE_ENV +=   CFLAGS="${CFLAGS}"
-USE_GROFF =Yes
+USE_GROFF =Yes
 
 .include 



Re: [update] devel/cppcheck

2010-10-31 Thread Igor Zinovik
On Nov 01, Igor Zinovik wrote: 
>   Hello.
> 
> Update cppcheck to 1.45.  Runs fine on i386.  Also I grabbed description
> from debian cppcheck package.
> 

Updated version with proper spacing.

Index: Makefile
===
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.2
diff -U  3 -N -p Makefile
--- Makefile18 Oct 2010 17:47:51 -  1.2
+++ Makefile31 Oct 2010 21:21:47 -
@@ -1,33 +1,35 @@
 # $OpenBSD: Makefile,v 1.2 2010/10/18 17:47:51 espie Exp $
 
-COMMENT=   C/C++ static checker
+COMMENT =  C/C++ static checker
 
-DISTNAME=  cppcheck-1.44
+DISTNAME = cppcheck-1.45
 
-CATEGORIES=devel
+CATEGORIES =   devel
 
-HOMEPAGE=  http://cppcheck.sourceforge.net/
+HOMEPAGE = http://cppcheck.sourceforge.net/
 
-MAINTAINER=        Igor Zinovik 
+MAINTAINER =       Igor Zinovik 
 
 # GPLv3
-PERMIT_PACKAGE_CDROM=  Yes
-PERMIT_PACKAGE_FTP=Yes
-PERMIT_DISTFILES_CDROM= Yes
-PERMIT_DISTFILES_FTP=  Yes
+PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE_FTP =   Yes
+PERMIT_DISTFILES_CDROM = Yes
+PERMIT_DISTFILES_FTP = Yes
 
-WANTLIB=   c m stdc++
+WANTLIB =  c m stdc++
 
-BUILD_DEPENDS= ::textproc/docbook-xsl \
+BUILD_DEPENDS =::textproc/docbook-xsl \
::textproc/libxslt
 
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
+MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
 
-ALL_TARGET=cppcheck
-MAKE_FLAGS=BIN=${PREFIX}/bin CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
-USE_GROFF =Yes
+ALL_TARGET =   cppcheck
+MAKE_FLAGS =   BIN=${PREFIX}/bin CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
 
-NO_REGRESS=Yes
+USE_GMAKE =Yes
+USE_GROFF =Yes
+
+NO_REGRESS =   Yes
 
 post-build:
cd ${WRKSRC} && \
Index: distinfo
===
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.1.1.1
diff -U  3 -N -p distinfo
--- distinfo23 Sep 2010 09:34:51 -  1.1.1.1
+++ distinfo31 Oct 2010 21:21:47 -
@@ -1,5 +1,5 @@
-MD5 (cppcheck-1.44.tar.gz) = LB3e4pYjoPK1qTLvqiTIbQ==
-RMD160 (cppcheck-1.44.tar.gz) = 8ihQup/F0kgfgxPpml9dn6xFg5Y=
-SHA1 (cppcheck-1.44.tar.gz) = F/A29CJj41AkT8HQRuw3LuYAQHk=
-SHA256 (cppcheck-1.44.tar.gz) = 8OA2gDsnwKF7S9HMkNMnmr9u2Pkhxkjhp+qA30dR8Xw=
-SIZE (cppcheck-1.44.tar.gz) = 705243
+MD5 (cppcheck-1.45.tar.gz) = HSZh/CVwMxp8nEGIo1bW9w==
+RMD160 (cppcheck-1.45.tar.gz) = 3hosUlWC6c41TDscTSV3cn2TwzI=
+SHA1 (cppcheck-1.45.tar.gz) = P53HcfRKAbfQRl0Th1/NXYslx9I=
+SHA256 (cppcheck-1.45.tar.gz) = obCktxGyXP8t8Y1POs4dgfdGsLqlREW3AOenlMIxJMI=
+SIZE (cppcheck-1.45.tar.gz) = 799711
Index: pkg/DESCR
===
RCS file: /cvs/ports/devel/cppcheck/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -U  3 -N -p pkg/DESCR
--- pkg/DESCR   23 Sep 2010 09:34:51 -  1.1.1.1
+++ pkg/DESCR   31 Oct 2010 21:21:47 -
@@ -1,4 +1,32 @@
-Cppcheck is an analysis tool for C/C++ code. Unlike C/C++ compilers and
-many other analysis tools, we don't detect syntax errors. Cppcheck only
-detects the types of bugs that the compilers normally fail to detect.
-The goal is no false positives.
+Cppcheck is a command-line tool that tries to detect bugs that your
+C/C++ compiler doesn't see. It is versatile, and can check non-standard
+code including various compiler extensions, inline assembly code, etc.
+Its internal preprocessor can handle includes, macros, and several
+preprocessor commands. While Cppcheck is highly configurable, you can
+start using it just by giving it a path to the source code.
+
+It includes checks for:
+* pointers to out-of-scope auto variables;
+* assignment of auto variables to an effective parameter of a function;
+* out-of-bounds errors in arrays and STL;
+* missing class constructors;
+* variables not initialized by a constructor;
+* use of memset, memcpy, etcetera on a class;
+* non-virtual destructors for base classes;
+* operator= not returning a constant reference to itself;
+* use of deprecated functions (mktemp, gets, scanf);
+* exceptions thrown in destructors;
+* memory leaks in class or function variables;
+* C-style pointer cast in C++ code;
+* redundant if;
+* misuse of the strtol or sprintf functions;
+* unsigned division or division by zero;
+* unused functions and struct members;
+* passing parameters by value;
+* misuse of signed char variables;
+* unusual pointer arithmetic (such as "abc" + 'd');
+* dereferenced null pointers;
+* incomplete statements;
+* misuse of iterators when iterating through a container;
+* dereferencing of erased iterators;
+* use of invalidated vector iterators/pointers;
Index: pkg/PLIST
=

Re: sysutils/stan update MAINTANER email

2010-11-01 Thread Igor Zinovik
On Nov 01, Steven Mestdagh wrote: 
> Igor Zinovik [2010-11-01, 00:24:24]:
> > On Nov 01, Igor Zinovik wrote: 
> > >   Hello.
> > > 
> > > Update my email so that people can contact me.
> > 
> > Updated version.  Proper spacing.
> you need to bump REVISION if you change maintainer.

Update version with bumped REVISION.  Man page seems to be correctly
rendered with mandoc, so I removed USE_GROFF.

Index: Makefile
===
RCS file: /cvs/ports/sysutils/stan/Makefile,v
retrieving revision 1.2
diff -U  3 -N -p Makefile
--- Makefile19 Oct 2010 07:43:02 -  1.2
+++ Makefile1 Nov 2010 19:07:50 -
@@ -4,16 +4,18 @@ COMMENT = statistical analyzer for binary streams
 
 DISTNAME = stan-0.4.1
 
+REVISION = 0
+
 CATEGORIES =   sysutils
 
 HOMEPAGE = http://www.roqe.org/stan/
 
-MAINTAINER =       Igor Zinovik 
+MAINTAINER =   Igor Zinovik 
 
 # 4-clause BSD
 PERMIT_PACKAGE_CDROM = Yes
 PERMIT_PACKAGE_FTP =   Yes
-PERMIT_DISTFILES_CDROM =Yes
+PERMIT_DISTFILES_CDROM = Yes
 PERMIT_DISTFILES_FTP = Yes
 
 WANTLIB =  c m
@@ -22,6 +24,5 @@ MASTER_SITES =${HOMEPAGE}
 
 CONFIGURE_STYLE =  gnu
 CONFIGURE_ENV +=   CFLAGS="${CFLAGS}"
-USE_GROFF =Yes
 
 .include 



[update] cppcheck 1.46

2010-12-25 Thread Igor Zinovik
Hello.

update cppcheck to latest release 1.46.  Man page renders fine with
mandoc so i removed USE_GROFF.

Builds and works fine on i386. 

Index: Makefile
===
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.4
diff -U  3 -N -p Makefile
--- Makefile15 Nov 2010 19:45:57 -  1.4
+++ Makefile25 Dec 2010 15:51:50 -
@@ -2,7 +2,7 @@
 
 COMMENT =  C/C++ static checker
 
-DISTNAME = cppcheck-1.45
+DISTNAME = cppcheck-1.46
 
 CATEGORIES =   devel
 
@@ -27,7 +27,6 @@ ALL_TARGET =  cppcheck
 MAKE_FLAGS =   BIN=${PREFIX}/bin CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
 
 USE_GMAKE =Yes
-USE_GROFF =Yes
 
 NO_REGRESS =   Yes
 
Index: distinfo
===
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.2
diff -U  3 -N -p distinfo
--- distinfo3 Nov 2010 07:27:26 -   1.2
+++ distinfo25 Dec 2010 15:51:50 -
@@ -1,5 +1,5 @@
-MD5 (cppcheck-1.45.tar.gz) = HSZh/CVwMxp8nEGIo1bW9w==
-RMD160 (cppcheck-1.45.tar.gz) = 3hosUlWC6c41TDscTSV3cn2TwzI=
-SHA1 (cppcheck-1.45.tar.gz) = P53HcfRKAbfQRl0Th1/NXYslx9I=
-SHA256 (cppcheck-1.45.tar.gz) = obCktxGyXP8t8Y1POs4dgfdGsLqlREW3AOenlMIxJMI=
-SIZE (cppcheck-1.45.tar.gz) = 799711
+MD5 (cppcheck-1.46.tar.gz) = Yb5yEpjZdfWJ4rgrwDgUHA==
+RMD160 (cppcheck-1.46.tar.gz) = U6gGxGPhWBEllLauo6IRDxu35Js=
+SHA1 (cppcheck-1.46.tar.gz) = 6ooFwby7+z5O+LZldTYBOsdJuv0=
+SHA256 (cppcheck-1.46.tar.gz) = qLJKuU96byGl4Q5sI1b/oF/AV14TdJuAI4O9UqrFypA=
+SIZE (cppcheck-1.46.tar.gz) = 860583



Re: [update] cppcheck 1.46

2010-12-29 Thread Igor Zinovik
On Dec 26, Igor Zinovik wrote: 
>   Hello.
> 
> update cppcheck to latest release 1.46.  Man page renders fine with
> mandoc so i removed USE_GROFF.

Update cppcheck to 1.46.1  Works fine on i386.

Index: Makefile
===
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 Makefile
--- Makefile15 Nov 2010 19:45:57 -  1.4
+++ Makefile29 Dec 2010 20:51:48 -
@@ -2,7 +2,7 @@
 
 COMMENT =  C/C++ static checker
 
-DISTNAME = cppcheck-1.45
+DISTNAME = cppcheck-1.46.1
 
 CATEGORIES =   devel
 
@@ -27,7 +27,6 @@ ALL_TARGET =  cppcheck
 MAKE_FLAGS =   BIN=${PREFIX}/bin CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
 
 USE_GMAKE =Yes
-USE_GROFF =Yes
 
 NO_REGRESS =   Yes
 
Index: distinfo
===
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo3 Nov 2010 07:27:26 -   1.2
+++ distinfo29 Dec 2010 20:51:48 -
@@ -1,5 +1,5 @@
-MD5 (cppcheck-1.45.tar.gz) = HSZh/CVwMxp8nEGIo1bW9w==
-RMD160 (cppcheck-1.45.tar.gz) = 3hosUlWC6c41TDscTSV3cn2TwzI=
-SHA1 (cppcheck-1.45.tar.gz) = P53HcfRKAbfQRl0Th1/NXYslx9I=
-SHA256 (cppcheck-1.45.tar.gz) = obCktxGyXP8t8Y1POs4dgfdGsLqlREW3AOenlMIxJMI=
-SIZE (cppcheck-1.45.tar.gz) = 799711
+MD5 (cppcheck-1.46.1.tar.gz) = gHPrXdnbYRBKwHgtLqzjMg==
+RMD160 (cppcheck-1.46.1.tar.gz) = yqy489WqF8JsJv70Yh/yPhFCyfQ=
+SHA1 (cppcheck-1.46.1.tar.gz) = d7/JTbytJ0WMu2dEceS4zwrql48=
+SHA256 (cppcheck-1.46.1.tar.gz) = VHdGng/86CTKyPOle6fWXMfXwz+nDX2fRzew/y6eUCw=
+SIZE (cppcheck-1.46.1.tar.gz) = 860765



NEW: net/p5-Net-NBName

2011-01-05 Thread Igor Zinovik
  Hello, ports@ readers.

Man pages looks fine with -current mandoc (synced one minute ago) so i
do not use USE_GROFF clause.  Package provides several scripts that do
not have #!/usr/bin/perl as their first line, user have to understand
that they should be invoked like `perl /usr/local/bin/namequery.pl'.  So
i'm in doubt should i patch them or not...

pkg/DESCR
Net::NBName is a class that allows you to perform simple NetBIOS Name
Service Requests in your Perl code. It performs these NetBIOS operations
over TCP/IP using Perl's built-in socket support.

Currently two NBNS requests are implemented: the node status request and
the name query request.


p5-Net-NBName.tar.gz
Description: application/tar-gz


Re: NEW: net/p5-Net-NBName

2011-01-05 Thread Igor Zinovik
On Jan 05, Giovanni Bechis wrote: 
> > Man pages looks fine with -current mandoc (synced one minute ago) so i
> > do not use USE_GROFF clause.  Package provides several scripts that do
> > not have #!/usr/bin/perl as their first line, user have to understand
> > that they should be invoked like `perl /usr/local/bin/namequery.pl'.  So
> > i'm in doubt should i patch them or not...
> > 
> What about this one ?

Excellent work Giovanni, i've been sloppy while was reading Net-NBName
code and did not found that it depend on p5-Net-Netmask.  Perl scripts
works fine after your update.  Again all manpages looks good to me with
-current mandoc(1).



NEW: www/p5-Apache-Session-Wrapper

2011-01-06 Thread Igor Zinovik
Hello.

All regress tests are passed without failures.

pkg/DESCR
This module is a simple wrapper around Apache::Session which provides
some methods to simplify getting and setting the session id.

It can uses cookies to store the session id, or it can look in a
provided object for a specific parameter.  Alternately, you can simply
provide the session id yourself in the call to the "session()" method.


p5-Apache-Session-Wrapper.tar.gz
Description: application/tar-gz


NEW: www/p5-MasonX-Request-WithApacheSession

2011-01-06 Thread Igor Zinovik
Hello.

pkg/DESCR
This module integrates Apache::Session into Mason by adding methods to
the Mason Request object available in all Mason components.

Any subrequests created by a request share the same session.


p5-MasonX-Request-WithApacheSession.tar.gz
Description: application/tar-gz


Re: NEW: www/p5-MasonX-Request-WithApacheSession

2011-01-10 Thread Igor Zinovik
On Jan 07, Igor Zinovik wrote: 
>   Hello.
> 
> pkg/DESCR
> This module integrates Apache::Session into Mason by adding methods to
> the Mason Request object available in all Mason components.
> 
> Any subrequests created by a request share the same session.

Return `USE_GROFF = Yes' to workaround mandoc(1) reported errors:
# pkg_info -L p5-MasonX-Request-WithApacheSession-0.31|grep man3|xargs mandoc 
-Tlint -Werror
/usr/local/man/man3p/MasonX::Request::WithApacheSession.3p:123:1: ERROR: NOT 
IMPLEMENTED: skipping request: rm
/usr/local/man/man3p/MasonX::Request::WithMultiSession.3p:123:1: ERROR: NOT 
IMPLEMENTED: skipping request: rm

Nevertheless manpages are rendered correctly.


p5-MasonX-Request-WithApacheSession.tar.gz
Description: application/tar-gz


Re: NEW: net/p5-Net-NBName

2011-01-10 Thread Igor Zinovik
On Jan 05, Igor Zinovik wrote: 
> Excellent work Giovanni, i've been sloppy while was reading Net-NBName
> code and did not found that it depend on p5-Net-Netmask.  Perl scripts
> works fine after your update.  Again all manpages looks good to me with
> -current mandoc(1).

I have to stop playing asshole and dumbfuck and start to relearn things
from scratch...

All man pages looks fine, but mandoc(1) reports error when checking
manuals:
# pkg_info -L p5-Net-NBName-0.26|grep man3|xargs mandoc -Tlint -Werror
/usr/local/man/man3p/Net::NBName.3p:123:1: ERROR: NOT IMPLEMENTED: skipping 
request: rm
/usr/local/man/man3p/Net::NBName::NameQuery.3p:123:1: ERROR: NOT IMPLEMENTED: 
skipping request: rm
/usr/local/man/man3p/Net::NBName::NameQuery::RR.3p:123:1: ERROR: NOT 
IMPLEMENTED: skipping request: rm
/usr/local/man/man3p/Net::NBName::NodeStatus.3p:123:1: ERROR: NOT IMPLEMENTED: 
skipping request: rm
/usr/local/man/man3p/Net::NBName::NodeStatus::RR.3p:123:1: ERROR: NOT 
IMPLEMENTED: skipping request: rm

Put `USE_GROFF = Yes' back into Makefile.


p5-Net-NBName.tar.gz
Description: application/tar-gz


Re: NEW: www/p5-Apache-Session-Wrapper

2011-01-10 Thread Igor Zinovik
On Jan 07, Igor Zinovik wrote: 
>   Hello.
> 
> All regress tests are passed without failures.
> 
> pkg/DESCR
> This module is a simple wrapper around Apache::Session which provides
> some methods to simplify getting and setting the session id.
> 
> It can uses cookies to store the session id, or it can look in a
> provided object for a specific parameter.  Alternately, you can simply
> provide the session id yourself in the call to the "session()" method.

USE_GROFF = Yes, because:
# pkg_info -L p5-Apache-Session-Wrapper-0.34|grep man3p|xargs mandoc -Tlint 
-Werror
/usr/local/man/man3p/Apache::Session::Wrapper.3p:123:1: ERROR: NOT IMPLEMENTED: 
skipping request: rm


p5-Apache-Session-Wrapper.tar.gz
Description: application/tar-gz


[new] www/free-sa -- statistical analyzer for squid web proxy

2009-11-29 Thread Igor Zinovik
  Hello, @ports readers.

Here is my second effort to make a port of free-sa. This program is
similair to sarg,
but much-much faster.

I'm sending this to the list with hope that someone will try to test
it. It still needs some
work like removing strcpy calls and it is still not installing
configuration file in /etc.

I just want someone to test if it is working.  If someone would like
to cut rough edges of
the port i would appreciate any help.


free-sa.tar.gz
Description: GNU Zip compressed data


[new] www/free-sa

2009-12-04 Thread Igor Zinovik
  Hello, ports@ subscribers.

I improved port very much and tested it thoroughly. I successffully
managed to parse
35 megabyte squid access.log and free-sa quickly produced needed reports.

So compiles and runs fine on i386.

Can someone test it on sparc or ppc?

BTW should i add patch version to PKGNAME if i replaced all
strcpy/strcat calls with
appropriate strlpy/strlcat calls?


free-sa.tar.gz
Description: GNU Zip compressed data


[new] free-sa

2010-01-04 Thread Igor Zinovik
  Hello, ports@ subscribers.

Slightly reworked PLIST for this port, added a bunch of @comment lines.

Free-SA is statistic analyzer for daemons log files similar to SARG.
Its main advantages
over SARG are much better speed (7x-20x times), more reports support,
crossplatform
work and W3C compliance of generated HTML/CSS reports code.

Compiles and runs fine on my i386 (successfully parses 35 megabyte log file).

Again i'm asking same question should i add patch level to PKGNAME if i replaced
strcpy/strcat calls with strlcpy/strlcat?


free-sa.tar.gz
Description: GNU Zip compressed data


Re: UPDATE devel/mercurial

2010-01-06 Thread Igor Zinovik
2010/1/6 Max Varencov :
> Hi,
>
> Here is a diff for mercurial 1.4.2.
>
> Tested on OpenBSD current amd64.

Also works fine here on i386.



[new] free-sa

2010-02-06 Thread Igor Zinovik
  Hello.

I dont know what time i'm submitting my work to the list, but
i decided i will continue untill i get an answer.

This is a statistic analyzer primarily for squid access log.
This software is similiar to sarg, but is much much faster.
Tested on i386 and it works just fine.

Can anybody look at it?


free-sa.tar.gz
Description: GNU Zip compressed data


[new] cppcheck

2010-02-06 Thread Igor Zinovik
  Hello.

This is a tool for c/cpp code checking.  Tested on i386.

pkg/DESCR
Cppcheck is an analysis tool for C/C++ code.
Unlike C/C++ compilers and many other analysis tools
 we don't detect syntax errors. Cppcheck only detects the
 types of bugs that the compilers normally fail to detect. The
 goal is no false positives


cppcheck.tar.gz
Description: GNU Zip compressed data


Re: [new] free-sa

2010-02-09 Thread Igor Zinovik
2010/2/7 Vijay Sankar :
> I tested your port on amd64 and installed it on a test system.

Thank you very much for your feedback.  Please test new version
of port.

> 1) It would be nice if the default location where it looks for a config was
> /etc/free-sa.conf or /etc/free-sa/free-sa.conf instead of pobj. In my case
> since my ports tree is in /home the man page shows
>
> FILES
>       /home/ports/pobj/free-sa-1.6.2p0/fake-
>       amd64/usr/local/share/free-sa/free-sa.conf
>              Default free-sa configuration file.

Fixed.

> 2) If I don't edit free-sa.conf and try to do anything I get a crash (except
> for free-sa -s -f /etc/free-sa/free-sa.conf). So it may be nice to have some
> defaults that will work on OpenBSD.

Fixed.

> 3) free-sa -d month
> SAERROR: [SAfopenI] /usr/local/share/free-sa/free-sa.conf. No such file or
> directory
>
> free-sa -f /etc/free-sa/free-sa.conf -d month
> Segmentation fault (core dumped)

I cannot reporoduce crash, since i have only i386 arch.  If it wont
bother you please send me coredump that free-sa generated and will
provide it to developer.

> 4) free-sa -d -12.12.2009
> SAERROR: [GetDZT] Can't convert date 12.12.2009

I'l ask upstream about this.


free-sa.tar.gz
Description: GNU Zip compressed data


Re: [new] free-sa

2010-02-22 Thread Igor Zinovik
2010/2/10 Stuart Henderson :
> On 2010/02/09 22:47, Igor Zinovik wrote:
> we use ${SYSCONFDIR} for these, it can be overridden by the user.
> we can either patch with ${SYSCONFDIR} and use ${SUBST_CMD} in a
> pre-configure target, or we can override the variables in Makefile.
> also we don't really do the strlcpy patches in ports any more.
> both of these results in far fewer patches (usually a good thing
> as it makes upgrading a lot easier).
>
> the attached tgz gives you the rough idea but it's unfinished (it
> includes the fake directory in the installed files); I think the
> simplest way is to override do-install in the ports Makefile with
> our own target using ${INSTALL_PROGRAM} etc, this will also take
> care of INSTALL_STRIP so that a version with debug symbols can
> be produced if wanted.

I changed Makefile a bit.  I added some substitution actions using perl,
but i make these things happen in pre-install target.  There is one more issue
for me: where to install cgi-bin binary?

I now that ports tree is locked, but i'm afraid that i will forget about work
i've done, so let it be here.


free-sa.tar.gz
Description: GNU Zip compressed data


Re: [new] cppcheck

2010-03-02 Thread Igor Zinovik
2010/2/7 Igor Zinovik :
> This is a tool for c/cpp code checking.  Tested on i386.

Here is port for newly release version 1.40.


cppcheck.tar.gz
Description: GNU Zip compressed data


[new] cppcheck

2010-03-21 Thread Igor Zinovik

Hello, ports@

Cppcheck is an analysis tool for C/C++ code. Unlike C/C++ compilers and
many other analysis tools, we don't detect syntax errors. Cppcheck only
detects the types of bugs that the compilers normally fail to detect.
The goal is no false positives.

Compiles and runs fine on i386.  I'm able to scan whole /usr/src without
crashes.



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