[PATCH] d/postinst: added creation of /var/cache/cipux-cat-web

Per Carlson pelle at hemmop.com
Tue Nov 9 12:46:44 UTC 2010


---
 debian/postinst |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 433842e..a631d74 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -20,6 +20,13 @@ case "$1" in
 	[ -f /etc/cipux-cat-web/cipux-cat-web.conf ] && \
 		chmod 640 /etc/cipux-cat-web/cipux-cat-web.conf
 	chown -R www-data:www-data /etc/cipux-cat-web
+        #
+        # added by pelle at hemmop.com
+        if [ ! -d /var/cache/cipux-cat-web ]; then
+	    mkdir -p /var/cache/cipux-cat-web
+	fi
+	chown -R www-data:www-data /var/cache/cipux-cat-web
+	chmod 750 /var/cache/cipux-cat-web
 	;;
     abort-upgrade|abort-remove|abort-deconfigure)
 	;;
-- 
1.7.2.3


--2oS5YaxWCcQjTEyO--



------------=_1304544067-28469-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 602918-close) by bugs.debian.org; 4 May 2011 21:19:03 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
	(2010-03-16) on busoni.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-8.2 required=4.0 tests=BAYES_00,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,IMPRONONCABLE_1,IMPRONONCABLE_2,MURPHY_WRONG_WORD1,
	MURPHY_WRONG_WORD2,PGPSIGNATURE,URIBL_CNKR autolearn=ham
	version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 83; hammy, 151; neutral, 207; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--H*MI:franck, 0.000-+--H*RU:128.148.34.3
Return-path: <envelope at ftp-master.debian.org>
Received: from franck.debian.org ([128.148.34.3])
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=franck.debian.org,EMAIL=hostmaster at franck.debian.org (verified)
	by busoni.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.72)
	(envelope-from <envelope at ftp-master.debian.org>)
	id 1QHjTL-0007Lq-1f
	for 602918-close at bugs.debian.org; Wed, 04 May 2011 21:19:03 +0000
Received: from dak by franck.debian.org with local (Exim 4.72)
	(envelope-from <envelope at ftp-master.debian.org>)
	id 1QHjTK-0005xh-3f; Wed, 04 May 2011 21:19:02 +0000
Date: Wed, 04 May 2011 21:19:02 +0000
Message-Id: <E1QHjTK-0005xh-3f at franck.debian.org>
From: Jonas Smedegaard <dr at jones.dk>
To: 602918-close at bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: cipux-cat-web
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: Bug#602918: fixed in cipux-cat-web 3.4.0.3-4
Sender: Archive Administrator <dak at franck.debian.org>

Source: cipux-cat-web
Source-Version: 3.4.0.3-4

We believe that the bug you reported is fixed in the latest version of
cipux-cat-web, which is due to be installed in the Debian FTP archive:

cipux-cat-web_3.4.0.3-4.debian.tar.gz
  to main/c/cipux-cat-web/cipux-cat-web_3.4.0.3-4.debian.tar.gz
cipux-cat-web_3.4.0.3-4.dsc
  to main/c/cipux-cat-web/cipux-cat-web_3.4.0.3-4.dsc
cipux-cat-web_3.4.0.3-4_all.deb
  to main/c/cipux-cat-web/cipux-cat-web_3.4.0.3-4_all.deb
libcipux-cat-web-perl_3.4.0.3-4_all.deb
  to main/c/cipux-cat-web/libcipux-cat-web-perl_3.4.0.3-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 602918 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <dr at jones.dk> (supplier of updated cipux-cat-web package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 04 May 2011 22:10:39 +0200
Source: cipux-cat-web
Binary: libcipux-cat-web-perl cipux-cat-web
Architecture: source all
Version: 3.4.0.3-4
Distribution: unstable
Urgency: low
Maintainer: CipUX team <cipux-devel at lists.alioth.debian.org>
Changed-By: Jonas Smedegaard <dr at jones.dk>
Description: 
 cipux-cat-web - user and resource management framework CipUX - web-based admin to
 libcipux-cat-web-perl - user and resource management framework CipUX - web-based admin to
Closes: 602912 602918 602981
Changes: 
 cipux-cat-web (3.4.0.3-4) unstable; urgency=low
 .
   * Improve package relations:
     + Stop (build-)depending on packages provided by perl-modules (even
       in oldstable): libversion-perl libtest-simple-perl.
     + Fix depend on liblocale-maketext-lexicon-perl.
       Closes: bug#602912. Thanks to Per Carlson.
     + Relax (drop versioning) for packages satisifed even in oldstable:
       - libtest-pod-perl
       - libtest-pod-coverage-perl
       - lighttpd
     + Fix recommend libmodule-list-pluggable-perl and suggest (since not
       yet available in Debian) libsys-info-os-perl.
   * Update copyright file:
     + Rewrite using draft 174 of DEP-5 format.
     + Fix use initial wildcard Files section.
     + Rewrap license fields at 72 chars, and shorten comments.
     + Add Files sections for proper copyright-claimed gettext files.
   * Bump policy compliance to standards-version 3.9.2.
   * Bump debhelper compatibility level to 7 (satisfied even in
     oldstable, and cdbs need backporting for oldstable anyway).
     Tighten build-dependencies on debhelper and cdbs correspondingly.
   * Improve libcipux-cat-web-perl postinst:
     + Tighten access rights only on (created if needed) dirs (not
       content: respect user customizations and avoid potential hardlink
       attack).
     + Handle also /var/cache/cipux-cat-web.
       Closes: bug#602918. Thanks to Per Carlson.
   * Add japanese (ja) debconf l10n.
     Closes: bug#602981. Thanks to Nobuhiro Iwamatsu.
Checksums-Sha1: 
 e27599a2926c291f06bdb7278f6cf92e60faec5e 2450 cipux-cat-web_3.4.0.3-4.dsc
 fa37922b301b82933f12e1fdcade67559c7f3bcf 23936 cipux-cat-web_3.4.0.3-4.debian.tar.gz
 ad7d4141a9acabf61920e83ee2952355cd2a279c 95336 libcipux-cat-web-perl_3.4.0.3-4_all.deb
 5376ec6e08939f3953fb753cfb9fea1732dc9cfa 296744 cipux-cat-web_3.4.0.3-4_all.deb
Checksums-Sha256: 
 1ee38180384e3595ed2ded0479078496e85089ef32602db4288dae496adede59 2450 cipux-cat-web_3.4.0.3-4.dsc
 5d0d53dce8d28c3984ef4683c39c093491a7b57548f1a21a6c08f0fe57b08d8a 23936 cipux-cat-web_3.4.0.3-4.debian.tar.gz
 573fb6b04c3e2a2b0967bda732599ca581e051bd7eedd23ccf1d7b5c4e6b378b 95336 libcipux-cat-web-perl_3.4.0.3-4_all.deb
 b54258b5d158df2aa47a35850ce4851fc047f907202c30cb6cc46f50f4c8e576 296744 cipux-cat-web_3.4.0.3-4_all.deb
Files: 
 cf6deeecd898024bac5afab4ebfaee30 2450 perl optional cipux-cat-web_3.4.0.3-4.dsc
 0dd21306ddfbd5b3f312a3677681d15f 23936 perl optional cipux-cat-web_3.4.0.3-4.debian.tar.gz
 1d06b422f8d390574142a7e85ebe2d3a 95336 perl optional libcipux-cat-web-perl_3.4.0.3-4_all.deb
 2f8e9019853e6f3944bf5b88361079f9 296744 perl optional cipux-cat-web_3.4.0.3-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCgAGBQJNwbM2AAoJECx8MUbBoAEhmisP/0ZJ5UU11bC7cEpxJiNjVWFM
wFw8ARoRYlu97/OrO2JAZqchYLxtS9xltIt6QbW5h26xtwKn4Ffi6jgoP0C7nJ6C
dC2zWptmMNNIaV/ia1aZBZgCrh1lNPvnOYwRYMCkNu8B1iiwdENr8MDVuWaZbwJw
P2V/e0XDXZTmQCEtMLSGMBirWaMr8waXypDccwBmy3qAv3lGNdpiK2AS6DSg0ZJN
6Z6a2XYzZIcHElJZuFhFVcGUOmeTC4XziVKXZcmppGiGg+RomKGOVO5JQCTCWhkB
o7HffjDdJWdxjDHYj2ABGXTY2YskRVQeiCo/3E37I7D5RfN9D2JB6KFW6ooiVYrf
17u0UFQM7A55tkMm08VJprdVBp2Xts5X7YsSVyKme7kuo8mvlZGig3tURZA0edJk
QlTagpuU5Xt8KJhDqwSmpz19iAG5VIMeZ2vTrQ9XfnVc2M9DjeuCG5WVCdtR60jz
Hihwega9x4poLdZvO+stugNUCi/fni4uuy/5zlSaJ+tDTeIFeaElsJ7XvtNrGqai
F8BywXx0/aTZswtbxRLTgM7EPIbgD+96TIPzrpLr6jljhmVrZHJgg+A1yKWihDAq
HSz3UJH8gyL8q1qOGVrSQVbhuVmr7s0wpUVVgy3LavbhRKHq4d9oIJ5O8YnpHvU5
N8u1VeBo1CLhSoh1gl/F
=zXow
-----END PGP SIGNATURE-----



------------=_1304544067-28469-0--



More information about the Cipux-devel mailing list