ports/73242: [Maintainer] www/dillo: update to 0.8.3
Thomas-Martin Seck
tmseck at netcologne.de
Thu Oct 28 13:10:14 UTC 2004
>Number: 73242
>Category: ports
>Synopsis: [Maintainer] www/dillo: update to 0.8.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 28 13:10:14 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Thomas-Martin Seck
>Release: FreeBSD 4.10-STABLE i386
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of Oct 28, 2004.
>Description:
- Update to 0.8.3
- Supply a knob (WITH_DILLO_SSL) to turn on experimental SSL support
- Move helper programs from $PREFIX/lib to $PREFIX/libexec
- Reduce the blurbs in pkg-descr to the necessary minimum
Note to committer:
please 'cvs add' files/patch-dpi-https.c
>How-To-Repeat:
>Fix:
Apply this patch:
Index: distinfo
===================================================================
--- distinfo (.../www/dillo) (revision 273)
+++ distinfo (.../local/dillo) (revision 273)
@@ -1,2 +1,2 @@
-MD5 (dillo-0.8.2.tar.bz2) = 4322f339aa4a4a2a4ba9a11444df9c67
-SIZE (dillo-0.8.2.tar.bz2) = 409961
+MD5 (dillo-0.8.3.tar.bz2) = be772ec9361bcc01515ae0da61de9bda
+SIZE (dillo-0.8.3.tar.bz2) = 418714
Index: pkg-descr
===================================================================
--- pkg-descr (.../www/dillo) (revision 273)
+++ pkg-descr (.../local/dillo) (revision 273)
@@ -1,14 +1,4 @@
-Dillo is a web browser project completely written in C (currently the code
-is based on gzilla-0.2.2's widget, and a new improved network engine
-written from scratch).
-
-Dillo is small; source is less than 360 kB and binary is less than 270 Kb.
-
Dillo aims to be a multiplatform browser alternative that's small,
stable, developer-friendly, usable, fast, and extensible.
-Dillo is mainly based on GTK+ (GNOME is NOT required!)
-
-Dillo is very fast!
-
WWW: http://www.dillo.org/
Index: files/patch-dpi-https.c
===================================================================
--- files/patch-dpi-https.c (revision 0)
+++ files/patch-dpi-https.c (revision 273)
@@ -0,0 +1,26 @@
+--- dpi/https.c.orig Sun Oct 3 17:16:15 2004
++++ dpi/https.c Sun Oct 3 17:17:47 2004
+@@ -53,7 +53,6 @@
+ #include <glib.h>
+ #include "dpiutil.h"
+
+-#undef ENABLE_SSL
+ #ifdef ENABLE_SSL
+
+ #include <openssl/ssl.h>
+@@ -605,13 +616,8 @@ static void no_ssl_support(void)
+ "<b>}</b>\n\n"
+ " <b>*** Dillo's prototype plugin for https support"
+ " is disabled now ***</b>\n\n"
+- " If you want to test this <b>alpha</b> support code, just remove\n"
+- " line 56 from https.c, recompile and reinstall.\n\n"
+- " (beware that this https support is very limited now)\n\n"
+- " To use https and SSL, you must have \n"
+- " the OpenSSL development libraries installed. Check your\n"
+- " O/S distribution provider, or check out\n"
+- " <a href=\"http://www.openssl.org\">www.openssl.org</a>\n\n"
++ " If you want to test this <b>alpha</b> support code, define\n"
++ " WITH_DILLO_SSL in your make environment and rebuild the port.\n\n"
+ " --\n"
+ "</pre></body></html>\n",
+ http_query
Index: pkg-plist
===================================================================
--- pkg-plist (.../www/dillo) (revision 273)
+++ pkg-plist (.../local/dillo) (revision 273)
@@ -4,15 +4,17 @@
bin/dpidc
etc/dillorc.sample
etc/dpidrc
-lib/dillo/dpi/bookmarks/bookmarks.dpi
-lib/dillo/dpi/downloads/downloads.dpi
-lib/dillo/dpi/ftp/ftp.filter.dpi
-lib/dillo/dpi/hello/hello.filter.dpi
-lib/dillo/dpi/https/https.filter.dpi
- at dirrm lib/dillo/dpi/https
- at dirrm lib/dillo/dpi/hello
- at dirrm lib/dillo/dpi/ftp
- at dirrm lib/dillo/dpi/downloads
- at dirrm lib/dillo/dpi/bookmarks
- at dirrm lib/dillo/dpi
- at dirrm lib/dillo
+libexec/dillo/dpi/bookmarks/bookmarks.dpi
+libexec/dillo/dpi/downloads/downloads.dpi
+libexec/dillo/dpi/file/file.dpi
+libexec/dillo/dpi/ftp/ftp.filter.dpi
+libexec/dillo/dpi/hello/hello.filter.dpi
+libexec/dillo/dpi/https/https.filter.dpi
+ at dirrm libexec/dillo/dpi/https
+ at dirrm libexec/dillo/dpi/hello
+ at dirrm libexec/dillo/dpi/ftp
+ at dirrm libexec/dillo/dpi/file
+ at dirrm libexec/dillo/dpi/downloads
+ at dirrm libexec/dillo/dpi/bookmarks
+ at dirrm libexec/dillo/dpi
+ at dirrm libexec/dillo
Index: Makefile
===================================================================
--- Makefile (.../www/dillo) (revision 273)
+++ Makefile (.../local/dillo) (revision 273)
@@ -4,9 +4,12 @@
#
# $FreeBSD$
#
+# Tunables:
+# WITH_DILLO_SSL: enable experimental SSL support
+#
PORTNAME= dillo
-PORTVERSION= 0.8.2
+PORTVERSION= 0.8.3
CATEGORIES= www
MASTER_SITES= http://www.dillo.org/download/
@@ -24,12 +27,28 @@
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS= --enable-ipv6
+CONFIGURE_ARGS= --enable-ipv6 --libdir=${PREFIX}/libexec
+.if defined(WITH_DILLO_SSL)
+CONFIGURE_ARGS+= --enable-ssl
+USE_OPENSSL= yes
+.else
+CONFIGURE_ARGS+= --disable-ssl
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|dillorc|dillorc.sample|g' ${WRKSRC}/Makefile.in
@${CP} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample
+pre-configure:
+.if !defined(WITH_DILLO_SSL)
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} " You can enable dillo's experimental SSL support by specifing"
+ @${ECHO_CMD} " WITH_DILLO_SSL=yes in your make environment or on the"
+ @${ECHO_CMD} " commandline."
+ @${ECHO_CMD} ""
+.endif
+
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list