[Dovecot] About RH patches and 1.0beta8
Hi, I just started building dovecot 1.0beta8 on RHEL4.3 based on atrpm.net .spec file.
I noted that 3 patches are included in the .src.rpm and wanted to discuss them. I'm interested in knowing if those patches are relevant to all dovecot users and if they can be applied to dovecot.
From: http://dl.atrpms.net/all/dovecot-1.0-0_10.99.beta7.el4.at.src.rpm
patch: dovecot-1.0.beta2-mkcert-permissions.patch calls 'chown root.root', is good to have the certs owned by root?
patch: dovecot-1.0.beta2-pam-setcred.patch is dissables the call to pam_setcred() because there is no other call to pam_setcred() in order to release the resources
patch: dovecot-1.0.beta2-pam-tty.patch it add a call to pam_set_item()
I don't to attach the patches to the list, but I can if anyone could not extract them from the .src.rpm
Many thanks Oliver
-- Oliver Schulze L. oliver@samera.com.py
On Fri, 2006-05-12 at 17:06 -0400, Oliver Schulze L. wrote:
http://dl.atrpms.net/all/dovecot-1.0-0_10.99.beta7.el4.at.src.rpm
patch: dovecot-1.0.beta2-mkcert-permissions.patch calls 'chown root.root', is good to have the certs owned by root?
I guess, but isn't mkcert.sh run as root normally anyway? And if user doesn't want to run it as root, chowning doesn't work anyway.
patch: dovecot-1.0.beta2-pam-setcred.patch is dissables the call to pam_setcred() because there is no other call to pam_setcred() in order to release the resources
I kept the functionality, but it's now enabled only if setcred=yes PAM option is given in passdb args.
patch: dovecot-1.0.beta2-pam-tty.patch it add a call to pam_set_item()
I don't to attach the patches to the list, but I can if anyone could not extract them from the .src.rpm
I tried to figure out a while how to unpack it, but gave up. I could look at the pam_set_item() patch, and if someone knows what it's really useful for I'd like to know that too :)
Timo Sirainen wrote:
On Fri, 2006-05-12 at 17:06 -0400, Oliver Schulze L. wrote:
I don't to attach the patches to the list, but I can if anyone could not extract them from the .src.rpm
I tried to figure out a while how to unpack it, but gave up. I could look at the pam_set_item() patch, and if someone knows what it's really useful for I'd like to know that too :)
Unpacking of an .src.rpm can be done trough rpm2cpio, e.g.:
$ mkdir dovecot && cd dovecot $ rpm2cpio ../dovecot-xyz.src.rpm | cpio -i
rpm2cpio comes with the rpm package, at least on RedHat distributions.
Best Regards Michael Paesold
Hi,
Timo Sirainen escribió:
patch: dovecot-1.0.beta2-pam-tty.patch it add a call to pam_set_item()
I don't to attach the patches to the list, but I can if anyone could not extract them from the .src.rpm
I tried to figure out a while how to unpack it, but gave up. I could look at the pam_set_item() patch, and if someone knows what it's really useful for I'd like to know that too :)
Those patches look like the same shipped with FC5 rpm, which you can find on fedora's cvs server.
http://cvs.fedora.redhat.com/viewcvs/rpms/dovecot/FC-5/
Right now they are using: dovecot-1.0.beta2-pam-tty.patch dovecot-1.0.beta2-pam-setcred.patch dovecot-1.0.beta2-mkcert-permissions.patch
Regards,
Angel Marin http://anmar.eu.org/
Hi,
On Sun, Jun 11, 2006 at 09:22:04PM +0300, Timo Sirainen wrote:
I don't to attach the patches to the list, but I can if anyone could not extract them from the .src.rpm
I tried to figure out a while how to unpack it, but gave up. I could look at the pam_set_item() patch, and if someone knows what it's really useful for I'd like to know that too :)
You can pull the Red Hat/Fedora Core specific patches in raw form from
http://cvs.fedora.redhat.com/viewcvs/rpms/dovecot/FC-5/
-- Axel.Thimm at ATrpms.net
Sorry about the delay, here they are: patch: dovecot-1.0.beta2-pam-tty.patch https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=149673 dovecot-1.0.beta2-pam-setcred.patch https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146198 dovecot-1.0.beta2-mkcert-permissions.patch just a chmod Also, nice comments are in each patch, I attach the 3 patches HTH Oliver Timo Sirainen wrote:
On Fri, 2006-05-12 at 17:06 -0400, Oliver Schulze L. wrote:
http://dl.atrpms.net/all/dovecot-1.0-0_10.99.beta7.el4.at.src.rpm
patch: dovecot-1.0.beta2-mkcert-permissions.patch calls 'chown root.root', is good to have the certs owned by root?
I guess, but isn't mkcert.sh run as root normally anyway? And if user doesn't want to run it as root, chowning doesn't work anyway.
patch: dovecot-1.0.beta2-pam-setcred.patch is dissables the call to pam_setcred() because there is no other call to pam_setcred() in order to release the resources
I kept the functionality, but it's now enabled only if setcred=yes PAM option is given in passdb args.
patch: dovecot-1.0.beta2-pam-tty.patch it add a call to pam_set_item()
I don't to attach the patches to the list, but I can if anyone could not extract them from the .src.rpm
I tried to figure out a while how to unpack it, but gave up. I could look at the pam_set_item() patch, and if someone knows what it's really useful for I'd like to know that too :)
--
Oliver Schulze L.
participants (5)
-
Angel Marin
-
Axel Thimm
-
Michael Paesold
-
Oliver Schulze L.
-
Timo Sirainen