mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
- Update to 1.25
- Switch to USES=ssl - Switch to @sample - Fix rc.d script filename - Pass maintainership to submitter PR: 210895 Submitted by: leres@ee.lbl.gov
This commit is contained in:
parent
d336ad8586
commit
06c68b1c01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418444
@ -2,18 +2,17 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mini_httpd
|
||||
PORTVERSION= 1.24
|
||||
PORTVERSION= 1.25
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= http://www.acme.com/software/mini_httpd/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= leres@ee.lbl.gov
|
||||
COMMENT= Small HTTP server with support for GET, HEAD, POST, CGI, SSL, IPv6
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USES= cpe
|
||||
USES= cpe ssl
|
||||
CPE_VENDOR= acme
|
||||
USE_OPENSSL= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/htpasswd/${PORTNAME}-htpasswd/g' ${WRKSRC}/htpasswd.1
|
||||
@ -25,7 +24,7 @@ do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/htpasswd ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}-htpasswd
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/500.mini_httpd-rotate ${STAGEDIR}${PREFIX}/etc/periodic/daily
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/mini_httpd_wrapper ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/mini_httpd.sh ${STAGEDIR}${PREFIX}/etc/rc.d
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/scripts/mini_httpd.sh ${STAGEDIR}${PREFIX}/etc/rc.d/mini_httpd
|
||||
${INSTALL_MAN} ${WRKSRC}/htpasswd.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}-htpasswd.1
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
|
||||
${INSTALL_DATA} ${WRKSRC}/mini_httpd.cnf ${STAGEDIR}${PREFIX}/etc/mini_httpd.cnf.sample
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (mini_httpd-1.24.tar.gz) = ba3846368f1c42b10931b5c25199b011d243dbf8025e51e3e2c2919952f6c359
|
||||
SIZE (mini_httpd-1.24.tar.gz) = 43192
|
||||
TIMESTAMP = 1467863467
|
||||
SHA256 (mini_httpd-1.25.tar.gz) = 25a0325e698d6bf828ab8089d5ba8835edd7384936cd3074e1543ecafd85958c
|
||||
SIZE (mini_httpd-1.25.tar.gz) = 43628
|
||||
|
@ -1,4 +1,4 @@
|
||||
--- Makefile.orig 2014-10-19 06:33:43 UTC
|
||||
--- Makefile.orig 2016-07-07 03:21:44 UTC
|
||||
+++ Makefile
|
||||
@@ -15,17 +15,21 @@ CRYPT_LIB = -lcrypt
|
||||
# tree with your OpenSSL installation - depending on how you installed it,
|
||||
@ -18,10 +18,10 @@
|
||||
|
||||
|
||||
-BINDIR = /usr/local/sbin
|
||||
+BINDIR = ${PREFIX}/sbin
|
||||
-MANDIR = /usr/local/man
|
||||
+MANDIR = ${MANPREFIX}/man
|
||||
-CC = cc
|
||||
+BINDIR = ${PREFIX}/sbin
|
||||
+MANDIR = ${MANPREFIX}/man
|
||||
+CC ?= cc
|
||||
CDEFS = $(SSL_DEFS) $(SSL_INC)
|
||||
-CFLAGS = -O $(CDEFS) -ansi -pedantic -U__STRICT_ANSI__ -Wall -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wno-long-long
|
||||
|
@ -1,6 +1,6 @@
|
||||
etc/mini_httpd.cnf.sample
|
||||
@sample etc/mini_httpd.cnf.sample
|
||||
etc/periodic/daily/500.mini_httpd-rotate
|
||||
etc/rc.d/mini_httpd.sh
|
||||
etc/rc.d/mini_httpd
|
||||
man/man1/mini_httpd-htpasswd.1.gz
|
||||
man/man8/mini_httpd.8.gz
|
||||
sbin/mini_httpd
|
||||
|
Loading…
Reference in New Issue
Block a user