Commit graph

129 commits

Author SHA1 Message Date
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
wiz
48aee8ab57 Remove Ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 11:31:49 +00:00
jlam
07dd3147c6 Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
2007-09-07 22:12:10 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
wiz
a9c3a0685a Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-14 07:59:09 +00:00
tron
663307ee50 Remove as maintainer of this package because I'm now longer running
INN on my home server.
2006-10-01 11:34:24 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
jlam
802ce74fcb Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-23 00:12:35 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
joerg
673cecaef7 Add missing pullnews.1 to PLIST. Bump revision. 2006-04-10 16:27:02 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
tron
d6004cc912 Update "inn" package to version 2.4.3. Changes since version 2.4.1:
- Previous versions of INN had an optimization for handling XHDR
  Newsgroups that used the Xref header from overview.  While this does
  make the command much faster, it doesn't produce accurate results and
  breaks the NNTP protocol, so this optimization has been removed.
- Fixed a bug in innd that allowed it to accept articles with duplicated
  headers if the header occurred an odd number of times.  Modified the
  programs for rebuilding overview to use the last Xref header if there
  are multiple ones to avoid problems with spools that contain such
  invalid articles.
- Fixed yet another problem with verifying that a user has permissions
  to approve posts to a moderated group.  Thanks, Jens Schlegel.
- Increase the send and receive buffer on the Unix domain socket used by
  ctlinnd.  This should allow longer replies (particularly for innstat)
  on platforms with very low default Unix domain socket buffer sizes.
- rnews's handling of articles with nul characters, NNTP errors, header
  problems, and deferrals has been significantly improved.
- Thomas Parmelan added support to send-uucp for specifying the funnel
  or exploder site to flush for feeds managed through one and fixed a
  problem with picking up old stranded work files.
- INN is now licensed under a less restrictive license (about as
  minimally restrictive as possible shy of public domain), and the
  clause similar to the old BSD advertising clause has been dropped.
- make install and make update now always install the newly built
  binaries, rather than only installing them if the modification times
  are newer.  This is the behavior that people expect.  make install now
  also automatically builds a new (empty) history database if one
  doesn't already exist.
- The embedded Tcl filter code has been disabled (and will be removed
  entirely in the next major release of INN).  It hasn't worked for some
  time and causes innd crashes if compiled in (even if not used).  If
  someone wants to step forward and maintain it, I recommend starting
  from scratch and emulating the Perl and Python filters.
- ctlinnd should now successfully handle messages from INN up to the
  maximum allowable packet size in the protocol, fixing problems sites
  with many active peers were having with innstat output.
- Overview generation has been fixed in both makehistory and innd to
  follow the rules in the latest NNTP draft rather than just replacing
  special characters with spaces.  This means that the unfolding of
  folded header lines will not introduce additional, incorrect
  whitespace in the overview data.
- nnrpd now uniformly responds with a 480 or 502 status code to attempts
  to read a newsgroup to which the user does not have access, depending
  on whether the user has authenticated.  Previously, it returned a 411
  status code, claiming the group didn't exist, which confuses the
  reactive authentication capability of news readers.
- If a user is not authorized to approve articles (using the A access
  control in readers.conf), articles that include Approved headers will
  be rejected even if posted to unmoderated groups.  Some other site may
  consider that group to be moderated.
- The configuration parser used for readers.conf and others now
  correctly handles "#" inside quoted strings and is more robust against
  unmatched double quotes.
- Messages mailed to moderators had two spaces after the colons in the
  headers, rather than one.  This bug has been fixed.
- A bug that could cause heap corruption and random crashes in innd if
  INN were compiled with Python support has been fixed.
- Some problems with innd's tracking of article size and enforcement of
  the configured maximum article size have been fixed.
- pgpverify will now correctly verify signatures generated by GnuPG and
  better supports GnuPG as the PGP implementation.
- INN's code should now be more 64-bit clean in its handling of size_t,
  pointer differences, and casting of pointers, correcting problems that
  showed up on 64-bit platforms like AMD64.
- Improved the error reporting in the history database code, in inews,
  in controlchan, and in expire.
- Many other more minor bug fixes, optimization improvements, and
  documentation fixes.
2006-03-31 17:58:39 +00:00
joerg
3aae1fd0a9 Explicitly set GNU_CONFIGURE_MANDIR to ${PREFIX}/${PKGMANDIR}. 2006-03-02 19:03:20 +00:00
tron
3009c30545 Add optional Python support. Based on patches supplied by Anders Mundt Due
in PR pkg/32299.
2006-01-04 10:32:40 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
reed
be54633317 Use VARBASE instead of hardcoded "/var" for the INN_DATA_DIR.
Okayed by maintainer.
2005-12-27 17:45:40 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tron
190c1f02c6 This package conflicts with the "libradius" package because of
"radius.conf.5".
2005-11-22 16:14:49 +00:00
rillig
0e5596048e Added patch-aj, which fixes PR 32114. 2005-11-19 12:03:22 +00:00
reed
57f7dd5644 Remove the --mandir CONFIGURE_ARGS setting as this is now done
for GNU_CONFIGURE automatically.

(This has been in my personal pkgsrc for a while.)
2005-10-07 18:08:25 +00:00
tron
3edb0a334a Add missing manual pages to package list. Bump package revision because
of this.
2005-09-22 15:38:39 +00:00
rillig
7a95adad42 The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
2005-08-23 11:48:47 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
kristerw
550abf4bb6 This package does link to the perl libraries, so re-add
perl5/buildlink3.mk.
2005-07-24 21:19:54 +00:00
jlam
75414ba27a TOOLS_GZIP_CMD now only holds the path to gzip, so no need to strip off
arguments anymore.
2005-07-18 02:37:22 +00:00
jlam
83147ffa68 Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
2005-07-16 19:10:37 +00:00
kristerw
28c35b47e7 The workref fix in previous commit did not work on NetBSD 1.6; its
make does not understand the "W" option in :C modifiers, and it
handles substitution in strings containing spaces somwheat differently.

Bump PKGREVISION.
2005-07-15 23:23:15 +00:00
tron
b2a9d26591 Don't compile package source "gzip" options into the binaries.
Bump package revision once more.
2005-06-27 19:11:25 +00:00
jlam
590786f61e Instead of setting ac_cv_path_VARNAME, which is a GNU autoconf cache
variable name that can change between autoconf versions, just set
VARNAME, which should always be correct.

Also, note that inn needs yacc to build, and uses gzip in the installed
scripts.  Bump the PKGREVISION to 4.
2005-06-24 16:24:23 +00:00
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