summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/package-ipkg.mk4
-rw-r--r--package/busybox/Makefile3
-rw-r--r--package/fuse/Makefile3
-rw-r--r--package/kernel/Makefile3
-rw-r--r--package/libs/gettext/Makefile3
-rw-r--r--package/libs/gettext/src/LICENSE7
-rw-r--r--package/libs/libbsd/Makefile3
-rw-r--r--package/libs/libiconv/Makefile3
-rw-r--r--package/libs/libiconv/src/LICENSE6
-rw-r--r--package/libs/libjson-c/Makefile3
-rw-r--r--package/libs/libnl-tiny/Makefile3
-rw-r--r--package/libs/libreadline/Makefile3
-rw-r--r--package/libs/librpc/Makefile3
-rw-r--r--package/libs/libtool/Makefile3
-rw-r--r--package/libs/libubox/Makefile3
-rw-r--r--package/libs/ncurses/Makefile3
-rw-r--r--package/libs/ocf-crypto-headers/Makefile3
-rw-r--r--package/libs/openssl/Makefile2
-rw-r--r--package/libs/sysfsutils/Makefile3
-rw-r--r--package/libs/zlib/Makefile3
-rw-r--r--package/lua/Makefile3
-rw-r--r--package/mtd/Makefile3
-rw-r--r--package/network/config/netifd/Makefile3
-rw-r--r--package/network/services/dnsmasq/Makefile3
-rw-r--r--package/network/services/dropbear/Makefile3
-rw-r--r--package/network/services/samba36/Makefile3
-rw-r--r--package/opkg/Makefile3
-rw-r--r--package/ubus/Makefile3
-rw-r--r--package/uci/Makefile3
-rw-r--r--package/util-linux/Makefile3
30 files changed, 97 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 665aac5d6..4ee0a96ad 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -149,6 +149,10 @@ ifeq ($(DUMP),)
echo "Depends: $$$$DEPENDS"; \
echo "Provides: $(PROVIDES)"; \
echo "Source: $(SOURCE)"; \
+ echo "SourceFile: $(PKG_SOURCE)"; \
+ echo "SourceURL: $(PKG_SOURCE_URL)"; \
+ echo "License: $(PKG_LICENSE)"; \
+ echo "LicenseFiles: $(PKG_LICENSE_FILES)"; \
echo "Section: $(SECTION)"; \
echo "Status: unknown $(if $(filter hold,$(PKG_FLAGS)),hold,ok) not-installed"; \
echo "Essential: $(if $(filter essential,$(PKG_FLAGS)),yes,no)"; \
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 9bfea59e6..0450d897e 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -20,6 +20,9 @@ PKG_MD5SUM:=9c0cae5a0379228e7b55e5b29528df8e
PKG_BUILD_DEPENDS:=BUSYBOX_CONFIG_FEATURE_HAVE_RPC:librpc
PKG_BUILD_PARALLEL:=1
+PKG_LICENSE:=GPLv2 BSD-4c
+PKG_LICENSE_FILES:=LICENSE archival/libarchive/bz/LICENSE
+
include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),)
diff --git a/package/fuse/Makefile b/package/fuse/Makefile
index 9c5acc7cd..0620b6cf9 100644
--- a/package/fuse/Makefile
+++ b/package/fuse/Makefile
@@ -16,6 +16,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=894ee11674f89a915ae87524aed55bc4
+PKG_LICENSE:=LGPLv2.1 GPLv2
+PKG_LICENSE_FILES:=COPYING.LIB COPYING
+
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index 805081739..d44b5a776 100644
--- a/package/kernel/Makefile
+++ b/package/kernel/Makefile
@@ -14,6 +14,9 @@ PKG_FLAGS:=hold
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
SCAN_DEPS=modules/*.mk $(TOPDIR)/target/linux/*/modules.mk
+PKG_LICENSE:=GPLv2
+PKG_LICENSE_FILES:=
+
include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),)
-include $(LINUX_DIR)/.config
diff --git a/package/libs/gettext/Makefile b/package/libs/gettext/Makefile
index c2f4e756f..1ee785eec 100644
--- a/package/libs/gettext/Makefile
+++ b/package/libs/gettext/Makefile
@@ -10,6 +10,9 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gettext
PKG_RELEASE:=2
+PKG_LICENSE:=FREE
+PKG_LICENSE_FILES:=LICENSE
+
PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
include $(INCLUDE_DIR)/package.mk
diff --git a/package/libs/gettext/src/LICENSE b/package/libs/gettext/src/LICENSE
new file mode 100644
index 000000000..d1a59b05e
--- /dev/null
+++ b/package/libs/gettext/src/LICENSE
@@ -0,0 +1,7 @@
+Each source file contains the following message:
+
+Copyright (C) 1995-2010 Free Software Foundation, Inc.
+This file is free software; the Free Software Foundation
+gives unlimited permission to copy and/or distribute it,
+with or without modifications, as long as this notice is preserved.
+
diff --git a/package/libs/libbsd/Makefile b/package/libs/libbsd/Makefile
index 4fef04a23..fe95bc992 100644
--- a/package/libs/libbsd/Makefile
+++ b/package/libs/libbsd/Makefile
@@ -8,6 +8,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://libbsd.freedesktop.org/releases
#PKG_MD5SUM:=d0870f2de55d59c1c8419f36e8fac150
+PKG_LICENSE:=BSD-4c
+PKG_LICENSE_FILES:=COPYING
+
include $(INCLUDE_DIR)/package.mk
PKG_INSTALL:=1
diff --git a/package/libs/libiconv/Makefile b/package/libs/libiconv/Makefile
index 232b273f4..66d1cfb3b 100644
--- a/package/libs/libiconv/Makefile
+++ b/package/libs/libiconv/Makefile
@@ -13,6 +13,9 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libiconv
PKG_RELEASE:=7
+PKG_LICENSE:=FREE
+PKG_LICENSE_FILES:=LICENSE
+
PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
include $(INCLUDE_DIR)/package.mk
diff --git a/package/libs/libiconv/src/LICENSE b/package/libs/libiconv/src/LICENSE
new file mode 100644
index 000000000..b59e7be47
--- /dev/null
+++ b/package/libs/libiconv/src/LICENSE
@@ -0,0 +1,6 @@
+The source file iconv.m4 contains the following message
+
+Copyright (C) 2000-2002, 2007-2010 Free Software Foundation, Inc.
+This file is free software; the Free Software Foundation
+gives unlimited permission to copy and/or distribute it,
+with or without modifications, as long as this notice is preserved.
diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile
index 0e536007e..5dd83f2c0 100644
--- a/package/libs/libjson-c/Makefile
+++ b/package/libs/libjson-c/Makefile
@@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://oss.metaparadigm.com/json-c/
PKG_MD5SUM:=3a13d264528dcbaf3931b0cede24abae
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=COPYING
+
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
diff --git a/package/libs/libnl-tiny/Makefile b/package/libs/libnl-tiny/Makefile
index 49a3cc3dc..9639ac315 100644
--- a/package/libs/libnl-tiny/Makefile
+++ b/package/libs/libnl-tiny/Makefile
@@ -11,6 +11,9 @@ PKG_NAME:=libnl-tiny
PKG_VERSION:=0.1
PKG_RELEASE:=3
+PKG_LICENSE:=GPLv2 LGPLv2.1
+PKG_LICENSE_FILES:=
+
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
include $(INCLUDE_DIR)/package.mk
diff --git a/package/libs/libreadline/Makefile b/package/libs/libreadline/Makefile
index 90219e55b..320d2e2df 100644
--- a/package/libs/libreadline/Makefile
+++ b/package/libs/libreadline/Makefile
@@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/readline
PKG_MD5SUM:=e39331f32ad14009b9ff49cc10c5e751
+PKG_LICENSE:=GPLv2
+PKG_LICENSE_FILES:=COPYING
+
include $(INCLUDE_DIR)/package.mk
define Package/libreadline
diff --git a/package/libs/librpc/Makefile b/package/libs/librpc/Makefile
index b4092438f..21d81f0db 100644
--- a/package/libs/librpc/Makefile
+++ b/package/libs/librpc/Makefile
@@ -11,6 +11,9 @@ PKG_SOURCE_VERSION:=0a2179bbc0844928f2a0ec01dba93d9b5d6d41a7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
CMAKE_INSTALL:=1
+PKG_LICENSE:=GPLv2 LGPLv2.1
+PKG_LICENSE_FILES:=
+
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
include $(INCLUDE_DIR)/package.mk
diff --git a/package/libs/libtool/Makefile b/package/libs/libtool/Makefile
index b33eda14a..df18c1d76 100644
--- a/package/libs/libtool/Makefile
+++ b/package/libs/libtool/Makefile
@@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/libtool
PKG_MD5SUM:=b32b04148ecdd7344abc6fe8bd1bb021
+PKG_LICENSE:=GPLv2
+PKG_LICENSE_FILES:=COPYING
+
PKG_BUILD_PARALLEL:=0
include $(INCLUDE_DIR)/package.mk
diff --git a/package/libs/libubox/Makefile b/package/libs/libubox/Makefile
index 39cfb3019..c98cefbf8 100644
--- a/package/libs/libubox/Makefile
+++ b/package/libs/libubox/Makefile
@@ -12,6 +12,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MIRROR_MD5SUM:=dfd44c10b4aeccbdab9ae22774fb02e3
CMAKE_INSTALL:=1
+PKG_LICENSE:=GPLv2
+PKG_LICENSE_FILES:=
+
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
include $(INCLUDE_DIR)/package.mk
diff --git a/package/libs/ncurses/Makefile b/package/libs/ncurses/Makefile
index 9c682aca8..0b88ab6fe 100644
--- a/package/libs/ncurses/Makefile
+++ b/package/libs/ncurses/Makefile
@@ -16,6 +16,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/ncurses
PKG_MD5SUM:=cce05daf61a64501ef6cd8da1f727ec6
+PKG_LICENSE:=FREE
+PKG_LICENSE_FILES:=README
+
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
diff --git a/package/libs/ocf-crypto-headers/Makefile b/package/libs/ocf-crypto-headers/Makefile
index fee2a3734..ba46ee796 100644
--- a/package/libs/ocf-crypto-headers/Makefile
+++ b/package/libs/ocf-crypto-headers/Makefile
@@ -10,6 +10,9 @@ PKG_NAME:=ocf-crypto-headers
PKG_VERSION:=20110720
PKG_RELEASE:=1
+PKG_LICENSE:=cryptodev.h
+PKG_LICENSE_FILES:=
+
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
index cfc3b3d92..7ee44408d 100644
--- a/package/libs/openssl/Makefile
+++ b/package/libs/openssl/Makefile
@@ -18,6 +18,8 @@ PKG_SOURCE_URL:=http://www.openssl.org/source/ \
ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/
PKG_MD5SUM:=ae412727c8c15b67880aef7bd2999b2e
+PKG_LICENSE:=SSLEAY OPENSSL
+PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=ocf-crypto-headers
PKG_CONFIG_DEPENDS:=CONFIG_OPENSSL_ENGINE_CRYPTO CONFIG_OPENSSL_ENGINE_DIGEST
diff --git a/package/libs/sysfsutils/Makefile b/package/libs/sysfsutils/Makefile
index 3c43bbc16..09bf528f0 100644
--- a/package/libs/sysfsutils/Makefile
+++ b/package/libs/sysfsutils/Makefile
@@ -16,6 +16,9 @@ PKG_SOURCE_URL:=@SF/linux-diag
PKG_MD5SUM:=14e7dcd0436d2f49aa403f67e1ef7ddc
PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
+PKG_LICENSE:=GPLv2 LGPLv2.1
+PKG_LICENSE_FILES:=COPYING cmd/GPL lib/LGPL
+
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
diff --git a/package/libs/zlib/Makefile b/package/libs/zlib/Makefile
index 18b8884cd..2abb3c4e7 100644
--- a/package/libs/zlib/Makefile
+++ b/package/libs/zlib/Makefile
@@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.zlib.net @SF/libpng
PKG_MD5SUM:=2ab442d169156f34c379c968f3f482dd
+PKG_LICENSE:=ZLIB
+PKG_LICENSE_FILES:=README
+
include $(INCLUDE_DIR)/package.mk
define Package/zlib
diff --git a/package/lua/Makefile b/package/lua/Makefile
index fca7747cd..e7e011a40 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -19,6 +19,9 @@ PKG_SOURCE_URL:=http://www.lua.org/ftp/ \
PKG_MD5SUM:=2e115fe26e435e33b0d5c022e4490567
PKG_BUILD_PARALLEL:=1
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=COPYRIGHT
+
HOST_PATCH_DIR := ./patches-host
include $(INCLUDE_DIR)/package.mk
diff --git a/package/mtd/Makefile b/package/mtd/Makefile
index ec487e520..c6b94ffdf 100644
--- a/package/mtd/Makefile
+++ b/package/mtd/Makefile
@@ -14,6 +14,9 @@ PKG_RELEASE:=20
PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME)
STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS)
+PKG_LICENSE:=GPLv2 GPLv2+
+PKG_LICENSE_FILES:=
+
include $(INCLUDE_DIR)/package.mk
define Package/mtd
diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile
index 2f8453c42..047993a96 100644
--- a/package/network/config/netifd/Makefile
+++ b/package/network/config/netifd/Makefile
@@ -13,6 +13,9 @@ PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
# PKG_MIRROR_MD5SUM:=
# CMAKE_INSTALL:=1
+PKG_LICENSE:=GPLv2
+PKG_LICENSE_FILES:=
+
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile
index 4ad0f3774..d92b00f99 100644
--- a/package/network/services/dnsmasq/Makefile
+++ b/package/network/services/dnsmasq/Makefile
@@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq
PKG_MD5SUM:=f47e5cb8f5bac6343f24b2dbe317ab40
+PKG_LICENSE:=GPLv2
+PKG_LICENSE_FILES:=COPYING
+
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL:=1
diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
index 63cf86e14..cd5b36825 100644
--- a/package/network/services/dropbear/Makefile
+++ b/package/network/services/dropbear/Makefile
@@ -17,6 +17,9 @@ PKG_SOURCE_URL:= \
http://www.mirrors.wiretapped.net/security/cryptography/apps/ssh/dropbear/
PKG_MD5SUM:=c627ffe09570fad7aa94d8eac2b9320c
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE libtomcrypt/LICENSE libtommath/LICENSE
+
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile
index d6b2b506e..981ac59d9 100644
--- a/package/network/services/samba36/Makefile
+++ b/package/network/services/samba36/Makefile
@@ -16,6 +16,9 @@ PKG_SOURCE_URL:=http://ftp.samba.org/pub/samba \
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=2f0c14547333c1b48fd4728b031e7040
+PKG_LICENSE:=GPLv3
+PKG_LICENSE_FILES:=COPYING
+
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
PKG_BUILD_PARALLEL:=1
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 4efd44a20..a41127ab2 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -21,6 +21,9 @@ PKG_SOURCE:=$(PKG_SOURCE_SUBDIR).tar.gz
PKG_FIXUP:=autoreconf
PKG_REMOVE_FILES = autogen.sh aclocal.m4
+PKG_LICENSE:=GPLv2
+PKG_LICENSE_FILES:=COPYING
+
PKG_BUILD_PARALLEL:=1
HOST_BUILD_PARALLEL:=1
PKG_INSTALL:=1
diff --git a/package/ubus/Makefile b/package/ubus/Makefile
index d8a57128d..12280e92f 100644
--- a/package/ubus/Makefile
+++ b/package/ubus/Makefile
@@ -12,6 +12,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MIRROR_MD5SUM:=cbca78919d44bcf0f8d1e09743131e6d
CMAKE_INSTALL:=1
+PKG_LICENSE:=LGPLv2.1
+PKG_LICENSE_FILES:=
+
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
include $(INCLUDE_DIR)/package.mk
diff --git a/package/uci/Makefile b/package/uci/Makefile
index 024dba9e3..39741a301 100644
--- a/package/uci/Makefile
+++ b/package/uci/Makefile
@@ -22,6 +22,9 @@ PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_SOURCE_PROTO:=git
PKG_MIRROR_MD5SUM:=0ee76d8f79cf99f5539fd090a4e65646
+PKG_LICENSE:=LGPLv2.1 GPLv2
+PKG_LICENSE_FILES:=
+
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
PKG_BUILD_PARALLEL:=0
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index 3a6446371..a8aed8d65 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.21
PKG_MD5SUM:=54ba880f1d66782c2287ee2c898520e9
+PKG_LICENSE:=GPLv2 LGPLv2.1 BSD-3c
+PKG_LICENSE_FILES:=COPYING getopt/COPYING libblkid/COPYING libmount/COPYING Documentation/licenses/COPYING.GPLv2 Documentation/licenses/COPYING.LGPLv2.1 libuuid/COPYING Documentation/licenses/COPYING.BSD-3
+
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS:=libncurses
PKG_FIXUP:=autoreconf