Commit graph

125 commits

Author SHA1 Message Date
Dima Panov
5f5db2b1bc - Fix innd/nnrpd semget failures
Do not set any shmem permission bits except for the six allowed bits

PR:		171134
Submitted by:	G. Paul Ziemba
2012-09-02 13:53:16 +00:00
Eygene Ryabinkin
f7b99adb95 news/inn: fix plaintext command injection, CVE-2012-3523
Relevant only for INN installations that are using encryption.

PR:		171013
Approved by:	fluffy@FreeBSD.org (maintainer)
Security:	http://www.vuxml.org/freebsd/a7975581-ee26-11e1-8bd8-0022156e8794.html
2012-08-26 17:33:12 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Dima Panov
9e9bc9e5ed - Fix typo
Noticed by:	Geraint A. Edwards via email
2012-07-08 10:47:11 +00:00
Dima Panov
87003d51ea - Add options for OpenSSL (for those who don't need) and GnuPG (pgpverify)
- TCL is no longer supported.
- Use new option framework.
- USE_PYTHON implies inclusion of bsd.python.mk.
- There are no --with-max-socket, --with-etc-dir and --with-datarootdirdir in configure.
- empty({PORT_OPTIONS:MTAGGED_HASH) NOT implies LARGE_FILES.
- Add missed files to plist

PR:		169666
Submitted by:	Hung-te Liang <lhd AT cs DOT nctu DOT edu DOT tw>
2012-07-07 12:34:18 +00:00
Andrej Zverev
a41069ab3b - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-06-30 14:53:22 +00:00
Dima Panov
e46de72204 - Update INN to 2.5.2 release
- Handle deprecated perl declarations [1]

PR:		166031 [1]
Submitted by:	Joe Horn <joehorn AT gmail DOT com> [1]
Suggested by:	cy (via email, most part of update)
2012-06-27 12:26:11 +00:00
Thierry Thomas
a89e5afdce Fix rc script.
Since I'm there, clean plist.

PR:		ports/164750
Submitted by:	Joe Horn <joehorn (at) gmail.com>
Approved by:	maintainer time-out
2012-02-25 19:33:24 +00:00
Ruslan Makhmatkhanov
b3e78ade01 - replace YES' with yes' in USE_PYTHON/USE_PYDISTUTILS (mostly)
They all non-functional changes.
2012-02-19 07:02:58 +00:00
Alberto Villa
5ba7db69fc - Fix plist.
- Bump PORTREVISION.

The port didn't package most of the contents of share/examples/inn,
but attempted to use them in exec/unexec portions of the package list,
producing errors for binary package installations.

PR:		159977 [1]
PR:		155436
Submitted by:	hag@linnaean.org [1]
Approved by:	fluffy (maintainer timeout)
2012-01-24 12:05:45 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Dima Panov
d2c0987a00 - Switch MASTER_SITES to local to make it fetchable again
ISC doesn't provide distfiles for INN 2.4.x anymore

Noticed by:	pointyhat via erwin
2010-09-30 01:38:24 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Dima Panov
37ec9f3ccf - Make perl5 dependency mandatory [1]
- Improve tcl handling

Noticed by:	dinoex via IRC [1]
Approved by:	tabthorpe (co-mentor)
2009-11-27 15:45:56 +00:00
Dima Panov
e5210808dd Update my MAINTAINER's email to @FreeBSD.org
Approved by: tabthorpe (co-mentor)
2009-08-10 17:59:27 +00:00
Martin Wilke
fa09161bd3 - Update to 2.4.6
- Pass maintainership to Dima Panov <Fluffy@fluffy.khv.ru>

PR:		based on 136810
2009-07-28 18:33:24 +00:00
Shaun Amott
4036b19d97 With regret, return these to the pool. 2009-07-22 02:07:05 +00:00
Pav Lucistnik
bae6971f74 - Update WWW 2009-03-22 18:47:07 +00:00
Shaun Amott
c78c4f90f3 - Remove SSL OPTION; force OpenSSL dependency instead.
- Remove bogus TCL 8.3 dependency.

Submitted by:	Dima Panov via cvs-ports
2008-11-17 16:44:11 +00:00
Shaun Amott
322a92961f - Upgrade inn to 2.4.5.
- Upgrade inn-current to the latest snapshot, fixing some issues with
  the port [1]; the port is still BROKEN, though.
- Fix IPv6 binding issue. [2]

PR:		ports/124566 [1]
Submitted by:	thierry [1]
Obtained from:	http://marc.info/?t=122460141500003 [2]
2008-11-14 16:11:09 +00:00
Mark Linimon
581e69adb2 Set USE_PERL5/WANT_PERL as appropriate, for ports that either depend on
perl unconditonally, or conditionally.  To be able to conditionalize the
inclusion of bsd.perl.mk, they now need to be defined before the inclusion
of bsd.port.pre.mk.

Hat:		portmgr
2007-10-07 05:45:04 +00:00
Shaun Amott
b5688d6793 Fix a bug which causes innfeed to segfault on 64-bit architectures.
Submitted by:	Kai Gallasch <gallasch@free.de>
Debugged by:	Julien ÉLIE <julien@trigofacile.com>
Patched by:	roberto
2007-09-26 19:10:54 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Shaun Amott
ec60b4b254 Fix inn and inn-current install.
Nudged by:	pav
2007-01-26 22:54:21 +00:00
Shaun Amott
7073505859 - Fix PLIST for inn-current.
- Check files exist before stripping, as strip(1) on 4.x fails if the
  file isn't there.

Reported by:	pointyhat via kris
2006-11-05 23:08:55 +00:00
Shaun Amott
cf01b91d7e Pass the correct directories to configure when a non-default INN_LAYOUT
option is used.
2006-11-02 02:52:42 +00:00
Shaun Amott
e008bbf4d3 Fix database directory ownership / configure options. 2006-11-01 15:14:40 +00:00
Shaun Amott
ced1ab174a Fix Makefile.layout to work with FreeBSD 4.x.
Noticed by:	Dan Langille's magic sanity test script
2006-10-31 03:15:07 +00:00
Shaun Amott
62491c7999 Overhaul for the inn ports:
- Turn inn-stable and inn-current into slaves, as they are pretty much
  clones of news/inn.
- Update the above ports to recent snapshots.
- Allow inn's database and spool directories to be placed outside
  PREFIX (e.g. under /var).
- Add OPTIONS knobs.
2006-10-31 02:35:52 +00:00
Shaun Amott
4cba7980c2 For the inn ports:
- Fix build in the case where the host machine has either no DNS, or an
  incomplete hostname.
- Use a generic placeholder in the default config file rather than the
  build machine's name.
- Pet portlint(1) while here.
2006-08-30 00:39:07 +00:00
Shaun Amott
696e5bd2a8 Amend hostname check to succeed if /bin/hostname fails.
Another work-around for those pesky amd64 machines.
2006-08-23 20:57:28 +00:00
Shaun Amott
d6e813c37c - Fix a few incorrect file permissions after install.
- Check for invalid hostname and set IGNORE, since we know the build
  will fail in this case.
- Ensure pkg-install is called with correct environment.
2006-08-03 14:39:44 +00:00
Shaun Amott
5361678373 Switch to my @FreeBSD.org address.
Approved by:	ahze (mentor)
2006-06-19 20:06:59 +00:00
Thierry Thomas
b9de059d9d Fix plist: it's now possible to install inn from package.
PR:		ports/98469
Submitted by:	Shaun Amott <shaun (at) inerd.com> (maintainer)
2006-06-09 20:30:48 +00:00
Thierry Thomas
67899aa29c Don't remove database data files during the next upgrade.
PR:		ports/98038
Submitted by:	Shaun Amott <shaun (at) inerd.com> (maintainer)
2006-05-28 19:38:52 +00:00
Pav Lucistnik
fde16f4917 - Update to 2.4.3
- Provide rc_subr startup script
- Take maintainership

PR:		ports/96872
Submitted by:	Shaun Amott <shaun@inerd.com>
2006-05-07 21:16:16 +00:00
Clement Laforet
91f702e3c7 - Drop maintainership 2006-05-01 10:22:33 +00:00
Edwin Groothuis
c8276f2dd3 SHA256ify
Approved by: krion@
2006-01-23 23:49:42 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Clement Laforet
d334590ce1 - Preserve config files permissions to reduce inncheck warnings. 2004-03-30 12:52:38 +00:00
Clement Laforet
60cea39c30 - SIZEify
Submitted by:		trevor
2004-03-18 02:01:15 +00:00
Clement Laforet
c828d7783b Strip binaries.
Noticed by:	naddy (monthes ago)
2004-03-01 15:47:06 +00:00
Clement Laforet
6f044fc4f1 Cosmetic change: add missing quotes. 2004-02-26 16:27:44 +00:00
Clement Laforet
8d788024ff - Add WITH_STANDARD_ETC knob
If you define WITH_STANDARD_ETC inn config files are put
  in ${PREFIX}/etc/inn

Requested by:		Jochen Gensch <incmc@gmx.de> (PR 61974)
2004-02-26 16:20:51 +00:00
Clement Laforet
f54829811c - Add a little workaround to keep man directories owned by root.
- Unmark as FORBIDDEN.

Noticed by:	kris
2004-02-11 17:55:28 +00:00
Joe Marcus Clarke
73f7c91b5d Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 1)
2004-02-04 05:10:27 +00:00
Kris Kennaway
909f39d3c0 FORBIDDEN: Changes ownership of system directories 2004-01-30 09:09:46 +00:00
Clement Laforet
edb5020fcc - Update to 2.4.1 (urgent release)
This release fixes a potentially exploitable buffer overflow.
  Changelog:
  http://lists.litech.org/pipermail/inn-workers/2004q1/002763.html
- Add db41 support

Approved by:    erwin (mentor) (implicitly)
2004-01-08 10:20:41 +00:00
Mark Linimon
9c9ed0af71 Changelog:
- set correctly inn tmpdir [PR 57859: thanks to G. Paul Ziemba"
  <p-fbsd-bugs@treehouse.napa.ca.us>]
- fix PKG_PREFIX for pkg-install, now post install script knows correct prefix
- add support for db4, db3 in ovdb.
Note for users:
inn 2.4.0 DOESN'T SUPPORT db4.1. If you want to use db4.1, use inn-stable
instead.
PR:	ports/58394
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org> (maintainer)
2003-11-21 04:53:39 +00:00