Gentoo Archives: gentoo-commits

From: "Javier Villavicencio (the_paya)" <the_paya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-sbin/files: freebsd-sbin-7.1-zlib.patch idmapd.initd
Date: Thu, 22 Jan 2009 21:04:53
Message-Id: E1LQ6jJ-0007pb-6M@stork.gentoo.org
1 the_paya 09/01/22 21:04:49
2
3 Added: freebsd-sbin-7.1-zlib.patch idmapd.initd
4 Log:
5 Import of the 7.1 ebuilds from gentoo-bsd overlay.
6 (Portage version: 2.2_rc23/cvs/FreeBSD i386)
7
8 Revision Changes Path
9 1.1 sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch?rev=1.1&content-type=text/plain
13
14 Index: freebsd-sbin-7.1-zlib.patch
15 ===================================================================
16 diff -ur sbin/savecore/savecore.c sbin-zlib/savecore/savecore.c
17 --- sbin/savecore/savecore.c 2005-02-26 01:21:50 +0000
18 +++ sbin-zlib/savecore/savecore.c 2005-05-06 12:00:06 +0000
19 @@ -95,7 +95,7 @@
20 static int checkfor, compress, clear, force, keep, verbose; /* flags */
21 static int nfound, nsaved, nerr; /* statistics */
22
23 -extern FILE *zopen(const char *, const char *);
24 +extern FILE *gzopen(const char *, const char *);
25
26 static void
27 printheader(FILE *f, const struct kerneldumpheader *h, const char *device,
28 @@ -553,7 +553,7 @@
29 if (compress) {
30 sprintf(filename, "%s.%d.gz", istextdump ? "textdump.tar" :
31 "vmcore", bounds);
32 - fp = zopen(filename, "w");
33 + fp = gzopen(filename, "w");
34 } else {
35 sprintf(filename, "%s.%d", istextdump ? "textdump.tar" :
36 "vmcore", bounds);
37
38
39
40 1.1 sys-freebsd/freebsd-sbin/files/idmapd.initd
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sbin/files/idmapd.initd?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-freebsd/freebsd-sbin/files/idmapd.initd?rev=1.1&content-type=text/plain
44
45 Index: idmapd.initd
46 ===================================================================
47 #!/sbin/runscript
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50
51 depend() {
52 need rpcbind
53 }
54
55 start() {
56 ebegin "Starting NFS idmapd"
57 start-stop-daemon --start --quiet --exec \
58 /sbin/idmapd -- $idmapdopts
59 eend $? "Error starting NFS idmapd"
60 }
61
62 stop() {
63 ebegin "Stopping NFS idmapd"
64 start-stop-daemon --stop --quiet --exec /sbin/idmapd
65 eend $? "Error stopping NFS idmapd"
66 }