1 |
commit: 006fbdce83a8b75766f9d6deeedefef001f15b32 |
2 |
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jul 10 17:18:06 2012 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 10 17:18:06 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=006fbdce |
7 |
|
8 |
fix the upstream default network stack |
9 |
|
10 |
The OpenRC upstream default network stack was changed, but there was no |
11 |
reason to change it. Now since we have the MKNET build switch, it is |
12 |
easy for the gentoo ebuild to install oldnet by default. |
13 |
|
14 |
The upstream default is newnet. |
15 |
|
16 |
--- |
17 |
Makefile | 2 +- |
18 |
README | 2 +- |
19 |
conf.d/Makefile | 2 +- |
20 |
init.d/Makefile | 8 ++++---- |
21 |
runlevels/Makefile | 18 +++++++++--------- |
22 |
5 files changed, 16 insertions(+), 16 deletions(-) |
23 |
|
24 |
diff --git a/Makefile b/Makefile |
25 |
index 593952a..b37de6b 100644 |
26 |
--- a/Makefile |
27 |
+++ b/Makefile |
28 |
@@ -7,7 +7,7 @@ include Makefile.inc |
29 |
SUBDIR= conf.d etc init.d local.d man scripts sh src sysctl.d |
30 |
|
31 |
# Build our old net foo or not |
32 |
-ifeq (${MKNET},) |
33 |
+ifeq (${MKNET},oldnet) |
34 |
SUBDIR+= net doc |
35 |
endif |
36 |
|
37 |
|
38 |
diff --git a/README b/README |
39 |
index 71bf00d..8244b04 100644 |
40 |
--- a/README |
41 |
+++ b/README |
42 |
@@ -10,7 +10,7 @@ You may wish to tweak the installation with the below arguments |
43 |
PROGLDFLAGS=-static |
44 |
LIBNAME=lib64 |
45 |
DESTDIR=/tmp/openrc-image |
46 |
-MKNET=newnet |
47 |
+MKNET=oldnet |
48 |
MKPAM=pam |
49 |
MKPKGCONFIG=no |
50 |
MKSELINUX=yes |
51 |
|
52 |
diff --git a/conf.d/Makefile b/conf.d/Makefile |
53 |
index 412efae..6ed295d 100644 |
54 |
--- a/conf.d/Makefile |
55 |
+++ b/conf.d/Makefile |
56 |
@@ -1,7 +1,7 @@ |
57 |
DIR= ${CONFDIR} |
58 |
CONF= bootmisc fsck hostname localmount urandom ${CONF-${OS}} |
59 |
|
60 |
-ifeq (${MKNET},newnet) |
61 |
+ifeq (${MKNET},) |
62 |
CONF+= network staticroute |
63 |
TARGETS+= network staticroute |
64 |
CLEANFILES+= network staticroute |
65 |
|
66 |
diff --git a/init.d/Makefile b/init.d/Makefile |
67 |
index d5c3ea8..a34ee90 100644 |
68 |
--- a/init.d/Makefile |
69 |
+++ b/init.d/Makefile |
70 |
@@ -6,12 +6,12 @@ BIN= ${OBJS} |
71 |
|
72 |
# Build our old net foo or not |
73 |
ifeq (${MKNET},) |
74 |
-INSTALLAFTER= _installafter_net.lo |
75 |
-SRCS+= net.lo.in |
76 |
+SRCS+= network.in staticroute.in |
77 |
endif |
78 |
|
79 |
-ifeq (${MKNET},newnet) |
80 |
-SRCS+= network.in staticroute.in |
81 |
+ifeq (${MKNET},oldnet) |
82 |
+INSTALLAFTER= _installafter_net.lo |
83 |
+SRCS+= net.lo.in |
84 |
endif |
85 |
|
86 |
MK= ../mk |
87 |
|
88 |
diff --git a/runlevels/Makefile b/runlevels/Makefile |
89 |
index 2b25a35..25fa029 100644 |
90 |
--- a/runlevels/Makefile |
91 |
+++ b/runlevels/Makefile |
92 |
@@ -11,12 +11,6 @@ DEFAULTDIR= ${LEVELDIR}/default |
93 |
SHUTDOWNDIR= ${LEVELDIR}/shutdown |
94 |
|
95 |
ifeq (${MKNET},) |
96 |
-BOOT-FreeBSD += net.lo0 |
97 |
-BOOT-Linux += net.lo |
98 |
-BOOT-NetBSD += net.lo0 |
99 |
-endif |
100 |
- |
101 |
-ifeq (${MKNET},newnet) |
102 |
BOOT+= network staticroute |
103 |
endif |
104 |
|
105 |
@@ -31,19 +25,25 @@ BOOT-${OS}= |
106 |
SHUTDOWN-${OS}= |
107 |
SYSINIT-${OS}= |
108 |
|
109 |
+ifeq (${MKNET},oldnet) |
110 |
+BOOT-FreeBSD+= net.lo0 |
111 |
+BOOT-Linux+= net.lo |
112 |
+BOOT-NetBSD+= net.lo0 |
113 |
+endif |
114 |
+ |
115 |
BOOT-BSD= hostid newsyslog savecore syslogd swap-blk |
116 |
|
117 |
# Generic BSD stuff |
118 |
-BOOT-FreeBSD= hostid newsyslog savecore syslogd |
119 |
+BOOT-FreeBSD+= hostid newsyslog savecore syslogd |
120 |
# FreeBSD specific stuff |
121 |
BOOT-FreeBSD+= adjkerntz dumpon syscons |
122 |
|
123 |
-BOOT-Linux= hwclock keymaps modules mtab procfs termencoding |
124 |
+BOOT-Linux+= hwclock keymaps modules mtab procfs termencoding |
125 |
SHUTDOWN-Linux= killprocs mount-ro |
126 |
SYSINIT-Linux= devfs dmesg |
127 |
|
128 |
# Generic BSD stuff |
129 |
-BOOT-NetBSD= hostid newsyslog savecore syslogd |
130 |
+BOOT-NetBSD+= hostid newsyslog savecore syslogd |
131 |
# NetBSD specific stuff |
132 |
BOOT-NetBSD+= devdb swap-blk ttys wscons |