UPDATE: libass 0.11.2

2014-06-10 Thread Brad Smith
Here is an update to libass 0.11.2.

OK?


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libass/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile16 Nov 2013 00:49:57 -  1.7
+++ Makefile11 Jun 2014 04:07:11 -
@@ -2,12 +2,13 @@
 
 COMMENT=   portable ASS/SSA subtitle renderer
 
-DISTNAME=  libass-0.10.2
+VER=   0.11.2
+DISTNAME=  libass-${VER}
 CATEGORIES=multimedia devel
-MASTER_SITES=  https://libass.googlecode.com/files/
+MASTER_SITES=  https://github.com/libass/libass/releases/download/${VER}/
 EXTRACT_SUFX=  .tar.xz
 
-SHARED_LIBS=   ass 1.0
+SHARED_LIBS=   ass 1.1
 
 HOMEPAGE=  https://code.google.com/p/libass/
 
@@ -16,14 +17,15 @@ MAINTAINER= Brad Smith =0.19.2
 
 CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS=--disable-harfbuzz
+CONFIGURE_ARGS=--disable-asm \
+   --disable-harfbuzz
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -liconv"
 
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libass/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo16 Nov 2013 00:49:57 -  1.4
+++ distinfo25 May 2014 20:35:38 -
@@ -1,2 +1,2 @@
-SHA256 (libass-0.10.2.tar.xz) = 8Cr8xkELgA8AB9x8KC6Jfatk+BfCOzfRcf1v9/xModg=
-SIZE (libass-0.10.2.tar.xz) = 278244
+SHA256 (libass-0.11.2.tar.xz) = SZ268U13Q+WJnJypGJiOgamJT2dLItRoKSLy5dCV/54=
+SIZE (libass-0.11.2.tar.xz) = 297172

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



Re: NEW: net/inspircd

2014-06-10 Thread Anders Jensen-Waud
On 10 Jun 2014, at 7:11 pm, Stuart Henderson  wrote:

> On 2014/06/10 14:34, Anders Jensen-Waud wrote:
>> 
>> I have ported InspIRCd - a “lightweight modular” IRC server written in C++ 
>> to OpenBSD. So far I have tested the port on amd64. Please see attached 
>> tarball.
>> 
> 
> relies on pluggable modules -> should be SHARED_ONLY, and merge
> PFRAG.shared into PLIST in place of the %%shared%% tag
> 

Done.

> --uid=inspircd -> should have an underscore prefix (also check
> that the port does actually build without the uid being present,
> the user isn't created until pkg_add time)
> 

Done.  However, when running make install I now receive error that the
user _inspircd does not exist.  Shouldn't the ports infrastructure create
it automatically as designated by the PLIST file?  I have the following
in my PLIST:

@newgroup penvpn:731
@newuser _inspircd:731:_inspircd:daemon:InspIRCd:/nonexistent:/sbin/nologin

The port is now unable to build. 

> needs @newuser in PLIST
> 

Done (see above). 

> CONFIGURE_STYLE=gnu -> incorrect, that is only for autoconf
> 

My bad, I didn't realise that.  I change it to simple, and the configure
process seems to run.

> patch-configure -> unneeded, set MAKE_FILE

Yep, thank you.

> 
> bad DISTNAME, use DISTFILES to rename, see various other github ports
> 
Done. 

> cleanup whitespace (space-tab on COMMENT/DISTNAME/CONFIGURE_ARGS)
> 

Done. 

> license marker should be explicit that it's "GPLv2 only"
> 
Done. 

> DESCR is a bit long, mentions features which are't in the package, and has
> a spelling mistake
> 
Done.  New version attached, but it currently fails to build because of
the missing user.  Would appreciate some comments as to how I can fix
it.

inspircd-v2.tar.gz
Description: GNU Zip compressed data


--
Anders Jensen-Waud



Re: ap2-subversion example config file

2014-06-10 Thread Stuart Henderson
On 2014/06/10 21:54, Stefan Sperling wrote:
> I don't believe reading MESSAGE/UNMESSAGE from subversion's
> ap2 subpackage is worth anyone's time.
> 
> People setting up an SVN server will need more information anyway.
> I think it makes more sense to provide an example configuration
> file to get them started.

I agree with this, one little thing though,

> +@sample ${SYSCONFDIR}/apache2/extra
> +share/examples/subversion/httpd-svn.conf
> +@sample ${SYSCONFDIR}/apache2/extra/httpd-svn.conf

... for user familiarity, do you think it would make sense to use the
modules/modules.sample mechanism that we use for the old apache
(i.e. make changes to the apache-httpd port to install the directories
and add the relevant include line in httpd.conf)?



ap2-subversion example config file

2014-06-10 Thread Stefan Sperling
I don't believe reading MESSAGE/UNMESSAGE from subversion's
ap2 subpackage is worth anyone's time.

People setting up an SVN server will need more information anyway.
I think it makes more sense to provide an example configuration
file to get them started.

Index: Makefile
===
RCS file: /cvs/ports/devel/subversion/Makefile,v
retrieving revision 1.134
diff -u -p -r1.134 Makefile
--- Makefile23 May 2014 09:37:40 -  1.134
+++ Makefile10 Jun 2014 19:25:10 -
@@ -8,6 +8,7 @@ COMMENT-ap2=apache2 subversion modules
 COMMENT-gnome-keyring= GNOME keyring support for subversion
 
 VERSION=   1.8.9
+REVISION-ap2=  0
 DISTNAME=  subversion-${VERSION}
 PKGNAME-main=  ${DISTNAME}
 FULLPKGNAME-perl=  p5-SVN-${VERSION}
@@ -253,6 +254,8 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/
${INSTALL_DATA} ${FILESDIR}/servers \
${PREFIX}/share/examples/subversion/servers
+   ${INSTALL_DATA} ${FILESDIR}/httpd-svn.conf \
+   ${PREFIX}/share/examples/subversion/httpd-svn.conf
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/client-side
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/server-side
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/subversion/hook-scripts
Index: files/httpd-svn.conf
===
RCS file: files/httpd-svn.conf
diff -N files/httpd-svn.conf
--- /dev/null   1 Jan 1970 00:00:00 -
+++ files/httpd-svn.conf10 Jun 2014 19:25:10 -
@@ -0,0 +1,50 @@
+# $OpenBSD$
+#
+# This file contains examples for the most commonly used options but
+# won't work as-is without creating additional files (see below).
+#
+# See http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html and
+# http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html
+# for a wealth of information and other available options. On OpenBSD, this
+# documentation is also available in the 'svnbook' package; see pkg_add(1).
+
+LoadModule dav_svn_module /usr/local/lib/apache2/mod_dav_svn.so
+#LoadModule authz_svn_module /usr/local/lib/apache2/mod_authz_svn.so
+
+
+DAV svn
+
+# Create your repositories inside /var/svn with 'svnadmin create'.
+# Repositories must be writable by the _apache2 user.
+SVNParentPath /var/svn
+SVNListParentPath on
+
+# Authentication: This example uses digest authentication.
+AuthName "ACME SVN"
+AuthType Digest
+AuthDigestProvider file
+# Use htdigest2 -c to create this file; see htdigest2(1).
+AuthUserFile /etc/apache2/svn-auth.htdigest
+
+# With this, every user must authenticate; no anonymous reads.
+Require valid-user
+
+# Authenticated users only for write operations; allow anonymous reads.
+#
+#Require valid-user
+#
+
+
+# Authorization: path-based access control; requires authz_svn_module.
+#AuthzSVNAccessFile /path/to/access/file
+
+# If no other httpd2 modules perform path-based access control checks,
+# which is the case if this httpd2 server only serves SVN repositories,
+# then this option should be used if authz is enabled:
+#SVNPathAuthz short_circuit
+
+
+
+# Log file showing svn operations (update, checkout, ...) rather
+# than the underlying HTTP/DAV requests (GET, PROPFIND, ...).
+#CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION
Index: pkg/MESSAGE-ap2
===
RCS file: pkg/MESSAGE-ap2
diff -N pkg/MESSAGE-ap2
--- pkg/MESSAGE-ap2 6 Oct 2010 22:03:19 -   1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,10 +0,0 @@
-To finish the install of ap2-subversion, you need
-to enable the modules by adding the following lines
-to your ${SYSCONFDIR}/apache2/httpd2.conf file:
-
-  LoadModule dav_svn_module ${PREFIX}/lib/apache2/mod_dav_svn.so
-  LoadModule authz_svn_module ${PREFIX}/lib/apache2/mod_authz_svn.so
-
-If you already have Apache running on your machine,
-you should not use "apachectl2 restart" - instead,
-you should fully stop and then restart the server.
Index: pkg/PLIST-ap2
===
RCS file: /cvs/ports/devel/subversion/pkg/PLIST-ap2,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST-ap2
--- pkg/PLIST-ap2   19 Feb 2012 12:13:39 -  1.6
+++ pkg/PLIST-ap2   10 Jun 2014 19:27:15 -
@@ -5,3 +5,7 @@ include/subversion-1/mod_dav_svn.h
 lib/apache2/mod_authz_svn.so
 lib/apache2/mod_dav_svn.so
 lib/apache2/mod_dontdothat.so
+share/examples/subversion/
+@sample ${SYSCONFDIR}/apache2/extra
+share/examples/subversion/httpd-svn.conf
+@sample ${SYSCONFDIR}/apache2/extra/httpd-svn.conf
Index: pkg/UNMESSAGE-ap2
===
RCS file: pkg/UNMESSAGE-ap2
diff -N

Re: py-storm does not need py-sqlite2

2014-06-10 Thread frantisek holop
hmm, on Tue, Jun 10, 2014 at 08:42:33PM +0200, frantisek holop said that
> here is a simple patch on the road to get rid
> of py-sqlite and py-sqlite2.  nothing in ports
> uses py-sqlite and py-sqlite2 is built-in
> in python2.7

i was a bit hasty saying nothing uses py-sqlite.

still, py-sqlite2 might go the way of dodo,
just like py-simplejson

-f
-- 
when pig's fly they will be called pigeons



py-storm does not need py-sqlite2

2014-06-10 Thread frantisek holop
here is a simple patch on the road to get rid
of py-sqlite and py-sqlite2.  nothing in ports
uses py-sqlite and py-sqlite2 is built-in
in python2.7

there is a newer py-storm, 0.20 btw.
if the port is to be updated to it,
it will probably become NO_TEST=Yes
as it has gazillion test dependencies.

please test and commit.

-f
-- 
mona lisa is 83% happy, 9% disgusted, 6% fearful and 2% angry
Index: Makefile
===
RCS file: /cvs/ports/databases/py-storm/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile11 Mar 2013 02:52:08 -  1.17
+++ Makefile10 Jun 2014 18:31:58 -
@@ -5,6 +5,7 @@ COMMENT=generic object relational mapp
 MODPY_EGG_VERSION= 0.19
 DISTNAME=  storm-${MODPY_EGG_VERSION}
 PKGNAME=   py-${DISTNAME}
+REVISION=  0
 
 CATEGORIES=databases
 
@@ -22,8 +23,6 @@ WANTLIB=  ${MODPY_WANTLIB}
 
 MODULES=   lang/python
 MODPY_SETUPTOOLS=  Yes
-
-TEST_DEPENDS=  databases/py-sqlite2
 
 do-test:
@cd ${WRKSRC} && ${MODPY_BIN} ./test --verbose


Re: NEW: net/inspircd

2014-06-10 Thread Stuart Henderson
On 2014/06/10 14:34, Anders Jensen-Waud wrote:
> Hi all, 
> 
> I have ported InspIRCd - a “lightweight modular” IRC server written in C++ to 
> OpenBSD. So far I have tested the port on amd64. Please see attached tarball.
> 
> (See http://www.inspircd.org/)
> 
> This requires a new user, inspircd, to be created. I have added it to the 
> file: /usr/ports/infrastructure/db/user.list
> 
> Anyone keen to help out with testing on i386 and other architectures? 
> 
> --
> Anders Jensen-Waud

Haven't tried building, but a few quick comments from reading:

relies on pluggable modules -> should be SHARED_ONLY, and merge
PFRAG.shared into PLIST in place of the %%shared%% tag

--uid=inspircd -> should have an underscore prefix (also check
that the port does actually build without the uid being present,
the user isn't created until pkg_add time)

needs @newuser in PLIST

CONFIGURE_STYLE=gnu -> incorrect, that is only for autoconf

patch-configure -> unneeded, set MAKE_FILE

bad DISTNAME, use DISTFILES to rename, see various other github ports

cleanup whitespace (space-tab on COMMENT/DISTNAME/CONFIGURE_ARGS)

license marker should be explicit that it's "GPLv2 only"

DESCR is a bit long, mentions features which are't in the package, and has
a spelling mistake