1 |
jer 10/08/26 20:41:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: adjtimex-1.29.ebuild |
5 |
Log: |
6 |
Version bump. Respect LDFLAGS (bug #334677). Respect CC. |
7 |
|
8 |
(Portage version: 2.2_rc69/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.25 net-misc/adjtimex/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/adjtimex/ChangeLog?rev=1.25&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/adjtimex/ChangeLog?rev=1.25&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/adjtimex/ChangeLog?r1=1.24&r2=1.25 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/adjtimex/ChangeLog,v |
20 |
retrieving revision 1.24 |
21 |
retrieving revision 1.25 |
22 |
diff -u -r1.24 -r1.25 |
23 |
--- ChangeLog 25 Mar 2010 19:30:25 -0000 1.24 |
24 |
+++ ChangeLog 26 Aug 2010 20:41:52 -0000 1.25 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-misc/adjtimex |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/ChangeLog,v 1.24 2010/03/25 19:30:25 robbat2 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/ChangeLog,v 1.25 2010/08/26 20:41:52 jer Exp $ |
30 |
+ |
31 |
+*adjtimex-1.29 (26 Aug 2010) |
32 |
+ |
33 |
+ 26 Aug 2010; Jeroen Roovers <jer@g.o> +adjtimex-1.29.ebuild, |
34 |
+ +files/adjtimex-1.29-gentoo-utc.patch: |
35 |
+ Version bump. Respect LDFLAGS (bug #334677). Respect CC. |
36 |
|
37 |
25 Mar 2010; Robin H. Johnson <robbat2@g.o> -adjtimex-1.16.ebuild, |
38 |
-adjtimex-1.16-r1.ebuild, -adjtimex-1.20.ebuild, -adjtimex-1.20-r1.ebuild, |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/adjtimex/adjtimex-1.29.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/adjtimex/adjtimex-1.29.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/adjtimex/adjtimex-1.29.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: adjtimex-1.29.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/adjtimex/adjtimex-1.29.ebuild,v 1.1 2010/08/26 20:41:52 jer Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit eutils fixheadtails toolchain-funcs |
56 |
|
57 |
DEBIAN_PV="2" |
58 |
MY_P="${P/-/_}" |
59 |
DEBIAN_URI="mirror://debian/pool/main/${PN:0:1}/${PN}" |
60 |
DEBIAN_PATCH="${MY_P}-${DEBIAN_PV}.diff.gz" |
61 |
DEBIAN_SRC="${MY_P}.orig.tar.gz" |
62 |
DESCRIPTION="display or set the kernel time variables" |
63 |
HOMEPAGE="http://www.ibiblio.org/linsearch/lsms/adjtimex.html" |
64 |
SRC_URI="${DEBIAN_URI}/${DEBIAN_PATCH} |
65 |
${DEBIAN_URI}/${DEBIAN_SRC}" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
70 |
IUSE="" |
71 |
|
72 |
DEPEND="sys-apps/sed" |
73 |
RDEPEND="" |
74 |
|
75 |
src_prepare() { |
76 |
cd ${WORKDIR} |
77 |
epatch "${DISTDIR}"/${DEBIAN_PATCH} |
78 |
cd ${S} |
79 |
for i in debian/adjtimexconfig debian/adjtimexconfig.8 ; do |
80 |
sed -e 's|/etc/default/adjtimex|/etc/conf.d/adjtimex|' \ |
81 |
-i.orig ${i} |
82 |
sed -e 's|^/sbin/adjtimex |/usr/sbin/adjtimex |' \ |
83 |
-i.orig ${i} |
84 |
done |
85 |
epatch "${FILESDIR}"/${P}-gentoo-utc.patch |
86 |
ht_fix_file debian/adjtimexconfig |
87 |
sed -i \ |
88 |
-e '/CFLAGS = -Wall -t/,/endif/d' \ |
89 |
-e '/$(CC).* -o/s|$(CFLAGS)|& $(LDFLAGS)|g' \ |
90 |
Makefile.in || die "sed Makefile.in" |
91 |
#epatch "${FILESDIR}"/${PN}-1.16-pic.patch |
92 |
#epatch "${FILESDIR}"/${PN}-1.20-fix-syscall.patch |
93 |
} |
94 |
|
95 |
src_configure() { |
96 |
tc-export CC |
97 |
default |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
dodoc README* ChangeLog |
102 |
doman adjtimex.8 debian/adjtimexconfig.8 |
103 |
dosbin adjtimex debian/adjtimexconfig |
104 |
newinitd "${FILESDIR}"/adjtimex.init adjtimex |
105 |
} |
106 |
|
107 |
pkg_postinst() { |
108 |
einfo "Please run adjtimexconfig to create the configuration file" |
109 |
} |