Commit graph

48 commits

Author SHA1 Message Date
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Joe Marcus Clarke
f7c5047a40 Update to F4.0.4.15. Changes include:
* Check data lengths in debugging functions
* Fix syslog facility selection
* Add -G/foreground option
2008-08-16 19:41:31 +00:00
Joe Marcus Clarke
f89a04a550 Fix a typo. 2008-08-15 06:41:15 +00:00
Joe Marcus Clarke
49b31a0401 Update to F4.0.4.14.
* Add notes about PAM to the user guide and tac_plus.conf(5)
* Log login failures with the username, NAS address and NAS tty
* ACLs were not applied through the default authentication
  (ie: user=DEFAULT) path
2007-06-30 06:14:12 +00:00
Joe Marcus Clarke
0feb54e2eb * Update to F4.0.4.13
* Configure tac_plus to run as the user tacacs after starting up [1]
* Convert to USE_RC_SUBR

Requested by:	Ryan Steinmetz <rpsfa@rit.edu>
2006-10-31 02:42:33 +00:00
Edwin Groothuis
0f12b488a5 Remove USE_REINPLACE from all categories starting with N 2006-05-11 22:49:56 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Edwin Groothuis
dbef3380d2 SHA256ify
Approved by: krion@
2006-01-22 21:24:05 +00:00
Joe Marcus Clarke
8ce4d9ae0a Update to F4.0.4.8.
* if -B is used, add the bind address in the PID filename - from Ian Dickinson
* "acl" is an AV pair for service exec.  Within service attribute
  parsing, do not parse "acl" as the acl (or connection ACL) keyword.
  This is a hack; the parser is rather lame - noted by Bryce Kahle
* fix md4 for LP64
* do not accept skey keywords unless compiled with skey support
* fix skey enable password type - bit from Ed Ravin
* skey prompt ("challenge") is "S/Key challenge", not "Password"
* make "daemon" the default syslog facility and add a syslog config
  statement
* add support for user authentication via PAM
2005-10-11 03:53:12 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Joe Marcus Clarke
17694d95cd Adjust PORTVERSION as this is really F4.0.4.7, and not F4.0.4_7. 2005-04-03 07:05:39 +00:00
Joe Marcus Clarke
ca1e72ab95 Update to F4.0.4.7. Code changes in this release include:
* Conversion to autofoo
* Man pahe improvements
* MD5 fixes for 64-bit platforms
* generated_password has been renamed to tac_pwd
* A tac_plus.config.5 man page has been added
* User-specific enable password support

Port changes in this release include:

* Default IOS version has been changed from 11.x to 12.x
* tac_plus.sh script has been converted to rcNG
* PORTDOCS is properly respected
* Portlint fixes
2005-04-03 06:58:13 +00:00
Joe Marcus Clarke
2655d09556 SIZEify
Submitted by:	trevor
2004-03-19 07:47:02 +00:00
Joe Marcus Clarke
f5ff59729c Add CONFLICTS for ports that install files with the same name.
Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-10-11 06:18:53 +00:00
Sergey A. Osokin
f37f7775e3 Make portlint(1) happy by changing strip to ${STRIP_CMD}
Submitted by:	Oleg Karachevtsev <ok@etrust.ru>
PR:		56998
2003-09-24 09:37:11 +00:00
Joe Marcus Clarke
9b6b08e6b4 Fix a problem with authentication not working on 64-bit platforms.
Submitted by:	Ivan Dolezal <Ivan.Dolezal@vsb.cz>
2003-04-05 05:10:37 +00:00
Joe Marcus Clarke
86e8356510 De-pkg-comment. 2003-02-26 07:31:10 +00:00
Joe Marcus Clarke
33bd34f167 Install the generate_passwd program mentioned in the users guide. This tool
can be used to generate DES passwords for use in tac_plus.conf.

Submitted by:	John <strgout@unixjunkie.com>
2003-01-02 18:09:45 +00:00
Joe Marcus Clarke
92df255ffd Fix build on -CURRENT by conditionalizing S/Key support and adding OPIE
support.

Reported by:	bento
2002-12-08 20:33:48 +00:00
Joe Marcus Clarke
080e4485f3 Fix WWW link.
Reported by:	fenner's sweep
2002-12-08 19:47:36 +00:00
Josef Karthauser
8cdedd7370 Hand maintainership over to someone who cares about this port.
Thanks Joe.
2002-12-08 19:34:21 +00:00
Josef Karthauser
fb16688dba Resolve some portlint bogons. 2002-11-18 02:17:29 +00:00
Josef Karthauser
f1c80f1988 I'm looking after these ports for Andreas for a while so I've
changed the MAINTAINER line to an email alias that directs mail to
us both.
2001-05-24 20:34:27 +00:00
Andreas Klemm
828b215af2 From Sergey:
"Using tacacs I found that ckfinger() function from maxsess.c module
 returns wrong count of current sessions for users with "maxsess"
 parameter established in tac_plus.conf. It happens if Cisco access
 server works with IOS v 12.x.
 On the other hand ckfinger() works well with IOS v 11.x
 Here are patches for both maxsess.c and port's Makefile to fix
 this problem (but it is just workaround, ckfinger() should be
 fully rewritten)."
From me:
 changed variable name by prepending string "TAC_", so that tacacs+
 ports variables follow an unique scheme.
Please note: this doesn't compile with the new TAC_IOS_VERSION variable
if you have CFLAGS redefined in /etc/make.conf as:
CFLAGS=-pipe -O (or whatever)
You have to use
CFLAGS+=-pipe -O (or whatever)
Mailed to -developers. Am really not sure, what's the culprit here.
Fact is, that a part of CFLAGS get lost when compiling the port,
if you redefine CFLAGS in /etc/make.conf without the "+" sign ...
I personally removed my CFLAGS define in /etc/make.conf as it
defaults to -pipe -O, which is fine for me.

Submitted by:	Sergey E. Levov (serg@informika.ru)
2001-01-24 08:06:55 +00:00
Andreas Klemm
7eb4e513f0 From Sergey:
"The tac_plus user guide says that when passwd(5) file is used for user
 authentication, the expiry date checks against shell field of password file.
 Maybe it is OK for custom passwd files, but not for system password file.

 Here is a little patch below which allow the tacacs daemon check
 the expiration dates against 'expire' field of FreeBSD's master.passwd file.
 It is very useful for me, and may be useful for other FreeBSD&tacacs users."

Submitted by:	Sergey Levov <serg@informika.ru>
2000-12-01 20:42:49 +00:00
Satoshi Asami
7c12d99f14 Rename ${FILESDIR}/patch-* to ${PATCHDIR}/extra-patch-*. 2000-10-07 22:38:04 +00:00
Andreas Klemm
79c1c154e8 patch submission, cisco got a copy.
Submitted by:	Taras Heychenko <tasic@lucky.net>
2000-08-02 16:37:22 +00:00
Andreas Klemm
25e135e5c0 - update from F4.0.3 to F4.0.4
- contains security fix
  Damir Rajnovic <gaus@CISCO.COM> on bugtraq:
  "We updated our unsupported version of TACACS+ server so it is no longer
   vulnerable to oversized T+ packets."
- took again maintainership of port, actually I never wanted to quit
  was a committ failure when using port submission from PR
2000-07-15 16:14:01 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Chris Piazza
93a61d6874 Update with the new PORTNAME/PORTVERSION variables 2000-04-09 18:14:07 +00:00
Satoshi Asami
228223cd58 Use EXTRA_PATCHES instead of copying a patch into ${PATCHDIR}, which
can be read-only.
2000-03-03 20:06:13 +00:00
Tim Vanderhoek
8cd82c0318 General comment cleanups. 1999-12-28 16:30:10 +00:00
Andreas Klemm
21a37f2216 Port update after repository copy
Taken from tasic@planka.carrier.kiev.ua
+ some modifications by me
(style, patch additions to compile cleanly, pkg/*)
added convert utility to port/package to enable people
to do migrations, if needed, see the docu for details.

PR:		13716
Submitted by:	tasic@planka.carrier.kiev.ua
1999-11-10 07:37:21 +00:00
Andreas Klemm
26cdb8cc43 oops. Saved the wrong file, now descr. is o.k. again. 1999-10-14 20:30:41 +00:00
Andreas Klemm
4df1ff743d Style. 1999-10-14 20:28:33 +00:00
Andreas Klemm
90699d0764 Bring it back again.
Port was o.k. to get tacacs up and running using a Cisco router and
I really missed it.

- Added me as maintainer of the port
- Moved sources to my homepage download area
- Compressed sources using bzip2
- Removed some not needed variables in Makefile
- Committed with new nd5 checksum
1999-10-14 20:26:00 +00:00
Bill Fenner
94cc83be1a Delete port: tac_plus
PR:		ports/13301
Submitted by:	Igor Vinokurov <igor@rtsnet.ru>
1999-09-07 06:58:57 +00:00
Peter Wemm
a6c3f62331 $Id$ -> $FreeBSD$ 1999-08-30 14:24:37 +00:00
Michael Haro
b8f8618362 echo -> ${ECHO} or ${ECHO_MSG} and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
1999-08-27 22:30:39 +00:00
Michael Haro
5281212be3 chmod -> ${CHMOD}
chown -> ${CHOWN}
1999-08-22 19:01:07 +00:00
Tim Vanderhoek
dd9ff05a6a Commit #3/4 to enforce caps, no period.
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.

As promised,

$ time cvs ci
real    67m51.701s
user    0m1.250s
sys     0m5.345s
1999-06-26 19:12:45 +00:00
Michael Haro
5b9355a3b1 WWW: This is definately the daemon's work. In Chuck we trust. 1999-05-03 05:26:53 +00:00
Satoshi Asami
5114e2637e Adjust port Makefiles to new EXTRACT_* variable defaults. See log of
bsd.port.mk rev. 1.304 for details on the change.

The fix here is one of the following.

(1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining
    EXTRACT_* commands.

(2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously
    calling the "tar" command (i.e., arguments like "-xzf" are spelled
    out).

(3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS},
    add ${EXTRACT_AFTER_ARGS} to the command line as well.

(4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS
    is set, define the other two too.
1999-02-03 11:12:01 +00:00
Tim Vanderhoek
26e78bb69f This netted the largest set of mis-installed manpages, yet! 1998-08-18 19:48:45 +00:00
Justin M. Seger
37a297cc60 File moved on MASTER_SITE.
PR:		5480
Submitted by:	igor@zynaps.ru
1998-01-16 04:06:17 +00:00
Masafumi Max NAKANE
12da0f1363 - Fix problem with configuration file name in the startup script.
- Add an optional patch to change the prompt.  (Execute make with
  TAC_CHANGE_PROMPT=YES to activate.)
PR:		4105
Submitted by:	the port maintainer
1997-09-17 04:51:47 +00:00
Masafumi Max NAKANE
e632592b39 New port, tac_plus:
tac_plus provides Cisco systems routers and access servers
with authentication, authorisation and accounting services.

A configuration file controls the details of authentication,
authorisation and accounting.

PR:		2869
Submitted by:	Igor Vinokurov<igor@zynaps.ru>
Note: Although there is no terms and conditions on redistribution found,
the author says there is no restriction.  (This is stated in more
recent alpha version.)  The only concern is the U.S. Export restriction,
but Cisco has been granted with the right to export their software,
according to the author.  And also I haven't been able to find any
implementation that may violate the export control in the source code,
either.  So, I import this without any RESTRICTED or NO_CDROM defined.
1997-06-23 15:39:59 +00:00