[Bug 232926] www/mini_httpd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 3 07:30:38 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232926

            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 at freebsd.org
          Reporter: oleg at pcbtech.ru
          Assignee: leres at freebsd.org
             Flags: maintainer-feedback?(leres at 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/logs
 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

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


More information about the freebsd-ports-bugs mailing list