1 |
ottxor 13/12/05 00:24:15 |
2 |
|
3 |
Modified: openntpd-20080406-r6.ebuild ChangeLog |
4 |
Log: |
5 |
fixed cross-device link issue (bug #493178) |
6 |
|
7 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C2000586) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 net-misc/openntpd/openntpd-20080406-r6.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openntpd/openntpd-20080406-r6.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openntpd/openntpd-20080406-r6.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openntpd/openntpd-20080406-r6.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: openntpd-20080406-r6.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/openntpd/openntpd-20080406-r6.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- openntpd-20080406-r6.ebuild 2 Dec 2013 13:32:13 -0000 1.1 |
23 |
+++ openntpd-20080406-r6.ebuild 5 Dec 2013 00:24:15 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2013 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/openntpd-20080406-r6.ebuild,v 1.1 2013/12/02 13:32:13 ottxor Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/openntpd-20080406-r6.ebuild,v 1.2 2013/12/05 00:24:15 ottxor Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
|
32 |
@@ -74,18 +74,28 @@ |
33 |
systemd_newunit "${FILESDIR}/${PN}.service-${PV}-r3" ntpd.service |
34 |
} |
35 |
|
36 |
-pkg_postinst() { |
37 |
+pkg_config() { |
38 |
+ einfo "Setting up chroot for ntp in ${NTP_HOME}" |
39 |
# remove localtime file from previous installations |
40 |
- rm -f "${EROOT}${NTP_HOME}"/etc/localtime |
41 |
- mkdir -p "${NTP_HOME}"/etc |
42 |
- ln /etc/localtime "${NTP_HOME}"/etc/localtime || die |
43 |
+ rm -f "${EROOT}${NTP_HOME}"etc/localtime |
44 |
+ mkdir -p "${EROOT}${NTP_HOME}"etc |
45 |
+ if ! ln "${EROOT}"etc/localtime "${EROOT}${NTP_HOME}"etc/localtime ; then |
46 |
+ cp "${EROOT}"etc/localtime "${EROOT}${NTP_HOME}"etc/localtime || die |
47 |
+ einfo "We could not create a hardlink from /etc/localtime to ${NTP_HOME}etc/localtime," |
48 |
+ einfo "so please run 'emerge --config =${CATEGORY}/${PF}' whenever you changed" |
49 |
+ einfo "your timezone." |
50 |
+ fi |
51 |
chown -R root:root "${EROOT}${NTP_HOME}" || die |
52 |
+} |
53 |
+ |
54 |
+pkg_postinst() { |
55 |
+ pkg_config |
56 |
|
57 |
- use syslog && [[ -f ${EROOT}/var/log/ntpd.log ]] && \ |
58 |
- ewarn "There is an orphaned logfile '/var/log/ntpd.log', please remove it!" |
59 |
+ use syslog && [[ -f ${EROOT}var/log/ntpd.log ]] && \ |
60 |
+ ewarn "There is an orphaned logfile '${EROOT}var/log/ntpd.log', please remove it!" |
61 |
} |
62 |
|
63 |
pkg_postrm() { |
64 |
# remove localtime file from previous installations |
65 |
- rm -f "${EROOT}${NTP_HOME}"/etc/localtime |
66 |
+ rm -f "${EROOT}${NTP_HOME}"etc/localtime |
67 |
} |
68 |
|
69 |
|
70 |
|
71 |
1.99 net-misc/openntpd/ChangeLog |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openntpd/ChangeLog?rev=1.99&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openntpd/ChangeLog?rev=1.99&content-type=text/plain |
75 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/openntpd/ChangeLog?r1=1.98&r2=1.99 |
76 |
|
77 |
Index: ChangeLog |
78 |
=================================================================== |
79 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/openntpd/ChangeLog,v |
80 |
retrieving revision 1.98 |
81 |
retrieving revision 1.99 |
82 |
diff -u -r1.98 -r1.99 |
83 |
--- ChangeLog 2 Dec 2013 13:49:09 -0000 1.98 |
84 |
+++ ChangeLog 5 Dec 2013 00:24:15 -0000 1.99 |
85 |
@@ -1,6 +1,10 @@ |
86 |
# ChangeLog for net-misc/openntpd |
87 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
88 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/ChangeLog,v 1.98 2013/12/02 13:49:09 ottxor Exp $ |
89 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/ChangeLog,v 1.99 2013/12/05 00:24:15 ottxor Exp $ |
90 |
+ |
91 |
+ 05 Dec 2013; Christoph Junghans <ottxor@g.o> |
92 |
+ openntpd-20080406-r6.ebuild: |
93 |
+ fixed cross-device link issue (bug #493178) |
94 |
|
95 |
02 Dec 2013; Christoph Junghans <ottxor@g.o> |
96 |
-files/openntpd.init.d-20080406-r3, -openntpd-20080406-r3.ebuild: |