Making deb installable by being lintian compatible
According to #2515 the ubuntu software center does not allow to install debian packages which are not lintian compatible I worked on the package and made it lintian compatible by doing * Ignoring errors about arch dependent binaries as we will not split this package. The arch dependent libraries are used correctly. * Added a copyright file pointing to the apache license in debian Closes #2515 Closes #2320
This commit is contained in:
parent
962e3d58f7
commit
a5f9173e14
19
pom.xml
19
pom.xml
|
@ -503,7 +503,7 @@
|
||||||
-->
|
-->
|
||||||
<artifactId>jdeb</artifactId>
|
<artifactId>jdeb</artifactId>
|
||||||
<groupId>org.vafer</groupId>
|
<groupId>org.vafer</groupId>
|
||||||
<version>0.9</version>
|
<version>1.0.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<deb>${project.build.directory}/releases/${project.artifactId}-${project.version}.deb</deb>
|
<deb>${project.build.directory}/releases/${project.artifactId}-${project.version}.deb</deb>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -518,6 +518,7 @@
|
||||||
<data>
|
<data>
|
||||||
<src>${project.basedir}/</src>
|
<src>${project.basedir}/</src>
|
||||||
<includes>*.txt, *.textile</includes>
|
<includes>*.txt, *.textile</includes>
|
||||||
|
<excludes>LICENSE.txt, .DS_Store</excludes>
|
||||||
<type>directory</type>
|
<type>directory</type>
|
||||||
<mapper>
|
<mapper>
|
||||||
<type>perm</type>
|
<type>perm</type>
|
||||||
|
@ -606,6 +607,22 @@
|
||||||
<group>root</group>
|
<group>root</group>
|
||||||
</mapper>
|
</mapper>
|
||||||
</data>
|
</data>
|
||||||
|
<data>
|
||||||
|
<src>${project.basedir}/src/deb/lintian</src>
|
||||||
|
<type>directory</type>
|
||||||
|
<excludes>.DS_Store</excludes>
|
||||||
|
<mapper>
|
||||||
|
<type>perm</type>
|
||||||
|
<prefix>/usr/share/lintian/overrides</prefix>
|
||||||
|
<user>root</user>
|
||||||
|
<group>root</group>
|
||||||
|
</mapper>
|
||||||
|
</data>
|
||||||
|
<data>
|
||||||
|
<src>${project.basedir}/src/deb/copyright</src>
|
||||||
|
<dst>/usr/share/doc/elasticsearch/copyright</dst>
|
||||||
|
<type>file</type>
|
||||||
|
</data>
|
||||||
</dataSet>
|
</dataSet>
|
||||||
|
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
Copyright 2013 Elasticsearch <info@elasticsearch.org>
|
||||||
|
|
||||||
|
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".
|
|
@ -11,8 +11,8 @@
|
||||||
#
|
#
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: elasticsearch
|
# Provides: elasticsearch
|
||||||
# Required-Start: $network $named
|
# Required-Start: $network $remote_fs $named
|
||||||
# Required-Stop: $network $named
|
# Required-Stop: $network $remote_fs $named
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 2 3 4 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Short-Description: Starts elasticsearch
|
# Short-Description: Starts 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
|
Loading…
Reference in New Issue