1---
2title:      Source
3order:      4
4created_at: 2010-10-10 20:45:36.453557 -07:00
5filter:
6  - erb
7  - markdown
8---
9## Getting and building the source
10
11The DCE/RPC source code is available from the git.dcerpc.org git repository:
12
13    ~ $ git clone git://git.dcerpc.org/dcerpc.git dcerpc.git
14
15To build the project on Mac OS X, use the Xcode project. This will
16build the DCERPC framework and the dceidl IDL compiler, which is
17all that is necessary to start writing DCERPC applications.
18
19    ~/dcerpc.git $ xcodebuild -configuration Debug -target dceidl
20    ~/dcerpc.git $ sudo xcodebuild -configuration Debug -target dceidl install
21    ~/dcerpc.git $ xcodebuild -configuration Debug -target DCERPC
22
23To build on Linux or other Unix-like systems, use the autotools
24build system.
25
26    ~/dcerpc.git $ cd dcerpc
27    ~/dcerpc.git $ ./buildconf
28    ~/dcerpc.git $ ./configure && make
29    ~/dcerpc.git $ sudo make install
30
31## Licensing
32
33DCE/RPC is licensed under the following terms:
34
35    Copyright (c) 2010 Apple Inc. All rights reserved.
36
37    Redistribution and use in source and binary forms, with or without
38    modification, are permitted provided that the following conditions
39    are met:
40
41    1.  Redistributions of source code must retain the above copyright
42        notice, this list of conditions and the following disclaimer.
43    2.  Redistributions in binary form must reproduce the above copyright
44        notice, this list of conditions and the following disclaimer in the
45        documentation and/or other materials provided with the distribution.
46    3.  Neither the name of Apple Inc. ("Apple") nor the names of its
47        contributors may be used to endorse or promote products derived from
48        this software without specific prior written permission.
49
50    THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
51    EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
52    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
53    DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
54    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
55    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
56    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
57    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
58    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
59    THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
60
61    (c) Copyright 1989-1993 OPEN SOFTWARE FOUNDATION, INC.
62    (c) Copyright 1989-1993 HEWLETT-PACKARD COMPANY
63    (c) Copyright 1989-1993 DIGITAL EQUIPMENT CORPORATION
64    To anyone who acknowledges that this file is provided "AS IS"
65    without any express or implied warranty:
66                    permission to use, copy, modify, and distribute this
67    file for any purpose is hereby granted without fee, provided that
68    the above copyright notices and this notice appears in all source
69    code copies, and that none of the names of Open Software
70    Foundation, Inc., Hewlett-Packard Company, or Digital Equipment
71    Corporation be used in advertising or publicity pertaining to
72    distribution of the software without specific, written prior
73    permission.  Neither Open Software Foundation, Inc., Hewlett-
74    Packard Company, nor Digital Equipment Corporation makes any
75    representations about the suitability of this software for any
76    purpose.
77
78    Copyright (c) 2007, Novell, Inc.
79    All rights reserved.
80
81    Redistribution and use in source and binary forms, with or without
82    modification, are permitted provided that the following conditions
83    are met:
84    1. Redistributions of source code must retain the above copyright
85       notice, this list of conditions and the following disclaimer.
86    2. Redistributions in binary form must reproduce the above copyright
87       notice, this list of conditions and the following disclaimer in the
88       documentation and/or other materials provided with the distribution.
89    3. Neither the name of the Novell, Inc. nor the names of its contributors
90       may be used to endorse or promote products derived from this software
91       without specific prior written permission.
92
93    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
94    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
95    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
96    A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
97    OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
98    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
99    LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
100    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
101    THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
102    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
103    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
104
105    The following is applicable to ncklib/com/cominit_ux.c:
106
107    Copyright (c) 1983, 1993
108           The Regents of the University of California.  All rights reserved.
109
110    Redistribution and use in source and binary forms, with or without
111    modification, are permitted provided that the following conditions
112    are met:
113    1. Redistributions of source code must retain the above copyright
114       notice, this list of conditions and the following disclaimer.
115    2. Redistributions in binary form must reproduce the above copyright
116       notice, this list of conditions and the following disclaimer in the
117       documentation and/or other materials provided with the distribution.
118    3. All advertising materials mentioning features or use of this software
119       must display the following acknowledgement:
120           This product includes software developed by the University of
121           California, Berkeley and its contributors.
122    4. Neither the name of the University nor the names of its contributors
123       may be used to endorse or promote products derived from this software
124       without specific prior written permission.
125
126    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
127    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
128    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
129    ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
130    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
131    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
132    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
133    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
134    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
135    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
136    SUCH DAMAGE.
137
138    The following is applicable to uuid/get_802_addr.c:
139
140    The OpenLDAP Public License
141      Version 2.8, 17 August 2003
142
143    Redistribution and use of this software and associated documentation
144    ("Software"), with or without modification, are permitted provided
145    that the following conditions are met:
146
147    1. Redistributions in source form must retain copyright statements
148       and notices,
149
150    2. Redistributions in binary form must reproduce applicable copyright
151       statements and notices, this list of conditions, and the following
152       disclaimer in the documentation and/or other materials provided
153       with the distribution, and
154
155    3. Redistributions must contain a verbatim copy of this document.
156
157    The OpenLDAP Foundation may revise this license from time to time.
158    Each revision is distinguished by a version number.  You may use
159    this Software under terms of this license revision or under the
160    terms of any subsequent revision of the license.
161
162    THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS
163    CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
164    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
165    AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT
166    SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S)
167    OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
168    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
169    BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
170    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
171    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
172    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
173    ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
174    POSSIBILITY OF SUCH DAMAGE.
175
176    The names of the authors and copyright holders must not be used in
177    advertising or otherwise to promote the sale, use or other dealing
178    in this Software without specific, written prior permission.  Title
179    to copyright in this Software shall at all times remain with copyright
180    holders.
181
182    OpenLDAP is a registered trademark of the OpenLDAP Foundation.
183
184    Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
185    California, USA.  All Rights Reserved.  Permission to copy and
186    distribute verbatim copies of this document is granted.
187