annotate package @ 21:e5418051878c

switch to automake/autoconf
author carl
date Sun, 19 Feb 2006 21:27:03 -0800
parents 69ab1d8b3293
children f4643b609bdf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
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
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
6 T=`grep AM_INIT_AUTOMAKE configure.in | cut -d'(' -f2`
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
7 NAME=`echo $T | cut -d, -f1`
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
8 VER=`echo $T | cut -d, -f2 | cut -d')' -f1`
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
9 BALL=$NAME-$VER.tar.gz
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
10 web=/home/httpd/html/510sg/$NAME
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
11 distlog=/tmp/distcheck
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
12
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
13 echo $web $BALL
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
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
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
16 make -f *cvs
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
17 ./configure >/dev/null
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
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
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
20 make distcheck >$distlog 2>&1
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
21
69ab1d8b3293 switch to automake/autoconf
carl
parents: 15
diff changeset
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
ac98f448b6ab patches from debian
carl
parents: 12
diff changeset
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