From nobody Tue Feb 20 13:35:10 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TfL4Z4yVSz5C4js for ; Tue, 20 Feb 2024 13:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TfL4Z31B3z512s for ; Tue, 20 Feb 2024 13:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708436110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GiXxcXsLTVByxGJfZvkMMTnuDJYnSI39z+FrDlgTo1U=; b=xr/UYGKSeiy+hQQR4MqWPsKM+xtx5ZaD2WrrMrIKabn/rs1vh3kIrA0DAcCibbVhj3RKnF No5ROvYbPNFduXwoICFORJy91YYdJ7BOAnMpY8+w8l+ntFA6IBjRY8tsHgXAJXEo5sHKmi JurhbcZY28MCCHnURaLccB33yPKezw/hRIe5YuQpsJC4xnnZptoYCyP6ywzb273uoq3U7a FOCEGTXyE3AcShB+tX3zn/a/CJrdGPRiQjpMqX2RAlEnhARJ15XcI2xMSNj0IRfCMuOtQH WT813xjwSKX7yHN664VwwwTcZIsR8+nCo65vlqw6Qj5eqWYj+a3Yvvya5I40VQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708436110; a=rsa-sha256; cv=none; b=Ingu7qoYTJKygIdV78COvyUgf1SNMOF8v4ABnOl9blnrQ50e8BMdPyg487wuP78WHQultt ZDZ2GFPNPEIUhuFKIInGYoSIRLOsgtNhkKYwWXxNrUqEW9bsd2TSQuWt24/NK69rHhmTdO RvrMhnbeYdPJuYS0MBfrmvbQtmWOZEcBTcwEAIbzMchNBj7XQMNOA1J7ZeBbtdYATpsBGD tMZpZCNIXxsAHjZQvZVd4nj5nlEyLxUlWyBpuRKhR6t62FsAfVn09aEl8bUC3i6jyfuKAh 7aOxBq9RkyzhcK78WsfGeXjMlHlsjh9PTBEqkNRsK4/GbsqWqpOzJe8LHL7fWw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TfL4Z1zV9zL1N for ; Tue, 20 Feb 2024 13:35:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41KDZAmv000459 for ; Tue, 20 Feb 2024 13:35:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41KDZAjN000458 for ports-bugs@FreeBSD.org; Tue, 20 Feb 2024 13:35:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275300] [PATCH] www/angie: Create/delete logs directory using hooks Date: Tue, 20 Feb 2024 13:35:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fuz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275300 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fuz@FreeBSD.org --- Comment #2 from Robert Clausecker --- This is probably better solved by creating the directory in the rc.d script= and leaving it out of the package entirely. That said, instead of adding installation and deinstallation scripts, you should at least do something like adding @preexec mkdir -p %%LOGDIR%% @postunexec rmdir %%LOGDIR%% 2>/dev/null || true to pkg-plist. I have asked on the ports IRC channel for the proper way to do this and will report back if there is a better solution. --=20 You are receiving this mail because: You are the assignee for the bug.=