3173
|
1 |
#
|
|
2 |
# Copyright (c) 2003 Sun Microsystems Inc.
|
|
3 |
# This file and all modifications and additions to the pristine
|
|
4 |
# package are under the same license as the package itself.
|
|
5 |
#
|
|
6 |
|
|
7 |
%include Solaris.inc
|
3856
|
8 |
%define t_suffix -build18
|
3289
|
9 |
%{?nightly:%define t_suffix -%(TZ=GMT date +%Y%m%d)}
|
3173
|
10 |
%ifarch sparc
|
|
11 |
%define PLATFORM unxsols4
|
|
12 |
%else
|
|
13 |
%define PLATFORM unxsoli4
|
|
14 |
%endif
|
|
15 |
|
|
16 |
Name: SUNWapoc
|
|
17 |
License: Sun Microsystems Binary Code License (BCL)
|
|
18 |
Group: User Interface/Desktops
|
3557
|
19 |
Version: 1.1
|
3173
|
20 |
Distribution: Cinnabar
|
|
21 |
Vendor: Sun Microsystems, Inc.
|
|
22 |
Summary: Configuration Agent
|
|
23 |
URL: http://sundt.sfbay.sun.com
|
|
24 |
Autoreqprov: off
|
|
25 |
BuildRoot: %{_builddir}/apoc/%{PLATFORM}/class/apocd_pkg
|
3289
|
26 |
Source: apoc-cb%{t_suffix}.tar.bz2
|
3173
|
27 |
Requires: SUNWlxml
|
|
28 |
Requires: SUNWgss
|
3201
|
29 |
Requires: SUNWapbas
|
|
30 |
Requires: SUNWapmsc
|
3173
|
31 |
SUNW_ProdName: Sun Java(tm) Desktop System
|
|
32 |
SUNW_ProdVers: 2
|
3201
|
33 |
SUNW_BaseDir: /usr
|
3220
|
34 |
SUNW_Category: APOC,application,JDS3
|
3173
|
35 |
|
|
36 |
%description
|
|
37 |
Sun Java[tm] Desktop System Configuration Agent
|
|
38 |
|
|
39 |
%post
|
3543
|
40 |
grep -v apocd $PKG_INSTALL_ROOT/etc/services > /tmp/services
|
|
41 |
cp /tmp/services $PKG_INSTALL_ROOT/etc/services
|
|
42 |
rm -f /tmp/services
|
|
43 |
echo "apocd 38900/udp" >> $PKG_INSTALL_ROOT/etc/services
|
3173
|
44 |
|
3792
|
45 |
if [ -f $PKG_INSTALL_ROOT/lib/svc/share/smf_include.sh ] ; then
|
|
46 |
. $PKG_INSTALL_ROOT/lib/svc/share/smf_include.sh
|
|
47 |
smf_present
|
|
48 |
if [ $? -eq 0 ] ; then
|
|
49 |
$PKG_INSTALL_ROOT/usr/sbin/svccfg import $PKG_INSTALL_ROOT/usr/lib/apoc/apocd.xml
|
|
50 |
fi
|
|
51 |
fi
|
|
52 |
|
3173
|
53 |
%preun
|
3543
|
54 |
grep -v apocd $PKG_INSTALL_ROOT/etc/services > /tmp/services
|
|
55 |
cp /tmp/services $PKG_INSTALL_ROOT/etc/services
|
3173
|
56 |
rm -f /tmp/services
|
|
57 |
|
3543
|
58 |
$PKG_INSTALL_ROOT/usr/lib/apoc/apocd disable
|
3201
|
59 |
|
3792
|
60 |
%postun
|
|
61 |
if [ -f $PKG_INSTALL_ROOT/lib/svc/share/smf_include.sh ] ; then
|
|
62 |
. $PKG_INSTALL_ROOT/lib/svc/share/smf_include.sh
|
|
63 |
smf_present
|
|
64 |
if [ $? -eq 0 ] ; then
|
|
65 |
$PKG_INSTALL_ROOT/usr/sbin/svccfg export svc:/network/apocd/udp > /dev/null 2>&1
|
|
66 |
if [ $? -eq 0 ] ; then
|
|
67 |
$PKG_INSTALL_ROOT/usr/sbin/svccfg delete -f svc:/network/apocd/udp
|
|
68 |
fi
|
|
69 |
fi
|
|
70 |
fi
|
|
71 |
|
3173
|
72 |
%files
|
|
73 |
%defattr(0644, root, other)
|
|
74 |
%dir %attr(0755,root,bin) /usr/lib
|
3201
|
75 |
%dir %attr(0755,root,other) /usr/lib/apoc
|
|
76 |
%dir %attr(0755,root,sys) /usr/share
|
|
77 |
%dir %attr(0755,root,sys) /usr/share/lib
|
|
78 |
%dir %attr(0755,root,other) /usr/share/lib/apoc
|
|
79 |
|
|
80 |
/usr/share/lib/apoc/apocd.jar
|
|
81 |
/usr/share/lib/apoc/db.jar
|
|
82 |
|
|
83 |
%attr(0744,root,other) /usr/lib/apoc/apocd
|
3792
|
84 |
%attr(0755,root,other) /usr/lib/apoc/apocd.xml
|
3201
|
85 |
%attr(0755,root,other) /usr/lib/apoc/libFileAccess.so
|
3253
|
86 |
%attr(0755,root,other) /usr/lib/apoc/libdb-3.2.so
|
3201
|
87 |
%attr(0755,root,other) /usr/lib/apoc/libdb_java-3.2.so
|
|
88 |
|
|
89 |
%attr(0755,root,other) /usr/lib/libapoc.so.1
|
3543
|
90 |
/usr/lib/libapoc.so
|
3173
|
91 |
|
|
92 |
%prep
|
|
93 |
%setup -n apoc
|
|
94 |
|
|
95 |
%build
|
|
96 |
export JAVA_HOME=/usr/j2se
|
|
97 |
export PATH=${JAVA_HOME}/bin:$PATH
|
|
98 |
make PLATFORM=%{PLATFORM} apoc
|
|
99 |
|
|
100 |
%changelog
|
3856
|
101 |
* Mon Sep 06 2004 - [email protected]
|
|
102 |
- new tarballs for build 18
|
|
103 |
|
3811
|
104 |
* Wed Sep 01 2004 - [email protected]
|
|
105 |
- new tarballs for build 17b
|
|
106 |
|
3651
|
107 |
* Fri Aug 20 2004 - [email protected]
|
|
108 |
- Ensuring greenline stuff doesn't go in beta
|
|
109 |
|
3557
|
110 |
* Fri Aug 13 2004 - [email protected]
|
|
111 |
- Correcting version
|
|
112 |
|
3543
|
113 |
* Thu Aug 12 2004 - [email protected]
|
|
114 |
- reintroducing greenline support
|
|
115 |
|
3453
|
116 |
* Fri Jul 30 2004 - [email protected]
|
|
117 |
- don't want to include greenline integration until after Cinnabar Beta
|
|
118 |
|
3442
|
119 |
* Wed Jul 28 2004 - [email protected]
|
|
120 |
- greenline integration
|
|
121 |
|
3414
|
122 |
* Fri Jul 23 2004 - [email protected]
|
|
123 |
- adapted source tarball name for build 15
|
|
124 |
|
3220
|
125 |
* Sat Jun 26 2004 [email protected]
|
|
126 |
- Changed SUNW_Category to "APOC,application,JDS3"
|
3173
|
127 |
*Mon May 31 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
128 |
Version 1.0-0
|
|
129 |
Changes relating to inetd enabled startup
|
|
130 |
|
|
131 |
*Tue May 04 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
132 |
Version 0.1-26
|
|
133 |
Reverting to "inetd enabled install"
|
|
134 |
|
|
135 |
*Tue Apr 27 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
136 |
Version 0.1-25
|
|
137 |
Merging apocd, apocdctl & setenv.sh into apocd
|
|
138 |
|
|
139 |
*Mon Apr 26 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
140 |
Version 0.1-24
|
|
141 |
Including os.properties in apocd.jar to provide correct default
|
|
142 |
|
|
143 |
*Thu Apr 15 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
144 |
Version 0.1-23
|
|
145 |
Turning off Autoreqprov
|
|
146 |
|
|
147 |
*Tue Apr 13 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
148 |
Version 0-1-22
|
|
149 |
Changing name of libapi.so to libapoc.so
|
|
150 |
|
|
151 |
*Fri Feb 20 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
152 |
Version 0.1-20
|
|
153 |
Performance improvements
|
|
154 |
|
|
155 |
*Mon Feb 16 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
156 |
Version 0.1-19
|
|
157 |
Increasing MaxRequestSize to support larger Active Directory tokens
|
|
158 |
|
|
159 |
*Mon Feb 11 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
160 |
Version 0.1-18
|
|
161 |
papi reconnection & GSSAPI/Active Directory support
|
|
162 |
|
|
163 |
*Mon Feb 9 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
164 |
Version 0.1-17
|
|
165 |
ServiceName & ServiceContainer no longer configurable
|
|
166 |
|
|
167 |
*Wed Feb 4 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
168 |
Version 0.1-16
|
|
169 |
Don't overwrite properties files
|
|
170 |
|
|
171 |
*Mon Feb 2 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
172 |
Version 0.1-15
|
|
173 |
Change detection timers
|
|
174 |
|
|
175 |
*Fri Jan 30 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
176 |
Version 0.1-14
|
|
177 |
Exception logging, timers etc.
|
|
178 |
|
|
179 |
*Mon Jan 19 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
180 |
Version 0.1-13
|
|
181 |
Add argument for inetd start
|
|
182 |
|
|
183 |
*Tue Jan 13 2004 Geoff Higgins <geoff.higgins@@sun.com>
|
|
184 |
Version 0.1-12
|
|
185 |
And back to inetd again
|
|
186 |
|
|
187 |
*Mon Dec 22 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
188 |
Version 0.1-11
|
|
189 |
Switching from inetd to init
|
|
190 |
|
|
191 |
*Fri Dec 19 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
192 |
Version 0.1-10
|
|
193 |
Changing policymgr.properties permissions
|
|
194 |
|
|
195 |
*Mon Dec 1 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
196 |
Version 0.1-9
|
|
197 |
Update license
|
|
198 |
|
|
199 |
*Thu Nov 27 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
200 |
Version 0.1-8
|
|
201 |
Fix for 4960347
|
|
202 |
|
|
203 |
*Tue Nov 20 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
204 |
Version 0.1-7
|
|
205 |
Moving back to berkeley db 4 due to incompatability with StarOffice
|
|
206 |
|
|
207 |
*Tue Nov 18 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
208 |
Version 0.1-6
|
|
209 |
YaST modules moved to seperate rpm
|
|
210 |
|
|
211 |
*Fri Nov 14 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
212 |
Version 0.1-5
|
|
213 |
Moving to berkeley db version 4
|
|
214 |
|
|
215 |
*Wed Nov 12 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
216 |
Version 0.1-4
|
|
217 |
Fix for 4952794
|
|
218 |
|
|
219 |
*Thu Nov 6 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
220 |
Version 0.1-2
|
|
221 |
Feature complete apocd
|
|
222 |
|
|
223 |
*Fri Jul 11 2003 Geoff Higgins <geoff.higgins@@sun.com>
|
|
224 |
Version 0.1-1
|
|
225 |
Initial apocd
|