[med-svn] [r-cran-openssl] 01/08: Inject r-cran-openssl

Andreas Tille tille at debian.org
Tue Oct 10 17:07:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-openssl.

commit 8377d03bd416baf4cefab191b150547cca70bc94
Author: Andreas Tille <tille at debian.org>
Date:   Tue Mar 22 20:11:17 2016 +0000

    Inject r-cran-openssl
---
 debian/README.test         |  9 +++++++++
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 30 ++++++++++++++++++++++++++++++
 debian/copyright           | 32 ++++++++++++++++++++++++++++++++
 debian/docs                |  3 +++
 debian/rules               |  8 ++++++++
 debian/source/format       |  1 +
 debian/tests/control       |  3 +++
 debian/tests/run-unit-test | 12 ++++++++++++
 debian/watch               |  3 +++
 11 files changed, 107 insertions(+)

diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..8d70ca3
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,9 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+cd tests
+LC_ALL=C R --no-save < testthat.R
+
+in order to confirm its integrity.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..41fd5aa
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-openssl (0.9.2-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #<bug>)
+
+ -- Andreas Tille <tille at debian.org>  Tue, 22 Mar 2016 12:05:59 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..87ed3e6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: r-cran-openssl
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: gnu-r
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               cdbs,
+               r-base-dev,
+               libssl-dev
+Standards-Version: 3.9.7
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-openssl/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-openssl/trunk/
+Homepage: https://cran.r-project.org/web/packages/openssl/
+
+Package: r-cran-openssl
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         ${R:Depends}
+Description: GNU R toolkit for encryption, signatures and certificates based on OpenSSL
+ Bindings to OpenSSL libssl and libcrypto, plus custom SSH pubkey
+ parsers. Supports RSA, DSA and NIST curves P-256, P-384 and P-521.
+ Cryptographic signatures can either be created and verified manually or
+ via x509 certificates. AES block cipher is used in CBC mode for
+ symmetric encryption; RSA for asymmetric (public key) encryption. High-
+ level envelope functions combine RSA and AES for encrypting arbitrary
+ sized data. Other utilities include key generators, hash functions (md5,
+ sha1, sha256, etc), base64 encoder, a secure random number generator,
+ and 'bignum' math methods for manually performing crypto calculations on
+ large multibyte integers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..41286bc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Jeroen Ooms <jeroen.ooms at stat.ucla.edu>
+Source: https://cran.r-project.org/web/packages/curl/
+
+Files: *
+Copyright: 2013-2016 Jeroen Ooms <jeroen.ooms at stat.ucla.edu>,
+                     Oliver Keyes
+License: MIT
+
+Files: debian/*
+Copyright: 2016 Andreas Tille <tille at debian.org>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..960011c
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+tests
+debian/README.test
+debian/tests/run-unit-test
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d3d7a1f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+include /usr/share/R/debian/r-cran.mk
+
+install/$(package)::
+	rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b044b0c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..f1031e6
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+oname=openssl
+pkg=r-cran-`echo $oname | tr [A-Z] [a-z]`
+
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+LC_ALL=C R --no-save < testthat.R
+rm -fr $ADTTMP/*
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..0346789
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://cran.r-project.org/src/contrib/openssl_([-0-9\.]*).tar.gz
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-openssl.git



More information about the debian-med-commit mailing list