author | daniel |
Tue, 23 Apr 2013 19:41:37 +0200 | |
changeset 212 | 234760aff547 |
parent 211 | 27ef1dd3ffed |
child 213 | e870cf1d9dd9 |
permissions | -rw-r--r-- |
67 | 1 |
<configuration> |
2 |
<modules> |
|
3 |
||
94 | 4 |
<module name="dce-ns3"> |
5 |
<source type="mercurial"> |
|
210 | 6 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/> |
7 |
<attribute name="module_directory" value="ns-3-dce"/> |
|
8 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
94 | 9 |
</source> |
10 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
|
188 | 11 |
<depends_on name="elf-loader" optional="True"/> |
117 | 12 |
<depends_on name="iperf" optional="True"/> |
123 | 13 |
<depends_on name="ccnx" optional="True"/> |
155 | 14 |
<depends_on name="wget" optional="True"/> |
15 |
<depends_on name="thttpd" optional="True"/> |
|
94 | 16 |
<build type="waf" objdir="build"> |
210 | 17 |
<attribute name="configure_arguments" value="configure --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --prefix=$INSTALLDIR"/> |
18 |
<!-- attribute name="post_installation" value="cd $SRCDIR; ./test.py" --> |
|
94 | 19 |
</build> |
20 |
</module> |
|
21 |
||
22 |
<module name="dce-linux"> |
|
23 |
<source type="mercurial"> |
|
210 | 24 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/> |
25 |
<attribute name="module_directory" value="ns-3-dce"/> |
|
26 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
94 | 27 |
</source> |
188 | 28 |
<depends_on name="elf-loader" optional="True"/> |
158
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
29 |
<depends_on name="net-next-sim-2.6.36" optional="False"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
30 |
<depends_on name="iproute" optional="False"/> |
149
240a51b3466f
change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents:
145
diff
changeset
|
31 |
<depends_on name="iperf" optional="True"/> |
240a51b3466f
change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents:
145
diff
changeset
|
32 |
<depends_on name="ccnx" optional="True"/> |
155 | 33 |
<depends_on name="wget" optional="True"/> |
34 |
<depends_on name="thttpd" optional="True"/> |
|
94 | 35 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
187
dfb54fb4e9e7
rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
186
diff
changeset
|
36 |
<build type="waf" objdir="yes" sourcedir="ns-3-dce"> |
210 | 37 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../net-next-sim-2.6.36/arch"/> |
38 |
<!-- attribute name="post_installation" value="cd $SRCDIR; ./test.py"/ --> |
|
94 | 39 |
</build> |
40 |
</module> |
|
41 |
||
165
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
42 |
<module name="dce-linux-gcov"> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
43 |
<source type="mercurial"> |
210 | 44 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/> |
45 |
<attribute name="module_directory" value="ns-3-dce"/> |
|
46 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
165
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
47 |
</source> |
188 | 48 |
<depends_on name="elf-loader" optional="True"/> |
165
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
49 |
<depends_on name="net-next-sim-2.6.36" optional="False"/> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
50 |
<depends_on name="iproute" optional="False"/> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
51 |
<depends_on name="iperf" optional="True"/> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
52 |
<depends_on name="ccnx" optional="True"/> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
53 |
<depends_on name="wget" optional="True"/> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
54 |
<depends_on name="thttpd" optional="True"/> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
55 |
<depends_on name="dce-quagga" optional="False"/> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
56 |
<depends_on name="dce-umip" optional="False"/> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
57 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
187
dfb54fb4e9e7
rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
186
diff
changeset
|
58 |
<build type="waf" objdir="yes" sourcedir="ns-3-dce"> |
210 | 59 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../net-next-sim-2.6.36/arch --enable-gcov"/> |
165
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
60 |
</build> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
61 |
</module> |
407ac88340c5
add dce-linux-gcov for coverage test
Hajime Tazaki <tazaki@nict.go.jp>
parents:
163
diff
changeset
|
62 |
|
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
63 |
<module name="dce-quagga-inkernel"> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
64 |
<source type="mercurial"> |
210 | 65 |
<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-quagga"/> |
66 |
<attribute name="module_directory" value="ns-3-dce/myscripts/ns-3-dce-quagga/"/> |
|
67 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
68 |
</source> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
69 |
<depends_on name="dce-linux-inkernel" optional="False"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
70 |
<depends_on name="quagga" optional="False"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
71 |
<depends_on name="iputils" optional="False"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
72 |
<build type="none"> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
73 |
</build> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
74 |
</module> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
75 |
|
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
76 |
<module name="dce-umip-inkernel"> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
77 |
<source type="mercurial"> |
210 | 78 |
<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-umip"/> |
79 |
<attribute name="module_directory" value="ns-3-dce/myscripts/ns-3-dce-umip/"/> |
|
80 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
81 |
</source> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
82 |
<depends_on name="dce-linux-inkernel" optional="False"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
83 |
<depends_on name="dce-quagga-inkernel" optional="False"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
84 |
<depends_on name="umip" optional="False"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
85 |
<build type="none"> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
86 |
</build> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
87 |
</module> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
88 |
|
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
89 |
<module name="dce-linux-inkernel"> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
90 |
<source type="mercurial"> |
210 | 91 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/> |
92 |
<attribute name="module_directory" value="ns-3-dce"/> |
|
93 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
94 |
</source> |
188 | 95 |
<depends_on name="elf-loader" optional="True"/> |
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
96 |
<depends_on name="iproute" optional="False"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
97 |
<depends_on name="iperf" optional="True"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
98 |
<depends_on name="ccnx" optional="True"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
99 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
187
dfb54fb4e9e7
rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
186
diff
changeset
|
100 |
<build type="waf" objdir="yes" sourcedir="ns-3-dce"> |
210 | 101 |
<!-- assume the bake.py build is executed under arch/sim/test/buildtop/ --> |
102 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../../../../../"/> |
|
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
103 |
</build> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
104 |
</module> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
105 |
|
171 | 106 |
<module name="mptcp_v0.86"> |
107 |
<source type="git"> |
|
108 |
<attribute name="url" value="git://github.com/multipath-tcp/mptcp"/> |
|
109 |
<attribute name="module_directory" value="mptcp"/> |
|
110 |
<attribute name="revision" value="mptcp_v0.86"/> |
|
111 |
</source> |
|
112 |
<build type="make" objdir="no"> |
|
210 | 113 |
<attribute name="pre_installation" value="cd $SRCDIR;git remote add dce git://github.com/thehajime/net-next-sim.git; git fetch dce; git merge dce/sim-ns3-3.5.0-branch; echo 'CONFIG_MPTCP=y' >> arch/sim/defconfig; sed 's/CONFIG_SYN_COOKIES=y/\#CONFIG_SYN_COOKIES=y/' arch/sim/defconfig >a; mv a arch/sim/defconfig"/> |
171 | 114 |
<attribute name="configure_arguments" value="defconfig ARCH=sim"/> |
115 |
<attribute name="build_arguments" value="library ARCH=sim"/> |
|
116 |
<attribute name="no_installation" value="True"/> |
|
117 |
<attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux3.5.7.so ./libsim-linux3.5.7-mptcp.so; ln -s -f libsim-linux3.5.7-mptcp.so liblinux.so"/> |
|
118 |
</build> |
|
119 |
</module> |
|
120 |
||
121 |
<module name="iproute-mptcp"> |
|
122 |
<source type="git"> |
|
123 |
<attribute name="url" value="git://github.com/multipath-tcp/iproute-mptcp.git"/> |
|
124 |
<attribute name="module_directory" value="iproute-mptcp"/> |
|
125 |
<attribute name="revision" value="49687a0dff890bf753a06357959b8bbab18b9d2a"/> |
|
126 |
</source> |
|
127 |
<depends_on name="libdb-dev" optional="False"/> |
|
128 |
<depends_on name="bison" optional="False"/> |
|
129 |
<depends_on name="flex" optional="False"/> |
|
130 |
<depends_on name="libsysfs-dev" optional="False"/> |
|
131 |
<depends_on name="libssl-dev" optional="False"/> |
|
132 |
<build type="make" objdir="yes"> |
|
210 | 133 |
<attribute name="patch" value="$SRCDIR/../ns-3-dce/utils/iproute-mptcp.patch"/> |
134 |
<attribute name="pre_installation" value="$SRCDIR/configure"/> |
|
135 |
<attribute name="LDFLAGS" value="-pie"/> |
|
136 |
<attribute name="ignore_predefined_flags" value="True"/> |
|
171 | 137 |
<attribute name="install_arguments" value="DESTDIR=$INSTALLDIR" /> |
210 | 138 |
<attribute name="build_arguments" value="CCOPTS+=-fpic CCOPTS+=-D_GNU_SOURCE CCOPTS+=-O0 CCOPTS+=-U_FORTIFY_SOURCE LDFLAGS=-pie DEFINES+=-I$SRCDIR/../mptcp/include"/> |
171 | 139 |
</build> |
140 |
</module> |
|
141 |
||
142 |
<module name="dce-linux-mptcp"> |
|
143 |
<source type="mercurial"> |
|
210 | 144 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/> |
145 |
<attribute name="module_directory" value="ns-3-dce"/> |
|
146 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
171 | 147 |
</source> |
188 | 148 |
<depends_on name="elf-loader" optional="True"/> |
171 | 149 |
<depends_on name="mptcp_v0.86" optional="False"/> |
150 |
<depends_on name="iproute-mptcp" optional="False"/> |
|
151 |
<depends_on name="iperf" optional="True"/> |
|
152 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
|
187
dfb54fb4e9e7
rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
186
diff
changeset
|
153 |
<build type="waf" objdir="yes" sourcedir="ns-3-dce"> |
210 | 154 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../mptcp/arch"/> |
171 | 155 |
</build> |
156 |
</module> |
|
157 |
||
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
158 |
<module name="dce-linux-mptcp-inkernel"> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
159 |
<source type="mercurial"> |
210 | 160 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/> |
161 |
<attribute name="module_directory" value="ns-3-dce"/> |
|
162 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
163 |
</source> |
188 | 164 |
<depends_on name="elf-loader" optional="True"/> |
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
165 |
<depends_on name="iproute-mptcp" optional="False"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
166 |
<depends_on name="iperf" optional="True"/> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
167 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
187
dfb54fb4e9e7
rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
186
diff
changeset
|
168 |
<build type="waf" objdir="yes" sourcedir="ns-3-dce"> |
210 | 169 |
<!-- assume the bake.py build is executed under arch/sim/test/buildtop/ --> |
170 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../../../../../"/> |
|
173
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
171 |
</build> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
172 |
</module> |
d49216989153
add description built from net-next-sim kernel (by make testbin)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
172
diff
changeset
|
173 |
|
167
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
174 |
<module name="libpcap-dev"> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
175 |
<source type="system_dependency"> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
176 |
<attribute name="dependency_test" value="pcap.h"/> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
177 |
<attribute name="try_to_install" value="True"/> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
178 |
<attribute name="name_apt-get" value="libpcap-dev"/> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
179 |
<attribute name="name_yum" value="libpcap-devel"/> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
180 |
<attribute name="more_information" value="Didn't find libpcap-dev package; please install it."/> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
181 |
</source> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
182 |
<build type="none" objdir="no"> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
183 |
</build> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
184 |
</module> |
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
185 |
|
193
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
186 |
<module name="libexpat-dev"> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
187 |
<source type="system_dependency"> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
188 |
<attribute name="dependency_test" value="expat.h"/> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
189 |
<attribute name="try_to_install" value="True"/> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
190 |
<attribute name="name_apt-get" value="libexpat1-dev"/> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
191 |
<attribute name="name_yum" value="expat-devel"/> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
192 |
<attribute name="more_information" value="Didn't find libexpat-dev package; please install it."/> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
193 |
</source> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
194 |
<build type="none" objdir="no"> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
195 |
</build> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
196 |
</module> |
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
197 |
|
121 | 198 |
<module name="ccnx"> |
199 |
<source type="archive"> |
|
210 | 200 |
<attribute name="url" value="http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz"/> |
201 |
<attribute name="extract_directory" value="ccnx-0.6.2"/> |
|
121 | 202 |
</source> |
167
739d70ae5e53
Bug 1610 - bake should check for libpcap-dev before building ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
166
diff
changeset
|
203 |
<depends_on name="libpcap-dev" optional="False"/> |
193
ea1036886f17
add libexpat dependency to ccnx
Hajime Tazaki <tazaki@nict.go.jp>
parents:
192
diff
changeset
|
204 |
<depends_on name="libexpat-dev" optional="False"/> |
121 | 205 |
<build type="make" objdir="yes"> |
210 | 206 |
<attribute name="pre_installation" value="cd $SRCDIR;INSTALL_BASE=$INSTALLDIR ./configure;mkdir $INSTALLDIR/include;mkdir $INSTALLDIR/lib;mkdir $INSTALLDIR/bin"/> |
207 |
<attribute name="build_arguments" value="MORE_LDLIBS=-pie"/> |
|
121 | 208 |
<attribute name="new_variable" value="INSTALL_BASE=$INSTALLDIR" /> |
209 |
</build> |
|
210 |
</module> |
|
211 |
||
117 | 212 |
<module name="iperf"> |
213 |
<source type="archive"> |
|
210 | 214 |
<attribute name="url" value="http://iperf.fr/download/iperf_2.0.5/iperf-2.0.5-source.tar.gz"/> |
215 |
<attribute name="extract_directory" value="iperf-2.0.5"/> |
|
117 | 216 |
</source> |
217 |
<build type="make" objdir="yes"> |
|
210 | 218 |
<attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/> |
219 |
<attribute name="patch" value="$SRCDIR/../ns-3-dce/utils/iperf_4_dce.patch"/> |
|
117 | 220 |
</build> |
221 |
</module> |
|
222 |
||
166
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
223 |
<module name="libdb-dev"> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
224 |
<source type="system_dependency"> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
225 |
<attribute name="dependency_test" value="db_185.h"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
226 |
<attribute name="try_to_install" value="True"/> |
190
9ae11dbf2644
rename libdb package for ubuntu
Hajime Tazaki <tazaki@nict.go.jp>
parents:
189
diff
changeset
|
227 |
<attribute name="name_apt-get" value="libdb-dev"/> |
186
88763e0d63f6
rename db4-devel package name for Centos, which doesn't have libdb-devel but db4-devel
Hajime Tazaki <tazaki@nict.go.jp>
parents:
185
diff
changeset
|
228 |
<attribute name="name_yum" value="db4-devel"/> |
166
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
229 |
<attribute name="more_information" value="Didn't find libdb-dev package; please install it."/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
230 |
</source> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
231 |
<build type="none" objdir="no"> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
232 |
</build> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
233 |
</module> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
234 |
|
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
235 |
<module name="bison"> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
236 |
<source type="system_dependency"> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
237 |
<attribute name="dependency_test" value="bison"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
238 |
<attribute name="try_to_install" value="True"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
239 |
<attribute name="name_apt-get" value="bison"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
240 |
<attribute name="name_yum" value="bison"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
241 |
<attribute name="more_information" value="The bison tool is not installed, try to install them (bison)"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
242 |
</source> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
243 |
<build type="none" objdir="no"> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
244 |
</build> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
245 |
</module> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
246 |
|
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
247 |
<module name="flex"> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
248 |
<source type="system_dependency"> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
249 |
<attribute name="dependency_test" value="flex"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
250 |
<attribute name="try_to_install" value="True"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
251 |
<attribute name="name_apt-get" value="flex"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
252 |
<attribute name="name_yum" value="flex"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
253 |
<attribute name="more_information" value="The flex tool is not installed, try to install them (flex)"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
254 |
</source> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
255 |
<build type="none" objdir="no"> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
256 |
</build> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
257 |
</module> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
258 |
|
168
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
259 |
<module name="libsysfs-dev"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
260 |
<source type="system_dependency"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
261 |
<attribute name="dependency_test" value="libsysfs.h"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
262 |
<attribute name="try_to_install" value="True"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
263 |
<attribute name="name_apt-get" value="libsysfs-dev"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
264 |
<attribute name="name_yum" value="libsysfs-devel"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
265 |
<attribute name="more_information" value="Didn't find libsysfs-dev package; please install it."/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
266 |
</source> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
267 |
<build type="none" objdir="no"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
268 |
</build> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
269 |
</module> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
270 |
|
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
271 |
<module name="libssl-dev"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
272 |
<source type="system_dependency"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
273 |
<attribute name="dependency_test" value="md5.h"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
274 |
<attribute name="try_to_install" value="True"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
275 |
<attribute name="name_apt-get" value="libssl-dev"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
276 |
<attribute name="name_yum" value="openssl-devel"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
277 |
<attribute name="more_information" value="Didn't find libssl-dev package; please install it."/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
278 |
</source> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
279 |
<build type="none" objdir="no"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
280 |
</build> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
281 |
</module> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
282 |
|
117 | 283 |
<module name="iproute"> |
67 | 284 |
<source type="archive"> |
210 | 285 |
<attribute name="url" value="http://www.linuxgrill.com/anonymous/iproute2/NEW-OSDL/iproute2-2.6.38.tar.bz2"/> |
94 | 286 |
</source> |
166
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
287 |
<depends_on name="libdb-dev" optional="False"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
288 |
<depends_on name="bison" optional="False"/> |
383536a8c68f
Bug 1611 - bake dependency on iproute missing
Hajime Tazaki <tazaki@nict.go.jp>
parents:
165
diff
changeset
|
289 |
<depends_on name="flex" optional="False"/> |
168
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
290 |
<depends_on name="libsysfs-dev" optional="False"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
291 |
<depends_on name="libssl-dev" optional="False"/> |
94 | 292 |
<build type="make" objdir="yes"> |
210 | 293 |
<attribute name="pre_installation" value="$SRCDIR/configure"/> |
294 |
<attribute name="LDFLAGS" value="-pie"/> |
|
295 |
<attribute name="ignore_predefined_flags" value="True"/> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
296 |
<attribute name="install_arguments" value="DESTDIR=$INSTALLDIR" /> |
210 | 297 |
<attribute name="build_arguments" value="CCOPTS+=-fpic CCOPTS+=-D_GNU_SOURCE CCOPTS+=-O0 CCOPTS+=-U_FORTIFY_SOURCE LDFLAGS=-pie"/> |
94 | 298 |
</build> |
299 |
</module> |
|
300 |
||
301 |
<module name="ns-3-dev-dce"> |
|
302 |
<source type="mercurial"> |
|
210 | 303 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/> |
304 |
<!-- attribute name="revision" value="ns-3.17"/ --> |
|
94 | 305 |
</source> |
175
f1d2351af8e8
change pybindgen-user to optional
Hajime Tazaki <tazaki@nict.go.jp>
parents:
173
diff
changeset
|
306 |
<depends_on name="pybindgen-user" optional="True"/> |
94 | 307 |
<build type="waf" objdir="yes"> |
210 | 308 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-tests --with-pybindgen=$SRCDIR/../pybindgen-user"/> |
94 | 309 |
</build> |
310 |
</module> |
|
311 |
||
158
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
312 |
<module name="net-next-sim-2.6.36"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
313 |
<source type="git"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
314 |
<attribute name="url" value="https://github.com/thehajime/net-next-sim.git"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
315 |
<attribute name="module_directory" value="net-next-sim-2.6.36"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
316 |
<attribute name="revision" value="sim-ns3-2.6.36-branch"/> |
184
40268847effa
Added the hability to pass parameters to git
Hajime Tazaki <tazaki@nict.go.jp>
parents:
182
diff
changeset
|
317 |
<attribute name="fetch_option" value="--depth=1"/> |
158
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
318 |
</source> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
319 |
<build type="make" objdir="no"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
320 |
<attribute name="configure_arguments" value="defconfig ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
321 |
<attribute name="build_arguments" value="library ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
322 |
<attribute name="no_installation" value="True"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
323 |
<attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux2.6.36.so ./; ln -s -f libsim-linux2.6.36.so liblinux.so"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
324 |
</build> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
325 |
</module> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
326 |
|
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
327 |
<module name="net-next-sim-3.4.0"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
328 |
<source type="git"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
329 |
<attribute name="url" value="https://github.com/thehajime/net-next-sim.git"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
330 |
<attribute name="module_directory" value="net-next-sim-3.4.0"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
331 |
<attribute name="revision" value="sim-ns3-3.4.0-branch"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
332 |
</source> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
333 |
<build type="make" objdir="no"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
334 |
<attribute name="configure_arguments" value="defconfig ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
335 |
<attribute name="build_arguments" value="library ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
336 |
<attribute name="no_installation" value="True"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
337 |
<attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux3.4.0.so ./; ln -s -f libsim-linux3.4.0.so liblinux.so"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
338 |
</build> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
339 |
</module> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
340 |
|
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
341 |
<module name="net-next-sim-3.7.0"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
342 |
<source type="git"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
343 |
<attribute name="url" value="https://github.com/thehajime/net-next-sim.git"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
344 |
<attribute name="module_directory" value="net-next-sim-3.7.0"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
345 |
<attribute name="revision" value="sim-ns3-3.7.0-branch"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
346 |
</source> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
347 |
<build type="make" objdir="no"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
348 |
<attribute name="configure_arguments" value="defconfig ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
349 |
<attribute name="build_arguments" value="library ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
350 |
<attribute name="no_installation" value="True"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
351 |
<attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux3.7.0.so ./; ln -s -f libsim-linux3.7.0.so liblinux.so"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
352 |
</build> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
353 |
</module> |
94 | 354 |
|
155 | 355 |
<module name="wget"> |
356 |
<source type="archive"> |
|
163 | 357 |
<attribute name="url" value="http://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz"/> |
358 |
<attribute name="extract_directory" value="wget-1.14"/> |
|
155 | 359 |
</source> |
360 |
<build type="make" objdir="yes"> |
|
163 | 361 |
<attribute name="pre_installation" value="cd $SRCDIR; CFLAGS=-fPIC LDFLAGS=-pie ./configure --disable-opie --disable-digest --disable-ntlm --disable-largefile --disable-threads --disable-nls --disable-rpath --disable-iri --without-ssl --without-zlib --without-libiconv-prefix --without-libintl-prefix --without-libpth-prefix --without-included-regex --prefix=$INSTALLDIR"/> |
155 | 362 |
</build> |
363 |
</module> |
|
364 |
||
365 |
<module name="thttpd"> |
|
366 |
<source type="archive"> |
|
367 |
<attribute name="url" value="http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz"/> |
|
368 |
<attribute name="extract_directory" value="thttpd-2.25b"/> |
|
369 |
</source> |
|
370 |
<build type="make" objdir="yes"> |
|
371 |
<attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/> |
|
187
dfb54fb4e9e7
rename module directory of dce to ns-3-dce under source directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
186
diff
changeset
|
372 |
<attribute name="patch" value="$SRCDIR/../ns-3-dce/myscripts/httpd/dce-thttpd.patch"/> |
155 | 373 |
<attribute name="install_arguments" value="-n" /> |
374 |
<attribute name="build_arguments" value="thttpd"/> |
|
375 |
<attribute name="post_installation" value="cd $SRCDIR; mkdir $INSTALLDIR/bin_dce; /bin/cp -f thttpd-2.25b/thttpd $INSTALLDIR/bin_dce"/> |
|
376 |
</build> |
|
377 |
</module> |
|
378 |
||
379 |
||
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
380 |
<module name="iputils"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
381 |
<source type="archive"> |
210 | 382 |
<attribute name="url" value="http://www.skbuff.net/iputils/iputils-s20101006.tar.bz2"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
383 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
384 |
<!-- note: iputils does not have 'make install' --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
385 |
<build type="inline" classname="IputilsModuleBuild"> |
210 | 386 |
<attribute name="patch" value="$SRCDIR/../ns-3-dce/myscripts/ns-3-dce-quagga/utils/iputils-ping6.patch"/> |
387 |
<attribute name="supported_os" value="linux;linux2"/> |
|
388 |
<code>class IputilsModuleBuild(InlineModuleBuild): |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
389 |
def __init__(self): |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
390 |
InlineModuleBuild.__init__(self) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
391 |
def build(self, env, jobs): |
161
c263cd42307a
fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents:
158
diff
changeset
|
392 |
if self.attribute('patch').value != '': |
c263cd42307a
fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents:
158
diff
changeset
|
393 |
self.threat_patch(env) |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
394 |
env.run(['make', 'CFLAGS=-fpic', 'CFLAGS+=-D_GNU_SOURCE', 'CFLAGS+=-g', |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
395 |
'CFLAGS+=-Wstrict-prototypes', 'CFLAGS+=-Wall', 'LDFLAGS=-pie', |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
396 |
'ping', 'ping6', '-j', str(jobs)], |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
397 |
directory=env.srcdir) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
398 |
env.run(['mkdir', '-p' , env.installdir + '/bin_dce/'], |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
399 |
directory=env.srcdir) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
400 |
env.run(['cp', 'ping', 'ping6', env.installdir + '/bin_dce'], |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
401 |
directory=env.srcdir) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
402 |
def clean(self, env): |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
403 |
env.run(['make', 'clean'], directory=env.srcdir) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
404 |
def check_version(self, env): |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
405 |
return True</code> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
406 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
407 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
408 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
409 |
<!-- umip related modules --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
410 |
<module name="dce-umip"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
411 |
<source type="mercurial"> |
210 | 412 |
<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-umip"/> |
413 |
<attribute name="module_directory" value="ns-3-dce/myscripts/ns-3-dce-umip/"/> |
|
414 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
415 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
416 |
<depends_on name="dce-linux" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
417 |
<depends_on name="dce-quagga" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
418 |
<depends_on name="umip" optional="False"/> |
150
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
419 |
<build type="none"> |
210 | 420 |
<!-- attribute name="configure_arguments" value="configure -prefix=$INSTALLDIR"/ --> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
421 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
422 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
423 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
424 |
<module name="umip"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
425 |
<source type="git"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
426 |
<attribute name="url" value="git://git.umip.org/umip.git"/> |
210 | 427 |
<attribute name="revision" value="v1.0"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
428 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
429 |
<build type="autotools" objdir="no"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
430 |
<attribute name="maintainer" value="yes" /> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
431 |
<attribute name="configure_arguments" value="./configure CFLAGS=-fPIC LDFLAGS=-pie --prefix=$INSTALLDIR --enable-vt --with-builtin-crypto"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
432 |
<attribute name="install_arguments" value="-n" /> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
433 |
<attribute name="post_installation" value="cd $SRCDIR; mkdir $INSTALLDIR/bin_dce; /bin/cp -f src/mip6d $INSTALLDIR/bin_dce"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
434 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
435 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
436 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
437 |
<!-- quagga related modules --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
438 |
<module name="dce-quagga"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
439 |
<source type="mercurial"> |
210 | 440 |
<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-quagga"/> |
441 |
<attribute name="module_directory" value="ns-3-dce/myscripts/ns-3-dce-quagga/"/> |
|
442 |
<attribute name="revision" value="dce-1.0-rc1"/> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
443 |
</source> |
150
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
444 |
<depends_on name="dce-linux" optional="False"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
445 |
<depends_on name="quagga" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
446 |
<depends_on name="iputils" optional="False"/> |
150
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
447 |
<build type="none"> |
210 | 448 |
<!-- attribute name="configure_arguments" value="configure -prefix=$INSTALLDIR"/ --> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
449 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
450 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
451 |
|
168
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
452 |
<module name="indent"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
453 |
<source type="system_dependency"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
454 |
<attribute name="dependency_test" value="indent"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
455 |
<attribute name="try_to_install" value="True"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
456 |
<attribute name="name_apt-get" value="indent"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
457 |
<attribute name="name_yum" value="indent"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
458 |
<attribute name="more_information" value="The indent tool is not installed, try to install them (indent)"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
459 |
</source> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
460 |
<build type="none" objdir="no"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
461 |
</build> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
462 |
</module> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
463 |
|
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
464 |
<module name="gawk"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
465 |
<source type="system_dependency"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
466 |
<attribute name="dependency_test" value="gawk"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
467 |
<attribute name="try_to_install" value="True"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
468 |
<attribute name="name_apt-get" value="gawk"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
469 |
<attribute name="name_yum" value="gawk"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
470 |
<attribute name="more_information" value="The gawk is not installed, try to install them (gawk)"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
471 |
</source> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
472 |
<build type="none" objdir="no"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
473 |
</build> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
474 |
</module> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
475 |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
476 |
<module name="quagga"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
477 |
<source type="archive"> |
210 | 478 |
<!-- some of mirror sever of gnu.org isn't available.. --> |
479 |
<!-- attribute name="url" value="http://download.savannah.gnu.org/releases/quagga/quagga-0.99.20.tar.gz"/ --> |
|
480 |
<attribute name="url" value="http://pkgs.fedoraproject.org/lookaside/pkgs/quagga/quagga-0.99.20.tar.gz/64cc29394eb8a4e24649d19dac868f64/quagga-0.99.20.tar.gz"/> |
|
481 |
<attribute name="extract_directory" value="quagga-0.99.20"/> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
482 |
</source> |
168
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
483 |
<depends_on name="indent" optional="False"/> |
192
f26b5d9f5fe5
add gawk dependency to quagga
Hajime Tazaki <tazaki@nict.go.jp>
parents:
191
diff
changeset
|
484 |
<depends_on name="gawk" optional="False"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
485 |
<build type="make" objdir="yes"> |
210 | 486 |
<attribute name="pre_installation" value="cd $SRCDIR; CFLAGS='-fPIC -g' LDFLAGS=-pie ./configure --disable-shared --enable-static --disable-user --disable-group --disable-capabilities --prefix=$INSTALLDIR"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
487 |
<attribute name="install_arguments" value="-n" /> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
488 |
<attribute name="post_installation" value="cd $SRCDIR; mkdir $INSTALLDIR/bin_dce; /bin/cp zebra/zebra $INSTALLDIR/bin_dce;/bin/cp ripd/ripd $INSTALLDIR/bin_dce;/bin/cp ripngd/ripngd $INSTALLDIR/bin_dce;/bin/cp ospfd/ospfd $INSTALLDIR/bin_dce;/bin/cp ospf6d/ospf6d $INSTALLDIR/bin_dce;/bin/cp bgpd/bgpd $INSTALLDIR/bin_dce"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
489 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
490 |
</module> |
212 | 491 |
|
196 | 492 |
<module name="click-dev"> |
94 | 493 |
<source type="git"> |
494 |
<attribute name="url" value="git://read.cs.ucla.edu/git/click"/> |
|
196 | 495 |
<!-- <attribute name="revision" value="724412626833df5c13384be5cce4da52c601371f"/> |
496 |
--> |
|
67 | 497 |
</source> |
498 |
<build type="autotools" objdir="yes"> |
|
113 | 499 |
<attribute name="configure_arguments" value="../configure --prefix=$INSTALLDIR --exec-prefix=$INSTALLDIR -enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/> |
136 | 500 |
<attribute name="post_installation" value="mkdir $INSTALLDIR/lib; cp -r $OBJDIR/include $INSTALLDIR/lib/."/> |
67 | 501 |
</build> |
196 | 502 |
</module> |
162 | 503 |
|
212 | 504 |
<module name="click-ns-3.17"> |
196 | 505 |
<source type="git"> |
506 |
<attribute name="url" value="git://read.cs.ucla.edu/git/click"/> |
|
507 |
<attribute name="revision" value="806126cb73f3600570204b538fb5201725a3a5ce"/> |
|
508 |
</source> |
|
509 |
<build type="autotools" objdir="yes"> |
|
510 |
<attribute name="configure_arguments" value="../configure --prefix=$INSTALLDIR --exec-prefix=$INSTALLDIR -enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/> |
|
511 |
<attribute name="post_installation" value="mkdir $INSTALLDIR/lib; cp -r $OBJDIR/include $INSTALLDIR/lib/."/> |
|
512 |
</build> |
|
513 |
</module> |
|
514 |
||
515 |
<module name="click-2.0.1"> |
|
516 |
<source type="git"> |
|
517 |
<attribute name="url" value="git://read.cs.ucla.edu/git/click"/> |
|
518 |
<attribute name="revision" value="8847f68461856418c409f4de4165412b3ec2cade"/> |
|
519 |
||
520 |
</source> |
|
521 |
<build type="autotools" objdir="yes"> |
|
522 |
<attribute name="configure_arguments" value="../configure -enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/> |
|
523 |
<!-- <attribute name="post_installation" value="mkdir $INSTALLDIR/lib; cp -r $OBJDIR/include $INSTALLDIR/lib/.; cp -r $SRCDIR/include $INSTALLDIR/lib"/> |
|
524 |
--> |
|
525 |
</build> |
|
67 | 526 |
</module> |
527 |
||
112
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
528 |
<module name="libxml2-dev"> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
529 |
<source type="system_dependency"> |
179 | 530 |
<attribute name="dependency_test" value="xmlIO.h"/> |
112
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
531 |
<attribute name="try_to_install" value="True"/> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
532 |
<attribute name="name_yum" value="libxml2-devel"/> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
533 |
<attribute name="name_yast" value="libxml2-devel"/> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
534 |
<attribute name="name_apt-get" value="libxml2-dev"/> |
152 | 535 |
<attribute name="more_information" value="Didn't find the libxml2-dev library, try to install it!"/> |
112
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
536 |
</source> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
537 |
<build type="none" objdir="no"> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
538 |
</build> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
539 |
</module> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
540 |
|
196 | 541 |
<module name="openflow-jpelkey"> |
67 | 542 |
<source type="mercurial"> |
94 | 543 |
<attribute name="url" value="http://code.nsnam.org/jpelkey3/openflow"/> |
67 | 544 |
</source> |
94 | 545 |
<build type="waf" objdir="yes"> |
546 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
|
196 | 547 |
<attribute name="no_installation" value="True"/> |
548 |
||
549 |
<!-- It complains if the lib directory exists, so I am removing the lib directory. Another |
|
550 |
thing is that it try to install things by default, so the instalation is not required--> |
|
551 |
||
552 |
<attribute name="pre_installation" value="mv $INSTALLDIR/lib $INSTALLDIR/libTmp"/> |
|
197 | 553 |
<attribute name="post_installation" value="mkdir $INSTALLDIR/lib; mv $INSTALLDIR/libTmp/* $INSTALLDIR/lib/.; rm -rf $INSTALLDIR/libTmp" /> |
196 | 554 |
</build> |
555 |
<depends_on name="libxml2-dev" optional="False"/> |
|
556 |
</module> |
|
557 |
||
212 | 558 |
<module name="openflow-dev"> |
196 | 559 |
<source type="mercurial"> |
560 |
<attribute name="url" value="http://code.nsnam.org/openflow"/> |
|
561 |
</source> |
|
562 |
<build type="waf" objdir="yes"> |
|
563 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
|
564 |
</build> |
|
565 |
<depends_on name="libxml2-dev" optional="False"/> |
|
566 |
</module> |
|
567 |
||
212 | 568 |
<module name="openflow-ns-3.17"> |
196 | 569 |
<source type="mercurial"> |
570 |
<attribute name="url" value="http://code.nsnam.org/openflow"/> |
|
571 |
<attribute name="revision" value="bb2869a6bbe1"/> |
|
572 |
</source> |
|
573 |
<build type="waf" objdir="yes"> |
|
574 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
|
157
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
575 |
</build> |
112
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
576 |
<depends_on name="libxml2-dev" optional="False"/> |
71
bf151f3f1479
Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents:
67
diff
changeset
|
577 |
</module> |
bf151f3f1479
Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents:
67
diff
changeset
|
578 |
|
67 | 579 |
<module name="gccxml-ns3"> |
580 |
<source type="cvs"> |
|
581 |
<attribute name="root" value=":pserver:anoncvs:@www.gccxml.org:/cvsroot/GCC_XML"/> |
|
582 |
<attribute name="module" value="gccxml"/> |
|
583 |
<attribute name="date" value="2009-09-21"/> |
|
584 |
</source> |
|
585 |
<build type="cmake" objdir="yes"> |
|
586 |
</build> |
|
587 |
</module> |
|
588 |
||
589 |
<module name="pygccxml"> |
|
590 |
<source type="archive"> |
|
75 | 591 |
<attribute name="url" value="http://downloads.sourceforge.net/project/pygccxml/pygccxml/pygccxml-1.0/pygccxml-1.0.0.zip"/> |
67 | 592 |
</source> |
593 |
<build type="python" objdir="yes"> |
|
594 |
</build> |
|
94 | 595 |
<depends_on name="gccxml-ns3" optional="True"/> |
67 | 596 |
</module> |
597 |
||
196 | 598 |
<module name="pygccxml-1.0.0"> |
599 |
<source type="archive"> |
|
600 |
<attribute name="url" value="http://downloads.sourceforge.net/project/pygccxml/pygccxml/pygccxml-1.0/pygccxml-1.0.0.zip"/> |
|
601 |
</source> |
|
602 |
<build type="python" objdir="yes"> |
|
603 |
</build> |
|
604 |
<depends_on name="gccxml-ns3" optional="True"/> |
|
605 |
</module> |
|
606 |
||
194
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
607 |
<module name="python-dev"> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
608 |
<source type="system_dependency"> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
609 |
<attribute name="dependency_test" value="Python.h"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
610 |
<attribute name="try_to_install" value="True"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
611 |
<attribute name="name_apt-get" value="python-dev"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
612 |
<attribute name="name_yum" value="python-devel"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
613 |
<attribute name="more_information" value="The python-dev is not installed, try to install it."/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
614 |
</source> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
615 |
<build type="none" objdir="no"> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
616 |
</build> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
617 |
</module> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
618 |
|
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
619 |
<module name="pygraphviz"> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
620 |
<source type="system_dependency"> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
621 |
<attribute name="dependency_test" value="(_gv.so or _graphviz.so)"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
622 |
<attribute name="try_to_install" value="False"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
623 |
<attribute name="name_apt-get" value="python-pygraphviz"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
624 |
<attribute name="name_yum" value="graphviz-python"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
625 |
<attribute name="more_information" value="The pygraphviz is not installed, try to install it."/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
626 |
</source> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
627 |
<build type="none" objdir="no"> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
628 |
</build> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
629 |
</module> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
630 |
|
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
631 |
<module name="pygoocanvas"> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
632 |
<source type="system_dependency"> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
633 |
<attribute name="dependency_test" value="goocanvasmodule.so"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
634 |
<attribute name="try_to_install" value="True"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
635 |
<attribute name="name_apt-get" value="python-pygoocanvas"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
636 |
<attribute name="name_yum" value="pygoocanvas"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
637 |
<attribute name="more_information" value="The pygoocanvas is not installed, try to install it."/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
638 |
</source> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
639 |
<build type="none" objdir="no"> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
640 |
</build> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
641 |
</module> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
642 |
|
196 | 643 |
<module name="pybindgen-dev"> |
67 | 644 |
<source type="bazaar"> |
645 |
<attribute name="url" value="https://launchpad.net/pybindgen"/> |
|
196 | 646 |
<!-- <attribute name="revision" value="revno:825"/> |
647 |
--> |
|
67 | 648 |
</source> |
649 |
<build type="waf" objdir="yes"> |
|
95 | 650 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
67 | 651 |
<attribute name="build_arguments" value="--generate-version"/> |
652 |
</build> |
|
194
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
653 |
<depends_on name="python-dev" optional="False"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
654 |
<depends_on name="pygraphviz" optional="False"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
655 |
<depends_on name="pygoocanvas" optional="False"/> |
67 | 656 |
<depends_on name="pygccxml" optional="True"/> |
113 | 657 |
<depends_on name="gccxml-ns3" optional="False"/> |
67 | 658 |
</module> |
659 |
||
172
00239e0c959b
add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
171
diff
changeset
|
660 |
<module name="pybindgen-user"> |
00239e0c959b
add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
171
diff
changeset
|
661 |
<source type="bazaar"> |
210 | 662 |
<attribute name="url" value="https://launchpad.net/pybindgen"/> |
663 |
<attribute name="revision" value="revno:825"/> |
|
172
00239e0c959b
add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
171
diff
changeset
|
664 |
</source> |
194
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
665 |
<depends_on name="python-dev" optional="False"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
666 |
<depends_on name="pygraphviz" optional="False"/> |
6d744389dbdb
add python-dev/pygraphviz/pygoocanvas dependencies for pybindgen
Hajime Tazaki <tazaki@nict.go.jp>
parents:
193
diff
changeset
|
667 |
<depends_on name="pygoocanvas" optional="False"/> |
172
00239e0c959b
add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
171
diff
changeset
|
668 |
<build type="waf" objdir="yes"> |
210 | 669 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --disable-pygccxml"/> |
670 |
<attribute name="build_arguments" value="--generate-version"/> |
|
172
00239e0c959b
add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
171
diff
changeset
|
671 |
</build> |
00239e0c959b
add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
171
diff
changeset
|
672 |
</module> |
00239e0c959b
add pybindgen build for dce
Hajime Tazaki <tazaki@nict.go.jp>
parents:
171
diff
changeset
|
673 |
|
196 | 674 |
<module name="pybindgen-0.16.0.825"> |
675 |
<source type="bazaar"> |
|
676 |
<attribute name="url" value="https://launchpad.net/pybindgen"/> |
|
677 |
<attribute name="revision" value="revno:825"/> |
|
678 |
</source> |
|
679 |
<build type="waf" objdir="yes"> |
|
680 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
|
681 |
<attribute name="build_arguments" value="--generate-version"/> |
|
682 |
</build> |
|
683 |
</module> |
|
684 |
||
685 |
<module name="nsc-dev"> |
|
67 | 686 |
<source type="mercurial"> |
687 |
<attribute name="url" value="https://secure.wand.net.nz/mercurial/nsc"/> |
|
688 |
</source> |
|
689 |
<!-- problem: scons has no generic command-line support for builddir and installdir --> |
|
690 |
<build type="inline" classname="NscModuleBuild"> |
|
94 | 691 |
<attribute name="supported_os" value="linux;linux2"/> |
67 | 692 |
<code>class NscModuleBuild(InlineModuleBuild): |
693 |
def __init__(self): |
|
694 |
InlineModuleBuild.__init__(self) |
|
695 |
def build(self, env, jobs): |
|
135
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
696 |
import os |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
697 |
import shutil |
94 | 698 |
|
67 | 699 |
env.run(['python', os.path.join(env.srcdir, 'scons.py'), |
94 | 700 |
'-j', str(jobs), 'prefix=' + env.installdir, 'install'], |
126 | 701 |
directory=env.srcdir ) |
702 |
srcLib = os.path.join(env.srcdir, 'lib') |
|
212 | 703 |
files = os.listdir(srcLib) |
126 | 704 |
destination = os.path.join(env.installdir, 'lib') |
705 |
for file in files: |
|
135
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
706 |
try: |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
707 |
shutil.copy2(os.path.join(srcLib, file), destination) |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
708 |
except Exception as e: |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
709 |
print (" > Error executing copy : " + str(e) + "\n") |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
710 |
|
67 | 711 |
def clean(self, env): |
712 |
env.run(['python', os.path.join(env.srcdir, 'scons.py'), '-c'], |
|
713 |
directory=env.srcdir) |
|
714 |
def check_version(self, env): |
|
715 |
return True</code> |
|
716 |
</build> |
|
717 |
</module> |
|
718 |
||
196 | 719 |
<module name="nsc-0.5.3"> |
720 |
<source type="mercurial"> |
|
721 |
<attribute name="url" value="https://secure.wand.net.nz/mercurial/nsc"/> |
|
722 |
<attribute name="revision" value="08c391d0660a"/> |
|
723 |
</source> |
|
724 |
<!-- problem: scons has no generic command-line support for builddir and installdir --> |
|
725 |
<build type="inline" classname="NscModuleBuild"> |
|
726 |
<attribute name="supported_os" value="linux;linux2"/> |
|
727 |
<code>class NscModuleBuild(InlineModuleBuild): |
|
728 |
def __init__(self): |
|
729 |
InlineModuleBuild.__init__(self) |
|
730 |
def build(self, env, jobs): |
|
731 |
import os |
|
732 |
import shutil |
|
733 |
||
734 |
env.run(['python', os.path.join(env.srcdir, 'scons.py'), |
|
735 |
'-j', str(jobs), 'prefix=' + env.installdir, 'install'], |
|
736 |
directory=env.srcdir ) |
|
737 |
srcLib = os.path.join(env.srcdir, 'lib') |
|
197 | 738 |
env._logger.commands.write("LibDir: " + srcLib +"\n") |
196 | 739 |
destination = os.path.join(env.installdir, 'lib') |
197 | 740 |
env._logger.commands.write("DstDir: " + destination +"\n") |
741 |
if not os.path.exists(destination): |
|
742 |
os.makedirs(destination) |
|
743 |
files = os.listdir(srcLib) |
|
744 |
env._logger.commands.write("Files:"+str(files)+"\n") |
|
196 | 745 |
for file in files: |
197 | 746 |
env._logger.commands.write(file + "->" + destination +"\n") |
196 | 747 |
try: |
748 |
shutil.copy2(os.path.join(srcLib, file), destination) |
|
749 |
except Exception as e: |
|
750 |
print (" > Error executing copy : " + str(e) + "\n") |
|
751 |
||
752 |
def clean(self, env): |
|
753 |
env.run(['python', os.path.join(env.srcdir, 'scons.py'), '-c'], |
|
754 |
directory=env.srcdir) |
|
755 |
def check_version(self, env): |
|
756 |
return True</code> |
|
757 |
</build> |
|
758 |
</module> |
|
94 | 759 |
|
760 |
<module name="qt4"> |
|
761 |
<source type="system_dependency"> |
|
180 | 762 |
<attribute name="dependency_test" value="(qmake or qmake-qt4)"/> |
94 | 763 |
<attribute name="try_to_install" value="True"/> |
764 |
<attribute name="name_yum" value="qt4-devel"/> |
|
765 |
<attribute name="name_apt-get" value="qt4-dev-tools"/> |
|
766 |
<attribute name="more_information" value="Didn't find QT 4, download and install it from http://qt.nokia.com/downloads/"/> |
|
767 |
</source> |
|
768 |
<build type="none" objdir="no"> |
|
769 |
</build> |
|
770 |
</module> |
|
771 |
||
168
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
772 |
<module name="libc-debug"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
773 |
<source type="system_dependency"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
774 |
<attribute name="try_to_install" value="False"/> <!-- should be fixed --> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
775 |
<attribute name="name_apt-get" value="libc6-dbg"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
776 |
<attribute name="name_yum" value="glibc-debuginfo"/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
777 |
<attribute name="more_information" value="Didn't find libc debug package; please install it."/> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
778 |
</source> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
779 |
<build type="none" objdir="no"> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
780 |
</build> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
781 |
</module> |
4e8765f518d1
Add more package dependencies for elf-loader, quagga, umip
Hajime Tazaki <tazaki@nict.go.jp>
parents:
167
diff
changeset
|
782 |
|
94 | 783 |
<module name="elf-loader"> |
784 |
<source type="mercurial"> |
|
210 | 785 |
<attribute name="url" value="http://code.nsnam.org/thehajime/elf-loader"/> |
94 | 786 |
</source> |
191
af510eef38e9
create dependency from elf-loader to libc-debug
Hajime Tazaki <tazaki@nict.go.jp>
parents:
190
diff
changeset
|
787 |
<depends_on name="libc-debug" optional="False"/> |
94 | 788 |
<build type="make" objdir="no"> |
210 | 789 |
<attribute name="configure_arguments" value="vdl-config.h"/> |
790 |
<attribute name="install_arguments" value="PREFIX=$INSTALLDIR"/> |
|
94 | 791 |
</build> |
792 |
</module> |
|
793 |
||
196 | 794 |
<module name="netanim-dev"> |
94 | 795 |
<source type="mercurial"> |
210 | 796 |
<attribute name="url" value="http://code.nsnam.org/netanim"/> |
94 | 797 |
</source> |
798 |
<build type="make" objdir="no"> |
|
210 | 799 |
<attribute name="pre_installation" value="cd $SRCDIR;qmake NetAnim.pro or cd $SRCDIR;qmake-qt4 NetAnim.pro or cd $SRCDIR;qmake -spec macx-g++ NetAnim.pro"/> |
94 | 800 |
</build> |
801 |
<depends_on name="qt4" optional="False"/> |
|
802 |
</module> |
|
803 |
||
196 | 804 |
<module name="netanim-3.103"> |
805 |
<source type="mercurial"> |
|
806 |
<attribute name="url" value="http://code.nsnam.org/netanim"/> |
|
807 |
<attribute name="revision" value="a898a19d5b9f"/> |
|
808 |
</source> |
|
809 |
<build type="make" objdir="no"> |
|
810 |
<attribute name="pre_installation" value="cd $SRCDIR;qmake NetAnim.pro or cd $SRCDIR;qmake-qt4 NetAnim.pro or cd $SRCDIR;qmake -spec macx-g++ NetAnim.pro"/> |
|
811 |
</build> |
|
812 |
<depends_on name="qt4" optional="False"/> |
|
813 |
</module> |
|
814 |
||
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
815 |
<module name="ns-3-allinone"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
816 |
<source type="mercurial"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
817 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
818 |
</source> |
196 | 819 |
<depends_on name="netanim-dev" optional="True"/> |
820 |
<depends_on name="nsc-dev" optional="True"/> |
|
821 |
<depends_on name="pybindgen-dev" optional="True"/> |
|
822 |
<depends_on name="click-dev" optional="True"/> |
|
212 | 823 |
<depends_on name="openflow-dev" optional="True"/> |
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
824 |
<build type="waf" objdir="yes"> |
212 | 825 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests --with-nsclick=$SRCDIR/click-dev --with-pybindgen=$SRCDIR/pybindgen --with-openflow=$SRCDIR/openflow-dev --with-nsc=$SRCDIR/nsc-dev"/> |
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
826 |
</build> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
827 |
</module> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
828 |
|
94 | 829 |
<module name="ns-3-dev"> |
67 | 830 |
<source type="mercurial"> |
831 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/> |
|
832 |
</source> |
|
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
833 |
<build type="waf" objdir="yes"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
834 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
835 |
</build> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
836 |
</module> |
196 | 837 |
|
838 |
<!-- ns-3.17 main module definition; for now, pulling ns-3-dev --> |
|
839 |
<module name="ns-3.17"> |
|
840 |
<source type="mercurial"> |
|
841 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/> |
|
842 |
</source> |
|
843 |
<depends_on name="netanim-3.103" optional="True"/> |
|
844 |
<depends_on name="pybindgen-0.16.0.825" optional="True"/> |
|
845 |
<build type="waf" objdir="yes"> |
|
212 | 846 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests"/> |
196 | 847 |
</build> |
848 |
</module> |
|
849 |
||
850 |
<module name="ns-allinone-3.17"> |
|
212 | 851 |
<source type="none"/> |
196 | 852 |
<depends_on name="netanim-3.103" optional="True"/> |
853 |
<depends_on name="nsc-0.5.3" optional="True"/> |
|
854 |
<depends_on name="pybindgen-0.16.0.825" optional="True"/> |
|
212 | 855 |
<depends_on name="click-ns-3.17" optional="True"/> |
856 |
<depends_on name="openflow-ns-3.17" optional="True"/> |
|
857 |
<depends_on name="pygccxml-1.0.0" optional="True"/> |
|
858 |
<depends_on name="gccxml-ns3" optional="True"/> |
|
859 |
<depends_on name="ns-3.17" optional="False"/> |
|
860 |
<build type="none"/> |
|
196 | 861 |
</module> |
67 | 862 |
</modules> |
863 |
||
864 |
<predefined name="dbg"> |
|
94 | 865 |
<append name="CFLAGS" value="-g"/> |
866 |
<append name="CXXFLAGS" value="-g"/> |
|
115 | 867 |
<configuration objdir="dbg"/> |
868 |
<configuration installdir="build_dbg"/> |
|
67 | 869 |
</predefined> |
115 | 870 |
|
67 | 871 |
<predefined name="opt"> |
872 |
<configuration objdir="opt"/> |
|
115 | 873 |
<configuration installdir="build_opt"/> |
94 | 874 |
<!-- <append name="configure_arguments" value=" -d optimized"/> --> |
875 |
<append name="CFLAGS" value="-O3"/> |
|
876 |
<append name="CXXFLAGS" value="-O3"/> |
|
67 | 877 |
</predefined> |
94 | 878 |
|
879 |
<predefined name="ns3"> |
|
880 |
<enable name="ns-3-dev"/> |
|
881 |
<!-- <configuration installdir="." sourcedir="../source"/> --> |
|
882 |
<append module="ns-3-dev" name="configure_arguments" value="--enable-examples --enable-tests"/> |
|
67 | 883 |
</predefined> |
94 | 884 |
|
104 | 885 |
<predefined name="ns3-min"> |
886 |
<enable name="ns-3-dev"/> |
|
108 | 887 |
<append module="ns-3-dev" name="configure_arguments" value=" --enable-modules=core,network,wifi"/> --> |
104 | 888 |
</predefined> |
889 |
||
67 | 890 |
</configuration> |