allow telnet login only in failsafe by default
[openwrt.git] / package / ncurses / ncurses-5.2-5.diff
1 diff -ruN ncurses-5.2-orig/ipkg/libncurses/CONTROL/control ncurses-5.2-5/ipkg/libncurses/CONTROL/control
2 --- ncurses-5.2-orig/ipkg/libncurses/CONTROL/control 1970-01-01 01:00:00.000000000 +0100
3 +++ ncurses-5.2-5/ipkg/libncurses/CONTROL/control 2005-03-06 22:47:47.000000000 +0100
4 @@ -0,0 +1,8 @@
5 +Package: libncurses
6 +Priority: optional
7 +Section: libs
8 +Version: [TBDL]
9 +Architecture: [TBDL]
10 +Maintainer: Nico <nthill@free.fr>
11 +Source: http://nthill.free.fr/openwrt/sources/ncurses/
12 +Description: a terminal handling library
13 diff -ruN ncurses-5.2-orig/ipkg/ncurses-dev/CONTROL/control ncurses-5.2-5/ipkg/ncurses-dev/CONTROL/control
14 --- ncurses-5.2-orig/ipkg/ncurses-dev/CONTROL/control 1970-01-01 01:00:00.000000000 +0100
15 +++ ncurses-5.2-5/ipkg/ncurses-dev/CONTROL/control 2005-03-06 22:47:39.000000000 +0100
16 @@ -0,0 +1,8 @@
17 +Package: ncurses-dev
18 +Priority: optional
19 +Section: devel
20 +Version: [TBDL]
21 +Architecture: [TBDL]
22 +Maintainer: Nico <nthill@free.fr>
23 +Source: http://nthill.free.fr/openwrt/sources/ncurses/
24 +Description: a terminal handling library (development)
25 diff -ruN ncurses-5.2-orig/ipkg/ncurses-term/CONTROL/control ncurses-5.2-5/ipkg/ncurses-term/CONTROL/control
26 --- ncurses-5.2-orig/ipkg/ncurses-term/CONTROL/control 1970-01-01 01:00:00.000000000 +0100
27 +++ ncurses-5.2-5/ipkg/ncurses-term/CONTROL/control 2005-03-06 22:47:55.000000000 +0100
28 @@ -0,0 +1,9 @@
29 +Package: ncurses-term
30 +Priority: optional
31 +Section: admin
32 +Version: [TBDL]
33 +Architecture: [TBDL]
34 +Maintainer: Nico <nthill@free.fr>
35 +Source: http://nthill.free.fr/openwrt/sources/ncurses/
36 +Description: common terminal definitions
37 +Depends: libncurses
38 diff -ruN ncurses-5.2-orig/ipkg/rules ncurses-5.2-5/ipkg/rules
39 --- ncurses-5.2-orig/ipkg/rules 1970-01-01 01:00:00.000000000 +0100
40 +++ ncurses-5.2-5/ipkg/rules 2005-03-08 05:14:46.000000000 +0100
41 @@ -0,0 +1,154 @@
42 +#!/usr/bin/make -f
43 +
44 +ifneq ($(strip ${IPKG_RULES_INC}),)
45 + include $(IPKG_RULES_INC)
46 +endif
47 +
48 +##
49 +
50 +PKG_VERSION := $(shell cat ./ipkg/version)
51 +CURRENT_DIR := $(shell pwd)
52 +INSTALL_DIR = $(CURRENT_DIR)/ipkg-install
53 +
54 +I_LIBNCURSES := ipkg/libncurses
55 +I_NCURSES_DEV := ipkg/ncurses-dev
56 +I_NCURSES_TERM := ipkg/ncurses-term
57 +
58 +BUILD_DEPS := \
59 +
60 +CONFIGURE_OPTS = \
61 + --with-terminfo-dirs=/usr/share/terminfo \
62 + --with-default-terminfo-dir=/usr/share/terminfo \
63 + --without-ada \
64 + --without-cxx \
65 + --without-cxx-binding \
66 + --without-progs \
67 + --without-profile \
68 + --without-debug \
69 + --disable-rpath \
70 + --enable-echo \
71 + --enable-const \
72 + --enable-overwrite \
73 + --with-shared \
74 + --with-normal \
75 +##
76 +
77 +all: package
78 +
79 +
80 +.stamp-configured: $(BUILD_DEPS)
81 +
82 + rm -rf config.cache
83 + $(TARGET_CONFIGURE_OPTS) \
84 + CFLAGS="$(TARGET_CFLAGS)" \
85 + ac_cv_linux_vers="2" \
86 + ./configure \
87 + --target=$(GNU_TARGET_NAME) \
88 + --host=$(GNU_TARGET_NAME) \
89 + --build=$(GNU_HOST_NAME) \
90 + --prefix=/usr \
91 + --exec-prefix=/usr \
92 + --bindir=/usr/bin \
93 + --datadir=/usr/share \
94 + --includedir=/usr/include \
95 + --infodir=/usr/share/info \
96 + --libdir=/usr/lib \
97 + --libexecdir=/usr/lib \
98 + --localstatedir=/var \
99 + --mandir=/usr/share/man \
100 + --sbindir=/usr/sbin \
101 + --sysconfdir=/etc \
102 + $(DISABLE_NLS) \
103 + $(CONFIGURE_OPTS) \
104 +
105 + touch .stamp-configured
106 +
107 +
108 +.stamp-built: .stamp-configured
109 +
110 + $(MAKE) \
111 + $(TARGET_CONFIGURE_OPTS) \
112 + BUILD_CC=$(TARGET_CC) \
113 + HOSTCC=$(HOSTCC) \
114 +
115 + touch .stamp-built
116 +
117 +
118 +$(INSTALL_DIR)/usr/include/ncurses.h: .stamp-built
119 +
120 + mkdir -p $(INSTALL_DIR)
121 +
122 + $(MAKE) \
123 + DESTDIR="$(INSTALL_DIR)" \
124 + install
125 +
126 +
127 +configure: .stamp-configured
128 +
129 +
130 +build: .stamp-built
131 +
132 +
133 +install: $(INSTALL_DIR)/usr/include/ncurses.h
134 +
135 +
136 +package: $(INSTALL_DIR)/usr/include/ncurses.h
137 +
138 + mkdir -p $(I_LIBNCURSES)/usr/lib
139 + cp -fpR $(INSTALL_DIR)/usr/lib/libncurses*.so.* $(I_LIBNCURSES)/usr/lib/
140 + cp -fpR $(INSTALL_DIR)/usr/lib/libpanel*.so.* $(I_LIBNCURSES)/usr/lib/
141 + $(STRIP) $(I_LIBNCURSES)/usr/lib/*
142 +
143 + mkdir -p $(I_NCURSES_DEV)/usr/include
144 + cp -fpR $(INSTALL_DIR)/usr/include/curses.h $(I_NCURSES_DEV)/usr/include/
145 + cp -fpR $(INSTALL_DIR)/usr/include/ncurses.h $(I_NCURSES_DEV)/usr/include/
146 + cp -fpR $(INSTALL_DIR)/usr/include/panel.h $(I_NCURSES_DEV)/usr/include/
147 + mkdir -p $(I_NCURSES_DEV)/usr/lib
148 + cp -fpR $(INSTALL_DIR)/usr/lib/libncurses.a $(I_NCURSES_DEV)/usr/lib/
149 + cp -fpR $(INSTALL_DIR)/usr/lib/libpanel.a $(I_NCURSES_DEV)/usr/lib/
150 + cp -fpR $(INSTALL_DIR)/usr/lib/libncurses*.so* $(I_NCURSES_DEV)/usr/lib/
151 + cp -fpR $(INSTALL_DIR)/usr/lib/libpanel*.so* $(I_NCURSES_DEV)/usr/lib/
152 +
153 + mkdir -p $(I_NCURSES_TERM)/usr/share/terminfo
154 + for f in a/ansi d/dumb l/linux s/screen v/vt100; do \
155 + mkdir -p $(I_NCURSES_TERM)/usr/share/terminfo/`dirname $${f}`; \
156 + cp -fpR \
157 + $(INSTALL_DIR)/usr/share/terminfo/$${f} \
158 + $(I_NCURSES_TERM)/usr/share/terminfo/$${f}; \
159 + done
160 +
161 + chmod 0755 ipkg/*/CONTROL/
162 + chmod 0644 ipkg/*/CONTROL/control
163 +
164 + perl -pi -e "s/^Arch.*:.*/Architecture: $(ARCH)/g" ipkg/*/CONTROL/control
165 +ifneq ($(strip $(PKG_VERSION)),)
166 + perl -pi -e "s/^Vers.*:.*/Version: $(PKG_VERSION)/g" ipkg/*/CONTROL/control
167 +endif
168 +
169 + $(IPKG_BUILD) $(I_LIBNCURSES) $(IPKG_TARGET_DIR)
170 + $(IPKG_BUILD) $(I_NCURSES_DEV) $(IPKG_TARGET_DIR)
171 + $(IPKG_BUILD) $(I_NCURSES_TERM) $(IPKG_TARGET_DIR)
172 +
173 +
174 +clean:
175 +
176 + -$(MAKE) \
177 + DESTDIR="$(INSTALL_DIR)" \
178 + uninstall clean
179 + rm -rf .stamp-*
180 + rm -rf $(I_LIBNCURSES)/usr
181 + rm -rf $(I_NCURSES_DEV)/usr
182 + rm -rf $(I_NCURSES_TERM)/usr
183 +
184 +
185 +control:
186 +
187 + @cat $(I_LIBNCURSES)/CONTROL/control
188 + @echo
189 + @cat $(I_NCURSES_DEV)/CONTROL/control
190 + @echo
191 + @cat $(I_NCURSES_TERM)/CONTROL/control
192 + @echo
193 +
194 +
195 +.PHONY: configure build install package clean control
196 diff -ruN ncurses-5.2-orig/ipkg/version ncurses-5.2-5/ipkg/version
197 --- ncurses-5.2-orig/ipkg/version 1970-01-01 01:00:00.000000000 +0100
198 +++ ncurses-5.2-5/ipkg/version 2005-03-06 22:43:28.000000000 +0100
199 @@ -0,0 +1 @@
200 +5.2-5
201 diff -ruN ncurses-5.2-orig/ncurses/Makefile.in ncurses-5.2-5/ncurses/Makefile.in
202 --- ncurses-5.2-orig/ncurses/Makefile.in 2000-10-15 00:55:35.000000000 +0200
203 +++ ncurses-5.2-5/ncurses/Makefile.in 2005-03-06 22:36:45.000000000 +0100
204 @@ -85,7 +85,7 @@
205 CCFLAGS = $(CPPFLAGS) $(CFLAGS)
206
207 HOSTCC = @BUILD_CC@
208 -HOSTCCFLAGS = @CFLAGS@ $(CPPFLAGS)
209 +HOSTCCFLAGS = $(CPPFLAGS)
210 HOSTLDFLAGS = @LDFLAGS@ @LIBS@
211
212 CFLAGS_LIBTOOL = $(CCFLAGS)
This page took 0.052694 seconds and 5 git commands to generate.