Re: [UPDATE] mail/dkim-milter

2014-01-07 Thread Remi Locherer
On Tue, Jan 07, 2014 at 09:27:26PM -0300, Gleydson Soares wrote:
> Em 07/01/2014 20:30, "Antoine Jacoutot"  escreveu:
> >
> > On Tue, Jan 07, 2014 at 11:13:24PM +0100, Remi Locherer wrote:
> > > This adds an rc script do dkim-milter. Manuals look good without
> > > using groff.
> > >
> > > This is not an update of dkim-milter itself, 2.8.3 is likely the
> > > last version. Development continues within the OpenDKIM project
> > > (http://www.opendkim.org/).
> > >
> > > Remi

> > >
> > > +daemon="/usr/local/libexec/dkim-filter"
> >
> > ${TRUEPREFIX} instead of /usr/local
> >
> >
> 
> plus:
> add RCS id in RC script.

new diff:


cvs diff: Diffing .
Index: Makefile
===
RCS file: /cvs/ports/mail/dkim-milter/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile23 Oct 2013 16:33:20 -  1.37
+++ Makefile7 Jan 2014 21:30:28 -
@@ -3,7 +3,7 @@
 COMMENT=   DKIM milter
 
 DISTNAME=  dkim-milter-2.8.3
-REVISION = 2
+REVISION = 3
 CATEGORIES=mail
 HOMEPAGE=  http://sourceforge.net/projects/dkim-milter/
 
@@ -18,7 +18,6 @@ PERMIT_PACKAGE_FTP=   Yes
 WANTLIB=   c crypto milter pthread ssl
 
 EXAMPLESDIR=   share/examples/dkim-milter
-USE_GROFF =Yes
 
 post-configure:
@(echo "define(\`confCC', \`${CC}')"; \
cvs diff: Diffing patches
cvs diff: Diffing pkg
Index: pkg/PLIST
===
RCS file: /cvs/ports/mail/dkim-milter/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   8 Mar 2013 06:42:09 -   1.5
+++ pkg/PLIST   7 Jan 2014 19:40:36 -
@@ -13,3 +13,4 @@ bin/dkim-genkey
 share/doc/pkg-readmes/${FULLPKGNAME}
 share/examples/dkim-milter/
 share/examples/dkim-milter/dkim-filter.conf.sample
+@rcscript ${RCDIR}/dkim_filter
Index: pkg/dkim_filter.rc
===
RCS file: pkg/dkim_filter.rc
diff -N pkg/dkim_filter.rc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/dkim_filter.rc  7 Jan 2014 23:52:03 -
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# $OpenBSD$
+
+daemon="${TRUEPREFIX}/libexec/dkim-filter"
+
+. /etc/rc.d/rc.subr
+
+rc_reload() {
+   pkill -USR1 -f "^${pexp}"
+}
+
+rc_cmd $1



Re: [UPDATE] mail/dkim-milter

2014-01-07 Thread Gleydson Soares
Em 07/01/2014 20:30, "Antoine Jacoutot"  escreveu:
>
> On Tue, Jan 07, 2014 at 11:13:24PM +0100, Remi Locherer wrote:
> > This adds an rc script do dkim-milter. Manuals look good without
> > using groff.
> >
> > This is not an update of dkim-milter itself, 2.8.3 is likely the
> > last version. Development continues within the OpenDKIM project
> > (http://www.opendkim.org/).
> >
> > Remi
> >
> >
> > cvs diff: Diffing .
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/mail/dkim-milter/Makefile,v
> > retrieving revision 1.37
> > diff -u -p -r1.37 Makefile
> > --- Makefile  23 Oct 2013 16:33:20 -  1.37
> > +++ Makefile  7 Jan 2014 21:30:28 -
> > @@ -3,7 +3,7 @@
> >  COMMENT= DKIM milter
> >
> >  DISTNAME=dkim-milter-2.8.3
> > -REVISION =   2
> > +REVISION =   3
> >  CATEGORIES=  mail
> >  HOMEPAGE=http://sourceforge.net/projects/dkim-milter/
> >
> > @@ -18,7 +18,6 @@ PERMIT_PACKAGE_FTP= Yes
> >  WANTLIB= c crypto milter pthread ssl
> >
> >  EXAMPLESDIR= share/examples/dkim-milter
> > -USE_GROFF =  Yes
> >
> >  post-configure:
> >   @(echo "define(\`confCC', \`${CC}')"; \
> > cvs diff: Diffing patches
> > cvs diff: Diffing pkg
> > Index: pkg/PLIST
> > ===
> > RCS file: /cvs/ports/mail/dkim-milter/pkg/PLIST,v
> > retrieving revision 1.5
> > diff -u -p -r1.5 PLIST
> > --- pkg/PLIST 8 Mar 2013 06:42:09 -   1.5
> > +++ pkg/PLIST 7 Jan 2014 19:40:36 -
> > @@ -13,3 +13,4 @@ bin/dkim-genkey
> >  share/doc/pkg-readmes/${FULLPKGNAME}
> >  share/examples/dkim-milter/
> >  share/examples/dkim-milter/dkim-filter.conf.sample
> > +@rcscript ${RCDIR}/dkim_filter
> > Index: pkg/dkim_filter.rc
> > ===
> > RCS file: pkg/dkim_filter.rc
> > diff -N pkg/dkim_filter.rc
> > --- /dev/null 1 Jan 1970 00:00:00 -
> > +++ pkg/dkim_filter.rc7 Jan 2014 19:36:41 -
> > @@ -0,0 +1,11 @@
> > +#!/bin/sh
> > +
> > +daemon="/usr/local/libexec/dkim-filter"
>
> ${TRUEPREFIX} instead of /usr/local
>
>
> > +
> > +. /etc/rc.d/rc.subr
> > +
> > +rc_reload() {
> > +pkill -USR1 -f "^${pexp}"
> > +}
> > +
> > +rc_cmd $1
> >
>
> --
> Antoine
>

plus:
add RCS id in RC script.
Em 07/01/2014 20:30, "Antoine Jacoutot"  escreveu:

> On Tue, Jan 07, 2014 at 11:13:24PM +0100, Remi Locherer wrote:
> > This adds an rc script do dkim-milter. Manuals look good without
> > using groff.
> >
> > This is not an update of dkim-milter itself, 2.8.3 is likely the
> > last version. Development continues within the OpenDKIM project
> > (http://www.opendkim.org/).
> >
> > Remi
> >
> >
> > cvs diff: Diffing .
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/mail/dkim-milter/Makefile,v
> > retrieving revision 1.37
> > diff -u -p -r1.37 Makefile
> > --- Makefile  23 Oct 2013 16:33:20 -  1.37
> > +++ Makefile  7 Jan 2014 21:30:28 -
> > @@ -3,7 +3,7 @@
> >  COMMENT= DKIM milter
> >
> >  DISTNAME=dkim-milter-2.8.3
> > -REVISION =   2
> > +REVISION =   3
> >  CATEGORIES=  mail
> >  HOMEPAGE=http://sourceforge.net/projects/dkim-milter/
> >
> > @@ -18,7 +18,6 @@ PERMIT_PACKAGE_FTP= Yes
> >  WANTLIB= c crypto milter pthread ssl
> >
> >  EXAMPLESDIR= share/examples/dkim-milter
> > -USE_GROFF =  Yes
> >
> >  post-configure:
> >   @(echo "define(\`confCC', \`${CC}')"; \
> > cvs diff: Diffing patches
> > cvs diff: Diffing pkg
> > Index: pkg/PLIST
> > ===
> > RCS file: /cvs/ports/mail/dkim-milter/pkg/PLIST,v
> > retrieving revision 1.5
> > diff -u -p -r1.5 PLIST
> > --- pkg/PLIST 8 Mar 2013 06:42:09 -   1.5
> > +++ pkg/PLIST 7 Jan 2014 19:40:36 -
> > @@ -13,3 +13,4 @@ bin/dkim-genkey
> >  share/doc/pkg-readmes/${FULLPKGNAME}
> >  share/examples/dkim-milter/
> >  share/examples/dkim-milter/dkim-filter.conf.sample
> > +@rcscript ${RCDIR}/dkim_filter
> > Index: pkg/dkim_filter.rc
> > ===
> > RCS file: pkg/dkim_filter.rc
> > diff -N pkg/dkim_filter.rc
> > --- /dev/null 1 Jan 1970 00:00:00 -
> > +++ pkg/dkim_filter.rc7 Jan 2014 19:36:41 -
> > @@ -0,0 +1,11 @@
> > +#!/bin/sh
> > +
> > +daemon="/usr/local/libexec/dkim-filter"
>
> ${TRUEPREFIX} instead of /usr/local
>
>
> > +
> > +. /etc/rc.d/rc.subr
> > +
> > +rc_reload() {
> > +pkill -USR1 -f "^${pexp}"
> > +}
> > +
> > +rc_cmd $1
> >
>
> --
> Antoine
>
>


[UPDATE/NEW] textproc/p5-Mojolicious-Plugin-TtRenderer

2014-01-07 Thread Remi Locherer
This is the successor to p5-MojoX-Renderer-TT (which is not on cpan
anymore). Code written for p5-MojoX-Renderer-TT might not work correct
with p5-Mojolicious-Plugin-TtRenderer. But p5-MojoX-Renderer-TT will
not work with an updated p5-Mojolicious.

To make the transission from p5-MojoX-Renderer-TT to
p5-Mojolicious-Plugin-TtRenderer a quirks entry is necessary. I tried it
with the following diff applied to devel/quirks but it looks like I'm doing
something wrong. I'm running this with the snapshot from Jan 2.

remi@mistral:..md64/all% sudo PKG_PATH=/usr/ports/packages/amd64/all pkg_add 
-vu p5-MojoX-Renderer-TT 
Update candidates: quirks-1.106 -> quirks-1.106 (ok)
Skipping p5-Mojolicious-Plugin-TtRenderer-1.50 (update candidate for 
p5-MojoX-Renderer-TT-1.13)
p5-MojoX-Renderer-TT-1.13 pkgpaths: textproc/p5-MojoX-Renderer-TT
p5-Mojolicious-Plugin-TtRenderer-1.50 pkgpaths: 
textproc/p5-Mojolicious-Plugin-TtRenderer
remi@mistral:..md64/all%


cvs diff: Diffing .
Index: Makefile
===
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.108
diff -u -p -r1.108 Makefile
--- Makefile19 Dec 2013 19:25:04 -  1.108
+++ Makefile7 Jan 2014 12:13:56 -
@@ -5,7 +5,7 @@ CATEGORIES =devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =  quirks-1.105
+PKGNAME =  quirks-1.106
 PKG_ARCH = *
 MAINTAINER =   Marc Espie 
 
cvs diff: Diffing files
Index: files/Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.115
diff -u -p -r1.115 Quirks.pm
--- files/Quirks.pm 19 Dec 2013 19:25:04 -  1.115
+++ files/Quirks.pm 7 Jan 2014 12:39:21 -
@@ -330,6 +330,7 @@ my $stem_extensions = {
'wcb' =>'tklib',
'foomatic-filters' =>'cups-filters',
'faad-xmms' => 'xmms-faad',
+   'p5-MojoX-Renderer-TT' => 'p5-Mojolicious-Plugin-TtRenderer',
 };
 
 # reasons for obsolete packages
cvs diff: Diffing files/Quirks
cvs diff: Diffing pkg


p5-Mojolicious-Plugin-TtRenderer-1.50.tar.gz
Description: application/tar-gz


[UPDATE] www/p5-MojoX-Session 0.25 -> 0.31

2014-01-07 Thread Remi Locherer
This update of www/p5-MojoX-Session is required for the
www/p5-Mojolicious update. It's a followup of a patch sent by jim@
couple months ago.

Remi


cvs diff: Diffing .
Index: Makefile
===
RCS file: /cvs/ports/www/p5-MojoX-Session/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile11 Mar 2013 11:44:46 -  1.7
+++ Makefile7 Jan 2014 12:22:09 -
@@ -3,7 +3,7 @@
 COMMENT =  session management for Mojo
 
 MODULES =  cpan
-DISTNAME = MojoX-Session-0.25
+DISTNAME = MojoX-Session-0.31
 CATEGORIES =   www
 
 # Perl
@@ -11,9 +11,9 @@ PERMIT_PACKAGE_CDROM =Yes
 
 CPAN_AUTHOR =  VTI
 
-RUN_DEPENDS =  security/p5-Digest-SHA1 \
-   www/p5-Mojo
+RUN_DEPENDS =  www/p5-Mojo
 
-MAKE_ENV +=TEST_POD=1
+TEST_DEPENDS+= databases/p5-DBD-SQLite \
+   databases/p5-DBIx-Class-Schema-Loader
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/www/p5-MojoX-Session/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo10 Apr 2012 12:56:40 -  1.3
+++ distinfo7 Jan 2014 12:23:05 -
@@ -1,5 +1,2 @@
-MD5 (MojoX-Session-0.25.tar.gz) = G8obh2L8Q2+YySEsYA2Wmg==
-RMD160 (MojoX-Session-0.25.tar.gz) = BeLMipWDYeQ5Wjw+gZsCkPC3tWg=
-SHA1 (MojoX-Session-0.25.tar.gz) = KBBog5REkzzt3RjHiMSWHg+bZ5A=
-SHA256 (MojoX-Session-0.25.tar.gz) = 
CoGyri7/nWqxs5Z8lIH8TI6qgo0DmEvQCNqY1WAaLj8=
-SIZE (MojoX-Session-0.25.tar.gz) = 13933
+SHA256 (MojoX-Session-0.31.tar.gz) = 
w0iaekuyQ9x4Ii5SM28PnkMS3yYgCQQQ+39BepITnRk=
+SIZE (MojoX-Session-0.31.tar.gz) = 22077
cvs diff: Diffing pkg
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/p5-MojoX-Session/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   10 Apr 2012 12:56:40 -  1.3
+++ pkg/PLIST   28 Sep 2013 13:03:37 -
@@ -6,8 +6,6 @@ ${P5SITE}/MojoX/Session/Store/
 ${P5SITE}/MojoX/Session/Store.pm
 ${P5SITE}/MojoX/Session/Store/AsyncOrm.pm
 ${P5SITE}/MojoX/Session/Store/Couchdb.pm
-${P5SITE}/MojoX/Session/Store/DBI.pm
-${P5SITE}/MojoX/Session/Store/DBIC.pm
 ${P5SITE}/MojoX/Session/Store/Dbi.pm
 ${P5SITE}/MojoX/Session/Store/Dbic.pm
 ${P5SITE}/MojoX/Session/Transport/
@@ -16,8 +14,6 @@ ${P5SITE}/MojoX/Session/Transport/Cookie
 ${P5SITE}/Mojolicious/Plugin/Session.pm
 @man man/man3p/MojoX::Session.3p
 @man man/man3p/MojoX::Session::Store.3p
-@man man/man3p/MojoX::Session::Store::DBI.3p
-@man man/man3p/MojoX::Session::Store::DBIC.3p
 @man man/man3p/MojoX::Session::Store::Dbi.3p
 @man man/man3p/MojoX::Session::Store::Dbic.3p
 @man man/man3p/MojoX::Session::Transport.3p



[UPDATE] www/p5-Mojo 2.76 -> 4.66

2014-01-07 Thread Remi Locherer
This is a big update for the Mojolicious framework. It would be really
nice if OpenBSD 5.5 would ship with an up-to-date Mojolicious package.

I added two new dependencies:

net/p5-IO-Socket-IP
  IPv6 support
devel/p5-EV
  according to Mojo::IOLoop(3) Mojolicious scales better if it can use EV

This patch is based on a patch sent by jim@ a few month ago.

I'm sending separate mails for the two dependent ports.

Remi


cvs server: Diffing .
Index: Makefile
===
RCS file: /cvs/ports/www/p5-Mojo/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile11 Mar 2013 11:44:46 -  1.11
+++ Makefile7 Jan 2014 23:14:17 -
@@ -3,7 +3,7 @@
 COMMENT =  next generation web framework
 
 MODULES =  cpan
-DISTNAME = Mojolicious-2.76
+DISTNAME = Mojolicious-4.66
 CATEGORIES =   www
 
 MAINTAINER =   Simon Bertrang 
@@ -15,6 +15,18 @@ HOMEPAGE =   http://mojolicio.us/
 
 CPAN_AUTHOR =  SRI
 
-RUN_DEPENDS =  security/p5-IO-Socket-SSL>=1.37
+RUN_DEPENDS =  devel/p5-EV \
+   net/p5-IO-Socket-IP \
+   security/p5-IO-Socket-SSL
+
+MAKE_ENV += TEST_CACHING=Yes
+MAKE_ENV += TEST_EV=Yes
+MAKE_ENV += TEST_HYPNOTOAD=Yes
+MAKE_ENV += TEST_IPV6=Yes
+MAKE_ENV += TEST_MORBO=Yes
+MAKE_ENV += TEST_ONLINE=Yes
+MAKE_ENV += TEST_POD=Yes
+MAKE_ENV += TEST_PREFORK=Yes
+MAKE_ENV += TEST_TLS=Yes
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/www/p5-Mojo/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo10 Apr 2012 13:32:45 -  1.8
+++ distinfo7 Jan 2014 23:14:17 -
@@ -1,5 +1,2 @@
-MD5 (Mojolicious-2.76.tar.gz) = YAHEWgi/kqORbdP4pHQ+Qg==
-RMD160 (Mojolicious-2.76.tar.gz) = rHp8yJ/GQSzGU9rbPEufC+g+QMk=
-SHA1 (Mojolicious-2.76.tar.gz) = Xq5a4AEFnpiiJp9EOHZPVFHDxIs=
-SHA256 (Mojolicious-2.76.tar.gz) = 5OTTXV13MwT95ovbDCGfk6B2MehtcQHzxPiap6aci1A=
-SIZE (Mojolicious-2.76.tar.gz) = 552368
+SHA256 (Mojolicious-4.66.tar.gz) = YTZlpyOrYlHLoWNDfqjWThinDhqVWPfPfil3K3KOyjQ=
+SIZE (Mojolicious-4.66.tar.gz) = 617312
cvs server: Diffing pkg
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/p5-Mojo/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   10 Apr 2012 13:32:45 -  1.5
+++ pkg/PLIST   7 Jan 2014 23:14:17 -
@@ -3,7 +3,6 @@
 bin/hypnotoad
 bin/mojo
 bin/morbo
-@comment ${P5SITE}/README.pod
 ${P5SITE}/Mojo/
 ${P5SITE}/Mojo.pm
 ${P5SITE}/Mojo/Asset/
@@ -14,7 +13,6 @@ ${P5SITE}/Mojo/Base.pm
 ${P5SITE}/Mojo/ByteStream.pm
 ${P5SITE}/Mojo/Cache.pm
 ${P5SITE}/Mojo/Collection.pm
-${P5SITE}/Mojo/Command.pm
 ${P5SITE}/Mojo/Content/
 ${P5SITE}/Mojo/Content.pm
 ${P5SITE}/Mojo/Content/MultiPart.pm
@@ -23,7 +21,6 @@ ${P5SITE}/Mojo/Cookie/
 ${P5SITE}/Mojo/Cookie.pm
 ${P5SITE}/Mojo/Cookie/Request.pm
 ${P5SITE}/Mojo/Cookie/Response.pm
-${P5SITE}/Mojo/CookieJar.pm
 ${P5SITE}/Mojo/DOM/
 ${P5SITE}/Mojo/DOM.pm
 ${P5SITE}/Mojo/DOM/CSS.pm
@@ -40,6 +37,8 @@ ${P5SITE}/Mojo/IOLoop/Client.pm
 ${P5SITE}/Mojo/IOLoop/Delay.pm
 ${P5SITE}/Mojo/IOLoop/Server.pm
 ${P5SITE}/Mojo/IOLoop/Stream.pm
+${P5SITE}/Mojo/IOLoop/server.crt
+${P5SITE}/Mojo/IOLoop/server.key
 ${P5SITE}/Mojo/JSON/
 ${P5SITE}/Mojo/JSON.pm
 ${P5SITE}/Mojo/JSON/Pointer.pm
@@ -62,6 +61,7 @@ ${P5SITE}/Mojo/Server/Daemon.pm
 ${P5SITE}/Mojo/Server/Hypnotoad.pm
 ${P5SITE}/Mojo/Server/Morbo.pm
 ${P5SITE}/Mojo/Server/PSGI.pm
+${P5SITE}/Mojo/Server/Prefork.pm
 ${P5SITE}/Mojo/Template.pm
 ${P5SITE}/Mojo/Transaction/
 ${P5SITE}/Mojo/Transaction.pm
@@ -71,11 +71,16 @@ ${P5SITE}/Mojo/URL.pm
 ${P5SITE}/Mojo/Upload.pm
 ${P5SITE}/Mojo/UserAgent/
 ${P5SITE}/Mojo/UserAgent.pm
+${P5SITE}/Mojo/UserAgent/CookieJar.pm
+${P5SITE}/Mojo/UserAgent/Proxy.pm
+${P5SITE}/Mojo/UserAgent/Server.pm
 ${P5SITE}/Mojo/UserAgent/Transactor.pm
 ${P5SITE}/Mojo/Util.pm
+${P5SITE}/Mojo/entities.txt
 ${P5SITE}/Mojolicious/
 ${P5SITE}/Mojolicious.pm
 ${P5SITE}/Mojolicious/Command/
+${P5SITE}/Mojolicious/Command.pm
 ${P5SITE}/Mojolicious/Command/cgi.pm
 ${P5SITE}/Mojolicious/Command/cpanify.pm
 ${P5SITE}/Mojolicious/Command/daemon.pm
@@ -88,6 +93,7 @@ ${P5SITE}/Mojolicious/Command/generate/m
 ${P5SITE}/Mojolicious/Command/generate/plugin.pm
 ${P5SITE}/Mojolicious/Command/get.pm
 ${P5SITE}/Mojolicious/Command/inflate.pm
+${P5SITE}/Mojolicious/Command/prefork.pm
 ${P5SITE}/Mojolicious/Command/psgi.pm
 ${P5SITE}/Mojolicious/Command/routes.pm
 ${P5SITE}/Mojolicious/Command/test.pm
@@ -96,7 +102,7 @@ ${P5SITE}/Mojolicious/Commands.pm
 ${P5SITE}/Mojolicious/Controller.pm
 ${P5SITE}/Mojolicious/Guides/
 ${P5SITE}/Mojolicious/Guides.pod
-${P5SITE}/Mojolicious/Guides/CodingGuidelines.pod
+${P5SITE}/Mojolicious/Guides/Contributing.pod
 ${P5SITE}/Mojolicious/Guides/Cookbook.pod
 ${P5SITE}/Mojolicious/Guides/FAQ.pod
 ${P5SITE}/Mojolicious/Guides/Growing.pod
@@ -111,12 +117,9 @@ ${P5SITE}/Mojolicious/Plugin/DefaultHelp
 ${P5SITE}/Mojolicious

Re: [UPDATE] mail/dkim-milter

2014-01-07 Thread Antoine Jacoutot
On Tue, Jan 07, 2014 at 11:13:24PM +0100, Remi Locherer wrote:
> This adds an rc script do dkim-milter. Manuals look good without
> using groff.
> 
> This is not an update of dkim-milter itself, 2.8.3 is likely the
> last version. Development continues within the OpenDKIM project
> (http://www.opendkim.org/).
> 
> Remi
> 
> 
> cvs diff: Diffing .
> Index: Makefile
> ===
> RCS file: /cvs/ports/mail/dkim-milter/Makefile,v
> retrieving revision 1.37
> diff -u -p -r1.37 Makefile
> --- Makefile  23 Oct 2013 16:33:20 -  1.37
> +++ Makefile  7 Jan 2014 21:30:28 -
> @@ -3,7 +3,7 @@
>  COMMENT= DKIM milter
>  
>  DISTNAME=dkim-milter-2.8.3
> -REVISION =   2
> +REVISION =   3
>  CATEGORIES=  mail
>  HOMEPAGE=http://sourceforge.net/projects/dkim-milter/
>  
> @@ -18,7 +18,6 @@ PERMIT_PACKAGE_FTP= Yes
>  WANTLIB= c crypto milter pthread ssl
>  
>  EXAMPLESDIR= share/examples/dkim-milter
> -USE_GROFF =  Yes
>  
>  post-configure:
>   @(echo "define(\`confCC', \`${CC}')"; \
> cvs diff: Diffing patches
> cvs diff: Diffing pkg
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/mail/dkim-milter/pkg/PLIST,v
> retrieving revision 1.5
> diff -u -p -r1.5 PLIST
> --- pkg/PLIST 8 Mar 2013 06:42:09 -   1.5
> +++ pkg/PLIST 7 Jan 2014 19:40:36 -
> @@ -13,3 +13,4 @@ bin/dkim-genkey
>  share/doc/pkg-readmes/${FULLPKGNAME}
>  share/examples/dkim-milter/
>  share/examples/dkim-milter/dkim-filter.conf.sample
> +@rcscript ${RCDIR}/dkim_filter
> Index: pkg/dkim_filter.rc
> ===
> RCS file: pkg/dkim_filter.rc
> diff -N pkg/dkim_filter.rc
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ pkg/dkim_filter.rc7 Jan 2014 19:36:41 -
> @@ -0,0 +1,11 @@
> +#!/bin/sh
> +
> +daemon="/usr/local/libexec/dkim-filter"

${TRUEPREFIX} instead of /usr/local


> +
> +. /etc/rc.d/rc.subr
> +
> +rc_reload() {
> +pkill -USR1 -f "^${pexp}"
> +}
> +
> +rc_cmd $1
> 

-- 
Antoine



Re: UPDATE: MPlayer 20140106

2014-01-07 Thread Brad Smith

On 07/01/14 9:14 AM, Jan Stary wrote:

On Jan 06 19:52:23, b...@comstyle.com wrote:

Here is an update to MPlayer 20140106.


This is current/i386:

  Configuring for mplayer-20140106
  Checking for cc version ... 4.2.1
  Checking for working compiler ... yes
  Detected operating system: OpenBSD
  Detected host architecture: i386
  Checking for cross compilation ... no
  Checking for host cc ... cc
  Checking for GCC & CPU optimization abilities ... i386
  Checking for byte order ... little-endian
  Checking for extern symbol prefix ...
  Checking for assembler support of -pipe option ... yes
  Checking for relocatable binary ... no
  Checking for assembler (as 2.15) ... ok
  Checking for PIC ... yes
  Checking for .align is a power of two ... no
  Checking for ebx availability ... no
  Checking for yasm ...
  Error: yasm not found, use --yasm='' if you really want to compile
  without

  Check "config.log" if you do not understand why it failed.
  *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2648
  '/usr/ports/pobj/mplayer-20140106/.configure_done')
  *** Error 1 in /usr/ports/x11/mplayer
  (/usr/ports/infrastructure/mk/bsd.port.mk:2404 'all')

I do have yasm-1.2.0 installed, which provides /usr/local/bin/yasm


It is a build dependency so it has to be there. You left out the most
important part which the error message points you towards.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



vim update

2014-01-07 Thread Stuart Henderson
patches to configure are no longer needed, and update to a newer patch.
works here - any test reports? ok?


Index: Makefile
===
RCS file: /cvs/ports/editors/vim/Makefile,v
retrieving revision 1.133
diff -u -p -r1.133 Makefile
--- Makefile16 Dec 2013 10:19:33 -  1.133
+++ Makefile7 Jan 2014 22:23:07 -
@@ -3,10 +3,9 @@
 COMMENT-main=  vi clone, many additional features
 COMMENT-lang=  vi clone, NLS subpackage
 
-VERSION=   7.4.45
+VERSION=   7.4.135
 DISTNAME=  vim-${VERSION}
 PKGNAME-main=  vim-${VERSION}
-REVISION-main= 2
 PKGNAME-lang=  vim-lang-${VERSION}
 P= vim${VERSION:R:S/.//}
 CATEGORIES=editors
@@ -151,6 +150,7 @@ post-configure:
 post-install:
${INSTALL_DATA} ${FILESDIR}/pf.vim ${FILESDIR}/openbsd.vim \
${PREFIX}/share/vim/${P}/syntax/
+
 .if ! ${FLAVOR:Mno_x11}
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} -c \
@@ -158,7 +158,6 @@ post-install:
${PREFIX}/share/applications/gvim.desktop
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKDIST}/runtime/vim48x48.png 
${PREFIX}/share/pixmaps/vim.png
-
 
 RUN_DEPENDS+= devel/desktop-file-utils
 .endif
Index: distinfo
===
RCS file: /cvs/ports/editors/vim/distinfo,v
retrieving revision 1.40
diff -u -p -r1.40 distinfo
--- distinfo4 Oct 2013 08:44:03 -   1.40
+++ distinfo7 Jan 2014 22:23:07 -
@@ -1,2 +1,2 @@
-SHA256 (vim-7.4.45.tar.bz2) = mSdwRN7mAEhl05nogpZPTKQ3NTiPE9bjzwESIfv4Vd8=
-SIZE (vim-7.4.45.tar.bz2) = 9521246
+SHA256 (vim-7.4.135.tar.bz2) = Eq7rfNytPNFd2EY0hxe9nJTHwlmQU3lzxm2mE45wG3o=
+SIZE (vim-7.4.135.tar.bz2) = 9535915
Index: patches/patch-runtime_filetype_vim
===
RCS file: /cvs/ports/editors/vim/patches/patch-runtime_filetype_vim,v
retrieving revision 1.5
diff -u -p -r1.5 patch-runtime_filetype_vim
--- patches/patch-runtime_filetype_vim  4 Oct 2013 08:44:04 -   1.5
+++ patches/patch-runtime_filetype_vim  7 Jan 2014 22:23:07 -
@@ -1,6 +1,6 @@
 $OpenBSD: patch-runtime_filetype_vim,v 1.5 2013/10/04 08:44:04 sthen Exp $
 runtime/filetype.vim.orig  Sun Sep 29 20:11:05 2013
-+++ runtime/filetype.vim   Tue Oct  1 09:20:02 2013
+--- runtime/filetype.vim.orig  Tue Jan  7 05:09:28 2014
 runtime/filetype.vim   Tue Jan  7 22:14:53 2014
 @@ -71,6 +71,14 @@ func! s:Check_inp()
endif
  endfunc
@@ -16,7 +16,7 @@ $OpenBSD: patch-runtime_filetype_vim,v 1
  " A-A-P recipe
  au BufNewFile,BufRead *.aap   setf aap
  
-@@ -604,7 +612,7 @@ au BufNewFile,BufRead dict.conf,.dictrcsetf 
dictconf
+@@ -607,7 +615,7 @@ au BufNewFile,BufRead dict.conf,.dictrcsetf 
dictconf
  au BufNewFile,BufRead dictd.conf  setf dictdconf
  
  " Diff files
@@ -25,7 +25,7 @@ $OpenBSD: patch-runtime_filetype_vim,v 1
  
  " Dircolors
  au BufNewFile,BufRead .dir_colors,.dircolors,*/etc/DIR_COLORS setf dircolors
-@@ -1094,7 +1102,7 @@ au BufNewFile,BufRead */etc/mail/aliases,*/etc/aliases
+@@ -1097,7 +1105,7 @@ au BufNewFile,BufRead */etc/mail/aliases,*/etc/aliases
  au BufNewFile,BufRead .mailcap,mailcapsetf mailcap
  
  " Makefile
@@ -34,7 +34,7 @@ $OpenBSD: patch-runtime_filetype_vim,v 1
  
  " MakeIndex
  au BufNewFile,BufRead *.ist,*.mst setf ist
-@@ -2247,12 +2255,14 @@ au BufNewFile,BufRead *.vim,*.vba,.exrc,_exrc  setf vim
+@@ -2254,12 +2262,14 @@ au BufNewFile,BufRead *.vim,*.vba,.exrc,_exrc  setf vim
  au BufNewFile,BufRead .viminfo,_viminfo   setf viminfo
  
  " Virata Config Script File or Drupal module
Index: patches/patch-src_auto_configure
===
RCS file: patches/patch-src_auto_configure
diff -N patches/patch-src_auto_configure
--- patches/patch-src_auto_configure4 Oct 2013 08:44:04 -   1.10
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,20 +0,0 @@
-$OpenBSD: patch-src_auto_configure,v 1.10 2013/10/04 08:44:04 sthen Exp $
 src/auto/configure.origFri Sep 20 19:13:53 2013
-+++ src/auto/configure Sat Sep 21 23:43:48 2013
-@@ -12049,6 +12049,7 @@ $as_echo_n "checking for sysctl... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
- #include 
-+#include 
- #include 
- int
- main ()
-@@ -12675,7 +12676,7 @@ if ac_fn_c_try_link "$LINENO"; then :
- $as_echo "gettext() works" >&6; }; have_gettext="yes"
- else
-   olibs=$LIBS
--LIBS="$LIBS -lintl"
-+LIBS="$LIBS -lintl -liconv"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
- #include 
Index: patches/patch-src_option_c
===
RCS file: /cvs/ports/editors/vim/patches/patch-src_option_c,v
retrieving rev

[UPDATE] mail/dkim-milter

2014-01-07 Thread Remi Locherer
This adds an rc script do dkim-milter. Manuals look good without
using groff.

This is not an update of dkim-milter itself, 2.8.3 is likely the
last version. Development continues within the OpenDKIM project
(http://www.opendkim.org/).

Remi


cvs diff: Diffing .
Index: Makefile
===
RCS file: /cvs/ports/mail/dkim-milter/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile23 Oct 2013 16:33:20 -  1.37
+++ Makefile7 Jan 2014 21:30:28 -
@@ -3,7 +3,7 @@
 COMMENT=   DKIM milter
 
 DISTNAME=  dkim-milter-2.8.3
-REVISION = 2
+REVISION = 3
 CATEGORIES=mail
 HOMEPAGE=  http://sourceforge.net/projects/dkim-milter/
 
@@ -18,7 +18,6 @@ PERMIT_PACKAGE_FTP=   Yes
 WANTLIB=   c crypto milter pthread ssl
 
 EXAMPLESDIR=   share/examples/dkim-milter
-USE_GROFF =Yes
 
 post-configure:
@(echo "define(\`confCC', \`${CC}')"; \
cvs diff: Diffing patches
cvs diff: Diffing pkg
Index: pkg/PLIST
===
RCS file: /cvs/ports/mail/dkim-milter/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST   8 Mar 2013 06:42:09 -   1.5
+++ pkg/PLIST   7 Jan 2014 19:40:36 -
@@ -13,3 +13,4 @@ bin/dkim-genkey
 share/doc/pkg-readmes/${FULLPKGNAME}
 share/examples/dkim-milter/
 share/examples/dkim-milter/dkim-filter.conf.sample
+@rcscript ${RCDIR}/dkim_filter
Index: pkg/dkim_filter.rc
===
RCS file: pkg/dkim_filter.rc
diff -N pkg/dkim_filter.rc
--- /dev/null   1 Jan 1970 00:00:00 -
+++ pkg/dkim_filter.rc  7 Jan 2014 19:36:41 -
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+daemon="/usr/local/libexec/dkim-filter"
+
+. /etc/rc.d/rc.subr
+
+rc_reload() {
+pkill -USR1 -f "^${pexp}"
+}
+
+rc_cmd $1



UPDATE: x11/rdesktop-1.8.1

2014-01-07 Thread Gleydson Soares

update x11/rdesktop to 1.8.1
a bunch of fixes and new features like smartcard support.

NOTE: smartcard support disable for now. I haven't one to test.
If someone is able to give a test, let me know that I will provide a diff.

OK to update?

Index: Makefile
===
RCS file: /cvs/ports/x11/rdesktop/Makefile,v
retrieving revision 1.40
diff -u -p -u -p -r1.40 Makefile
--- Makefile7 Aug 2013 19:13:11 -   1.40
+++ Makefile7 Jan 2014 19:28:42 -
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.40 2013/08/07 19:13:11 gsoares Exp $
 
 COMMENT=   open source client for Windows Terminal Server
-DISTNAME=  rdesktop-1.7.1
-REVISION=  2
+DISTNAME=  rdesktop-1.8.1
 CATEGORIES=x11 net
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=rdesktop/}
 
@@ -13,7 +12,7 @@ MAINTAINER=   Gleydson Soares 
Index: distinfo
===
RCS file: /cvs/ports/x11/rdesktop/distinfo,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 distinfo
--- distinfo14 Mar 2012 18:36:04 -  1.16
+++ distinfo7 Jan 2014 19:28:42 -
@@ -1,5 +1,2 @@
-MD5 (rdesktop-1.7.1.tar.gz) = xLORFZUcSm109RHJmxj8+Q==
-RMD160 (rdesktop-1.7.1.tar.gz) = 2fOct1qxPXvoRvYepAJ2zdy8tVA=
-SHA1 (rdesktop-1.7.1.tar.gz) = xxjQ9JlIqWTH74QkuK3nPszjq6M=
-SHA256 (rdesktop-1.7.1.tar.gz) = 0epDresj7xukJZg2cDcqh811YLr4yUujQhUQXtLvhHk=
-SIZE (rdesktop-1.7.1.tar.gz) = 298808
+SHA256 (rdesktop-1.8.1.tar.gz) = dsyDS4nDTYMy88s4iUg7KuTU6BGO60Wolnx33RgigkY=
+SIZE (rdesktop-1.8.1.tar.gz) = 314198
Index: patches/patch-configure
===
RCS file: /cvs/ports/x11/rdesktop/patches/patch-configure,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 patch-configure
--- patches/patch-configure 14 Mar 2012 18:36:04 -  1.8
+++ patches/patch-configure 7 Jan 2014 19:28:42 -
@@ -2,9 +2,9 @@ $OpenBSD: patch-configure,v 1.8 2012/03/
 
 Don't pickup libsamplerate if that's installed.
 
 configure.orig Mon Jan  9 11:11:57 2012
-+++ configure  Tue Mar 13 13:53:08 2012
-@@ -5757,6 +5757,7 @@ $as_echo "yes" >&6; }
+--- configure.orig Mon Nov 18 05:10:00 2013
 configure  Sat Jan  4 05:19:15 2014
+@@ -5928,6 +5928,7 @@ $as_echo "yes" >&6; }
HAVE_ALSA=1
  fi
  
@@ -12,7 +12,7 @@ Don't pickup libsamplerate if that's ins
  pkg_failed=no
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSAMPLERATE" >&5
  $as_echo_n "checking for LIBSAMPLERATE... " >&6; }
-@@ -5834,6 +5835,8 @@ fi
+@@ -6007,6 +6008,8 @@ fi
  LIBSAMPLERATE_LIBS="$LIBSAMPLERATE_LIBS -lm"
  fi
  fi
Index: patches/patch-rdpdr_c
===
RCS file: /cvs/ports/x11/rdesktop/patches/patch-rdpdr_c,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-rdpdr_c
--- patches/patch-rdpdr_c   4 Jul 2013 15:12:34 -   1.1
+++ patches/patch-rdpdr_c   7 Jan 2014 19:28:42 -
@@ -4,11 +4,11 @@ Fix crash when a invalid device is recei
 patch from upstream
 http://sourceforge.net/p/rdesktop/code/1701/
 
 rdpdr.c.orig   Wed Apr 13 08:13:04 2011
-+++ rdpdr.cTue Jun 18 20:51:34 2013
-@@ -379,6 +379,15 @@ rdpdr_process_irp(STREAM s)
-   buffer = (uint8 *) xmalloc(1024);
-   buffer[0] = 0;
+--- rdpdr.c.orig   Sat Aug 10 13:15:25 2013
 rdpdr.cSat Jan  4 05:19:15 2014
+@@ -387,6 +387,15 @@ rdpdr_process_irp(STREAM s)
+   return;
+   }
  
 +  if(device >= RDPDR_MAX_DEVICES)
 +  {
Index: patches/patch-rdpsnd_libao_c
===
RCS file: patches/patch-rdpsnd_libao_c
diff -N patches/patch-rdpsnd_libao_c
--- patches/patch-rdpsnd_libao_c21 Apr 2011 11:07:33 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,19 +0,0 @@
-$OpenBSD: patch-rdpsnd_libao_c,v 1.2 2011/04/21 11:07:33 jasper Exp $
 rdpsnd_libao.c.origMon Apr 18 08:21:57 2011
-+++ rdpsnd_libao.c Tue Apr 19 12:25:08 2011
-@@ -71,6 +71,7 @@ libao_open(void)
-   default_driver = ao_default_driver_id();
-   }
- 
-+  memset(&format, 0, sizeof(format));
-   format.bits = 16;
-   format.channels = 2;
-   format.rate = 44100;
-@@ -110,6 +111,7 @@ libao_set_format(RD_WAVEFORMATEX * pwfx)
- {
-   ao_sample_format format;
- 
-+  memset(&format, 0, sizeof(format));
-   format.bits = pwfx->wBitsPerSample;
-   format.channels = pwfx->nChannels;
-   format.rate = 44100;


UPDATE: devel/cppcheck-1.63

2014-01-07 Thread Gleydson Soares

update cppcheck to 1.63

.cfg files are needed by cppcheck now:
- set CFGDIR accordingly
- install .cfg files and regen PLIST

OK?

Index: Makefile
===
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 Makefile
--- Makefile12 Oct 2013 21:23:50 -  1.21
+++ Makefile7 Jan 2014 17:29:26 -
@@ -2,7 +2,7 @@
 
 COMMENT =  C/C++ static checker
 
-DISTNAME = cppcheck-1.62
+DISTNAME = cppcheck-1.63
 
 CATEGORIES =   devel
 
@@ -25,7 +25,7 @@ ALL_TARGET =  cppcheck
 TEST_TARGET =  test
 
 # -Ilib before PREFIX/include to avoid picking up header from devel/check
-MAKE_FLAGS =   BIN=${PREFIX}/bin SRCDIR=build \
+MAKE_FLAGS =   BIN=${PREFIX}/bin SRCDIR=build 
CFGDIR=${PREFIX}/share/cppcheck/cfg \
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
CPPFLAGS="-DHAVE_RULES -DTIXML_USE_STL -Ilib 
-I${PREFIX}/include" \
LDFLAGS="-L${PREFIX}/lib -lpcre"
@@ -46,6 +46,8 @@ post-build:
${WRKSRC}/man/cppcheck.1.xml
 
 do-install:
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/cppcheck/cfg
+   @cp ${WRKSRC}/cfg/* ${PREFIX}/share/cppcheck/cfg/
${INSTALL_PROGRAM} ${WRKSRC}/cppcheck ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/cppcheck.1 ${PREFIX}/man/man1/
 
Index: distinfo
===
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 distinfo
--- distinfo12 Oct 2013 21:23:51 -  1.17
+++ distinfo7 Jan 2014 17:29:26 -
@@ -1,2 +1,2 @@
-SHA256 (cppcheck-1.62.tar.gz) = /fhBF1FfhYDvyN1INEKFPkizFGqu0g6ogcrEz3I2oek=
-SIZE (cppcheck-1.62.tar.gz) = 1456283
+SHA256 (cppcheck-1.63.tar.gz) = kc5vGXXHTOWHE+Hg6/QGDPoj37WpTPxVyA3Vn1+L9jc=
+SIZE (cppcheck-1.63.tar.gz) = 1435929
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/cppcheck/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST   3 Nov 2010 07:27:26 -   1.2
+++ pkg/PLIST   7 Jan 2014 17:29:27 -
@@ -1,3 +1,10 @@
 @comment $OpenBSD: PLIST,v 1.2 2010/11/03 07:27:26 jasper Exp $
 @bin bin/cppcheck
 @man man/man1/cppcheck.1
+share/cppcheck/
+share/cppcheck/cfg/
+share/cppcheck/cfg/gtk.cfg
+share/cppcheck/cfg/posix.cfg
+share/cppcheck/cfg/qt.cfg
+share/cppcheck/cfg/std.cfg
+share/cppcheck/cfg/windows.cfg


[update] devel/dfu-programmer

2014-01-07 Thread Stefan Sperling
Update dfu-programmer to the latest version. ok?

Index: Makefile
===
RCS file: /cvs/ports/devel/dfu-programmer/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile11 Mar 2013 10:50:03 -  1.3
+++ Makefile7 Jan 2014 12:32:31 -
@@ -1,25 +1,19 @@
 # $OpenBSD: Makefile,v 1.3 2013/03/11 10:50:03 espie Exp $
 
 COMMENT =  Device Firmware Update-based programmer for Atmel chips
-
-V =0.5.4
+V =0.6.2
 DISTNAME = dfu-programmer-${V}
-REVISION = 0
-
 CATEGORIES =   devel
-
 HOMEPAGE = http://dfu-programmer.sourceforge.net/
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM = Yes
 
 WANTLIB =  c pthread usb-1.0
-
 LIB_DEPENDS =  devel/libusb1
-
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=dfu-programmer/}
-
-CONFIGURE_STYLE =  gnu
+CONFIGURE_STYLE =  gnu autoconf
+AUTOCONF_VERSION = 2.68
 CONFIGURE_ENV =CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${CFLAGS} -L${LOCALBASE}/lib"
Index: distinfo
===
RCS file: /cvs/ports/devel/dfu-programmer/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo8 Mar 2011 06:22:16 -   1.1.1.1
+++ distinfo7 Jan 2014 12:25:05 -
@@ -1,5 +1,2 @@
-MD5 (dfu-programmer-0.5.4.tar.gz) = cH3ND5V6dOkkVuppGfqncg==
-RMD160 (dfu-programmer-0.5.4.tar.gz) = LASvbxpKOy32aKbsQNI7+fN6/2g=
-SHA1 (dfu-programmer-0.5.4.tar.gz) = 8PzI+qDxHlP+qjagEwcyigsJk9M=
-SHA256 (dfu-programmer-0.5.4.tar.gz) = 
wPsI/q09Q3k2jQ5K9aWqmces7jL6hpbNPifS94VqIN4=
-SIZE (dfu-programmer-0.5.4.tar.gz) = 126700
+SHA256 (dfu-programmer-0.6.2.tar.gz) = 
ASCWakJN2YEkliBVdQ6Qy9bHtrD79bGHv0Ndqgokr2U=
+SIZE (dfu-programmer-0.6.2.tar.gz) = 134941
Index: patches/patch-configure_ac
===
RCS file: patches/patch-configure_ac
diff -N patches/patch-configure_ac
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure_ac  7 Jan 2014 12:31:36 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+--- configure.ac.orig  Tue Jan  7 13:28:50 2014
 configure.ac   Tue Jan  7 13:29:52 2014
+@@ -28,8 +28,8 @@ if test "$disable_libusb_1_0" = "no"; then
+   ifdef([PKG_CHECK_MODULES],
+ [PKG_CHECK_MODULES(LIBUSB_1_0, [ libusb-1.0 >= 1.0.0 ], 
have_libusb_1_0=yes, have_libusb_1_0=no)],
+ [have_libusb_1_0=yes
+-  LIBUSB_1_0_CFLAGS=-I/usr/include/libusb-1.0
+-  LIBUSB_1_0_LIBS=-lusb-1.0])
++  LIBUSB_1_0_CFLAGS="`pkg-config --cflags libusb-1.0`"
++  LIBUSB_1_0_LIBS="`pkg-config --libs libusb-1.0`"])
+   if test "$have_libusb_1_0" = "yes"; then
+ AS_ECHO("using libusb_1.0");
+ CFLAGS="$CFLAGS $LIBUSB_1_0_CFLAGS"



[new] devel/avr32

2014-01-07 Thread Stefan Sperling
This is a port of Atmel's AVR32 toolchain.
It contains binutils, gcc, and newlib (C library).

GCC needs to be compiled twice, once before and once after newlib is built.
I've solved this by adding a 'bootstrap' flavour to the gcc port which
is a build dependency of the newlib port. The 'bootstrap' flavour is
also marked as not for distribution to FTP mirrors. When compiling the port,
the avr32-gcc-bootstrap package needs to be removed before the avr32-gcc
package can be installed.

OK to import under devel/avr32?


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


Re: Update: mail/greyscanner to version 2.00

2014-01-07 Thread Craig R. Skinner
On 2014-01-07 Tue 13:56 PM |, Jan Stary wrote:
> 
> If DNS_SOCK_MAX is defined in the config,
> greyscanner checks that the domain part of every sender
> has an A and an MX record, and blacklists everything else.
> That itself is surely a good thing, but:
> 
> (1) the check performed is actually
> 
>   if ( $q[0]->qtype eq 'A' || $q[0]->qtype eq 'MX' )
> 
> i.e. a sender gets a pass if there was an A _or_ and MX for it
> 
> (2) I am getting a lot of false negatives, such as
>  
> Jan  3 11:43:11 www greyscanner[5816]: Trapped 82.113.55.75: Mailed from 
> sender xnet.cz with no MX or A 
> 
> This is a valid sender, and xnet.cz has both MX and A.
> Quite a few of my valid senders got blacklisted like this.
> 

Maybe not directly relevant, but this IP seems to have an
invalid DNS PTR record ('/' is not a legal character):

$ dig -x 82.113.55.75 +short
75.64/26.55.113.82.in-addr.arpa.
smtp-out.xnet.cz.


> 
> Jan  6 01:15:53 www greyscanner[10017]: Trapped 115.67.162.38: Mailed from 
> sender google.com with no MX or A 
> 
> Needless to say, there is an MX and an A for google.com.
> 
> The fact that 115.67.162.38 itself does not have an A
> and is not actually google's outgoing SMTP server does
> not come into it: this is not checked in greyscanner.
> 

Not directly relevant, but like you said,
that's probably not a valid google outgoing host:

$ dig -x 115.67.162.38 +short
$ whois 115.67.162.38

[:snip: not google]

person: NSP CORE IP
address:Total Access Communication PLC
address:319 Chamchuri Square Building
address:40 Floor,
address:Phayathai Road, Pathumwan,
address:Bangkok Thailand 10330
country:TH
person: NSP CORE IP
address:Total Access Communication PLC
address:319 Chamchuri Square Building
address:40 Floor,
address:Phayathai Road, Pathumwan,
address:Bangkok Thailand 10330
country:TH



Here's a sample of greyscanner trapped no MX lines from my logs
(most of it looks spamish, others not so.):

for line in $(fgrep greyscanner /var/log/maillog | awk '/ MX / { print $7$11 
}'); do print -n "$line\nPTR: "; dig -x $(print $line | cut -d: -f1) +short; 
print; done

173.85.227.74:jaytronautomation.com
PTR:
37.6.249.99:hol.gr
PTR: adsl-99.37.6.249.tellas.gr.

50.193.227.41:gmail.com
PTR: 50-193-227-41-static.hfc.comcastbusiness.net.

209.85.220.50:gmail.com
PTR: mail-pa0-f50.google.com.

209.85.220.44:gmail.com
PTR: mail-pa0-f44.google.com.

110.175.80.66:gmail.com
PTR: 110-175-80-66.static.tpgi.com.au.

204.68.32.6:gmail.com
PTR: tmcip6.tmcaz.com.

209.85.192.169:gmail.com
PTR: mail-pd0-f169.google.com.

86.13.0.228:betrix.co.uk
PTR: cpc14-ward9-2-0-cust227.10-2.cable.virginm.net.

72.27.229.180:yahoo.com
PTR: host-72-27-229-180.ccvn.com.

118.136.168.2:yahoo.com
PTR: fm-dyn-118-136-168-2.fast.net.id.

110.175.80.66:yahoo.com
PTR: 110-175-80-66.static.tpgi.com.au.

204.68.32.6:yahoo.com
PTR: tmcip6.tmcaz.com.

220.135.175.84:yahoo.com
PTR: 220-135-175-84.HINET-IP.hinet.net.

92.234.53.187:yahoo.com
PTR: cpc65447-grth8-2-0-cust442.16-4.cable.virginmedia.com.

173.12.79.250:yahoo.com
PTR: 173-12-79-250-miami.hfc.comcastbusiness.net.

172.56.27.86:yahoo.com
PTR:
190.147.176.31:cable.net.co
PTR: Static-IP-cr19014717631.cable.net.co.

195.137.219.217:zadzarip.my-addr.com
PTR: zadzarip.my-addr.com.

194.247.60.73:evilstone.com
PTR: 073ip.my-addr.com.

212.22.72.199:evilstone.com
PTR: arrqdzpi.my-addr.com.

24.148.237.105:mindspring.com
PTR: user-0c99rb9.cable.mindspring.com.

186.43.89.67:edatel.net.co
PTR: adsl-186-43-89-67.edatel.net.co.

201.233.68.3:epm.net.co
PTR: cable201-233-68-3.epm.net.co.

97.68.220.138:biz.bhn.net
PTR: 97-68-220-138.biz.bhn.net.

97.68.220.138:biz.bhn.net
PTR: 97-68-220-138.biz.bhn.net.

78.83.132.25:portalvedra.com
PTR: home-78-83-132-25.optinet.bg.

88.249.199.49:ttnet.com.tr
PTR: 88.249.199.49.dynamic.ttnet.com.tr.

78.83.132.25:portalvedra.com
PTR: home-78-83-132-25.optinet.bg.

46.109.196.26:dsldevice.lan
PTR:
46.109.196.26:dsldevice.lan
PTR:
94.111.78.41:speedtouch.lan
PTR: cust-41-78-111-94.dyn.as47377.net.

46.41.213.217:betsfreebets.com
PTR:
94.111.78.41:speedtouch.lan
PTR: cust-41-78-111-94.dyn.as47377.net.

46.41.213.217:betsfreebets.com
PTR:
202.29.54.58:menbl.com
PTR:


Cheers,
-- 
Craig Skinner | http://twitter.com/Craig_Skinner | http://linkd.in/yGqkv7



Re: Replacing mysql with mariadb

2014-01-07 Thread Stuart Henderson
On 2014/01/07 08:43, Scott Vanderbilt wrote:
> Might anyone be able to furnish some advice on how to replace mysql with
> mariadb in -current (amd64)?
> 
> Building the mariadb port in isolation is no problem whatsoever. But other
> ports that have mysql as a dependency are a problem, as they are
> (apparently) not configured to consider mariadb a suitable substitute. Of
> course, hacking Makefiles is an option, but one that I would love to avoid
> if at all possible.

You will need to do your own package build, with mariadb replacing mysql in
the relevant Makefiles, as was previously committed and backed-out when
we switched before.

> I have seen some noise on the interwebs alluding to the fact that mariadb
> will replace mysql in OpenBSD in the "next release", but those mentions are
> old enough to make me think those plans may have fallen by the wayside.

Unlikely at this point in the release cycle.



Replacing mysql with mariadb

2014-01-07 Thread Scott Vanderbilt
Might anyone be able to furnish some advice on how to replace mysql with 
mariadb in -current (amd64)?


Building the mariadb port in isolation is no problem whatsoever. But 
other ports that have mysql as a dependency are a problem, as they are 
(apparently) not configured to consider mariadb a suitable substitute. 
Of course, hacking Makefiles is an option, but one that I would love to 
avoid if at all possible.


I have seen some noise on the interwebs alluding to the fact that 
mariadb will replace mysql in OpenBSD in the "next release", but those 
mentions are old enough to make me think those plans may have fallen by 
the wayside.


Many thanks in advance.



Re: swig 2.0.11 doesn't build on sparc64 due to ruby

2014-01-07 Thread Antoine Jacoutot
On Tue, Jan 07, 2014 at 07:57:05AM -0800, Jeremy Evans wrote:
> On Tue, Jan 7, 2014 at 6:02 AM, Federico Schwindt  wrote:
> 
> > shouldn't this be centralized, i.e. in ruby.port.mk when setting the
> > default version?
> >
> 
> That makes sense to me, though I haven't tried it.  I'll get it tested in a
> bulk and see if there is any fallout.

If you do that, you probably also want to remove the hack from www/webkit that 
forces ruby1.8 for sparc64.

-- 
Antoine



Re: i386 bulk build failures

2014-01-07 Thread David Coppa
On Tue, Jan 7, 2014 at 3:50 PM, Jérémie Courrèges-Anglas  
wrote:
> Stuart Henderson  writes:
>
>> On 2014/01/03 00:06, Juan Francisco Cantero Hurtado wrote:
>>> On Thu, Jan 02, 2014 at 03:16:16PM +, Christian Weisgerber wrote:
>>> > > lang/petite-chez: undefined reference to `__guard'
>>> >
>>> > ONLY_FOR_ARCHS =i386
>>> >
>>> > Hmm, FreeBSD has a port of 8.4 that at least adds amd64.
>>>
>>> The license of Petite Chez is weird and the port is very outdated. We
>>> have better scheme interpreters/compilers like gambit, chicken or
>>> racket. So, ok juanfra@ if someone wants delete the port :)
>>
>> Any other comments about petite-chez? I see that it also uses binary
>> bootstraps provided by upstream and the port doesn't provide a way to
>> regenerate them, making it at best awkward to maintain.
>
> ok to kill it.

here too.

ciao,
David



Re: swig 2.0.11 doesn't build on sparc64 due to ruby

2014-01-07 Thread Jeremy Evans
On Tue, Jan 7, 2014 at 6:02 AM, Federico Schwindt  wrote:

> shouldn't this be centralized, i.e. in ruby.port.mk when setting the
> default version?
>

That makes sense to me, though I haven't tried it.  I'll get it tested in a
bulk and see if there is any fallout.

Thanks,
Jeremy


>
>
> On Mon, Jan 6, 2014 at 6:06 PM, Jeremy Evans wrote:
>
>> On Mon, Jan 6, 2014 at 9:42 AM, Markus Lude  wrote:
>>
>> > Hello,
>> >
>> > with the update of swig to 2.0.11 it doesn't build any more on sparc64.
>> > MODULES lang/ruby uses ruby 2.0 per default now, which doesn't build on
>> > sparc64. Does the new swig need the new ruby or is ruby 1.8 enough?
>> >
>>
>> It still packages on amd64 with "MODRUBY_REV =  1.8".  I suppose something
>> like this may work if we want to build swig on sparc64/hppa/alpha without
>> holding other arches back:
>>
>> .if ${MACHINE_ARCH:Msparc64} || ${MACHINE_ARCH:Mhppa} ||
>> ${MACHINE_ARCH:Malpha}
>> MODRUBY_REV =  1.8
>> .endif
>>
>> Thanks,
>> Jeremy
>>
>
>


Re: i386 bulk build failures

2014-01-07 Thread Jérémie Courrèges-Anglas
Stuart Henderson  writes:

> On 2014/01/03 00:06, Juan Francisco Cantero Hurtado wrote:
>> On Thu, Jan 02, 2014 at 03:16:16PM +, Christian Weisgerber wrote:
>> > > lang/petite-chez: undefined reference to `__guard'
>> > 
>> > ONLY_FOR_ARCHS =i386
>> > 
>> > Hmm, FreeBSD has a port of 8.4 that at least adds amd64.
>> 
>> The license of Petite Chez is weird and the port is very outdated. We
>> have better scheme interpreters/compilers like gambit, chicken or
>> racket. So, ok juanfra@ if someone wants delete the port :)
>
> Any other comments about petite-chez? I see that it also uses binary
> bootstraps provided by upstream and the port doesn't provide a way to
> regenerate them, making it at best awkward to maintain.

ok to kill it.

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



Re: i386 bulk build failures

2014-01-07 Thread Stuart Henderson
On 2014/01/03 00:06, Juan Francisco Cantero Hurtado wrote:
> On Thu, Jan 02, 2014 at 03:16:16PM +, Christian Weisgerber wrote:
> > > lang/petite-chez: undefined reference to `__guard'
> > 
> > ONLY_FOR_ARCHS =i386
> > 
> > Hmm, FreeBSD has a port of 8.4 that at least adds amd64.
> 
> The license of Petite Chez is weird and the port is very outdated. We
> have better scheme interpreters/compilers like gambit, chicken or
> racket. So, ok juanfra@ if someone wants delete the port :)

Any other comments about petite-chez? I see that it also uses binary
bootstraps provided by upstream and the port doesn't provide a way to
regenerate them, making it at best awkward to maintain.





[update] py-virtualenv

2014-01-07 Thread frantisek holop
hello

this is an update to 1.8.4, not the latest,
but 1.9.1 has some strange warnings in the docs
http://www.virtualenv.org/en/1.9.1/
and 1.10 seems to have introduced many backwards
incompatible changes. until that dust settles,
this could be a good version to use.

notes:
${MAINTAINER} agreed to be removed, does not use
it anymore.

now install docs.

i removed the test deps, and added NO_TEST
as it seems to run 0 tests...

===>  Regression tests for py-virtualenv-1.8.4
running test
running egg_info
writing virtualenv.egg-info/PKG-INFO
writing top-level names to virtualenv.egg-info/top_level.txt
writing dependency_links to virtualenv.egg-info/dependency_links.txt
writing entry points to virtualenv.egg-info/entry_points.txt
reading manifest file 'virtualenv.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 
'docs/_templates'
warning: no previously-included files matching '*' found under directory 
'docs/_build'
writing manifest file 'virtualenv.egg-info/SOURCES.txt'
running build_ext

--
Ran 0 tests in 0.044s

OK


please test and commit.

-f
-- 
he who lives by the sword eats with bloody hands.
Index: Makefile
===
RCS file: /cvs/ports/devel/py-virtualenv/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile11 Mar 2013 10:50:27 -  1.6
+++ Makefile7 Jan 2014 14:22:07 -
@@ -2,13 +2,11 @@
 
 COMMENT =  virtual Python environment builder
 
-MODPY_EGG_VERSION =1.7
+MODPY_EGG_VERSION =1.8.4
 DISTNAME = virtualenv-${MODPY_EGG_VERSION}
 PKGNAME =  py-${DISTNAME}
 CATEGORIES =   devel
 
-MAINTAINER =   Wen Heping 
-
 HOMEPAGE = http://www.virtualenv.org/
 
 # MIT
@@ -18,9 +16,11 @@ MASTER_SITES =   ${MASTER_SITE_PYPI:=v/vi
 
 MODULES =  lang/python
 
-TEST_DEPENDS = devel/py-nose \
-   devel/py-mock
-
+NO_TEST =  Yes
 MODPY_SETUPTOOLS = Yes
+
+post-install:
+   ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/virtualenv
+   cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/virtualenv
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/py-virtualenv/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo30 Dec 2011 07:35:59 -  1.3
+++ distinfo7 Jan 2014 14:22:07 -
@@ -1,5 +1,2 @@
-MD5 (virtualenv-1.7.tar.gz) = 3MEF5aOQep3KqXj4E6T1Jg==
-RMD160 (virtualenv-1.7.tar.gz) = XV+ae4K9TsZZ2FOhu6rKrDKWERY=
-SHA1 (virtualenv-1.7.tar.gz) = PJnnWaBkcKGDjJi3UNW3KXKsgtY=
-SHA256 (virtualenv-1.7.tar.gz) = 4yuFHuw76uBIxB3ty+va6EhHUrRCZDa6jX0daUWO9vw=
-SIZE (virtualenv-1.7.tar.gz) = 2125413
+SHA256 (virtualenv-1.8.4.tar.gz) = oW7pn0o7cr4EcEuL0owvIdUQr1RUklAco81Q/emnDLY=
+SIZE (virtualenv-1.8.4.tar.gz) = 1857001
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/py-virtualenv/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   30 Dec 2011 07:35:59 -  1.3
+++ pkg/PLIST   7 Jan 2014 14:22:07 -
@@ -1,5 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.3 2011/12/30 07:35:59 rpointel Exp $
 bin/virtualenv
+bin/virtualenv-${MODPY_VERSION}
 
lib/python${MODPY_VERSION}/site-packages/virtualenv-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
 
lib/python${MODPY_VERSION}/site-packages/virtualenv-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
 
lib/python${MODPY_VERSION}/site-packages/virtualenv-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
@@ -12,6 +13,18 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/virtualenv_support/
 lib/python${MODPY_VERSION}/site-packages/virtualenv_support/__init__.py
 lib/python${MODPY_VERSION}/site-packages/virtualenv_support/__init__.pyc
-lib/python${MODPY_VERSION}/site-packages/virtualenv_support/distribute-0.6.24.tar.gz
-lib/python${MODPY_VERSION}/site-packages/virtualenv_support/pip-1.0.2.tar.gz
+lib/python${MODPY_VERSION}/site-packages/virtualenv_support/distribute-0.6.31.tar.gz
+lib/python${MODPY_VERSION}/site-packages/virtualenv_support/pip-1.2.1.tar.gz
 
lib/python${MODPY_VERSION}/site-packages/virtualenv_support/setuptools-0.6c11-py${MODPY_VERSION}.egg
+share/doc/virtualenv/
+share/doc/virtualenv/Makefile
+share/doc/virtualenv/_theme/
+share/doc/virtualenv/_theme/nature/
+share/doc/virtualenv/_theme/nature/static/
+share/doc/virtualenv/_theme/nature/static/nature.css_t
+share/doc/virtualenv/_theme/nature/static/pygments.css
+share/doc/virtualenv/_theme/nature/theme.conf
+share/doc/virtualenv/conf.py
+share/doc/virtualenv/index.txt
+share/doc/virtualenv/make.bat
+share/doc/virtualenv/news.txt


Re: UPDATE: MPlayer 20140106

2014-01-07 Thread Jan Stary
On Jan 06 19:52:23, b...@comstyle.com wrote:
> Here is an update to MPlayer 20140106.

This is current/i386:

 Configuring for mplayer-20140106
 Checking for cc version ... 4.2.1 
 Checking for working compiler ... yes
 Detected operating system: OpenBSD
 Detected host architecture: i386
 Checking for cross compilation ... no 
 Checking for host cc ... cc 
 Checking for GCC & CPU optimization abilities ... i386 
 Checking for byte order ... little-endian 
 Checking for extern symbol prefix ...  
 Checking for assembler support of -pipe option ... yes 
 Checking for relocatable binary ... no 
 Checking for assembler (as 2.15) ... ok 
 Checking for PIC ... yes 
 Checking for .align is a power of two ... no 
 Checking for ebx availability ... no 
 Checking for yasm ... 
 Error: yasm not found, use --yasm='' if you really want to compile
 without

 Check "config.log" if you do not understand why it failed.
 *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2648
 '/usr/ports/pobj/mplayer-20140106/.configure_done')
 *** Error 1 in /usr/ports/x11/mplayer
 (/usr/ports/infrastructure/mk/bsd.port.mk:2404 'all')

I do have yasm-1.2.0 installed, which provides /usr/local/bin/yasm


Jan



Re: Update: mail/greyscanner to version 2.00

2014-01-07 Thread Jan Stary
Currently, the greyscanner manpage is generated by Pod::Man;
Here is an mdoc(7) manpage and a diff that removes the doc
from the actual Perl script.

Jan

.Dd $Mdocdate$
.Dt GREYSCANNER 1
.Os
.Sh NAME
.Nm greyscanner
.Nd greytrapping daemon for spamd
.Sh SYNOPSIS
.Nm greyscanner
.Sh DESCRIPTION
.Nm
complements OpenBSD
.Xr spamd 8
greylisting by applying additional heuristics to the greylisted hosts.
The heuristics include:
.Bl -bullet -compact
.It
confirm senders email address is valid
.It
confirm recipient address(es) is valid
.It
confirm existence of the senders MX or A record in DNS
.El
and more.
Offending hosts are flagged as TRAPPED in the spamd database.
.Sh FILES
.Pa /etc/mail/greyscanner.conf
optional config file
.Sh SEE ALSO
.Xr spamd 8 ,
.Xr spamdb 8 ,
.Lk http://bitbucket.org/bonetruck/greyscanner
.Sh HISTORY
.An Bob Beck Aq Mt b...@cvs.openbsd.org
created
.Nm
in 2006.
.Pp
.An Jim Razmus II Aq Mt j...@bonetruck.org
revised the program, added documentation, and packaged it for
.Ox
OpenBSD
in 2009.
.Sh BUGS
The DNS checks triggered by setting
.Dv DNS_SOCK_MAX
can give false negatives.



448,479d447
< 
< __END__
< 
< =head1 NAME
< 
< greyscanner - Grey trapping daemon for OpenBSD spamd
< 
< =head1 SYNOPSIS
< 
< B
< 
< =head1 DESCRIPTION
< 
< greyscanner complements OpenBSD spamd(8) greylisting by applying
< additional heuristics to greylisted hosts.  Additional heuristics
< include: confirm senders email address is valid, confirm existence of
< the senders MX or A record in DNS, confirm recipient address(es) is
< valid, and more.  Offending hosts are flagged as 'trapped' in the spamd
< database.
< 
< =head1 FILES
< 
< F optional config file
< 
< =head1 SEE ALSO
< 
< spamd(8), spamdb(8), L
< 
< =head1 HISTORY
< 
< Bob Beck created greyscanner in 2006.  Jim Razmus II revised the
< program, added documentation, and packaged it for OpenBSD in 2009.



Re: swig 2.0.11 doesn't build on sparc64 due to ruby

2014-01-07 Thread Federico Schwindt
shouldn't this be centralized, i.e. in ruby.port.mk when setting the
default version?


On Mon, Jan 6, 2014 at 6:06 PM, Jeremy Evans  wrote:

> On Mon, Jan 6, 2014 at 9:42 AM, Markus Lude  wrote:
>
> > Hello,
> >
> > with the update of swig to 2.0.11 it doesn't build any more on sparc64.
> > MODULES lang/ruby uses ruby 2.0 per default now, which doesn't build on
> > sparc64. Does the new swig need the new ruby or is ruby 1.8 enough?
> >
>
> It still packages on amd64 with "MODRUBY_REV =  1.8".  I suppose something
> like this may work if we want to build swig on sparc64/hppa/alpha without
> holding other arches back:
>
> .if ${MACHINE_ARCH:Msparc64} || ${MACHINE_ARCH:Mhppa} ||
> ${MACHINE_ARCH:Malpha}
> MODRUBY_REV =  1.8
> .endif
>
> Thanks,
> Jeremy
>


Re: Update: mail/greyscanner to version 2.00

2014-01-07 Thread Jan Stary
> (1) the check performed is actually
> 
>   if ( $q[0]->qtype eq 'A' || $q[0]->qtype eq 'MX' )
> 
> i.e. a sender gets a pass if there was an A _or_ and MX for it

Come to think of it, this might be intended.
Some domains do have an MX for domain.org,
and do not have an A for 'domain.org'
- but do have an A for www.domain.org etc;
which is perfectly OK. Right?



Re: NEW: converters/uudeview

2014-01-07 Thread Mikolaj Kucharski
Ping. Port at:

http://marc.info/?l=openbsd-ports&m=138614602418802&w=2

On Wed, Dec 04, 2013 at 08:33:23AM +, Mikolaj Kucharski wrote:
> Hi,
> 
> I've incorporated some Debian patches, via Dag Wieers's src.rpm (also in
> Gentoo[1]). I don't use nor need TK version of the script, so I've
> disabled it. I've looked into it though and configure doesn't handle
> detection well enough. I think it can go as is, without xdeview.
> 
> Comment:
> program for uu/xx/Base64/BinHex/yEnc de/encoding
> 
> Description:
> This is a powerful program at which you can throw a mess of unordered
> files in any of BinHex, uuencoded, xxencoded, Base64 or yEnc formats
> and expect them all to be properly decoded. These formats are
> frequently encountered when sending binary files via news or mail.
> 
> WWW: http://www.fpx.de/fp/Software/UUDeview/
> 
> 
> References:
>  1. 
> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/uudeview/files/
> 

-- 
best regards
q#



Re: Update: mail/greyscanner to version 2.00

2014-01-07 Thread Jan Stary
On Dec 29 19:18:07, h...@stare.cz wrote:
> On Dec 29 10:55:16, j...@bonetruck.org wrote:
> > * Jim Razmus  [131229 10:18]:
> > > I've just released greyscanner version 2.00.  Notable changes include:
> > > 
> > > -config file moved from /etc to /etc/mail
> > > -now runs with privilege separation using the _greyscanner user
> > > 
> > > Anyone using the external address checking feature should ensure those
> > > programs are executable by _greyscanner.
> > > 
> > > The attached patch updates the port.  ok to commit?
> > > 
> > > jim@
> > 
> > Now with the correct group id.  Sorry for the noise.
> 
> Works well for me.
> Thanks!

After some days of use, and discussions with Jim,
I think that while the update to 2.00 is an improvement,
the DNS checks in greyscanner are broken.

If DNS_SOCK_MAX is defined in the config,
greyscanner checks that the domain part of every sender
has an A and an MX record, and blacklists everything else.
That itself is surely a good thing, but:

(1) the check performed is actually

if ( $q[0]->qtype eq 'A' || $q[0]->qtype eq 'MX' )

i.e. a sender gets a pass if there was an A _or_ and MX for it

(2) I am getting a lot of false negatives, such as
 
Jan  3 11:43:11 www greyscanner[5816]: Trapped 82.113.55.75: Mailed from sender 
xnet.cz with no MX or A 

This is a valid sender, and xnet.cz has both MX and A.
Quite a few of my valid senders got blacklisted like this.

Jan  6 01:15:53 www greyscanner[10017]: Trapped 115.67.162.38: Mailed from 
sender google.com with no MX or A 

Needless to say, there is an MX and an A for google.com.

The fact that 115.67.162.38 itself does not have an A
and is not actually google's outgoing SMTP server does
not come into it: this is not checked in greyscanner.

Also, there is a hardcode limit of 4 (four) timeouts;
once that happens, everything not resolved so far
is blacklisted.


So while the other features of greyscanner (such as MAX_SENDERS_RATIO)
do a lot of good, I believe the DNS checks should be turned of by default,
until fixed.

Jan


--- greyscanner.conf.orig   Tue Jan  7 13:54:02 2014
+++ greyscanner.confTue Jan  7 13:54:08 2014
@@ -9,7 +9,7 @@ $SCAN_INTERVAL = 600;
 # suggestion which works for a busy site is 50.  Don't crank it too high
 # or you'll hit maxfiles, etc.  Setting this to 0 will *disable* the DNS
 # checks for MX and A records.
-$DNS_SOCK_MAX = 50;
+$DNS_SOCK_MAX = 0;
 
 # Perfom count checks on hosts with more than this many tuples
 $SUSPECT_TUPLES = 5;