Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2018 07:30:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 232926] www/mini_httpd
Message-ID:  <bug-232926-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232926

            Bug ID: 232926
           Summary: www/mini_httpd
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: leres@freebsd.org
          Reporter: oleg@pcbtech.ru
          Assignee: leres@freebsd.org
             Flags: maintainer-feedback?(leres@freebsd.org)

it seems to me, that file work/mini_httpd-1.30/scripts/500.mini_httpd-rotate
should be patched like this (files/patch-scripts_500.mini__httpd-rotate):

--- scripts/500.mini_httpd-rotate.old   2018-11-01 23:18:22.904844000 +0300
+++ scripts/500.mini_httpd-rotate       2018-11-03 10:15:24.670561238 +0300
@@ -5,7 +5,7 @@
 # This goes in /etc/periodic/daily.  It rotates the log files and then
 # tells mini_httpd to re-open its log file.

-cd /usr/local/www/chroot/logs
+test -d /usr/local/www/chroot/logs || return && cd /usr/local/www/chroot/l=
ogs
 rm -f mini_httpd_log.7.gz
 mv mini_httpd_log.6.gz mini_httpd_log.7.gz
 mv mini_httpd_log.5.gz mini_httpd_log.6.gz

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232926-7788>