Commit graph

157 commits

Author SHA1 Message Date
Wesley Shields
6fa3f3e14c Switch to using MASTER_SITE_SUDO. 2011-11-09 17:18:43 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Wesley Shields
91aed37a13 - Use DISTNAME instead of DISTFILES and remove WRKSRC.
Submitted by:	sunpoet@
2011-11-01 14:13:05 +00:00
Wesley Shields
442c763f08 Fix version number going backwards.
Noticed by:	erwin@
2011-10-30 14:24:02 +00:00
Wesley Shields
9467ed7e2b - Update to 1.8.3p1 2011-10-30 02:49:59 +00:00
Koop Mast
57a6fd2754 Fix build on FreeBSD 10
Approved by:	portmgr (miwi)
2011-10-29 10:31:51 +00:00
Wesley Shields
74d1b50bac - Update to 1.8.3. 2011-10-23 15:00:38 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Wesley Shields
37bb0715c9 - Switch to using bsd.port.options.mk. 2011-09-07 01:30:26 +00:00
Wesley Shields
272665e1dc - Update to 1.8.2
- Now depend on gettext
- While here, use DISTVERSION.
2011-09-06 18:07:33 +00:00
Wesley Shields
25ddfe6c37 - Remove dead MASTER_SITES.
Noticed by:	The Distilator
2011-08-02 21:35:36 +00:00
Wesley Shields
f1256b4e5d Update to 1.8.1p2 2011-05-22 19:33:13 +00:00
Wesley Shields
2125e1e314 Add an AUDIT option, which is off by default for now. I will turn it on
with the next significant bump.

Submitted by:	Mike Kelly (private mail)
2011-05-13 14:30:35 +00:00
Wesley Shields
dce32f7c62 Update to 1.8.1p1.
No longer need to worry about etc/sudoers.d problem, as it is no longer
a fatal error.
2011-04-17 13:50:10 +00:00
Wesley Shields
98eeed761f Fix a typo in pkg-install. Should use -m and not -M for install(1).
Noticed by:	sunpoet@
2011-04-12 03:42:45 +00:00
Wesley Shields
9cdeec96c1 The install process checks the validity of sudoers before installing
etc/sudoers.d. If you have an sudoers with the includedir directive the
install will fail. Fix this by creating the directory in a pre-install
target.

This should fix "The Great sudo Debacle of 2011" once and for all.

Tested by:	dougb@
2011-04-11 19:43:39 +00:00
Wesley Shields
91a0810f4f Revert the removal of sudoers.d. It is a POLA violation. While here remove
the UPDATING entry as it no longer applies.
2011-04-11 16:50:19 +00:00
Wesley Shields
92fc99dfbd We don't install a sudoers.d, remove that from the default sudoers file.
PR:		ports/156305
Submitted by:	Helmut Schneider <jumper99@gmx.de>
		Anatoly Borodin <anatoly.borodin@gmail.com>
2011-04-11 12:47:00 +00:00
Wesley Shields
16f5457a8a Update to 1.8.1. There are a lot of behind-the-scenes changes in this port,
including a plugin system now.

While here, do some whitespace fixes.
2011-04-10 01:39:49 +00:00
Wesley Shields
21f5ede427 Update to 1.7.4p6.
"This release fixes a bug in the I/O logging support that could cause visual
artifacts in full-screen programs such as text editors.  This bug was listed as
fixed in sudo 1.7.4p5 but the fix was merged incorrectly."

Feature safe:	yes
2011-01-19 18:32:50 +00:00
Wesley Shields
a18479ea33 Update to 1.7.4p5.
Special thanks to rea@ for commiting the appropriate VuXML for me. :)

PR:		ports/153939
Submitted by:	rea@
Security:	908f4cf2-1e8b-11e0-a587-001b77d09812
Feature safe:	yes
2011-01-13 20:00:11 +00:00
Wesley Shields
ff00de647f Work around annoying, but harmless, bug with install(1) using "-b~" by changing
it to use "-b ~".
While here also strip libsudo_noexec.so.

Submitted by:	John Hein (private mail)
2010-10-24 23:34:11 +00:00
Wesley Shields
9a61bf1e6a Add a bunch of new mirrors and remove dead ones. The mirror list now matches
http://www.sudo.ws/sudo/download_mirrors.html.

Noticed by:	The Distilator
2010-10-17 01:51:08 +00:00
Wesley Shields
24403935e8 Add two missing files when LDAP knob is on. No need to bump PORTREVISION as it
defaults to off.
2010-09-14 15:24:30 +00:00
Wesley Shields
af51da9119 Remove SHELL_SETS_HOME knob since as far as I can tell it doesn't do anything
anymore. The configure script still supports it but the behavior is now
controlled by a setting in the configuration file "Defaults env_keep += HOME".
2010-09-14 00:25:14 +00:00
Wesley Shields
f79667d89e Fix packaging.
PR:		ports/150371
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>, dim@
2010-09-13 20:46:01 +00:00
Wesley Shields
691622ab2c Update to 1.7.4p4 to address a couple of minor bugs and Runas group
vulnerability.
While I'm here also cleanup files/patch-Makefile.in.

Security:	67b514c3-ba8f-11df-8f6e-000c29a67389
2010-09-07 18:13:23 +00:00
Wesley Shields
dfd95b676f Fix package installation by correcting usage of %B and installing a file
to make sure the empty directory is created.

PR:		ports/149912
Submitted by:	Alexey V.Degtyarev <alexey@renatasystems.org>
2010-09-05 21:33:42 +00:00
Wesley Shields
77eab20c22 Strip the binaries by default. No need to bump PORTREVISION for such a
minor change.

PR:		ports/149135
Submitted by:	Anonymous <swell.k@gmail.com>
2010-08-22 12:32:26 +00:00
Wesley Shields
aef8c68263 Update to 1.7.4p3
Install etc/pam.d/sudo and etc/pam.d/sudo.default
2010-08-22 01:58:33 +00:00
Wesley Shields
fd5d554e16 Fix problems when upgrading using packages:
- Always install sudoers.sample.
 - There is no need for pkg-install anymore.
 - Bump PORTREVISION.
2010-08-16 13:06:02 +00:00
Wesley Shields
09077111fc Update to 1.7.4p2. 2010-08-16 02:16:26 +00:00
Wesley Shields
cc748742e0 Remove unsupported argument to configure.
PR:		ports/148378
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
Feature safe:	yes
2010-07-05 16:34:01 +00:00
Wesley Shields
368fd0ea8c Update to 1.7.3
Feature safe:	yes
2010-07-04 18:56:44 +00:00
Wesley Shields
56f0545554 Update to 1.7.2p7.
Security:	d42e5b66-6ea0-11df-9c8d-00e0815b8da8
2010-06-03 00:11:48 +00:00
Wesley Shields
a3f68c5180 - Update to 1.7.2p6 (security fix).
Security:	1a9f678d-48ca-11df-85f8-000c29a67389
2010-04-15 20:55:39 +00:00
Wesley Shields
709352e71b - Update to 1.7.2p5. Security fix (1.7.2p4) and general bug fixes beyond that.
Security:	018a84d0-2548-11df-b4a3-00e0815b8da8
Feature safe:	yes
2010-03-01 17:48:13 +00:00
Wesley Shields
e113e4d1e0 - Fix options screen to have a shorter description.
Noticed by:	garga@
2010-01-05 14:57:17 +00:00
Wesley Shields
832bd25271 - Update to 1.7.2.2
- Mark jobs safe
- Cleanup whitespace in OPTIONS
- [1] Add ability to specify syslog facility at build time (defaults to local2,
  no functional change)
- [2] Add ability to specify ldap configuration file (defaults to
  ${PREFIX}/etc/ldap.conf, no functional change)

PR:		[2]: ports/127822
Submitted by:	[1]: skreuzer@ (private mail)
		[2]: Sergey Skvortsov <skv@freebsd.org>
2010-01-04 21:28:22 +00:00
Wesley Shields
43292fa6ae - Take maintainer. Thanks Tom for all your hard work on this.
Approved by:	tmclaugh
2009-10-12 17:55:26 +00:00
Tom McLaughlin
32058bb987 Add OPTIONS for WITH_DISABLE_ROOT_SUDO, WITH_DISABLE_AUTH, and
WITH_NOARGS_SHELL

Submitted by:	Scott Fultz
2009-06-12 00:46:49 +00:00
Tom McLaughlin
a2745142d5 Security update for sudo to 1.6.9p20 for CVE 2009-0034
Changes:
- Only use the cached supplementory group vector when matching groups
  for the invoking user. (security)
- When setting the umask, use the union of the user's umask and the
  default value set in sudoers so that we never lower the user's umask
  when running a command.
- Sudo now operates in the C locale again when doing a match against
  sudoers.

PR:		131446
Submitted by:	Eygene Ryabinkin
Security:	vid:13d6d997-f455-11dd-8516-001b77d09812
2009-02-06 19:35:46 +00:00
Tom McLaughlin
fe81eb3aa4 - Add FTP_PASSIVE_MODE to example env_keep line for pkg utilities and fetch.
Suggested by:	koitsu
2008-10-11 20:39:03 +00:00
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
Tom McLaughlin
1693e5d070 - Update to 1.6.9p17
* the -i flag implies resetting the environment as it did prior to
  1.6.9.  The -i and -E flags are now mutually-exclusive.
2008-07-06 23:20:05 +00:00
Tom McLaughlin
4428c726c5 - Fix pkg-plist, libtool archive is no longer installed.
Prompted by:	pavmail
2008-04-10 14:00:22 +00:00
Tom McLaughlin
e19088e1c6 - Update to 1.6.9p15
* The HOME environment variable is once again preserved by default, as per
  the documentation.

- Finally remember to fix the $FreeBSD$ line in pam file.
2008-04-09 16:44:28 +00:00
Tom McLaughlin
cbaf0981e1 - Update to 1.6.9p14
* Check sudoers even if user is found in LDAP so Defaults can take
  effect.
* Fix crash when pam_lastlog is (incorrectly) usesd in session section
  of PAM file.
2008-03-09 20:51:31 +00:00
Tom McLaughlin
2b5f91b8a7 Update to 1.6.9p12
Changes:
- The ALL command in sudoers now implies SETENV permissions.
- The command search is now performed using the target user's auxiliary
  group vector too.
- Various LDAP code improvements.
- Added passprompt_override flag to sudoers to cause sudo's prompt to be
  used in all cases.  Also set when the -p flag is used.
- New %p prompt escape that expands to the user whose password is being
  prompted, as specified by the rootpw, targetpw and runaspw sudoers
  flags.
2008-01-28 06:29:03 +00:00
Tom McLaughlin
f280695adb - Make fetchable again. Add my MASTER_SITE_LOCAL to the mix and replace
a number of outdated sites.

Notified by:	Ferenc Gartner
Approved by:	portmgr (linimon, erwin)
2007-11-12 01:21:19 +00:00