blob: 3fc31e15379383e87b137f990901a054d6fc00b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#!/bin/sh
# dependees maintained by the same maintainer are listed without
# name/email. only "external" dependees (ones maintained by someone else)
# have the name/email displayed.
EES=ees
if [ "$( basename $0 )" = "getmaintreqs" ]; then
REV=-r
EES=encies
fi
source ~/sbostuff/sbostuff.sh
##if [ "$1" = "-b" ]; then
## shift
## builds="$1"
## cdsb $builds && maint="$( source ./*.info && echo $MAINTAINER )"
## shift
## if [ "$*" ]; then
## echo "$( basename $0 ): -b only allows one build" 1>&2
## exit 1
## fi
##else
## maint="$*"
## builds="$( getmaintbuilds "$@" )"
##fi
maint="$*"
builds="$( getmaintbuilds "$@" )"
for i in $builds; do
set $( hoorex -m $REV $i )
if [ "$2" ]; then
echo -n "$1"
shift
echo -n ": "
can_orphan=yes
for j in "$@"; do
echo -n "$j "
cdsb $j
source ./$j.info
if [ "$MAINTAINER" != "$maint" -a "$EMAIL" != "NOEMAIL" ]; then
can_orphan=no
echo -n "('$MAINTAINER' $EMAIL) "
fi
done
echo
[ "$can_orphan" = "yes" ] && orphanable+="$i "
else
orphanable+="$1 "
fi
done
if [ "$orphanable" != "" ]; then
echo "These have no depend$EES by other maintainers:"
echo "$orphanable"
fi
|