Commit Graph

163 Commits

Author SHA1 Message Date
Wesley Shields
76f2412bfb Update to 1.8.5p1.
Changes: http://www.sudo.ws/sudo/stable.html#1.8.5p1
2012-05-21 15:39:02 +00:00
Wesley Shields
7fef52b556 Update to 1.8.4p5
Security:	b3435b68-9ee8-11e1-997c-002354ed89bc
2012-05-16 14:26:34 +00:00
Wesley Shields
e308fe8cc0 Update to 1.8.4p4
Changes from 1.8.4p2 through 1.8.4p4 are here:
http://www.sudo.ws/sudo/stable.html#1.8.4p4

Feature safe:	yes
2012-03-13 15:25:11 +00:00
Wesley Shields
27250d2045 Update to 1.8.4p2
PR:		ports/165528
Submitted by:	rea@
2012-03-01 02:06:48 +00:00
Wesley Shields
ea0bdd44de If you used LDAP and NOPORTDOCS then the documentation directory would be
left behind on install. The upstream Makefile would create the directory
and put sudoers2ldif there, but pkg-plist would not register it properly.

This fix moves sudoers2ldif to 'bin' since it isn't really documentation.
It's installation is still controlled by the LDAP knob though.

Spotted by:	scheidell@
2012-02-06 02:47:25 +00:00
Wesley Shields
a0a3d0fc26 Update to 1.8.3p2
Security:	7c920bb7-4b5f-11e1-9f47-00e0815b8da8
2012-01-30 16:37:25 +00:00
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