Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 589526 | Differences between
and this patch

Collapse All | Expand All

(-)a/sys-cluster/torque/torque-4.1.7-r1.ebuild (-7 / +13 lines)
Lines 174-186 pkg_postinst() { Link Here
174
	echo ""
174
	echo ""
175
	elog "    For a basic setup, you may use emerge --config ${PN}"
175
	elog "    For a basic setup, you may use emerge --config ${PN}"
176
	echo ""
176
	echo ""
177
	if [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 4 ]]; then
177
178
		elog "Important 4.0+ updates"
178
	local v
179
		elog "  - The on-wire protocol version has been changed."
179
	for v in ${REPLACING_VERSIONS}; do
180
		elog "    Versions of Torque before 4.0.0 are no longer able to communicate."
180
		if ! version_is_at_least 4.0 ${v}; then
181
		elog "  - pbs_iff has been replaced by trqauthd, you will now need to add"
181
			echo
182
		elog "    trqauthd to your default runlevel."
182
			elog "Important 4.0+ updates"
183
	fi
183
			elog "  - The on-wire protocol version has been changed."
184
			elog "    Versions of Torque before 4.0.0 are no longer able to communicate."
185
			elog "  - pbs_iff has been replaced by trqauthd, you will now need to add"
186
			elog "    trqauthd to your default runlevel."
187
			break
188
		 fi
189
	done
184
}
190
}
185
191
186
# root will be setup as the primary operator/manager, the local machine
192
# root will be setup as the primary operator/manager, the local machine
(-)a/sys-cluster/torque/torque-4.2.9-r5.ebuild (-2 / +7 lines)
Lines 172-183 pkg_postinst() { Link Here
172
	elog "    If this is the first time torque has been installed, then you are not"
172
	elog "    If this is the first time torque has been installed, then you are not"
173
	elog "ready to start the server.  Please refer to the documentation located at:"
173
	elog "ready to start the server.  Please refer to the documentation located at:"
174
	elog "http://docs.adaptivecomputing.com/torque/${PN//./-}/Content/topics/1-installConfig/initializeConfigOnServer.htm"
174
	elog "http://docs.adaptivecomputing.com/torque/${PN//./-}/Content/topics/1-installConfig/initializeConfigOnServer.htm"
175
	if [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 4 ]]; then
175
176
	local v
177
	for v in ${REPLACING_VERSIONS}; do
178
		if !  version_is_at_least 4.0 ${v}; then
176
		echo
179
		echo
177
		elog "Important 4.0+ updates"
180
		elog "Important 4.0+ updates"
178
		elog "  - The on-wire protocol version has been changed."
181
		elog "  - The on-wire protocol version has been changed."
179
		elog "    Versions of Torque before 4.0.0 are no longer able to communicate."
182
		elog "    Versions of Torque before 4.0.0 are no longer able to communicate."
180
		elog "  - pbs_iff has been replaced by trqauthd, you will now need to add"
183
		elog "  - pbs_iff has been replaced by trqauthd, you will now need to add"
181
		elog "    trqauthd to your default runlevel."
184
		elog "    trqauthd to your default runlevel."
182
	fi
185
		break
186
		fi
187
	done
183
}
188
}
(-)a/sys-cluster/torque/torque-6.0.1.ebuild (-9 / +14 lines)
Lines 3-9 Link Here
3
3
4
EAPI=5
4
EAPI=5
5
5
6
inherit flag-o-matic eutils linux-info
6
inherit flag-o-matic eutils linux-info versionator
7
7
8
DESCRIPTION="Resource manager and queuing system based on OpenPBS"
8
DESCRIPTION="Resource manager and queuing system based on OpenPBS"
9
HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/torque"
9
HOMEPAGE="http://www.adaptivecomputing.com/products/open-source/torque"
Lines 164-175 pkg_postinst() { Link Here
164
	elog "    If this is the first time torque has been installed, then you are not"
164
	elog "    If this is the first time torque has been installed, then you are not"
165
	elog "ready to start the server.  Please refer to the documentation located at:"
165
	elog "ready to start the server.  Please refer to the documentation located at:"
166
	elog "http://docs.adaptivecomputing.com/torque/${PN//./-}/Content/topics/1-installConfig/initializeConfigOnServer.htm"
166
	elog "http://docs.adaptivecomputing.com/torque/${PN//./-}/Content/topics/1-installConfig/initializeConfigOnServer.htm"
167
	if [[ -z "${REPLACING_VERSIONS}" ]] || [[ ${REPLACING_VERSIONS} < 4 ]]; then
167
168
		echo
168
	local v
169
		elog "Important 4.0+ updates"
169
	for v in ${REPLACING_VERSIONS}; do
170
		elog "  - The on-wire protocol version has been changed."
170
		if !  version_is_at_least 4.0 ${v}; then
171
		elog "    Versions of Torque before 4.0.0 are no longer able to communicate."
171
			echo
172
		elog "  - pbs_iff has been replaced by trqauthd, you will now need to add"
172
			elog "Important 4.0+ updates"
173
		elog "    trqauthd to your default runlevel."
173
			elog "  - The on-wire protocol version has been changed."
174
	fi
174
			elog "    Versions of Torque before 4.0.0 are no longer able to communicate."
175
			elog "  - pbs_iff has been replaced by trqauthd, you will now need to add"
176
			elog "    trqauthd to your default runlevel."
177
			break
178
		fi
179
	done
175
}
180
}

Return to bug 589526