Bug 157400 - [PATCH] net/freeradius: Run under an unprivileged user
Summary: [PATCH] net/freeradius: Run under an unprivileged user
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-29 21:40 UTC by Sevan Janiyan
Modified: 2011-06-03 01:50 UTC (History)
1 user (show)

See Also:


Attachments
freeradius-1.1.8_2.patch (8.32 KB, patch)
2011-05-29 21:40 UTC, Sevan Janiyan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sevan Janiyan 2011-05-29 21:40:02 UTC
Run under an unprivileged user (freeradius)
Rework the make file
utilise bsd.port.options.mk
remove Makefile hack for python
change the ownership of files & directories to new user

A note will need to be added for existing users to UPDATING
the user & group ownership of
/usr/local/etc/raddb
/var/run/radiusd
/var/log/radacct
/var/log/radius.log
needs to be set to freeradius

Added file(s):
- files/patch-raddb_radiusd.conf.in
- files/radiusd.in

Removed file(s):
- files/radiusd.sh.in

Port maintainer (rpsfa@rit.edu) is cc'd.

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-29 21:40:14 UTC
Maintainer of net/freeradius,

Please note that PR ports/157400 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/157400

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-05-29 21:40:16 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Wesley Shields freebsd_committer freebsd_triage 2011-05-29 23:14:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 4 Ryan Steinmetz 2011-06-01 00:25:28 UTC
Approved.
Comment 5 Wesley Shields freebsd_committer freebsd_triage 2011-06-03 01:49:54 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 6 dfilter service freebsd_committer freebsd_triage 2011-06-03 01:49:54 UTC
wxs         2011-06-03 00:49:45 UTC

  FreeBSD ports repository

  Modified files:
    .                    UPDATING 
    net/freeradius       Makefile 
  Added files:
    net/freeradius/files patch-raddb_radiusd.conf.in radiusd.in 
  Removed files:
    net/freeradius/files radiusd.sh.in 
  Log:
  - Run under an unprivileged user (freeradius)
  - Utilise bsd.port.options.mk
  - Remove Makefile hack for python
  - Change the ownership of files & directories to new user
  
  PR:             ports/157400
  Submitted by:   Sevan Janiyan <venture37@geeklan.co.uk>
  Approved by:    Ryan Steinmetz <rpsfa@rit.edu> (maintainer)
  
  Revision  Changes    Path
  1.1070    +12 -1     ports/UPDATING
  1.80      +57 -45    ports/net/freeradius/Makefile
  1.1       +13 -0     ports/net/freeradius/files/patch-raddb_radiusd.conf.in (new)
  1.4       +34 -0     ports/net/freeradius/files/radiusd.in (new)
  1.6       +0 -34     ports/net/freeradius/files/radiusd.sh.in (dead)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"