Commit graph

100 commits

Author SHA1 Message Date
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
rillig
9fa907e89b Renamed PKG_DEFAULT_OPTIONS to PKG_SUGGESTED_OPTIONS, as suggested by
bsd.options.mk, 1.20.
2005-05-12 07:12:14 +00:00
rillig
c342ce1550 Removed the CPPFLAGS.NetBSD definition, as it has been fixed upstream.
Approved by wiz.
2005-05-07 22:07:39 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
dd6a57672d Update to mc-4.6.1rc4:
Release candidate for 4.6.1.

- Editor.
	- Add syntax file for the x86 assembler.
	- Add syntax file for the Vision(tm) Ray Tracer.

Version 4.6.1-pre3.

- Core functionality.
	- Improve support for tcsh.
- Translations.
	- Updated translations: Spain.
2005-03-22 15:29:53 +00:00
wiz
4fd8028529 Only try removing share/mc after all the optional PLIST fragments,
since they are responsible for some files in share/mc.
2005-03-17 23:17:06 +00:00
wiz
c1ec9db42e Add missing pkgconfig dependency. Noted by Pawel Chwalowski in PR 29727. 2005-03-17 22:46:41 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
rillig
3273536bfa Enabled proper ncurses support, as seen in the www/lynx package. 2005-02-12 23:38:04 +00:00
rillig
da3437bb1d Converted the package to the pkg.options.mk framework. Bumped PKGREVISION,
because the +BUILD_INFO file changed.
2005-02-12 22:59:28 +00:00
rillig
67bd75ff12 Moved the syntax highlighting files from PLIST to PLIST.mcedit, as they are
only installed when the editor is installed. Bumped PKGREVISION to 1.
2005-02-12 01:02:50 +00:00
wiz
8c4119d4c5 Add some PLIST fragments for extra features. 2005-01-15 21:15:26 +00:00
wiz
97774df9ea Update to 4.6.1pre2, fixing a number of vulnerabilities.
Joined work in pkgsrc-wip by Pavel Arnost, myself, and Roland Illig.

Version 4.6.1-pre2.

Release candidate for 4.6.1.

- Security.
	- Fixed CAN-2004-0226 (buffer overflows).
	- Fixed CAN-2004-0231 (unsafe temporary file and directory creation).
	- Fixed CAN-2004-0232 (format string vulnerablities).
	- cons.saver does not need to be setuid-root on Linux.
	- Hiding of FTP passwords.

- Portability.
	- PC port has been removed.
	- Support for SCO UNIX has been removed.
	- Improve support for QNX Neutrino.

- Core functionality.
	- Use 8bit input as default.
	- Better support for '@' in FTP usernames.
	- Better large file support (int -> off_t)
	- Add gnome, rxvt and xterm-new terminals (keyword copy for mc.lib).
	- Make the find dialog more responsive while scanning through large
	  files.
	- Add implementation to cons.handler for FreeBSD 4.x and 5.x.
	- Screen saving is now supported on FreeBSD console.
	- Hide temporary commands from history.
	- Add --with-glib12 option to configure to force using glib 1.2.x.
	- Add --disable-background option to disable background support.
	- Background support now uses pipes instead of UNIX sockets.
	- libX11 is loaded dynamically using gmodule if possible.
	- User is warned if one mc is run from another.
	- In red dialog boxes draw the hotkey characters with a color
	  different than the one used to paint the dialog.

- Screen libraries.
	- Add many boundary check into internal slang library.
	- Internal slang upgrade to 1.4.9.
	- Increased maximum screen size to 512 x 512.
	- Add support for qansi-m terminals.

- Editor.
	- Fix bugs for mcedit compiled with ncurses.
	- New status string format in mcedit.
	- Support for large syntax files.
	- Temporarily disable safe save and backups on remote VFS because it
	  doesn't work.
	- Enable user menu in mcedit.
	- Add syntax file for the ASP.NET technology.
	- Add syntax file for the Eiffel programming language.
	- Add syntax file for the Ruby programming language.
	- Add syntax file for the C# programming language.
	- Upgrade php.syntax file.
	- Improve sql.syntax file.
	- Improve perl.syntax.
	- Improve diff.syntax.
	- Improve makefile.syntax.

- VFS.
	- Full audit of quoting of parameters in vfs scripts (CAN-2004-0494).
	- Fixed CAN-2003-1023 (stack overflow in vfs_s_resolve_symlink).
	- Various fixes in tar.c.
	- VFS supports iso9660 images.

- Translations.
	- New translations: Mongolian, Serbian and Lithuanian.
	- Updated translations: Ukrainian, Italian, Hungarian.

Version 4.6.0.

- Core functionality.
	- Fixed infinite loop under xterm if xterm is forcedly closed.

- Portability.
	- ncurses can be found even if it's renamed to curses (OpenBSD).
	- Warning fixes for 64-bit systems.


Version 4.6.0-pre3.

Another release candidate for 4.6.0.

- Core functionality.
	- ".." is no longer shown in the root directory.
	- Fixed segmentation fault when processing truncated
	  section header in the corrupted initialization file.

- Screen libraries.
	- Fixed incorrect processing of AltGr on Linux console
	  introduced in -pre2.

- Documentation.
	- Fixed a bug in man2hlp that could randomly prevent correct
	  generation of the help files.
	- Added manual page for mcview.


Version 4.6.0-pre2.

Release candidate for 4.6.0.

- Security.
	- mc now creates its own temporary directory /tmp/mc-$USER.
	  If it fails or permissions are wrong, the user is warned.

- Portability.
	- mc now complies with the Filesystem Hierarchy Standard and
	  uses @prefix@/share/mc for the data files.
	- Support for glib 2.0.x has been added.
	- glib 1.2 is now properly detected on FreeBSD.

- Core functionality.
	- Fixed segmentation fault when displaying messages from
	  background operations.
	- When using support for setting the last working directory of
	  mc in the parent shell, "mc" is now an alias in all shells,
	  not a function.  The "-P" option needs an argument now.
	- Alt-O sets the same directory on the other panel.
	- Current directory is shown in the xterm window title.

- Screen libraries.
	- Screen library is now selected by the option --with-screen.
	- X11 support is enabled by default, use --without-x to disable.
	- The keycode now contains information about all screen
	  modifiers.  This allows to implement more shortcuts, but this
	  work has just begun.
	- Included S-Lang library has been updated to version 1.4.5.
	- Mouse wheel is supported in the internal editor and viewer in
	  xterm compatible terminals that implement wheel events.

- Editor.
	- Internal editor now saves the cursor position in the file.
	- New syntax rules - RPM specfile, m4.
	- Editor shows control characters in the caret notation.

- VFS.
	- Most extfs scripts have been reviewed and improved.
	- Fixed viewing and editing files on mcfs.
	- Support for termnet and HSC firewall has been removed.

- Documentation.
	- Polish manual has been added.

Version 4.6.0-pre1.

- Security release.  Massive code cleanup.  Most improvements didn't
  need any significant amount of the new code.

- Security.
	- Fixes for remotely exploitable buffer overflows in VFS.

- Ports and editions.
	- GNOME edition has been removed.
	- OS/2 port has been removed.
	- MAD (Memory Allocation Debugger) has been removed.

- Core functionality.
	- Large file support enabled by default.
	- Shift-F5 and Shift-F6 copy and rename like F5 and F6, but
	  suggest the selected filename as the destination.
	- File search with contents doesn't use external egrep.
	- Directories with many files are now reloaded much faster.
	- Subshell works under Cygwin.

- Screen libraries.
	- Improved support for ncurses.
	- Dropped support for the old Curses library.
	- Colors are enabled on all capable terminals when using S-Lang.
	- Syntax highlighting now works with ncurses.

- Editor.
	- Editor files are now stored in ~/.mc/cedit instead of ~/.cedit
	  to avoid collision with Cooledit.
	- New syntax rules - PHP, Tcl, SQL, DOS batch file.
	- Editor supports word completion.

- VFS.
	- Local temporary file is used for uploading via ftpfs/fish only
	  if file is uploaded to the same ftp/fish server.
	- mcfs support is disabled by default.
	- Samba configuration and codepage files locations can be
	  configured.
	- .netrc support in ftpfs is enabled by default.
	- Viewing zip files could corrupt them.

- Documentation.
	- Added manuals in Spanish, Italian and Russian.
	- Help files are not distributed, but generated during the
	  build from the manual pages.

- Translations.
	- Belarussian translation has been added.


Version 4.5.55

- Mostly bugfixes and portability fixes.  Making things work as they
  were meant to work.

- Text edition improvements.
	- Ctrl-O supported in the viewer and editor.
	- Better terminal support.  Should not need "Learn Keys" on rxvt
	  and xterm in most cases.

- GNOME edition improvements.
	- Find dialog rewritten.
	- Editor and viewer ask whether to save modified file when
	  closed from window manager.

- Editor.
	- New syntax rules - S-Lang, PO files, Octave.
	- Alt-B goes to matching bracket.

- Portability improvements.
	- Should compile out-of-box on Cygwin and QNX Neutrino.
	- Can be compiled by BSD make.
	- Subshell and VFS code are safer and more portable.

- Experimental features (disabled by default).
	- Charset conversion support.
	- Large (64-bit) file support on 32-bit systems.
2005-01-15 21:14:27 +00:00
wiz
984293904c Merge Makefile.common back into Makefile now that gmc is gone. 2004-12-20 15:58:27 +00:00
erh
d8873a7190 Let's try that again, this time with a rcsid. 2004-11-12 05:23:33 +00:00
erh
55261bf619 Fix this to compile when we have grantpt() but it's not in stropts.h.
Bump pkgrevision to 5.
It'd probably make sense to update this to the latest version (4.6.0).
2004-11-12 05:20:43 +00:00
wiz
c8e808e6c8 Convert to bl3. 2004-05-04 08:08:19 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
grant
60ad86155b replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 15:06:57 +00:00
hubertf
6242207915 fix HOMEPAGE 2003-09-19 02:27:12 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
salo
14948988b8 PKGREVISION++
- use included slang library, fixes various issues with colours and character
  printing (e.g., TERM=wsvt25 in color mode on wscons console or TERM=xterm in
  xterm).  From Pavel Arnost via PR pkg/21539.
- add patch from devel/libslang
2003-05-22 17:02:53 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
cjep
2f9e9722bf USE_PKGLOCALEDIR=yes 2003-01-10 07:49:51 +00:00
bouyer
b68af4c8e5 Don't define BOOL_DEFINED for SunOS, otherwise rpcsvc/yp_prot.h breaks. 2002-10-23 10:38:37 +00:00
bouyer
b2f7f9e53a Don't define BOOL_DEFINED for SunOS, otherwise rpcsvc/yp_prot.h breaks. 2002-10-23 08:49:07 +00:00
wiz
eedd7dd216 Convert to buildlink2. 2002-10-21 16:07:47 +00:00
wiz
c5a1ca82c3 Use PKGLOCALEDIR instead of homebrew stuff.
Also patch out useless autoheader call, thus solving PR 18587.
2002-10-08 17:27:19 +00:00
wiz
e32380502f Actually, this package does not need autoconf at all. 2002-10-02 19:09:02 +00:00
wiz
a610f8bbea Use autoconf.mk. 2002-10-02 19:03:47 +00:00
wiz
bae6666537 Make gmc and mc share the distinfo again. 2002-07-25 10:49:45 +00:00
hubertf
6cab7008fe fix handling of lha archives:
if ls(1) doesn't have a -e switch, it must have a --full-times
	switch, right?!?! Try -T also. (SUSv3 specifies neither -e nor -T)
2002-07-24 05:05:59 +00:00
hubertf
5b0b86843e Find binaries in LOCALSRC/*bin*, not LOCALSRC.
Pointed out by Bernhard 'burnhard' Riedl on hanirc's #NetBSD
2002-07-24 04:30:15 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
328a35f96f LIBS is automatically added to CONFIGURE_ENV by bsd.pkg.mk if
GNU_CONFIGURE is defined, so simply set LIBS to the appropriate value.
2001-06-12 20:33:00 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
agc
027c166bf7 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:28:57 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
tron
eaa668697f Use "PKGLOCALEDIR" instead of "LOCALEDIR". 2001-02-26 20:19:43 +00:00
jlam
e9dee5bd11 Mechanical changes to use the pkgsrc autoconf and automake by specifying
complete paths to these programs.
2001-02-26 17:01:59 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
wiz
73857919e1 regen 2001-02-15 13:34:57 +00:00
tron
dd09712ae5 Rename "${LOCALEBASE}" variable to "${LOCALEDIR}" to avoid mix-ups with
"${LOCALBASE}".
2001-02-13 11:47:00 +00:00
hubertf
07a4ed5624 Give it all it wants: autoconf (for autoheader), and gettext (for msgfmt).
Both as BUILD_DEPENDS.

XXX Seems we need a USE_INTL that pulls in gettext as USE_LIBINTL pulls in
XXX gettext-lib
2001-01-03 14:45:27 +00:00
hubertf
12aa4f4b08 Add missing USE_LIBINTL=yes, to unbreak bulk building. 2001-01-03 02:58:17 +00:00
tron
48c1ada5b2 Defined deprecated symbol "unix" used in various sources. 2000-10-20 17:00:23 +00:00
jlam
5731bb3633 Update {g,}mc to 0.4.51. This is a maintenance release from version 0.4.50
and has no list of changes.  Restructure packages to use a common Makefile
and patch directory.  Set the maintainer to me, as this is a non-trivial
change.  Compile in the samba vfs code.
2000-10-19 23:31:15 +00:00