~ubuntu-branches/ubuntu/lucid/seamonkey/lucid-security

« back to all changes in this revision

Viewing changes to security/nss-fips/lib/freebl/manifest.mn

  • Committer: Bazaar Package Importer
  • Author(s): Fabien Tassin
  • Date: 2008-07-29 21:29:02 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080729212902-spm9kpvchp9udwbw
Tags: 1.1.11+nobinonly-0ubuntu1
* New security upstream release: 1.1.11 (LP: #218534)
  Fixes USN-602-1, USN-619-1, USN-623-1 and USN-629-1
* Refresh diverged patch:
  - update debian/patches/80_security_build.patch
* Fix FTBFS with missing -lfontconfig
  - add debian/patches/11_fix_ftbfs_with_fontconfig.patch
  - update debian/patches/series
* Build with default gcc (hardy: 4.2, intrepid: 4.3)
  - update debian/rules
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
2
# ***** BEGIN LICENSE BLOCK *****
 
3
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
 
4
#
 
5
# The contents of this file are subject to the Mozilla Public License Version
 
6
# 1.1 (the "License"); you may not use this file except in compliance with
 
7
# the License. You may obtain a copy of the License at
 
8
# http://www.mozilla.org/MPL/
 
9
#
 
10
# Software distributed under the License is distributed on an "AS IS" basis,
 
11
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 
12
# for the specific language governing rights and limitations under the
 
13
# License.
 
14
#
 
15
# The Original Code is the Netscape security libraries.
 
16
#
 
17
# The Initial Developer of the Original Code is
 
18
# Netscape Communications Corporation.
 
19
# Portions created by the Initial Developer are Copyright (C) 1994-2000
 
20
# the Initial Developer. All Rights Reserved.
 
21
#
 
22
# Contributor(s):
 
23
#   Dr Vipul Gupta <vipul.gupta@sun.com> and
 
24
#   Douglas Stebila <douglas@stebila.ca>, Sun Microsystems Laboratories
 
25
#
 
26
# Alternatively, the contents of this file may be used under the terms of
 
27
# either the GNU General Public License Version 2 or later (the "GPL"), or
 
28
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 
29
# in which case the provisions of the GPL or the LGPL are applicable instead
 
30
# of those above. If you wish to allow use of your version of this file only
 
31
# under the terms of either the GPL or the LGPL, and not to allow others to
 
32
# use your version of this file under the terms of the MPL, indicate your
 
33
# decision by deleting the provisions above and replace them with the notice
 
34
# and other provisions required by the GPL or the LGPL. If you do not delete
 
35
# the provisions above, a recipient may use your version of this file under
 
36
# the terms of any one of the MPL, the GPL or the LGPL.
 
37
#
 
38
# ***** END LICENSE BLOCK *****
 
39
 
 
40
# NOTE: any ifdefs in this file must be defined on the gmake command line
 
41
# (if anywhere).  They cannot come from Makefile or config.mk 
 
42
 
 
43
CORE_DEPTH = ../../..
 
44
 
 
45
MODULE = nss
 
46
 
 
47
LIBRARY_NAME = freebl
 
48
LIBRARY_VERSION = 3
 
49
 
 
50
ifdef FREEBL_CHILD_BUILD
 
51
  ifdef USE_ABI32_INT32
 
52
    LIBRARY_NAME = freebl_32int
 
53
  endif
 
54
  ifdef USE_ABI32_INT64
 
55
    LIBRARY_NAME = freebl_32int64
 
56
  endif
 
57
  ifdef USE_ABI32_FPU
 
58
    LIBRARY_NAME = freebl_32fpu
 
59
  endif
 
60
  ifdef USE_ABI64_INT
 
61
    LIBRARY_NAME = freebl_64int
 
62
  endif
 
63
  ifdef USE_ABI64_FPU
 
64
    LIBRARY_NAME = freebl_64fpu
 
65
  endif
 
66
endif
 
67
 
 
68
# if the library name contains _, we prefix the version with _
 
69
ifneq (,$(findstring _,$(LIBRARY_NAME)))
 
70
  LIBRARY_VERSION := _$(LIBRARY_VERSION)
 
71
endif
 
72
 
 
73
MAPFILE_SOURCE = freebl.def
 
74
MAPFILE = $(OBJDIR)/$(LIBRARY_NAME).def
 
75
 
 
76
SOFTOKEN_LIBRARY_VERSION = 3
 
77
 
 
78
DEFINES += -DSHLIB_SUFFIX=\"$(DLL_SUFFIX)\" -DSHLIB_PREFIX=\"$(DLL_PREFIX)\" \
 
79
        -DSHLIB_VERSION=\"$(LIBRARY_VERSION)\" \
 
80
        -DSOFTOKEN_SHLIB_VERSION=\"$(SOFTOKEN_LIBRARY_VERSION)\"
 
81
 
 
82
REQUIRES = 
 
83
 
 
84
EXPORTS = \
 
85
        blapit.h \
 
86
        shsign.h \
 
87
        ecl-exp.h \
 
88
        $(NULL)
 
89
 
 
90
PRIVATE_EXPORTS = \
 
91
        alghmac.h \
 
92
        blapi.h \
 
93
        secmpi.h \
 
94
        secrng.h \
 
95
        ec.h \
 
96
        ecl.h \
 
97
        ecl-curve.h \
 
98
        $(NULL)
 
99
 
 
100
MPI_HDRS = mpi-config.h mpi.h mpi-priv.h mplogic.h mpprime.h logtab.h mp_gf2m.h
 
101
MPI_SRCS = mpprime.c mpmontg.c mplogic.c mpi.c mp_gf2m.c
 
102
 
 
103
 
 
104
ECL_HDRS = ecl-exp.h ecl.h ec2.h ecp.h ecl-priv.h
 
105
ifdef NSS_ENABLE_ECC
 
106
ECL_SRCS = ecl.c ecl_curve.c ecl_mult.c ecl_gf.c \
 
107
        ecp_aff.c ecp_jac.c ecp_mont.c \
 
108
        ec_naf.c ecp_jm.c
 
109
ifdef NSS_ECC_MORE_THAN_SUITE_B
 
110
ECL_SRCS += ec2_aff.c ec2_mont.c ec2_proj.c \
 
111
        ec2_163.c ec2_193.c ec2_233.c \
 
112
        ecp_192.c ecp_224.c ecp_256.c ecp_384.c ecp_521.c 
 
113
endif
 
114
else
 
115
ECL_SRCS = $(NULL)
 
116
endif
 
117
SHA_SRCS = sha_fast.c
 
118
MPCPU_SRCS = mpcpucache.c
 
119
 
 
120
CSRCS = \
 
121
        freeblver.c \
 
122
        ldvector.c \
 
123
        prng_fips1861.c \
 
124
        sysrand.c \
 
125
        $(SHA_SRCS) \
 
126
        md2.c \
 
127
        md5.c \
 
128
        sha512.c \
 
129
        alghmac.c \
 
130
        rawhash.c \
 
131
        alg2268.c \
 
132
        arcfour.c \
 
133
        arcfive.c \
 
134
        desblapi.c \
 
135
        des.c \
 
136
        rijndael.c \
 
137
        aeskeywrap.c \
 
138
        dh.c \
 
139
        ec.c \
 
140
        pqg.c \
 
141
        dsa.c \
 
142
        rsa.c \
 
143
        shvfy.c \
 
144
        tlsprfalg.c \
 
145
        $(MPI_SRCS) \
 
146
        $(MPCPU_SRCS) \
 
147
        $(ECL_SRCS) \
 
148
        $(NULL)
 
149
 
 
150
ALL_CSRCS := $(CSRCS)
 
151
 
 
152
ALL_HDRS =  \
 
153
        alghmac.h \
 
154
        blapi.h \
 
155
        blapit.h \
 
156
        des.h \
 
157
        ec.h \
 
158
        loader.h \
 
159
        rijndael.h \
 
160
        secmpi.h \
 
161
        sha.h \
 
162
        sha_fast.h \
 
163
        sha256.h \
 
164
        shsign.h \
 
165
        vis_proto.h \
 
166
        $(NULL)
 
167
 
 
168
 
 
169
ifdef NSS_ENABLE_ECC
 
170
DEFINES += -DNSS_ENABLE_ECC
 
171
endif
 
172
 
 
173
ifdef AES_GEN_TBL
 
174
DEFINES += -DRIJNDAEL_GENERATE_TABLES
 
175
else 
 
176
ifdef AES_GEN_TBL_M
 
177
DEFINES += -DRIJNDAEL_GENERATE_TABLES_MACRO
 
178
else
 
179
ifdef AES_GEN_VAL
 
180
DEFINES += -DRIJNDAEL_GENERATE_VALUES
 
181
else
 
182
ifdef AES_GEN_VAL_M
 
183
DEFINES += -DRIJNDAEL_GENERATE_VALUES_MACRO
 
184
else
 
185
DEFINES += -DRIJNDAEL_INCLUDE_TABLES
 
186
endif
 
187
endif
 
188
endif
 
189
endif