Index: head/sysutils/py-google-compute-engine/Makefile =================================================================== --- head/sysutils/py-google-compute-engine/Makefile (revision 452168) +++ head/sysutils/py-google-compute-engine/Makefile (revision 452169) @@ -1,46 +1,46 @@ # $FreeBSD$ PORTNAME= google-compute-engine PORTVERSION= 2.4.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= helen.koike@collabora.com COMMENT= Guest Environment for Google Compute Engine LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto \ ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr \ ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces \ sudo:security/sudo USES= python USE_PYTHON= autoplist concurrent distutils USE_RC_SUBR= google_instance_setup \ google_network_setup \ google_accounts_daemon \ google_clock_skew_daemon \ google_ip_forwarding_daemon \ google_startup NO_ARCH= yes SUB_LIST= PYTHON_CMD="${PYTHON_CMD}" REINPLACE_ARGS= -i '' post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/google_compute_engine/accounts/accounts_utils.py \ ${WRKSRC}/google_compute_engine/boto/boto_config.py \ ${WRKSRC}/google_compute_engine/boto/compute_auth.py \ ${WRKSRC}/google_compute_engine/config_manager.py \ ${WRKSRC}/google_compute_engine/instance_setup/instance_config.py \ ${WRKSRC}/google_compute_engine/metadata_scripts/script_executor.py \ ${WRKSRC}/google_compute_engine/network_setup/network_setup.py .include Index: head/sysutils/py-google-compute-engine/files/google_clock_skew_daemon.in =================================================================== --- head/sysutils/py-google-compute-engine/files/google_clock_skew_daemon.in (revision 452168) +++ head/sysutils/py-google-compute-engine/files/google_clock_skew_daemon.in (revision 452169) @@ -1,34 +1,34 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: google_clock_skew_daemon # BEFORE: LOGIN -# REQUIRE: NETWORKING syslogd google_instance_setup google_network_setup +# REQUIRE: NETWORKING syslogd ntpd google_instance_setup google_network_setup # KEYWORD: shutdown # # google_clock_skew_daemon_enable (bool): Set to NO by default. # Set it to YES to enable google_clock_skew_daemon. # . /etc/rc.subr name="google_clock_skew_daemon" rcvar="google_clock_skew_daemon_enable" load_rc_config "${name}" : ${google_clock_skew_daemon_enable:="NO"} command_interpreter="%%PYTHON_CMD%%" command=%%PREFIX%%/bin/${name} pidfile=/var/run/${name}.pid start_cmd="google_clock_skew_daemon_start" google_clock_skew_daemon_start() { check_startmsgs && echo "Starting ${name}." daemon -p ${pidfile} -t ${name} ${command} } run_rc_command "$1" Index: head/sysutils/py-google-compute-engine/files/google_instance_setup.in =================================================================== --- head/sysutils/py-google-compute-engine/files/google_instance_setup.in (revision 452168) +++ head/sysutils/py-google-compute-engine/files/google_instance_setup.in (revision 452169) @@ -1,26 +1,27 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: google_instance_setup # BEFORE: LOGIN # REQUIRE: NETWORKING syslogd # # google_instance_setup_enable (bool): Set to NO by default. # Set it to YES to enable google_instance_setup. # . /etc/rc.subr name="google_instance_setup" rcvar="google_instance_setup_enable" +stop_cmd=":" load_rc_config "${name}" : ${google_instance_setup_enable:="NO"} command_interpreter="%%PYTHON_CMD%%" command=%%PREFIX%%/bin/${name} pidfile=/var/run/${name}.pid run_rc_command "$1" Index: head/sysutils/py-google-compute-engine/files/google_network_setup.in =================================================================== --- head/sysutils/py-google-compute-engine/files/google_network_setup.in (revision 452168) +++ head/sysutils/py-google-compute-engine/files/google_network_setup.in (revision 452169) @@ -1,26 +1,27 @@ #!/bin/sh # $FreeBSD$ # # PROVIDE: google_network_setup # BEFORE: LOGIN # REQUIRE: NETWORKING syslogd google_instance_setup # # google_network_setup_enable (bool): Set to NO by default. # Set it to YES to enable google_network_setup. # . /etc/rc.subr name="google_network_setup" rcvar="google_network_setup_enable" +stop_cmd=":" load_rc_config "${name}" : ${google_network_setup_enable:="NO"} command_interpreter="%%PYTHON_CMD%%" command=%%PREFIX%%/bin/${name} pidfile=/var/run/${name}.pid run_rc_command "$1"