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

Collapse All | Expand All

(-)/usr/portage/eclass/subversion.eclass (-2 / +13 lines)
Lines 162-168 Link Here
162
# Set the minimum number of hours between svn up'ing in any given svn module. This is particularly
162
# Set the minimum number of hours between svn up'ing in any given svn module. This is particularly
163
# useful for split KDE ebuilds where we want to ensure that all submodules are compiled for the same
163
# useful for split KDE ebuilds where we want to ensure that all submodules are compiled for the same
164
# revision. It should also be kept user overrideable.
164
# revision. It should also be kept user overrideable.
165
ESVN_UP_FREQ="${ESVN_UP_FREQ:=}"
165
ESVN_UP_FREQ="${ESVN_UP_FREQ:-}"
166
167
# @ECLASS-VARIABLE: ESVN_UMASK
168
# @DESCRIPTION:
169
# Set custom umask for files created in ESVN_STORE_DIR.
170
# Example: ESVN_UMASK="g+w", if empty, use system defaults.
171
ESVN_UMASK="${ESVN_UMASK:-}"
166
172
167
# @ECLASS-VARIABLE: ESCM_LOGDIR
173
# @ECLASS-VARIABLE: ESCM_LOGDIR
168
# @DESCRIPTION:
174
# @DESCRIPTION:
Lines 170-176 Link Here
170
# package inheriting from subversion.eclass will record svn revision to
176
# package inheriting from subversion.eclass will record svn revision to
171
# ${CATEGORY}/${PN}.log in that path in pkg_preinst. This is not supposed to be
177
# ${CATEGORY}/${PN}.log in that path in pkg_preinst. This is not supposed to be
172
# set by ebuilds/eclasses. It defaults to empty so users need to opt in.
178
# set by ebuilds/eclasses. It defaults to empty so users need to opt in.
173
ESCM_LOGDIR="${ESCM_LOGDIR:=}"
179
ESCM_LOGDIR="${ESCM_LOGDIR:-}"
180
174
181
175
# @FUNCTION: subversion_fetch
182
# @FUNCTION: subversion_fetch
176
# @USAGE: [repo_uri] [destination]
183
# @USAGE: [repo_uri] [destination]
Lines 216-221 Link Here
216
	addread "/etc/subversion"
223
	addread "/etc/subversion"
217
	addwrite "${ESVN_STORE_DIR}"
224
	addwrite "${ESVN_STORE_DIR}"
218
225
226
	if [[ -n ${ESVN_UMASK} ]]; then
227
		umask ${ESVN_UMASK} || die "${ESVN}: can't umask ${ESVN_STORE_DIR}."
228
	fi
229
219
	if [[ ! -d ${ESVN_STORE_DIR} ]]; then
230
	if [[ ! -d ${ESVN_STORE_DIR} ]]; then
220
		debug-print "${FUNCNAME}: initial checkout. creating subversion directory"
231
		debug-print "${FUNCNAME}: initial checkout. creating subversion directory"
221
		mkdir -p "${ESVN_STORE_DIR}" || die "${ESVN}: can't mkdir ${ESVN_STORE_DIR}."
232
		mkdir -p "${ESVN_STORE_DIR}" || die "${ESVN}: can't mkdir ${ESVN_STORE_DIR}."

Return to bug 277976