summaryrefslogtreecommitdiffstats
path: root/www/mod_put
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-07-07 13:13:48 +0000
committerijliao <ijliao@FreeBSD.org>2001-07-07 13:13:48 +0000
commit2e3ba1d648b617f6d4609c5ae79a16052b49b89d (patch)
treece7ade2fba5a7b122a0647bb1df2225d035a64bc /www/mod_put
parent0fc84b1711af92cb0284021766603b3afdd21c47 (diff)
downloadFreeBSD-ports-2e3ba1d648b617f6d4609c5ae79a16052b49b89d.zip
FreeBSD-ports-2e3ba1d648b617f6d4609c5ae79a16052b49b89d.tar.gz
add mod_put
An Apache module that provides PUT and DELETE methods PR: 28414 Submitted by: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
Diffstat (limited to 'www/mod_put')
-rw-r--r--www/mod_put/Makefile34
-rw-r--r--www/mod_put/distinfo1
-rw-r--r--www/mod_put/pkg-comment1
-rw-r--r--www/mod_put/pkg-descr5
-rw-r--r--www/mod_put/pkg-plist5
5 files changed, 46 insertions, 0 deletions
diff --git a/www/mod_put/Makefile b/www/mod_put/Makefile
new file mode 100644
index 0000000..31217dd
--- /dev/null
+++ b/www/mod_put/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: mod_put Apache module
+# Date created: Jun 26 2001
+# Whom: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_put
+PORTVERSION= 1.3
+CATEGORIES= www
+MASTER_SITES= http://hpwww.ec-lyon.fr/~vincent/apache/
+DISTFILES= mod_put.tar.gz
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
+RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
+
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
+
+do-build:
+ cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -c ${PORTNAME}.c
+
+do-install:
+ cd ${WRKSRC} && ${LOCALBASE}/sbin/apxs -A -i ${PORTNAME}.so
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html \
+ ${PREFIX}/share/doc/${PORTNAME}
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/mod_put/distinfo b/www/mod_put/distinfo
new file mode 100644
index 0000000..77cafdb
--- /dev/null
+++ b/www/mod_put/distinfo
@@ -0,0 +1 @@
+MD5 (mod_put-1.3/mod_put.tar.gz) = 23e3c9925c200ccc5913c43b371da32c
diff --git a/www/mod_put/pkg-comment b/www/mod_put/pkg-comment
new file mode 100644
index 0000000..94fcb4f
--- /dev/null
+++ b/www/mod_put/pkg-comment
@@ -0,0 +1 @@
+An Apache module that provides PUT and DELETE methods
diff --git a/www/mod_put/pkg-descr b/www/mod_put/pkg-descr
new file mode 100644
index 0000000..1024580
--- /dev/null
+++ b/www/mod_put/pkg-descr
@@ -0,0 +1,5 @@
+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
diff --git a/www/mod_put/pkg-plist b/www/mod_put/pkg-plist
new file mode 100644
index 0000000..1f94b88
--- /dev/null
+++ b/www/mod_put/pkg-plist
@@ -0,0 +1,5 @@
+libexec/apache/mod_put.so
+%%PORTDOCS%%share/doc/mod_put/mod_put.html
+%%PORTDOCS%%@dirrm share/doc/mod_put
+@exec ${PKG_PREFIX}/sbin/apxs -e -A -n put mod_put.so; echo " enable the mod_put in Apache's config manually"
+@unexec ${PKG_PREFIX}/sbin/apxs -e -A -n put mod_put.so || echo " remove the mod_put from Apache's config manually"
OpenPOWER on IntegriCloud