Commit graph

115 commits

Author SHA1 Message Date
joerg
f5d0c70da3 DESTDIR support. 2006-11-01 09:01:56 +00:00
joerg
453eeaab9d Require Perl as run time dependency when VFS is requested, since most of
the extfs scripts are Perl and a WRKDIR reference would sneak in otherwise.
2006-09-14 15:23:28 +00:00
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
wiz
636a554ffc Do not try removing man/ru/*, they are now in mk/platforms/*dist. 2006-02-22 22:13:42 +00:00
rillig
9357beaacf Fixed pkglint warnings. 2006-02-15 20:08:41 +00:00
rillig
b6d6f4052b Fixed pkglint warnings. 2006-02-15 13:58:07 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
rillig
ebc9f3fbf8 mc should not build with glib-1.2 by default, as glib-2.0 is used by
more other applications. Using glib-1.2 is only meant as a workaround.
2005-08-04 21:11:48 +00:00
rillig
22c13a9095 Re-added the glib12 PKG_OPTION. Currently I need it for a SuSE 9.1 system. 2005-08-04 10:32:01 +00:00
rillig
b5c343c48f Removed the "largefile" PKG_OPTION. It is enabled by default, so why should
anyone want to disable it?
2005-08-04 10:17:13 +00:00
rillig
00f3d8ddeb Updated mc to 4.6.1.
Changes:

- many small bug fixes
- improved syntax highlighting files for the internal editor
- security fix for the urar virtual file system
- updated German and Italian translations
2005-08-04 10:12:06 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
wiz
15219acf4c Update to latest pre4 snapshot:
- Fixed X11 connection handling.
2005-06-23 17:10:28 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
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