Date: Wed, 26 Mar 2008 11:10:07 GMT From: "Ganael LAPLANCHE" <ganael.laplanche@martymac.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/122049: [maintainer update] security/vlock v2.1 -> v2.2 Message-ID: <200803261110.m2QBA79D078115@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/122049; it has been noted by GNATS. From: "Ganael LAPLANCHE" <ganael.laplanche@martymac.com> To: bug-followup@FreeBSD.org, ganael.laplanche@martymac.com Cc: Subject: Re: ports/122049: [maintainer update] security/vlock v2.1 -> v2.2 Date: Wed, 26 Mar 2008 12:07:09 +0100 (CET) This is a multi-part message in MIME format. ------=OPENWEBMAIL_ATT_0.328740530181676 Content-Type: text/plain; charset=iso-8859-15 Hi again, Here is an additional file to add to the files/ directory. It is a patch against script.c to be able to successfully run a module script using vlock, e.g. : vlock -n amarok Without this script, we get the following error : vlock: stdin is not a terminal Best regards, Ganaël LAPLANCHE ganael.laplanche@martymac.com http://www.martymac.com ------=OPENWEBMAIL_ATT_0.328740530181676 Content-Type: text/x-csrc; name="patch-script.c" Content-Disposition: attachment; filename="patch-script.c" Content-Transfer-Encoding: base64 LS0tIHNyYy9zY3JpcHQuYy5vcmlnCTIwMDgtMDMtMjYgMDg6NDU6MjQuMDAwMDAwMDAwICswMTAw CisrKyBzcmMvc2NyaXB0LmMJMjAwOC0wMy0yNiAwODo0NzoyMC4wMDAwMDAwMDAgKzAxMDAKQEAg LTExOSwxMiArMTE5LDE0IEBACiAgIGlmIChjb250ZXh0ICE9IE5VTEwpIHsKICAgICBmcmVlKGNv bnRleHQtPnBhdGgpOwogCi0gICAgLyogQ2xvc2UgdGhlIHBpcGUuICovCi0gICAgKHZvaWQpIGNs b3NlKGNvbnRleHQtPmZkKTsKLQotICAgIC8qIEtpbGwgdGhlIGNoaWxkIHByb2Nlc3MuICovCi0g ICAgaWYgKCF3YWl0X2Zvcl9kZWF0aChjb250ZXh0LT5waWQsIDAsIDUwMDAwMEwpKQotICAgICAg ZW5zdXJlX2RlYXRoKGNvbnRleHQtPnBpZCk7CisgICAgaWYgKGNvbnRleHQtPmxhdW5jaGVkKSB7 CisgICAgICAvKiBDbG9zZSB0aGUgcGlwZS4gKi8KKyAgICAgICh2b2lkKSBjbG9zZShjb250ZXh0 LT5mZCk7CisKKyAgICAgIC8qIEtpbGwgdGhlIGNoaWxkIHByb2Nlc3MuICovCisgICAgICBpZiAo IXdhaXRfZm9yX2RlYXRoKGNvbnRleHQtPnBpZCwgMCwgNTAwMDAwTCkpCisgICAgICAgIGVuc3Vy ZV9kZWF0aChjb250ZXh0LT5waWQpOworICAgIH0KIAogICAgIGZyZWUoY29udGV4dCk7CiAgIH0K ------=OPENWEBMAIL_ATT_0.328740530181676--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803261110.m2QBA79D078115>