[Pkg-javascript-commits] [node-sqlite3] 05/06: Packaging updates

László Böszörményi gcs at moszumanska.debian.org
Sun Apr 24 08:28:18 UTC 2016


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

gcs pushed a commit to branch master
in repository node-sqlite3.

commit 1f2e6aa4a06577c477943ca5172b68a1dea6959a
Author: Laszlo Boszormenyi (GCS) <gcs at debian.org>
Date:   Sun Apr 24 08:22:44 2016 +0000

    Packaging updates
---
 debian/changelog                          |  1 +
 debian/copyright                          |  4 ++--
 debian/install                            |  2 +-
 debian/patches/correct_require_path.patch | 31 +++++++++++++++++++++++++++++++
 debian/patches/series                     |  1 +
 debian/rules                              |  1 -
 6 files changed, 36 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7a6f37f..8bbf522 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ node-sqlite3 (2.1.19+ds1-1) unstable; urgency=low
 
   * New upstream release.
   * Update Standards-Version to 3.9.5 .
+  * Fix minor packaging issues.
 
  -- Laszlo Boszormenyi (GCS) <gcs at debian.org>  Thu, 05 Dec 2013 09:21:48 +0000
 
diff --git a/debian/copyright b/debian/copyright
index 35975b9..66dba41 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -9,8 +9,8 @@ Copyright: © 2011-2012, David Paleino <dapal at debian.org>
 License: GPL-2+
 
 License: BSD-3-clause
- Redistribution and use in source and binary forms, with or without modification,
- are permitted provided that the following conditions are met:
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
      * Redistributions of source code must retain the above copyright notice,
        this list of conditions and the following disclaimer.
      * Redistributions in binary form must reproduce the above copyright notice,
diff --git a/debian/install b/debian/install
index ae5b9c5..bbcb27a 100644
--- a/debian/install
+++ b/debian/install
@@ -1,4 +1,4 @@
 lib usr/lib/nodejs/sqlite3
 package.json usr/lib/nodejs/sqlite3
 sqlite3.js usr/lib/nodejs/sqlite3
-
+build/Release/node_sqlite3.node usr/lib/nodejs/sqlite3/lib
diff --git a/debian/patches/correct_require_path.patch b/debian/patches/correct_require_path.patch
new file mode 100644
index 0000000..219bde6
--- /dev/null
+++ b/debian/patches/correct_require_path.patch
@@ -0,0 +1,31 @@
+Description: correct node_sqlite3.node path
+ Packaging ship only the release version of node_sqlite3.node in the same lib
+ directory like the other parts of node-sqlite3 .
+Author: Laszlo Boszormenyi (GCS) <gcs at debian.org>
+Last-Update: 2013-12-05
+
+---
+
+--- node-sqlite3-2.1.19+ds1.orig/lib/binary_name.js
++++ node-sqlite3-2.1.19+ds1/lib/binary_name.js
+@@ -35,10 +35,13 @@ Binary.prototype.getBasePath = function(
+ }
+ 
+ Binary.prototype.getRequirePath = function(configuration) {
++    return './' + this.filename();
++/*
+     return './' + path.join('binding',
+         configuration || this.configuration,
+         this.getBasePath(),
+         this.filename());
++*/
+ }
+ 
+ Binary.prototype.getModuleAbi = function() {
+@@ -56,4 +59,4 @@ Binary.prototype.getRemotePath = functio
+     return this.uri+this.configuration+'/'+this.getArchivePath();
+ }
+ 
+-module.exports.Binary = Binary;
+\ No newline at end of file
++module.exports.Binary = Binary;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d4123f0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+correct_require_path.patch
diff --git a/debian/rules b/debian/rules
index cc6c220..b98a0c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -57,4 +57,3 @@ get-orig-source:
 	rm -rf $(TARDIR)/
 	gzip -9 $(TARNAME)
 	mv $(TARNAME).gz ../tarballs/
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-sqlite3.git



More information about the Pkg-javascript-commits mailing list