Bring in boost-license, 1.0. Certified by OSI as an Open Source license.diff -r1.2 -r1.3 pkgsrc/devel/poco/Makefile.common
(schnoebe)
@@ -1,31 +1,31 @@ | @@ -1,31 +1,31 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.2 2011/02/06 06:08:07 schnoebe Exp $ | 1 | # $NetBSD: Makefile.common,v 1.3 2011/02/06 18:54:50 schnoebe Exp $ | |
2 | # | 2 | # | |
3 | # used by devel/poco/Makefile | 3 | # used by devel/poco/Makefile | |
4 | # used by databases/poco-data/Makefile | 4 | # used by databases/poco-data/Makefile | |
5 | # used by databases/poco-data-sqlite/Makefile | 5 | # used by databases/poco-data-sqlite/Makefile | |
6 | # used by databases/poco-data-mysql/Makefile | 6 | # used by databases/poco-data-mysql/Makefile | |
7 | # used by databases/poco-data-odbc/Makefile | 7 | # used by databases/poco-data-odbc/Makefile | |
8 | 8 | |||
9 | POCO_VERSION=1.4.0 | 9 | POCO_VERSION=1.4.0 | |
10 | 10 | |||
11 | DISTNAME= poco-${POCO_VERSION}-all | 11 | DISTNAME= poco-${POCO_VERSION}-all | |
12 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=poco/} | 12 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=poco/} | |
13 | 13 | |||
14 | MAINTAINER= pkgsrc-users@NetBSD.org | 14 | MAINTAINER= pkgsrc-users@NetBSD.org | |
15 | HOMEPAGE= http://www.pocoproject.org/ | 15 | HOMEPAGE= http://www.pocoproject.org/ | |
16 | 16 | |||
17 | PKG_DESTDIR_SUPPORT= user-destdir | 17 | PKG_DESTDIR_SUPPORT= user-destdir | |
18 | LICENSE= boost | 18 | LICENSE= boost-license | |
19 | 19 | |||
20 | PATCHDIR= ${.CURDIR}/../../devel/poco/patches | 20 | PATCHDIR= ${.CURDIR}/../../devel/poco/patches | |
21 | DISTINFO_FILE= ${.CURDIR}/../../devel/poco/distinfo | 21 | DISTINFO_FILE= ${.CURDIR}/../../devel/poco/distinfo | |
22 | 22 | |||
23 | HAS_CONFIGURE= yes | 23 | HAS_CONFIGURE= yes | |
24 | USE_LANGUAGES= c c++ | 24 | USE_LANGUAGES= c c++ | |
25 | USE_TOOLS+= gmake | 25 | USE_TOOLS+= gmake | |
26 | 26 | |||
27 | CONFIGURE_ARGS+= --prefix=${PREFIX} --omit=Data | 27 | CONFIGURE_ARGS+= --prefix=${PREFIX} --omit=Data | |
28 | # don't use the bundled versions of SQLite, zlib, etc.. | 28 | # don't use the bundled versions of SQLite, zlib, etc.. | |
29 | CONFIGURE_ARGS+= --unbundled | 29 | CONFIGURE_ARGS+= --unbundled | |
30 | 30 | |||
31 | .include "../../mk/bsd.prefs.mk" | 31 | .include "../../mk/bsd.prefs.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: license.mk,v 1.37 2011/01/16 13:13:14 wiz Exp $ | 1 | # $NetBSD: license.mk,v 1.38 2011/02/06 18:54:49 schnoebe Exp $ | |
2 | # | 2 | # | |
3 | # This file handles everything about the LICENSE variable. It is | 3 | # This file handles everything about the LICENSE variable. It is | |
4 | # included automatically by bsd.pkg.mk. | 4 | # included automatically by bsd.pkg.mk. | |
5 | # | 5 | # | |
6 | # XXX There should be one place to set the default list and for users | 6 | # XXX There should be one place to set the default list and for users | |
7 | # to set the ACCEPTABLE_LICENSES list, used by both source builds and | 7 | # to set the ACCEPTABLE_LICENSES list, used by both source builds and | |
8 | # binary installs# | 8 | # binary installs# | |
9 | # | 9 | # | |
10 | # XXX: Some of this content arguably belongs in the pkgsrc guide | 10 | # XXX: Some of this content arguably belongs in the pkgsrc guide | |
11 | # instead. | 11 | # instead. | |
12 | # | 12 | # | |
13 | # === User-settable variables === | 13 | # === User-settable variables === | |
14 | # | 14 | # | |
@@ -104,27 +104,28 @@ DEFAULT_ACCEPTABLE_LICENSES= \ | @@ -104,27 +104,28 @@ DEFAULT_ACCEPTABLE_LICENSES= \ | |||
104 | gnu-gpl-v3 gnu-lgpl-v3 \ | 104 | gnu-gpl-v3 gnu-lgpl-v3 \ | |
105 | original-bsd modified-bsd 2-clause-bsd \ | 105 | original-bsd modified-bsd 2-clause-bsd \ | |
106 | x11 mit miros \ | 106 | x11 mit miros \ | |
107 | apache-1.1 apache-2.0 \ | 107 | apache-1.1 apache-2.0 \ | |
108 | artistic artistic-2.0 \ | 108 | artistic artistic-2.0 \ | |
109 | cddl-1.0 \ | 109 | cddl-1.0 \ | |
110 | cpl-1.0 \ | 110 | cpl-1.0 \ | |
111 | open-font-license \ | 111 | open-font-license \ | |
112 | mpl-1.0 mpl-1.1 \ | 112 | mpl-1.0 mpl-1.1 \ | |
113 | png-license \ | 113 | png-license \ | |
114 | zpl \ | 114 | zpl \ | |
115 | python-software-foundation \ | 115 | python-software-foundation \ | |
116 | ipafont \ | 116 | ipafont \ | |
117 | isc | 117 | isc \ | |
118 | boost-license | |||
118 | 119 | |||
119 | # not approved by OSI, derived from BSD | 120 | # not approved by OSI, derived from BSD | |
120 | DEFAULT_ACCEPTABLE_LICENSES+= info-zip | 121 | DEFAULT_ACCEPTABLE_LICENSES+= info-zip | |
121 | 122 | |||
122 | ##### Variant spellings | 123 | ##### Variant spellings | |
123 | 124 | |||
124 | .if defined(ACCEPTABLE_LICENCES) && !defined(ACCEPTABLE_LICENSES) | 125 | .if defined(ACCEPTABLE_LICENCES) && !defined(ACCEPTABLE_LICENSES) | |
125 | ACCEPTABLE_LICENSES= ${ACCEPTABLE_LICENCES} | 126 | ACCEPTABLE_LICENSES= ${ACCEPTABLE_LICENCES} | |
126 | .endif | 127 | .endif | |
127 | 128 | |||
128 | .if !defined(LICENSE) | 129 | .if !defined(LICENSE) | |
129 | . if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" | 130 | . if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" | |
130 | WARNINGS+= "[license.mk] Every package should define a LICENSE." | 131 | WARNINGS+= "[license.mk] Every package should define a LICENSE." |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | /* $NetBSD: license.c,v 1.15 2011/01/13 13:25:56 wiz Exp $ */ | 1 | /* $NetBSD: license.c,v 1.16 2011/02/06 18:54:50 schnoebe Exp $ */ | |
2 | 2 | |||
3 | /*- | 3 | /*- | |
4 | * Copyright (c) 2009 Joerg Sonnenberger <joerg@NetBSD.org>. | 4 | * Copyright (c) 2009 Joerg Sonnenberger <joerg@NetBSD.org>. | |
5 | * All rights reserved. | 5 | * All rights reserved. | |
6 | * | 6 | * | |
7 | * Redistribution and use in source and binary forms, with or without | 7 | * Redistribution and use in source and binary forms, with or without | |
8 | * modification, are permitted provided that the following conditions | 8 | * modification, are permitted provided that the following conditions | |
9 | * are met: | 9 | * are met: | |
10 | * | 10 | * | |
11 | * 1. Redistributions of source code must retain the above copyright | 11 | * 1. Redistributions of source code must retain the above copyright | |
12 | * notice, this list of conditions and the following disclaimer. | 12 | * notice, this list of conditions and the following disclaimer. | |
13 | * 2. Redistributions in binary form must reproduce the above copyright | 13 | * 2. Redistributions in binary form must reproduce the above copyright | |
14 | * notice, this list of conditions and the following disclaimer in | 14 | * notice, this list of conditions and the following disclaimer in | |
@@ -53,27 +53,28 @@ const char *default_acceptable_licenses | @@ -53,27 +53,28 @@ const char *default_acceptable_licenses | |||
53 | "original-bsd modified-bsd 2-clause-bsd " | 53 | "original-bsd modified-bsd 2-clause-bsd " | |
54 | "x11 mit miros " | 54 | "x11 mit miros " | |
55 | "apache-1.1 apache-2.0 " | 55 | "apache-1.1 apache-2.0 " | |
56 | "artistic artistic-2.0 " | 56 | "artistic artistic-2.0 " | |
57 | "cddl-1.0 " | 57 | "cddl-1.0 " | |
58 | "cpl-1.0 " | 58 | "cpl-1.0 " | |
59 | "open-font-license " | 59 | "open-font-license " | |
60 | "mpl-1.0 mpl-1.1 " | 60 | "mpl-1.0 mpl-1.1 " | |
61 | "png-license " | 61 | "png-license " | |
62 | "zpl " | 62 | "zpl " | |
63 | "python-software-foundation " | 63 | "python-software-foundation " | |
64 | "ipafont " | 64 | "ipafont " | |
65 | "isc " | 65 | "isc " | |
66 | "info-zip"; | 66 | "info-zip " | |
67 | "boost-license"; | |||
67 | 68 | |||
68 | #ifdef DEBUG | 69 | #ifdef DEBUG | |
69 | static size_t hash_collisions; | 70 | static size_t hash_collisions; | |
70 | #endif | 71 | #endif | |
71 | 72 | |||
72 | static char **license_hash[HASH_SIZE]; | 73 | static char **license_hash[HASH_SIZE]; | |
73 | static const char license_spaces[] = " \t\n"; | 74 | static const char license_spaces[] = " \t\n"; | |
74 | static const char license_chars[] = | 75 | static const char license_chars[] = | |
75 | "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-."; | 76 | "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-."; | |
76 | 77 | |||
77 | static size_t | 78 | static size_t | |
78 | hash_license(const char *license, size_t len) | 79 | hash_license(const char *license, size_t len) | |
79 | { | 80 | { |