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

Collapse All | Expand All

(-)a/net-misc/ntpsec/metadata.xml (-1 lines)
Lines 31-36 NTPsec project - a secure, hardened, and improved implementation of Network Time Link Here
31
		<flag name="rclock_modem">NIST/USNO/PTB Modem Time Services</flag>
31
		<flag name="rclock_modem">NIST/USNO/PTB Modem Time Services</flag>
32
		<flag name="rclock_local">Support for undisciplined local clock (not recommended)</flag>
32
		<flag name="rclock_local">Support for undisciplined local clock (not recommended)</flag>
33
		<flag name="smear">Specify the interval over which a leap second is applied (experimental)</flag>
33
		<flag name="smear">Specify the interval over which a leap second is applied (experimental)</flag>
34
		<flag name="tests">Enable tests</flag>
35
	</use>
34
	</use>
36
</pkgmetadata>
35
</pkgmetadata>
(-)a/net-misc/ntpsec/ntpsec-1.2.1-r2.ebuild (-2 / +12 lines)
Lines 30-36 IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_} Link Here
30
30
31
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
31
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
32
SLOT="0"
32
SLOT="0"
33
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
33
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
34
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
34
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
35
35
36
# net-misc/pps-tools oncore,pps
36
# net-misc/pps-tools oncore,pps
Lines 94-99 src_configure() { Link Here
94
	CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
94
	CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
95
95
96
	local myconf=(
96
	local myconf=(
97
		--notests
97
		--nopyc
98
		--nopyc
98
		--nopyo
99
		--nopyo
99
		--enable-pylib ext
100
		--enable-pylib ext
Lines 105-111 src_configure() { Link Here
105
		$(use samba	&& echo "--enable-mssntp")
106
		$(use samba	&& echo "--enable-mssntp")
106
		$(use seccomp	&& echo "--enable-seccomp")
107
		$(use seccomp	&& echo "--enable-seccomp")
107
		$(use smear	&& echo "--enable-leap-smear")
108
		$(use smear	&& echo "--enable-leap-smear")
108
		$(use tests	&& echo "--alltests")
109
		$(use debug	&& echo "--enable-debug")
109
		$(use debug	&& echo "--enable-debug")
110
	)
110
	)
111
111
Lines 123-128 src_compile() { Link Here
123
	python_foreach_impl run_in_build_dir python_compile
123
	python_foreach_impl run_in_build_dir python_compile
124
}
124
}
125
125
126
src_test() {
127
	debug-print-function ${FUNCNAME} "$@"
128
	local _mywafconfig
129
	[[ ${WAF_VERBOSE} == ON ]] && _mywafconfig="--verbose"
130
131
	local jobs="--jobs=$(makeopts_jobs)"
132
	echo "\"${WAF_BINARY}\" check ${_mywafconfig} ${jobs} ${*}"
133
	"${WAF_BINARY}" check ${_mywafconfig} ${jobs} "${@}" || die "check failed"
134
}
135
126
src_install() {
136
src_install() {
127
	python_install() {
137
	python_install() {
128
		waf-utils_src_install
138
		waf-utils_src_install
(-)a/net-misc/ntpsec/ntpsec-9999.ebuild (-3 / +12 lines)
Lines 30-36 IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_} Link Here
30
30
31
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
31
LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
32
SLOT="0"
32
SLOT="0"
33
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear tests" #ionice
33
IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz samba seccomp smear" #ionice
34
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
34
REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
35
35
36
# net-misc/pps-tools oncore,pps
36
# net-misc/pps-tools oncore,pps
Lines 92-97 src_configure() { Link Here
92
	CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
92
	CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
93
93
94
	local myconf=(
94
	local myconf=(
95
		--notests
95
		--nopyc
96
		--nopyc
96
		--nopyo
97
		--nopyo
97
		--enable-pylib ext
98
		--enable-pylib ext
Lines 103-109 src_configure() { Link Here
103
		$(use samba	&& echo "--enable-mssntp")
104
		$(use samba	&& echo "--enable-mssntp")
104
		$(use seccomp	&& echo "--enable-seccomp")
105
		$(use seccomp	&& echo "--enable-seccomp")
105
		$(use smear	&& echo "--enable-leap-smear")
106
		$(use smear	&& echo "--enable-leap-smear")
106
		$(use tests	&& echo "--alltests")
107
		$(use debug	&& echo "--enable-debug")
107
		$(use debug	&& echo "--enable-debug")
108
	)
108
	)
109
109
Lines 121-126 src_compile() { Link Here
121
	python_foreach_impl run_in_build_dir python_compile
121
	python_foreach_impl run_in_build_dir python_compile
122
}
122
}
123
123
124
src_test() {
125
	debug-print-function ${FUNCNAME} "$@"
126
	local _mywafconfig
127
	[[ ${WAF_VERBOSE} == ON ]] && _mywafconfig="--verbose"
128
129
	local jobs="--jobs=$(makeopts_jobs)"
130
	echo "\"${WAF_BINARY}\" check ${_mywafconfig} ${jobs} ${*}"
131
	"${WAF_BINARY}" check ${_mywafconfig} ${jobs} "${@}" || die "check failed"
132
}
133
124
src_install() {
134
src_install() {
125
	python_install() {
135
	python_install() {
126
		waf-utils_src_install
136
		waf-utils_src_install
127
- 

Return to bug 831352