From owner-freebsd-ports@FreeBSD.ORG Fri May 4 13:06:30 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE42E106564A for ; Fri, 4 May 2012 13:06:30 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 77F208FC19 for ; Fri, 4 May 2012 13:06:30 +0000 (UTC) Received: by vbmv11 with SMTP id v11so2667820vbm.13 for ; Fri, 04 May 2012 06:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=N3DG8VcYe9UpUy+jNYrIuH0Eu9QNx3KlTbsUlQbDSg4=; b=zX4adqV0qrAbx2Twe317EZ/MJBfah0xdKD+aVN5PzBbB3QBwCSjU/FF0G53BBraN7B uwr4yWIaHeyHfV0M7jMG28XVdclhEXfivKm9VvvrkG8aV0MNloZryXe/VTnbz5mcWuGx 88EUZQl2H+Q5hK8rZMuB2yfc3SSotO8LEK71YWkzDYcstysLOORAkjf+H55RHgYJ+Yld USJ6KFE2OayttnwuU6K3UNWB4H7MeTV1VSS6bqmKPgD9jHKAgvQrQGDx5/6pp0aYUP4u Ij/IGShb/FI76volD3/CprD5yH34C4xswN17f698Zw7IOYHcGVzn3odfXoJZAZ/7rVRl scsQ== MIME-Version: 1.0 Received: by 10.52.175.231 with SMTP id cd7mr3047934vdc.68.1336136788947; Fri, 04 May 2012 06:06:28 -0700 (PDT) Received: by 10.52.18.139 with HTTP; Fri, 4 May 2012 06:06:28 -0700 (PDT) Date: Fri, 4 May 2012 15:06:28 +0200 Message-ID: From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 Subject: audio/squeezeboxserver - install error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 13:06:30 -0000 Hello, There seems to be a small error in the install procedure for the audio/squeezeboxserver port. I installed the latest version under FreeBSD 8.3-stable. At the end of "make install", it gives this output: ===> Installing rc.d startup script(s) Adding squeezeboxserver log entry to /etc/newsyslog.conf. touch: /var/log/squeezeboxserver/server.log: No such file or directory chown: /var/log/squeezeboxserver/server.log: No such file or directory and sure enough, the directory isn't created: root@kg-v5# ls -l /var/log/squeezeboxserver ls: /var/log/squeezeboxserver: No such file or directory Looking at files/pkg-install.in in the port directory it is clear why it doesn't work: .. serverlogfile=/var/log/${name}/server.log ... if [ ! -f ${serverlogfile} ]; then touch ${serverlogfile} chown -H ${u}:${g} ${serverlogfile} fi ... Should this be split into a log directory + logfile part, or is ther a more elegant way to fix it? -- Regards, Torfinn Ingolfsen