aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-06-20 16:49:21 +0800
committererwin <erwin@FreeBSD.org>2003-06-20 16:49:21 +0800
commitc37786a9889cdf3fc2bda9cdf56d5e5106f1e057 (patch)
treece0eedb4c5a594c2d73047183719a42637828597 /www
parent18d558d7b31957d2383170cfe0b27833b8f53f60 (diff)
downloadfreebsd-ports-graphics-c37786a9889cdf3fc2bda9cdf56d5e5106f1e057.tar.gz
freebsd-ports-graphics-c37786a9889cdf3fc2bda9cdf56d5e5106f1e057.tar.zst
freebsd-ports-graphics-c37786a9889cdf3fc2bda9cdf56d5e5106f1e057.zip
Update to 0.7.2 which fixes insecure handling of temporary files
PR: 53543 Submitted by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/eldav.el/Makefile16
-rw-r--r--www/eldav.el/distinfo2
-rw-r--r--www/eldav.el/pkg-message11
-rw-r--r--www/eldav.el/pkg-plist10
4 files changed, 21 insertions, 18 deletions
diff --git a/www/eldav.el/Makefile b/www/eldav.el/Makefile
index 1789c967a31..1ceb51ab093 100644
--- a/www/eldav.el/Makefile
+++ b/www/eldav.el/Makefile
@@ -6,31 +6,29 @@
#
PORTNAME= eldav.el
-PORTVERSION= 1.17
+PORTVERSION= 0.7.2
+PORTEPOCH= 1
CATEGORIES= www elisp
MASTER_SITES= http://www.gohome.org/eldav/
-DISTNAME= eldav.el
-EXTRACT_SUFX= .gz
-DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
+DISTNAME= eldav-${PORTVERSION}
MAINTAINER= stolz@i2.informatik.rwth-aachen.de
COMMENT= An interface to WebDAV servers for Emacs
RUN_DEPENDS= nd:${PORTSDIR}/www/nd
-EXTRACT_AFTER_ARGS= | ${CAT} >${WRKDIR}/${DISTNAME}
-
NO_BUILD= yes
-NO_WRKSUBDIR= yes
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
do-install:
${MKDIR} ${EMACSLISPDIR}
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${EMACSLISPDIR}/${DISTNAME}
${MKDIR} ${XEMACSLISPDIR}
- ${LN} -sf ${EMACSLISPDIR}/${DISTNAME} ${XEMACSLISPDIR}
+.for file in eldav.el vc-eldav.el
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${EMACSLISPDIR}/
+ ${LN} -sf ${EMACSLISPDIR}/${file} ${XEMACSLISPDIR}/
+.endfor
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/www/eldav.el/distinfo b/www/eldav.el/distinfo
index b7324ca3196..2ede0c84cde 100644
--- a/www/eldav.el/distinfo
+++ b/www/eldav.el/distinfo
@@ -1 +1 @@
-MD5 (eldav.el-1.17/eldav.el.gz) = 01a5aad07ecc4475eb1ed8af2fd0b560
+MD5 (eldav-0.7.2.tar.gz) = 8d59cdd907484ddbed05bb550bb75ad8
diff --git a/www/eldav.el/pkg-message b/www/eldav.el/pkg-message
index a8bb090ed5a..044b801fa24 100644
--- a/www/eldav.el/pkg-message
+++ b/www/eldav.el/pkg-message
@@ -2,16 +2,15 @@ Add the following line to your .emacs:
(require 'eldav)
-If you want to use a proxy server, the following setting
-is also needed:
+Using a proxy:
(setq eldav-proxy "http://your.proxy.server:8080")
-Then you can access WebDAV files by specifying a magic
-file name like:
+You can access WebDAV files by preceding WebDAV URLs
+with a colon:
:http://your.webdav.server/path/to/file/name
-(Add preceding ':' to the WebDAV URL.)
+Enabling the Eldav VC feature (experimental):
+(setq eldav-use-vc t)
-NOTICE: You need the MULE version of Emacs!
diff --git a/www/eldav.el/pkg-plist b/www/eldav.el/pkg-plist
index 77df94afc68..d11371ca148 100644
--- a/www/eldav.el/pkg-plist
+++ b/www/eldav.el/pkg-plist
@@ -1,6 +1,12 @@
share/emacs/site-lisp/eldav.el
+share/emacs/site-lisp/vc-eldav.el
@exec mkdir -p %D/lib/xemacs/site-lisp
+@exec mkdir -p %D/share/emacs/site-lisp
@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/eldav.el
+@exec ln -sf %D/%F %D/lib/xemacs/site-lisp/vc-eldav.el
@unexec rm %D/lib/xemacs/site-lisp/eldav.el
-@dirrm lib/xemacs/site-lisp
-@dirrm lib/xemacs
+@unexec rm %D/lib/xemacs/site-lisp/vc-eldav.el
+@unexec rmdir %D/lib/xemacs/site-lisp
+@unexec rmdir %D/lib/xemacs
+@unexec rmdir %D/share/emacs/site-lisp 2>/dev/null || true
+@unexec rmdir %D/share/emacs 2>/dev/null || true