diff --git a/pom.xml b/pom.xml
index 4422cdd8c7c..ed2bae8bba6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -503,7 +503,7 @@
-->
jdeb
org.vafer
- 0.9
+ 1.0.1
${project.build.directory}/releases/${project.artifactId}-${project.version}.deb
@@ -518,6 +518,7 @@
${project.basedir}/
*.txt, *.textile
+ LICENSE.txt, .DS_Store
directory
perm
@@ -606,6 +607,22 @@
root
+
+ ${project.basedir}/src/deb/lintian
+ directory
+ .DS_Store
+
+ perm
+ /usr/share/lintian/overrides
+ root
+ root
+
+
+
+ ${project.basedir}/src/deb/copyright
+ /usr/share/doc/elasticsearch/copyright
+ file
+
diff --git a/src/deb/copyright b/src/deb/copyright
new file mode 100644
index 00000000000..ac4d7b07d53
--- /dev/null
+++ b/src/deb/copyright
@@ -0,0 +1,17 @@
+Copyright 2013 Elasticsearch
+
+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/src/deb/init.d/elasticsearch b/src/deb/init.d/elasticsearch
index aff3f21c169..7c292114bbc 100644
--- a/src/deb/init.d/elasticsearch
+++ b/src/deb/init.d/elasticsearch
@@ -11,8 +11,8 @@
#
### BEGIN INIT INFO
# Provides: elasticsearch
-# Required-Start: $network $named
-# Required-Stop: $network $named
+# Required-Start: $network $remote_fs $named
+# Required-Stop: $network $remote_fs $named
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts elasticsearch
diff --git a/src/deb/lintian/elasticsearch b/src/deb/lintian/elasticsearch
new file mode 100644
index 00000000000..0e66c778a3e
--- /dev/null
+++ b/src/deb/lintian/elasticsearch
@@ -0,0 +1,8 @@
+# Ignore arch dependent warnings, we chose the right libs on start
+elasticsearch binary: arch-independent-package-contains-binary-or-object
+# Not stripping external libraries
+elasticsearch binary: unstripped-binary-or-object
+# Ignore arch dependent warnings, we chose the right libs on start
+elasticsearch binary: arch-dependent-file-in-usr-share
+# Please check our changelog at http://www.elasticsearch.org/downloads/
+elasticsearch binary: changelog-file-missing-in-native-package