Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maxim Karasev
aports
Commits
d696932e
Commit
d696932e
authored
8 years ago
by
Carlo Landmeter
Browse files
Options
Downloads
Patches
Plain Diff
main/open-vm-tools: reformat apkbuild and rebuild against libtirpc
parent
952fdbfe
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/open-vm-tools/APKBUILD
+6
-29
6 additions, 29 deletions
main/open-vm-tools/APKBUILD
with
6 additions
and
29 deletions
main/open-vm-tools/APKBUILD
+
6
−
29
View file @
d696932e
...
...
@@ -3,7 +3,7 @@ pkgname=open-vm-tools
pkgver
=
10.0.7
_pkgsubver
=
${
pkgver
#*_p
}
_ver
=
${
pkgver
/_p/-
}
pkgrel
=
3
pkgrel
=
4
pkgdesc
=
"The Open Virtual Machine Tools are the open source implementation of VMware Tools."
url
=
"https://github.com/vmware/open-vm-tools/"
...
...
@@ -32,38 +32,15 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/vmware/open-vm-tools/archive
open-vm-tools.initd
"
_builddir
=
"
$srcdir
"
/open-vm-tools-stable-
$_ver
#/open-vm-tools
prepare
()
{
cd
"
$_builddir
"
for
patch
in
$source
;
do
case
$patch
in
*
.patch
)
msg
"Applying patch
$patch
"
patch
-p1
-i
"
$srcdir
"
/
$patch
||
return
1
;;
esac
done
cd
open-vm-tools
# workaround automake-1.10 issue
# http://ramblingfoo.blogspot.com/2007/07/required-file-configrpath-not-
mkdir
-p
config
touch
config/config.rpath
libtoolize
--force
--install
&&
aclocal
-I
m4
-I
config
&&
autoconf
\
&&
automake
--add-missing
}
builddir
=
"
$srcdir
"
/open-vm-tools-stable-
$_ver
build
()
{
export
CUSTOM_PROCPS_NAME
=
"procps"
export
CFLAGS
=
"
$CFLAGS
-Wno-unused-but-set-variable -fpermissive -D_GNU_SOURCE"
export
CXXFLAGS
=
"
$CXXFLAGS
-std=gnu++11 -fpermissive"
mkdir
"
$
_
builddir
"
/
build
cd
"
$_builddir
"
/build
.
./open-vm-tools
/configure
\
cd
"
$builddir
"
/
open-vm-tools
autoreconf
-vif
||
return
1
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
...
...
@@ -81,7 +58,7 @@ build() {
}
package
()
{
cd
"
$
_
builddir
"
/
build
cd
"
$builddir
"
/
open-vm-tools
make
install
DESTDIR
=
$pkgdir
||
return
1
install
-Dm755
"
$srcdir
"
/open-vm-tools.initd
\
"
$pkgdir
"
/etc/init.d/open-vm-tools
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment