]>
Commit | Line | Data |
---|---|---|
ed1ec331 ER |
1 | #!/bin/sh |
2 | ||
3 | export LC_ALL=C | |
4 | ||
5 | filter_deps() { | |
6 | grep -Ev "(FileDigestParameterized|unsatisfied dependencies found|-multilib-|zsh/latest/functions|VirtualBox.*libc\.so\.6|obextool.*libc\.so\.6)" | \ | |
7 | grep -v "uname(release)" | | |
8 | grep -v "/eclipse/" | |
9 | } | |
10 | ||
11 | group_deps() { | |
12 | local t=$(mktemp) | |
13 | cat > $t | |
14 | sed -ne 's/.*req \(.*\) not found.*/\1/p' $t | sort -u | while read dep; do | |
15 | grep -F "req $dep not found" $t | |
16 | done | |
17 | rm -f $t | |
18 | } | |
19 | ||
20 | gen_list() { | |
21 | date | |
22 | /usr/bin/poldek -O "auto directory dependencies = yes" \ | |
23 | --ignore "*-debuginfo-*" --ignore "db4.6*" \ | |
24 | --ignore "boost*1.34*" \ | |
25 | --ignore "krb5*" \ | |
26 | --ignore "libjpeg6*" \ | |
27 | --ignore "libpthread-stubs-devel*" \ | |
28 | --ignore "monodoc-*" \ | |
29 | --ignore "arts-*" --ignore "artsc-*" \ | |
30 | --ignore "esound-*" \ | |
31 | --ignore "opera-plugin32-*" \ | |
32 | --ignore "nspluginwrapper-*" \ | |
33 | --ignore "mbrola-voice-*" \ | |
34 | --ignore "hal" \ | |
35 | --ignore "hal-libs" \ | |
36 | --ignore "quicktime4linux*" \ | |
37 | --verify=deps -Q "$@" | filter_deps | group_deps | sort | |
38 | } | |
39 | ||
40 | gen_list_uniq() { | |
41 | gen_list -O "unique package names = yes" "$@" | |
42 | } | |
43 | ||
44 | t=$(mktemp) | |
45 | ftpdir=$HOME/ftp | |
46 | gen_list -s $ftpdir/PLD/x86_64/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ > $t && cat $t > $HOME/www/main.txt | |
47 | gen_list_uniq -s $ftpdir/PLD/x86_64/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/x86_64/RPMS/ -s $ftpdir/ready/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready.txt | |
48 | gen_list_uniq -s $ftpdir/PLD/x86_64/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/x86_64/RPMS/ -s $ftpdir/ready/noarch/RPMS/ -s $ftpdir/test/x86_64/RPMS/ -s $ftpdir/test/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-test.txt | |
49 | ||
50 | gen_list -s $ftpdir/PLD/i686/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ > $t && cat $t > $HOME/www/main-i686.txt | |
51 | gen_list_uniq -s $ftpdir/PLD/i686/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/i686/RPMS/ -s $ftpdir/ready/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-i686.txt | |
52 | gen_list_uniq -s $ftpdir/PLD/i686/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/i686/RPMS/ -s $ftpdir/ready/noarch/RPMS/ -s $ftpdir/test/i686/RPMS/ -s $ftpdir/test/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-test-i686.txt | |
53 | ||
54 | gen_list -s $ftpdir/PLD/i486/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ > $t && cat $t > $HOME/www/main-i486.txt | |
55 | gen_list_uniq -s $ftpdir/PLD/i486/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/i486/RPMS/ -s $ftpdir/ready/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-i486.txt | |
56 | gen_list_uniq -s $ftpdir/PLD/i486/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/i486/RPMS/ -s $ftpdir/ready/noarch/RPMS/ -s $ftpdir/test/i486/RPMS/ -s $ftpdir/test/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-test-i486.txt | |
57 | ||
58 | (date; $HOME/bin/ac-th-diff.py) > $t && cat $t > $HOME/www/ac-th-diff.txt | |
59 | ||
60 | chmod 644 $HOME/www/*.txt | |
61 | rm -f $t |