Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31345 Details for
Bug 32737
Compiling external kernel modules with 2.6 kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vmware-workstation-4.5.1.7568.ebuild.diff (kalin)
vmware-workstation-4.5.1.7568.ebuild.diff (text/plain), 2.51 KB, created by
Kalin KOZHUHAROV
on 2004-05-13 10:08:03 UTC
(
hide
)
Description:
vmware-workstation-4.5.1.7568.ebuild.diff (kalin)
Filename:
MIME Type:
Creator:
Kalin KOZHUHAROV
Created:
2004-05-13 10:08:03 UTC
Size:
2.51 KB
patch
obsolete
>--- /usr/portage/app-emulation/vmware-workstation/vmware-workstation-4.5.1.7568.ebuild 2004-04-29 05:40:57.000000000 +0900 >+++ /usr/portage-kalin/app-emulation/vmware-workstation/vmware-workstation-4.5.1.7568.ebuild 2004-05-14 00:42:31.296193512 +0900 >@@ -41,11 +41,26 @@ > src_unpack() { > check_KV > unpack ${NP}.tar.gz >+ >+ for module in vmmon vmnet >+ do >+ einfo "Patching ${module} for KOUTPUT support..." >+ tar -C "${WORKDIR}" -x -f "${S}/lib/modules/source/${module}.tar" || die >+ cd "${WORKDIR}/${module}-only" >+ epatch "${FILESDIR}/${module}-${PV}-koutput.patch" >+ chmod +w ${S}/lib/modules/source/${module}.tar >+ tar -C "${WORKDIR}" -c ${module}-only > "${S}/lib/modules/source/${module}.tar" || die >+ done >+ >+ einfo "Patching vmware-config.pl for KOUTPUT support..." >+ cd "${S}/bin" >+ epatch "${FILESDIR}/vmware-config-${PV}-koutput.patch" > } > > src_install() { > dodir /opt/vmware/bin > cp -a bin/* ${D}/opt/vmware/bin/ >+ sed -ie 's,exec,unset $(locale | awk -F= '\''{print $1}'\'')\nexec,' ${D}/opt/vmware/bin/vmware || die > # vmware and vmware-ping needs to be suid root. > chmod u+s ${D}/opt/vmware/bin/vmware || die > chmod u+s ${D}/opt/vmware/bin/vmware-ping || die >@@ -113,6 +128,7 @@ > echo "answer RUN_CONFIGURATOR no" >> ${locations} > echo "answer INITDIR /etc/vmware/init.d" >> ${locations} > echo "answer INITSCRIPTSDIR /etc/vmware/init.d" >> ${locations} >+ echo "answer HEADER_DIR /usr/src/linux/include" >> ${locations} > } > > pkg_preinst() { >@@ -127,22 +143,23 @@ > #(drobbins, 1 Feb 2002) > > einfo "Generating /etc/vmware/locations file." >+ locations="${D}/etc/vmware/locations" > d=`echo ${D} | wc -c` > for x in `find ${D}/opt/vmware ${D}/etc/vmware` ; do > x="`echo ${x} | cut -c ${d}-`" > if [ -d ${D}/${x} ] ; then >- echo "directory ${x}" >> ${D}/etc/vmware/locations >+ echo "directory ${x}" >> ${locations} > else >- echo -n "file ${x}" >> ${D}/etc/vmware/locations >+ echo -n "file ${x}" >> ${locations} > if [ "${x}" == "/etc/vmware/locations" ] ; then >- echo "" >> ${D}/etc/vmware/locations >+ echo "" >> ${locations} > elif [ "${x}" == "/etc/vmware/not_configured" ] ; then >- echo "" >> ${D}/etc/vmware/locations >+ echo "" >> ${locations} > else >- echo -n " " >> ${D}/etc/vmware/locations >+ echo -n " " >> ${locations} > #perl -e "@a = stat('${D}${x}'); print \$a[9]" >> ${D}/etc/vmware/locations >- find ${D}${x} -printf %T@ >> ${D}/etc/vmware/locations >- echo "" >> ${D}/etc/vmware/locations >+ find ${D}${x} -printf %T@ >> ${locations} >+ echo "" >> ${locations} > fi > fi > done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32737
:
23927
|
24094
|
24095
|
24096
|
24131
|
24646
|
24647
|
24649
|
24650
|
24651
|
25235
|
25237
|
25238
|
25239
|
25279
|
25280
|
25281
|
25282
|
25283
|
25363
|
25453
|
25454
|
25497
|
26588
|
26635
|
26643
|
27538
|
30030
|
31314
|
31315
|
31317
| 31345 |
31346
|
31347
|
32935
|
33123
|
33124
|
33125
|
33356
|
36615