[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/, net-misc/openntpd/files/

2024-05-21 Thread Sam James
commit: 32682621b27ce3c478a5c984c18f2176d11f9026
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue May 21 20:24:50 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 22 01:06:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32682621

net-misc/openntpd: fix broken c89 configure check

Closes: https://bugs.gentoo.org/900296
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 ...01-fix-incompatible-check-for-libc-compat.patch | 30 ++
 ...-6.8_p1-r1.ebuild => openntpd-6.2_p3-r3.ebuild} | 23 +++--
 ...-6.8_p1-r1.ebuild => openntpd-6.8_p1-r2.ebuild} |  8 +-
 3 files changed, 52 insertions(+), 9 deletions(-)

diff --git 
a/net-misc/openntpd/files/0001-fix-incompatible-check-for-libc-compat.patch 
b/net-misc/openntpd/files/0001-fix-incompatible-check-for-libc-compat.patch
new file mode 100644
index ..ee676d6f9935
--- /dev/null
+++ b/net-misc/openntpd/files/0001-fix-incompatible-check-for-libc-compat.patch
@@ -0,0 +1,30 @@
+From 8e4fdc1c2794e861cd026864607fa6b04c5237cb Mon Sep 17 00:00:00 2001
+From: Eli Schwartz 
+Date: Tue, 21 May 2024 16:10:45 -0400
+Subject: [PATCH] fix incompatible check for libc compat
+
+It relied on implicit function declarations, which are banned starting
+in c99. Result: the check always failed.
+
+See: 
https://wiki.gentoo.org/wiki/Modern_C_porting#How_do_I_reproduce_these_bugs.3F
+Bug: https://bugs.gentoo.org/900296
+Signed-off-by: Eli Schwartz 
+---
+ m4/check-libc-compat.m4 | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/m4/check-libc-compat.m4 b/m4/check-libc-compat.m4
+index a806cbe..3bb859a 100644
+--- a/m4/check-libc-compat.m4
 b/m4/check-libc-compat.m4
+@@ -1,6 +1,6 @@
+ AC_DEFUN([CHECK_PROGNAME], [
+ AC_CACHE_CHECK([if libc defines __progname], ac_cv_libc_defines___progname, [
+-   AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],
++   AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]],
+ [[ extern char *__progname; printf("%s", __progname); ]])],
+ [ ac_cv_libc_defines___progname="yes" ],
+ [ ac_cv_libc_defines___progname="no"
+-- 
+2.44.1
+

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r3.ebuild
similarity index 69%
copy from net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
copy to net-misc/openntpd/openntpd-6.2_p3-r3.ebuild
index aaceb1670299..aef0f71353d6 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+inherit autotools systemd
 
 MY_P="${P/_p/p}"
 
@@ -13,12 +13,11 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
-IUSE="constraints selinux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+IUSE="selinux"
 
 DEPEND="
-   !net-misc/ntp[-openntpd]
-   constraints? ( dev-libs/libretls:= )"
+   !net-misc/ntp[-openntpd]"
 
 RDEPEND="
${DEPEND}
@@ -28,8 +27,15 @@ RDEPEND="
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=(
+   "${FILESDIR}/openntpd-6.2p3-fno-common.patch"
+   # https://github.com/openntpd-portable/openntpd-portable/pull/75
+   "${FILESDIR}"/0001-fix-incompatible-check-for-libc-compat.patch
+)
+
 src_prepare() {
default
+   eautoreconf
 
# fix /run path
sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
@@ -40,16 +46,17 @@ src_prepare() {
sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
 
# fix default config to use gentoo pool
-   sed -i 's:^server:#server:g' ntpd.conf || die
+   sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die
printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
 
-   use constraints || sed -ie 's/^constraints/#constraints/g' ntpd.conf || 
die
+   sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
 }
 
 src_configure() {
econf \
--with-privsep-user=openntpd \
-   $(use_enable constraints https-constraint)
+   --with-privsep-path=/var/lib/openntpd/chroot \
+   --disable-https-constraint
 }
 
 src_install() {

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r2.ebuild
similarity index 90%
rename from net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
rename to net-misc/openntpd/openntpd-6.8_p1-r2.ebuild
index aaceb1670299..c5b8250e115b 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+inherit autotools systemd
 
 MY_P="${P/_p/p}"
 
@@ -28,8 +28,

[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2024-05-21 Thread Sam James
commit: df83be1d729d2c621a93083210fae0f4126e84cd
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue May 21 20:22:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 22 01:06:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df83be1d

net-misc/openntpd: drop old

Outdated due to -r1 bump.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1.ebuild | 62 
 1 file changed, 62 deletions(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1.ebuild
deleted file mode 100644
index ee0f69ce5392..
--- a/net-misc/openntpd/openntpd-6.8_p1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-MY_P="${P/_p/p}"
-
-DESCRIPTION="Lightweight NTP server ported from OpenBSD"
-HOMEPAGE="http://www.openntpd.org/";
-SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
-IUSE="selinux"
-
-DEPEND="
-   !net-misc/ntp[-openntpd]"
-RDEPEND="
-   ${DEPEND}
-   acct-group/openntpd
-   acct-user/openntpd
-   selinux? ( sec-policy/selinux-ntp )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-
-   # fix /run path
-   sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
-   sed -i 's:LOCALSTATEDIR "/run/ntpd:"/run/ntpd:' src/ntpd.h || die
-
-   # fix ntpd.drift path
-   sed -i 's:/var/db/ntpd.drift:/var/lib/openntpd/ntpd.drift:g' src/ntpd.8 
|| die
-   sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
-
-   # fix default config to use gentoo pool
-   sed -i 's:^server:#server:g' ntpd.conf || die
-   printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
-
-   sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
-}
-
-src_configure() {
-   econf \
-   --with-privsep-user=openntpd \
-   --disable-https-constraint
-}
-
-src_install() {
-   default
-
-   rm -r "${ED}"/var || die
-
-   newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
-   newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
-
-   systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2024-05-21 Thread Sam James
commit: 0eda2200adc11e199f83243e3ea37122a15fa95f
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue May 21 20:28:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 22 01:06:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eda2200

net-misc/openntpd: update EAPI 7 -> 8

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r3.ebuild | 2 +-
 net-misc/openntpd/openntpd-6.8_p1-r2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r3.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r3.ebuild
index aef0f71353d6..77e63f5456df 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r3.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r3.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools systemd
 

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r2.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r2.ebuild
index c5b8250e115b..1b00a44a6fdf 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools systemd
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2024-05-21 Thread Sam James
commit: 8f87379a5fb99fea91ec035ae5fb8daf81b612c0
Author: Eli Schwartz  gmail  com>
AuthorDate: Tue May 21 20:34:55 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 22 01:06:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f87379a

net-misc/openntpd: update HOMEPAGE for HttpsUrlAvailable

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 4 ++--
 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index 23529b8fd7d4..a4562387dfad 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ inherit systemd
 MY_P="${P/_p/p}"
 
 DESCRIPTION="Lightweight NTP server ported from OpenBSD"
-HOMEPAGE="http://www.openntpd.org/";
+HOMEPAGE="https://www.openntpd.org/";
 SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index c203e2a4f687..aaceb1670299 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ inherit systemd
 MY_P="${P/_p/p}"
 
 DESCRIPTION="Lightweight NTP server ported from OpenBSD"
-HOMEPAGE="http://www.openntpd.org/";
+HOMEPAGE="https://www.openntpd.org/";
 SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2022-11-29 Thread WANG Xuerui
commit: 79d93119f39ba33751cec1be110796ba9f450b9a
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Nov 29 15:47:03 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Nov 29 15:57:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79d93119

net-misc/openntpd: keyword 6.2_p3-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index 510a2f7cbc09..23529b8fd7d4 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 IUSE="selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2022-09-24 Thread Sam James
commit: 36bbd7ecb6f2e8624fdbf026f6c789f21f23fc4a
Author: matoro  users  noreply  github  com>
AuthorDate: Thu Sep 22 19:56:47 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 25 01:27:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36bbd7ec

net-misc/openntpd: keyword 6.8_p1-r1 for ~alpha

Bug: https://bugs.gentoo.org/763963
Closes: https://github.com/gentoo/gentoo/pull/27399
Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 29e7e2e180b3..c203e2a4f687 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
 IUSE="constraints selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2022-07-28 Thread Sam James
commit: 429a14815c1e7c3827c7215eafb57783074cd16b
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 28 13:23:23 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 28 13:31:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429a1481

net-misc/openntpd: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/openntpd/metadata.xml b/net-misc/openntpd/metadata.xml
index 75ed1f5d2f63..4ce09235179f 100644
--- a/net-misc/openntpd/metadata.xml
+++ b/net-misc/openntpd/metadata.xml
@@ -18,4 +18,7 @@

Enable HTTPS TLS time constraint 
support

+   
+   openntpd-portable/openntpd-portable
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-07-28 Thread Marek Szuba
commit: 58ffe78939ce876462dc12e8d9cd96379704b71f
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Jul 28 12:39:13 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Jul 28 13:14:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58ffe789

net-misc/openntpd: keyword 6.8_p1-r1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index a600e51c8b8..29e7e2e180b 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86"
 IUSE="constraints selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-04-30 Thread Mikle Kolyada
commit: beea04c481c315ecfe368a9fb70c0eddf5ab6805
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Apr 30 13:34:12 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Apr 30 13:34:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beea04c4

net-misc/openntpd: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-misc/openntpd/metadata.xml  |  1 -
 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 10 --
 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild |  7 ++-
 net-misc/openntpd/openntpd-6.8_p1.ebuild| 13 +
 4 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/net-misc/openntpd/metadata.xml b/net-misc/openntpd/metadata.xml
index 8cf4c9d357c..b87fa42aa95 100644
--- a/net-misc/openntpd/metadata.xml
+++ b/net-misc/openntpd/metadata.xml
@@ -17,6 +17,5 @@


Enable HTTPS TLS time constraint 
support
-   Enable HTTPS TLS time constraint support 
using dev-libs/libressl

 

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index 8f65c14883e..4d7fc203e16 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -14,11 +14,10 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 LICENSE="BSD GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
-IUSE="libressl selinux"
+IUSE="selinux"
 
 DEPEND="
-   !net-misc/ntp[-openntpd]
-   libressl? ( dev-libs/libressl:0= )"
+   !net-misc/ntp[-openntpd]"
 
 RDEPEND="
${DEPEND}
@@ -47,15 +46,14 @@ src_prepare() {
sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die
printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
 
-   # disable constraint config if libressl not enabled
-   use libressl || sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
+   sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
 }
 
 src_configure() {
econf \
--with-privsep-user=openntpd \
--with-privsep-path=/var/lib/openntpd/chroot \
-   $(use_enable libressl https-constraint)
+   --disable-https-constraint
 }
 
 src_install() {

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 49bc5ddd4cc..a600e51c8b8 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -14,14 +14,11 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 LICENSE="BSD GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="constraints libressl selinux"
+IUSE="constraints selinux"
 
 DEPEND="
!net-misc/ntp[-openntpd]
-   constraints? (
-   libressl? ( dev-libs/libressl:= )
-   !libressl? ( dev-libs/libretls:= )
-   )"
+   constraints? ( dev-libs/libretls:= )"
 
 RDEPEND="
${DEPEND}

diff --git a/net-misc/openntpd/openntpd-6.8_p1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1.ebuild
index ce6e6c78891..ee0f69ce539 100644
--- a/net-misc/openntpd/openntpd-6.8_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,12 +14,10 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 LICENSE="BSD GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
-IUSE="libressl selinux"
+IUSE="selinux"
 
 DEPEND="
-   !net-misc/ntp[-openntpd]
-   libressl? ( dev-libs/libressl:0= )"
-
+   !net-misc/ntp[-openntpd]"
 RDEPEND="
${DEPEND}
acct-group/openntpd
@@ -43,14 +41,13 @@ src_prepare() {
sed -i 's:^server:#server:g' ntpd.conf || die
printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
 
-   # disable constraint config if libressl not enabled
-   use libressl || sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
+   sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
 }
 
 src_configure() {
econf \
--with-privsep-user=openntpd \
-   $(use_enable libressl https-constraint)
+   --disable-https-constraint
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-03-03 Thread Sam James
commit: 856372e4b4f667365124c19533d3fe378351f992
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar  3 18:38:00 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  3 18:38:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856372e4

net-misc/openntpd: drop 6.8_p1* back to ~arch

Bug: https://bugs.gentoo.org/772998
Bug: https://bugs.gentoo.org/769224
Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index f19f0bd6c07..49bc5ddd4cc 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-02-25 Thread Sam James
commit: 17906d4cc7708fe370d9a722488e181ee91902c6
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 09:48:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 09:50:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17906d4c

net-misc/openntpd: Stabilize 6.8_p1-r1 x86, #769224

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 58cc6f9cbda..f19f0bd6c07 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-02-24 Thread Sam James
commit: 7e35f1851f3f6a9598b501a0f6ab05954f6c9375
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 07:31:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 07:31:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e35f185

net-misc/openntpd: Stabilize 6.8_p1-r1 amd64, #769224

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 30af3649f71..58cc6f9cbda 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-02-24 Thread Sam James
commit: e8ab9d8281aa55112df8690b91112e61bc7ad7e5
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 25 02:50:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 25 02:50:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ab9d82

net-misc/openntpd: Stabilize 6.8_p1-r1 arm, #769224

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 5f3c1a15407..30af3649f71 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-02-24 Thread Sam James
commit: 41f53cdc849a7a3facefb41f11d1c8cdf8043f40
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 24 20:25:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 24 20:25:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f53cdc

net-misc/openntpd: Stabilize 6.8_p1-r1 ppc64, #769224

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 7298b6c52a2..5f3c1a15407 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-02-24 Thread Sam James
commit: 8a1c8f395a7a7c22e45c678a3e2393e0bdbfc1f1
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 24 20:23:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 24 20:24:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a1c8f39

net-misc/openntpd: Stabilize 6.8_p1-r1 ppc, #769224

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 3a184983b37..7298b6c52a2 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-02-23 Thread Joshua Kinard
commit: ebef3d8bb64eb96d9661c36d902b733d1f5a7449
Author: Joshua Kinard  gentoo  org>
AuthorDate: Wed Feb 24 00:25:49 2021 +
Commit: Joshua Kinard  gentoo  org>
CommitDate: Wed Feb 24 01:30:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebef3d8b

net-misc/openntpd: Added ~mips back to KEYWORDS.

Signed-off-by: Joshua Kinard  gentoo.org>
Package-Manager: Portage-3.0.15, Repoman-3.0.2

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 112949abf05..3a184983b37 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-02-23 Thread Sergei Trofimovich
commit: 44f0d9cc787d9fe932c62725cff0b8ff599d63f6
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Feb 23 14:46:50 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Feb 23 18:12:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44f0d9cc

net-misc/openntpd: stable 6.8_p1-r1 for sparc, bug #769224

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 47ee6dc8ef4..112949abf05 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-02-17 Thread Sam James
commit: afa644b8a37fcc269dc9b77af676b316f11f58dd
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 07:26:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 07:26:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa644b8

net-misc/openntpd: Keyword 6.8_p1-r1 s390, #763963

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index cdd7e30b03c..47ee6dc8ef4 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-19 Thread Sam James
commit: b661715323fd8be72b1c021ac053015088b2
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 19 14:25:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 19 14:25:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6617444

net-misc/openntpd: Keyword 6.8_p1-r1 arm, #763963

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 65202ae42ef..cdd7e30b03c 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-18 Thread Sam James
commit: 823fc6b1b093c9273c7e55ce264b88d35ed28a73
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 19 02:23:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 19 02:23:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823fc6b1

net-misc/openntpd: Keyword 6.8_p1-r1 arm64, #763963

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index c6b236bf491..65202ae42ef 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-10 Thread Sergei Trofimovich
commit: 720d6bc412888d540c66af5cba7db9530673d910
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jan 10 15:49:50 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jan 10 15:50:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720d6bc4

net-misc/openntpd: keyworded 6.8_p1-r1 for ia64

keyworded wrt bug #763963

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 592e5956f7c..c6b236bf491 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-09 Thread Sam James
commit: a41e0d1c27b5db2857f34b7fb22e2f61a82aa794
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  9 19:08:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  9 19:09:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a41e0d1c

net-misc/openntpd: Keyword 6.8_p1-r1 ppc, #763963

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index 630ab20c692..c338eee08c1 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-09 Thread Sam James
commit: 30c32009523651d241bd9549a19703ee27c4c22b
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  9 19:09:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  9 19:09:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c32009

net-misc/openntpd: Keyword 6.8_p1-r1 ppc64, #763963

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index c338eee08c1..592e5956f7c 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-07 Thread Sergei Trofimovich
commit: 13857c2c3bcdf95d6a3108313a46c94d5a2bf3bd
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Jan  7 15:59:46 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jan  8 07:24:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13857c2c

net-misc/openntpd: keyworded 6.8_p1-r1 for hppa, bug #763963

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index f3d74a6a4a2..630ab20c692 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-06 Thread Sergei Trofimovich
commit: 8c775967c11cd42953398cfff1cce6f45ff09ca5
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Jan  6 16:21:00 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jan  6 17:34:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c775967

net-misc/openntpd: keyworded 6.8_p1-r1 for sparc, bug #763963

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index e1887e86760..f3d74a6a4a2 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~sparc ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-06 Thread Michał Górny
commit: 05953929932b5ed7fd968260cb0193638c07a614
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan  6 10:05:15 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan  6 10:07:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05953929

net-misc/openntpd: Revert "Re-added ~mips to KEYWORDS"

This introduced a depgraph breakage.

Revert: b10326e89507d98a91657bd170daf16a798b727e
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index a1443883dee..e1887e86760 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~mips ~x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-05 Thread Joshua Kinard
commit: b10326e89507d98a91657bd170daf16a798b727e
Author: Joshua Kinard  gentoo  org>
AuthorDate: Wed Jan  6 05:02:46 2021 +
Commit: Joshua Kinard  gentoo  org>
CommitDate: Wed Jan  6 05:02:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b10326e8

net-misc/openntpd: Re-added ~mips to KEYWORDS

Bug: https://bugs.gentoo.org/763963
Signed-off-by: Joshua Kinard  gentoo.org>
Package-Manager: Portage-3.0.12, Repoman-3.0.2

 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
index e1887e86760..a1443883dee 100644
--- a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~mips ~x86"
 IUSE="constraints libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-05 Thread Andreas K. Hüttel
commit: d86ed15b0faa300ca07e7091d5993f5f1626844f
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Tue Jan  5 21:35:34 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan  5 21:58:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d86ed15b

net-misc/openntpd: Remove old

Bug: https://bugs.gentoo.org/707786
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas K. Huettel  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 66 -
 1 file changed, 66 deletions(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
deleted file mode 100644
index abfd5096bbd..000
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit systemd
-
-MY_P="${P/_p/p}"
-
-DESCRIPTION="Lightweight NTP server ported from OpenBSD"
-HOMEPAGE="http://www.openntpd.org/";
-SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
-IUSE="libressl selinux"
-
-DEPEND="
-   !net-misc/ntp[-openntpd]
-   libressl? ( dev-libs/libressl:0= )"
-
-RDEPEND="
-   ${DEPEND}
-   acct-group/openntpd
-   acct-user/openntpd
-   selinux? ( sec-policy/selinux-ntp )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-   default
-
-   # fix /run path
-   sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
-   sed -i 's:LOCALSTATEDIR "/run/ntpd:"/run/ntpd:' src/ntpd.h || die
-
-   # fix ntpd.drift path
-   sed -i 's:/var/db/ntpd.drift:/var/lib/openntpd/ntpd.drift:g' src/ntpd.8 
|| die
-   sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
-
-   # fix default config to use gentoo pool
-   sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die
-   printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
-
-   # disable constraint config if libressl not enabled
-   use libressl || sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
-}
-
-src_configure() {
-   econf \
-   --with-privsep-user=openntpd \
-   --with-privsep-path=/var/lib/openntpd/chroot \
-   $(use_enable libressl https-constraint)
-}
-
-src_install() {
-   default
-
-   rm -r "${ED}"/var || die
-
-   newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
-   newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
-
-   systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2021-01-05 Thread Michał Górny
commit: 2d23cdc46ebda3861e5a9478f9e4d7c028b54a01
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  1 11:40:24 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan  5 21:19:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d23cdc4

net-misc/openntpd: Support dev-libs/libretls

Closes: https://bugs.gentoo.org/762421
Signed-off-by: Michał Górny  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/18895
Signed-off-by: Michał Górny  gentoo.org>

 net-misc/openntpd/metadata.xml  |  1 +
 net-misc/openntpd/openntpd-6.8_p1-r1.ebuild | 67 +
 2 files changed, 68 insertions(+)

diff --git a/net-misc/openntpd/metadata.xml b/net-misc/openntpd/metadata.xml
index f5534c78e2f..20734983a2d 100644
--- a/net-misc/openntpd/metadata.xml
+++ b/net-misc/openntpd/metadata.xml
@@ -16,6 +16,7 @@
local clock.


+   Enable HTTPS TLS time constraint 
support
Enable HTTPS TLS time constraint support 
using dev-libs/libressl

 

diff --git a/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
new file mode 100644
index 000..e1887e86760
--- /dev/null
+++ b/net-misc/openntpd/openntpd-6.8_p1-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+MY_P="${P/_p/p}"
+
+DESCRIPTION="Lightweight NTP server ported from OpenBSD"
+HOMEPAGE="http://www.openntpd.org/";
+SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="constraints libressl selinux"
+
+DEPEND="
+   !net-misc/ntp[-openntpd]
+   constraints? (
+   libressl? ( dev-libs/libressl:= )
+   !libressl? ( dev-libs/libretls:= )
+   )"
+
+RDEPEND="
+   ${DEPEND}
+   acct-group/openntpd
+   acct-user/openntpd
+   selinux? ( sec-policy/selinux-ntp )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+
+   # fix /run path
+   sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
+   sed -i 's:LOCALSTATEDIR "/run/ntpd:"/run/ntpd:' src/ntpd.h || die
+
+   # fix ntpd.drift path
+   sed -i 's:/var/db/ntpd.drift:/var/lib/openntpd/ntpd.drift:g' src/ntpd.8 
|| die
+   sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
+
+   # fix default config to use gentoo pool
+   sed -i 's:^server:#server:g' ntpd.conf || die
+   printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
+
+   use constraints || sed -ie 's/^constraints/#constraints/g' ntpd.conf || 
die
+}
+
+src_configure() {
+   econf \
+   --with-privsep-user=openntpd \
+   $(use_enable constraints https-constraint)
+}
+
+src_install() {
+   default
+
+   rm -r "${ED}"/var || die
+
+   newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
+   newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
+
+   systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-12-17 Thread Joonas Niilola
commit: cc0a23a9d13329cc5d45b264c5733fec394fc877
Author: Aisha Tammy  aisha  cc>
AuthorDate: Sun Dec 13 19:55:25 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Dec 17 14:12:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc0a23a9

net-misc/openntpd: version bump to 6.8_p1

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Aisha Tammy  aisha.cc>
Closes: https://github.com/gentoo/gentoo/pull/18643
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/openntpd/Manifest   |  1 +
 net-misc/openntpd/openntpd-6.8_p1.ebuild | 65 
 2 files changed, 66 insertions(+)

diff --git a/net-misc/openntpd/Manifest b/net-misc/openntpd/Manifest
index c791dddbce4..1c1f8ae16b8 100644
--- a/net-misc/openntpd/Manifest
+++ b/net-misc/openntpd/Manifest
@@ -1 +1,2 @@
 DIST openntpd-6.2p3.tar.gz 447586 BLAKE2B 
f81db876c01572f06b8fc24aabe8954b15287496e8c39c1ae81231ef01676fbe8c69c5cf517279e45510b6b1b5f4c5d0d09d7ce5fc220c7bf36763cf67623519
 SHA512 
56a04bfd8b161b365607673ac80086ff53ae943938fa49bf52edbc541432eca30730a46a4af581fe26ce3bbceb144cb25982a38959b7a3f9304c727fe60f9f50
+DIST openntpd-6.8p1.tar.gz 443997 BLAKE2B 
5b86c79ff2f822aba652da92325ad18803233c8b1548203c82603b99d2c41dce012dfb2be67828cc892559f323b764cc1711202fd85bc1d5d755b5e677406b98
 SHA512 
200056bedb9c757aae1ce5d3f6655175ec058cb479429fe4704955f3a3fa15e8a9cb578ae4898ddb4cfc08c9742bbab6a7c92b5e569f06a148e40c448360b58f

diff --git a/net-misc/openntpd/openntpd-6.8_p1.ebuild 
b/net-misc/openntpd/openntpd-6.8_p1.ebuild
new file mode 100644
index 000..ce6e6c78891
--- /dev/null
+++ b/net-misc/openntpd/openntpd-6.8_p1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+MY_P="${P/_p/p}"
+
+DESCRIPTION="Lightweight NTP server ported from OpenBSD"
+HOMEPAGE="http://www.openntpd.org/";
+SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+IUSE="libressl selinux"
+
+DEPEND="
+   !net-misc/ntp[-openntpd]
+   libressl? ( dev-libs/libressl:0= )"
+
+RDEPEND="
+   ${DEPEND}
+   acct-group/openntpd
+   acct-user/openntpd
+   selinux? ( sec-policy/selinux-ntp )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+
+   # fix /run path
+   sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
+   sed -i 's:LOCALSTATEDIR "/run/ntpd:"/run/ntpd:' src/ntpd.h || die
+
+   # fix ntpd.drift path
+   sed -i 's:/var/db/ntpd.drift:/var/lib/openntpd/ntpd.drift:g' src/ntpd.8 
|| die
+   sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
+
+   # fix default config to use gentoo pool
+   sed -i 's:^server:#server:g' ntpd.conf || die
+   printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
+
+   # disable constraint config if libressl not enabled
+   use libressl || sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
+}
+
+src_configure() {
+   econf \
+   --with-privsep-user=openntpd \
+   $(use_enable libressl https-constraint)
+}
+
+src_install() {
+   default
+
+   rm -r "${ED}"/var || die
+
+   newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
+   newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
+
+   systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-11-27 Thread Aaron Bauman
commit: 2668053406290df5b612fed940f64a59841669c4
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Nov 27 16:16:24 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov 27 16:28:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26680534

net-misc/openntpd: drop old EAPI

Signed-off-by: Aaron Bauman  gentoo.org>

 net-misc/openntpd/Manifest   |   1 -
 net-misc/openntpd/openntpd-6.0_p1.ebuild |  88 --
 net-misc/openntpd/openntpd-6.2_p3.ebuild | 104 ---
 3 files changed, 193 deletions(-)

diff --git a/net-misc/openntpd/Manifest b/net-misc/openntpd/Manifest
index ecb8e0eb947..c791dddbce4 100644
--- a/net-misc/openntpd/Manifest
+++ b/net-misc/openntpd/Manifest
@@ -1,2 +1 @@
-DIST openntpd-6.0p1.tar.gz 432696 BLAKE2B 
331214c5a77adf99974a665a157255857b295f49409721d8530fdd2eb6c00e458a2e6395105a527a4a8603e65efb33e16f752c70222e9f7697f8c871d51cffda
 SHA512 
a71c516dbe7596cbcb3a385112a59a82185b7e3d93a52eda695cea5a0a599ba7fbf58daa81da55d608255cb6950398123fa7d71663604a4c3bcbee949711296d
 DIST openntpd-6.2p3.tar.gz 447586 BLAKE2B 
f81db876c01572f06b8fc24aabe8954b15287496e8c39c1ae81231ef01676fbe8c69c5cf517279e45510b6b1b5f4c5d0d09d7ce5fc220c7bf36763cf67623519
 SHA512 
56a04bfd8b161b365607673ac80086ff53ae943938fa49bf52edbc541432eca30730a46a4af581fe26ce3bbceb144cb25982a38959b7a3f9304c727fe60f9f50

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
deleted file mode 100644
index eeb3ff507f8..000
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils systemd user
-
-MY_P="${P/_p/p}"
-DESCRIPTION="Lightweight NTP server ported from OpenBSD"
-HOMEPAGE="http://www.openntpd.org/";
-SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
-IUSE="libressl selinux"
-
-DEPEND="!<=net-misc/ntp-4.2.0-r2
-   !net-misc/ntp[-openntpd]
-   libressl? ( >=dev-libs/libressl-2.3.2 )"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-ntp )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   export NTP_HOME="${NTP_HOME:=/var/lib/openntpd/chroot}"
-   enewgroup ntp
-   enewuser ntp -1 -1 "${NTP_HOME}" ntp
-
-   # make sure user has correct HOME as flipping between the standard ntp 
pkg
-   # and this one was possible in the past
-   if [[ $(egethome ntp) != ${NTP_HOME} ]]; then
-   ewarn "From this version on, the homedir of the ntp user cannot 
be changed"
-   ewarn "dynamically after the installation. For homedir 
different from"
-   ewarn "/var/lib/openntpd/chroot set NTP_HOME in your make.conf 
and re-emerge."
-   esethome ntp "${NTP_HOME}"
-   fi
-}
-
-src_prepare() {
-   # fix /run path
-   sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
-   sed -i 's:LOCALSTATEDIR "/run/ntpd:"/run/ntpd:' src/ntpd.h || die
-   # fix ntpd.drift path
-   sed -i 's:/var/db/ntpd.drift:/var/lib/openntpd/ntpd.drift:g' src/ntpd.8 
|| die
-   sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
-   # fix default config to use gentoo pool
-   sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die
-   printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
-}
-
-src_configure() {
-   econf --with-privsep-user=ntp --with-privsep-path=${NTP_HOME} 
$(use_enable libressl https-constraint)
-}
-
-src_install() {
-   default
-   rm -r "${ED}"/var
-
-   newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
-   newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
-   keepdir "${NTP_HOME}"
-
-   systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
-}
-
-pkg_postinst() {
-   # Clean up chroot localtime copy from older versions
-   if [ -d "${EROOT%/}${NTP_HOME}"/etc ] ; then
-   if [ -f "${EROOT%/}${NTP_HOME}"/etc/localtime ] ; then
-   rm -f "${EROOT%/}${NTP_HOME}"/etc/localtime
-   fi
-
-   rmdir "${EROOT%/}${NTP_HOME}"/etc ||
-   ewarn "Unable to remove legacy 
${EROOT%/}${NTP_HOME}/etc directory"
-   fi
-
-   # Fix permissions on home directory
-   chown root:root "${EROOT%/}${NTP_HOME}" || die
-
-   [[ -f ${EROOT}var/log/ntpd.log ]] && \
-   ewarn "Logfile '${EROOT}var/log/ntpd.log' might be orphaned, 
please remove it if not in use via syslog."
-
-   if [[ -f ${EROOT}var/lib/ntpd.drift ]] ; then
-   einfo "Moving ntpd.drift file to new location."
-  

[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-11-17 Thread Agostino Sarubbo
commit: 0719d9af242b13bc7fa1d78a87462f8548d936a2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 17 19:03:26 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 17 19:03:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0719d9af

net-misc/openntpd: s390 stable wrt bug #752006

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index a2e329a8b45..799824793a8 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-11-03 Thread Sam James
commit: d77158d0499cfaa8dce92cddc7f040e3f497ecdb
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov  4 00:54:50 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov  4 00:54:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d77158d0

net-misc/openntpd: Stabilize 6.2_p3-r2 amd64, #752006

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index 0b9581928f8..a2e329a8b45 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-11-03 Thread Sergei Trofimovich
commit: aa9822dc2718a739c6b93f2d5f2ea101c575ecec
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Nov  3 22:45:08 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Nov  3 22:45:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa9822dc

net-misc/openntpd: stable 6.2_p3-r2 for hppa

stable wrt bug #752006

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index 4c4886535d9..0b9581928f8 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-11-01 Thread Sam James
commit: 8b9ce01db44996ed3abf14112f2a25f6ed8f73f8
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov  1 11:18:03 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov  1 11:19:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9ce01d

net-misc/openntpd: Stabilize 6.2_p3-r2 arm, #752006

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index 7e51530d89c..4c4886535d9 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-11-01 Thread Sam James
commit: 25816830eded7e7612b9f8c27f6449df470fb6b2
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov  1 11:11:54 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov  1 11:11:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25816830

net-misc/openntpd: Stabilize 6.2_p3-r2 arm64, #752006

Signed-off-by: Sam James  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index 28485266072..7e51530d89c 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc 
x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-10-31 Thread Sergei Trofimovich
commit: 767c4a89fe271cfa452772dad821226d1a380d06
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 31 20:52:13 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 31 20:54:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=767c4a89

net-misc/openntpd: stable 6.2_p3-r2 for sparc

stable wrt bug #752006

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index a11421479f7..28485266072 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc 
x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-10-31 Thread Sergei Trofimovich
commit: f41b64c3d2ff64cdecd55d2be5d710c247022fce
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 31 20:18:09 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 31 20:18:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f41b64c3

net-misc/openntpd: stable 6.2_p3-r2 for ppc64

stable wrt bug #752006

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index 0268093ed47..a11421479f7 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-10-31 Thread Sergei Trofimovich
commit: 2c977dbbd05d441d1e18bc50bcd327d4307fe714
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 31 20:15:53 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 31 20:15:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c977dbb

net-misc/openntpd: stable 6.2_p3-r2 for ppc

stable wrt bug #752006

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index a00de9d3cc0..0268093ed47 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-10-31 Thread Thomas Deutschmann
commit: a2e0ddcf0d3a3c32f82b229ed6083982baf5ea8f
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Oct 31 16:20:30 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Oct 31 16:20:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e0ddcf

net-misc/openntpd: x86 stable (bug #752006)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
index 6f9c04133f6..a00de9d3cc0 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-06-28 Thread Christoph Junghans
commit: 41c8e97cf054b05fdc2e9ff5c0e6a6cd0bb74c8f
Author: Christoph Junghans  gentoo  org>
AuthorDate: Sun Jun 28 16:52:11 2020 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sun Jun 28 16:52:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c8e97c

net-misc/openntpd: remove myself as maintainer

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Christoph Junghans  gentoo.org>

 net-misc/openntpd/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-misc/openntpd/metadata.xml b/net-misc/openntpd/metadata.xml
index 1db33088e0c..f5534c78e2f 100644
--- a/net-misc/openntpd/metadata.xml
+++ b/net-misc/openntpd/metadata.xml
@@ -5,10 +5,6 @@
hen...@acm.org
Paul B. Henson

-   
-   jungh...@gentoo.org
-   Christoph Junghans (proxy)
-   

proxy-ma...@gentoo.org
Proxy Maintainers



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-05-09 Thread Sergei Trofimovich
commit: f7228faa76a1f3feaa5e42dd0cc8f95f636ff1a4
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat May  9 14:34:44 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat May  9 19:42:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7228faa

net-misc/openntpd: stable 6.2_p3-r1 for hppa, bug #720674

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
index abfd5096bbd..c9ce369a8c9 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-05-08 Thread Agostino Sarubbo
commit: 5b4ee5d8b3d2366d4fde405c12a8ad9b066c3b11
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May  8 17:13:42 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May  8 17:13:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b4ee5d8

net-misc/openntpd: s390 stable wrt bug #720674

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
index 5344ce76456..abfd5096bbd 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-05-08 Thread Agostino Sarubbo
commit: 7e43729b9297ed69ae676b936fc976ac5ca11c34
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May  8 17:13:09 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May  8 17:13:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e43729b

net-misc/openntpd: ppc64 stable wrt bug #720674

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
index 876d08f9fdd..5344ce76456 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-05-08 Thread Agostino Sarubbo
commit: c01c821775077158b4cc3dec84bb5a8723c21b9e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May  8 17:11:34 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May  8 17:11:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01c8217

net-misc/openntpd: ppc stable wrt bug #720674

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
index 8b1c0941f0d..876d08f9fdd 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-05-08 Thread Agostino Sarubbo
commit: 1302b464eb508006f257848c399abdca11667844
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri May  8 17:10:00 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri May  8 17:10:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1302b464

net-misc/openntpd: arm stable wrt bug #720674

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
index 195885bc108..8b1c0941f0d 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-05-06 Thread Mart Raudsepp
commit: 3bfd6fbb4e4a285422408da21146d1869bf0a759
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Wed May  6 16:33:41 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Wed May  6 18:50:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfd6fbb

net-misc/openntpd: arm64 stable (bug #720674)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
index 50bbe4055cf..195885bc108 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-05-06 Thread Sergei Trofimovich
commit: c06d6ca2de7e70c1e058bb7b1d8eab61e55d3c26
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed May  6 17:26:00 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed May  6 17:34:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c06d6ca2

net-misc/openntpd: stable 6.2_p3-r1 for sparc, bug #720674

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
index d2cd9137662..50bbe4055cf 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-05-06 Thread Agostino Sarubbo
commit: 464aa77a6b71732f022480c30e8ccb5ae146f8a1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed May  6 14:30:37 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed May  6 14:30:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=464aa77a

net-misc/openntpd: x86 stable wrt bug #720674

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
index cf149339134..d2cd9137662 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2020-05-06 Thread Agostino Sarubbo
commit: fe33e06ba2f8e90462f6bab894d70ae04b976cc6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed May  6 14:23:28 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed May  6 14:23:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe33e06b

net-misc/openntpd: amd64 stable wrt bug #720674

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
index acec71efeba..cf149339134 100644
--- a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
 IUSE="libressl selinux"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/files/, net-misc/openntpd/

2020-05-06 Thread Christoph Junghans
commit: e1b05d95f42a73c2b5a4f6bd78fa2dc25d81b1bc
Author: Paul B. Henson  acm  org>
AuthorDate: Wed May  6 03:18:02 2020 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Wed May  6 13:46:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b05d95

net-misc/openntpd: Fix issues with -fno-common compilation

Closes: https://bugs.gentoo.org/707786
Closes: https://github.com/gentoo/gentoo/pull/15662
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Paul B. Henson  acm.org>
Signed-off-by: Christoph Junghans  gentoo.org>

 .../openntpd/files/openntpd-6.2p3-fno-common.patch | 60 +++
 net-misc/openntpd/openntpd-6.2_p3-r2.ebuild| 70 ++
 2 files changed, 130 insertions(+)

diff --git a/net-misc/openntpd/files/openntpd-6.2p3-fno-common.patch 
b/net-misc/openntpd/files/openntpd-6.2p3-fno-common.patch
new file mode 100644
index 000..2a696f2fb38
--- /dev/null
+++ b/net-misc/openntpd/files/openntpd-6.2p3-fno-common.patch
@@ -0,0 +1,60 @@
+diff -u -r openntpd-6.2p3-orig/include/sys/types.h 
openntpd-6.2p3/include/sys/types.h
+--- openntpd-6.2p3-orig/include/sys/types.h2017-10-23 05:15:41.0 
-0700
 openntpd-6.2p3/include/sys/types.h 2020-05-05 19:57:57.039447282 -0700
+@@ -22,6 +22,10 @@
+ # define __bounded__(x, y, z)
+ #endif
+ 
++#if !defined(HAVE_ATTRIBUTE__PACKED) && !defined(__packed)
++# define __packed __attribute__((__packed__))
++#endif
++
+ /*
+  * Define BSD-style unsigned bits types for systems that do not have them.
+  */
+diff -u -r openntpd-6.2p3-orig/src/ntp.c openntpd-6.2p3/src/ntp.c
+--- openntpd-6.2p3-orig/src/ntp.c  2017-06-19 06:23:10.0 -0700
 openntpd-6.2p3/src/ntp.c   2020-05-05 19:55:01.041306344 -0700
+@@ -42,7 +42,7 @@
+ 
+ volatile sig_atomic_t  ntp_quit = 0;
+ struct imsgbuf*ibuf_main;
+-struct imsgbuf*ibuf_dns;
++static struct imsgbuf *ibuf_dns;
+ struct ntpd_conf  *conf;
+ struct ctl_conns   ctl_conns;
+ u_int  peer_cnt;
+diff -u -r openntpd-6.2p3-orig/src/ntp_dns.c openntpd-6.2p3/src/ntp_dns.c
+--- openntpd-6.2p3-orig/src/ntp_dns.c  2017-06-19 06:23:10.0 -0700
 openntpd-6.2p3/src/ntp_dns.c   2020-05-05 19:55:30.325662563 -0700
+@@ -33,7 +33,7 @@
+ #include "ntpd.h"
+ 
+ volatile sig_atomic_t  quit_dns = 0;
+-struct imsgbuf*ibuf_dns;
++static struct imsgbuf *ibuf_dns;
+ 
+ void  sighdlr_dns(int);
+ int   dns_dispatch_imsg(void);
+diff -u -r openntpd-6.2p3-orig/src/parse.c openntpd-6.2p3/src/parse.c
+--- openntpd-6.2p3-orig/src/parse.c2017-10-30 01:57:56.0 -0700
 openntpd-6.2p3/src/parse.c 2020-05-05 19:55:56.505981067 -0700
+@@ -101,7 +101,6 @@
+ intlungetc(int);
+ intfindeol(void);
+ 
+-struct ntpd_conf  *conf;
+ struct sockaddr_in query_addr4;
+ struct sockaddr_in6query_addr6;
+ 
+diff -u -r openntpd-6.2p3-orig/src/parse.y openntpd-6.2p3/src/parse.y
+--- openntpd-6.2p3-orig/src/parse.y2017-10-30 01:57:40.0 -0700
 openntpd-6.2p3/src/parse.y 2020-05-05 19:55:51.504920219 -0700
+@@ -57,7 +57,6 @@
+ intlungetc(int);
+ intfindeol(void);
+ 
+-struct ntpd_conf  *conf;
+ struct sockaddr_in query_addr4;
+ struct sockaddr_in6query_addr6;
+ 

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
new file mode 100644
index 000..6f9c04133f6
--- /dev/null
+++ b/net-misc/openntpd/openntpd-6.2_p3-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+MY_P="${P/_p/p}"
+
+DESCRIPTION="Lightweight NTP server ported from OpenBSD"
+HOMEPAGE="http://www.openntpd.org/";
+SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86"
+IUSE="libressl selinux"
+
+DEPEND="
+   !net-misc/ntp[-openntpd]
+   libressl? ( dev-libs/libressl:0= )"
+
+RDEPEND="
+   ${DEPEND}
+   acct-group/openntpd
+   acct-user/openntpd
+   selinux? ( sec-policy/selinux-ntp )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}/openntpd-6.2p3-fno-common.patch"
+)
+
+src_prepare() {
+   default
+
+   # fix /run path
+   sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
+   sed -i 's:LOCALSTATEDIR "/run/ntpd:"/run/ntpd:' src/ntpd.h || die
+
+   # fix ntpd.drift path
+   sed -i 's:/var/db/ntpd.drift:/var/lib/openntpd/ntpd.drift:g' src/ntpd.8 
|| die
+   sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
+
+   # fix default config to use gentoo pool
+   sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die
+   printf "\n# Choose servers announced from Gentoo NTP Pool

[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2019-12-08 Thread Joonas Niilola
commit: e499d09c6711bad8dfaba4b1640e1a2be6f78057
Author: Paul B. Henson  acm  org>
AuthorDate: Tue Nov 26 05:03:46 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Dec  8 10:08:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e499d09c

net-misc/openntpd: EAPI=7, Use GLEP 81 for user/group instead of user eclass

Bug: https://bugs.gentoo.org/693050
Signed-off-by: Paul B. Henson  acm.org>
Closes: https://github.com/gentoo/gentoo/pull/13763
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/openntpd/openntpd-6.2_p3-r1.ebuild | 66 +
 1 file changed, 66 insertions(+)

diff --git a/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
new file mode 100644
index 000..db3edb458e5
--- /dev/null
+++ b/net-misc/openntpd/openntpd-6.2_p3-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+MY_P="${P/_p/p}"
+
+DESCRIPTION="Lightweight NTP server ported from OpenBSD"
+HOMEPAGE="http://www.openntpd.org/";
+SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86"
+IUSE="libressl selinux"
+
+DEPEND="
+   !net-misc/ntp[-openntpd]
+   libressl? ( dev-libs/libressl:0= )"
+
+RDEPEND="
+   ${DEPEND}
+   acct-group/openntpd
+   acct-user/openntpd
+   selinux? ( sec-policy/selinux-ntp )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   default
+
+   # fix /run path
+   sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
+   sed -i 's:LOCALSTATEDIR "/run/ntpd:"/run/ntpd:' src/ntpd.h || die
+
+   # fix ntpd.drift path
+   sed -i 's:/var/db/ntpd.drift:/var/lib/openntpd/ntpd.drift:g' src/ntpd.8 
|| die
+   sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
+
+   # fix default config to use gentoo pool
+   sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die
+   printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
+
+   # disable constraint config if libressl not enabled
+   use libressl || sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
+}
+
+src_configure() {
+   econf \
+   --with-privsep-user=openntpd \
+   --with-privsep-path=/var/lib/openntpd/chroot \
+   $(use_enable libressl https-constraint)
+}
+
+src_install() {
+   default
+
+   rm -r "${ED}"/var || die
+
+   newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
+   newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
+
+   systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2019-03-09 Thread Mikle Kolyada
commit: 509d87860502b665ae252490803eec64b571f430
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Mar  9 08:17:41 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Mar  9 08:17:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=509d8786

net-misc/openntpd: mark s390 stable

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index 97ed2403751..f9443dc6c2d 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 
~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2018-03-21 Thread Mart Raudsepp
commit: 3862677e84abfd9a34879f71e8c7ec4d3915f4bc
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Wed Mar 21 10:58:45 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Wed Mar 21 11:07:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3862677e

net-misc/openntpd-6.0_p1: arm64 stable

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index ce9fa700895..97ed2403751 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2018-02-21 Thread Christoph Junghans
commit: 9fc86d04cbc2ed118323f0de9456e0bcba122b5a
Author: Paul B. Henson  acm  org>
AuthorDate: Thu Feb 22 04:43:32 2018 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Thu Feb 22 04:44:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fc86d04

net-misc/openntpd: version bump

Closes: https://github.com/gentoo/gentoo/pull/7251
Closes: https://bugs.gentoo.org/show_bug.cgi?id=644892
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/openntpd/Manifest   | 2 +-
 net-misc/openntpd/{openntpd-6.2_p1.ebuild => openntpd-6.2_p3.ebuild} | 5 -
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-misc/openntpd/Manifest b/net-misc/openntpd/Manifest
index 792ef593f5d..ecb8e0eb947 100644
--- a/net-misc/openntpd/Manifest
+++ b/net-misc/openntpd/Manifest
@@ -1,2 +1,2 @@
 DIST openntpd-6.0p1.tar.gz 432696 BLAKE2B 
331214c5a77adf99974a665a157255857b295f49409721d8530fdd2eb6c00e458a2e6395105a527a4a8603e65efb33e16f752c70222e9f7697f8c871d51cffda
 SHA512 
a71c516dbe7596cbcb3a385112a59a82185b7e3d93a52eda695cea5a0a599ba7fbf58daa81da55d608255cb6950398123fa7d71663604a4c3bcbee949711296d
-DIST openntpd-6.2p1.tar.gz 437376 BLAKE2B 
a574740179957ff4969affdefafb3ae5e79305bf740424122714424944f4cfc1ea9e6816974cfd95a0fd7b9a1806106d1e6fbb8af9aa9e6230de39f437ba49b0
 SHA512 
99ad2c8e42de159b1122fe30385eff2f6311202b8526828dacd52db6ec36ce14785131b0576ac5b08d3ed9cadffc142c9146e395da29409b3227c4a77187d31e
+DIST openntpd-6.2p3.tar.gz 447586 BLAKE2B 
f81db876c01572f06b8fc24aabe8954b15287496e8c39c1ae81231ef01676fbe8c69c5cf517279e45510b6b1b5f4c5d0d09d7ce5fc220c7bf36763cf67623519
 SHA512 
56a04bfd8b161b365607673ac80086ff53ae943938fa49bf52edbc541432eca30730a46a4af581fe26ce3bbceb144cb25982a38959b7a3f9304c727fe60f9f50

diff --git a/net-misc/openntpd/openntpd-6.2_p1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p3.ebuild
similarity index 94%
rename from net-misc/openntpd/openntpd-6.2_p1.ebuild
rename to net-misc/openntpd/openntpd-6.2_p3.ebuild
index ccf131fee0d..8dc5264ee15 100644
--- a/net-misc/openntpd/openntpd-6.2_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.2_p3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -56,6 +56,9 @@ src_prepare() {
# fix default config to use gentoo pool
sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die
printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
+
+   # disable constraint config if libressl not enabled
+   use libressl || sed -ie 's/^constraints/#constraints/g' ntpd.conf || die
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2017-11-26 Thread David Seifert
commit: 5831b7d0256c65861f1a0d9bc8872bb5d9842cd2
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 26 12:47:58 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 26 23:21:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5831b7d0

net-misc/openntpd: [QA] Consistent whitespace in metadata.xml

 net-misc/openntpd/metadata.xml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-misc/openntpd/metadata.xml b/net-misc/openntpd/metadata.xml
index 1354e55c364..1db33088e0c 100644
--- a/net-misc/openntpd/metadata.xml
+++ b/net-misc/openntpd/metadata.xml
@@ -20,8 +20,6 @@
local clock.


-   Enable HTTPS TLS time constraint support using
-   dev-libs/libressl
-   
+   Enable HTTPS TLS time constraint support 
using dev-libs/libressl

 



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2017-07-21 Thread Patrice Clement
commit: e8c7b6e9e05dd80983f8aa086dffd5c7eba40556
Author: Patrice Clement  gentoo  org>
AuthorDate: Fri Jul 21 09:34:27 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Jul 21 09:34:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c7b6e9

net-misc/openntpd: version bump and EAPI 6 bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 net-misc/openntpd/Manifest   |   1 +
 net-misc/openntpd/openntpd-6.2_p1.ebuild | 101 +++
 2 files changed, 102 insertions(+)

diff --git a/net-misc/openntpd/Manifest b/net-misc/openntpd/Manifest
index fd848b42e86..d875748d908 100644
--- a/net-misc/openntpd/Manifest
+++ b/net-misc/openntpd/Manifest
@@ -1 +1,2 @@
 DIST openntpd-6.0p1.tar.gz 432696 SHA256 
b1ab80094788912adb12b33cb1f251cc58db39294c1b5c6376972f5f7ba577e8 SHA512 
a71c516dbe7596cbcb3a385112a59a82185b7e3d93a52eda695cea5a0a599ba7fbf58daa81da55d608255cb6950398123fa7d71663604a4c3bcbee949711296d
 WHIRLPOOL 
75b82a07920eb7c3825a37725a81615871b728e9543ec43cb20c9e61a64f523293aa7e1fbbb92ebb8d6417d13f377213ffbcba1c77c7b3c68b64e26e30222a0b
+DIST openntpd-6.2p1.tar.gz 437376 SHA256 
05e1668f89969a6ae064f411cb1d864ca3acb27ebd8fac963e6443ea0788d0bc SHA512 
99ad2c8e42de159b1122fe30385eff2f6311202b8526828dacd52db6ec36ce14785131b0576ac5b08d3ed9cadffc142c9146e395da29409b3227c4a77187d31e
 WHIRLPOOL 
4b1d9bc09deda1550182876f36a251c0a07fd5967db6256f420c9933c4bb275108ebf65031f6e8452aa80fed8b31ac490d7b076db47ca110df4f73d54475243f

diff --git a/net-misc/openntpd/openntpd-6.2_p1.ebuild 
b/net-misc/openntpd/openntpd-6.2_p1.ebuild
new file mode 100644
index 000..ccf131fee0d
--- /dev/null
+++ b/net-misc/openntpd/openntpd-6.2_p1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd user
+
+NTP_HOME="${NTP_HOME:=/var/lib/openntpd/chroot}"
+MY_P="${P/_p/p}"
+
+DESCRIPTION="Lightweight NTP server ported from OpenBSD"
+HOMEPAGE="http://www.openntpd.org/";
+SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
+IUSE="libressl selinux"
+
+DEPEND="
+   !<=net-misc/ntp-4.2.0-r2
+   !net-misc/ntp[-openntpd]
+   libressl? ( dev-libs/libressl:0= )"
+
+RDEPEND="
+   ${DEPEND}
+   selinux? ( sec-policy/selinux-ntp )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   enewgroup ntp
+   enewuser ntp -1 -1 "${NTP_HOME}" ntp
+
+   # make sure user has correct HOME as flipping between the standard ntp 
pkg
+   # and this one was possible in the past
+   if [[ $(egethome ntp) != ${NTP_HOME} ]]; then
+   ewarn "From this version on, the homedir of the ntp user cannot 
be changed"
+   ewarn "dynamically after the installation. For homedir 
different from"
+   ewarn "/var/lib/openntpd/chroot set NTP_HOME in your make.conf 
and re-emerge."
+   esethome ntp "${NTP_HOME}"
+   fi
+}
+
+src_prepare() {
+   default
+
+   # fix /run path
+   sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
+   sed -i 's:LOCALSTATEDIR "/run/ntpd:"/run/ntpd:' src/ntpd.h || die
+
+   # fix ntpd.drift path
+   sed -i 's:/var/db/ntpd.drift:/var/lib/openntpd/ntpd.drift:g' src/ntpd.8 
|| die
+   sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
+
+   # fix default config to use gentoo pool
+   sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die
+   printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
+}
+
+src_configure() {
+   econf \
+   --with-privsep-user=ntp \
+   --with-privsep-path=${NTP_HOME} \
+   $(use_enable libressl https-constraint)
+}
+
+src_install() {
+   default
+
+   rm -r "${ED}"/var || die
+
+   newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
+   newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
+   keepdir "${NTP_HOME}"
+
+   systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
+}
+
+pkg_postinst() {
+   # Clean up chroot localtime copy from older versions
+   if [[ -d "${EROOT%/}${NTP_HOME}"/etc ]]; then
+   if [[ -f "${EROOT%/}${NTP_HOME}"/etc/localtime ]]; then
+   rm -v "${EROOT%/}${NTP_HOME}"/etc/localtime || die
+   fi
+
+   rmdir "${EROOT%/}${NTP_HOME}"/etc ||
+   ewarn "Unable to remove legacy 
${EROOT%/}${NTP_HOME}/etc directory"
+   fi
+
+   # Fix permissions on home directory
+   chown root:root "${EROOT%/}${NTP_HOME}" || die
+
+   [[ -f ${EROOT}var/log/ntpd.log ]] && \
+   ewarn "Logfile '${E

[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2017-05-21 Thread Christoph Junghans
commit: 131da34ecc8dd592b191470897a7be7eb266eb7c
Author: Christoph Junghans  gentoo  org>
AuthorDate: Sun May 21 19:04:50 2017 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sun May 21 19:05:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=131da34e

net-misc/openntpd: create chroot (bug #619118)

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index b1d0b9529f9..ce9fa700895 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -59,6 +59,7 @@ src_install() {
 
newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
+   keepdir "${NTP_HOME}"
 
systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/files/, net-misc/openntpd/

2016-07-08 Thread Christoph Junghans
commit: 109249d85bf67f406203b8e7ace75e3e0dc62810
Author: Christoph Junghans  gentoo  org>
AuthorDate: Fri Jul  8 15:05:25 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Fri Jul  8 15:05:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=109249d8

net-misc/openntpd: drop <6 (bug #584508

Package-Manager: portage-2.2.28

 net-misc/openntpd/Manifest |  1 -
 .../openntpd/files/openntpd-5.7_p4-nolibtls.patch  | 49 
 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild| 89 --
 3 files changed, 139 deletions(-)

diff --git a/net-misc/openntpd/Manifest b/net-misc/openntpd/Manifest
index 9780700..fd848b4 100644
--- a/net-misc/openntpd/Manifest
+++ b/net-misc/openntpd/Manifest
@@ -1,2 +1 @@
-DIST openntpd-5.7p4.tar.gz 427900 SHA256 
a993d95976e375acc0ab1a677fd268f55024477835633c8ae404895046bccb23 SHA512 
2a185139c915482086069fa19dd3070884a415137d1688059559d2da892928afbbe2fa0a8ade70d474809710265dcc05906abaf261892d7894e70272e2e516ef
 WHIRLPOOL 
9464941e0f055ecd1db19a03bb5264a1dce02c6c7c2be078d1e3a19b5bd0a3c4e19ee6768617c90ebed01dea32f3a63751f9ef0436f56e22b7e6bd673a065546
 DIST openntpd-6.0p1.tar.gz 432696 SHA256 
b1ab80094788912adb12b33cb1f251cc58db39294c1b5c6376972f5f7ba577e8 SHA512 
a71c516dbe7596cbcb3a385112a59a82185b7e3d93a52eda695cea5a0a599ba7fbf58daa81da55d608255cb6950398123fa7d71663604a4c3bcbee949711296d
 WHIRLPOOL 
75b82a07920eb7c3825a37725a81615871b728e9543ec43cb20c9e61a64f523293aa7e1fbbb92ebb8d6417d13f377213ffbcba1c77c7b3c68b64e26e30222a0b

diff --git a/net-misc/openntpd/files/openntpd-5.7_p4-nolibtls.patch 
b/net-misc/openntpd/files/openntpd-5.7_p4-nolibtls.patch
deleted file mode 100644
index 85a7c72..000
--- a/net-misc/openntpd/files/openntpd-5.7_p4-nolibtls.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-diff -u -r openntpd-5.7p4-orig/src/config.c openntpd-5.7p4/src/config.c
 openntpd-5.7p4-orig/src/config.c   2015-03-24 18:18:56.0 -0700
-+++ openntpd-5.7p4/src/config.c2015-05-25 16:48:59.0 -0700
-@@ -218,6 +218,9 @@
-   fatal("new_constraint calloc");
-   p->id = ++constraint_maxid;
- 
-+#ifndef HAVE_LIBTLS
-+  fatal("constraint configured without libtls support");
-+#endif
-   return (p);
- }
- 
-diff -u -r openntpd-5.7p4-orig/src/ntp.c openntpd-5.7p4/src/ntp.c
 openntpd-5.7p4-orig/src/ntp.c  2015-03-11 19:15:36.0 -0700
-+++ openntpd-5.7p4/src/ntp.c   2015-05-25 16:48:59.0 -0700
-@@ -110,12 +110,14 @@
-   return (pid);
-   }
- 
-+#ifdef HAVE_LIBTLS
-   tls_init();
- 
-   /* Verification will be turned off if CA is not found */
-   if ((conf->ca = tls_load_file(CONSTRAINT_CA,
-   &conf->ca_len, NULL)) == NULL)
-   log_warnx("constraint certificate verification turned off");
-+#endif
- 
-   /* in this case the parent didn't init logging and didn't daemonize */
-   if (nconf->settime && !nconf->debug) {
-diff -u -r openntpd-5.7p4-orig/src/ntpd.conf.5 openntpd-5.7p4/src/ntpd.conf.5
 openntpd-5.7p4-orig/src/ntpd.conf.52015-03-24 18:18:56.0 
-0700
-+++ openntpd-5.7p4/src/ntpd.conf.5 2015-05-25 16:48:59.0 -0700
-@@ -192,8 +192,11 @@
- .Sq Man-In-The-Middle
- attacks.
- Received NTP packets with time information falling outside of a range
--near the constraint will be discarded and such NTP servers
--will be marked as invalid.
-+near the constraint will be discarded and such NTP servers will be marked as
-+invalid. Contraints are only available if
-+.Xr ntpd 8
-+has been compiled with libtls support. Configuring a constraint without libtls
-+support will result in a fatal error.
- .Bl -tag -width Ds
- .It Ic constraint from Ar url
- Specify the URL, IP address or the hostname of an HTTPS server to
-Only in openntpd-5.7p4/src: ntpd.conf.5.orig

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
deleted file mode 100644
index 16284e3..000
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit eutils systemd user
-
-MY_P="${P/_p/p}"
-DESCRIPTION="Lightweight NTP server ported from OpenBSD"
-HOMEPAGE="http://www.openntpd.org/";
-SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
-
-LICENSE="BSD GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd"
-IUSE="selinux"
-
-DEPEND="!<=net-misc/ntp-4.2.0-r2
-   !net-misc/ntp[-openntpd]"
-RDEPEND="${DEPEND}
-   selinux? ( sec-policy/selinux-ntp )"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   export NTP_HOME="${NTP_HOME:=/var/lib/openntpd/chroot}"
-   enewgroup ntp
-   enewuser ntp -1 -1 "${NTP_HOME}" ntp
-
-   # make sure user has correct HOME as flipping between the standard ntp 
pkg
-   # and this one was pos

[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-07-08 Thread Agostino Sarubbo
commit: f90d4a2dfb3c1686f30ce58315099edc945fb95c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  8 12:01:41 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  8 12:01:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90d4a2d

net-misc/openntpd: ia64 stable wrt bug #584508

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index d817f18..2fc0264 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-07-08 Thread Agostino Sarubbo
commit: 0479861264b5d167c2a8fd268f644186541657f2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  8 10:00:58 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  8 10:01:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04798612

net-misc/openntpd: sparc stable wrt bug #584508

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index 3f0485a..d817f18 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-07-08 Thread Agostino Sarubbo
commit: e057d1ee073b5e1da4f36f41145a57d086a90a36
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul  8 07:52:38 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul  8 07:52:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e057d1ee

net-misc/openntpd: ppc stable wrt bug #584508

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index 5966c5a..3f0485a 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-06-21 Thread Jeroen Roovers
commit: efd414cddb0c7a5852bdcc495b9cc8ab01f2c26c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jun 21 11:39:40 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jun 21 11:39:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd414cd

net-misc/openntpd: Stable for HPPA (bug #584508).

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --ignore-arches

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index e25a8bc..5966c5a 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-06-03 Thread Markus Meier
commit: a9f976f8b0d2c89c771d84fcd2229edfda4546e1
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Jun  4 05:09:04 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Jun  4 05:09:04 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f976f8

net-misc/openntpd: arm stable, bug #584508

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --include-arches="arm"

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index f8752c9..e25a8bc 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-06-02 Thread Jeroen Roovers
commit: 6679e903e1ad82eb03b4b9ab8c83253c96ff759c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jun  3 03:16:11 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jun  3 03:16:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6679e903

net-misc/openntpd: Stable for PPC64 (bug #584508).

Package-Manager: portage-2.3.0_rc1
RepoMan-Options: --ignore-arches

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index ab38662..f8752c9 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-06-01 Thread Tobias Klausmann
commit: d3a79f6e66d25cd446cb12be9a51d0c35588e46a
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Jun  1 15:18:26 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Jun  1 15:18:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3a79f6e

net-misc/openntpd-6.0_p1-r0: add alpha keyword

Gentoo-Bug: 584508

Package-Manager: portage-2.3.0_rc1

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index 2cd8e91..ab38662 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-06-01 Thread Agostino Sarubbo
commit: 6152f7370a412ed323802f199890387d6a7ed908
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun  1 14:45:34 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun  1 14:45:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6152f737

net-misc/openntpd: x86 stable wrt bug #584508

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index 237e419..2cd8e91 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc x86 ~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-06-01 Thread Agostino Sarubbo
commit: 2a4de85b8600dcc04aa6261f86f8bfcd618fe336
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jun  1 14:45:08 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jun  1 14:45:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4de85b

net-misc/openntpd: amd64 stable wrt bug #584508

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/openntpd/openntpd-6.0_p1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-6.0_p1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
index 1c78261..237e419 100644
--- a/net-misc/openntpd/openntpd-6.0_p1.ebuild
+++ b/net-misc/openntpd/openntpd-6.0_p1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
 IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-05-31 Thread Christoph Junghans
commit: 3b3cb584e265efd23d1a59c6ef85c3a3eb5407f4
Author: Paul B. Henson  acm  org>
AuthorDate: Tue May 31 03:31:35 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Tue May 31 16:35:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b3cb584

net-misc/openntpd: Bump to 6.0_p1, fix bug #584508

 net-misc/openntpd/Manifest  | 2 +-
 net-misc/openntpd/{openntpd-5.9_p1-r1.ebuild => openntpd-6.0_p1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/Manifest b/net-misc/openntpd/Manifest
index 0df196a..9780700 100644
--- a/net-misc/openntpd/Manifest
+++ b/net-misc/openntpd/Manifest
@@ -1,2 +1,2 @@
 DIST openntpd-5.7p4.tar.gz 427900 SHA256 
a993d95976e375acc0ab1a677fd268f55024477835633c8ae404895046bccb23 SHA512 
2a185139c915482086069fa19dd3070884a415137d1688059559d2da892928afbbe2fa0a8ade70d474809710265dcc05906abaf261892d7894e70272e2e516ef
 WHIRLPOOL 
9464941e0f055ecd1db19a03bb5264a1dce02c6c7c2be078d1e3a19b5bd0a3c4e19ee6768617c90ebed01dea32f3a63751f9ef0436f56e22b7e6bd673a065546
-DIST openntpd-5.9p1.tar.gz 432844 SHA256 
200c04056d4d6441653cac71d515611f3903aa7b15b8f5661a40dab3fb3697b3 SHA512 
227a4d42f43f4abfaa97fb85cf121d3b9a6646259faeda785dbeb3e4a27285a7f95daf96e72135871a31f772895f3b66c10bd628c87e453507ce69102f5e1213
 WHIRLPOOL 
af0d4085f9dc7449a3ab8dd61ced9dbac285d83c9716b8761f35e1e920519a910d34d277cd28ec3138a556f5eb1df88399f9e47524438f539cf41ef1739ddcc4
+DIST openntpd-6.0p1.tar.gz 432696 SHA256 
b1ab80094788912adb12b33cb1f251cc58db39294c1b5c6376972f5f7ba577e8 SHA512 
a71c516dbe7596cbcb3a385112a59a82185b7e3d93a52eda695cea5a0a599ba7fbf58daa81da55d608255cb6950398123fa7d71663604a4c3bcbee949711296d
 WHIRLPOOL 
75b82a07920eb7c3825a37725a81615871b728e9543ec43cb20c9e61a64f523293aa7e1fbbb92ebb8d6417d13f377213ffbcba1c77c7b3c68b64e26e30222a0b

diff --git a/net-misc/openntpd/openntpd-5.9_p1-r1.ebuild 
b/net-misc/openntpd/openntpd-6.0_p1.ebuild
similarity index 100%
rename from net-misc/openntpd/openntpd-5.9_p1-r1.ebuild
rename to net-misc/openntpd/openntpd-6.0_p1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-05-23 Thread Christoph Junghans
commit: 49213a5fc2daf0daabbe511365a096af877a7c9a
Author: Christoph Junghans  gentoo  org>
AuthorDate: Mon May 23 20:53:24 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Mon May 23 20:56:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49213a5f

net-misc/openntpd: fix deps (bug #583652)

Package-Manager: portage-2.2.28

 net-misc/openntpd/{openntpd-5.9_p1.ebuild => openntpd-5.9_p1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.9_p1.ebuild 
b/net-misc/openntpd/openntpd-5.9_p1-r1.ebuild
similarity index 98%
rename from net-misc/openntpd/openntpd-5.9_p1.ebuild
rename to net-misc/openntpd/openntpd-5.9_p1-r1.ebuild
index 80015bb..1c78261 100644
--- a/net-misc/openntpd/openntpd-5.9_p1.ebuild
+++ b/net-misc/openntpd/openntpd-5.9_p1-r1.ebuild
@@ -17,7 +17,7 @@ IUSE="libressl selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2
!net-misc/ntp[-openntpd]
-   libressl? ( dev-libs/libressl )"
+   libressl? ( >=dev-libs/libressl-2.3.2 )"
 RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-ntp )"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-04-16 Thread Christoph Junghans
commit: ef0cce7b812a05f37064956934addd94b19e1e81
Author: Paul B. Henson  acm  org>
AuthorDate: Sat Apr 16 04:00:39 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Sat Apr 16 16:46:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef0cce7b

net-misc/openntpd: Bump to 5.9_p1

 net-misc/openntpd/Manifest   |  1 +
 net-misc/openntpd/metadata.xml   |  5 ++
 net-misc/openntpd/openntpd-5.9_p1.ebuild | 88 
 3 files changed, 94 insertions(+)

diff --git a/net-misc/openntpd/Manifest b/net-misc/openntpd/Manifest
index bea2d47..0df196a 100644
--- a/net-misc/openntpd/Manifest
+++ b/net-misc/openntpd/Manifest
@@ -1 +1,2 @@
 DIST openntpd-5.7p4.tar.gz 427900 SHA256 
a993d95976e375acc0ab1a677fd268f55024477835633c8ae404895046bccb23 SHA512 
2a185139c915482086069fa19dd3070884a415137d1688059559d2da892928afbbe2fa0a8ade70d474809710265dcc05906abaf261892d7894e70272e2e516ef
 WHIRLPOOL 
9464941e0f055ecd1db19a03bb5264a1dce02c6c7c2be078d1e3a19b5bd0a3c4e19ee6768617c90ebed01dea32f3a63751f9ef0436f56e22b7e6bd673a065546
+DIST openntpd-5.9p1.tar.gz 432844 SHA256 
200c04056d4d6441653cac71d515611f3903aa7b15b8f5661a40dab3fb3697b3 SHA512 
227a4d42f43f4abfaa97fb85cf121d3b9a6646259faeda785dbeb3e4a27285a7f95daf96e72135871a31f772895f3b66c10bd628c87e453507ce69102f5e1213
 WHIRLPOOL 
af0d4085f9dc7449a3ab8dd61ced9dbac285d83c9716b8761f35e1e920519a910d34d277cd28ec3138a556f5eb1df88399f9e47524438f539cf41ef1739ddcc4

diff --git a/net-misc/openntpd/metadata.xml b/net-misc/openntpd/metadata.xml
index 72d4033..ba5173c 100644
--- a/net-misc/openntpd/metadata.xml
+++ b/net-misc/openntpd/metadata.xml
@@ -19,4 +19,9 @@
NTP servers and can act as NTP server itself, redistributing the
local clock.

+   
+   Enable HTTPS TLS time constraint support using
+   dev-libs/libressl
+   
+   
 

diff --git a/net-misc/openntpd/openntpd-5.9_p1.ebuild 
b/net-misc/openntpd/openntpd-5.9_p1.ebuild
new file mode 100644
index 000..80015bb
--- /dev/null
+++ b/net-misc/openntpd/openntpd-5.9_p1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils systemd user
+
+MY_P="${P/_p/p}"
+DESCRIPTION="Lightweight NTP server ported from OpenBSD"
+HOMEPAGE="http://www.openntpd.org/";
+SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
+IUSE="libressl selinux"
+
+DEPEND="!<=net-misc/ntp-4.2.0-r2
+   !net-misc/ntp[-openntpd]
+   libressl? ( dev-libs/libressl )"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-ntp )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   export NTP_HOME="${NTP_HOME:=/var/lib/openntpd/chroot}"
+   enewgroup ntp
+   enewuser ntp -1 -1 "${NTP_HOME}" ntp
+
+   # make sure user has correct HOME as flipping between the standard ntp 
pkg
+   # and this one was possible in the past
+   if [[ $(egethome ntp) != ${NTP_HOME} ]]; then
+   ewarn "From this version on, the homedir of the ntp user cannot 
be changed"
+   ewarn "dynamically after the installation. For homedir 
different from"
+   ewarn "/var/lib/openntpd/chroot set NTP_HOME in your make.conf 
and re-emerge."
+   esethome ntp "${NTP_HOME}"
+   fi
+}
+
+src_prepare() {
+   # fix /run path
+   sed -i 's:/var/run/ntpd:/run/ntpd:g' src/ntpctl.8 src/ntpd.8 || die
+   sed -i 's:LOCALSTATEDIR "/run/ntpd:"/run/ntpd:' src/ntpd.h || die
+   # fix ntpd.drift path
+   sed -i 's:/var/db/ntpd.drift:/var/lib/openntpd/ntpd.drift:g' src/ntpd.8 
|| die
+   sed -i 's:"/db/ntpd.drift":"/openntpd/ntpd.drift":' src/ntpd.h || die
+   # fix default config to use gentoo pool
+   sed -i 's:servers pool.ntp.org:#servers pool.ntp.org:' ntpd.conf || die
+   printf "\n# Choose servers announced from Gentoo NTP Pool\nservers 
0.gentoo.pool.ntp.org\nservers 1.gentoo.pool.ntp.org\nservers 
2.gentoo.pool.ntp.org\nservers 3.gentoo.pool.ntp.org\n" >> ntpd.conf || die
+}
+
+src_configure() {
+   econf --with-privsep-user=ntp --with-privsep-path=${NTP_HOME} 
$(use_enable libressl https-constraint)
+}
+
+src_install() {
+   default
+   rm -r "${ED}"/var
+
+   newinitd "${FILESDIR}/${PN}.init.d-20080406-r6" ntpd
+   newconfd "${FILESDIR}/${PN}.conf.d-20080406-r6" ntpd
+
+   systemd_newunit "${FILESDIR}/${PN}.service-20080406-r4" ntpd.service
+}
+
+pkg_postinst() {
+   # Clean up chroot localtime copy from older versions
+   if [ -d "${EROOT%/}${NTP_HOME}"/etc ] ; then
+   if [ -f "${EROOT%/}${NTP_HOME}"/etc/localtime ] ; then
+   rm -f "${EROOT%/}${NTP_HOME}"/etc/localtime
+   fi
+
+   rmdir "${EROOT%/}${NTP_HOME}"/

[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/files/, net-misc/openntpd/

2016-02-01 Thread Christoph Junghans
commit: f55c32a55520092034056e81c583585c9601acd2
Author: Christoph Junghans  gentoo  org>
AuthorDate: Mon Feb  1 18:04:48 2016 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Mon Feb  1 18:04:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55c32a5

net-misc/openntpd: remove old

Package-Manager: portage-2.2.26

 net-misc/openntpd/Manifest |   2 -
 .../files/openntpd-20080406-dns-timeout.patch  |  46 ---
 .../openntpd/files/openntpd-20080406-pidfile.patch | 141 -
 .../openntpd/files/openntpd-20080406-signal.patch  |  57 -
 net-misc/openntpd/openntpd-4.0_pre20080406.ebuild  | 105 ---
 5 files changed, 351 deletions(-)

diff --git a/net-misc/openntpd/Manifest b/net-misc/openntpd/Manifest
index b610e73..bea2d47 100644
--- a/net-misc/openntpd/Manifest
+++ b/net-misc/openntpd/Manifest
@@ -1,3 +1 @@
 DIST openntpd-5.7p4.tar.gz 427900 SHA256 
a993d95976e375acc0ab1a677fd268f55024477835633c8ae404895046bccb23 SHA512 
2a185139c915482086069fa19dd3070884a415137d1688059559d2da892928afbbe2fa0a8ade70d474809710265dcc05906abaf261892d7894e70272e2e516ef
 WHIRLPOOL 
9464941e0f055ecd1db19a03bb5264a1dce02c6c7c2be078d1e3a19b5bd0a3c4e19ee6768617c90ebed01dea32f3a63751f9ef0436f56e22b7e6bd673a065546
-DIST openntpd_20080406p-6.debian.tar.gz 11849 SHA256 
6718ffb52b7f34c7c3e9532d245f31ee5c749bac2cc2c2d4594d8161925a3122 SHA512 
f857fbc85e29035470af0855c8fc416c188f55586ba2e1d719159ecfa4a0274ba4dd526409dfd915056a1c15f5e44cb8c40196a7e03c3026c5d73851ebb5abc8
 WHIRLPOOL 
35bc0ab16d161c7878d438641eede8425238fbce4d32f6b56e347252e6ad561dc1a5795e3bc3cf133fa09dccb69520cb9837c7134bc0fe6cec9ea14be314ee51
-DIST openntpd_20080406p.orig.tar.gz 175923 SHA256 
52f473dd8ea8864023ebcdce16a9a50571803af7ffc32a00212242c6a866c3b2 SHA512 
9561788002b232786d1589f74bbe2f07a029e3407da4471d2ac9d5e20d8839dbb6e6e53493c78829058611ca23bf00560bbe7bcfe76204d206747752fd47f696
 WHIRLPOOL 
545125d0ee5ced7827df3d804ac63938d2614e9fb4a2bf3c6bbc17f6040175aa03c057d7a4d3da71ae944f4a556e2b66266d1c6d0463c1cad5d86de3ae896712

diff --git a/net-misc/openntpd/files/openntpd-20080406-dns-timeout.patch 
b/net-misc/openntpd/files/openntpd-20080406-dns-timeout.patch
deleted file mode 100644
index 6026037..000
--- a/net-misc/openntpd/files/openntpd-20080406-dns-timeout.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-fix dns lookups timeout
-https://bugs.gentoo.org/show_bug.cgi?id=493358
-
-diff -u openntpd-20080406p-orig/ntpd.c openntpd-20080406p/ntpd.c
 openntpd-20080406p-orig/ntpd.c 2013-12-04 20:12:02.562857933 -0800
-+++ openntpd-20080406p/ntpd.c  2013-12-04 20:22:55.617577783 -0800
-@@ -34,6 +34,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- 
- #include "ntpd.h"
-@@ -95,6 +96,7 @@
-   int  ch, nfds, timeout = INFTIM;
-   int  pipe_chld[2];
-   extern char *__progname;
-+  time_t  start_time;
- 
-   __progname = _compat_get_progname(argv[0]);
- 
-@@ -197,6 +199,8 @@
-   fatal(NULL);
-   imsg_init(ibuf, pipe_chld[0]);
- 
-+  start_time = getmonotime();
-+
-   while (quit == 0) {
-   pfd[PFD_PIPE].fd = ibuf->fd;
-   pfd[PFD_PIPE].events = POLLIN;
-@@ -209,11 +213,12 @@
-   quit = 1;
-   }
- 
--  if (nfds == 0 && lconf.settime) {
-+  if (lconf.settime &&
-+  (nfds == 0 || getmonotime() > start_time+SETTIME_TIMEOUT)) {
-   lconf.settime = 0;
-   timeout = INFTIM;
-   log_init(lconf.debug);
--  log_debug("no reply received in time, skipping initial "
-+  log_warnx("no reply received in time, skipping initial "
-   "time setting");
-   if (!lconf.debug) {
-   if (daemon(1, 0))

diff --git a/net-misc/openntpd/files/openntpd-20080406-pidfile.patch 
b/net-misc/openntpd/files/openntpd-20080406-pidfile.patch
deleted file mode 100644
index d2ee385..000
--- a/net-misc/openntpd/files/openntpd-20080406-pidfile.patch
+++ /dev/null
@@ -1,141 +0,0 @@
-adding a -p option to openntpd to create a pidfile
-
-https://bugs.gentoo.org/show_bug.cgi?id=493082
-
-diff -u -r openntpd-20080406p.orig/ntpd.8 openntpd-20080406p/ntpd.8
 openntpd-20080406p.orig/ntpd.8 2013-12-01 12:49:49.773116316 -0800
-+++ openntpd-20080406p/ntpd.8  2013-12-01 13:27:39.417324497 -0800
-@@ -25,6 +25,7 @@
- .Bk -words
- .Op Fl dnSsv
- .Op Fl f Ar file
-+.Op Fl p Ar file
- .Ek
- .Sh DESCRIPTION
- The
-@@ -63,13 +64,16 @@
- .Xr ntpd.conf 5 .
- .Pp
- The options are as follows:
--.Bl -tag -width "-f fileXXX"
-+.Bl -tag -width "-p fileXXX"
- .It Fl d
- Do not daemonize.
- If this option is specified,
- .Nm
- will run in the foreground and log to
- .Em stderr .
-+.It Fl p Ar file
-+Write pid to
-

[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2016-02-01 Thread Tobias Klausmann
commit: 2c5c768de29904c6dcdd424e16dc5ef633031e74
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Feb  1 13:51:50 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Feb  1 13:51:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c5c768d

net-misc/openntpd: add alpha keyword

Gentoo-Bug: 554402

Package-Manager: portage-2.2.27

 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index 767ca9a..16284e3 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd"
 IUSE="selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2015-12-27 Thread Mikle Kolyada
commit: f800a976b3a3a23929864e20bc0b3a417bd9875a
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Dec 27 09:49:20 2015 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Dec 27 09:49:20 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f800a976

net-misc/openntpd: sparc stable wrt bug #554402

Package-Manager: portage-2.2.24

 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index 1b537ac..767ca9a 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd"
 IUSE="selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2015-11-18 Thread Agostino Sarubbo
commit: b914787bcddc150b4ec6fd5b660d40e6743f0636
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 18 09:30:33 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 18 09:30:33 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b914787b

net-misc/openntpd: ia64 stable wrt bug #554402

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ia64"

 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index b52a616..1b537ac 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
 IUSE="selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2015-11-12 Thread Agostino Sarubbo
commit: be910e08dc6ce377f216c3ff75a9810531158769
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Nov 12 10:51:10 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Nov 12 10:51:10 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be910e08

net-misc/openntpd: ppc stable wrt bug #554402

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"

 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index a67b756..b52a616 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
 IUSE="selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2015-11-11 Thread Agostino Sarubbo
commit: 7d1f4ddba4b52c31ca45b575c64354d184f1279d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 11 09:52:06 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 11 09:52:06 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d1f4ddb

net-misc/openntpd: x86 stable wrt bug #554402

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"

 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index f7fa29d..a67b756 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd"
 IUSE="selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2015-11-10 Thread Agostino Sarubbo
commit: 2f68ebb020f7567a33237de382431fca419e207d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 10 11:44:28 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 10 11:44:28 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f68ebb0

net-misc/openntpd: amd64 stable wrt bug #554402

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index ffab1f8..f7fa29d 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd"
 IUSE="selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2015-11-07 Thread Markus Meier
commit: d0d6a7d24a33bfaac400d1c292514c30817ea3eb
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Nov  7 12:11:53 2015 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Nov  7 12:11:53 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0d6a7d2

net-misc/openntpd: arm stable, bug #554402

Package-Manager: portage-2.2.23
RepoMan-Options: --include-arches="arm"

 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index b7c0452..ffab1f8 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
 IUSE="selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2015-10-25 Thread Jeroen Roovers
commit: 4fc77d2d33553616aeda6f09a9957d1be60ae1f4
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Oct 26 06:20:28 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Oct 26 06:20:28 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc77d2d

net-misc/openntpd: Stable for HPPA (bug #554402).

Package-Manager: portage-2.2.23
RepoMan-Options: --ignore-arches

 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index 5cc478a..b7c0452 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
 IUSE="selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2015-10-25 Thread Jeroen Roovers
commit: f8e2a546bf599b76e6e241752cdc94ddf944a0d9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Oct 26 06:14:23 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Oct 26 06:14:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e2a546

net-misc/openntpd: Stable for PPC64 (bug #554402).

Package-Manager: portage-2.2.23
RepoMan-Options: --ignore-arches

 net-misc/openntpd/openntpd-5.7_p4-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index 227a4fa..5cc478a 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
 
 LICENSE="BSD GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
 IUSE="selinux"
 
 DEPEND="!<=net-misc/ntp-4.2.0-r2



[gentoo-commits] repo/gentoo:master commit in: net-misc/openntpd/

2015-08-26 Thread Christoph Junghans
commit: 9707d9a39d23383579a965eced0d12b8c6ff3cde
Author: Christoph Junghans  gentoo  org>
AuthorDate: Thu Aug 27 03:50:21 2015 +
Commit: Christoph Junghans  gentoo  org>
CommitDate: Thu Aug 27 03:51:23 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9707d9a3

net-misc/openntpd: fixed permissions of NTP_HOME

Gentoo-Bug: 558352

Package-Manager: portage-2.2.20.1

 .../openntpd/{openntpd-5.7_p4-r1.ebuild => openntpd-5.7_p4-r2.ebuild}  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/openntpd/openntpd-5.7_p4-r1.ebuild 
b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
similarity index 97%
rename from net-misc/openntpd/openntpd-5.7_p4-r1.ebuild
rename to net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
index 721bf80..227a4fa 100644
--- a/net-misc/openntpd/openntpd-5.7_p4-r1.ebuild
+++ b/net-misc/openntpd/openntpd-5.7_p4-r2.ebuild
@@ -76,6 +76,9 @@ pkg_postinst() {
ewarn "Unable to remove legacy 
${EROOT%/}${NTP_HOME}/etc directory"
fi
 
+   # Fix permissions on home directory
+   chown root:root "${EROOT%/}${NTP_HOME}" || die
+
[[ -f ${EROOT}var/log/ntpd.log ]] && \
ewarn "Logfile '${EROOT}var/log/ntpd.log' might be orphaned, 
please remove it if not in use via syslog."