Репозитории ALT
S: | 3.6.10-alt1 |
D: | 2.4.5-alt1 |
5.1: | 2.5.13-alt0.M50P.1 |
4.1: | 2.4.9-alt0.M41.1 |
4.0: | 2.4.9-alt0.M41.1 |
+updates: | 2.4.9-alt0.M41.1 |
3.0: | 2.2.4-alt3 |
Группа :: Система/Серверы
Пакет: postfix
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: postfix-2.2.4-alt-check.patch
Скачать
Скачать
diff -upk.orig postfix-2.2.4.orig/conf/postfix-script postfix-2.2.4/conf/postfix-script
--- postfix-2.2.4.orig/conf/postfix-script 2005-02-04 01:05:21 +0000
+++ postfix-2.2.4/conf/postfix-script 2005-06-23 12:34:29 +0000
@@ -214,11 +214,11 @@ check-warn)
-exec $WARN not owned by $mail_owner: {} \;
find $queue_directory/public $queue_directory/maildrop \
- $command_directory/postqueue $command_directory/postdrop \
+ $daemon_directory/postqueue/postqueue $command_directory/postdrop \
-prune ! -group $setgid_group \
-exec $WARN not owned by group $setgid_group: {} \;
- find $command_directory/postqueue $command_directory/postdrop \
+ find $daemon_directory/postqueue/postqueue $command_directory/postdrop \
-prune ! -perm -02111 \
-exec $WARN not set-gid or not owner+group+world executable: {} \;
@@ -239,10 +239,15 @@ check-warn)
do
test -d $dir && find $dir -type f -print | while read path
do
- test -f /$path && {
- cmp -s $path /$path ||
- $WARN $queue_directory/$path and /$path differ
- }
+ if [ -e "/$path" ]; then
+ cmp -s "$path" "/$path" ||
+ $WARN "$queue_directory/$path and /$path differ"
+ elif [ -e "/usr/$path" ]; then
+ cmp -s "$path" "/usr/$path" ||
+ $WARN "$queue_directory/$path and /usr/$path differ"
+ else
+ $WARN "$queue_directory/$path has no original source"
+ fi
done
done