blob: 9b59f40cfa556abd505a694db89018d5a398bc10 (
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
59
60
61
62
63
64
65
|
/^(a|ap|d|e|f|k|kde|kdei|l|mac|n|t|tcl|x|xap|xfce|y)\/([a-zA-Z0-9_\+.\-]+):.* ([Aa]dded|[Ss]plit|[Rr]enamed|[Mm]oved|[Nn]ame [Cc]hange|NAME CHANGE|[Ss]witched).*/ {
INPUT=$1
fs=FS
FS="/" ; OFS="/"
$0=INPUT
FULLPACK=$NF
FS="-" ; OFS="-"
$0=FULLPACK
if ( NF > 3 ) {
NF=NF-3
} else {
FS=":" ; OFS=":"
$0=$0
$0=$1
}
FS=fs
CONTINUE=no
print $0
}
/^patches\/packages\/([a-zA-Z0-9_\+.\-]+):.* ([Aa]dded|[Ss]plit|[Rr]enamed|[Mm]oved|[Nn]ame [Cc]hange|NAME CHANGE|[Ss]witched).*/ {
INPUT=$1
fs=FS
FS="/" ; OFS="/"
$0=INPUT
FULLPACK=$NF
FS="-" ; OFS="-"
$0=FULLPACK
if ( NF > 3 ) {
NF=NF-3
} else {
FS=":" ; OFS=":"
$0=$0
$0=$1
}
FS=fs
CONTINUE=no
print $0
}
/^(a|ap|d|e|f|k|kde|kdei|l|mac|n|t|tcl|x|xap|xfce|y)\/([a-zA-Z0-9_\+.\-]+): *$/ {
INPUT=$1
fs=FS
FS="/" ; OFS="/"
$0=INPUT
FULLPACK=$NF
FS="-" ; OFS="-"
$0=FULLPACK
if ( NF > 3 ) {
NF=NF-3
} else {
FS=":"
$0=$1
}
FS=fs
CONTINUE=yes
NAME=$0
}
/^ *([Aa]dded|[Ss]plit|[Rr]enamed|[Mm]oved|[Nn]ame [Cc]hange|NAME CHANGE|[Ss]witched).*/ {
if ( CONTINUE==yes ) {
print NAME
}
CONTINUE=no
}
|