~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/dist/s_crypto

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -
2
 
#       $Id$
3
 
 
4
 
# Remove crypto from the DB source tree.
5
 
 
6
 
d=..
7
 
 
8
 
t=/tmp/__db_a
9
 
trap 'rm -f $t ; exit 0' 0
10
 
trap 'rm -f $t ; exit 1' 1 2 3 13 15
11
 
 
12
 
if ! test -d $d/crypto; then
13
 
        echo "s_crypto: no crypto sources found in the source tree."
14
 
        exit 1
15
 
fi
16
 
 
17
 
# Remove the crypto.
18
 
rm -rf $d/crypto
19
 
 
20
 
# Update the docs.
21
 
f=$d/docs/ref/env/encrypt.html
22
 
chmod 664 $f
23
 
(echo '/DOES/' &&
24
 
 echo 's/DOES/DOES NOT/' &&
25
 
 echo 'w' &&
26
 
 echo 'q') | ed $f
27
 
 
28
 
# Win/32.
29
 
f=win_config.in
30
 
chmod 664 $f
31
 
(echo '/#define.HAVE_CRYPTO/' &&
32
 
 echo 'c' &&
33
 
 echo '/* #undef HAVE_CRYPTO */'
34
 
 echo '.' &&
35
 
 echo 'w' &&
36
 
 echo 'q') | ed $f
37
 
 
38
 
f=srcfiles.in
39
 
chmod 664 $f
40
 
(echo 'g/^crypto\//d' &&
41
 
 echo 'w' &&
42
 
 echo 'q') | ed $f
43
 
 
44
 
 sh ./s_win32
45
 
 sh ./s_win32_dsp
46
 
 
47
 
# VxWorks
48
 
f=vx_config.in
49
 
chmod 664 $f
50
 
(echo '/#define.HAVE_CRYPTO/' &&
51
 
 echo 'c' &&
52
 
 echo '/* #undef HAVE_CRYPTO */'
53
 
 echo '.' &&
54
 
 echo 'w' &&
55
 
 echo 'q') | ed $f
56
 
 
57
 
 sh ./s_vxworks