From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 26 11:10:08 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FB841065675 for ; Wed, 26 Mar 2008 11:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 12CE68FC15 for ; Wed, 26 Mar 2008 11:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2QBA7PA078219 for ; Wed, 26 Mar 2008 11:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2QBA79D078115; Wed, 26 Mar 2008 11:10:07 GMT (envelope-from gnats) Date: Wed, 26 Mar 2008 11:10:07 GMT Message-Id: <200803261110.m2QBA79D078115@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Ganael LAPLANCHE" Cc: Subject: Re: ports/122049: [maintainer update] security/vlock v2.1 -> v2.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ganael LAPLANCHE List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 11:10:08 -0000 The following reply was made to PR ports/122049; it has been noted by GNATS. From: "Ganael LAPLANCHE" 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--