Bug 141674 - New port: www/uzbl a web interface tool adhering to the Unix philosophy
Summary: New port: www/uzbl a web interface tool adhering to the Unix philosophy
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-16 10:20 UTC by Klaus Aehlig
Modified: 2010-01-08 10:10 UTC (History)
0 users

See Also:


Attachments
uzbl.shar (6.30 KB, text/plain)
2009-12-16 10:20 UTC, Klaus Aehlig
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Aehlig 2009-12-16 10:20:05 UTC
   Uzbl is a collection of web interface tools that follow
   UNIX philosophy - "Write programs that do one thing and do
   it well.  Write programs to work together. Write programs 
   to handle text streams, because that is a universal interface."
Comment 1 aehlig-bsd 2009-12-23 09:32:28 UTC
In the meantime a new upstream version has been released, see

  http://www.uzbl.org/

So please find attached the modified version of my suggested port.

--- uzbl.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./files
#	./files/patch-uzbl-core-errno
#	./files/patch-Makefile-sed
#	./files/patch-cookie-daemon
#	./Makefile
#	./distinfo
#	./pkg-descr
#	./pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-uzbl-core-errno
sed 's/^X//' >./files/patch-uzbl-core-errno << '70af2b915746b67ec048e46ff0815b88'
X--- uzbl-core.c.orig	2009-12-15 09:48:05.000000000 +0100
X+++ uzbl-core.c	2009-12-15 09:48:21.000000000 +0100
X@@ -29,6 +29,7 @@
X  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
X  */
X 
X+#include <sys/errno.h>
X #include "uzbl-core.h"
X #include "callbacks.h"
X #include "events.h"
70af2b915746b67ec048e46ff0815b88
echo x - ./files/patch-Makefile-sed
sed 's/^X//' >./files/patch-Makefile-sed << '0e56f665bbd227aad7375772ad32ed06'
X--- Makefile.orig	2009-12-23 09:36:38.000000000 +0100
X+++ Makefile	2009-12-23 09:37:03.000000000 +0100
X@@ -99,15 +99,15 @@
X 	install -m755 uzbl-core    $(INSTALLDIR)/bin/uzbl-core
X 	install -m644 AUTHORS      $(INSTALLDIR)/share/uzbl/docs
X 	install -m644 README       $(INSTALLDIR)/share/uzbl/docs
X-	sed -i 's#^set prefix.*=.*#set prefix     = $(RUN_PREFIX)#' $(INSTALLDIR)/share/uzbl/examples/config/uzbl/config
X+	sed -i  -e 's#^set prefix.*=.*#set prefix     = $(RUN_PREFIX)#' $(INSTALLDIR)/share/uzbl/examples/config/uzbl/config
X 
X install-uzbl-browser: install-uzbl-core
X 	install -d $(INSTALLDIR)/bin
X 	install -m755 uzbl-browser $(INSTALLDIR)/bin/uzbl-browser
X 	install -m755 examples/data/uzbl/scripts/uzbl-cookie-daemon $(INSTALLDIR)/bin/uzbl-cookie-daemon
X 	install -m755 examples/data/uzbl/scripts/uzbl-event-manager $(INSTALLDIR)/bin/uzbl-event-manager
X-	sed -i 's#^PREFIX=.*#PREFIX=$(RUN_PREFIX)#' $(INSTALLDIR)/bin/uzbl-browser
X-	sed -i "s#^PREFIX = .*#PREFIX = '$(RUN_PREFIX)'#" $(INSTALLDIR)/bin/uzbl-event-manager
X+	sed -i -e 's#^PREFIX=.*#PREFIX=$(RUN_PREFIX)#' $(INSTALLDIR)/bin/uzbl-browser
X+	sed -i -e "s#^PREFIX = .*#PREFIX = '$(RUN_PREFIX)'#" $(INSTALLDIR)/bin/uzbl-event-manager
X 
X install-uzbl-tabbed: install-uzbl-browser
X 	install -d $(INSTALLDIR)/bin
0e56f665bbd227aad7375772ad32ed06
echo x - ./files/patch-cookie-daemon
sed 's/^X//' >./files/patch-cookie-daemon << 'c8a9bd0f1cf5e1626414881eb690cafc'
X--- examples/data/uzbl/scripts/uzbl-cookie-daemon.orig	2009-12-22 14:16:12.000000000 +0100
X+++ examples/data/uzbl/scripts/uzbl-cookie-daemon	2009-12-22 14:16:44.000000000 +0100
X@@ -187,7 +187,7 @@
X         raise Exception("directory at %r is not a socket" % cookie_socket)
X 
X     try:
X-        sock = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET)
X+        sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
X         sock.connect(cookie_socket)
X         sock.close()
X         echo("detected daemon listening on %r" % cookie_socket)
X@@ -210,7 +210,7 @@
X         return False
X 
X     try:
X-        sock = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET)
X+        sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
X         sock.connect(cookie_socket)
X         sock.send(cmd)
X         sock.close()
X@@ -418,7 +418,7 @@
X         mkbasedir(cookie_socket)
X 
X         self.server_socket = socket.socket(socket.AF_UNIX,
X-          socket.SOCK_SEQPACKET)
X+          socket.SOCK_STREAM)
X 
X         self.server_socket.bind(cookie_socket)
X 
c8a9bd0f1cf5e1626414881eb690cafc
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# Ports collection makefile for: uzbl
X# Date created:                  2009/12/14
X# Whom:                          aehlig@linta.de
X#
X# $FreeBSD: $
X#
X
XPORTNAME=		uzbl
XPORTVERSION=		0.0.0.${GITDATE}
XCATEGORIES=		www
XMASTER_SITES=		http://github.com/Dieterbe/
XDISTNAME=		uzbl/tarball/${GITDATE}
X
XMAINTAINER=	aehlig@linta.de
XCOMMENT=	Web interface tools which adhere to the unix philosophy
X
XLIB_DEPENDS=	webkit:${PORTSDIR}/www/webkit-gtk2
X
XGITDATE=		2009.12.22
XGITVERSION=		4994115
XFETCH_ARGS=		-pRr
XEXTRACT_SUFFIX=
XWRKSRC=			${WRKDIR}/Dieterbe-uzbl-${GITVERSION}
X
XUSE_GNOME=      gtk20
XUSE_LDCONFIG=   yes
X
Xpost-patch:
X	${RM} ${WRKSRC}/examples/data/uzbl/scripts/uzbl-cookie-daemon.orig
X
X.include <bsd.port.mk>
464ef7c6571951809b23e262cbe26e19
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XMD5 (uzbl/tarball/2009.12.22.tar.gz) = 8cf1bd7c2fe6c14345b1671160f0214f
XSHA256 (uzbl/tarball/2009.12.22.tar.gz) = 500967cd8bf9a1ed87d59e0b47bd69475e13c610e2986b2fdf121151dc9c466f
XSIZE (uzbl/tarball/2009.12.22.tar.gz) = 134336
aec8793adfd5b7c3f00e62ae41a09ac2
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XUzbl is a collection of web interface tools that follow
XUNIX philosophy - "Write programs that do one thing and do
Xit well.  Write programs to work together. Write programs 
Xto handle text streams, because that is a universal interface."
X
XWWW: http://www.uzbl.org/
0e313719ff012ceaf97a028d51caa8f5
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6'
Xbin/uzbl-core
Xbin/uzbl-browser
Xbin/uzbl-cookie-daemon
Xbin/uzbl-event-manager
Xbin/uzbl-event-manager-e
Xbin/uzbl-browser-e
Xbin/uzbl-tabbed
Xshare/uzbl/docs/url-editing
Xshare/uzbl/docs/CONTRIBUTING
Xshare/uzbl/docs/FAQ
Xshare/uzbl/docs/INSTALL
Xshare/uzbl/docs/TODO
Xshare/uzbl/docs/config-syntax
Xshare/uzbl/docs/multiple-instances-management
Xshare/uzbl/docs/performance
Xshare/uzbl/docs/COMMUNITY
Xshare/uzbl/docs/config.h
Xshare/uzbl/docs/AUTHORS
Xshare/uzbl/docs/README
Xshare/uzbl/examples/config/uzbl/config
Xshare/uzbl/examples/config/uzbl/cookies
Xshare/uzbl/examples/config/uzbl/config-e
Xshare/uzbl/examples/data/uzbl/forms/bbs.archlinux.org
Xshare/uzbl/examples/data/uzbl/plugins/progress_bar.py
Xshare/uzbl/examples/data/uzbl/plugins/completion.py
Xshare/uzbl/examples/data/uzbl/plugins/config.py
Xshare/uzbl/examples/data/uzbl/plugins/keycmd.py
Xshare/uzbl/examples/data/uzbl/plugins/mode.py
Xshare/uzbl/examples/data/uzbl/plugins/on_event.py
Xshare/uzbl/examples/data/uzbl/plugins/plugin_template.py
Xshare/uzbl/examples/data/uzbl/plugins/bind.py
Xshare/uzbl/examples/data/uzbl/scripts/uzblcat
Xshare/uzbl/examples/data/uzbl/scripts/download.sh
Xshare/uzbl/examples/data/uzbl/scripts/extedit.js
Xshare/uzbl/examples/data/uzbl/scripts/follow_Numbers.js
Xshare/uzbl/examples/data/uzbl/scripts/follow_Numbers_Strings.js
Xshare/uzbl/examples/data/uzbl/scripts/formfiller.pl
Xshare/uzbl/examples/data/uzbl/scripts/formfiller.sh
Xshare/uzbl/examples/data/uzbl/scripts/hint.js
Xshare/uzbl/examples/data/uzbl/scripts/history.sh
Xshare/uzbl/examples/data/uzbl/scripts/insert_bookmark.sh
Xshare/uzbl/examples/data/uzbl/scripts/instance-select-wmii.sh
Xshare/uzbl/examples/data/uzbl/scripts/linkfollow.js
Xshare/uzbl/examples/data/uzbl/scripts/load_url_from_bookmarks.sh
Xshare/uzbl/examples/data/uzbl/scripts/load_url_from_history.sh
Xshare/uzbl/examples/data/uzbl/scripts/scheme.py
Xshare/uzbl/examples/data/uzbl/scripts/scroll-percentage.js
Xshare/uzbl/examples/data/uzbl/scripts/session.sh
Xshare/uzbl/examples/data/uzbl/scripts/uzbl-cookie-daemon
Xshare/uzbl/examples/data/uzbl/scripts/uzbl-tabbed
Xshare/uzbl/examples/data/uzbl/scripts/uzbl-event-manager
Xshare/uzbl/examples/data/uzbl/scripts/cookies.sh
Xshare/uzbl/examples/data/uzbl/bookmarks
Xshare/uzbl/examples/data/uzbl/style.css
Xshare/uzbl/examples/data/uzbl/uzbl.png
X@dirrmtry share/uzbl/docs
X@dirrmtry share/uzbl/examples/config/uzbl
X@dirrmtry share/uzbl/examples/config
X@dirrmtry share/uzbl/examples/data/uzbl/forms
X@dirrmtry share/uzbl/examples/data/uzbl/plugins
X@dirrmtry share/uzbl/examples/data/uzbl/scripts
X@dirrmtry share/uzbl/examples/data/uzbl
X@dirrmtry share/uzbl/examples/data
X@dirrmtry share/uzbl/examples
X@dirrmtry share/uzbl
ef3e7f63841ae908ba397c2bef1fbad6
exit

--- uzbl.shar ends here ---
Comment 2 Klaus Aehlig 2010-01-06 15:13:52 UTC
Again the latest upstream version has changed, this time due
to a java script related security issue. If considering this
PR, please use the following modified port.

--- uzbl.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./files
#	./files/patch-uzbl-core-errno
#	./files/patch-Makefile-sed
#	./files/patch-cookie-daemon
#	./Makefile
#	./distinfo
#	./pkg-descr
#	./pkg-plist
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-uzbl-core-errno
sed 's/^X//' >./files/patch-uzbl-core-errno << '70af2b915746b67ec048e46ff0815b88'
X--- uzbl-core.c.orig	2009-12-15 09:48:05.000000000 +0100
X+++ uzbl-core.c	2009-12-15 09:48:21.000000000 +0100
X@@ -29,6 +29,7 @@
X  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
X  */
X 
X+#include <sys/errno.h>
X #include "uzbl-core.h"
X #include "callbacks.h"
X #include "events.h"
70af2b915746b67ec048e46ff0815b88
echo x - ./files/patch-Makefile-sed
sed 's/^X//' >./files/patch-Makefile-sed << '0e56f665bbd227aad7375772ad32ed06'
X--- Makefile.orig	2009-12-23 09:36:38.000000000 +0100
X+++ Makefile	2009-12-23 09:37:03.000000000 +0100
X@@ -99,15 +99,15 @@
X 	install -m755 uzbl-core    $(INSTALLDIR)/bin/uzbl-core
X 	install -m644 AUTHORS      $(INSTALLDIR)/share/uzbl/docs
X 	install -m644 README       $(INSTALLDIR)/share/uzbl/docs
X-	sed -i 's#^set prefix.*=.*#set prefix     = $(RUN_PREFIX)#' $(INSTALLDIR)/share/uzbl/examples/config/uzbl/config
X+	sed -i  -e 's#^set prefix.*=.*#set prefix     = $(RUN_PREFIX)#' $(INSTALLDIR)/share/uzbl/examples/config/uzbl/config
X 
X install-uzbl-browser: install-uzbl-core
X 	install -d $(INSTALLDIR)/bin
X 	install -m755 uzbl-browser $(INSTALLDIR)/bin/uzbl-browser
X 	install -m755 examples/data/uzbl/scripts/uzbl-cookie-daemon $(INSTALLDIR)/bin/uzbl-cookie-daemon
X 	install -m755 examples/data/uzbl/scripts/uzbl-event-manager $(INSTALLDIR)/bin/uzbl-event-manager
X-	sed -i 's#^PREFIX=.*#PREFIX=$(RUN_PREFIX)#' $(INSTALLDIR)/bin/uzbl-browser
X-	sed -i "s#^PREFIX = .*#PREFIX = '$(RUN_PREFIX)'#" $(INSTALLDIR)/bin/uzbl-event-manager
X+	sed -i -e 's#^PREFIX=.*#PREFIX=$(RUN_PREFIX)#' $(INSTALLDIR)/bin/uzbl-browser
X+	sed -i -e "s#^PREFIX = .*#PREFIX = '$(RUN_PREFIX)'#" $(INSTALLDIR)/bin/uzbl-event-manager
X 
X install-uzbl-tabbed: install-uzbl-browser
X 	install -d $(INSTALLDIR)/bin
0e56f665bbd227aad7375772ad32ed06
echo x - ./files/patch-cookie-daemon
sed 's/^X//' >./files/patch-cookie-daemon << 'c8a9bd0f1cf5e1626414881eb690cafc'
X--- examples/data/uzbl/scripts/uzbl-cookie-daemon.orig	2009-12-22 14:16:12.000000000 +0100
X+++ examples/data/uzbl/scripts/uzbl-cookie-daemon	2009-12-22 14:16:44.000000000 +0100
X@@ -187,7 +187,7 @@
X         raise Exception("directory at %r is not a socket" % cookie_socket)
X 
X     try:
X-        sock = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET)
X+        sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
X         sock.connect(cookie_socket)
X         sock.close()
X         echo("detected daemon listening on %r" % cookie_socket)
X@@ -210,7 +210,7 @@
X         return False
X 
X     try:
X-        sock = socket.socket(socket.AF_UNIX, socket.SOCK_SEQPACKET)
X+        sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
X         sock.connect(cookie_socket)
X         sock.send(cmd)
X         sock.close()
X@@ -418,7 +418,7 @@
X         mkbasedir(cookie_socket)
X 
X         self.server_socket = socket.socket(socket.AF_UNIX,
X-          socket.SOCK_SEQPACKET)
X+          socket.SOCK_STREAM)
X 
X         self.server_socket.bind(cookie_socket)
X 
c8a9bd0f1cf5e1626414881eb690cafc
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# Ports collection makefile for: uzbl
X# Date created:                  2009/12/14
X# Whom:                          aehlig@linta.de
X#
X# $FreeBSD: $
X#
X
XPORTNAME=		uzbl
XPORTVERSION=		0.0.0.${GITDATE}
XCATEGORIES=		www
XMASTER_SITES=		http://github.com/Dieterbe/
XDISTNAME=		uzbl/tarball/${GITDATE}
X
XMAINTAINER=	aehlig@linta.de
XCOMMENT=	Web interface tools which adhere to the unix philosophy
X
XLIB_DEPENDS=	webkit:${PORTSDIR}/www/webkit-gtk2
X
XGITDATE=		2010.01.05
XGITVERSION=		1958b52
XFETCH_ARGS=		-pRr
XEXTRACT_SUFFIX=
XWRKSRC=			${WRKDIR}/Dieterbe-uzbl-${GITVERSION}
X
XUSE_GNOME=      gtk20
XUSE_LDCONFIG=   yes
X
Xpost-patch:
X	${RM} ${WRKSRC}/examples/data/uzbl/scripts/uzbl-cookie-daemon.orig
X
X.include <bsd.port.mk>
464ef7c6571951809b23e262cbe26e19
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XMD5 (uzbl/tarball/2010.01.05.tar.gz) = 2574fc68a7a7693297d371ca58a4edb4
XSHA256 (uzbl/tarball/2010.01.05.tar.gz) = 0aae5c9994d968b4f4ec7f8f2ce935c25e25d19cabbce27e3ded0672756132c8
XSIZE (uzbl/tarball/2010.01.05.tar.gz) = 133875
aec8793adfd5b7c3f00e62ae41a09ac2
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XUzbl is a collection of web interface tools that follow
XUNIX philosophy - "Write programs that do one thing and do
Xit well.  Write programs to work together. Write programs 
Xto handle text streams, because that is a universal interface."
X
XWWW: http://www.uzbl.org/
0e313719ff012ceaf97a028d51caa8f5
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6'
Xbin/uzbl-core
Xbin/uzbl-browser
Xbin/uzbl-cookie-daemon
Xbin/uzbl-event-manager
Xbin/uzbl-event-manager-e
Xbin/uzbl-browser-e
Xbin/uzbl-tabbed
Xshare/uzbl/docs/url-editing
Xshare/uzbl/docs/CONTRIBUTING
Xshare/uzbl/docs/FAQ
Xshare/uzbl/docs/INSTALL
Xshare/uzbl/docs/TODO
Xshare/uzbl/docs/config-syntax
Xshare/uzbl/docs/multiple-instances-management
Xshare/uzbl/docs/performance
Xshare/uzbl/docs/COMMUNITY
Xshare/uzbl/docs/config.h
Xshare/uzbl/docs/AUTHORS
Xshare/uzbl/docs/README
Xshare/uzbl/examples/config/uzbl/config
Xshare/uzbl/examples/config/uzbl/cookies
Xshare/uzbl/examples/config/uzbl/config-e
Xshare/uzbl/examples/data/uzbl/forms/bbs.archlinux.org
Xshare/uzbl/examples/data/uzbl/plugins/progress_bar.py
Xshare/uzbl/examples/data/uzbl/plugins/completion.py
Xshare/uzbl/examples/data/uzbl/plugins/config.py
Xshare/uzbl/examples/data/uzbl/plugins/keycmd.py
Xshare/uzbl/examples/data/uzbl/plugins/mode.py
Xshare/uzbl/examples/data/uzbl/plugins/on_event.py
Xshare/uzbl/examples/data/uzbl/plugins/plugin_template.py
Xshare/uzbl/examples/data/uzbl/plugins/bind.py
Xshare/uzbl/examples/data/uzbl/scripts/uzblcat
Xshare/uzbl/examples/data/uzbl/scripts/download.sh
Xshare/uzbl/examples/data/uzbl/scripts/extedit.js
Xshare/uzbl/examples/data/uzbl/scripts/follow_Numbers.js
Xshare/uzbl/examples/data/uzbl/scripts/follow_Numbers_Strings.js
Xshare/uzbl/examples/data/uzbl/scripts/formfiller.pl
Xshare/uzbl/examples/data/uzbl/scripts/formfiller.sh
Xshare/uzbl/examples/data/uzbl/scripts/hint.js
Xshare/uzbl/examples/data/uzbl/scripts/history.sh
Xshare/uzbl/examples/data/uzbl/scripts/insert_bookmark.sh
Xshare/uzbl/examples/data/uzbl/scripts/instance-select-wmii.sh
Xshare/uzbl/examples/data/uzbl/scripts/linkfollow.js
Xshare/uzbl/examples/data/uzbl/scripts/load_url_from_bookmarks.sh
Xshare/uzbl/examples/data/uzbl/scripts/load_url_from_history.sh
Xshare/uzbl/examples/data/uzbl/scripts/scheme.py
Xshare/uzbl/examples/data/uzbl/scripts/scroll-percentage.js
Xshare/uzbl/examples/data/uzbl/scripts/session.sh
Xshare/uzbl/examples/data/uzbl/scripts/uzbl-cookie-daemon
Xshare/uzbl/examples/data/uzbl/scripts/uzbl-tabbed
Xshare/uzbl/examples/data/uzbl/scripts/uzbl-event-manager
Xshare/uzbl/examples/data/uzbl/scripts/cookies.sh
Xshare/uzbl/examples/data/uzbl/bookmarks
Xshare/uzbl/examples/data/uzbl/style.css
Xshare/uzbl/examples/data/uzbl/uzbl.png
X@dirrmtry share/uzbl/docs
X@dirrmtry share/uzbl/examples/config/uzbl
X@dirrmtry share/uzbl/examples/config
X@dirrmtry share/uzbl/examples/data/uzbl/forms
X@dirrmtry share/uzbl/examples/data/uzbl/plugins
X@dirrmtry share/uzbl/examples/data/uzbl/scripts
X@dirrmtry share/uzbl/examples/data/uzbl
X@dirrmtry share/uzbl/examples/data
X@dirrmtry share/uzbl/examples
X@dirrmtry share/uzbl
ef3e7f63841ae908ba397c2bef1fbad6
exit

--- uzbl.shar ends here ---
Comment 3 Emanuel Haupt freebsd_committer freebsd_triage 2010-01-07 11:05:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ehaupt

I will take care of it.
Comment 4 Emanuel Haupt 2010-01-07 12:17:02 UTC
Renaming DISTNAME is generally okay but in this case (2010.01.05) the
name is just way too generic. Thousands of distfiles get mirrored on
the FreeBSD mirror, so the more descriptive a distfile the better. Do
you think you could host a distfile on your webserver(s)? That way you
could also avoid overwriting FETCH_ARGS. As an alternative I can offer
you to put it in my directory on freefall.

Emanuel
Comment 5 Klaus Aehlig 2010-01-07 12:34:40 UTC
Dear Emanuel,

> Renaming DISTNAME is generally okay but in this case (2010.01.05) the
> name is just way too generic. Thousands of distfiles get mirrored on
> the FreeBSD mirror, so the more descriptive a distfile the better. 

Thanks for looking into my PR. I see your point with a date beeing a way too
generic name; the reason why I didn't consider this a problem is, that
the full path of ${DISTNAME} is honored and so the files will end up in a
subdirectory uzbl/tarballs of the distfile directory. But if you prefer...

> Do you think you could host a distfile on your webserver(s)? That way you
> could also avoid overwriting FETCH_ARGS.

...I can certainly host a distfile on my webserver. Just let me know.

Best,
Klaus
Comment 6 Emanuel Haupt 2010-01-07 13:22:20 UTC
"Klaus T. Aehlig" <aehlig@linta.de> wrote:
> 
> Dear Emanuel,
> 
> > Renaming DISTNAME is generally okay but in this case (2010.01.05)
> > the name is just way too generic. Thousands of distfiles get
> > mirrored on the FreeBSD mirror, so the more descriptive a distfile
> > the better. 
> 
> Thanks for looking into my PR. I see your point with a date beeing a
> way too generic name; the reason why I didn't consider this a problem
> is, that the full path of ${DISTNAME} is honored and so the files
> will end up in a subdirectory uzbl/tarballs of the distfile
> directory. But if you prefer...

That's a valid point, however, if you like to create a subdirectory
within DISTDIR then using the DIST_SUBDIR would be preferred. But then
we'd still have to redefine FETCH_ARGS due to the lack of the dynamic
master site.

> > Do you think you could host a distfile on your webserver(s)? That
> > way you could also avoid overwriting FETCH_ARGS.
> 
> ...I can certainly host a distfile on my webserver. Just let me know.

If you don't mind, hosting a tarball with the name 

  uzbl-0.0.0.2010.01.05.tar.gz

would be nice. I could even mirror it in my distfile mirror directory
and it's even redundant.

If you agree to this you can send me the URL to the distfile on your
server and I'll adjust the port; no need to re-submit.

Emanuel
Comment 7 Klaus Aehlig 2010-01-07 13:33:21 UTC
Dear Emanuel,

> If you don't mind, hosting a tarball with the name 
> 
>   uzbl-0.0.0.2010.01.05.tar.gz
> 
> would be nice. I could even mirror it in my distfile mirror directory
> and it's even redundant.
> 
> If you agree to this you can send me the URL to the distfile on your
> server and I'll adjust the port; no need to re-submit.

That would be http://www.linta.de/distfiles/uzbl-0.0.0.2010.01.05.tar.gz

So the new master site would be http://www.linta.de/distfiles/
If you could provide the backup master site, that would be great.

Thanks for your effort. Best regards,
Klaus
Comment 8 Klaus Aehlig 2010-01-08 03:52:05 UTC
Dear Emanuel,

I'm terribly sorry to cause you extra work. However,
I was just pointed out that I missed another point,
where uzbl tries to create a SOCK_SEQPACKET in AF_UNIX
so that we have to use SOCK_STREAM as a replacement (which
fortunately works as a replacement due to the way the 
sockets are used in the typical configurations).
Do you think it is possible to again modify the port
as to also include the following patch in its files
directory? (The line numbers of this patch make use
of the fact that patch-uzbl-core-socketstream  is
lexicographically after patch-uzbl-core-errno.)

Thanks again for all your efforts and best regards,
Klaus

--- patch-uzbl-core-socketstream begins here ---
--- uzbl-core.c.orig	2010-01-07 23:10:34.000000000 +0100
+++ uzbl-core.c	2010-01-07 23:10:51.000000000 +0100
@@ -1437,7 +1437,7 @@
     sa.sun_family = AF_UNIX;
 
     /* create socket file descriptor and connect it to path */
-    fd = socket(AF_UNIX, SOCK_SEQPACKET, 0);
+    fd = socket(AF_UNIX, SOCK_STREAM, 0);
     if(fd == -1) {
         g_printerr("talk_to_socket: creating socket failed (%s)\n", strerror(errno));
         return;
--- patch-uzbl-core-socketstream ends here ---
Comment 9 Emanuel Haupt freebsd_committer freebsd_triage 2010-01-08 10:02:44 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 10 dfilter service freebsd_committer freebsd_triage 2010-01-08 10:02:50 UTC
ehaupt      2010-01-08 10:02:36 UTC

  FreeBSD ports repository

  Modified files:
    www                  Makefile 
  Added files:
    www/uzbl             Makefile distinfo pkg-descr pkg-plist 
    www/uzbl/files       
                         patch-examples__data__uzbl__scripts__uzbl-cookie-daemon 
                         patch-uzbl-core.c 
  Log:
  Add uzbl, a web interface tools collection.
  
  PR:             ports/141674
  Submitted by:   aehlig at linta.de
  
  Revision  Changes    Path
  1.2520    +1 -0      ports/www/Makefile
  1.1       +64 -0     ports/www/uzbl/Makefile (new)
  1.1       +3 -0      ports/www/uzbl/distinfo (new)
  1.1       +29 -0     ports/www/uzbl/files/patch-examples__data__uzbl__scripts__uzbl-cookie-daemon (new)
  1.1       +19 -0     ports/www/uzbl/files/patch-uzbl-core.c (new)
  1.1       +6 -0      ports/www/uzbl/pkg-descr (new)
  1.1       +62 -0     ports/www/uzbl/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"