aboutsummaryrefslogtreecommitdiff
path: root/www/eldav.el
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-06-20 08:49:21 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-06-20 08:49:21 +0000
commitbc18600bfada65a548eadcca0bcc1a29cff656fd (patch)
tree03125398b5ab7579777bd1c224221810ac6b597d /www/eldav.el
parent9f3dcaa50191d343c09fe428361f0053d002e14d (diff)
downloadports-bc18600bfada65a548eadcca0bcc1a29cff656fd.tar.gz
ports-bc18600bfada65a548eadcca0bcc1a29cff656fd.zip
Update to 0.7.2 which fixes insecure handling of temporary files
PR: 53543 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=83348
Diffstat (limited to 'www/eldav.el')
-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 1789c967a312..1ceb51ab093f 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 b7324ca31963..2ede0c84cde0 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 a8bb090ed5a5..044b801fa247 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 77df94afc682..d11371ca1481 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