Bug#134069: Patch

2002-02-25 Thread Will Newton

Tags: patch

This patch hopefully does the following:
 - Corrects description, closing #133858
 - Fixes permissions on bklocal.inc to 640 root/www-data, closing #134069
 - Removes bashism and cruft from rules

I'm not sure whether the way I have fixed the permissions is correct (can I 
rely on www-data being a valid group?) but it looks OK here.
diff -u bookmarker-2.7.0.old/debian/control bookmarker-2.7.0/debian/control
--- bookmarker-2.7.0.old/debian/control	Mon Feb 25 17:23:43 2002
+++ bookmarker-2.7.0/debian/control	Mon Feb 25 17:11:42 2002
@@ -12,8 +12,8 @@
 Description: WWW based bookmark management, retrieval and search tool
  Bookmarker is a nice tool for people who have too many bookmarks, in
  too many different browsers, on too many different computers. It helps
- manage bookmarks throw categories and allow other people access or
- extent your bookmark database throw a really simple http based interface.
+ manage bookmarks through categories and allows other people to view or
+ extend your bookmark database through a really simple web based interface.
  .
  More information can be found at the bookmarker web site
  http://renaghan.com/bookmarker/ .
diff -u bookmarker-2.7.0.old/debian/rules bookmarker-2.7.0/debian/rules
--- bookmarker-2.7.0.old/debian/rules	Mon Feb 25 17:23:43 2002
+++ bookmarker-2.7.0/debian/rules	Mon Feb 25 17:30:32 2002
@@ -18,9 +18,14 @@
 
 # Create the bookmarkerconfig man page
 	cp -r `find . -name "*" -type d -maxdepth 1|egrep -v "debian|LICENSE"` debian/tmp/usr/lib/bookmarker/.
-	cp `ls -1 *.{wml,js,php?}` debian/tmp/usr/lib/bookmarker/.
+	pwd
+	cp `ls -1 *.wml *.js *.php?` debian/tmp/usr/lib/bookmarker/.
 	rm -f `find debian -name "*LICENSE*"`
 
+# Set restrictive permissions on file containing database password
+	chgrp www-data debian/tmp/usr/lib/bookmarker/lib/bklocal.inc
+	chmod 640 debian/tmp/usr/lib/bookmarker/lib/bklocal.inc
+
 # Install the other (Debian) stuff
 	dh_testroot
 	dh_installdocs
@@ -28,8 +33,7 @@
 	dh_installchangelogs
 	dh_strip
 	dh_compress -Xusr/lib/bookmarker
-	dh_fixperms
-	dh_suidregister
+	dh_fixperms -Xusr/lib/bookmarker/lib/bklocal.inc
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol



Bug#126913: Reducing bug severity

2002-04-01 Thread Will Newton
severity 126913 important

quit

Reducing the severity - clisp has never built on Linux/hppa. It will in the 
future, but for now we want to get a recent clisp into woody.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#148926: Fwd: Re: [clisp-list] Bug Report: clisp eats whole memory

2002-06-15 Thread Will Newton


--  Forwarded Message  --

Subject: Re: [clisp-list] Bug Report: clisp eats whole memory
Date: 15 Jun 2002 13:14:39 -0400
From: Sam Steingold <[EMAIL PROTECTED]>
To: Will Newton <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]

> * In message <[EMAIL PROTECTED]>
> * On the subject of "[clisp-list] Bug Report: clisp eats whole memory"
> * Sent on Sat, 15 Jun 2002 17:47:50 +0100
> * Honorable Will Newton <[EMAIL PROTECTED]> writes:
>
> Reported via Debian BTS:
>
> Package: clisp
> Version: 1:2.27-0.5
> Severity: important
>
> Following sequence produce this effect:
>   (jtms-init)
>   (setq a (install-node 'a))
>   (setq b (install-node 'b))
>   (install-just a (list b))

this creates a circular structure which cannot be printed without
*print-circle* being set to T (since ANSI CL mandates the #S readable
format for the structure output).
*print-circle* is NIL initially as per the ANSI CL spec.

(setq *print-circle* t)
and try again - it will work.

> I found that this problem has something to do with push and defstruct.
> In harlequin lisp (lispworks) program worked without problems.  When I
> replaced defstruct with defclass, problem disappeared in clisp too.

CLOS classes are not printed readably (as per the spec), so they can be
printed even without *print-circle* == T.

> -- System Information
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux pisidlo 2.2.20 #1 Sun Feb 24 20:26:35 CET 2002 i686
> Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ
>
> Versions of packages clisp depends on:
> ii  libc62.2.5-4 GNU C Library: Shared
> libraries an
> ii  libncurses5  5.2.20020112a-7 Shared libraries for terminal
> hand
>
> --T4sUOijqQbZv57TR
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename="jtms.lsp"
>
>
> (defstruct node
>   (index 0)
>   (datum nil)
>   (label 'out)
>   (support nil)
>   (justifications nil)
>   (consequences nil)
> )
>
> (defstruct justification
>   (index 0)
>   in-list
>   out-list
>   consequence
> )
>
> (defvar *node-counter*)
> (defvar *just-counter*)
>
> (defun in-node? (node) (eq (node-label node) 'in))
>
> (defun out-node? (node) (eq (node-label node) 'out))
>
> (defun jtms-init ()
>   (setq *node-counter* 0
> *just-counter* 0)
> )
>
> (defun install-node (datum)
>   (let (node)
> (setq node (make-node :datum datum :index (incf *node-counter*)))
> ))
>
> (defun install-just (conseq in-supp &optional (out-supp nil))
>   (let (just)
> (setq just (make-justification :index (incf *just-counter*)
>
>:in-list in-supp
>:out-list out-supp
>:consequence conseq))
>
> ;  (setf (node-justifications conseq)
> ;   (append (node-justifications conseq) just))
> (push just (node-justifications conseq))
> just
> ))

--
Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Don't ascribe to malice what can be adequately explained by stupidity.

---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#149131: Fwd: Re: [clisp-list] Bug Report: clisp accepts, as accessor to object, name that conflicts with build-in function

2002-06-15 Thread Will Newton


--  Forwarded Message  --

Subject: Re: [clisp-list] Bug Report: clisp accepts, as accessor to object, 
name that conflicts with build-in function
Date: 15 Jun 2002 13:06:18 -0400
From: Sam Steingold <[EMAIL PROTECTED]>
To: Will Newton <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]

> * In message <[EMAIL PROTECTED]>
> * On the subject of "[clisp-list] Bug Report: clisp accepts, as accessor to
> object, name that conflicts with build-in function" * Sent on Sat, 15 Jun
> 2002 17:46:58 +0100
> * Honorable Will Newton <[EMAIL PROTECTED]> writes:
>
> Reported via the Debian BTS:
>
> Package: clisp
> Version: 1:2.27-0.5
> Severity: wishlist
>
> I wrote in clisp program that defines class with accessor to one of its
> slots called type. I tried to run this program under Harlequin Lisp and
> Alegro. Both reported an error, Harlequin said that type conflicts with
> function visible from COMMON-LISP.
> This seems to me that clisp dont check accessor names with build-in
> functions.

this has been fixed in the release 2.28 with introduction of package
locking.


--
Sam Steingold (http://www.podval.org/~sds) running RedHat7.2 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Just because you're paranoid doesn't mean they AREN'T after you.

---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]