Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2014 11:18:44 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365545 - in head/www/publicfile: . files
Message-ID:  <201408211118.s7LBIiEJ010458@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Aug 21 11:18:43 2014
New Revision: 365545
URL: http://svnweb.freebsd.org/changeset/ports/365545
QAT: https://qat.redports.org/buildarchive/r365545/

Log:
  Stage www/publicfile and assign maintainership to submitter
  
  PR:		192885
  Submitted by:	uffe

Added:
  head/www/publicfile/files/patch-Makefile   (contents, props changed)
  head/www/publicfile/files/patch-auto_home_stage.h   (contents, props changed)
Modified:
  head/www/publicfile/Makefile

Modified: head/www/publicfile/Makefile
==============================================================================
--- head/www/publicfile/Makefile	Thu Aug 21 11:02:31 2014	(r365544)
+++ head/www/publicfile/Makefile	Thu Aug 21 11:18:43 2014	(r365545)
@@ -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 u
 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>

Added: head/www/publicfile/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/publicfile/files/patch-Makefile	Thu Aug 21 11:18:43 2014	(r365545)
@@ -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: \

Added: head/www/publicfile/files/patch-auto_home_stage.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/publicfile/files/patch-auto_home_stage.h	Thu Aug 21 11:18:43 2014	(r365545)
@@ -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



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