Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2006 16:28:26 +0200 (CEST)
From:      Thomas-Martin Seck <tmseck@netcologne.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96592: [Maintainer] www/dillo: update to 0.8.6
Message-ID:  <200605011428.k41ESQIv038918@hardy.tmseck.homedns.org>
Resent-Message-ID: <200605011430.k41EUHq0042794@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96592
>Category:       ports
>Synopsis:       [Maintainer] www/dillo: update to 0.8.6
>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:   Mon May 01 14:30:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of May 1, 2006.

	
>Description:
- update to 0.8.6
- cut the master/slave relationship to www/dillo-i18n
- rework logic that enables SSL support
- prepare support for a FLTK2 based download gui (unconditionally disabled
  until x11-toolkits/fltk2 is available in the ports tree)
- minor cleanups and portlintification

Note to committer:

please 'cvs add' the following files:
- files/enable-ssl.patch
- files/patch-configure
	
>How-To-Repeat:
	
>Fix:
Apply this patch:

Index: distinfo
===================================================================
--- distinfo	(.../www/dillo)	(revision 801)
+++ distinfo	(.../local/dillo)	(revision 801)
@@ -1,3 +1,3 @@
-MD5 (dillo-0.8.5.tar.bz2) = d0ab7fa1d40b310deb891388604188f8
-SHA256 (dillo-0.8.5.tar.bz2) = 980ccd8e0c0a85e37478e33b5f4f59d2cfda5c16d30af3acad259626d387cd1a
-SIZE (dillo-0.8.5.tar.bz2) = 424795
+MD5 (dillo-0.8.6.tar.bz2) = b65233d368bbd265a55effcf2c17f84b
+SHA256 (dillo-0.8.6.tar.bz2) = 47e695a5d370eb656f5e41eeb917ad6281b1559bf60172c9eca89b5518a9f9b9
+SIZE (dillo-0.8.6.tar.bz2) = 441739
Index: files/enable-ssl.patch
===================================================================
--- files/enable-ssl.patch	(.../www/dillo)	(revision 0)
+++ files/enable-ssl.patch	(.../local/dillo)	(revision 801)
@@ -0,0 +1,10 @@
+--- dpi/https.c.orig	Sat Mar 25 16:46:48 2006
++++ dpi/https.c	Sat Mar 25 16:47:38 2006
+@@ -62,7 +62,6 @@
+ #include "dpiutil.h"
+ 
+ #define ENABLE_SSL
+-#undef ENABLE_SSL
+ #ifdef ENABLE_SSL
+ 
+ #include <openssl/ssl.h>
Index: files/patch-dpi-https.c
===================================================================
--- files/patch-dpi-https.c	(.../www/dillo)	(revision 801)
+++ files/patch-dpi-https.c	(.../local/dillo)	(revision 801)
@@ -1,19 +1,11 @@
---- 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)
+--- dpi/https.c.orig	Sat Mar 25 16:49:59 2006
++++ dpi/https.c	Sat Mar 25 16:55:35 2006
+@@ -655,13 +655,8 @@
        "<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"
+-      "  line 65 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"
Index: files/patch-configure
===================================================================
--- files/patch-configure	(.../www/dillo)	(revision 0)
+++ files/patch-configure	(.../local/dillo)	(revision 801)
@@ -0,0 +1,114 @@
+--- configure.orig	Sat Apr 15 14:01:45 2006
++++ configure	Sun Apr 16 20:20:43 2006
+@@ -309,7 +309,7 @@
+ # include <unistd.h>
+ #endif"
+ 
+-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DLGUI_TRUE DLGUI_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE GLIB_CONFIG GL
 IB_CFLAGS GLIB_LIBS GTK_CONFIG GTK_CFLAGS GTK_LIBS EGREP LIBJPEG_LIBS LIBJPEG_LDFLAGS LIBJPEG_CPPFLAGS LIBPNG_LIBS LIBPNG_CFLAGS LIBZ_LIBS LIBSSL_LIBS LIBPTHREAD_LIBS LIBPTHREAD_LDFLAGS LIBFLTK_CXXFLAGS LIBFLTK_LIBS src doc bin util lib LIBOBJS LTLIBOBJS'
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DLGUI_TRUE DLGUI_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE GLIB_CONFIG GL
 IB_CFLAGS GLIB_LIBS GTK_CONFIG GTK_CFLAGS GTK_LIBS FLTK2_CONFIG EGREP LIBJPEG_LIBS LIBJPEG_LDFLAGS LIBJPEG_CPPFLAGS LIBPNG_LIBS LIBPNG_CFLAGS LIBZ_LIBS LIBSSL_LIBS LIBPTHREAD_LIBS LIBPTHREAD_LDFLAGS LIBFLTK_CXXFLAGS LIBFLTK_LIBS src doc bin util lib LIBOBJS LTLIBOBJS'
+ ac_subst_files=''
+ 
+ # Initialize some variables set by options.
+@@ -1961,16 +1961,6 @@
+   enable_threaded_dns=yes
+ fi;
+ 
+-
+-if test x$enable_dlgui = xyes; then
+-  DLGUI_TRUE=
+-  DLGUI_FALSE='#'
+-else
+-  DLGUI_TRUE='#'
+-  DLGUI_FALSE=
+-fi
+-
+-
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+@@ -5884,11 +5874,81 @@
+   rm -f conf.gtktest
+ 
+ 
+-    echo "$as_me:$LINENO: checking Hackish check for FLTK" >&5
+-echo $ECHO_N "checking Hackish check for FLTK... $ECHO_C" >&6
+-    LIBFLTK_CXXFLAGS=`fltk-config --cxxflags`
+-    LIBFLTK_LIBS=`fltk-config --ldflags`
++if test "x$enable_dlgui" = "xyes"; then
++  for ac_prog in fltk2-config fltk-config
++do
++  # Extract the first word of "$ac_prog", so it can be a program name with args.
++set dummy $ac_prog; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_FLTK2_CONFIG+set}" = set; then
++  echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++  case $FLTK2_CONFIG in
++  [\\/]* | ?:[\\/]*)
++  ac_cv_path_FLTK2_CONFIG="$FLTK2_CONFIG" # Let the user override the test with a path.
++  ;;
++  *)
++  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++  IFS=$as_save_IFS
++  test -z "$as_dir" && as_dir=.
++  for ac_exec_ext in '' $ac_executable_extensions; do
++  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++    ac_cv_path_FLTK2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
++    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++    break 2
++  fi
++done
++done
++
++  ;;
++esac
++fi
++FLTK2_CONFIG=$ac_cv_path_FLTK2_CONFIG
++
++if test -n "$FLTK2_CONFIG"; then
++  echo "$as_me:$LINENO: result: $FLTK2_CONFIG" >&5
++echo "${ECHO_T}$FLTK2_CONFIG" >&6
++else
++  echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++  test -n "$FLTK2_CONFIG" && break
++done
++test -n "$FLTK2_CONFIG" || FLTK2_CONFIG="NOTFOUND"
+ 
++  if test "x$FLTK2_CONFIG" != "xNOTFOUND" && test -x "$FLTK2_CONFIG"; then
++    fltk_version=`$FLTK2_CONFIG --version`
++    case "$fltk_version" in
++      2.*)
++        LIBFLTK_CXXFLAGS=`$FLTK2_CONFIG --cxxflags`
++        LIBFLTK_LIBS=`$FLTK2_CONFIG --ldflags`
++        fltk2_ok="yes"
++        ;;
++      *)
++        echo "$as_me:$LINENO: result: need fltk2 -- disabling fltk support" >&5
++echo "${ECHO_T}need fltk2 -- disabling fltk support" >&6
++        fltk2_ok="no"
++        ;;
++    esac
++  else
++    fltk2_ok="no"
++  fi
++else
++  fltk2_ok="no"
++fi
++
++
++if test x$fltk2_ok = xyes; then
++  DLGUI_TRUE=
++  DLGUI_FALSE='#'
++else
++  DLGUI_TRUE='#'
++  DLGUI_FALSE=
++fi
+ 
+ if test "x$enable_jpeg" = "xyes"; then
+ 
Index: pkg-plist
===================================================================
--- pkg-plist	(.../www/dillo)	(revision 801)
+++ pkg-plist	(.../local/dillo)	(revision 801)
@@ -1,10 +1,12 @@
-@comment $FreeBSD: ports/www/dillo/pkg-plist,v 1.5 2004/10/28 15:23:34 pav Exp $
+@comment $FreeBSD: ports/www/dillo/pkg-plist,v 1.3 2003/02/27 17:36:36 naddy Exp $
 bin/dillo
 bin/dpid
 bin/dpidc
 etc/dillorc.sample
 etc/dpidrc
 libexec/dillo/dpi/bookmarks/bookmarks.dpi
+libexec/dillo/dpi/cookies/cookies.dpi
+libexec/dillo/dpi/datauri/datauri.filter.dpi
 libexec/dillo/dpi/downloads/downloads.dpi
 libexec/dillo/dpi/file/file.dpi
 libexec/dillo/dpi/ftp/ftp.filter.dpi
@@ -15,6 +17,8 @@
 @dirrm libexec/dillo/dpi/ftp
 @dirrm libexec/dillo/dpi/file
 @dirrm libexec/dillo/dpi/downloads
+@dirrm libexec/dillo/dpi/datauri
+@dirrm libexec/dillo/dpi/cookies
 @dirrm libexec/dillo/dpi/bookmarks
 @dirrm libexec/dillo/dpi
 @dirrm libexec/dillo
Index: Makefile
===================================================================
--- Makefile	(.../www/dillo)	(revision 801)
+++ Makefile	(.../local/dillo)	(revision 801)
@@ -9,34 +9,38 @@
 #
 
 PORTNAME=	dillo
-PORTVERSION=	0.8.5
+PORTVERSION=	0.8.6
 CATEGORIES=	www ipv6
 MASTER_SITES=	http://www.dillo.org/download/
 
-MAINTAINER?=	tmseck@netcologne.de
-COMMENT?=	A fast, small graphical Web browser built upon GTK+
+MAINTAINER=	tmseck@netcologne.de
+COMMENT=	A fast, small graphical Web browser built upon GTK+
 
-RUN_DEPENDS+=	wget:${PORTSDIR}/ftp/wget
-LIB_DEPENDS+=	jpeg.9:${PORTSDIR}/graphics/jpeg \
+RUN_DEPENDS=	wget:${PORTSDIR}/ftp/wget
+LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
 		png.5:${PORTSDIR}/graphics/png
 
 USE_BZIP2=	yes
 USE_GNOME=	gnometarget gtk12
-USE_REINPLACE=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS+=	--enable-ipv6 --libdir=${PREFIX}/libexec
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" \
+		LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS=	--enable-cookies --enable-ipv6 --enable-threaded-dns \
+		--disable-dlgui \
+		--libdir=${PREFIX}/libexec
 
 .if defined(WITH_DILLO_SSL)
 CONFIGURE_ARGS+=	--enable-ssl
+EXTRA_PATCHES+=	${PATCHDIR}/enable-ssl.patch
 USE_OPENSSL=	yes
 .else
 CONFIGURE_ARGS+=	--disable-ssl
 .endif
 
-CONFLICTS?=	dillo-i18n-*[0-9]*
+CONFLICTS=	dillo-i18n-*[0-9]*
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \
@@ -44,16 +48,12 @@
 	@${REINPLACE_CMD} -e 's|dillorc|dillorc.sample|g' ${WRKSRC}/Makefile.in
 	@${CP} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample
 
-# let a slave port redefine this target if it needs to:
-.if !target(pre-configure)
 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} "   Set WITH_DILLO_SSL=yes in your make environment or on the"
+	@${ECHO_CMD} "   commandline to enable experimental SSL support."
+.endif
 	@${ECHO_CMD} ""
-.endif
-.endif
 
 .include <bsd.port.mk>

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605011428.k41ESQIv038918>