Commit graph

97 commits

Author SHA1 Message Date
kristerw
76b784553f Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-06-23 21:57:45 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
9c33078522 Add RMD160 digests 2005-02-24 12:19:55 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
grant
2556c62c37 regenerate patches with pkgdiff so they apply cleanly with
devel/patch.
2004-07-24 23:55:27 +00:00
tron
22fa604f5e Fix configuration parsing problem in "inndstart" which caused it to
ignore the "bindaddress" keyword in "inn.conf". Fix based on a patch
supplied by Bob in PR pkg/26164.
2004-07-07 12:38:24 +00:00
cjep
f6887a97b1 Add USE_INET6 to BUILD_DEFS as these packages use it. Part of PR#25743 from
Georg Schwarz.
2004-06-08 12:23:59 +00:00
tron
44a7727c9b Don't try to setuid(geteuid()) in "rnews" under NetBSD which is documented
not to work. This was correct in INN 2.3.x but changed for some reason
in INN 2.4.x which broke "rnews".
2004-06-02 12:25:35 +00:00
tron
38d7e1de7b Update INN package to version 2.4.1. Major changes since version 2.3.x:
- builtin IPv6 support
- new configuration parser
- completely rewriten "send-uucp" which replaces "sendbatch"
2004-06-02 11:43:55 +00:00
tron
2b4fdcd185 Apply IPv6 patch only if we really want IPv6 support because the patch
breaks the build on some IPv4 only platforms (e.g. IRIX). This fixes
PR pkg/25671 by Georg Schwarz.
2004-05-23 14:40:00 +00:00
jschauma
4b0427bd64 Introduce and use two new variables:
INN_USER and INN_GROUP, specifying the username and groupname to be used
by inn, defaulting to 'news'.
Noted by Georg Schwarz in mail to tech-pkg.
2004-05-22 18:58:29 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
snj
367578c3c8 Convert to buildlink3. 2004-04-11 17:33:47 +00:00
cube
a58c4a46a9 Bl3ify inn (and remove bl2.mk file since newsx is the only user).
Patch newsx's configure so that history method auto-detection can be
bypassed, which allows build on system with unconfigured inn (such as
for bulk-builds).

Bump PKGREVISION because now newsx always use indexed method.
2004-03-16 09:48:37 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
kristerw
a075f5adf6 Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
2004-01-24 20:41:01 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
grant
ac2754dcb7 kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
2003-09-12 20:07:06 +00:00
wiz
4180c7b6d4 Sort sections. 2003-07-29 16:30:06 +00:00
wiz
a78e6b6cb5 Apply another part of pkgsrc-wip/wip/newsx/news.inn.patch,
that was previously rejected (oops).
2003-07-29 16:29:09 +00:00
wiz
6fdb64c6fd Apply patch pkgsrc-wip/newsx/news.inn.patch:
Install header files for other packages (in particular, newsx).
Bump PKGREVISION.
Approved by tron@
2003-07-29 16:27:26 +00:00
martti
8cee801716 COMMENT should start with a capital letter. 2003-07-21 17:10:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
abs
fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00
abs
0de8869fb4 Use mk/gcc.buildlink2.mk rather than gcc/buildlink2.mk so lang/gcc3
is accepted. Suggested by Grant.
2003-06-02 14:05:00 +00:00
tron
ec1d6a836c Update "inn" package to version 2.3.5. Changes since version 2.3.4:
- Clients using POST are no longer permitted to provide an Injector-Info
  header.
- Fixed a bug causing posts with Followup-To set to a moderated group to
  be rejected if the posting user didn't have permission to approve
  postings.
- Fixed bugs in inncheck with setuid rnews or setgid inews, in
  innconfval with inn.conf parameters containing shell metacharacters
  but no spaces, and in parsedate.y with some versions of yacc.  Fixed a
  variety of size-related printf format warnings (e.g., %d vs. %ld)
  thanks to the work of Winfried Szukalski.

While INN 2.3.5 is not the latest officially released version it is the
latest one for which an IPv6 patch is available.
2003-05-13 11:56:44 +00:00
tron
7c841d0c4b Update "inn" package to version 2.3.4. Changes since version 2.3.3:
- LIST ACTIVE no longer returns data when given a single group argument
  if the client is not authorized to read that group.
- XHDR and XPAT weren't correctly parsing article headers, resulting in
  searches for the header "newsgroup" matching the header "newsgroups".
- Made CNFS more robust against crashes by actually syncing the cycbuff
  headers to disk as was originally intended.  Fixed a memory leak in
  the tradspool code.
- Two bugs in pgpverify when using GnuPG were fixed: it now correctly
  checks for gpgv (rather than pgp) when told to use GnuPG and expects
  the keyring to be pubring.gpg (not pubring.pgp).
- Substantial updates to the sample provided control.ctl file.
- Compilation fixes with Perl 5.8.0, BerkeleyDB 4.x, current versions of
  Linux (including with large file support), and Tru64.  inndf fixes for
  ReiserFS.
- Various bugs in the header handling in nnrpd have been fixed,
  including hangs when using virtual domains and improper processing of
  folded headers under certain circumstances.
- Other minor bug fixes and documentation improvements.

While INN 2.3.4 is not the latest officially released version it is the
latest one for which an IPv6 patch is available.
2003-03-23 11:07:15 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
tron
ca15a60693 Honor environment variable "INN_SPOOL" documented in the description file.
Problem noted by Kimmo Suominen in private e-mail.
2002-10-13 07:57:43 +00:00
jlam
a9753b3859 There is also a /var/news/spool/archive directory we need to handle. 2002-09-29 10:41:36 +00:00
jlam
baaf87b430 * buildlink1 -> buildlink2
* Use gcc/buildlink2.mk instead of Makefile.gcc.
* Use the functionality on bsd.pkg.install.mk to generate INSTALL/DEINSTALL
  scripts that match the functionality of the custom ones we're removing,
  and handle the rc.d script automatically.
* Name the full paths of the binaries that are installed setuid.
2002-09-29 10:39:35 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
grant
c8623da4ae @@PREFIX@@ -> @PREFIX@, as this is more consistent with other
packages.
2002-08-27 15:27:03 +00:00
tron
0f7ece859c Update "inn" package to version 2.3.3. Changes since version 2.3.2:
- pgpverify now supports using GnuPG to check signatures (rather than
  PGP) without the pgpgpg wrapper.  GnuPG can check both old-style RSA
  signatures and new OpenPGP signatures and is recommended over PGP 2.6.
  If you have GnuPG installed, pgpverify will use it rather than PGP,
  which means that you may have to create a new key ring for GnuPG to
  use to verify signatures if you were previously using PGP.
- An item that was noted in NEWS below but was inadvertently left out of
  nnrpd has actually been added this time:  users can no longer post
  articles containing Approved: headers to moderated groups by default;
  they must be specifically given that permission with the access:
  parameter in readers.conf.  See the man page for more details.
- Two bugs in repacking overview index files and a reliability bug with
  writing overview data were all fixed in the tradindexed overview
  method, hopefully making it somewhat more reliable, particularly for
  makehistory.
- If rc.news.local exists in the INN binary directory, it will be run
  with the start or stop argument whenever rc.news is run.  This is
  available as a hook for local startup and shutdown code.
- The default history table hash sizes were increased because a
  too-small value can cause serious performance problems (whereas a
  too-large hash just wastes a bit of disk space).
- The sample control.ctl file has been extensively updated.
- Wildmat exclusions (@ and !) should now work properly in storage.conf
  newsgroup patterns.
- The implementation of the -w flag for expireover was fixed;
  previously, the value given to -w to change expireover's notion of the
  current time was scaled by too much.
- Various other more minor bug fixes, standards compliance fixes, and
  documentation improvements.
2002-07-06 15:04:57 +00:00
tron
35152190e8 Automatically create a "news" account suitable for running INN on
installation. This fixes PR pkg/13250 by Gabriel Rosenkoetter.
2002-07-06 14:33:36 +00:00
seb
db84442a67 Substitute a couple of mkdir' by ${MKDIR}'.
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
2002-06-26 10:29:33 +00:00
jlam
0c6c7bc89b Use GNU_CONFIGURE_PREFIX instead of HAS_CONFIGURE workaround. 2002-06-23 03:54:30 +00:00
wiz
d2a1736105 Remove version number from text, and fmt(1). 2002-05-15 14:31:23 +00:00
cjep
3ded6aa067 On arm32, use gcc-2.95.3 to avoid internal egcs errors. 2002-04-20 18:18:50 +00:00
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
veego
c495a26026 Ups, forgot an \ at the end of a line. 2001-10-20 17:31:44 +00:00
veego
e4d299f904 You can't create more then one directory with ${INSTALL_DATA_DIR} on
solaris.
2001-10-19 09:17:11 +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
tron
d5dd708b51 Use "pgp" binary found by "configure" in "pgpverify" instead of hard coded
path "/usr/local/bin/pgp".
2001-09-12 11:20:57 +00:00
tron
adc35f1d13 Redirect standard output to "/dev/null" when starting "rc.news" to avoid
flooding of the console with unimportant INN log messages.
2001-07-29 05:11:26 +00:00
tron
891ea0e7ed Add "--enable-setgid-inews" to "CONFIGURE_ARGS" because "inews" is
otherwise only executable for member of the group "news" and can't hence
be used as posting frontend for e.g. the "nn" package.
2001-07-16 13:41:18 +00:00
tron
858eacaa91 Update "inn" package to version 2.3.2. Changes since version 2.3.1:
- innxmit can again handle regular filenames as input as well as storage
  API tokens (allowing it to be used to import an old traditional
  spool).
- Several problems with tagged-hash history files have been fixed thanks
  to the debugging efforts of Andrew Gierth and Sang-yong Suh.
- A very long-standing (since INN 1.0!) NNTP protocol bug in nnrpd was
  fixed.  The response to an ARTICLE command retrieving a message by
  message ID should have the message ID as the third word of the
  response, not the fourth.  Fixing this is reported to *possibly* cause
  problems with some Netscape browsers, but other news servers correctly
  follow the protocol.
- Some serious performance problems with expiration of tradspool should
  now be at least somewhat alleviated.  tradspool and timehash now know
  how to output file names for removal rather than tokens, and fastrm's
  ability to remove regular files has been restored.  This should bring
  expiration times for tradspool back to within a factor of two of
  pre-storage-API expiration times.
- An item that was actually changed in 2.3.0 but wasn't noted in NEWS
  when it should have been:  Users can no longer post articles
  containing Approved: headers to moderated groups by default; they must
  be specifically given that permission with the access: parameter in
  readers.conf.  See the man page for more details.
- Added a sample subscriptions file and documentation for it and
  innmail.
The changes required for this update were contributed by Bernd Ernesti
in PR pkg/13299.
2001-07-10 16:02:12 +00:00