--- edbrowse-3.2.1.orig/debian/rules +++ edbrowse-3.2.1/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +CFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +# Correct upstream's variables for Debian names +CFLAGS += -I/usr/include/mozjs -DXP_UNIX +LIBS = -lpcre -lssl -lmozjs + + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) CFLAGS="$(CFLAGS)" LIBS="$(LIBS)" + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + rm -f *.o edbrowse + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + dh_install + #chmod +x debian/edbrowse/usr/bin/edbrowse + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installexamples + dh_installman --language=C debian/edbrowse.1 + dh_installchangelogs -k CHANGES + dh_link + dh_strip + dh_fixperms + dh_compress + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- edbrowse-3.2.1.orig/debian/edbrowse.doc-base +++ edbrowse-3.2.1/debian/edbrowse.doc-base @@ -0,0 +1,13 @@ +Document: edbrowse +Title: edbrowse Manual +Author: Karl Dahlke +Abstract: This manual describes what edbrowse is + and how it can be used to + edit files, browse webpages, fill out forms, and do alot of other useful + things from the command-line in a line-editor style. +Section: net + +Format: HTML +Index: /usr/share/doc/edbrowse/edbdoc.html +Files: /usr/share/doc/edbrowse/edbdoc.html + --- edbrowse-3.2.1.orig/debian/dirs +++ edbrowse-3.2.1/debian/dirs @@ -0,0 +1 @@ +usr/bin --- edbrowse-3.2.1.orig/debian/control +++ edbrowse-3.2.1/debian/control @@ -0,0 +1,20 @@ +Source: edbrowse +Section: net +Priority: extra +Uploaders: Kapil Hari Paranjape +Maintainer: Mario Lang +Build-Depends: debhelper (>> 4.0.0), libssl-dev (>= 0.9.8b), libpcre3-dev (>= 6.4), libmozjs-dev (>= 1.8.0.5) +Standards-Version: 3.7.2 + +Package: edbrowse +Architecture: any +Depends: ${shlibs:Depends} +Description: A /bin/ed-alike webbrowser written in C + edbrowse is a reimplementation of /bin/ed, with some basic + differences (it uses Perl regular expressions) with the ability to + visit webpages and ftp sites. edbrowse performs basic transformations + on the html source to produce a readable representation. edbrowse + supports Forms, Frames, Netscape-style cookies, HTTPS + connections and JavaScript. + . + Homepage: http://www.eklhad.net/linux/app/index.html --- edbrowse-3.2.1.orig/debian/docs +++ edbrowse-3.2.1/debian/docs @@ -0,0 +1,2 @@ +edbdoc.html +README --- edbrowse-3.2.1.orig/debian/install +++ edbrowse-3.2.1/debian/install @@ -0,0 +1 @@ +edbrowse usr/bin --- edbrowse-3.2.1.orig/debian/copyright +++ edbrowse-3.2.1/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Mario Lang on +Sat, 16 Nov 2002 10:49:41 +0100. + +It was downloaded from http://www.eklhad.net/linux/app/ + +Upstream Author: Karl Dahlke + +Copyright: + +The COPYING file that accompanies the program carries the following +copyright assertion: + +This program is copyright (C) (C) Karl Dahlke, 2000-2007. +It is made available by the author under the terms of the GNU General Public +License (GPL), as articulated by the Free Software Foundation. +It may be used for any purpose, and redistributed, +provided this copyright notice is included. + +As a special exception, I hereby grant permission to link the code of this +program with the OpenSSL library (or with modified versions of OpenSSL that use +the same license as OpenSSL), and distribute linked combinations including the two. +You must obey the GNU General Public License in all respects for all of the +code used other than OpenSSL. If you modify this program, +you may extend this exception to your version of the program, +but you are not obligated to do so. If you do not wish to do so, +delete this exception statement from your version. +Copyright (C) Karl Dahlke, 2002-2007. +This file is part of the edbrowse project, released under GPL. + +Location: + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License (Version 2.0) can be found in `/usr/share/common-licenses/GPL'. + --- edbrowse-3.2.1.orig/debian/edbrowse.1 +++ edbrowse-3.2.1/debian/edbrowse.1 @@ -0,0 +1,172 @@ +.\" Man page for edbrowse +.\" +.\" Copyright (C), 2007 Kapil Hari Paranjape +.\" +.\" You may distribute under the terms of the GNU General Public +.\" License as specified in the file /usr/share/common-licences/GPLv2 +.\" that comes with the Debian distribution. +.\" +.\" Written by Kapil Hari Paranjape +.\" based on the edbdoc.html file written by Karl Dahlke. +.\" Last Modified on Wed, 9 May 2007 07:19:43 +0530 +.\" Include a Macro From Branden Robinson's WTFM.PDF +.de URI +\\$2 \(la URI: \\$1 \(ra\\$3 +.. +.if \n[.g] .mso www.tmac +.\" End if Include +.TH edbrowse 1 2007-05-09 "edbrowse 3.2.1" +.SH NAME +edbrowse \- text editor and web browser +.SH SYNOPSIS +.BR edbrowse +.RI "[ " "file1" " ]" +.RI "[ " "file2" " ]" +.I ... +.LP +.BR edbrowse +.RI "[ " "url1" " ]" +.RI "[ " "url2" " ]" +.I " ..." +.LP +.SH DESCRIPTION +(This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a man page. Instead the +program is documented in detail in the HTML documentation that +accompanies the program; see below.) +.PP +.BR edbrowse +is a line-oriented text editor very similar to +.BR ed (1), +It is used to create, display, modify and otherwise manipulate text +files. +.PP +In addition +.BR edbrowse +can be used to display web pages and edit the +contents of these pages. It supports the use of forms and Javascript in +web pages. +.PP +If +.BR edbrowse +is invoked with a +.I file +argument, then a copy of +.I file +is read into the editor's buffer. If it is invoked with a +.I url +argument, then the +.I url +is read into the editor's buffer and the HTML is rendered as text. +Changes are made to this copy and not directly to +.I file +or +.I url +itself. +.PP +Please refer to +.BR ed (1) +for further details regarding the editing commands. Explanation of the +browsing functions can be found in the HTML documentation. +.PP +.SH EXAMPLES +To read the HTML documentation on a Debian system you can do +.IP +.BR "edbrowse file:///usr/share/doc/edbrowse/edbdoc.html" +.PP +To read (say) 20 lines of the buffer at a time starting from +the top use the command +.I `1z20' +followed by repeating +.I `z' +to scroll another 20 lines at a time. +.PP +To quit the editor completely type +.I `qt' +\&. Upon quitting +.BR edbrowse , +any changes not explicitly saved with a +.I `w' +command are lost. The +.I `w' +command does not apply to URLs but one can save the corresponding +buffer to a file by the command \fIw file\fR. +.PP +.SH OPTIONS +.TP +.B \-h +Display the usage message. +.TP +.B \-e +Batch mode. This options causes +.BR edbrowse +to exit when it encounters an error. +.TP +.B \-d? +Debug level. Can be set to a value between 0 and 9. The default is 1 +which prints the sizes of buffers. Some people like 2 which prints +out URLs as they are retrieved. This value can be changed within the +editor with the +.I dbx +command with x a value betwen 0 and 9. +.TP +.B \-c +Edit config file. This command supresses the processing of the +configuration file +.I $HOME/.ebrc +and starts editing it instead. This option is useful if this file +is syntactically incorrect or otherwise corrupted. +.PP +.SH FILES +.TP 20 +.I $HOME/.ebrc +Configuration file. The file which +.B edbrowse +reads when it starts up. If the file exists then it must be +syntactically correct. +.PP +.SH DIAGNOSTICS +When an error occurs, +if +.BR edbrowse +it +prints a `?' and returns to command mode. +An explanation of the last error can be +printed with the +.I `h' +(help) command. +.PP +Attempting to quit +.B edbrowse +with the +.I `q' +command or trying to edit another file before writing a modified buffer +results in an error. If the command is entered a second time, it succeeds, +but any changes to the buffer are lost. +.PP +.SH BUGS +This manual page is not complete. Users should refer to the HTML +documentation for fuller details of the +configuration options and for details of the use of edbrowse. +.PP +.SH SEE ALSO +.IR ed (1), +.IR sed (1), +.IR pcrepattern (3). +.PP +The +.URL "/usr/share/doc/edbrowse/edbdoc.html" "HTML documentation" " " +provides greater detail about the program. +.PP +.SH AUTHORS +This manual page was originally written by Kapil Hari Paranjape +, +for the Debian GNU/Linux system (but it may be used by others). +.PP +The +.B edbrowse +program is written by Karl Dahlke +. The author maintains +.URL "http://www.eklhad.net/linux/app/" "a web page" " " +for the program. +. --- edbrowse-3.2.1.orig/debian/changelog +++ edbrowse-3.2.1/debian/changelog @@ -0,0 +1,56 @@ +edbrowse (3.2.1-1) unstable; urgency=low + + * New upstream version (3.2.1). Closes: #421451. + - can fetch and execute a local javascript file + if required by local html file. + - provide COPYING and CHANGES files. + * debian/rules: + - add CHANGES to dh_installchangelogs line. + - add dh_installman entry to install the man page. + * debian/copyright: updated to include the COPYING file. + * debian/edbrowse.1: added a basic man page. + + -- Kapil Hari Paranjape Wed, 9 May 2007 07:33:04 +0530 + +edbrowse (3.1.2-1) unstable; urgency=low + + * New upstream version (3.1.2). Closes: #306486. + - programs now written in C + - support for javascript. + * debian/control: + - added Kapil Hari Paranjape to Uploaders. + - Build-depends on "libssl-dev", "libmozjs-dev", "libpcre3-dev". + - Standards-Version to 3.7.2. No changes required. + * debian/rules: + - add "noopt" feature. + - set CFLAGS and LIBS. + - Put $(MAKE) into the build rules. + * debian/copyright: Edited to add the current copyright which + is GPL with the exception for linking with OpenSSL. + * debian/docs: added "README". + * debian/examples: added "jsrt". + + -- Kapil Hari Paranjape Fri, 20 Oct 2006 10:47:30 +0530 + +edbrowse (1.5.17-2) unstable; urgency=low + + * debian/control: + - Use Build-Depends-Indep and correctly depend on debhelper >= 4. + - Update Stnadards-Version to 3.6.1. + * debian/copyright: Fix dh_make boilerplate. + + -- Mario Lang Sat, 1 Nov 2003 11:33:01 +0100 + +edbrowse (1.5.17-1) unstable; urgency=low + + * New upstream version + - Fixes DFSG-incompatible copyright notice (Closes: Bug#211062). + + -- Mario Lang Tue, 16 Sep 2003 15:39:02 +0200 + +edbrowse (1.5.0-1) unstable; urgency=low + + * Initial Release. + + -- Mario Lang Sat, 16 Nov 2002 10:49:41 +0100 + --- edbrowse-3.2.1.orig/debian/examples +++ edbrowse-3.2.1/debian/examples @@ -0,0 +1,2 @@ +sample.ebrc +jsrt