Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simon F
aports
Commits
cd2c647d
Commit
cd2c647d
authored
14 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
main/dovecot: dont crash when we rotate logs
ref #398
parent
3c24c458
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/dovecot/2281223b9cb9.patch
+21
-0
21 additions, 0 deletions
main/dovecot/2281223b9cb9.patch
main/dovecot/APKBUILD
+9
-2
9 additions, 2 deletions
main/dovecot/APKBUILD
with
30 additions
and
2 deletions
main/dovecot/2281223b9cb9.patch
0 → 100644
+
21
−
0
View file @
cd2c647d
# HG changeset patch
# User Timo Sirainen <tss@iki.fi>
# Date 1281449944 -3600
# Node ID 2281223b9cb99357a89971b64680530813d22a81
# Parent 367ce71922bfc95ec1faad91cd47f1c758cd2d50
master: Don't crash on config reload when using dict processes.
--- a/src/master/dict-process.c Wed Aug 04 16:54:17 2010 +0100
+++ b/src/master/dict-process.c Tue Aug 10 15:19:04 2010 +0100
@@ -214,7 +214,8 @@
struct dict_listener *listener = process->listener;
dict_process_deinit(process);
- if (listener->processes == NULL && listener->fd != -1) {
+ if (listener->processes == NULL && listener->fd != -1 &&
+ listener->io == NULL) {
/* last listener died, create new ones */
listener->io = io_add(listener->fd, IO_READ,
dict_listener_input, listener);
This diff is collapsed.
Click to expand it.
main/dovecot/APKBUILD
+
9
−
2
View file @
cd2c647d
...
...
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
dovecot
pkgver
=
1.2.13
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"IMAP and POP3 server"
url
=
"http://www.dovecot.org/"
license
=
"LGPL-2.1"
...
...
@@ -18,8 +18,14 @@ subpackages="$pkgname-doc $pkgname-dev $pkgname-pgsql $pkgname-mysql
source
=
"http://www.dovecot.org/releases/1.2/
$pkgname
-
$pkgver
.tar.gz
dovecot.logrotate
dovecot.initd
2281223b9cb9.patch
"
prepare
()
{
cd
"
$srcdir
"
/
$pkgname
-
$pkgver
patch
-p1
-i
"
$srcdir
"
/2281223b9cb9.patch
||
return
1
}
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
...
...
@@ -92,4 +98,5 @@ sqlite() {
md5sums
=
"aaee3b5fd59e01780305553248f686bc dovecot-1.2.13.tar.gz
aec5cc797ab2acf72ce3b6bb1030345f dovecot.logrotate
c58b474dca20e6e60fa4f1f5b9c726e1 dovecot.initd"
c58b474dca20e6e60fa4f1f5b9c726e1 dovecot.initd
c8581417ce7946668839a9d0fcd93ee8 2281223b9cb9.patch"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment