Skip to content

Commit

Permalink
package: add missing LICENSE and LICENSE_FILES to packages
Browse files Browse the repository at this point in the history
For some reason, the `make license-info` target complained klinfix
needed a hash file, but not the other local repos.  Issue #67 tracks
adding license-info to releases, which will need some looking into,
for now this fixes the most glaring packaging oversights.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit authored and rical committed Jul 4, 2023
1 parent d2f83ef commit 6befbf6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package/confd/confd.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ CONFD_VERSION = 1.0
CONFD_LICENSE = BSD-3-Clause
CONFD_SITE_METHOD = local
CONFD_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/confd
CONFD_LICENSE = BSD-3
CONFD_LICENSE_FILES = LICENSE
CONFD_DEPENDENCIES = augeas jansson libite sysrepo
CONFD_AUTORECONF = YES

Expand Down
1 change: 1 addition & 0 deletions package/factory/factory.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
################################################################################
FACTORY_VERSION = 1.0
FACTORY_LICENSE = MIT
FACTORY_LICENSE_FILES = LICENSE
FACTORY_SITE_METHOD = local
FACTORY_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/factory

Expand Down
2 changes: 2 additions & 0 deletions package/klinfix/klinfix.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Locally calculated
sha256 9d9d33b873917ca5d0bdcc47a36d2fd385971ab0c045d1472fcadf95ee5bcf5b LICENSE
1 change: 1 addition & 0 deletions package/klinfix/klinfix.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

KLINFIX_VERSION = 1.0
KLINFIX_LICENSE = BSD-3-Clause
KLINFIX_LICENSE_FILES = LICENSE
KLINFIX_SITE_METHOD = local
KLINFIX_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/klinfix
KLINFIX_DEPENDENCIES = klish-plugin-sysrepo
Expand Down
3 changes: 2 additions & 1 deletion package/net/net.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
################################################################################

NET_VERSION = 1.0
NET_LICENSE = ISC
NET_LICENSE = MIT
NET_LICENSE_FILES = LICENSE
NET_SITE_METHOD = local
NET_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/net
NET_DEPENDENCIES = libite
Expand Down

0 comments on commit 6befbf6

Please sign in to comment.