From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 9 16:50:09 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5E8B37B401 for ; Mon, 9 Jun 2003 16:50:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8B1343FAF for ; Mon, 9 Jun 2003 16:50:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h59No7Up090904 for ; Mon, 9 Jun 2003 16:50:07 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h59No7AP090903; Mon, 9 Jun 2003 16:50:07 -0700 (PDT) Resent-Date: Mon, 9 Jun 2003 16:50:07 -0700 (PDT) Resent-Message-Id: <200306092350.h59No7AP090903@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Scot W. Hetzel" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5E9D37B401 for ; Mon, 9 Jun 2003 16:48:14 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8880243FE0 for ; Mon, 9 Jun 2003 16:48:13 -0700 (PDT) (envelope-from admin@WBIw009.westbend.net) Received: from WBIw009.westbend.net (wbiw009 [216.47.253.29]) by mail.westbend.net (8.12.9/8.12.9) with ESMTP id h59NmATK088194; Mon, 9 Jun 2003 18:48:10 -0500 (CDT) (envelope-from admin@WBIw009.westbend.net) Received: from WBIw009.westbend.net (localhost [127.0.0.1]) by WBIw009.westbend.net (8.12.9/8.12.9) with ESMTP id h59Nm8m5033244; Mon, 9 Jun 2003 18:48:10 -0500 (CDT) (envelope-from admin@WBIw009.westbend.net) Received: (from root@localhost) by WBIw009.westbend.net (8.12.9/8.12.9/Submit) id h59Nm4Dc033243; Mon, 9 Jun 2003 18:48:04 -0500 (CDT) Message-Id: <200306092348.h59Nm4Dc033243@WBIw009.westbend.net> Date: Mon, 9 Jun 2003 18:48:04 -0500 (CDT) From: "Scot W. Hetzel" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: cyrille.lefevre@laposte.net Subject: ports/53126: Use proxy/socks settings when registering setiathome X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Scot W. Hetzel" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 23:50:10 -0000 >Number: 53126 >Category: ports >Synopsis: Use proxy/socks settings when registering setiathome >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 09 16:50:07 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Scot W. Hetzel >Release: FreeBSD 4.8-STABLE i386 >Organization: West Bend Internet >Environment: System: FreeBSD WBIw009.westbend.net 4.8-STABLE FreeBSD 4.8-STABLE #5: Tue Jun 3 12:05:25 CDT 2003 root@WBIw009.westbend.net:/usr/obj/usr/src/4x/sys/GENERIC-SMP i386 >Description: Unable to register Setiathome behind a proxy or socks server. >How-To-Repeat: Try to register Setiathome behind a proxy or socks server. >Fix: Apply the following patch, then add the appropriate proxy or socks server settings to ${PREFIX}/etc/setiathome.conf and register setiathome. Index: files/setiathome.sh =================================================================== RCS file: /home/ncvs/ports/astro/setiathome/files/setiathome.sh,v retrieving revision 1.14 diff -u -r1.14 setiathome.sh --- files/setiathome.sh 8 Jun 2003 12:55:42 -0000 1.14 +++ files/setiathome.sh 9 Jun 2003 23:38:03 -0000 @@ -56,6 +56,14 @@ " export program_args +register_args="\ +${seti_reg_args} \ +${seti_proxy_server:+-proxy} ${seti_proxy_server} \ +${seti_socks_server:+-socks_server} ${seti_socks_server} \ +${seti_socks_user:+-socks_user} ${seti_socks_user} \ +${seti_socks_passwd:+-socks_passwd} ${seti_socks_passwd} \ +${seti_nice:+-nice} ${seti_nice} \ +" wrapper_dir=${PREFIX}/libexec wrapper_file=${rc_file%.sh}.bin @@ -193,8 +201,7 @@ if [ "X${seti_dontlogin}" != "Xyes" ]; then su -fm ${seti_user} -c "\ cd ${seti_wrkdir} && \ - exec ${program_path} \ - ${seti_reg_args} ${seti_proxy_args}" + exec ${program_path} ${register_args}" fi if [ ${seti_maxprocs} -gt 1 ]; then echo " Updating additional working directories." >Release-Note: >Audit-Trail: >Unformatted: