Bug#601957: pending NMU
Desmond O. Chang
dochang at gmail.com
Sat Nov 6 07:22:17 UTC 2010
Hi Serafeim,
Is it a reasonable patch for the conffile conflict? I think it will
delete the file even if user has modified it.
I'm looking for the solution about that too. If you ensure your patch
is correct, would you please merge it into our git repo?
Thanks,
Des
On Sat, Nov 6, 2010 at 06:35, Serafeim Zanikolas <sez at debian.org> wrote:
> tag 601957 pending
> thanks
>
> Dear maintainer,
>
> I've uploaded an NMU in delayed/5; feel free to override.
>
> Cheers,
> Serafeim
>
>
> diff -Nurp common-lisp-controller-7.4.orig//debian/changelog common-lisp-controller-7.4+nmu1//debian/changelog
> --- common-lisp-controller-7.4.orig//debian/changelog 2010-08-19 17:38:50.000000000 +0200
> +++ common-lisp-controller-7.4+nmu1//debian/changelog 2010-11-05 23:19:57.000000000 +0100
> @@ -1,3 +1,12 @@
> +common-lisp-controller (7.4+nmu1) unstable; urgency=high
> +
> + * Non-maintainer upload.
> + * Do not ship /etc/lisp-config.lisp; instead create it in debian/postinst so
> + that it is not marked as a conffile, and remove it upon package purge
> + (Closes: #601957). Setting high urgency for RC bug.
> +
> + -- Serafeim Zanikolas <sez at debian.org> Fri, 05 Nov 2010 22:27:19 +0100
> +
> common-lisp-controller (7.4) unstable; urgency=low
>
> * clc-lisp should run 'clbuild lisp'. (Closes: #593157)
> diff -Nurp common-lisp-controller-7.4.orig//debian/common-lisp-controller.install common-lisp-controller-7.4+nmu1//debian/common-lisp-controller.install
> --- common-lisp-controller-7.4.orig//debian/common-lisp-controller.install 2010-07-31 02:29:24.000000000 +0200
> +++ common-lisp-controller-7.4+nmu1//debian/common-lisp-controller.install 2010-11-05 22:23:49.000000000 +0100
> @@ -1,4 +1,3 @@
> -lisp-config.lisp /etc/
> register-common-lisp-source unregister-common-lisp-source register-common-lisp-implementation unregister-common-lisp-implementation clc-update-customized-images usr/sbin/
> clc-register-user-package clc-unregister-user-package usr/bin/
> common-lisp-controller.lisp post-sysdef-install.lisp usr/share/common-lisp/source/common-lisp-controller/
> diff -Nurp common-lisp-controller-7.4.orig//debian/common-lisp-controller.postinst common-lisp-controller-7.4+nmu1//debian/common-lisp-controller.postinst
> --- common-lisp-controller-7.4.orig//debian/common-lisp-controller.postinst 2010-07-31 02:29:24.000000000 +0200
> +++ common-lisp-controller-7.4+nmu1//debian/common-lisp-controller.postinst 2010-11-05 23:21:32.000000000 +0100
> @@ -44,6 +44,17 @@ case "$1" in
> (setf sb-sys:*short-site-name* "${short}"
> sb-sys:*long-site-name* "${long}")
> EOF
> +
> + cat > /etc/lisp-config.lisp <<EOF
> +(in-package :common-lisp-user)
> +;;; Please don't change this file. Automatically generated by common-lisp-controller package.
> +
> +(eval-when (:compile-toplevel :load-toplevel :execute)
> + (when (find-package :common-lisp-controller)
> + ;; let's avoid loading this in the installation
> + (load "/var/lib/common-lisp-controller/lisp-config.lisp")))
> +EOF
> +
> # in any case we rebuild with defsystem loaded...
> for compiler in /usr/lib/common-lisp/bin/*.sh ; do
> if [ -f "$compiler" -a -r "$compiler" ] ; then
> diff -Nurp common-lisp-controller-7.4.orig//debian/common-lisp-controller.postrm common-lisp-controller-7.4+nmu1//debian/common-lisp-controller.postrm
> --- common-lisp-controller-7.4.orig//debian/common-lisp-controller.postrm 2010-07-31 02:29:24.000000000 +0200
> +++ common-lisp-controller-7.4+nmu1//debian/common-lisp-controller.postrm 2010-11-05 22:32:35.000000000 +0100
> @@ -21,6 +21,7 @@ set -e
> case "$1" in
> purge|disappear)
> rm -rf /var/cache/common-lisp-controller || true
> + rm -f /etc//lisp-config.lisp || true
> rm -f /var/lib/common-lisp-controller/lisp-config.lisp || true
> rm -rf /usr/share/common-lisp/clbuild/* || true
> deluser cl-builder > /dev/null 2>&1 || true
>
>
>
> _______________________________________________
> pkg-common-lisp-devel mailing list
> pkg-common-lisp-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-common-lisp-devel
>
More information about the pkg-common-lisp-devel
mailing list