Changeset 36782 in vbox
- Timestamp:
- Apr 21, 2011 7:57:54 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/lintian-override.in
r35301 r36782 15 15 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxNetDHCP.so 16 16 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxVRDP.so 17 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/V RDPAuth.so17 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxAuth.so 18 18 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxSVCM.so 19 19 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxC.so … … 29 29 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VirtualBox.so 30 30 %VERPKG%: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDbg.so 31 %VERPKG%: binary-without-manpage usr/bin/VBox 32 %VERPKG%: binary-without-manpage usr/bin/VBoxBalloonCtrl 33 %VERPKG%: binary-without-manpage usr/bin/VBoxHeadless 34 %VERPKG%: binary-without-manpage usr/bin/VBoxManage 35 %VERPKG%: binary-without-manpage usr/bin/VBoxSDL 36 %VERPKG%: binary-without-manpage usr/bin/VBoxTunctl 37 %VERPKG%: binary-without-manpage usr/bin/VBoxVRDP 38 %VERPKG%: binary-without-manpage usr/bin/VirtualBox 39 %VERPKG%: binary-without-manpage usr/bin/rdesktop-vrdp 40 %VERPKG%: binary-without-manpage usr/bin/vboxballoonctrl 41 %VERPKG%: binary-without-manpage usr/bin/vboxheadless 42 %VERPKG%: binary-without-manpage usr/bin/vboxmanage 43 %VERPKG%: binary-without-manpage usr/bin/vboxsdl 44 %VERPKG%: binary-without-manpage usr/bin/vboxwebsrv 45 %VERPKG%: binary-without-manpage usr/bin/virtualbox 31 46 %VERPKG%: unstripped-binary-or-object ./usr/lib/virtualbox/VBoxDDGC.gc 32 47 %VERPKG%: unstripped-binary-or-object ./usr/lib/virtualbox/VBoxDD2GC.gc … … 49 64 %VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxGuestControlSvc.so 50 65 %VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxVRDP.so 51 %VERPKG%: no-shlibs-control-file usr/lib/virtualbox/V RDPAuth.so66 %VERPKG%: no-shlibs-control-file usr/lib/virtualbox/VBoxAuth.so 52 67 %VERPKG%: binary-or-shlib-defines-rpath ./usr/bin/rdesktop-vrdp /usr/lib/virtualbox 53 68 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxDD.so /usr/lib/virtualbox … … 81 96 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxXPCOM.so /usr/lib/virtualbox 82 97 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxXPCOMIPCD /usr/lib/virtualbox 83 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/V RDPAuth.so /usr/lib/virtualbox98 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxAuth.so /usr/lib/virtualbox 84 99 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VirtualBox /usr/lib/virtualbox 85 100 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VirtualBox.so /usr/lib/virtualbox … … 89 104 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/components/VBoxXPCOMIPCC.so /usr/lib/virtualbox 90 105 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/kchmviewer /usr/lib/virtualbox 106 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/VBoxBalloonCtrl /usr/lib/virtualbox 91 107 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/vboxwebsrv /usr/lib/virtualbox 92 108 %VERPKG%: binary-or-shlib-defines-rpath ./usr/lib/virtualbox/webtest /usr/lib/virtualbox -
trunk/debian/postinst.in
r34679 r36782 1 1 #!/bin/sh 2 2 # 3 # Copyright (C) 2006-201 0Oracle Corporation3 # Copyright (C) 2006-2011 Oracle Corporation 4 4 # 5 5 # This file is part of VirtualBox Open Source Edition (OSE), as … … 68 68 fi 69 69 usb_createnode="/usr/share/virtualbox/VBoxCreateUSBNode.sh" 70 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"add\", RUN= ${usb_createnode} \$major \$minor \$attr{bDeviceClass}\"" ${usb_group}\71 >> /etc/udev/rules.d/10-vboxdrv.rules 72 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"add\", ENV{DEVTYPE}==\"usb_device\", RUN= ${usb_createnode} \$major \$minor \$attr{bDeviceClass}\"" ${usb_group}\73 >> /etc/udev/rules.d/10-vboxdrv.rules 74 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"remove\", RUN= ${usb_createnode} --remove \$major \$minor\"" \75 >> /etc/udev/rules.d/10-vboxdrv.rules 76 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"remove\", ENV{DEVTYPE}==\"usb_device\", RUN= ${usb_createnode} --remove \$major \$minor\"" \70 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"add\", RUN=\"${usb_createnode} \$major \$minor \$attr{bDeviceClass} ${usb_group}\"" \ 71 >> /etc/udev/rules.d/10-vboxdrv.rules 72 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"add\", ENV{DEVTYPE}==\"usb_device\", RUN=\"${usb_createnode} \$major \$minor \$attr{bDeviceClass} ${usb_group}\"" \ 73 >> /etc/udev/rules.d/10-vboxdrv.rules 74 echo "SUBSYSTEM=${udev_fix}\"usb_device\", ACTION=${udev_fix}\"remove\", RUN=\"${usb_createnode} --remove \$major \$minor\"" \ 75 >> /etc/udev/rules.d/10-vboxdrv.rules 76 echo "SUBSYSTEM=${udev_fix}\"usb\", ACTION=${udev_fix}\"remove\", ENV{DEVTYPE}==\"usb_device\", RUN=\"${usb_createnode} --remove \$major \$minor\"" \ 77 77 >> /etc/udev/rules.d/10-vboxdrv.rules 78 78 fi … … 116 116 chmod 4511 /usr/lib/virtualbox/VBoxNetAdpCtl 117 117 fi 118 if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxExtPackHelperApp > /dev/null 2>&1; then119 chmod 4511 /usr/lib/virtualbox/VBoxExtPackHelperApp120 fi121 118 122 119 # if INSTALL_NO_VBOXDRV is set to 1, remove all shipped modules … … 132 129 133 130 if [ "$1" = "configure" ]; then 134 # Start vboxdrv/vbox web-service manually as we use our own error handling in postrm131 # Start vboxdrv/vboxballoonctrl/vboxweb-service manually as we use our own error handling in postrm 135 132 if [ -x "/etc/init.d/vboxdrv" ]; then 136 133 update-rc.d vboxdrv defaults >/dev/null … … 183 180 fi 184 181 fi 182 if [ -x "/etc/init.d/vboxballoonctrl-service" ]; then 183 update-rc.d vboxballoonctrl-service defaults >/dev/null 184 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then 185 invoke-rc.d vboxballoonctrl-service start || exit $? 186 else 187 /etc/init.d/vboxballoonctrl-service start || exit $? 188 fi 189 fi 185 190 if [ -x "/etc/init.d/vboxweb-service" ]; then 186 191 update-rc.d vboxweb-service defaults >/dev/null -
trunk/debian/preinst.in
r32543 r36782 1 1 #!/bin/bash 2 2 # 3 # Copyright (C) 2006-201 0Oracle Corporation3 # Copyright (C) 2006-2011 Oracle Corporation 4 4 # 5 5 # This file is part of VirtualBox Open Source Edition (OSE), as … … 29 29 VBOXSVC_PID=`pidof VBoxSVC 2> /dev/null || true` 30 30 if [ -n "$VBOXSVC_PID" ]; then 31 if [ -f /etc/init.d/vboxballoonctrl-service ]; then 32 # try graceful termination; terminate the ballon control service first 33 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then 34 invoke-rc.d vboxballoonctrl-service stop || true 35 else 36 /etc/init.d/vboxballoonctrl-service stop || true 37 fi 38 fi 31 39 if [ -f /etc/init.d/vboxweb-service ]; then 32 40 # try graceful termination; terminate the webservice first … … 36 44 /etc/init.d/vboxweb-service stop || true 37 45 fi 38 kill -USR1 $VBOXSVC_PID39 46 fi 47 kill -USR1 $VBOXSVC_PID 40 48 sleep 1 41 49 if pidof VBoxSVC > /dev/null 2>&1; then -
trunk/debian/prerm.in
r34603 r36782 38 38 VBOXSVC_PID=`pidof VBoxSVC 2>/dev/null` 39 39 if [ -n "$VBOXSVC_PID" ]; then 40 # try graceful termination; terminate the balloon control servic first 41 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then 42 invoke-rc.d vboxballoonctrl-service stop || true 43 else 44 /etc/init.d/vboxballoonctrl-service stop || true 45 fi 40 46 # try graceful termination; terminate the webservice first 41 47 if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then -
trunk/debian/rules
r36554 r36782 1 1 #!/usr/bin/make -f 2 2 # 3 # Copyright (C) 2006-201 0Oracle Corporation3 # Copyright (C) 2006-2011 Oracle Corporation 4 4 # 5 5 # This file is part of VirtualBox Open Source Edition (OSE), as … … 64 64 65 65 # shipping Linux kernel modules with bleeding-edge releases doesn't make sense 66 instmod := $(if $(filter _Ubuntu_lucid _Debian_sid,$(debrel)),,1) 67 68 # Locations of custom built Qt libraries (see below) 69 qtstdc5 := /home/vbox/Qt-4.4.3-stdc++5-$(arch) 66 instmod := $(if $(filter _Ubuntu_lucid _Ubuntu_maverick _Ubuntu_natty _Debian_sid,$(debrel)),,1) 67 68 # Location of custom built Qt libraries (see below) 70 69 qtstdc6 := /home/vbox/Qt-4.4.3-stdc++6-$(arch) 71 70 … … 151 150 dh_testroot 152 151 rm -f debian/preinst debian/postinst debian/prerm 153 rm -f debian/$(package).init debian/vboxdrv.init debian/vboxweb-service.init 152 rm -f debian/$(package).init debian/vboxdrv.init 153 rm -f debian/vboxballoonctrl-service.init debian/vboxweb-service.init 154 154 rm -f debian/AutoConfig.kmk debian/configure.log debian/env.sh 155 155 rm -f debian/modules-stamp debian/build-stamp debian/configure-stamp … … 181 181 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor 182 182 cd $(archdir)/icons; for i in *; do \ 183 if [ -f $$i/virtualbox.png ]; then \ 184 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/apps; \ 185 mv $$i/virtualbox.png $(prefix)/usr/share/icons/hicolor/$$i/apps; \ 186 fi; \ 183 187 install -d -g 0 -o 0 $(prefix)/usr/share/icons/hicolor/$$i/mimetypes; \ 184 mv $$i/* $(prefix)/usr/share/icons/hicolor/$$i/mimetypes ; \188 mv $$i/* $(prefix)/usr/share/icons/hicolor/$$i/mimetypes || true; \ 185 189 rmdir $$i; \ 186 190 done … … 216 220 mv $(archdir)/vboxshell.py $(prefix)/usr/lib/$(package) 217 221 mv $(archdir)/sdk $(prefix)/usr/lib/$(package) 218 install -D -g 0 -o 0 -m 644 debian/VBox.sh $(prefix)/usr/bin/VBox222 install -D -g 0 -o 0 -m 644 $(vboxroot)/src/VBox/Installer/linux/debian/VBox.sh $(prefix)/usr/bin/VBox 219 223 mv $(archdir)/VBoxSysInfo.sh $(prefix)/usr/share/$(package) 220 224 mv $(archdir)/VBoxCreateUSBNode.sh $(prefix)/usr/share/$(package) 221 225 for i in VBoxManage VBoxSVC $(if $(HEADLESS),,VBoxSDL) \ 222 226 $(if $(NOQT),,VirtualBox) VBoxHeadless \ 223 VBoxExtPackHelperApp \227 VBoxExtPackHelperApp VBoxBalloonCtrl \ 224 228 $(if $(NOWEBSVC),,vboxwebsrv webtest); do \ 225 229 mv $(archdir)/$$i $(prefix)/usr/lib/$(package); done … … 239 243 dh_installdocs \ 240 244 $(archdir)/UserManual*.pdf $(archdir)/VirtualBox*.chm \ 241 $(addprefix $(archdir)/, $(if $(HEADLESS),,License-*.html)LICENSE)245 $(addprefix $(archdir)/, LICENSE) 242 246 rm $(addprefix $(archdir)/,UserManual*.pdf VirtualBox*.chm \ 243 LICENSE $(if $(HEADLESS),,License-*.html))247 LICENSE) 244 248 for i in rdesktop-vrdp.tar.gz additions/VBoxGuestAdditions.iso; do \ 245 249 mv $(archdir)/$$i $(prefix)/usr/share/$(package); done … … 267 271 usr/bin/VBox usr/bin/VBoxHeadless \ 268 272 usr/bin/VBox usr/bin/vboxheadless \ 273 usr/bin/VBox usr/bin/VBoxBalloonCtrl \ 274 usr/bin/VBox usr/bin/vboxballoonctrl \ 269 275 $(if $(NOWEBSVC),,usr/bin/VBox usr/bin/vboxwebsrv) \ 270 276 usr/share/virtualbox/src/vboxhost usr/src/vboxhost-$(ver) … … 275 281 -e 's|%DEBIAN%|yes|g' \ 276 282 -e 's|%PACKAGE%|virtualbox|g' \ 283 -e "s|%GROUP%|$(if $(VBOX_WITHOUT_HARDENING),vboxusers,root)|g" \ 277 284 $(vboxroot)/src/VBox/Installer/linux/vboxdrv.sh.in > debian/vboxdrv.init 278 285 dh_installinit --name=vboxdrv --noscripts 286 sed \ 287 -e 's|%NOLSB%||g' \ 288 -e 's|%DEBIAN%|yes|g' \ 289 -e 's|%PACKAGE%|virtualbox|g' \ 290 $(vboxroot)/src/VBox/Installer/linux/vboxballoonctrl-service.sh.in > debian/vboxballoonctrl-service.init 291 dh_installinit --name=vboxballoonctrl-service --noscripts 279 292 sed \ 280 293 -e 's|%NOLSB%||g' \ -
trunk/src/VBox/Installer/linux/VBox.sh
r33231 r36782 94 94 exec "$INSTALL_DIR/VBoxHeadless" "$@" 95 95 ;; 96 VBoxBalloonCtrl|vboxballoonctrl) 97 exec "$INSTALL_DIR/VBoxBalloonCtrl" "$@" 98 ;; 96 99 vboxwebsrv) 97 100 exec "$INSTALL_DIR/vboxwebsrv" "$@" -
trunk/src/VBox/Installer/linux/debian/VBox.sh
r36714 r36782 86 86 exec "/usr/lib/virtualbox/VBoxHeadless" "$@" 87 87 ;; 88 VBoxBalloonCtrl|vboxballoonctrl) 89 exec "/usr/lib/virtualbox/VBoxBalloonCtrl" "$@" 90 ;; 88 91 vboxwebsrv) 89 92 exec "/usr/lib/virtualbox/vboxwebsrv" "$@" 90 ;;91 VBoxBalloonCtrl|vboxballoonctrl)92 exec "/usr/lib/virtualbox/VBoxBalloonCtrl" "$@"93 93 ;; 94 94 *) -
trunk/src/VBox/Installer/linux/debian/rules
r36758 r36782 68 68 debver :=$(subst _ALPHA,~alpha,$(subst _BETA,~beta,$(ver)))$(svnver)$(if \ 69 69 $(BLEEDING_EDGE),-$(BLEEDING_EDGE),)$(VERSUFFIX)$(if \ 70 $(HEADLESS), _headless,)$(if $(DEBUG),_dbg,)70 $(HEADLESS),~headless,)$(if $(DEBUG),~dbg,) 71 71 archdir := $(prefix)/opt/VirtualBox-$(ver) 72 72 endif … … 81 81 82 82 # shipping Linux kernel modules with bleeding-edge releases doesn't make sense 83 instmod := $(if $(filter _Ubuntu_lucid _ Debian_sid,$(debrel)),,1)83 instmod := $(if $(filter _Ubuntu_lucid _Ubuntu_maverick _Ubuntu_natty _Debian_sid,$(debrel)),,1) 84 84 85 85 ifneq ($(MAKECMDGOALS),clean) … … 90 90 endif 91 91 92 # Locations of custom built Qt libraries (see below) 93 qtstdc5 := /home/vbox/Qt-4.4.3-stdc++5-$(arch) 92 # Location of custom built Qt libraries (see below) 94 93 qtstdc6 := /home/vbox/Qt-4.4.3-stdc++6-$(arch) 95 94 -
trunk/src/VBox/Installer/linux/rpm/rules
r36714 r36782 56 56 endif 57 57 58 ifeq ($(filter-out rhel4 rhel5 rhel6 ol4 ol5 ol6 centos4 centos5 centos6 fedora9 fedora11 fedora12 fedora13 fedora14 pclinuxos2007turbolinux11,$(rpmrel)),)58 ifeq ($(filter-out rhel4 rhel5 rhel6 ol4 ol5 ol6 centos4 centos5 centos6 fedora9 fedora11 fedora12 fedora13 fedora14 fedora15 turbolinux11,$(rpmrel)),) 59 59 rpmspec := rpm_redhat 60 60 endif … … 80 80 81 81 # Fedora13/14 is bleeding edge, the other jails have outdated kernel headers 82 instmod := $(if $(filter rhel4 rhel5 rhel6 ol4 ol5 ol6 centos4 centos5 centos6 sles10.1 sles11.0 pclinuxos2007 fedora13 fedora14,$(rpmrel)),,install_rpm)82 instmod := $(if $(filter rhel4 rhel5 rhel6 ol4 ol5 ol6 centos4 centos5 centos6 sles10.1 sles11.0 fedora13 fedora14 fedora15,$(rpmrel)),,install_rpm) 83 83 84 84 ifneq ($(STAGEDISO),)
Note:
See TracChangeset
for help on using the changeset viewer.