Mercurial > libpst
annotate package @ 22:d64a9df0dc02
switch to automake/autoconf
author | carl |
---|---|
date | Sun, 19 Feb 2006 21:39:13 -0800 |
parents | 69ab1d8b3293 |
children | f4643b609bdf |
rev | line source |
---|---|
12
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
1 #!/bin/bash |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
2 |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
3 pst=outlook.pst |
18 | 4 cp /home/ldap/$pst . |
12
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
5 |
18 | 6 T=`grep AM_INIT_AUTOMAKE configure.in | cut -d'(' -f2` |
7 NAME=`echo $T | cut -d, -f1` | |
8 VER=`echo $T | cut -d, -f2 | cut -d')' -f1` | |
9 BALL=$NAME-$VER.tar.gz | |
10 web=/home/httpd/html/510sg/$NAME | |
11 distlog=/tmp/distcheck | |
12 | |
13 echo $web $BALL | |
14 | |
12
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
15 chown --recursive root:root * |
18 | 16 make -f *cvs |
17 ./configure >/dev/null | |
18 (cd xml; make; make distclean) | |
12
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
19 chown --recursive carl:carl * |
18 | 20 make distcheck >$distlog 2>&1 |
21 | |
22 exit | |
12
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
23 |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
24 if [ -f pst2ldif ]; then |
15 | 25 rm -f pst2ldif.log my.log |
12
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
26 ./pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
27 ./readpstlog pst2ldif.log | less >my.log |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
28 hexdump -C $pst >pst.dump |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
29 |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
30 grep '^dn:' ams.ldif | sort >aaa |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
31 grep '^dn:' /home/ldap/ams.ldif | sort >bbb |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
32 echo 'differences from nightly ldap' |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
33 diff aaa bbb |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
34 echo 'end differences' |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
35 rm -f aaa bbb |
3f627519a92d
properly ignore (second block zero) errors. that will just drop some unknown attachments, but the rest of the data is still found
carl
parents:
diff
changeset
|
36 fi |