diff options
author | Ulrich Müller <ulm@gentoo.org> | 2011-10-20 00:16:48 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2011-10-20 00:16:48 +0000 |
commit | 61ecfbbf3eef1afbb1bc97ed7fe3b6d3bb255305 (patch) | |
tree | 5aac97d58c5ea6febd6947468e7b9af5d27b3120 /app-emacs/md5 | |
parent | junkbust removed 2007-10-19 bug 174109 (diff) | |
download | emacs-61ecfbbf3eef1afbb1bc97ed7fe3b6d3bb255305.tar.gz emacs-61ecfbbf3eef1afbb1bc97ed7fe3b6d3bb255305.tar.bz2 emacs-61ecfbbf3eef1afbb1bc97ed7fe3b6d3bb255305.zip |
md5 removed 2008-01-03
svn path=/emacs-graveyard/; revision=1724
Diffstat (limited to 'app-emacs/md5')
-rw-r--r-- | app-emacs/md5/ChangeLog | 38 | ||||
-rw-r--r-- | app-emacs/md5/Manifest | 16 | ||||
-rw-r--r-- | app-emacs/md5/files/50md5-gentoo.el | 4 | ||||
-rw-r--r-- | app-emacs/md5/files/md5-1.0-gentoo.patch | 84 | ||||
-rw-r--r-- | app-emacs/md5/md5-1.0-r1.ebuild | 22 | ||||
-rw-r--r-- | app-emacs/md5/metadata.xml | 5 |
6 files changed, 169 insertions, 0 deletions
diff --git a/app-emacs/md5/ChangeLog b/app-emacs/md5/ChangeLog new file mode 100644 index 0000000..779a20a --- /dev/null +++ b/app-emacs/md5/ChangeLog @@ -0,0 +1,38 @@ +# ChangeLog for app-emacs/md5 +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/md5/ChangeLog,v 1.11 2007/10/15 20:13:54 ulm Exp $ + + 15 Oct 2007; Ulrich Mueller <ulm@gentoo.org> md5-1.0-r1.ebuild: + amd64 stable, bug #195512. + + 06 Oct 2007; Ulrich Mueller <ulm@gentoo.org> -files/90md5-gentoo.el, + md5-1.0-r1.ebuild: + Add RSA-MD5 to LICENSE. Quote some variables. Remove stale file. + + 23 Feb 2007; Christian Faulhammer <opfer@gentoo.org> -md5-1.0.ebuild: + clean up + + 06 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: + Regenerate digest in Manifest2 format. + + 24 Oct 2005; Joseph Jezak <josejx@gentoo.org> md5-1.0-r1.ebuild: + Marked ~ppc. + + 01 Jul 2005; Matthew Kennedy <mkennedy@gentoo.org> md5-1.0-r1.ebuild: + Keywording ~amd64. + + 29 Jun 2004; Aron Griffis <agriffis@gentoo.org> md5-1.0-r1.ebuild, + md5-1.0.ebuild: + sync IUSE (missing) + +*md5-1.0-r1 (22 Dec 2003) + + 22 Dec 2003; <mkennedy@gentoo.org> md5-1.0-r1.ebuild, md5-1.0.ebuild: + rename module from md5 to md5-digest to avoid conflict with emacs' built-in + md5 function and also flim's md5 module + +*md5-1.0 (22 Nov 2003) + + 22 Nov 2003; <mkennedy@gentoo.org> md5-1.0.ebuild, files/50md5-gentoo.el: + initial import. ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org> + diff --git a/app-emacs/md5/Manifest b/app-emacs/md5/Manifest new file mode 100644 index 0000000..8028fd3 --- /dev/null +++ b/app-emacs/md5/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 50md5-gentoo.el 76 RMD160 4c0047804a381404a30fa473bc0264dc8b8a5b16 SHA1 a64b71f5b5704869e721236bb3dd7500ab6df7e9 SHA256 9cb547fd6976722637743a1eae4f85eeb14c1ba04af5bacbdd3bb3f81ca921a6 +AUX md5-1.0-gentoo.patch 3089 RMD160 2d1b0e198e4866f12dd88e66f9e2a90081780760 SHA1 bcf1304e387f6b246d265301ba586ba9976c6bc2 SHA256 8f1dda597ac11245386d0b5b22a380227cb2e7845d44db50fab5f48bab0b0017 +DIST md5-1.0.tar.gz 5736 RMD160 fc7e9998c781c7094b632371368dbc6ad1c0dd2a SHA1 ba67f48be54c7709e1400ab7e4a7dd740ca1aef1 SHA256 bcff80e0d8e18e068e4e918c47e54e096d2800da0c68ff05a06479ce185aa3c4 +EBUILD md5-1.0-r1.ebuild 611 RMD160 0596a141df5eb3f539473ebc850462a7cc035c71 SHA1 336f0c0fecc205400469dd036c5f75f81a0416e7 SHA256 79d92f1efed1a9600989bf91f0739489b6305841ff2312b2f394f1543c40f9e1 +MISC ChangeLog 1329 RMD160 f628dd0185c7a025257c94f60b0b947db1a80720 SHA1 259cd0e1568797d2ec21c8d3d6032cc4e935bc04 SHA256 089bc7cc495ef8a026a2c97d42f03ecc629de157f664f1a943c68a22492a788c +MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iEYEARECAAYFAk6fXHUACgkQOeoy/oIi7uyN2QCfdA0WbsiY8CMnbeqTz0Tpj3/X +mF8AnjENiVKywk+IhQVrUJ/r4p0VL/Q7 +=krek +-----END PGP SIGNATURE----- diff --git a/app-emacs/md5/files/50md5-gentoo.el b/app-emacs/md5/files/50md5-gentoo.el new file mode 100644 index 0000000..dc4da50 --- /dev/null +++ b/app-emacs/md5/files/50md5-gentoo.el @@ -0,0 +1,4 @@ + +;;; site-lisp configuration for md5 + +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/md5/files/md5-1.0-gentoo.patch b/app-emacs/md5/files/md5-1.0-gentoo.patch new file mode 100644 index 0000000..467d54e --- /dev/null +++ b/app-emacs/md5/files/md5-1.0-gentoo.patch @@ -0,0 +1,84 @@ +diff -ur md5-1.0/md5.el md5-1.0.orig/md5.el +--- md5-1.0/md5.el 2003-11-21 23:59:30.000000000 -0600 ++++ md5-1.0.orig/md5.el 2003-12-21 23:59:40.839985880 -0600 +@@ -368,39 +368,44 @@ + ;;; Here begins the merger with the XEmacs API and the md5.el from the URL + ;;; package. Courtesy wmperry@cs.indiana.edu + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +-(defun md5 (object &optional start end) +- "Return the MD5 (a secure message digest algorithm) of an object. +-OBJECT is either a string or a buffer. +-Optional arguments START and END denote buffer positions for computing the +-hash of a portion of OBJECT." +- (let ((buffer nil)) +- (unwind-protect +- (save-excursion +- (setq buffer (generate-new-buffer " *md5-work*")) +- (set-buffer buffer) +- (cond +- ((bufferp object) +- (insert-buffer-substring object start end)) +- ((stringp object) +- (insert (if (or start end) +- (substring object start end) +- object))) +- (t nil)) +- (prog1 +- (if (<= (point-max) md5-maximum-internal-length) +- (mapconcat +- (function (lambda (node) (format "%02x" node))) +- (md5-encode (buffer-string)) +- "") +- (call-process-region (point-min) (point-max) +- shell-file-name +- t buffer nil +- shell-command-switch md5-program) +- ;; MD5 digest is 32 chars long +- ;; mddriver adds a newline to make neaten output for tty +- ;; viewing, make sure we leave it behind. +- (buffer-substring (point-min) (+ (point-min) 32))) +- (kill-buffer buffer))) +- (and buffer (buffer-name buffer) (kill-buffer buffer) nil)))) + +-(provide 'md5) ++;; Emacs 21.3 already defines this function. ++ ++;; (defun md5 (object &optional start end) ++;; "Return the MD5 (a secure message digest algorithm) of an object. ++;; OBJECT is either a string or a buffer. ++;; Optional arguments START and END denote buffer positions for computing the ++;; hash of a portion of OBJECT." ++;; (let ((buffer nil)) ++;; (unwind-protect ++;; (save-excursion ++;; (setq buffer (generate-new-buffer " *md5-work*")) ++;; (set-buffer buffer) ++;; (cond ++;; ((bufferp object) ++;; (insert-buffer-substring object start end)) ++;; ((stringp object) ++;; (insert (if (or start end) ++;; (substring object start end) ++;; object))) ++;; (t nil)) ++;; (prog1 ++;; (if (<= (point-max) md5-maximum-internal-length) ++;; (mapconcat ++;; (function (lambda (node) (format "%02x" node))) ++;; (md5-encode (buffer-string)) ++;; "") ++;; (call-process-region (point-min) (point-max) ++;; shell-file-name ++;; t buffer nil ++;; shell-command-switch md5-program) ++;; ;; MD5 digest is 32 chars long ++;; ;; mddriver adds a newline to make neaten output for tty ++;; ;; viewing, make sure we leave it behind. ++;; (buffer-substring (point-min) (+ (point-min) 32))) ++;; (kill-buffer buffer))) ++;; (and buffer (buffer-name buffer) (kill-buffer buffer) nil)))) ++ ++;; An md5 module is already provided by FLIM. ++ ++(provide 'md5-digest) +Only in md5-1.0.orig: md5.el~ diff --git a/app-emacs/md5/md5-1.0-r1.ebuild b/app-emacs/md5/md5-1.0-r1.ebuild new file mode 100644 index 0000000..793a1c9 --- /dev/null +++ b/app-emacs/md5/md5-1.0-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/md5/md5-1.0-r1.ebuild,v 1.10 2007/10/15 20:13:54 ulm Exp $ + +inherit elisp eutils + +DESCRIPTION="Emacs Lisp implementation of the MD5 algorithm." +HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki/WikifiedEmacsLispList" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2 RSA-MD5" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +SITEFILE=50${PN}-gentoo.el + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${P}-gentoo.patch" + mv "${S}"/md5.el "${S}"/md5-digest.el +} diff --git a/app-emacs/md5/metadata.xml b/app-emacs/md5/metadata.xml new file mode 100644 index 0000000..bc306fe --- /dev/null +++ b/app-emacs/md5/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>emacs</herd> +</pkgmetadata> |