Update ruby gem ext ports to latest versions

2015-07-19 Thread Jeremy Evans
This diff updates most of the ruby gem ports with C extensions that were
not already at their latest version to their latest version.  There are
also some gem ports without C extensions that need to be updated at the
same time due to dependency issues, those are included.  In order to
avoid spamming the list, I'm sending a single email instead of a
separate email per port.

Here are the included updates:

audio/ruby-taglib 0.6.0 -> 0.7.0
databases/ruby-amalgalite 1.3.0 -> 1.4.0
databases/ruby-ldap 0.9.12 -> 0.9.17
databases/ruby-pg 0.18.0 -> 0.18.2
databases/ruby-sqlite3 1.3.9 -> 1.3.10
databases/ruby-switch-db-mysql 0.3.0 -> 0.3.2
databases/ruby-switch-db-postgres 0.3.0 -> 0.3.1
databases/ruby-switch-db-sqlite3 0.1.3 -> 0.1.5
devel/ruby-arrayfields 4.7.4 -> 4.9.2
devel/ruby-atomic 1.1.16 -> 1.1.99
devel/ruby-ffi 1.2.0 -> 1.9.10
devel/ruby-gir_ffi 0.5.2 -> 0.7.9
devel/ruby-indentation 0.0.7 -> 0.1.1
devel/ruby-ncurses 1.2.1 -> 1.2.4
devel/ruby-gsl 1.16.0.4 -> 1.16.0.6
security/ruby-bcrypt 3.0.1 -> 3.1.10
textproc/ruby-nokogiri 1.6.3.1 -> 1.6.6.2
textproc/ruby-rdiscount 1.6.5 -> 2.1.8
textproc/ruby-redcarpet 3.2.3 -> 3.3.2
www/ruby-capybara-webkit 1.5.0 -> 1.6.0
www/ruby-fcgi 0.9.1 -> 0.9.2.1

In many cases I've renabled test code in the ports so that make test
will work.  In other cases (many of the database ports), I've tested
them manually.  There are a few ports that I haven't tested beyond
basic use, I'll try to do a more complete test of those before I commit
them.  I've tested all ports depending on these ports, and they still
build.

I'll probably be committing these later in the week or next weekend,
but any feedback is appreciated.

Thanks,
Jeremy

Index: audio/ruby-taglib/Makefile
===
RCS file: /cvs/ports/audio/ruby-taglib/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- audio/ruby-taglib/Makefile  28 May 2014 21:59:41 -  1.1.1.1
+++ audio/ruby-taglib/Makefile  20 Jul 2015 00:15:43 -
@@ -2,7 +2,7 @@
 
 COMMENT =  reads and writes metadata/tags for many audio formats
 
-VERSION =  0.6.0
+VERSION =  0.7.0
 DISTNAME = taglib-ruby-${VERSION}
 PKGNAME =  taglib-${VERSION}
 CATEGORIES =   audio
Index: audio/ruby-taglib/distinfo
===
RCS file: /cvs/ports/audio/ruby-taglib/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- audio/ruby-taglib/distinfo  28 May 2014 21:59:41 -  1.1.1.1
+++ audio/ruby-taglib/distinfo  20 Jul 2015 00:15:49 -
@@ -1,2 +1,2 @@
-SHA256 (taglib-ruby-0.6.0.gem) = bAjOlublz82wGG/UC+0Kxj211nECQANSgu3i2pvYRBU=
-SIZE (taglib-ruby-0.6.0.gem) = 504320
+SHA256 (taglib-ruby-0.7.0.gem) = HExD0FSx2rVclPQMD43IC2YedZMp3ddDNi9n6UKXSH4=
+SIZE (taglib-ruby-0.7.0.gem) = 754176
Index: audio/ruby-taglib/pkg/PLIST
===
RCS file: /cvs/ports/audio/ruby-taglib/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PLIST
--- audio/ruby-taglib/pkg/PLIST 28 May 2014 21:59:41 -  1.1.1.1
+++ audio/ruby-taglib/pkg/PLIST 20 Jul 2015 00:17:18 -
@@ -15,6 +15,7 @@ ${GEM_LIB}/gems/${DISTNAME}/docs/default
 ${GEM_LIB}/gems/${DISTNAME}/docs/default/fulldoc/html/css/
 ${GEM_LIB}/gems/${DISTNAME}/docs/default/fulldoc/html/css/common.css
 ${GEM_LIB}/gems/${DISTNAME}/docs/taglib/
+${GEM_LIB}/gems/${DISTNAME}/docs/taglib/aiff.rb
 ${GEM_LIB}/gems/${DISTNAME}/docs/taglib/base.rb
 ${GEM_LIB}/gems/${DISTNAME}/docs/taglib/flac.rb
 ${GEM_LIB}/gems/${DISTNAME}/docs/taglib/id3v1.rb
@@ -22,10 +23,13 @@ ${GEM_LIB}/gems/${DISTNAME}/docs/taglib/
 ${GEM_LIB}/gems/${DISTNAME}/docs/taglib/mp4.rb
 ${GEM_LIB}/gems/${DISTNAME}/docs/taglib/mpeg.rb
 ${GEM_LIB}/gems/${DISTNAME}/docs/taglib/ogg.rb
+${GEM_LIB}/gems/${DISTNAME}/docs/taglib/riff.rb
 ${GEM_LIB}/gems/${DISTNAME}/docs/taglib/vorbis.rb
+${GEM_LIB}/gems/${DISTNAME}/docs/taglib/wav.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib/
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/taglib/aiff.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib/base.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib/flac.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib/id3v1.rb
@@ -35,6 +39,8 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/taglib/m
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib/ogg.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib/version.rb
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib/vorbis.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/taglib/wav.rb
+${GEM_LIB}/gems/${DISTNAME}/lib/taglib_aiff.so
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib_base.so
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib_flac.so
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib_id3v1.so
@@ -43,6 +49,7 @@ ${GEM_LIB}/gems/${DISTNAME}/lib/taglib_m
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib_mpeg.so
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib_ogg.so
 ${GEM_LIB}/gems/${DISTNAME}/lib/taglib_vorbis.so
+${GEM_LIB}/gems/${DISTNAME}/lib/taglib_wav.so
 

Re: UPDATE: devel/py-serial 2.4 => 2.7 (+ python3 support)

2015-07-19 Thread Jérémie Courrèges-Anglas
j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes:

[...]

> I doubt you successfully packages the python2 version with the updated
> PLIST. :)

OK I understand what's been going on; I'll fix that.

/me runs
-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: UPDATE: devel/py-serial 2.4 => 2.7 (+ python3 support)

2015-07-19 Thread Jérémie Courrèges-Anglas
Daniel Winters  writes:

> Hi,

Hi,

>>> Thanks for the pointers. Yes that's better diff - it's working fine
>>> with my arduino on amd64 - will test on i386 with a different serial
>>> device.
>>>
>> Also tested on i386.
>
> Fred and Jérémie, thanks for working on this!
>
> Here is a slightly tweaked diff with the following changes:
>
> - fix $DOCSDIR and $EXAMPLESDIR to not get a directory named py--serial

Good catch.

> - do not install miniterm.py in $PREFIX/bin, I do not think it is that
>   useful

Well, you're still installing it but without renaming it, this means you
can't install the python2 and python3 packages at the same time.  Since
the work to cope with both versions has already been done, I propose not
to throw it away.

> - install a bit more documentation 

Ack.

> - update my contact details
>
> Tested on amd64 with both py2 and py3 without issues.

I doubt you successfully packages the python2 version with the updated
PLIST. :)

I'll commit my proposal with your s/py--serial/py-serial/ fix and the
doc addition.

Thanks,
-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [update] devel/libtalloc -> 2.1.2 (samba4)

2015-07-19 Thread Jérémie Courrèges-Anglas
Ian Mcwilliam  writes:

> Could  libtalloc and tdb python parts be split into multiple packages so we 
> don't have to install python module libs unless there is something python 
> that depends on these? Just a thought.

sqlite> select * from depends where dependspath like 'databases/tdb%';
audio/rhythmbox|databases/tdb|||databases/tdb|L
databases/tdbc-sqlite3|databases/tdbc|||databases/tdbc|B
databases/tdbc-sqlite3|databases/tdbc|||databases/tdbc|R
mail/fdm|STEM->=1.2.7:databases/tdb|STEM->=1.2.7||databases/tdb|L
net/samba,-main|STEM->=1.2.7:databases/tdb|STEM->=1.2.7||databases/tdb|L
net/samba,ldap,-main|STEM->=1.2.7:databases/tdb|STEM->=1.2.7||databases/tdb|L
sqlite> select * from depends where dependspath like 'devel/libtalloc%';
net/ocserv|devel/libtalloc|||devel/libtalloc|L
net/samba,-main|devel/libtalloc|||devel/libtalloc|L
net/samba,ldap,-main|devel/libtalloc|||devel/libtalloc|L

fdm and ocserv users now have to install python if not already done.
Nobody yelled at me yet, so it's listed at the bottom of my TODO list.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: www/opera removal

2015-07-19 Thread Stuart Henderson
On 2015/07/20 01:08, Antoine Jacoutot wrote:
> Hi.
> 
> I would like to remove www/opera.
> It's the old opera browser version that has been unmaintained for months and 
> is most probably full of security issues.
> Updating to their new webkit-based opera browser is not really an option 
> considering the state of our Linux emulation.
> 
> It's not like we didn't have other options in ports...
> 
> OK?

Yep. otter-browser is a pretty good alternative to Opera now.



Re: UPDATE: py-werkzeug

2015-07-19 Thread Jérémie Courrèges-Anglas
frantisek holop  writes:

> Stuart Henderson, 18 Jul 2015 21:26:
>> On 2015/07/18 21:39, frantisek holop wrote:
>> > python3 flavor, examples, change to github,
>> > disable tests.
>> 
>> why disable tests?
>
> dependencies.  they have changed considerably
> since the previous port version and would need too many
> new ports to import.  i started doing it, but
> then saturday ended...  i ran the tests from virtualenv
> and all non-skipped passed.  if anybody wants to pick
> up the TEST_DEPENDS, be my guest.

I added a test dep. on py-test, that already helps running most of
the test suite...

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [update] devel/libtalloc -> 2.1.2 (samba4)

2015-07-19 Thread Ian Mcwilliam
Could  libtalloc and tdb python parts be split into multiple packages so we 
don't have to install python module libs unless there is something python that 
depends on these? Just a thought.


Ian McWilliam


From: owner-po...@openbsd.org [owner-po...@openbsd.org] on behalf of Jérémie 
Courrèges-Anglas [j...@wxcvbn.org]
Sent: Saturday, 18 July 2015 5:35 AM
To: OpenBSD ports
Cc: Ian McWilliam
Subject: [update] devel/libtalloc -> 2.1.2 (samba4)

Similar to the databases/tdb update, let's also bite the bullet with
talloc. The waf patches are slightly different because of the addition
of OpenBSD-specific tests that actually make things worse.
(btw I'm not expecting reviews for the waf parts. ;)

net/ocserv and net/samba still look happy.

Comments / ok?

These two updates would help ongoing efforts on net/samba4, even if
switching the ports tree from samba3 to samba4 will happen later,
post-5.8.

Index: Makefile
===
RCS file: /cvs/ports/devel/libtalloc/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile3 Jul 2015 22:47:25 -   1.5
+++ Makefile17 Jul 2015 19:27:51 -
@@ -2,25 +2,40 @@

 SHARED_ONLY=   Yes

-SHARED_LIBS=   talloc 0.0  # .2.0
-
 COMMENT=   hierarchical memory pool system with destructors
-DISTNAME=  talloc-2.0.1
-REVISION=  2
+
+DISTNAME=  talloc-2.1.2
 PKGNAME=   lib${DISTNAME}

+SHARED_LIBS+=  talloc  1.0
+SHARED_LIBS+=  pytalloc-util   0.0
+
 CATEGORIES=devel
+
 HOMEPAGE=  https://talloc.samba.org/

+MAINTAINER=Jeremie Courreges-Anglas 
+
 # LGPLv3+
 PERMIT_PACKAGE_CDROM=  Yes

+WANTLIB += m pthread util ${MODPY_WANTLIB}
+
 MASTER_SITES=  https://samba.org/ftp/talloc/

-CONFIGURE_STYLE=gnu
-CONFIGURE_ENV= CFLAGS="${CFLAGS} -g"
-MAKE_FLAGS+=   TALLOC_SOLIB=libtalloc.so.${LIBtalloc_VERSION} \
-   SHLD_FLAGS="-g -shared" \
-   SONAMEFLAG="" TALLOC_SONAME=""
+MODULES=   lang/python
+MODPY_RUNDEP=  No
+MODPY_ADJ_FILES= buildtools/bin/waf
+
+LIB_DEPENDS=   ${MODPY_LIB_DEPENDS}
+
+WAF_ARGS=  -v -j ${MAKE_JOBS}
+MAKE_FLAGS=WAF_ARGS="${WAF_ARGS}"
+.for _l _v in ${SHARED_LIBS}
+MAKE_ENV += LIB${_l:S/-/_/g}_VERSION=${_v}
+.endfor
+
+CONFIGURE_STYLE= simple
+CONFIGURE_ARGS= --mandir="${PREFIX}/man"

 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/libtalloc/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo13 Jan 2014 22:49:11 -  1.2
+++ distinfo17 Jul 2015 19:27:51 -
@@ -1,2 +1,2 @@
-SHA256 (talloc-2.0.1.tar.gz) = W4EFJ0BfKdVPUO/Xi/LInjGPLNi+0AHyLyoUEv0nybQ=
-SIZE (talloc-2.0.1.tar.gz) = 242426
+SHA256 (talloc-2.1.2.tar.gz) = Iw14o/ynWhWrD11217uurdPB5pWty7CFky0if1wxg40=
+SIZE (talloc-2.1.2.tar.gz) = 423706
Index: patches/patch-Makefile
===
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Makefile  17 Jul 2015 19:27:51 -
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- Makefile.orig  Wed Jul 15 22:53:08 2015
 Makefile   Wed Jul 15 22:52:56 2015
+@@ -1,6 +1,6 @@
+ # simple makefile wrapper to run waf
+
+-WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf
++WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf ${WAF_ARGS}
+
+ all:
+   $(WAF) build
Index: patches/patch-buildtools_wafadmin_Tools_ccroot_py
===
RCS file: patches/patch-buildtools_wafadmin_Tools_ccroot_py
diff -N patches/patch-buildtools_wafadmin_Tools_ccroot_py
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-buildtools_wafadmin_Tools_ccroot_py   17 Jul 2015 19:27:51 
-
@@ -0,0 +1,55 @@
+$OpenBSD$
+
+- badly computed target name, install fails
+
+- at build time, encode the full library name + version in the SONAME
+
+- remove openbsd-specific tests, install fails
+
+--- buildtools/wafadmin/Tools/ccroot.py.orig   Tue Mar 10 06:28:31 2015
 buildtools/wafadmin/Tools/ccroot.pyThu Jul 16 14:29:24 2015
+@@ -183,10 +183,6 @@ def get_target_name(self):
+   # include the version in the dll file name,
+   # the import lib file name stays unversionned.
+   name = name + '-' + nums[0]
+-  elif self.env.DEST_OS == 'openbsd':
+-  pattern = '%s.%s' % (pattern, nums[0])
+-  if len(nums) >= 2:
+-  pattern += '.%s' % nums[1]
+
+   return os.path.join(dir, pattern % name)
+
+@@ -594,7 +590,10 @@ def apply_vnum(self):
+   name2 = libname + '.' + nums[0]
+
+   if self.env.SONAME_ST:
+-  v = self.env.SONAME_ST % name2
++  if sys.platform.startswith('openbsd'):
++

www/opera removal

2015-07-19 Thread Antoine Jacoutot
Hi.

I would like to remove www/opera.
It's the old opera browser version that has been unmaintained for months and is 
most probably full of security issues.
Updating to their new webkit-based opera browser is not really an option 
considering the state of our Linux emulation.

It's not like we didn't have other options in ports...

OK?

-- 
Antoine



Update: print/enscript 1.6.6

2015-07-19 Thread Christian Weisgerber
Does anybody use enscript?  Here's an update to the latest release
1.6.6, which isn't exactly new (2012) but still 12 years newer than
what we currently have in the tree and incorporates all the security
patches.

I intended to test this, but I don't have my Postscript printer
with me at the hackathon.

ok?

Index: Makefile
===
RCS file: /cvs/ports/print/enscript/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- Makefile2 May 2015 09:39:05 -   1.32
+++ Makefile19 Jul 2015 22:48:36 -
@@ -2,23 +2,22 @@
 
 COMMENT=   convert ASCII files to PostScript
 
-DISTNAME=  enscript-1.6.3
-REVISION=  4
+DISTNAME=  enscript-1.6.6
 CATEGORIES=print
 
-HOMEPAGE=  http://www.codento.com/people/mtr/genscript/
+HOMEPAGE=  https://www.gnu.org/software/enscript/
 
-# GPLv2
+# GPLv3
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB += c m
+MASTER_SITES=  ${MASTER_SITE_GNU:=enscript/}
 
-MASTER_SITES=  ${HOMEPAGE} \
-   ${MASTER_SITE_GNU:=enscript/}
+MODULES=   devel/gettext
+WANTLIB=   c m
 
 CONFIGURE_STYLE=   gnu
-# gettext detection is broken and the translations are severely lacking
-CONFIGURE_ARGS=--disable-nls
 USE_GROFF =Yes
+
+FAKE_FLAGS=sysconfdir=${TRUEPREFIX}/share/examples/enscript
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/print/enscript/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo18 Jan 2015 03:14:57 -  1.5
+++ distinfo19 Jul 2015 22:48:36 -
@@ -1,2 +1,2 @@
-SHA256 (enscript-1.6.3.tar.gz) = Z4w9YmXs6xQKugRvQEyTXTGIE67NCxzesBKbCcmw3wA=
-SIZE (enscript-1.6.3.tar.gz) = 814308
+SHA256 (enscript-1.6.6.tar.gz) = bVa62mk00FWzS2yQOZqoWXXmZFesW/UTQnrn/Hf1wLs=
+SIZE (enscript-1.6.6.tar.gz) = 1330493
Index: patches/patch-afm_Makefile_in
===
RCS file: patches/patch-afm_Makefile_in
diff -N patches/patch-afm_Makefile_in
--- patches/patch-afm_Makefile_in   9 Dec 2008 15:23:55 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,22 +0,0 @@
-$OpenBSD: patch-afm_Makefile_in,v 1.2 2008/12/09 15:23:55 jasper Exp $
 afm/Makefile.in.orig   Thu Jan 24 08:39:24 2002
-+++ afm/Makefile.inTue Dec  9 16:23:25 2008
-@@ -227,14 +227,14 @@ maintainer-clean-generic clean mostlyclean distclean m
- 
- 
- install-data-local:
--  $(top_srcdir)/mkinstalldirs $(datadir)/enscript
--  $(top_srcdir)/mkinstalldirs $(datadir)/enscript/afm
-+  $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript
-+  $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript/afm
-   for f in $(EXTRA_DIST); do \
--$(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/afm/$$f; \
-+$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(datadir)/enscript/afm/$$f; \
-   done
- 
- uninstall-local:
--  rm -rf $(datadir)/enscript/afm
-+  rm -rf $(DESTDIR)$(datadir)/enscript/afm
- 
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
- # Otherwise a system limit (for SysV at least) may be exceeded.
Index: patches/patch-lib-Makefile_in
===
RCS file: patches/patch-lib-Makefile_in
diff -N patches/patch-lib-Makefile_in
--- patches/patch-lib-Makefile_in   11 Feb 2005 17:57:31 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
-$OpenBSD: patch-lib-Makefile_in,v 1.3 2005/02/11 17:57:31 naddy Exp $
 lib/Makefile.in.orig   Thu Jan 24 02:39:27 2002
-+++ lib/Makefile.inSat May 11 11:03:21 2002
-@@ -254,12 +254,8 @@ mostlyclean distclean maintainer-clean
- all-local: enscript.cfg
- 
- install-data-local: enscript.cfg
--  $(top_srcdir)/mkinstalldirs $(sysconfdir)
--  if test -r $(sysconfdir)/enscript.cfg; then \
--cp $(sysconfdir)/enscript.cfg $(sysconfdir)/enscript.cfg.old; \
--  else :; \
--  fi
--  $(INSTALL_DATA) enscript.cfg $(sysconfdir)/enscript.cfg
-+  $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/examples/enscript
-+  $(INSTALL_DATA) enscript.cfg 
$(DESTDIR)$(datadir)/examples/enscript/enscript.cfg-sample
- 
- uninstall-local:
-   rm -f $(sysconfdir)/enscript.cfg
Index: patches/patch-po-Makefile_in_in
===
RCS file: patches/patch-po-Makefile_in_in
diff -N patches/patch-po-Makefile_in_in
--- patches/patch-po-Makefile_in_in 11 Feb 2005 17:57:31 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,24 +0,0 @@
-$OpenBSD: patch-po-Makefile_in_in,v 1.3 2005/02/11 17:57:31 naddy Exp $
 po/Makefile.in.in.orig Tue Dec  8 02:08:18 1998
-+++ po/Makefile.in.in  Sat May 11 11:04:02 2002
-@@ -111,16 +111,16 @@ install-data: install-data-@US

Re: UPDATE: security/clusterssh

2015-07-19 Thread Rafael Sadowski
On Mon Jul 20, 2015 at 12:50:05AM +0200, Steven Mestdagh wrote:
> taking maintainer while here. ok?
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/security/clusterssh/Makefile,v
> retrieving revision 1.13
> diff -u -p -u -r1.13 Makefile
> --- Makefile  21 Jan 2015 06:23:34 -  1.13
> +++ Makefile  19 Jul 2015 22:47:41 -
> @@ -2,20 +2,22 @@
>  
>  COMMENT= secure concurrent multi-server terminal control
>  
> -DISTNAME=App-ClusterSSH-4.02_03
> -PKGNAME= clusterssh-4.02.03
> -REVISION =   0
> +DISTNAME=App-ClusterSSH-4.03_06
> +PKGNAME= clusterssh-4.03.06
>  
>  CATEGORIES=  security
>  
>  HOMEPAGE=http://clusterssh.sourceforge.net/
>  

Maybe, https://github.com/duncs/clusterssh ?

>  bin/ccon
>  bin/crsh
> -bin/cscp
>  bin/cssh
>  bin/ctel

hmm, no more cscp? Nothing in the "Changes" file.



Update www/ruby-passgener 4.0.44 -> 5.0.14

2015-07-19 Thread Jeremy Evans
This updates ruby-passenger to the latest version.  This is by far the
most complex ruby gem port, and updating it is always a pain due to
significant build system changes in every major release, and the fact
that passenger is designed to be "user-friendly", which I think
translates to "porter-hostile".

As the diff for the passenger port is around ~440KB, I'm attaching a
gzipped version.  Here are the port-related changes:

Don't split the port into subpackages.  The standalone subpackage was
only about 10% of the size of the main package, and with this new
version only contained a single file (an nginx binary), so I don't think
it makes sense to use subpackages.

Because the subpackage used a different package name stem, in addition
to pkgpath markers in the plist, this also needs quirks.  Here's a diff
for quirks that should go in at the same time.  As the diff shows, you
need separate quirks for each supported ruby version, as at least when
I tested it, it would not automatically update
ruby22-passenger-standalone->ruby22-passenger without a version specific
quirk.

Index: Makefile
===
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.260
diff -u -p -u -p -r1.260 Makefile
--- Makefile19 Jul 2015 21:03:51 -  1.260
+++ Makefile19 Jul 2015 22:16:04 -
@@ -8,7 +8,7 @@ DISTFILES =
 PKGNAME =  quirks-2.105
 PKG_ARCH = *
 MAINTAINER =   Marc Espie 
-REVISION = 0
+REVISION = 1
 
 # BSD
 PERMIT_PACKAGE_CDROM = Yes
Index: files/Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.270
diff -u -p -u -p -r1.270 Quirks.pm
--- files/Quirks.pm 19 Jul 2015 21:03:51 -  1.270
+++ files/Quirks.pm 19 Jul 2015 22:16:05 -
@@ -369,6 +369,11 @@ my $stem_extensions = {
'p5-Search-Xapian' => 'xapian-bindings-perl',
'ruby-archive-tar-minitar' => 'ruby-minitar',
'racket' => 'racket-minimal',
+   'ruby-passenger-standalone' => 'ruby-passenger',
+   'ruby19-passenger-standalone' => 'ruby19-passenger',
+   'ruby20-passenger-standalone' => 'ruby20-passenger',
+   'ruby21-passenger-standalone' => 'ruby21-passenger',
+   'ruby22-passenger-standalone' => 'ruby22-passenger',
 };
 
 # reasons for obsolete packages

There is a lot of churn in the patches.  Many of the files moved
around, few of the previous patches applied.  I found it easier to
start with an empty patches dir, and just repatch as I ran into
problems, looking at the old patches to see where similar changes were
made previously.

This is also going to require a patch for the www/nginx port to remove
the -main subpackage markers, here's a diff for that:

Index: Makefile
===
RCS file: /cvs/ports/www/nginx/Makefile,v
retrieving revision 1.79
diff -u -p -u -p -r1.79 Makefile
--- Makefile17 Jul 2015 00:06:32 -  1.79
+++ Makefile19 Jul 2015 22:48:32 -
@@ -5,7 +5,7 @@ COMMENT=robust and small HTTP server an
 VERSION=   1.9.3
 DISTNAME=  nginx-${VERSION}
 CATEGORIES=www
-REVISION=  1
+REVISION=  2
 
 MASTER_SITES=  http://nginx.org/download/
 MASTER_SITES0= http://dropbox.eait.uq.edu.au/uqdgwynn/distfiles/
@@ -88,8 +88,8 @@ MODULES+= lang/ruby
 MODRUBY_BUILDDEP=  No
 MODRUBY_RUNDEP=No
 CONFIGURE_ARGS+=   
--add-module=${LOCALBASE}/lib/phusion-passenger${GEM_BIN_SUFFIX}/ext/nginx
-BUILD_DEPENDS+=
${MODRUBY_PKG_PREFIX}-passenger-*:www/ruby-passenger,-main
-RUN_DEPENDS+=  
ruby-passenger-*|ruby19-passenger-*|ruby20-passenger-*|ruby21-passenger-*|ruby22-passenger-*:www/ruby-passenger,-main
+BUILD_DEPENDS+=
${MODRUBY_PKG_PREFIX}-passenger-*:www/ruby-passenger
+RUN_DEPENDS+=  
ruby-passenger-*|ruby19-passenger-*|ruby20-passenger-*|ruby21-passenger-*|ruby22-passenger-*:www/ruby-passenger
 WANTLIB+=  m pthread stdc++
 .endif
 
I've tested this on amd64 with all ruby* FLAVORs, both using
nginx-passenger and using passenger-standalone.  I'd appreciate if
anyone could check that it builds on i386.  OKs?

Thanks,
Jeremy


passenger.diff.gz
Description: application/gunzip


UPDATE: security/clusterssh

2015-07-19 Thread Steven Mestdagh
taking maintainer while here. ok?

Index: Makefile
===
RCS file: /cvs/ports/security/clusterssh/Makefile,v
retrieving revision 1.13
diff -u -p -u -r1.13 Makefile
--- Makefile21 Jan 2015 06:23:34 -  1.13
+++ Makefile19 Jul 2015 22:47:41 -
@@ -2,20 +2,22 @@
 
 COMMENT=   secure concurrent multi-server terminal control
 
-DISTNAME=  App-ClusterSSH-4.02_03
-PKGNAME=   clusterssh-4.02.03
-REVISION = 0
+DISTNAME=  App-ClusterSSH-4.03_06
+PKGNAME=   clusterssh-4.03.06
 
 CATEGORIES=security
 
 HOMEPAGE=  http://clusterssh.sourceforge.net/
 
+MAINTAINER=Steven Mestdagh 
+
 # GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=clusterssh/}
+MASTER_SITES=  
${MASTER_SITE_SOURCEFORGE:=clusterssh/}2.%20ClusterSSH%20Series%204/
 
 MODULES=   cpan
+CONFIGURE_STYLE = modbuild
 RUN_DEPENDS=   x11/p5-Tk \
x11/p5-X11-Protocol \
devel/p5-Try-Tiny \
@@ -28,7 +30,8 @@ TEST_DEPENDS=devel/p5-Test-Trap \
devel/p5-Test-Pod \
devel/p5-Test-Pod-Coverage \
devel/p5-Test-DistManifest \
-   devel/p5-Test-Differences
+   devel/p5-Test-Differences \
+   devel/p5-File-Slurp
 
 MAKE_ENV=  TEST_POD=Yes
 
Index: distinfo
===
RCS file: /cvs/ports/security/clusterssh/distinfo,v
retrieving revision 1.7
diff -u -p -u -r1.7 distinfo
--- distinfo16 Mar 2014 08:54:34 -  1.7
+++ distinfo19 Jul 2015 22:47:41 -
@@ -1,2 +1,2 @@
-SHA256 (App-ClusterSSH-4.02_03.tar.gz) = 
lF+YtIdwGeT45KGrN9vkRospFJmXIvpuZomQitguEjM=
-SIZE (App-ClusterSSH-4.02_03.tar.gz) = 78159
+SHA256 (App-ClusterSSH-4.03_06.tar.gz) = 
88XIlmnet6V5vmWg26Hhl7bYufHVs+SLigZGGT0L9vA=
+SIZE (App-ClusterSSH-4.03_06.tar.gz) = 81476
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/clusterssh/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -r1.3 PLIST
--- pkg/PLIST   26 Jan 2012 15:37:48 -  1.3
+++ pkg/PLIST   19 Jul 2015 22:47:41 -
@@ -1,7 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.3 2012/01/26 15:37:48 okan Exp $
 bin/ccon
 bin/crsh
-bin/cscp
 bin/cssh
 bin/ctel
 ${P5SITE}/App/
@@ -10,6 +9,7 @@ ${P5SITE}/App/ClusterSSH.pm
 ${P5SITE}/App/ClusterSSH/Base.pm
 ${P5SITE}/App/ClusterSSH/Cluster.pm
 ${P5SITE}/App/ClusterSSH/Config.pm
+${P5SITE}/App/ClusterSSH/Getopt.pm
 ${P5SITE}/App/ClusterSSH/Helper.pm
 ${P5SITE}/App/ClusterSSH/Host.pm
 ${P5SITE}/App/ClusterSSH/L10N/
@@ -23,6 +23,7 @@ ${P5SITE}/App/ClusterSSH/L10N/en.pm
 @man man/man3p/App::ClusterSSH::Base.3p
 @man man/man3p/App::ClusterSSH::Cluster.3p
 @man man/man3p/App::ClusterSSH::Config.3p
+@man man/man3p/App::ClusterSSH::Getopt.3p
 @man man/man3p/App::ClusterSSH::Helper.3p
 @man man/man3p/App::ClusterSSH::Host.3p
 @man man/man3p/App::ClusterSSH::L10N.3p



[NEW] graphics/mypaint

2015-07-19 Thread albat0...@wanadoo.fr
Hi,

MyPaint is an easy yet powerful drawing software. I tested it on amd64.
Web site: http://mypaint.intilinux.com/

This is my first port from the ground up, so expect a few mistakes.
For example, I still get warnings from portcheck:
Python module without compiled version, consider using ${MODPY_BIN}
${MODPY_LIBDIR}/compileall.py:...

Thanks for testing or suggestion.

Regards,

LNA


mypaint.tar.gz
Description: Binary data


Re: duplicity backup to hubic - bunch of new deps

2015-07-19 Thread viq
On Sun, Jul 19, 2015 at 12:17 AM, Stuart Henderson  wrote:
> On 2015/07/18 17:16, Brad Smith wrote:
>> On 07/18/15 17:04, Jérémie Courrèges-Anglas wrote:
>> >viq  writes:
>> >
>> >[...]
>> >
>> Maybe it would make sense then to have both 0.6 and 0.7 in the tree?
>> >>>
>> >>>
>> >>>3 lines up from that..
>> >>>
>> >>>The current stable release is 0.6.26, released May 6, 2015.
>> >>
>> >>Yes, and right below that it says:
>> >>The 0.6 series is in the process of being deprecated and the 0.6.26
>> >>release is the last release of the series that will receive new
>> >>additions or enhancements.
>> >>
>> >>0.6 is becoming deprecated. 0.6 doesn't support a backend I'd like to
>> >>use, 0.7 does. We have in ports postfix stable and snapshot. Maybe it
>> >>would make sense to have the same for duplicity then?
>> >
>> >If some people really need the devel version I don't see a reason not to
>> >do it.
>>
>> The rule of thumb we use for the ports tree is use releases and stable ones
>> at that. That is the reason 99%+ of the ports tree use such releases.
>
> Supplying multiple versions of a port which is a dependency of other
> ports adds some problems, it's not too bad here because it's a rundep
> only, but deja-dup uses this, so that would want to be handled one
> way or another.

Maybe make deja-dup depend on >=0.6<0.7 ? And duply if/when imported
could depend on >=0.7

> Anyone know upstream's timescale on naming 0.7 stable?

I tried looking but haven't found anything yet.

-- 
viq



py-twitter 1.7.2 -> 1.17.0

2015-07-19 Thread Daniel Winters
Hi,

trivial update to py-twitter, the version currently in ports is broken
because twitter changed their Web API.

No python3 flavor since this port installs several scripts in
$PREFIX/bin that would create a collision.

Works fine for basic usage on amd64. I did not test the IRC connection
parts.

Cheers,
Daniel


Index: Makefile
===
RCS file: /cvs/ports/net/py-twitter/Makefile,v
retrieving revision 1.9
diff -u -b -B -w -p -r1.9 Makefile
--- Makefile2 Apr 2015 14:21:16 -   1.9
+++ Makefile19 Jul 2015 20:27:26 -
@@ -2,10 +2,9 @@
 
 COMMENT=   twitter python module
 
-MODPY_EGG_VERSION= 1.7.2
+MODPY_EGG_VERSION= 1.17.0
 DISTNAME=  twitter-${MODPY_EGG_VERSION}
 PKGNAME=   py-twitter-${MODPY_EGG_VERSION}
-REVISION = 0
 
 CATEGORIES=net www
 
Index: distinfo
===
RCS file: /cvs/ports/net/py-twitter/distinfo,v
retrieving revision 1.4
diff -u -b -B -w -p -r1.4 distinfo
--- distinfo18 Jan 2015 03:14:51 -  1.4
+++ distinfo19 Jul 2015 20:27:26 -
@@ -1,2 +1,2 @@
-SHA256 (twitter-1.7.2.tar.gz) = p/S4EDrJS38Wq5D0e8Gprv3yROGhbs+q0HWFYjiIkbY=
-SIZE (twitter-1.7.2.tar.gz) = 20959
+SHA256 (twitter-1.17.0.tar.gz) = hTlsTDO5shPz0tgFyq9rOGueJ3r5EX61Hlp4L3clc3Y=
+SIZE (twitter-1.17.0.tar.gz) = 42869
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/py-twitter/pkg/PLIST,v
retrieving revision 1.2
diff -u -b -B -w -p -r1.2 PLIST
--- pkg/PLIST   27 Jun 2011 21:13:23 -  1.2
+++ pkg/PLIST   19 Jul 2015 20:27:26 -
@@ -1,5 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.2 2011/06/27 21:13:23 jasper Exp $
 bin/twitter
+bin/twitter-archiver
+bin/twitter-follow
 bin/twitter-log
 bin/twitter-stream-example
 bin/twitterbot
@@ -17,22 +19,32 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/twitter/ansi.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/api.py
 lib/python${MODPY_VERSION}/site-packages/twitter/api.pyc
+lib/python${MODPY_VERSION}/site-packages/twitter/archiver.py
+lib/python${MODPY_VERSION}/site-packages/twitter/archiver.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/auth.py
 lib/python${MODPY_VERSION}/site-packages/twitter/auth.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/cmdline.py
 lib/python${MODPY_VERSION}/site-packages/twitter/cmdline.pyc
+lib/python${MODPY_VERSION}/site-packages/twitter/corrupt.py
+lib/python${MODPY_VERSION}/site-packages/twitter/corrupt.pyc
+lib/python${MODPY_VERSION}/site-packages/twitter/follow.py
+lib/python${MODPY_VERSION}/site-packages/twitter/follow.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/ircbot.py
 lib/python${MODPY_VERSION}/site-packages/twitter/ircbot.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/logger.py
 lib/python${MODPY_VERSION}/site-packages/twitter/logger.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/oauth.py
 lib/python${MODPY_VERSION}/site-packages/twitter/oauth.pyc
+lib/python${MODPY_VERSION}/site-packages/twitter/oauth2.py
+lib/python${MODPY_VERSION}/site-packages/twitter/oauth2.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/oauth_dance.py
 lib/python${MODPY_VERSION}/site-packages/twitter/oauth_dance.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/stream.py
 lib/python${MODPY_VERSION}/site-packages/twitter/stream.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/stream_example.py
 lib/python${MODPY_VERSION}/site-packages/twitter/stream_example.pyc
+lib/python${MODPY_VERSION}/site-packages/twitter/timezones.py
+lib/python${MODPY_VERSION}/site-packages/twitter/timezones.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/twitter_globals.py
 lib/python${MODPY_VERSION}/site-packages/twitter/twitter_globals.pyc
 lib/python${MODPY_VERSION}/site-packages/twitter/util.py



Re: NEW: graphics/nomacs

2015-07-19 Thread Landry Breuil
On Sun, Jul 19, 2015 at 10:16:45PM +0200, Rafael Sadowski wrote:
> On Sun Jul 19, 2015 at 10:08:42PM +0200, Landry Breuil wrote:
> > On Sun, Jul 19, 2015 at 09:58:31PM +0200, Rafael Sadowski wrote:
> > > On Tue Jan 20, 2015 at 09:50:05PM +0400, Vadim Zhukov wrote:
> > > > 2015-01-14 0:36 GMT+03:00 Landry Breuil :
> > > > > On Tue, Jan 13, 2015 at 09:28:31PM +0100, Rafael Sadowski wrote:
> > > > >> On Fri Jan 02, 2015 at 08:30:40PM +0100, Rafael Sadowski wrote:
> > > > >> > Hi ports@,
> > > > >> >
> > > > >> > new Qt4 image viewer application. -- http://www.nomacs.org/
> > > > >> > Tested with tons images on amd64. Comments, Ok?
> > > > >> >
> > > > >> > Regards, Rafael
> > > > >> >
> > > > >> > $ cat pkg/DESCR
> > > > >> > nomacs is small, fast and able to handle the most common image
> > > > >> > formats. Additionally it is possible to synchronize multiple
> > > > >> > viewers. A synchronization of viewers running on the same computer
> > > > >> > or via LAN is possible. It allows to compare images and spot the
> > > > >> > differences (e.g. schemes of architects to show the progress).
> > > > >>
> > > > >>
> > > > >> ... ping, nobody?
> > > > >
> > > > > Reads ok to me if anyone wants to import it. you should only remove
> > > > > share/applications from PLIST, it comes via desktop-file-utils
> > > > > dependency.
> > > > 
> > > > Here is an updated version:
> > > > 
> > > > 1. Missing RUN_DEPENDS.
> > > > 2. Added a patch to "fix" conflict between OpenCV and tiff (the
> > > > "int64" problem).
> > > > 3. De-capitalized first word of COMMENT.
> > > > 4. Updated PLIST.
> > > > 
> > > > One more thing to resolve: nomacs ships bundled libgpsd, libwebp and
> > > > quazip, which we have in ports. Unfortunately, build system forces
> > > > usage of bundled ones. This requires patching cmake/Unix.cmake in
> > > > nomacs distribution. Rafael, could you do this?
> > > > 
> > > > --
> > > >   WBR,
> > > >   Vadim Zhukov
> > > 
> > > 
> > > DONE; But where is libgpsd?
> > 
> > 
> > $pkg_locate libgpsd
> > gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/libgpsd.a
> > gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/libgpsd.la
> > gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/libgpsd.so.0.0
> > gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/pkgconfig/libgpsd.pc
> > gpsd-2.95p7:misc/gpsd,-main:/usr/local/man/man3/libgpsd.3
> 
> Yes but looks like nomacs needs https://github.com/Code-ReaQtor/libqpsd
> whitch is not in the tree. The same name is confusing.

Right, this is libQpsd (for adobe PSD files), not libGpsd (for handling
GPS) - move along then, unless you want to port that too first (but it
has no releases/versions..)

Landry



Re: NEW: graphics/nomacs

2015-07-19 Thread Rafael Sadowski
On Sun Jul 19, 2015 at 10:08:42PM +0200, Landry Breuil wrote:
> On Sun, Jul 19, 2015 at 09:58:31PM +0200, Rafael Sadowski wrote:
> > On Tue Jan 20, 2015 at 09:50:05PM +0400, Vadim Zhukov wrote:
> > > 2015-01-14 0:36 GMT+03:00 Landry Breuil :
> > > > On Tue, Jan 13, 2015 at 09:28:31PM +0100, Rafael Sadowski wrote:
> > > >> On Fri Jan 02, 2015 at 08:30:40PM +0100, Rafael Sadowski wrote:
> > > >> > Hi ports@,
> > > >> >
> > > >> > new Qt4 image viewer application. -- http://www.nomacs.org/
> > > >> > Tested with tons images on amd64. Comments, Ok?
> > > >> >
> > > >> > Regards, Rafael
> > > >> >
> > > >> > $ cat pkg/DESCR
> > > >> > nomacs is small, fast and able to handle the most common image
> > > >> > formats. Additionally it is possible to synchronize multiple
> > > >> > viewers. A synchronization of viewers running on the same computer
> > > >> > or via LAN is possible. It allows to compare images and spot the
> > > >> > differences (e.g. schemes of architects to show the progress).
> > > >>
> > > >>
> > > >> ... ping, nobody?
> > > >
> > > > Reads ok to me if anyone wants to import it. you should only remove
> > > > share/applications from PLIST, it comes via desktop-file-utils
> > > > dependency.
> > > 
> > > Here is an updated version:
> > > 
> > > 1. Missing RUN_DEPENDS.
> > > 2. Added a patch to "fix" conflict between OpenCV and tiff (the
> > > "int64" problem).
> > > 3. De-capitalized first word of COMMENT.
> > > 4. Updated PLIST.
> > > 
> > > One more thing to resolve: nomacs ships bundled libgpsd, libwebp and
> > > quazip, which we have in ports. Unfortunately, build system forces
> > > usage of bundled ones. This requires patching cmake/Unix.cmake in
> > > nomacs distribution. Rafael, could you do this?
> > > 
> > > --
> > >   WBR,
> > >   Vadim Zhukov
> > 
> > 
> > DONE; But where is libgpsd?
> 
> 
> $pkg_locate libgpsd
> gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/libgpsd.a
> gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/libgpsd.la
> gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/libgpsd.so.0.0
> gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/pkgconfig/libgpsd.pc
> gpsd-2.95p7:misc/gpsd,-main:/usr/local/man/man3/libgpsd.3

Yes but looks like nomacs needs https://github.com/Code-ReaQtor/libqpsd
whitch is not in the tree. The same name is confusing.



Re: NEW: graphics/nomacs

2015-07-19 Thread Landry Breuil
On Sun, Jul 19, 2015 at 09:58:31PM +0200, Rafael Sadowski wrote:
> On Tue Jan 20, 2015 at 09:50:05PM +0400, Vadim Zhukov wrote:
> > 2015-01-14 0:36 GMT+03:00 Landry Breuil :
> > > On Tue, Jan 13, 2015 at 09:28:31PM +0100, Rafael Sadowski wrote:
> > >> On Fri Jan 02, 2015 at 08:30:40PM +0100, Rafael Sadowski wrote:
> > >> > Hi ports@,
> > >> >
> > >> > new Qt4 image viewer application. -- http://www.nomacs.org/
> > >> > Tested with tons images on amd64. Comments, Ok?
> > >> >
> > >> > Regards, Rafael
> > >> >
> > >> > $ cat pkg/DESCR
> > >> > nomacs is small, fast and able to handle the most common image
> > >> > formats. Additionally it is possible to synchronize multiple
> > >> > viewers. A synchronization of viewers running on the same computer
> > >> > or via LAN is possible. It allows to compare images and spot the
> > >> > differences (e.g. schemes of architects to show the progress).
> > >>
> > >>
> > >> ... ping, nobody?
> > >
> > > Reads ok to me if anyone wants to import it. you should only remove
> > > share/applications from PLIST, it comes via desktop-file-utils
> > > dependency.
> > 
> > Here is an updated version:
> > 
> > 1. Missing RUN_DEPENDS.
> > 2. Added a patch to "fix" conflict between OpenCV and tiff (the
> > "int64" problem).
> > 3. De-capitalized first word of COMMENT.
> > 4. Updated PLIST.
> > 
> > One more thing to resolve: nomacs ships bundled libgpsd, libwebp and
> > quazip, which we have in ports. Unfortunately, build system forces
> > usage of bundled ones. This requires patching cmake/Unix.cmake in
> > nomacs distribution. Rafael, could you do this?
> > 
> > --
> >   WBR,
> >   Vadim Zhukov
> 
> 
> DONE; But where is libgpsd?


$pkg_locate libgpsd
gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/libgpsd.a
gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/libgpsd.la
gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/libgpsd.so.0.0
gpsd-2.95p7:misc/gpsd,-main:/usr/local/lib/pkgconfig/libgpsd.pc
gpsd-2.95p7:misc/gpsd,-main:/usr/local/man/man3/libgpsd.3



Re: NEW: graphics/nomacs

2015-07-19 Thread Rafael Sadowski
On Tue Jan 20, 2015 at 09:50:05PM +0400, Vadim Zhukov wrote:
> 2015-01-14 0:36 GMT+03:00 Landry Breuil :
> > On Tue, Jan 13, 2015 at 09:28:31PM +0100, Rafael Sadowski wrote:
> >> On Fri Jan 02, 2015 at 08:30:40PM +0100, Rafael Sadowski wrote:
> >> > Hi ports@,
> >> >
> >> > new Qt4 image viewer application. -- http://www.nomacs.org/
> >> > Tested with tons images on amd64. Comments, Ok?
> >> >
> >> > Regards, Rafael
> >> >
> >> > $ cat pkg/DESCR
> >> > nomacs is small, fast and able to handle the most common image
> >> > formats. Additionally it is possible to synchronize multiple
> >> > viewers. A synchronization of viewers running on the same computer
> >> > or via LAN is possible. It allows to compare images and spot the
> >> > differences (e.g. schemes of architects to show the progress).
> >>
> >>
> >> ... ping, nobody?
> >
> > Reads ok to me if anyone wants to import it. you should only remove
> > share/applications from PLIST, it comes via desktop-file-utils
> > dependency.
> 
> Here is an updated version:
> 
> 1. Missing RUN_DEPENDS.
> 2. Added a patch to "fix" conflict between OpenCV and tiff (the
> "int64" problem).
> 3. De-capitalized first word of COMMENT.
> 4. Updated PLIST.
> 
> One more thing to resolve: nomacs ships bundled libgpsd, libwebp and
> quazip, which we have in ports. Unfortunately, build system forces
> usage of bundled ones. This requires patching cmake/Unix.cmake in
> nomacs distribution. Rafael, could you do this?
> 
> --
>   WBR,
>   Vadim Zhukov


DONE; But where is libgpsd?

https://github.com/jasperla/openbsd-wip/tree/master/graphics/nomacs

Ready for the tree?

Cheers, Rafael



Re: UPDATE: devel/py-serial 2.4 => 2.7 (+ python3 support)

2015-07-19 Thread Daniel Winters
Hi,

>> Thanks for the pointers. Yes that's better diff - it's working fine
>> with my arduino on amd64 - will test on i386 with a different serial
>> device.
>>
> Also tested on i386.

Fred and Jérémie, thanks for working on this!

Here is a slightly tweaked diff with the following changes:

- fix $DOCSDIR and $EXAMPLESDIR to not get a directory named py--serial
- do not install miniterm.py in $PREFIX/bin, I do not think it is that
  useful
- install a bit more documentation 
- update my contact details

Tested on amd64 with both py2 and py3 without issues.

Cheers,
Daniel


Index: Makefile
===
RCS file: /cvs/ports/devel/py-serial/Makefile,v
retrieving revision 1.7
diff -u -b -B -w -p -r1.7 Makefile
--- Makefile11 Mar 2013 10:50:26 -  1.7
+++ Makefile19 Jul 2015 19:42:24 -
@@ -2,31 +2,32 @@
 
 COMMENT =  serial interface class for Python
 
-MODPY_EGG_VERSION =2.4
+MODPY_EGG_VERSION =2.7
 DISTNAME = pyserial-${MODPY_EGG_VERSION}
 PKGNAME =  ${DISTNAME:S/py/py-/}
-REVISION = 4
 
 CATEGORIES =   devel
 
-HOMEPAGE = http://pyserial.wiki.sourceforge.net/pySerial
+HOMEPAGE = http://pyserial.sourceforge.net/
 
-MAINTAINER =   Daniel Gruber 
+MAINTAINER =   Daniel Winters 
 
 # Python license
 PERMIT_PACKAGE_CDROM = Yes
 
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pyserial/}
-
 MODULES =  lang/python
-MODPY_SETUPTOOLS = Yes
+MODPY_PI = Yes
+
+FLAVORS =  python3
+FLAVOR ?=
 
-DOCSDIR =  ${PREFIX}/share/doc/py-serial
-EXAMPLESDIR =  ${PREFIX}/share/examples/py-serial
+DOCSDIR =  ${PREFIX}/share/doc/${MODPY_PY_PREFIX}serial
+EXAMPLESDIR =  ${PREFIX}/share/examples/${MODPY_PY_PREFIX}serial
 
 post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/LICENSE.txt ${DOCSDIR}
+   ${INSTALL_DATA} ${WRKSRC}/documentation/*.rst ${DOCSDIR}
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
 
Index: distinfo
===
RCS file: /cvs/ports/devel/py-serial/distinfo,v
retrieving revision 1.2
diff -u -b -B -w -p -r1.2 distinfo
--- distinfo18 Jan 2015 03:13:43 -  1.2
+++ distinfo19 Jul 2015 19:42:24 -
@@ -1,2 +1,2 @@
-SHA256 (pyserial-2.4.tar.gz) = a2qePS/Vl4ySyEPgEJkYpLysSB7srjFiVEgcDg9+c8g=
-SIZE (pyserial-2.4.tar.gz) = 44723
+SHA256 (pyserial-2.7.tar.gz) = NULsCDh5PmHWIk4n/wXozkulpcXMTsXGo+jUkkeYVHc=
+SIZE (pyserial-2.7.tar.gz) = 122081
Index: patches/patch-serialposix_py
===
RCS file: /cvs/ports/devel/py-serial/patches/patch-serialposix_py,v
retrieving revision 1.2
diff -u -b -B -w -p -r1.2 patch-serialposix_py
--- patches/patch-serialposix_py20 Jul 2011 15:50:13 -  1.2
+++ patches/patch-serialposix_py19 Jul 2015 19:42:24 -
@@ -1,19 +0,0 @@
-$OpenBSD: patch-serialposix_py,v 1.2 2011/07/20 15:50:13 sthen Exp $
 serial/serialposix.py.orig Sat Jun 21 23:08:43 2008
-+++ serial/serialposix.py  Wed Jul 20 16:48:47 2011
-@@ -35,13 +35,12 @@ elif plat == 'cygwin':   #cywin/win32 (confirmed)
- def device(port):
- return '/dev/com%d' % (port + 1)
- 
--elif plat == 'openbsd3': #BSD (confirmed)
-+elif plat[:7] == 'openbsd':
- def device(port):
--return '/dev/ttyp%d' % port
-+return '/dev/cua%02d' % port
- 
- elif plat[:3] == 'bsd' or  \
-  plat[:7] == 'freebsd' or \
-- plat[:7] == 'openbsd' or \
-  plat[:6] == 'darwin':   #BSD (confirmed for freebsd4: cuaa%d)
- def device(port):
- return '/dev/cuad%d' % port
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/py-serial/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -b -B -w -p -r1.1.1.1 PLIST
--- pkg/PLIST   5 Jun 2009 04:29:22 -   1.1.1.1
+++ pkg/PLIST   19 Jul 2015 19:42:24 -
@@ -1,37 +1,74 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/05 04:29:22 wcmaier Exp $
-lib/python${MODPY_VERSION}/site-packages/pyserial-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
-lib/python${MODPY_VERSION}/site-packages/pyserial-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
-lib/python${MODPY_VERSION}/site-packages/pyserial-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
-lib/python${MODPY_VERSION}/site-packages/pyserial-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
-lib/python${MODPY_VERSION}/site-packages/pyserial-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
+bin/miniterm.py
+lib/python${MODPY_VERSION}/site-packages/pyserial-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
 lib/python${MODPY_VERSION}/site-packages/serial/
 lib/python${MODPY_VERSION}/

UPDATE: net/yersinia

2015-07-19 Thread Steven Mestdagh
here's an update to the latest version. seems to work on amd64, though i had
to disable mpls in the filter to fix a pcap compile error.
the interfaces.c patch is shuffled compared to the previous.

ok?

Index: Makefile
===
RCS file: /cvs/ports/net/yersinia/Makefile,v
retrieving revision 1.8
diff -u -p -u -r1.8 Makefile
--- Makefile1 Jun 2013 14:18:40 -   1.8
+++ Makefile19 Jul 2015 19:08:48 -
@@ -2,9 +2,8 @@
 
 COMMENT =  framework for analysis of layer 2 network protocols
 
-DISTNAME = yersinia-0.7.1
+DISTNAME = yersinia-0.7.3
 CATEGORIES =   net security
-REVISION = 3
 
 HOMEPAGE = http://www.yersinia.net/
 
@@ -25,6 +24,7 @@ CONFIGURE_ARGS =  --disable-gtk \
 CONFIGURE_ENV =LDFLAGS="-L${LOCALBASE}/lib" \
LIBNET_CONFIG=${LOCALBASE}/bin/libnet-config-1.1 \
CPPFLAGS="${CPPFLAGS} -DLBL_ALIGN"
+WRKDIST =  ${WRKDIR}
 
 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/yersinia
Index: distinfo
===
RCS file: /cvs/ports/net/yersinia/distinfo,v
retrieving revision 1.2
diff -u -p -u -r1.2 distinfo
--- distinfo18 Jan 2015 03:14:55 -  1.2
+++ distinfo19 Jul 2015 19:08:48 -
@@ -1,2 +1,2 @@
-SHA256 (yersinia-0.7.1.tar.gz) = nEc8SbuptSccocxvtdZDFL/2dXcvWXg3NB9Y3JM1Ghc=
-SIZE (yersinia-0.7.1.tar.gz) = 318396
+SHA256 (yersinia-0.7.3.tar.gz) = BCq8RmxbRwuXB54ASbQCmoy7ddWDz7+3VvynbkYNQLQ=
+SIZE (yersinia-0.7.3.tar.gz) = 378124
Index: patches/patch-configure
===
RCS file: /cvs/ports/net/yersinia/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -u -r1.2 patch-configure
--- patches/patch-configure 1 Jun 2013 14:18:40 -   1.2
+++ patches/patch-configure 19 Jul 2015 19:08:48 -
@@ -1,16 +1,16 @@
-$OpenBSD: patch-configure,v 1.2 2013/06/01 14:18:40 ajacoutot Exp $
 configure.orig Fri Jan 26 20:22:30 2007
-+++ configure  Tue Sep 23 14:13:54 2008
-@@ -3470,7 +3470,7 @@ fi
+$OpenBSD: patch-configure,v 1.1.1.1 2010/10/25 23:12:02 steven Exp $
+--- configure.orig Mon Sep  9 14:33:01 2013
 configure  Sun Jul 19 16:52:17 2015
+@@ -3809,7 +3809,7 @@ fi
  
  
  if test -n "$GCC"; then
 - CFLAGS="-O3 -Wall -g"
 + CFLAGS="$CFLAGS -Wall -g"
  else
-  { echo "$as_me:$LINENO: WARNING: Ouch!! Only gcc is supported..." >&5
- echo "$as_me: WARNING: Ouch!! Only gcc is supported..." >&2;}
-@@ -4687,7 +4687,7 @@ else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ouch!! Only gcc is 
supported..." >&5
+ $as_echo "$as_me: WARNING: Ouch!! Only gcc is supported..." >&2;}
+@@ -4747,7 +4747,7 @@ else
  
 LIBNET_INCLUDE="-I$libnet_dir"
 LIBNET_LINK="-L`dirname $libnet_dir`/lib"
Index: patches/patch-src_interfaces_c
===
RCS file: /cvs/ports/net/yersinia/patches/patch-src_interfaces_c,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 patch-src_interfaces_c
--- patches/patch-src_interfaces_c  25 Oct 2010 23:12:02 -  1.1.1.1
+++ patches/patch-src_interfaces_c  19 Jul 2015 19:08:48 -
@@ -1,38 +1,29 @@
-$OpenBSD: patch-src_interfaces_c,v 1.1.1.1 2010/10/25 23:12:02 steven Exp $
 src/interfaces.c.orig  Sun Jul 16 14:37:31 2006
-+++ src/interfaces.c   Mon Oct 25 23:26:02 2010
-@@ -142,6 +142,7 @@ interfaces_init(THREAD *pcap_th)
- while (index)
+$OpenBSD$
+--- src/interfaces.c.orig  Mon Sep  9 14:33:01 2013
 src/interfaces.c   Sun Jul 19 19:27:50 2015
+@@ -221,13 +221,12 @@ interfaces_init_data_libnet( struct interface_data *in
+ if ( ( libnet_hnd = libnet_init( LIBNET_LINK, interface->ifname, 
errbuflibnet ) ) )
  {
- if ( (strncmp(index->name,"any",strlen(index->name))) && 
-+ (strstr(index->name,"pflog") == NULL) && 
-  (index->flags != PCAP_IF_LOOPBACK) )
+ etheraddr = libnet_get_hwaddr( libnet_hnd );
++libnet_destroy( libnet_hnd );
+ 
+ if ( etheraddr && memcmp( (void *)etheraddr, "\x0\x0\x0\x0\x0\x0", 6 
) )
  {
-if ((iface_data = (struct interface_data *) calloc(1, 
sizeof(struct interface_data))) == NULL) {
-@@ -321,6 +322,7 @@ interfaces_init_data(struct interface_data *interface)
+ memcpy( (void *)interface->etheraddr, (void *)etheraddr, 
ETHER_ADDR_LEN );
+ }
+-
+-libnet_destroy( libnet_hnd );
  
+ write_log( 0," %s MAC = %02x%02x.%02x%02x.%02x%02x\n", 
interface->ifname, 
+etheraddr->ether_addr_octet[0], 
etheraddr->ether_addr_octet[1],
+@@ -286,7 +285,9 @@ interfaces_init( THREAD *pcap_th )
  
- etheraddr = libnet_get_hwaddr(libnet_handler);
-+libnet_destroy(libnet_handler);
- 
- if (etheraddr && memcmp((void *)etheraddr,"\x0\x0\x0\x0\x0\x0",6) )
+ while( index )
  {
-@@

Re: New: colortree

2015-07-19 Thread Vadim Zhukov
2015-07-19 21:10 GMT+03:00 David Dahlberg :
> Am Sunday, den 19.07.2015, 19:43 +0300 schrieb Vadim Zhukov:
>> 2015-07-19 18:09 GMT+03:00 David Dahlberg > >:
>> > A port for Steve Baker's "tree" program.
>> >
>> 1. Don't hardcode -O2, let the CFLAGS/COPTS/DEBUG coming from outside
>> port do their job instead... I propose getting out of GMake
>> dependency
>> and just build the port yourself:
>
> After that change the dist Makefile is not used any more for the
> ALL_TARGET, so patch-Makefile becomes unnecessary.

Yes. But, please, remove CFLAGS line entirely then, too.

>> 2. After modifying the manual pages, some lines started to exceed 80
>> chars there.
>>
>> 3. "The tree command for linux" in COMMENT doesn't say anything
>> useful.
>
> Better this way?

Yes. The last small nit: the manual page isn't built but comes
directly from source directory, so the ${INSTALL_MAN} line should use
${WRKSRC} instead of ${WRKBUILD} there. You can feel the difference if
you'll add SEPARATE_BUILD=Yes to the port Makefile (you can do this to
fill the vacuum after CFLAGS line removal :) ).

After that the port is okay zhuk@ for whoever will want to import it.

--
  WBR,
  Vadim Zhukov



Re: New: colortree

2015-07-19 Thread Dmitrij D. Czarkoff
| CFLAGS =  -Wall -fomit-frame-pointer

Just leave CFLAGS to user settings.  This port builds and works without
any CFLAGS definitions.

-- 
Dmitrij D. Czarkoff



sysutils/ntfs-3g update

2015-07-19 Thread Rafael Sadowski
Here's a simple update for the next stable version:

Tested @amd64 with USB2-ntfs-HDD and many file transfers.

Ok?

Cheers, Rafael


Index: Makefile
===
RCS file: /cvs/ports/sysutils/ntfs-3g/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile22 May 2015 11:31:18 -  1.6
+++ Makefile19 Jul 2015 18:46:31 -
@@ -2,12 +2,11 @@
 
 COMMENT =  FUSE NTFS driver with read/write support
 
-V =2014.2.15
+V =2015.3.14
 DISTNAME = ntfs-3g_ntfsprogs-${V}
 PKGNAME =  ntfs_3g-${V}
-SHARED_LIBS += ntfs-3g 0.0 # .84
+SHARED_LIBS += ntfs-3g 0.0 # .85
 CATEGORIES =   sysutils
-REVISION = 0
 
 HOMEPAGE = http://www.tuxera.com/
 
@@ -29,8 +28,5 @@ CONFIGURE_ENV =   CPPFLAGS="-I${LOCALBASE
 CONFIGURE_ARGS =   ${CONFIGURE_SHARED} \
--disable-mtab \
--disable-ldconfig
-
-post-install:
-   rmdir ${WRKINST}/lib
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/sysutils/ntfs-3g/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo30 Apr 2014 23:07:25 -  1.2
+++ distinfo19 Jul 2015 18:46:31 -
@@ -1,2 +1,2 @@
-SHA256 (ntfs-3g_ntfsprogs-2014.2.15.tgz) = 
TDCZQAyxSyMaPJ1xizqNFS04VVBZNBzl/G0CKSpKW1Y=
-SIZE (ntfs-3g_ntfsprogs-2014.2.15.tgz) = 1143575
+SHA256 (ntfs-3g_ntfsprogs-2015.3.14.tgz) = 
l/mWAV2DFtSicr0mKZeOXpcHLdPMFIzjmAL4A3xlOPI=
+SIZE (ntfs-3g_ntfsprogs-2015.3.14.tgz) = 1210069
Index: patches/patch-configure
===
RCS file: /cvs/ports/sysutils/ntfs-3g/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-configure
--- patches/patch-configure 30 Apr 2014 23:07:25 -  1.2
+++ patches/patch-configure 19 Jul 2015 18:46:31 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.2 2014/04/30 23:07:25 pirofti Exp $
 configure.orig Sat Feb 15 16:07:59 2014
-+++ configure  Tue Apr 29 11:29:37 2014
-@@ -11890,7 +11890,7 @@ else
+--- configure.orig Sat Mar 14 15:10:24 2015
 configure  Sun Jul 19 19:03:42 2015
+@@ -12867,7 +12867,7 @@ else
  fi
  
;;
Index: patches/patch-libntfs-3g_Makefile_in
===
RCS file: /cvs/ports/sysutils/ntfs-3g/patches/patch-libntfs-3g_Makefile_in,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-libntfs-3g_Makefile_in
--- patches/patch-libntfs-3g_Makefile_in30 Apr 2014 23:07:25 -  
1.2
+++ patches/patch-libntfs-3g_Makefile_in19 Jul 2015 18:46:31 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-libntfs-3g_Makefile_in,v 1.2 2014/04/30 23:07:25 pirofti Exp $
 libntfs-3g/Makefile.in.origSat Feb 15 16:08:00 2014
-+++ libntfs-3g/Makefile.in Tue Apr 29 11:29:37 2014
-@@ -915,15 +915,9 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-local
+--- libntfs-3g/Makefile.in.origSat Mar 14 15:10:28 2015
 libntfs-3g/Makefile.in Sun Jul 19 19:03:42 2015
+@@ -1049,15 +1049,9 @@ uninstall-am: uninstall-libLTLIBRARIES uninstall-local
  # We may need to move .so files to root
  # And create ldscript or symbolic link from /usr
  install-exec-hook: install-rootlibLTLIBRARIES
Index: patches/patch-libntfs-3g_mft_c
===
RCS file: /cvs/ports/sysutils/ntfs-3g/patches/patch-libntfs-3g_mft_c,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-libntfs-3g_mft_c
--- patches/patch-libntfs-3g_mft_c  5 Jan 2014 01:51:15 -   1.1
+++ patches/patch-libntfs-3g_mft_c  19 Jul 2015 18:46:31 -
@@ -1,9 +1,9 @@
 $OpenBSD: patch-libntfs-3g_mft_c,v 1.1 2014/01/05 01:51:15 jca Exp $
 - rip off mkntfs_get_page_size() from mkntfs.c, to avoid a build error
   on archs where PAGE_SIZE is unusable.
 libntfs-3g/mft.c.orig  Wed Dec 25 02:12:11 2013
-+++ libntfs-3g/mft.c   Wed Dec 25 02:16:16 2013
-@@ -26,6 +26,9 @@
+--- libntfs-3g/mft.c.orig  Sat Mar 14 15:10:12 2015
 libntfs-3g/mft.c   Sun Jul 19 19:03:42 2015
+@@ -27,6 +27,9 @@
  #include "config.h"
  #endif
  
@@ -13,7 +13,7 @@ $OpenBSD: patch-libntfs-3g_mft_c,v 1.1 2
  #ifdef HAVE_STDLIB_H
  #include 
  #endif
-@@ -453,9 +456,28 @@ static int ntfs_is_mft(ntfs_inode *ni)
+@@ -454,9 +457,28 @@ static int ntfs_is_mft(ntfs_inode *ni)
return 0;
  }
  
@@ -44,7 +44,7 @@ $OpenBSD: patch-libntfs-3g_mft_c,v 1.1 2
  
  #define RESERVED_MFT_RECORDS   64
  
-@@ -481,6 +503,7 @@ static int ntfs_mft_bitmap_find_free_rec(ntfs_volume *
+@@ -482,6 +504,7 @@ static int ntfs_mft_bitmap_find_free_rec(ntfs_volume *
s64 pass_end, ll, data_pos, pass_start, ofs, bit;
ntfs_attr *mftbmp_na;
u8 *buf, *byte;
@@ -52,7 +52,7 @@ $OpenBSD: patch-libntfs-3g_mft_c,v 1.1 2
unsigned int size;
u8 pass, b;

Re: vlc dependence fix

2015-07-19 Thread Rafael Sadowski
On Sun Jul 19, 2015 at 06:59:16PM +0100, Stuart Henderson wrote:
> On 2015/07/19 19:48, Rafael Sadowski wrote:
> > Hey @ports,
> > 
> > this patch fix my vlc build. libnettle libs are in WANTLIB.
> > 
> > cheers, Rafael
> 
> I'm not sure what's going on here, but libnettle is already a
> lib dependency of gnutls, so there is no need to list it in vlc.

hmm, your are right. Crazy, sorry for the trouble.



Re: New: colortree

2015-07-19 Thread David Dahlberg
Am Sunday, den 19.07.2015, 19:43 +0300 schrieb Vadim Zhukov:
> 2015-07-19 18:09 GMT+03:00 David Dahlberg  >:
> > A port for Steve Baker's "tree" program.
> > 
> 1. Don't hardcode -O2, let the CFLAGS/COPTS/DEBUG coming from outside
> port do their job instead... I propose getting out of GMake 
> dependency
> and just build the port yourself:

After that change the dist Makefile is not used any more for the
ALL_TARGET, so patch-Makefile becomes unnecessary.

> 2. After modifying the manual pages, some lines started to exceed 80
> chars there.
> 
> 3. "The tree command for linux" in COMMENT doesn't say anything 
> useful.

Better this way?

colortree.tgz
Description: application/compressed-tar


Re: vlc dependence fix

2015-07-19 Thread Stuart Henderson
On 2015/07/19 19:48, Rafael Sadowski wrote:
> Hey @ports,
> 
> this patch fix my vlc build. libnettle libs are in WANTLIB.
> 
> cheers, Rafael

I'm not sure what's going on here, but libnettle is already a
lib dependency of gnutls, so there is no need to list it in vlc.



vlc dependence fix

2015-07-19 Thread Rafael Sadowski
Hey @ports,

this patch fix my vlc build. libnettle libs are in WANTLIB.

cheers, Rafael

Index: Makefile
===
RCS file: /cvs/ports/x11/vlc/Makefile,v
retrieving revision 1.191
diff -u -p -u -p -r1.191 Makefile
--- Makefile30 Jun 2015 09:02:54 -  1.191
+++ Makefile19 Jul 2015 17:40:48 -
@@ -74,6 +74,7 @@ LIB_DEPENDS-main= ${MODQT4_LIB_DEPENDS} 
multimedia/x264 \
security/gnutls \
security/libgcrypt \
+   security/libnettle \
textproc/libebml \
textproc/libxml \
x11/dbus \



Re: New: colortree

2015-07-19 Thread Vadim Zhukov
2015-07-19 18:09 GMT+03:00 David Dahlberg :
> A port for Steve Baker's "tree" program.
>
> As we have already a simpler, BSD-licenced alternative in ports, I used
> the gnugetopt/coreutils/colorls approach and renamed to "colortree",
> which is the author's preference.

1. Don't hardcode -O2, let the CFLAGS/COPTS/DEBUG coming from outside
port do their job instead... I propose getting out of GMake dependency
and just build the port yourself:

do-build:
cd ${WRKBUILD}; ${CC} ${CFLAGS} -o tree ${WRKSRC}/*.c

2. After modifying the manual pages, some lines started to exceed 80
chars there.

3. "The tree command for linux" in COMMENT doesn't say anything useful.

--
  WBR,
  Vadim Zhukov



Re: Please import: password-store

2015-07-19 Thread Vadim Zhukov
2015-07-19 17:04 GMT+03:00 David Dahlberg :
> Am Sunday, den 05.07.2015, 15:33 +0200 schrieb David Dahlberg:
>> Here's the next try to get Jason Donenfeld's password store
>> (passwordstore.org) imported into ports.
>
> Ping?

In general, the port looks good. A few nits, in the increasing order
of importance, are listed below:

1. Since the "-v" option is dropped for most commands, it'll be good
to remove "@" at the beginning of corresponding make lines altogether.

2. It worths a README mentioning the completions being installed. As
an alternative, the port could add FORCE_ALL=1 to FAKE_FLAGS and have
all completions installed always - I'm not sure if bash/fish/zsh users
want this, so if you'll go this way you'll need an explicit okay for
this part.

3. make test fails. I've resolved one of the issues by setting
TEST_ENV to SECURE_TMPDIR=/tmp, but then lost the interest.

--
  WBR,
  Vadim Zhukov
--
  WBR,
  Vadim Zhukov


2015-07-19 17:04 GMT+03:00 David Dahlberg :
> Am Sunday, den 05.07.2015, 15:33 +0200 schrieb David Dahlberg:
>> Here's the next try to get Jason Donenfeld's password store
>> (passwordstore.org) imported into ports.
>
> Ping?
>



Re: UPDATE: sysutils/syslog-ng

2015-07-19 Thread Steven Mestdagh
Stuart Henderson [2015-07-17, 00:09:46]:
> On 2015/07/16 22:49, Steven Mestdagh wrote:
> > Update to 3.6.4.
> > 
> > I was getting certificate errors on fetch, hence the modified FETCH_CMD.
> > 
> > The certificate seems fine however in firefox/chromium. Looks like we do not
> > yet have the NetLock CA in our cert.pem and it needs to be added?
> 
> FETCH_CMD can't be set in a port Makefile, we either need to mirror the
> distfile or add the cert to cert.pem.

we'll go with the latter option, i will add the cert soon.
here's the updated diff.

Index: Makefile
===
RCS file: /cvs/ports/sysutils/syslog-ng/Makefile,v
retrieving revision 1.52
diff -u -p -u -r1.52 Makefile
--- Makefile18 Jul 2015 21:39:05 -  1.52
+++ Makefile19 Jul 2015 15:13:26 -
@@ -4,10 +4,10 @@ COMMENT=  syslogd replacement
 
 SHARED_ONLY =  Yes
 
-V =3.5.6
+V =3.6.4
+REL =  3.6
 DISTNAME = syslog-ng-$V
 CATEGORIES =   sysutils
-REVISION = 1
 
 MAINTAINER =   Steven Mestdagh 
 
@@ -19,8 +19,8 @@ PERMIT_PACKAGE_CDROM =Yes
 MASTER_SITES = 
http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/$V/source/
 DISTFILES =syslog-ng_$V.tar.gz
 
-SHARED_LIBS =  syslog-ng   1.0 \
-   syslog-ng-${V}  1.0
+SHARED_LIBS =  syslog-ng   2.0 \
+   syslog-ng-${REL}2.0
 
 MODULES =  devel/gettext
 
@@ -45,7 +45,8 @@ CONFIGURE_ARGS += --disable-tcp-wrapper 
--disable-geoip \
--without-libnet \
--with-ivykis=system \
-   --enable-sql
+   --enable-sql \
+   --enable-manpages
 CONFIGURE_ENV +=   OPENSSL_CFLAGS="-I/usr/include/openssl" \
OPENSSL_LIBS="-lssl -lcrypto" \
LIBDBI_CFLAGS="-I/usr/include/openssl" \
Index: distinfo
===
RCS file: /cvs/ports/sysutils/syslog-ng/distinfo,v
retrieving revision 1.22
diff -u -p -u -r1.22 distinfo
--- distinfo31 Dec 2014 11:33:56 -  1.22
+++ distinfo19 Jul 2015 15:13:26 -
@@ -1,2 +1,2 @@
-SHA256 (syslog-ng_3.5.6.tar.gz) = bKIBBEXngB9yBkpsYgvc+0lX/CIpnFfBr8a+S2eLIaY=
-SIZE (syslog-ng_3.5.6.tar.gz) = 3001992
+SHA256 (syslog-ng_3.6.4.tar.gz) = e+Ed8xrH1xbx+VLiK1ro4gSe3WM6QbIjd2qFPZEG9Oc=
+SIZE (syslog-ng_3.6.4.tar.gz) = 3276432
Index: files/syslog-ng.conf
===
RCS file: /cvs/ports/sysutils/syslog-ng/files/syslog-ng.conf,v
retrieving revision 1.7
diff -u -p -u -r1.7 syslog-ng.conf
--- files/syslog-ng.conf18 Jul 2015 21:39:05 -  1.7
+++ files/syslog-ng.conf19 Jul 2015 15:13:26 -
@@ -2,7 +2,7 @@
 # This should provide the same behavior as OpenBSD's syslog.conf(5).
 # 2010-07-18 ste...@openbsd.org
 
-@version: 3.5
+@version: 3.6
 
 options { 
use_dns(no);
Index: patches/patch-Makefile_in
===
RCS file: /cvs/ports/sysutils/syslog-ng/patches/patch-Makefile_in,v
retrieving revision 1.7
diff -u -p -u -r1.7 patch-Makefile_in
--- patches/patch-Makefile_in   31 Dec 2014 11:33:56 -  1.7
+++ patches/patch-Makefile_in   19 Jul 2015 15:13:26 -
@@ -1,10 +1,10 @@
 $OpenBSD: patch-Makefile_in,v 1.7 2014/12/31 11:33:56 steven Exp $
 temporary hack until libtool is fixed.
 Makefile.in.orig   Tue Oct 28 07:22:29 2014
-+++ Makefile.inTue Oct 28 07:23:34 2014
-@@ -3679,7 +3679,7 @@ lib/lib_libsyslog_ng_la-uuid.lo: lib/$(am__dirstamp) \
-   lib/$(DEPDIR)/$(am__dirstamp)
- 
+--- Makefile.in.orig   Mon Jun  8 15:44:57 2015
 Makefile.inSat Jun 20 10:10:42 2015
+@@ -4362,7 +4362,7 @@ lib/transport/lib_libsyslog_ng_la-transport-tls.lo:  \
+   lib/transport/$(am__dirstamp) \
+   lib/transport/$(DEPDIR)/$(am__dirstamp)
  lib/libsyslog-ng.la: $(lib_libsyslog_ng_la_OBJECTS) 
$(lib_libsyslog_ng_la_DEPENDENCIES) $(EXTRA_lib_libsyslog_ng_la_DEPENDENCIES) 
lib/$(am__dirstamp)
 -  $(AM_V_CCLD)$(lib_libsyslog_ng_la_LINK) -rpath $(libdir) 
$(lib_libsyslog_ng_la_OBJECTS) $(lib_libsyslog_ng_la_LIBADD) $(LIBS)
 +  $(AM_V_CCLD)$(lib_libsyslog_ng_la_LINK) -rpath $(libdir) -version-info 
0:0:0 $(lib_libsyslog_ng_la_OBJECTS) $(lib_libsyslog_ng_la_LIBADD) $(LIBS)
Index: patches/patch-configure
===
RCS file: /cvs/ports/sysutils/syslog-ng/patches/patch-configure,v
retrieving revision 1.2
diff -u -p -u -r1.2 patch-configure
--- patches/patch-configure 31 Dec 2014 11:33:56 -  1.2
+++ patches/patch-configure 19 Jul 2015 15:13:26 -
@@ -1,8 +1,8 @@
 $OpenBSD: patch-configure,v 1.2 2014/12/31 11:33:56 steven Exp $
 do not pick up libuuid
 configure.orig Tue Oct 28 07:38:54 2014
-+++ configure 

New: colortree

2015-07-19 Thread David Dahlberg
A port for Steve Baker's "tree" program.

As we have already a simpler, BSD-licenced alternative in ports, I used
the gnugetopt/coreutils/colorls approach and renamed to "colortree",
which is the author's preference.

Cheers,
David

colortree.tgz
Description: application/compressed-tar


Re: Please import: password-store

2015-07-19 Thread David Dahlberg
Am Sunday, den 05.07.2015, 15:33 +0200 schrieb David Dahlberg:
> Here's the next try to get Jason Donenfeld's password store
> (passwordstore.org) imported into ports.

Ping?