Codebase list mg / debian/20060707-1
Imported Debian patch 20060707-1 Trent Buck 17 years ago
8 changed file(s) with 403 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
99 make CFLAGS="-O2 -fstack-protector"
1010
1111
12 If you don't like the installation pathes you can change them like this:
12 If you don't like the installation paths you can change them like this:
1313
1414 make install prefix=/usr mandir=/usr/share/man
1515
1010 bindir= $(prefix)/bin
1111 libdir= $(prefix)/lib
1212 includedir= $(prefix)/include
13 mandir= $(prefix)/man
13 mandir= $(prefix)/share/man
1414
1515
1616 CC= gcc
0 mg (20060707-1) unstable; urgency=low
1
2 * Initial release (Closes: #375408)
3
4 -- Trent Buck <trentbuck@gmail.com> Mon, 26 Jun 2006 13:19:47 +1000
0 Source: mg
1 Section: editors
2 Priority: important
3 Maintainer: Trent Buck <trentbuck@gmail.com>
4 Build-Depends: debhelper (>= 4.0.0), autotools-dev, libc6-dev, libncurses-dev
5 Standards-Version: 3.6.2
6
7 Package: mg
8 Architecture: any
9 Depends: ${shlibs:Depends}, ${misc:Depends}
10 Description: microscopic GNU Emacs-style editor
11 This program is intended to be a small, fast, and portable
12 editor for people who can't (or don't want to) run real
13 Emacs for one reason or another. It is compatible with GNU
14 because there shouldn't be any reason to learn more than
15 one Emacs flavor.
0 This package was debianized by Trent Buck <trentbuck@gmail.com> on
1 Fri, 16 Dec 2005 09:11:01 +1100.
2
3 It was downloaded from http://www.xs4all.nl/~hanb/software/mg/
4
5 Beyond the work of Dave Conroy, author of the original public domain
6 v30, the current version contains the work of:
7
8 blarson@ecla.usc.edu Bob Larson
9 mic@emx.utexas.edu Mic Kaczmarczik
10 mwm@violet.berkeley.edu Mike Meyer
11 sandra@cs.utah.edu Sandra Loosemore
12 mp1u+@andrew.cmu.edu Michael Portuesi
13 RCKG01M@CALSTATE.BITNET Stephen Walton
14 hakanson@mist.cs.orst.edu Marion Hakanson
15
16 People who have worked on previous versions of Mg:
17
18 rtech!daveb@sun.com Dave Brower
19
20 License:
21
22 The majority of this package is Public Domain; licenses of specific
23 files are listed below.
24
25 INSTALL, config.h, mg.1
26
27 Undeclared
28
29 Makefile.in, autoexec.c, basic.c, buffer.c, chrdef.h, cinfo.c,
30 configure, def.h, dir.c, dired.c, display.c, echo.c, extend.c, file.c,
31 fileio.c, help.c, kbd.c, kbd.h, key.h, keymap.c, line.c, local.h,
32 macro.c, macro.h, mail.c, main.c, match.c, modes.c, paragraph.c,
33 random.c, re_search.c, region.c, search.c, sysdef.h, tty.c, ttydef.h,
34 ttyio.c, ttykbd.c, version.c, window.c, word.c, yank.c
35
36 Public Domain
37
38 basename.c, dirname.c
39
40 Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
41
42 Permission to use, copy, modify, and distribute this software for any
43 purpose with or without fee is hereby granted, provided that the above
44 copyright notice and this permission notice appear in all copies.
45
46 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
47 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
48 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
49 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
50 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
51 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
52 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
53
54 fgetln.c
55
56 I found this file here:
57 http://www.pell.portland.or.us/~orc/Code/bsd/bsd-current/00library/fgetln.c
58 Alas it contained no copyright notice. In the same dir there
59 was the following note though. So please don't sue me for
60 changing things a bit. I also would have sent the updates if I
61 could have found your email. But I didn't.
62
63 Copyright (c) 1994
64 The Regents of the University of California. All rights reserved.
65
66 Redistribution and use in source and binary forms, with or without
67 modification, are permitted provided that the following conditions
68 are met:
69 1. Redistributions of source code must retain the above
70 copyright notice, this list of conditions and the following
71 disclaimer.
72 2. Redistributions in binary form must reproduce the above
73 copyright notice, this list of conditions and the following
74 disclaimer in the documentation and/or other materials
75 provided with the distribution.
76 3. All advertising materials mentioning features or use of this
77 software must display the following acknowledgement:
78 This product includes software developed by the
79 University of California, Berkeley and its contributors.
80 4. Neither the name of the University nor the names of its
81 contributors may be used to endorse or promote products
82 derived from this software without specific prior written
83 permission.
84
85 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS
86 IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
87 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
88 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
89 SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
90 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
91 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
92 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
93 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
94 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
95 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
96 THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
97 SUCH DAMAGE.
98
99 funmap.c, funmap.h
100
101 Copyright (c) 2001 Artur Grabowski <art@openbsd.org>. All rights reserved.
102
103 Redistribution and use in source and binary forms, with or without
104 modification, are permitted provided that the following conditions
105 are met:
106 1. Redistributions of source code must retain the above copyright
107 notice, this list of conditions and the following disclaimer.
108 2. Redistributions in binary form must reproduce the above copyright
109 notice, this list of conditions and the following disclaimer in the
110 documentation and/or other materials provided with the distribution.
111
112 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
113 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
114 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
115 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
116 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
117 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
118 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
119 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
120 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
121 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
122
123 grep.c
124
125 Copyright (c) 2001 Artur Grabowski <art@openbsd.org>.
126 Copyright (c) 2005 Kjell Wooding <kjell@openbsd.org>.
127 All rights reserved.
128
129 Redistribution and use in source and binary forms, with or without
130 modification, are permitted provided that the following conditions
131 are met:
132 1. Redistributions of source code must retain the above copyright
133 notice, this list of conditions and the following disclaimer.
134 2. Redistributions in binary form must reproduce the above copyright
135 notice, this list of conditions and the following disclaimer in the
136 documentation and/or other materials provided with the distribution.
137
138 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
139 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
140 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
141 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
142 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
143 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
144 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
145 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
146 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
147 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
148
149 queue.h
150
151 Copyright (c) 1991, 1993
152 The Regents of the University of California. All rights reserved.
153
154 Redistribution and use in source and binary forms, with or without
155 modification, are permitted provided that the following conditions
156 are met:
157 1. Redistributions of source code must retain the above copyright
158 notice, this list of conditions and the following disclaimer.
159 2. Redistributions in binary form must reproduce the above copyright
160 notice, this list of conditions and the following disclaimer in the
161 documentation and/or other materials provided with the distribution.
162 3. Neither the name of the University nor the names of its contributors
163 may be used to endorse or promote products derived from this software
164 without specific prior written permission.
165
166 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
167 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
168 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
169 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
170 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
171 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
172 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
173 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
174 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
175 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
176 SUCH DAMAGE.
177
178 strlcat.c, strlcpy.c
179
180 Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
181
182 Permission to use, copy, modify, and distribute this software for any
183 purpose with or without fee is hereby granted, provided that the above
184 copyright notice and this permission notice appear in all copies.
185
186 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
187 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
188 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
189 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
190 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
191 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
192 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
193
194 strtonum.c
195
196 Copyright (c) 2004 Ted Unangst and Todd Miller
197 All rights reserved.
198
199 Permission to use, copy, modify, and distribute this software for any
200 purpose with or without fee is hereby granted, provided that the above
201 copyright notice and this permission notice appear in all copies.
202
203 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
204 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
205 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
206 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
207 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
208 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
209 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
210
211 theo.c
212
213 Copyright (c) 2002 Artur Grabowski <art@openbsd.org>
214 All rights reserved.
215
216 Redistribution and use in source and binary forms, with or without
217 modification, are permitted provided that the following conditions
218 are met:
219
220 1. Redistributions of source code must retain the above copyright
221 notice, this list of conditions and the following disclaimer.
222 2. The name of the author may not be used to endorse or promote products
223 derived from this software without specific prior written permission.
224
225 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
226 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
227 AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
228 THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
229 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
230 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
231 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
232 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
233 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
234 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
235
236 tutorial
237
238 Copyright (c) 1985 Richard M. Stallman
239
240 Permission is granted to anyone to make or distribute verbatim copies
241 of this document as received, in any medium, provided that the
242 copyright notice and permission notice are preserved,
243 and that the distributor grants the recipient permission
244 for further redistribution as permitted by this notice.
245
246 Permission is granted to distribute modified versions
247 of this document, or of portions of it,
248 under the above conditions, provided also that they
249 carry prominent notices stating who last altered them.
250
251
252 This document heavily cut by Randy M. Spencer to apply to Mg
253 written my Mike Meyer and gang. It was released at the AAA users
254 group meeting in Lafayette CA, an Amiga Users Group. My profound
255 thanks to Richard Stallman for his work, I am proud to carry his
256 initials. Additional modifications were done by Robert A. Larson
257 for Mg version 2a, mainly the name change from MicroGnuEmacs to
258 Mg.
259
260 undo.c
261
262 Copyright (c) 2002 Vincent Labrecque <vincent@openbsd.org>
263 All rights reserved.
264
265 Redistribution and use in source and binary forms, with or without
266 modification, are permitted provided that the following conditions
267 are met:
268 1. Redistributions of source code must retain the above copyright
269 notice, this list of conditions and the following disclaimer.
270 2. Redistributions in binary form must reproduce the above copyright
271 notice, this list of conditions and the following disclaimer in the
272 documentation and/or other materials provided with the distribution.
273
274 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
275 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
276 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
277 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
278 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
279 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
280 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
281 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
282 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
283 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0 README
1 tutorial
0 #!/usr/bin/make -f
1 # -*- makefile -*-
2 # Sample debian/rules that uses debhelper.
3 # This file was originally written by Joey Hess and Craig Small.
4 # As a special exception, when this file is copied by dh-make into a
5 # dh-make output file, you may use that output file without restriction.
6 # This special exception was added by Craig Small in version 0.37 of dh-make.
7
8 # Uncomment this to turn on verbose mode.
9 #export DH_VERBOSE=1
10
11
12 # These are used for cross-compiling and for saving the configure script
13 # from having to guess our platform (since we know it already)
14 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
15 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
16
17
18 CFLAGS = -Wall -g
19
20 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
21 CFLAGS += -O0
22 else
23 CFLAGS += -O2
24 endif
25
26 config.status: configure
27 dh_testdir
28 ./configure
29
30
31 build: build-stamp
32
33 build-stamp: config.status
34 dh_testdir
35 $(MAKE)
36 touch build-stamp
37
38 clean:
39 dh_testdir
40 dh_testroot
41 rm -f build-stamp
42
43 -$(MAKE) distclean
44
45 dh_clean
46
47 install: build
48 dh_testdir
49 dh_testroot
50 dh_clean -k
51 dh_installdirs
52
53 $(MAKE) install prefix=$(CURDIR)/debian/mg/usr
54
55
56 # Build architecture-independent files here.
57 binary-indep: build install
58 # We have nothing to do by default.
59
60 # Build architecture-dependent files here.
61 binary-arch: build install
62 dh_testdir
63 dh_testroot
64 dh_installchangelogs
65 dh_installdocs
66 dh_installexamples
67 # dh_install
68 # dh_installmenu
69 # dh_installdebconf
70 # dh_installlogrotate
71 # dh_installemacsen
72 # dh_installpam
73 # dh_installmime
74 # dh_installinit
75 # dh_installcron
76 # dh_installinfo
77 dh_installman
78 dh_link
79 dh_strip
80 dh_compress
81 dh_fixperms
82 # dh_perl
83 # dh_python
84 # dh_makeshlibs
85 dh_installdeb
86 dh_shlibdeps
87 dh_gencontrol
88 dh_md5sums
89 dh_builddeb
90
91 binary: binary-indep binary-arch
92 .PHONY: build clean binary-indep binary-arch binary install