1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

Stage www/publicfile and assign maintainership to submitter

PR:		192885
Submitted by:	uffe
This commit is contained in:
John Marino 2014-08-21 11:18:43 +00:00
parent 7aafea7e71
commit f67b7f37ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365545
3 changed files with 61 additions and 3 deletions

View File

@ -3,11 +3,11 @@
PORTNAME= publicfile
PORTVERSION= 0.52
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= www ftp
MASTER_SITES= http://cr.yp.to/publicfile/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= uffe@uffe.org
COMMENT= Secure, read-only, anonymous HTTP/FTP server
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools \
@ -23,7 +23,6 @@ SSL_DESC= provide SSL support through ucspi-ssl
CONFLICTS= xshttpd-3*
LEGAL_TEXT= No license -- see http://cr.yp.to/softwarelaw.html
NO_STAGE= yes
.include <bsd.port.options.mk>
pre-everything::
@ -89,5 +88,6 @@ post-patch:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld
@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
@${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-stage
.include <bsd.port.mk>

View File

@ -0,0 +1,49 @@
--- Makefile.orig 1999-11-09 08:23:46.000000000 +0100
+++ Makefile 2014-08-21 12:29:41.000000000 +0200
@@ -32,6 +32,14 @@
compile auto_home.c
./compile auto_home.c
+auto_home_stage.c: \
+auto-str conf-stage
+ ./auto-str auto_home `head -1 conf-stage` > auto_home_stage.c
+
+auto_home_stage.o: \
+compile auto_home_stage.c
+ ./compile auto_home_stage.c
+
byte_chr.o: \
compile byte_chr.c byte.h
./compile byte_chr.c
@@ -231,7 +239,7 @@
./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h
hier.o: \
-compile hier.c auto_home.h
+compile hier.c auto_home_stage.h
./compile hier.c
httpd: \
@@ -257,9 +265,9 @@
./compile httpdate.c
install: \
-load install.o hier.o auto_home.o strerr.a substdio.a open.a error.a \
+load install.o hier.o auto_home_stage.o strerr.a substdio.a open.a error.a \
str.a
- ./load install hier.o auto_home.o strerr.a substdio.a \
+ ./load install hier.o auto_home_stage.o strerr.a substdio.a \
open.a error.a str.a
install.o: \
@@ -268,8 +276,8 @@
./compile install.c
instcheck: \
-load instcheck.o hier.o auto_home.o strerr.a substdio.a error.a str.a
- ./load instcheck hier.o auto_home.o strerr.a substdio.a \
+load instcheck.o hier.o auto_home_stage.o strerr.a substdio.a error.a str.a
+ ./load instcheck hier.o auto_home_stage.o strerr.a substdio.a \
error.a str.a
instcheck.o: \

View File

@ -0,0 +1,9 @@
--- /dev/null 2014-08-21 12:22:00.000000000 +0200
+++ auto_home_stage.h 2014-08-21 12:25:14.000000000 +0200
@@ -0,0 +1,6 @@
+#ifndef AUTO_HOME_STAGE_H_
+#define AUTO_HOME_STAGE_H_
+
+extern char auto_home[];
+
+#endif