CVS: cvs.openbsd.org: ports

2014-12-27 Thread Benoit Lecocq
CVSROOT:/cvs
Module name:ports
Changes by: ben...@cvs.openbsd.org  2014/12/27 02:02:43

Modified files:
devel/p5-Package-Variant: Makefile distinfo 

Log message:
Update to p5-Package-Variant-1.002002.

ok afresh1@ (maintainer)



CVS: cvs.openbsd.org: ports

2014-12-27 Thread Benoit Lecocq
CVSROOT:/cvs
Module name:ports
Changes by: ben...@cvs.openbsd.org  2014/12/27 02:05:06

Modified files:
devel/p5-Data-Dumper-Concise: Makefile distinfo 

Log message:
Update to p5-Data-Dumper-Concise-2.022.

ok afresh1@ (maintainer)



CVS: cvs.openbsd.org: ports

2014-12-27 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2014/12/27 08:32:38

Modified files:
devel/ruby-hub : Makefile distinfo 

Log message:
update to hub-1.12.4



CVS: cvs.openbsd.org: ports

2014-12-27 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2014/12/27 08:33:54

Modified files:
sysutils/gitolite: Makefile distinfo 
sysutils/gitolite/patches: patch-install 
sysutils/gitolite/pkg: PLIST 

Log message:
update to gitolite-3.6.2



CVS: cvs.openbsd.org: ports

2014-12-27 Thread Robert Peichaer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2014/12/27 08:57:41

Modified files:
x11/gnome/libgda: Makefile 

Log message:
Fix typo in description.

OK aja@



CVS: cvs.openbsd.org: ports

2014-12-27 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2014/12/27 12:06:45

Modified files:
net/ntp: Tag: OPENBSD_5_6 Makefile distinfo 
net/ntp/patches: Tag: OPENBSD_5_6 patch-sntp_m4_ntp_libevent_m4 
net/ntp/pkg: Tag: OPENBSD_5_6 PLIST 
Added files:
net/ntp/patches: Tag: OPENBSD_5_6 patch-libparse_info_trimble_c 
 patch-ntpd_ntp_io_c 

Log message:
SECURITY update to ntp-4.2.8, requested by jasper@

Tested by Daniel Jakots, thanks!

Original commit message:
Update to ntp-4.2.8, fixes for several CVEs.

- Weak default key in config_auth() - CVE-2014-9293
- non-cryptographic random number generator with weak seed used by
ntp-keygen to generate symmetric keys - CVE-2014-9294
- Buffer overflow in crypto_recv() - CVE-2014-9295
- Buffer overflow in ctl_putdata() - CVE-2014-9295
- Buffer overflow in configure() - CVE-2014-9295
- receive(): missing return on error - CVE-2014-9296

ok naddy@



CVS: cvs.openbsd.org: ports

2014-12-27 Thread Brad Smith
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2014/12/27 17:30:18

Modified files:
devel/llvm : Makefile 
devel/llvm/patches: patch-lib_Target_PowerPC_PPCAsmPrinter_cpp 
patch-lib_Target_PowerPC_PPCISelDAGToDAG_cpp 
Added files:
devel/llvm/patches: 
patch-lib_Target_PowerPC_AsmParser_PPCAsmParser_cpp 

Log message:
r203699
Allow exclamation and tilde to be parsed as a part of the ppc asm operand.

r209821
[PPC] Use alias symbols in address computation.



Re: [NEW] notmuch-0.19

2014-12-27 Thread Dmitrij D. Czarkoff
Timo Myyrä said:
 Bash completion seemed to check for bash-completion=1.90 package which
 doesn't seem to be present in ports. So those won't install without
 patching. Zsh files would be installed but I don't have a clue how those
 shells use the completions and where they should be placed.
 So I left them out.

Here's updated port with completion (put to places where they appear
most consistently according to pkg_locate).

Other changes:

 * Minor format tweaks for Makefile
 * V variable removed, as it does not seem to be needed much
 * License marker fixed (was GPLv2, but COPYING says it is GPLv3+)

Sorry for tarball instead of CVS diff - I am trying to keep my local CVS
tree as clean as possible.

P.S.: Apparently zsh-completion locations are a mess right now.

-- 
Dmitrij D. Czarkoff


notmuch.tgz
Description: application/tar-gz


Re: From -static to ${STATIC}

2014-12-27 Thread Stuart Henderson
On 2014/12/25 01:46, Christian Weisgerber wrote:
 The idea is that ports that build static executables should switch
 from specifying -static to ${STATIC} (available in bsd.port.mk,
 defined in bsd.own.mk), so they can become static PIE executables
 on the archs that support this.
 
 There may be a few things that really need -static, but the usual
 instances of rescue utilities or chroot binaries should switch to
 PIE.
 
 A quick grep over the ports tree revealed these candidates; some more
 are likely hiding:
 
 Straightforward replacement -static - ${STATIC} in the port Makefile:
 
   archivers/gtar,static 
   archivers/star,static 
   misc/screen,static
   net/cnupm,static
   net/nslint,static
   shells/dash,static
   shells/tcsh,static
   www/cgit
   www/haserl,static
   www/mimetex
 
 These make references to components that are built static, but the
 details aren't in the port Makefile; they may require patches:
 
   devel/fossil
   mail/femail
   mail/mini_sendmail
   net/icinga/core
   www/fcgi-cgi

devel/fossil has scaffolding inside autoconf to build static and probably
needs patching.

net/icinga/core, www/fcgi-cgi, mail/mini_sendmail, mail/femail add -static
to LDFLAGS or to linker command lines in patches.

fcgi-cgi uses pkg-config --libs --static glib-2.0 to fetch static
linking instructions, this just adds the shared library dependencies but
doesn't add -static to the linker flags, so I don't think we need to do
anything special there, just change fcgi_cgi_static_LDFLAGS=-static
to fcgi_cgi_static_LDFLAGS=${STATIC}.

$ pkg-config --libs --static glib-2.0
-L/usr/local/lib -pthread -lglib-2.0 -lintl -liconv -lpcre
$ pkg-config --libs glib-2.0
-L/usr/local/lib -lglib-2.0 -lintl

Does this diff look reasonable?

Index: Makefile
===
RCS file: /cvs/ports/www/fcgi-cgi/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile22 Jul 2014 10:55:41 -  1.13
+++ Makefile27 Dec 2014 13:47:53 -
@@ -8,7 +8,7 @@ DISTNAME=   fcgi-cgi-$V
 PKGNAME-main=  fcgi-cgi-$V
 PKGNAME-static=fcgi-cgi-static-$V
 REVISION-main= 4
-REVISION-static=5
+REVISION-static= 6
 CATEGORIES=www
 
 HOMEPAGE=  http://redmine.lighttpd.net/projects/fcgi-cgi/wiki
@@ -39,6 +39,7 @@ MODULES=  devel/gettext
 CONFIGURE_STYLE= gnu
 PREFIX-static= ${VARBASE}/www/${TRUEPREFIX}
 
+MAKE_FLAGS=STATIC=${STATIC}
 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
 
Index: patches/patch-Makefile_am
===
RCS file: /cvs/ports/www/fcgi-cgi/patches/patch-Makefile_am,v
retrieving revision 1.3
diff -u -p -r1.3 patch-Makefile_am
--- patches/patch-Makefile_am   28 Mar 2013 23:40:56 -  1.3
+++ patches/patch-Makefile_am   27 Dec 2014 13:47:53 -
@@ -10,5 +10,5 @@ $OpenBSD: patch-Makefile_am,v 1.3 2013/0
  fcgi_cgi_SOURCES=fastcgi.c fcgi-cgi.c
 +
 +fcgi_cgi_static_LDADD=$(GLIB_LIBS_STATIC)
-+fcgi_cgi_static_LDFLAGS=-static
++fcgi_cgi_static_LDFLAGS=${STATIC}
 +fcgi_cgi_static_SOURCES=$(fcgi_cgi_SOURCES)

 Finally, I have no idea if there is a valid reason why this wants
 to be static:
 
   benchmarks/bonnie

This was present in Makefile in the initial import. No idea if it's
required..

 There remain the somewhat connected questions when to throw the
 switch and whether the affected ports should have a revision bump.

I think we want to make sure there has been at least one bump between
5.6 and 5.7, especially for these static things which don't all have
WANTLIBs so may be quite old on some systems. Probably makes sense to
throw the switch after the most common arch have been updated..



Re: the_silver_searcher (ag) update to 0.28

2014-12-27 Thread Florian Stinglmayr
On Fri, Dec 26, 2014 at 02:20:50AM -0500, Jean-Philippe Ouellet wrote:
 Sorry if this gets mangled. My normal mail machine is down.

 It appears that perhaps running auto* was forgotten before making
 this release because when I keep CONFIGURE_STYLE=gnu then it fails
 like so:

 ===  Building for the_silver_searcher-0.28.0
 CDPATH=${ZSH_VERSION+.}:  cd .  /bin/sh 
 /usr/ports/pobj/the_silver_searcher-0.28.0/the_silver_searcher-0.28.0/missing 
 autoconf
 Provide an AUTOCONF_VERSION environment variable, please
 WARNING: 'autoconf' is missing on your system.
  You should only need it if you modified 'configure.ac',
  or m4 files included by it.
  The 'autoconf' program is part of the GNU Autoconf package:
  http://www.gnu.org/software/autoconf/
  It also requires GNU m4 and Perl in order to run:
  http://www.gnu.org/software/m4/
  http://www.perl.org/
 *** Error 127 in 
 /usr/ports/pobj/the_silver_searcher-0.28.0/the_silver_searcher-0.28.0 
 (Makefile:364 './configure')
 *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2748 
 '/usr/ports/pobj/the_silver_searcher-0.28.0/.build_done')
 *** Error 1 in /usr/ports/textproc/the_silver_searcher 
 (/usr/ports/infrastructure/mk/bsd.port.mk:2473 'all')

 None of the previous releases have exhibited this behavior.
 Have I misinterpreted something?


It would not be first time that the upstream tar balls are borked
somehow. This is why I usually wait a little before sending in the
patch.

It seems to work now however, and what Brian has submitted should
build and run just fine.

Regards,
Florian



Re: GnuPGInterface, python-gnupg and duplicity (was: Re: Python GnuPG naming woes)

2014-12-27 Thread David Coppa
Il giorno 23/dic/2014 02.10, Jérémie Courrèges-Anglas j...@wxcvbn.org ha
scritto:

 viq vic...@gmail.com writes:

  So, currently we have security/py-gnupg, which is
  http://py-gnupg.sourceforge.net/ and
  https://pypi.python.org/pypi/GnuPGInterface/

 Yup.

  Now I'm looking into porting
  https://pypi.python.org/pypi/python-gnupg/ and I have no idea how it
  should be named... Unless current one was renamed to
  py-gnupgpinterface or similiar and the new one took it's place.

 The current py-gnupg port could go away.  It isn't used by any port, not
 even duplicity.  Rather than importing python-gnupg under a different
 name, I propose a replacement.  Yes the API is different, but I don't
 think this is a concern.

 Here's a diff that:
 - drops duplicity's dep on GnuPGInterface (it includes its own, improved
   copy).
 - replaces GnuPGInterface-0.3.2 with python-gnupg-0.3.7.  DESCR stolen
   from viq, the test that fails is due to files missing in the tarball.

 ok?

I'm ok with it, fwiw.

 Index: security/py-gnupg/Makefile
 ===
 RCS file: /cvs/ports/security/py-gnupg/Makefile,v
 retrieving revision 1.25
 diff -u -p -r1.25 Makefile
 --- security/py-gnupg/Makefile  11 Mar 2013 11:41:28 -  1.25
 +++ security/py-gnupg/Makefile  23 Dec 2014 01:04:49 -
 @@ -2,26 +2,26 @@

  COMMENT=   Python module for GnuPG interface

 -VERSION=   0.3.2
 -DISTNAME=  GnuPGInterface-${VERSION}
 +VERSION=   0.3.7
 +DISTNAME=  python-gnupg-${VERSION}
  PKGNAME=   py-gnupg-${VERSION}

 -REVISION=  6
 +CATEGORIES=security devel

 -CATEGORIES=security devel
 +HOMEPAGE=  https://bitbucket.org/vinay.sajip/python-gnupg

 -HOMEPAGE=  http://py-gnupg.sourceforge.net/
 -
 -# LGPL
 +# BSD 3-clause
  PERMIT_PACKAGE_CDROM=  Yes

 -MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=py-gnupg/}
 +MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-gnupg/}

  MODULES=   lang/python

  BUILD_DEPENDS= ${RUN_DEPENDS}
  RUN_DEPENDS=   security/gnupg

 -NO_TEST=   Yes
 +do-test:
 +   cd ${WRKSRC}  \
 +   ${SETENV} ${MAKE_ENV} LOGNAME=nobody ${MODPY_BIN}
test_gnupg.py

  .include bsd.port.mk
 Index: security/py-gnupg/distinfo
 ===
 RCS file: /cvs/ports/security/py-gnupg/distinfo,v
 retrieving revision 1.3
 diff -u -p -r1.3 distinfo
 --- security/py-gnupg/distinfo  5 Apr 2007 17:26:09 -   1.3
 +++ security/py-gnupg/distinfo  22 Dec 2014 23:50:05 -
 @@ -1,5 +1,2 @@
 -MD5 (GnuPGInterface-0.3.2.tar.gz) = 1GJ9g0Rvlr2MIvjRXbP3wg==
 -RMD160 (GnuPGInterface-0.3.2.tar.gz) = e8Wudb8XIDRCz9qLvbQwsvAv3XU=
 -SHA1 (GnuPGInterface-0.3.2.tar.gz) = TZFrD6G6LRiU79wbwMFOpOa0P6Y=
 -SHA256 (GnuPGInterface-0.3.2.tar.gz) =
DqZyJR4uP3G2L+8MAVOVGdUA9rM4+AOva1fmenPMqOY=
 -SIZE (GnuPGInterface-0.3.2.tar.gz) = 19875
 +SHA256 (python-gnupg-0.3.7.tar.gz) =
eEOGHIl3CSeeIrSTLzrtCoTNpG5KViSnVvksMqF+6cE=
 +SIZE (python-gnupg-0.3.7.tar.gz) = 24725
 Index: security/py-gnupg/patches/patch-setup_py
 ===
 RCS file: security/py-gnupg/patches/patch-setup_py
 diff -N security/py-gnupg/patches/patch-setup_py
 --- security/py-gnupg/patches/patch-setup_py9 Feb 2004 19:15:39
-   1.1
 +++ /dev/null   1 Jan 1970 00:00:00 -
 @@ -1,12 +0,0 @@
 -$OpenBSD: patch-setup_py,v 1.1 2004/02/09 19:15:39 xsa Exp $
  setup.py.orig  2002-01-11 21:20:51.0 +0100
 -+++ setup.py   2004-01-02 16:31:32.0 +0100
 -@@ -14,7 +14,7 @@ distutils.core.setup( name = 'GnuPGInter
 - long_description = long_description,
 -   author = 'Frank J. Tobin',
 -   author_email = 'fto...@users.sourceforge.net',
 --licence = 'LGPL',
 -+license = 'LGPL',
 - platforms = 'POSIX',
 - keywords = 'GnuPG gpg',
 -   url = 'http://py-gnupg.sourceforge.net/',
 Index: security/py-gnupg/pkg/DESCR
 ===
 RCS file: /cvs/ports/security/py-gnupg/pkg/DESCR,v
 retrieving revision 1.2
 diff -u -p -r1.2 DESCR
 --- security/py-gnupg/pkg/DESCR 31 Jul 2003 19:11:59 -  1.2
 +++ security/py-gnupg/pkg/DESCR 23 Dec 2014 00:53:13 -
 @@ -1,3 +1,6 @@
 -GnuPGInterface is a Python module to interface with GnuPG.  It
 -concentrates on interacting with GnuPG via filehandles, providing
 -access to control GnuPG via versatile and extensible means.
 +The gnupg module allows Python programs to make use of the
 +functionality provided by the GNU Privacy Guard (abbreviated GPG or
 +GnuPG). Using this module, Python programs can encrypt and decrypt
 +data, digitally sign documents and verify digital signatures, manage
 +(generate, list and delete) encryption keys, using proven Public Key
 +Infrastructure (PKI) encryption technology based on 

Re: From -static to ${STATIC}

2014-12-27 Thread Alexey Suslikov
Christian Weisgerber naddy at mips.inka.de writes:

   mail/femail
   mail/mini_sendmail

I have tried mini_sendmail from www chroot in the past. Had no luck.
Ended up with femail :)



Re: From -static to ${STATIC}

2014-12-27 Thread Jeremie Courreges-Anglas
Looks like it works fine here.



Re: From -static to ${STATIC}

2014-12-27 Thread James Turner
On Thu, Dec 25, 2014 at 01:46:18AM +0100, Christian Weisgerber wrote:
 The idea is that ports that build static executables should switch
 from specifying -static to ${STATIC} (available in bsd.port.mk,
 defined in bsd.own.mk), so they can become static PIE executables
 on the archs that support this.
 
 There may be a few things that really need -static, but the usual
 instances of rescue utilities or chroot binaries should switch to
 PIE.
 

...

Something like the attached for fossil?

-- 
James Turner

Index: Makefile
===
RCS file: /cvs/ports/devel/fossil/Makefile,v
retrieving revision 1.44
diff -u -p -r1.44 Makefile
--- Makefile13 Jun 2014 02:30:31 -  1.44
+++ Makefile27 Dec 2014 20:00:13 -
@@ -4,6 +4,7 @@ COMMENT =   simple distributed software c
 
 DISTNAME = fossil-src-20140612172556
 PKGNAME =  fossil-1.29
+REVISION = 0
 EPOCH =0
 CATEGORIES =   devel www
 
@@ -34,12 +35,15 @@ PREFIX =${VARBASE}/www
 CONFLICT_MARKER =  fossil-*-static
 .endif
 
-SUBST_VARS +=  CONFLICT_MARKER
+SUBST_VARS +=  CONFLICT_MARKER STATIC
 
 TEST_DEPENDS = ${MODTCL_RUN_DEPENDS}
 
 post-extract:
@rm -f ${WRKSRC}/src/sqlite3.h
+
+pre-configure:
+   ${SUBST_CMD} ${WRKSRC}/auto.def
 
 do-test:
@cd ${WRKSRC}  ${MODTCL_BIN} test/tester.tcl fossil
Index: patches/patch-auto_def
===
RCS file: patches/patch-auto_def
diff -N patches/patch-auto_def
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-auto_def  27 Dec 2014 20:00:13 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- auto.def.orig  Sat Dec 27 14:33:25 2014
 auto.def   Sat Dec 27 14:34:05 2014
+@@ -88,7 +88,7 @@ if {[opt-bool json]} {
+ 
+ if {[opt-bool static]} {
+ # XXX: This will not work on all systems.
+-define-append EXTRA_LDFLAGS -static
++define-append EXTRA_LDFLAGS ${STATIC}
+ }
+ 
+ set tclpath [opt-val with-tcl]



ports/net/no-ip + noip2.8

2014-12-27 Thread Matt Markfort
Dear List Members,

I am unable to find the port maintainer for ports/net/no-ip and I'd
like for this man page to be added to the port. It's especially useful
information when defining pfctl(8) rules.

.\   no-ip.com dynamic IP update client for Linux
.\
.\   Copyright 2000-2006 Free Software Foundation, Inc.
.\
.\   This program is free software; you can redistribute it and/or modify
.\   it under the terms of the GNU General Public License as published by
.\   the Free Software Foundation; either version 2, or (at your option)
.\   any later version.
.\
.\   This program is distributed in the hope that it will be useful,
.\   but WITHOUT ANY WARRANTY; without even the implied warranty of
.\   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\   GNU General Public License for more details.
.\
.\   You should have received a copy of the GNU General Public License
.\   along with this program; if not, write to the Free Software
.\   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.\
.\   written June 2000 by jo...@onevista.com
.\
.\   copyright transferred from
.\  One Vista Associates
.\   to
.\   Free Software Foundation, Inc.
.\
.\   October 6, 2000 (johna)
.\ noip2.8 retrieved from http://manpages.ubuntu.com/manpages/ \
.\ lucid/man8/noip.2.8.html
.\ Retrieved: 2014-12-09 13:42:00 CST
.\ mandoc formatted 2014-12-27 for OpenBSD_5_6 by matthew.markf...@gmail.com
.Dd December 18, 2014
.Dt noip2 8
.Os OpenBSD 5.6
.Sh NAME
.Nm noip2
.Nd No-IP.com Dynamic DNS Update Client (DUC)
.Sh SYNOPSIS
.Nm noip2
.Oo
.Op Fl C
.Op Fl F
.Op Fl Y
.Op Fl L Ar host_groups
.Op Fl U Ar #min
.Op Fl u Ar username
.Op Fl p Ar password
.Op Fl x Ar progname
.Oc
.Op Fl c Ar file
.Op Fl d
.Op Fl D Ar pid
.Op Fl i Ar addr
.Op Fl S
.Op Fl M
.Op Fl h
.Sh DESCRIPTION
The
.Nm
Dynamic DNS Update Client (DUC) periodically checks the
local IP address to see if it  has  changed.  If  the  IP  address  has
changed,  the client notifies the No-IP.com DNS servers and updates the
IP  address  corresponding  to  the  user's   No-IP/No-IP+   configured
hostname(s).
.Pp
A valid No-IP.com account is required.
.Pp
The client communicates with the No-IP.com server over TCP on port 8245
.Pq outgoing .
.Pp
The options are as follows:
.Bl -tag -width indent
.It Fl C
Create configuration data file
.It Fl F
Force NAT off
.It Fl Y
Select all hosts/groups
.It Fl L Ar hosts_groups
Select  supplied  hosts/groups
.It Fl U Ar minutes
Set  update  interval  in  minutes
.It Fl u Ar username
Use supplied username
.It Fl p Ar password
Use supplied password
.It Fl x Ar executable
Use supplied executable
.It Fl c Ar config_file
Use alternate path to store configuration data file
.It Fl d
Increase debug verbosity
.It Fl D Ar processID
Toggle debug flag for PID
.It Fl i Ar IPaddress
Use  supplied  address.  This  option  is also useful to run the
client once and exit.
.It Fl I Ar interface
Use supplied interface
.It Fl S
Show configuration data
.Po requires superuser access Pc
.It Fl M
Permit multiple instances
.It Fl K Ar processID
Terminate instance PID
.It Fl z
Activate shm dump code
.It Fl h
Display usage information
.El
.Sh EXAMPLES
.Bd -offset -indent
Prompted walkthrough to generate default binary configuration file
.Pq minimal first-time step
.Dl # Nm Fl C
.Pp
Show configuration information from default configuration file
.Pa /etc/noip2.conf
.Dl # Nm Fl S
.Pp
Setting update interval for every 1,440 minutes
.Pq 24 hours * 60 minutes per hour ,
use No-IP.com username and password to update client information with No-IP.com
.Dl # Nm Fl C Fl U Fc 1440 Fl u Ar username Fl p Ar password
.Ed
.Sh FILES
.Bl -tag -width Ds -compact
.It Pa /etc/noip2.conf
Binary default configuration file

.It Pa /usr/local/share/doc/no-ip/README.FIRST
.El
.Sh HISTORY
.Nm
first appeared in ports for
.Ox 3.1 .
.Sh LICENSE
.Nm
can be distributed under the terms of the GPLv2 license.
.Sh AUTHORS
.Bd -width -indent
.Nm
was written by John Adams
.Aq jo...@onevista.com




--
Matthew Markfort
Microsoft Certified Professional