On 2009/04/02 22:26, Toni Mueller wrote:
> Please test and report any breakage.

a couple of things are needed ports-wise, I don't have time to learn
how to configure this at the moment to test how the software works on
OpenBSD though.

diff -uNp -r varnish.orig/Makefile varnish/Makefile
--- varnish.orig/Makefile       Thu Apr  2 21:12:41 2009
+++ varnish/Makefile    Thu Apr  2 23:18:18 2009
@@ -5,10 +5,10 @@ COMMENT=              high-performance HTTP accelerator
 DISTNAME=              varnish-2.0.4
 CATEGORIES=            www
 
-SHARED_LIBS+=          varnish         1.0
-SHARED_LIBS+=          varnishapi      1.0
-SHARED_LIBS+=          varnishcompat   1.0
-SHARED_LIBS+=          vcl             1.0
+SHARED_LIBS+=          varnish         0.0
+SHARED_LIBS+=          varnishapi      0.0
+SHARED_LIBS+=          varnishcompat   0.0
+SHARED_LIBS+=          vcl             0.0
 
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=varnish/}
 
@@ -20,7 +20,10 @@ PERMIT_PACKAGE_FTP=  Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-WANTLIB+=              c curses m pthread
+WANTLIB+=              c curses m pthread
+
+USE_LIBTOOL=           yes
+SEPARATE_BUILD=                concurrent
 CONFIGURE_STYLE=       gnu
 CONFIGURE_ARGS+=       --localstatedir=/var
 
diff -uNp -r varnish.orig/pkg/PLIST varnish/pkg/PLIST
--- varnish.orig/pkg/PLIST      Sat Jan 31 04:45:40 2009
+++ varnish/pkg/PLIST   Thu Apr  2 23:23:56 2009
@@ -8,7 +8,6 @@
 @bin bin/varnishstat
 @bin bin/varnishtest
 @bin bin/varnishtop
-...@exec install -d ${SYSCONFDIR}/varnish/
 include/varnish/
 include/varnish/shmlog.h
 include/varnish/shmlog_tags.h
@@ -37,7 +36,7 @@ lib/pkgconfig/varnishapi.pc
 @man man/man7/vcl.7
 @bin sbin/varnishd
 share/examples/varnish/
+...@sample ${SYSCONFDIR}/varnish/
 share/examples/varnish/default.vcl
 @sample ${SYSCONFDIR}/varnish/default.vcl
-...@unexec rmdir ${SYSCONFDIR}/varnish/
 @extraunexec rm -fr /var/varnish

Reply via email to