[Pkg-javascript-commits] [node-kerberos] 02/02: Imported Debian patch 0.0.14-1
Christopher Hoskin
christopher.hoskin at gmail.com
Mon Sep 14 21:33:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
grinorcole-guest pushed a commit to branch master
in repository node-kerberos.
commit 392d3704827e1a31b7c75463c35ee2c9467e2832
Author: Christopher Hoskin <christopher.hoskin at gmail.com>
Date: Mon Sep 14 21:47:41 2015 +0100
Imported Debian patch 0.0.14-1
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 25 +++++++++++++++++++++++++
debian/copyright | 33 +++++++++++++++++++++++++++++++++
debian/docs | 1 +
debian/install | 4 ++++
debian/patches/debian.patch | 30 ++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 42 ++++++++++++++++++++++++++++++++++++++++++
debian/source/format | 1 +
debian/tests/control | 2 ++
debian/tests/require | 3 +++
debian/watch | 3 +++
13 files changed, 151 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1a7556c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-kerberos (0.0.14-1) unstable; urgency=low
+
+ * Initial release (Closes: #798183)
+
+ -- Christopher Hoskin <christopher.hoskin at gmail.com> Mon, 14 Sep 2015 21:47:41 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e3fcf52
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: node-kerberos
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Christopher Hoskin <christopher.hoskin at gmail.com>
+Build-Depends:
+ debhelper (>= 8)
+ , dh-buildinfo
+ , nodejs,
+ node-gyp, node-nan, libkrb5-dev
+Standards-Version: 3.9.6
+Homepage: https://github.com/christkv/kerberos
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-kerberos.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-kerberos.git
+XS-Testsuite: autopkgtest
+
+Package: node-kerberos
+Architecture: any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends}
+ , nodejs
+ , node-nan (>= 2.0)
+Description: Kerberos library for Node.js
+ Kerberos library for Node.js, an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c50e86e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: kerberos
+Upstream-Contact: https://github.com/christkv/kerberos/issues
+Source: https://github.com/christkv/kerberos
+
+Files: *
+Copyright: 2015, Christian Amor Kvalheim
+License: Apache-2.0
+
+Files: lib/kerberosgss.c lib/win32/base64.h lib/win32/base64.c lib/base64.h lib/base64.c lib/kerberosgss.h
+Copyright: 2006-2010, Apple Inc.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015 Christopher Hoskin <christopher.hoskin at gmail.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..7e14670
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,4 @@
+package.json usr/lib/nodejs/kerberos/
+lib usr/lib/nodejs/kerberos/
+index.js usr/lib/nodejs/kerberos/
+build/Release/kerberos.node usr/lib/nodejs/kerberos/lib/
diff --git a/debian/patches/debian.patch b/debian/patches/debian.patch
new file mode 100644
index 0000000..414008a
--- /dev/null
+++ b/debian/patches/debian.patch
@@ -0,0 +1,30 @@
+Description: Modifiy file and path names for Debian
+Author: Christopher Hoskin <christopher.hoskin at gmail.com>
+Forwarded: not-needed
+Last-Update: 2015-09-14
+--- a/binding.gyp
++++ b/binding.gyp
+@@ -4,7 +4,7 @@
+ 'target_name': 'kerberos',
+ 'cflags!': [ '-fno-exceptions' ],
+ 'cflags_cc!': [ '-fno-exceptions' ],
+- 'include_dirs': [ '<!(node -e "require(\'nan\')")', '/usr/include/mit-krb5' ],
++ 'include_dirs': [ '<!(nodejs -e "require(\'nan\')")', '/usr/include/mit-krb5' ],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'sources': [ 'lib/kerberos.cc', 'lib/worker.cc', 'lib/kerberosgss.c', 'lib/base64.c', 'lib/kerberos_context.cc' ],
+@@ -43,4 +43,4 @@
+ ]
+ }
+ ]
+-}
+\ No newline at end of file
++}
+--- a/lib/kerberos.js
++++ b/lib/kerberos.js
+@@ -1,4 +1,4 @@
+-var kerberos = require('../build/Release/kerberos')
++var kerberos = require('kerberos')
+ , KerberosNative = kerberos.Kerberos;
+
+ var Kerberos = function() {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3893360
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..eb277dd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+%:
+ dh $@
+
+override_dh_clean:
+ node-gyp clean
+ dh_clean
+
+
+override_dh_auto_configure:
+ node-gyp configure
+
+override_dh_auto_build:
+ node-gyp build
+
+override_dh_install:
+ dh_install
+ chmod 644 $(CURDIR)/debian/node-kerberos/usr/lib/nodejs/kerberos/lib/kerberos.node
+
+override_dh_shlibdeps:
+ dpkg-shlibdeps \
+ -T$(CURDIR)/debian/node-kerberos.substvars \
+ $(CURDIR)/debian/node-kerberos/usr/lib/nodejs/kerberos/lib/kerberos.node
+
+override_dh_strip:
+ strip \
+ --remove-section=.comment \
+ --remove-section=.note \
+ --strip-unneeded \
+ $(CURDIR)/debian/node-kerberos/usr/lib/nodejs/kerberos/lib/kerberos.node
+
+#override_dh_auto_test:
+
+
+
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..e7259b2
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-kerberos
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..010e8ec
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('kerberos');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a7efcec
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/V?(\d\S*)\.tar\.gz/kerberos-$1\.tar\.gz/ \
+ https://github.com/christkv/kerberos/tags .*/V?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-kerberos.git
More information about the Pkg-javascript-commits
mailing list