Line
Link Here
|
0 |
-- revdep-rebuild.orig 2005-04-26 02:38:55.000000000 +0200 |
0 |
++ revdep-rebuild 2005-07-05 21:24:36.000000000 +0200 |
Lines 23-31
Link Here
|
23 |
LD_LIBRARY_MASK="libodbcinst.so libodbc.so libjava.so libjvm.so" |
23 |
LD_LIBRARY_MASK="libodbcinst.so libodbc.so libjava.so libjvm.so" |
24 |
# List of directories to be searched (feel free to edit it) |
24 |
# List of directories to be searched (feel free to edit it) |
25 |
# Note /usr/libexec and /usr/local/subprefix cotradicts FHS, but are present |
25 |
# Note /usr/libexec and /usr/local/subprefix contradicts FHS, but are present |
26 |
# /var/something is for cgi and similar scripts |
26 |
# /var/something is for cgi and similar scripts |
27 |
SEARCH_DIRS="/lib /bin /sbin /usr/lib /usr/bin /usr/sbin /usr/libexec /usr/X11R6/lib /usr/X11R6/bin /usr/X11R6/sbin /usr/e1* /usr/local /usr/qt* /usr/kde/*/bin /usr/kde/*/lib /usr/*-*-linux-gnu /opt /var/qmail /var/vpopmail /home/httpd/cgi-bin" |
27 |
SEARCH_DIRS="/lib /bin /sbin /usr/lib /usr/bin /usr/sbin /usr/libexec /usr/X11R6/lib /usr/X11R6/bin /usr/X11R6/sbin /usr/e1* /usr/local /usr/qt* /usr/kde/*/bin /usr/kde/*/lib /usr/*-*-linux-gnu /opt /var/qmail /var/vpopmail /home/httpd/cgi-bin" |
28 |
# Base of temporary files names. |
28 |
# Base of temporary files names. |
29 |
LIST=~/.revdep-rebuild |
29 |
LIST=~/.revdep-rebuild |
Lines 48-53
Link Here
|
48 |
SONAME="not found" |
48 |
SONAME="not found" |
49 |
SONAME_GREP=fgrep |
49 |
SONAME_GREP=fgrep |
50 |
SEARCH_BROKEN=true |
50 |
SEARCH_BROKEN=true |
|
|
51 |
IGNORE_BINARY=false |
51 |
while : ; do |
52 |
while : ; do |
52 |
case "$1" in |
53 |
case "$1" in |
Lines 63-68
Link Here
|
63 |
echo " --soname-regexp SONAME" |
64 |
echo " --soname-regexp SONAME" |
64 |
echo " the same as --soname, but accepts grep-style regexp" |
65 |
echo " the same as --soname, but accepts grep-style regexp" |
65 |
echo " -q, --quiet be less verbose" |
66 |
echo " -q, --quiet be less verbose" |
|
|
67 |
echo " -b, --ignore-binary ignore binary packages" |
66 |
echo |
68 |
echo |
67 |
echo "Calls emerge, all other options are used for it (e. g. -p, --pretend)." |
69 |
echo "Calls emerge, all other options are used for it (e. g. -p, --pretend)." |
68 |
echo |
70 |
echo |
Lines 73-78
Link Here
|
73 |
PACKAGE_NAMES=true |
75 |
PACKAGE_NAMES=true |
74 |
shift |
76 |
shift |
75 |
;; |
77 |
;; |
|
|
78 |
-b | --ignore-binary ) |
79 |
IGNORE_BINARY=true |
80 |
shift |
81 |
;; |
76 |
-q | --quiet ) |
82 |
-q | --quiet ) |
77 |
alias echo_v=: |
83 |
alias echo_v=: |
78 |
shift |
84 |
shift |
Lines 138-144
Link Here
|
138 |
echo |
144 |
echo |
139 |
echo "Checking reverse dependencies..." |
145 |
echo "Checking reverse dependencies..." |
140 |
echo "Packages containing binaries and libraries $HEAD_TEXT," |
146 |
echo "Packages containing binaries and libraries $HEAD_TEXT," |
141 |
echo "will be recompiled." |
147 |
if $IGNORE_BINARY; then |
|
|
148 |
echo "will be recompiled, binary packages will be omitted." |
149 |
else |
150 |
echo "will be recompiled." |
151 |
fi |
142 |
echo |
152 |
echo |
143 |
echo -n -e "${GR}Collecting system binaries and libraries...${NO}" |
153 |
echo -n -e "${GR}Collecting system binaries and libraries...${NO}" |
Lines 261-266
Link Here
|
261 |
RAW_REBUILD_LIST="$(cat $LLIST.4_ebuilds | sed s/^/=/ | tr '\n' ' ')" |
271 |
RAW_REBUILD_LIST="$(cat $LLIST.4_ebuilds | sed s/^/=/ | tr '\n' ' ')" |
262 |
fi |
272 |
fi |
|
|
273 |
if $IGNORE_BINARY; then |
274 |
echo |
275 |
echo -n -e "${GR}Filtering out binary packages...${NO}" |
276 |
RAW_REBUILD_LIST="$(echo $RAW_REBUILD_LIST | sed '/-bin$/d;/-bin-/d')" |
277 |
if [ $? -eq 0 ]; then |
278 |
echo -e " done.\n" |
279 |
else |
280 |
echo -e " failed.\n" |
281 |
exit 1 |
282 |
fi |
283 |
fi |
284 |
|
263 |
echo |
285 |
echo |
264 |
echo -n -e "${GR}Evaluating package order...${NO}" |
286 |
echo -n -e "${GR}Evaluating package order...${NO}" |
265 |
if [ -f $LLIST.5_order ] ; then |
287 |
if [ -f $LLIST.5_order ] ; then |