Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Gitlab has been upgraded to v13.9
🎉
. Enjoy
Open sidebar
alpine
abuild
Commits
4dfc5794
Commit
4dfc5794
authored
Oct 20, 2017
by
Ariadne Conill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
abuild: log command: providers
parent
83f37d00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
abuild.in
abuild.in
+18
-0
No files found.
abuild.in
View file @
4dfc5794
...
...
@@ -1004,6 +1004,19 @@ prepare_pkgconfig_provides() {
done
}
prepare_command_provides
()
{
local
dir
=
"${subpkgdir:-$pkgdir}"
options_has
"!tracedeps"
&&
return
0
cd
"$dir"
||
return
1
for
i
in
bin
/*
sbin
/*
usr
/
bin
/*
usr
/
sbin
/*;
do
if
! [ -x "$i" ]; then
continue
fi
local
f
=${
i
##*/}
echo
$
f
>>
"$controldir"
/.
provides
-
command
done
}
#
check
if
dir
has
arch
specific
binaries
dir_has_arch_binaries
()
{
local
dir
=
"$1"
...
...
@@ -1047,6 +1060,7 @@ prepare_package() {
&&
prepare_trace_rpaths
\
&&
prepare_symlinks
\
&&
prepare_pkgconfig_provides
\
&&
prepare_command_provides
\
||
return
1
archcheck
}
...
...
@@ -1184,6 +1198,10 @@ trace_apk_deps() {
sed
's/^/provides = pc:/'
"$dir"
/.
provides
-
pc
|
sort
-
u
\
>>
"$dir"
/.
PKGINFO
fi
if
[
-
f
"$dir"
/.
provides
-
command
];
then
sed
's/^/provides = command:/'
"$dir"
/.
provides
-
command
|
sort
-
u
\
>>
"$dir"
/.
PKGINFO
fi
[
-
z
"$autodeps"
]
&&
return
0
for
i
in
$
autodeps
;
do
echo
"depend = $i"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment