Date: Mon, 25 Jun 2001 21:51:43 -0300 (BRT) From: Joao Carlos Mendes Luis <jonny@jonny.eng.br> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/28414: New port: mod_put Message-ID: <200106260051.f5Q0phu28618@roma.coe.ufrj.br>
next in thread | raw e-mail | index | archive | help
>Number: 28414 >Category: ports >Synopsis: New port: mod_put >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 25 18:00:09 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Joao Carlos Mendes Luis >Release: FreeBSD 4.3-STABLE i386 >Organization: Embratel >Environment: System: FreeBSD roma.coe.ufrj.br 4.3-STABLE FreeBSD 4.3-STABLE #0: Wed May 2 15:55:57 BRT 2001 jonny@roma.coe.ufrj.br:/usr/cvsup/RELENG_4/src/sys/compile/ROMA i386 >Description: This small module implements the HTTP/1.1 PUT and DELETE methods. Please notice that it can be a big security hole to activate them without securing the web server. WWW: http://hpwww.ec-lyon.fr/~vincent/apache/mod_put.html Obs: I will let ports@freebsd.org be the MAINTAINER, as I have no time to keep track of the source. I just had the need for this, and since there was no port, I made one. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # pkg-comment # pkg-descr # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: mod_put Apache module X# Date created: Jun 26 2001 X# Whom: Joao Carlos Mendes Luis <jonny@jonny.eng.br> X# X# $FreeBSD:$ X# X XPORTNAME= mod_put XPORTVERSION= 1.3 XCATEGORIES= www XMASTER_SITES= http://hpwww.ec-lyon.fr/~vincent/apache/ XDISTFILES= mod_put.tar.gz X XMAINTAINER= ports@FreeBSD.org X XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 XRUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 X XDIST_SUBDIR= ${PORTNAME}-${PORTVERSION} X Xdo-build: X cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c ${PORTNAME}.c X Xdo-install: X cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so X X.if !defined(NOPORTDOCS) Xpost-install: X @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} X @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html \ X ${PREFIX}/share/doc/${PORTNAME} X.endif X X.include <bsd.port.mk> END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (mod_put-1.3/mod_put.tar.gz) = 23e3c9925c200ccc5913c43b371da32c END-of-distinfo echo x - pkg-comment sed 's/^X//' >pkg-comment << 'END-of-pkg-comment' XAn Apache module that provides PUT and DELETE methods END-of-pkg-comment echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XThis small module implements the HTTP/1.1 PUT and DELETE methods. XPlease notice that it can be a big security hole to activate them Xwithout securing the web server. X XWWW: http://hpwww.ec-lyon.fr/~vincent/apache/mod_put.html END-of-pkg-descr echo x - pkg-plist sed 's/^X//' >pkg-plist << 'END-of-pkg-plist' Xlibexec/apache/mod_put.so X%%PORTDOCS%%share/doc/mod_put/mod_put.html X%%PORTDOCS%%@dirrm share/doc/mod_put X@exec ${PKG_PREFIX}/sbin/apxs -e -A -n put mod_put.so; echo " enable the mod_put in Apache's config manually" X@unexec ${PKG_PREFIX}/sbin/apxs -e -A -n put mod_put.so || echo " remove the mod_put from Apache's config manually" END-of-pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106260051.f5Q0phu28618>