diff options
author | leres <leres@FreeBSD.org> | 2018-11-05 01:50:52 +0800 |
---|---|---|
committer | leres <leres@FreeBSD.org> | 2018-11-05 01:50:52 +0800 |
commit | 5881446aa10cf055fe40cd25c7954c60e5358495 (patch) | |
tree | 4a1674b401865e2eb636f44651d73803f50ae8f5 /www | |
parent | 74169a21a163f4d159650092b365ba75cf16a78c (diff) | |
download | freebsd-ports-gnome-5881446aa10cf055fe40cd25c7954c60e5358495.tar.gz freebsd-ports-gnome-5881446aa10cf055fe40cd25c7954c60e5358495.tar.zst freebsd-ports-gnome-5881446aa10cf055fe40cd25c7954c60e5358495.zip |
Create log directory on install so that it exists when
500.mini_httpd-rotate runs.
While we're here quiet new portlint nit (move CPE_VENDOR to its own
block).
PR: 232926
Reported by: Oleg Strizhak
Approved by: ler (mentor, implicit)
Diffstat (limited to 'www')
-rw-r--r-- | www/mini_httpd/Makefile | 3 | ||||
-rw-r--r-- | www/mini_httpd/pkg-plist | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/www/mini_httpd/Makefile b/www/mini_httpd/Makefile index e766a7cdc0e4..9327a3be4a0a 100644 --- a/www/mini_httpd/Makefile +++ b/www/mini_httpd/Makefile @@ -3,6 +3,7 @@ PORTNAME= mini_httpd PORTVERSION= 1.30 +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= https://www.acme.com/software/mini_httpd/ @@ -12,6 +13,7 @@ COMMENT= Small HTTP server with support for GET, HEAD, POST, CGI, SSL, IPv6 LICENSE= BSD2CLAUSE USES= cpe ssl + CPE_VENDOR= acme post-patch: @@ -22,6 +24,7 @@ post-patch: do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily + @${MKDIR} ${STAGEDIR}${PREFIX}/www/chroot/logs ${INSTALL_PROGRAM} ${WRKSRC}/mini_httpd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/htpasswd \ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}-htpasswd diff --git a/www/mini_httpd/pkg-plist b/www/mini_httpd/pkg-plist index 37c4df3a82e3..969e8343b406 100644 --- a/www/mini_httpd/pkg-plist +++ b/www/mini_httpd/pkg-plist @@ -6,3 +6,4 @@ man/man8/mini_httpd.8.gz sbin/mini_httpd sbin/mini_httpd-htpasswd sbin/mini_httpd_wrapper +@dir www/chroot/logs |