Skip to content

Commit

Permalink
Fix Debian package lint warnings (#513)
Browse files Browse the repository at this point in the history
* debian package: fix lint warnings

Unknown section security.
Package description line is longer than 80 chars.
Images and licenses have executable perm.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>

* deb and rpm: remove /lib/appbundler-1.0ea.jar from the package

The appbundler is an Ant task and doesn't have any effect in the runtime.
So we should remove it from the built package.
This is the only lib in the /lib dir so let's exclude it fully

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>

---------

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
  • Loading branch information
stokito authored Sep 17, 2024
1 parent 7e9f089 commit 2084925
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions kse/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,10 @@ ospackage {

url "${website}"
summary "Multipurpose keystore and certificate tool"
packageGroup 'Security'
packageDescription 'KeyStore Explorer is a user friendly GUI application for creating, managing and examining keystores, keys, certificates, certificate requests, certificate revocation lists and more.'
packageGroup 'utils'
packageDescription 'KeyStore Explorer is a user friendly GUI application for creating,\n' +
'managing and examining keystores, keys, certificates, certificate requests,\n' +
'certificate revocation lists and more.'
license 'GPLv3+'
packager ''
vendor "${vendor}"
Expand All @@ -479,13 +481,11 @@ ospackage {
from(configurations.runtimeClasspath.files) {
into 'lib'
}
from('lib') {
into 'lib'
}
from(licensesDir) {
include '**/*.txt'
into 'licenses'
fileType LICENSE
fileMode 0644
}
from(iconsDir) {
include '**/kse_*.png'
Expand All @@ -509,6 +509,7 @@ ospackage {
link('/usr/share/applications/kse.desktop', '/opt/kse/kse.desktop', 0644)
for (size in [16, 32, 48, 128, 256, 512]) {
link("/usr/share/icons/hicolor/${size}x${size}/apps/kse.png", "/opt/kse/icons/kse_${size}.png", 0644)
fileMode 0644
}
}

Expand Down

0 comments on commit 2084925

Please sign in to comment.