crypt++el (2.94-1) debian-dir only changes

Summary

 debian/README.debian             |   17 +++++
 debian/changelog                 |  115 +++++++++++++++++++++++++++++++++++++++
 debian/compat                    |    1 
 debian/control                   |   15 +++++
 debian/copyright                 |   25 ++++++++
 debian/crypt++el.emacsen-install |   40 +++++++++++++
 debian/crypt++el.emacsen-remove  |   13 ++++
 debian/crypt++el.emacsen-startup |    1 
 debian/crypt++el.install         |    1 
 debian/dirs                      |    4 +
 debian/postinst                  |   12 ++++
 debian/prerm                     |   12 ++++
 debian/rules                     |   54 ++++++++++++++++++
 13 files changed, 310 insertions(+)

    
download this patch

Patch contents

--- crypt++el-2.94.orig/debian/README.debian
+++ crypt++el-2.94/debian/README.debian
@@ -0,0 +1,17 @@
+crypt++el for DEBIAN
+----------------------
+
+This is a package with crypt++.el
+Code for handling all sorts of compressed and encrypted files
+
+Default configuration is to use mcrypt.
+
+If you want to use gnupg to encrypt your files include the following
+line in your .emacs file:
+
+(setq crypt-encryption-type 'gpg)
+
+Please see /usr/share/emacs/site-lisp/crypt++.el for more hints and
+usage information.
+
+Christoph Martin <christoph.martin@uni-mainz.de>  Mon, 26 May 2008 16:22:51 +0200
--- crypt++el-2.94.orig/debian/changelog
+++ crypt++el-2.94/debian/changelog
@@ -0,0 +1,115 @@
+crypt++el (2.94-1) unstable; urgency=low
+
+  * new upstream from Xemacs
+  * include ChangeLog from Upstream
+  * make crypt.el run with emacs21
+
+ -- Christoph Martin <Christoph.Martin@Uni-Mainz.DE>  Fri, 18 Jul 2008 14:25:46 +0200
+
+crypt++el (2.92-2) unstable; urgency=low
+
+  * reintroduce in Debian (closes: #481082)
+  * readopt package
+  * change from debmake to debhelper (closes: #372986)
+  * update to standards-version 3.7.3
+  * change Upstream address (closes: #404890)
+  * include some hints in Readme.Debian how to change default encryption
+    type (closes: #217722)
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Mon, 26 May 2008 16:27:34 +0200
+
+crypt++el (2.92-1) unstable; urgency=low
+
+  * New maintainer.
+    - Acknowledge NMU bugs (Closes: Bug#164549, Bug#178925, Bug#179044).
+  * New upstream version (Closes: Bug#179045).
+    - Adds rc4 via the openssl binary.
+  * Now only Suggests mailcrypt (Closes: Bug#120987).
+  * Upgrade Standards-Version to 3.6.1.
+
+ -- Mario Lang <mlang@debian.org>  Thu,  9 Oct 2003 17:24:18 +0200
+
+crypt++el (2.91-2.1) unstable; urgency=low
+
+  * NMU
+  * Only remove crypt++.el from elc_dir (Closes: Bug#164549)
+  * Add pointer to common-licenses/GPL to copyright file (Closes: Bug#178925)
+
+ -- Mario Lang <mlang@debian.org>  Thu, 30 Jan 2003 11:23:25 +0100
+
+crypt++el (2.91-2) unstable; urgency=low
+
+  * added build-depends
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Sat,  1 Jun 2002 11:43:55 +0200
+
+crypt++el (2.91-1) unstable; urgency=low
+
+  * New upstream
+  * fixes handling for gpg sub library (closes: #105427)
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Tue, 20 Nov 2001 13:51:33 +0100
+
+crypt++el (2.90-1) unstable; urgency=low
+
+  * New upstream (closes: #87615)
+  * correct package description (closes: #109016, #114242)
+  * added support for mcrypt (closes: #105563)
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Sat, 10 Nov 2001 17:08:48 +0100
+
+crypt++el (2.88-2) unstable; urgency=low
+
+  * add .elc files to magic list of files which are not encrypted (closes:
+    #55964)
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Wed,  2 May 2001 14:10:46 +0200
+
+crypt++el (2.88-1) unstable; urgency=low
+
+  * new upstream version (closes: #65591)
+  * supports now also pgp50 and gpg
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Sat, 23 Sep 2000 18:03:54 +0200
+
+crypt++el (2.87-2) unstable; urgency=low
+
+  * Include .orig.tar.gz in Upload (Bug #44231)
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Mon, 13 Sep 1999 21:50:24 +0200
+
+crypt++el (2.87-1) unstable; urgency=low
+
+  * New upstream version (Bug #32108)
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Sat, 22 May 1999 15:06:41 +0200
+
+crypt++el (2.84-3) unstable; urgency=low
+
+  * fixed bzip2 support
+  * move package from nonus to main
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Sun, 18 Oct 1998 15:37:15 +0200
+
+crypt++el (2.84-2) frozen unstable; urgency=low
+
+  * corrected type in postinst (bug #23422)
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Fri, 19 Jun 1998 16:41:03 +0200
+
+crypt++el (2.84-1) frozen unstable; urgency=low
+
+  * new upstream release (2.84)
+  * absolute conffile path (bug #18497)
+  * now depends on emacsen instead of emacs (bug #19457)
+  * added recommends mailcrypt
+
+ -- Christoph Martin <christoph.martin@uni-mainz.de>  Mon,  6 Apr 1998 19:53:21 +0200
+
+crypt++el (2.82-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Christoph Martin <martin@uni-mainz.de>  Fri, 11 Jul 1997 13:44:58 +0200
+
+
--- crypt++el-2.94.orig/debian/crypt++el.emacsen-remove
+++ crypt++el-2.94/debian/crypt++el.emacsen-remove
@@ -0,0 +1,13 @@
+#!/bin/sh
+# /usr/lib/emacsen-common/packages/remove/crypt++el
+set -e
+
+FLAVOR=$1
+echo remove/crypt++el: Handling removal of emacsen flavor ${FLAVOR}
+
+if [ ${FLAVOR} != emacs ]
+then
+  echo emacsen-common: purging byte-compiled files for ${FLAVOR}
+  rm -f /usr/share/${FLAVOR}/site-lisp/crypt++.elc
+fi
+exit 0;
--- crypt++el-2.94.orig/debian/crypt++el.install
+++ crypt++el-2.94/debian/crypt++el.install
@@ -0,0 +1 @@
+crypt++.el /usr/share/emacs/site-lisp
--- crypt++el-2.94.orig/debian/crypt++el.emacsen-install
+++ crypt++el-2.94/debian/crypt++el.emacsen-install
@@ -0,0 +1,40 @@
+#!/bin/sh
+# /usr/lib/emacsen-common/packages/install/crypt++el
+set -e
+
+FLAVOR=$1
+echo install/crypt++el: Handling install of emacsen flavor ${FLAVOR}
+
+byte_compile_options="-batch -f batch-byte-compile"
+el_files="crypt++.el" 
+el_dir=/usr/share/emacs/site-lisp/
+elc_dir=/usr/share/${FLAVOR}/site-lisp/
+el_path_list=`echo ${el_files} | perl -pe "s|^|${el_dir}|o"`
+elc_path_list=`echo ${el_files} | perl -pe "s|^|${elc_dir}|o"`
+#etc_dir=/etc/${FLAVOR}/site-start.d/
+
+if [ ${FLAVOR} != emacs ]
+then
+  echo install/crypt++el: byte-compiling for ${FLAVOR}
+
+#  ln -sf ${el_dir}/crypt++-init.el ${etc_dir}/50crypt++.el
+
+  # Copy the temp .el files
+  cp ${el_path_list} ${elc_dir}
+
+  # Byte compile them
+#  cat <<-EOF >${elc_dir}/load-path-hack.el
+#(setq load-path (cons nil load-path))
+#EOF
+  (cd ${elc_dir} && ${FLAVOR} ${byte_compile_options} ${elc_path_list} 2>/dev/null)
+
+  # remove the redundant .el files
+  # presumes that any .el files in the <flavor> dir are trash.
+#  rm ${elc_dir}/load-path-hack.el
+  rm ${elc_dir}/crypt++.el
+fi
+exit 0;
+
+### Local Variables:
+### mode: shell-script
+### End:
--- crypt++el-2.94.orig/debian/control
+++ crypt++el-2.94/debian/control
@@ -0,0 +1,15 @@
+Source: crypt++el
+Section: editors
+Priority: extra
+Maintainer: Mario Lang <mlang@debian.org>
+Uploaders: Christoph Martin <christoph.martin@uni-mainz.de>
+Build-Depends: debhelper (>= 4.0.0)
+Standards-Version: 3.7.3
+
+Package: crypt++el
+Architecture: all
+Depends: emacs21 | emacsen
+Suggests: mailcrypt
+Description: Emacs-Lisp Code for handling compressed and encrypted files
+ Code for handling all sorts of compressed and encrypted files like:
+  .gz, .tar.gz, .Z, .zip, PGP etc.
--- crypt++el-2.94.orig/debian/crypt++el.emacsen-startup
+++ crypt++el-2.94/debian/crypt++el.emacsen-startup
@@ -0,0 +1 @@
+(require 'crypt++)
--- crypt++el-2.94.orig/debian/copyright
+++ crypt++el-2.94/debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Christoph Martin martin@verwaltung.uni-mainz.de on
+Fri, 11 Jul 1997 13:44:58 +0200.
+
+It was downloaded from
+http://cvs.xemacs.org/viewcvs.cgi/XEmacs/packages/xemacs-packages/os-utils/crypt.el
+
+Copyright:
+
+ Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1994 Lawrence R. Dodd
+ Copyright (C) 1993 Lawrence R. Dodd and Rod Whitby
+ Copyright (C) 1988, 1989, 1990 Kyle E. Jones
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in `/usr/share/common-licenses/GPL'.
--- crypt++el-2.94.orig/debian/compat
+++ crypt++el-2.94/debian/compat
@@ -0,0 +1 @@
+4
--- crypt++el-2.94.orig/debian/dirs
+++ crypt++el-2.94/debian/dirs
@@ -0,0 +1,4 @@
+etc/emacs/site-start.d
+usr/share/emacs/site-lisp
+usr/lib/emacsen-common/packages/install
+usr/lib/emacsen-common/packages/remove
--- crypt++el-2.94.orig/debian/postinst
+++ crypt++el-2.94/debian/postinst
@@ -0,0 +1,12 @@
+#!/bin/bash -e
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+### Local Variables:
+### mode: shell-script
+### End:
--- crypt++el-2.94.orig/debian/prerm
+++ crypt++el-2.94/debian/prerm
@@ -0,0 +1,12 @@
+#!/bin/bash -e
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+### Local Variables:
+### mode: shell-script
+### End:
--- crypt++el-2.94.orig/debian/rules
+++ crypt++el-2.94/debian/rules
@@ -0,0 +1,54 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+package=crypt++el
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	dh_install
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs ChangeLog
+	dh_installemacsen
+	dh_installchangelogs
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: build install
+# There are no architecture-dependent files to be uploaded
+# generated by this package.  If there were any they would be
+# made here.
+
+binary:		binary-indep binary-arch
+
+.PHONY: build clean binary-arch binary-indep binary install configure
+