Commit graph

67 commits

Author SHA1 Message Date
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +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
sommerfeld
ae910df7ca Patch integer-to-decimal conversion problem which turns up with
scan -format "%(clock{date})"
This is a time_t > 1e9 problem.
2001-09-21 17:07:12 +00:00
agc
b26a4eb88b Move to sha1 digests, and add distfile sizes. 2001-04-20 13:09:54 +00:00
agc
9e8d6c8b8d + 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:33:31 +00:00
wennmach
6568bc734e Add a CONFLICTS entry for ja-mh6-*
Found by pkgconflict.
2001-04-12 07:56:57 +00:00
assar
55da32de67 turn KERBEROS into a binary switch 2001-03-04 03:26:50 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
12ba98f2df cleanup 2000-08-10 23:55:46 +00:00
jlam
c5bb11e659 Factor out common post-install code in Makefile and pkg/PLIST into (an
already existing) pkg/INSTALL.  Note that ${PREFIX}/etc/nmh can be removed
in pkg/DEINSTALL.  Make some cosmetic changes to Makefile.
2000-08-02 06:35:43 +00:00
simonb
6d67c9b49a Upgrade nmh to 1.0.4. Fixes problems discussed in PR pkg/9695 (Eric sent
his problem report to the nmh people as well).

Adjust home page as per Eric's PR pkg/9695 as well.

Many changes since 1.0.3.  The most important ones are:

 + Eric's shell quoting problems displaying MIME content.
 + Fix coredump in packf.
 + Folder creation permissions bug (mentioned by Sean Matheis on
   netbsd-users@netbsd.org).
 + mmdf mailbox processing errors.

Full list if changes is in the ChangeLog file.
2000-04-15 07:56:15 +00:00
wiz
127ae36e14 grep, cp -> ${GREP}, ${CP} 2000-03-16 13:44:53 +00:00
kim
510a152e09 Add a mirror to the MASTER_SITES for better reachability. 2000-03-02 05:23:54 +00:00
kim
e9c091498c Fixes:
- added missing checksum for the distribution file
- put back GCOS_HACK define (it was removed from patch-cb)
- do not include mhn.defaults in the PLIST to keep protecting it
  from upgrades in case it has local modifications
- install mhn.defaults.dist from the "files" directory instead of
  using a dynamically generated one (this was the intention always)
- mhn.defaults and mts.conf get installed if they don't exist;
  new users do not have to worry about copying *.dist files now
- added comments about the configuration file philosophy in Makefile
2000-03-02 05:11:42 +00:00
hubertf
5211ba524a Remove .old files, pointed out by Kimmo. 2000-03-02 02:04:07 +00:00
hubertf
467336a070 Update to V1.0.3, per request of our security officers:
Versions prior to 1.0.3 of the nmh package contained a vulnerability
where incoming mail messages with carefully designed MIME headers could
cause nmh's mhshow command to execute arbitrary shell code.

See the changelog for another 372 lines of changes.
2000-03-02 00:23:14 +00:00
agc
860ec07e79 Modify the Makefile to install mts.conf as mts.conf.dist, and mhn.defaults
as mhn.defaults.dist, so that an existing configuration is not lost by
a new installation.

Fixes PR 7819 from Matthew Green.
2000-01-18 15:50:32 +00:00
wiz
ef19777419 replaced some commands by their ${COMMAND} counterparts 2000-01-09 01:29:06 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
sakamoto
2e8802a3df Remove version string of conflicted ja-mh pkg. 1999-10-30 17:09:09 +00:00
sakamoto
78d5fbce3a Add CONFLICTS=ja-mh-6.8.4-JP-* 1999-10-29 19:19:41 +00:00
kim
d0e9933400 Change how Kerberos support is enabled in pkgsrc.
Quick guide for compiling packages:
- set KERBEROS=4 or KERBEROS=5 in /etc/mk.conf

Quick guide for configuring Kerberos support in a package Makefile:
- test for KERBEROS value and enable the appropriate version with
  CONFIGURE_ARGS or other means and set USE_KERBEROS=yes
- make sure to disable Kerberos support otherwise (especially if
  using configure, which might automatically detect it)
- BUILD_DEFS and RESTRICTED are set automatically in bsd.pkg.mk
  when USE_KERBEROS=yes is set
1999-09-14 02:32:21 +00:00
enami
7c48325cfa Add NMH_HASH_BACKUP to BUILD_DEFS. 1999-08-20 14:05:15 +00:00
agc
f32d265e28 Record build options in the BuildInfo file via BUILD_DEFS. These can be
displayed using the -B option to pkg_info(1).
1999-08-18 08:46:53 +00:00
agc
f4d5171de1 Add package patch checksum files. 1999-07-09 14:09:02 +00:00
tv
f537c05412 Make the Kerberos option uniform - it is now USE_KERBEROS4 and specifies
use of krb4 _or_ a compatible subsystem.  (MAKE_ was only used by this
option; USE_ is used by many.)
Also set RESTRICTED= in all relevant pkgs when USE_KERBEROS4 is enabled.
1999-05-03 23:39:22 +00:00
hubertf
998e4fbdc9 exit with known code, just to make sure... 1999-04-05 05:09:53 +00:00
kim
b932d3dc6d Fix a long-standing annoyance where MH (and nmh) insists that parts of
type message/* should be encoded in 7bit only.  Modern mailers send
error reports encoded in 8bit as well.  I see no harm in simply allowing
that through as well (I could see more problems with quoted-printable or
base64 as you'd need to actually decode it before parsing the contents).
1999-03-08 20:48:28 +00:00
kim
1b5408dc6a Fix buffer overflow problems in m_getfld.c 1999-03-07 19:40:01 +00:00
kim
4782f7c5e5 Make mhshow look at the user input for "Press <return> to show..." (like
MH 6.8.4 did).  The responses checked for (first letter) are:
- "n" skips the next content (i.e. "no")
- "q" exits mhshow immediately (i.e. "quit")
1999-03-07 19:39:19 +00:00
kim
532b818405 Setting NMH_HASH_BACKUP=yes will compile nmh with BACKUP_PREFIX set to "#". 1999-03-07 01:16:25 +00:00
kim
9af50c1651 Make editor and pager selectable with NMH_EDITOR and NMH_PAGER
respectively.  For old MH behaviour use "NMH_EDITOR=prompter".
1999-03-06 23:18:51 +00:00
kim
6242ef0a30 Make this patch work with non-NetBSD systems (thanks, Al).
Change BACKUP_PREFIX to "#" so users of shells like tcsh
don't have to do excess typing when recovering accidentally
removed messages (mv ~/Mail/inbox/{#,}14921).
1999-03-06 23:17:34 +00:00
kim
8046336910 patch-cc: fix missing "-file" switch for mhshow when displaying files (e.g.
after composing a mime message you wanted to view it, or you got
	  a message/rfc822 attachment you wanted to view)
patch-cd: fix missing newline in strings generated by dctime (with snprintf
	  need to account for an extra character: the trailing null; fixes
	  problems with mhl and packf)
1999-03-06 20:37:32 +00:00
kim
8e4beb9a89 Need GCOS_HACK on BSD systems. 1999-03-05 01:56:43 +00:00
kim
63e0edcc05 Change maintainer from packages to me. 1999-03-04 09:17:11 +00:00
kim
3c4a00b8d3 Upgraded to nmh-1.0 1999-03-04 09:12:39 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
frueauf
7fc692aba0 Update nmh to 0.27. 1998-07-12 21:29:46 +00:00
agc
b0ae9f3a28 Remove MAN<sect> and CAT<sect> definitions from package Makefiles - these
are unnecessary with automatic manual page handling.
1998-06-18 15:25:24 +00:00
agc
15706c03e9 Update to version 0.26 of nmh, the enhanced MH mail user agent. The
viamail script has changed its (source) location, but only minor
modifications necessary.
1998-06-01 13:15:58 +00:00
agc
e810f4cdce Update nmh package to version 0.25 1998-05-21 07:16:41 +00:00
hubertf
f348b3df6e Prevent error on virgin installations 1998-05-08 17:32:46 +00:00
agc
dd4fed9f60 Upgrade nmh to version 0.24 1998-04-17 16:28:12 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
agc
c498e6b318 Upgrade to version 0.23 of nmh. 1998-02-23 14:21:27 +00:00