Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37883520
en ru br
Репозитории ALT
S:5.2.4-alt1
5.1: 4.5.0-alt0.1
4.1: 4.3.1-alt1
4.0: 4.1.2-alt1
3.0: 4.0.3-alt1
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: courier-imap

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: courier-imap-4.2.1-alt-shareddir.patch
Скачать


--- courier-imap-4.2.1/Makefile.am.alt-p5	2007-11-05 18:15:33 +1000
+++ courier-imap-4.2.1/Makefile.am	2007-11-05 18:15:33 +1000
@@ -145,10 +145,10 @@ install-exec-local:
 
 install-exec-hook:
 	chmod 444 $(DESTDIR)$(sysconfdir)/@PACKAGE@/quotawarnmsg.example
-	mkdir -p $(DESTDIR)$(sysconfdir)/@PACKAGE@/shared
-	chmod 755 $(DESTDIR)$(sysconfdir)/@PACKAGE@/shared
-	mkdir -p $(DESTDIR)$(sysconfdir)/@PACKAGE@/shared.tmp
-	chmod 755 $(DESTDIR)$(sysconfdir)/@PACKAGE@/shared.tmp
+	mkdir -p $(DESTDIR)$(localstatedir)/@PACKAGE@/shared
+	chmod 755 $(DESTDIR)$(localstatedir)/@PACKAGE@/shared
+	mkdir -p $(DESTDIR)$(localstatedir)/@PACKAGE@/shared.tmp
+	chmod 755 $(DESTDIR)$(localstatedir)/@PACKAGE@/shared.tmp
 
 install-data-local: install-man
 	test -d $(DESTDIR)/etc/pam.d || exit 0 ; \
--- courier-imap-4.2.1/Makefile.in.alt-p5	2007-11-05 18:15:33 +1000
+++ courier-imap-4.2.1/Makefile.in	2007-11-05 18:15:33 +1000
@@ -1128,10 +1128,10 @@ install-exec-local:
 
 install-exec-hook:
 	chmod 444 $(DESTDIR)$(sysconfdir)/@PACKAGE@/quotawarnmsg.example
-	mkdir -p $(DESTDIR)$(sysconfdir)/@PACKAGE@/shared
-	chmod 755 $(DESTDIR)$(sysconfdir)/@PACKAGE@/shared
-	mkdir -p $(DESTDIR)$(sysconfdir)/@PACKAGE@/shared.tmp
-	chmod 755 $(DESTDIR)$(sysconfdir)/@PACKAGE@/shared.tmp
+	mkdir -p $(DESTDIR)$(localstatedir)/@PACKAGE@/shared
+	chmod 755 $(DESTDIR)$(localstatedir)/@PACKAGE@/shared
+	mkdir -p $(DESTDIR)$(localstatedir)/@PACKAGE@/shared.tmp
+	chmod 755 $(DESTDIR)$(localstatedir)/@PACKAGE@/shared.tmp
 
 install-data-local: install-man
 	test -d $(DESTDIR)/etc/pam.d || exit 0 ; \
--- courier-imap-4.2.1/imap/imapd.dist.in.alt-p5	2007-11-05 18:15:33 +1000
+++ courier-imap-4.2.1/imap/imapd.dist.in	2007-11-05 18:15:33 +1000
@@ -263,7 +263,7 @@ IMAP_USELOCKS=0
 # you know what you're doing.  See README.sharedfolders for additional
 # information.
 
-IMAP_SHAREDINDEXFILE=@sysconfdir@/@PACKAGE@/shared/index
+IMAP_SHAREDINDEXFILE=@localstatedir@/@PACKAGE@/shared/index
 
 ##NAME: IMAP_ENHANCEDIDLE:0
 #
--- courier-imap-4.2.1/maildir/sharedindexinstall.in.alt-p5	2007-11-05 18:15:33 +1000
+++ courier-imap-4.2.1/maildir/sharedindexinstall.in	2007-11-05 18:15:33 +1000
@@ -9,9 +9,9 @@
 prefix="@prefix@"
 sysconfdir="@sysconfdir@"
 
-shareddir="$sysconfdir/@PACKAGE@/shared"  # Where the shared index files are kept
+shareddir="@localstatedir@/@PACKAGE@/shared"  # Where the shared index files are kept
 
-newshareddir="$sysconfdir/@PACKAGE@/shared.tmp" # Updated shared index
+newshareddir="@localstatedir@/@PACKAGE@/shared.tmp" # Updated shared index
 
 if test `ls "$newshareddir" | wc -l` = 0
 then
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin