Bug 157298 - Fix port: sysutils/runit unbreak on 9-CURRENT with utmpx
Summary: Fix port: sysutils/runit unbreak on 9-CURRENT with utmpx
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 20:50 UTC by Chris Rees
Modified: 2011-05-27 16:30 UTC (History)
0 users

See Also:


Attachments
file.diff (8.48 KB, patch)
2011-05-24 20:50 UTC, Chris Rees
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Rees 2011-05-24 20:50:10 UTC
runit was broken when utmpx replaced utmp.

Since it has been established that the utmp logic in runit as an init replacement is superfluous [1], removing that code from the program returns it to full working order.

[1] http://lists.freebsd.org/pipermail/freebsd-ports/2011-May/067872.html

Fix: - Unbreak on CURRENT
- Pass maintainership to submitter
- Remove utmp code if utmpx is present
- Handle configuration files correctly
- Use ETCDIR

Submitted by: Chris Rees (utisoft@gmail.com)

Bear in mind that files/patch-utmpx is new.

I've also removed the empty REQUIRE line from runsvdir.sh.in.

Patch attached with submission follows:
Comment 1 dfilter service freebsd_committer freebsd_triage 2011-05-27 16:26:15 UTC
bsam        2011-05-27 15:26:01 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/runit       Makefile pkg-plist 
    sysutils/runit/files runsvdir.sh.in 
  Added files:
    sysutils/runit/files patch-utmpx 
  Log:
  - Unbreak on CURRENT;
  - Pass maintainership from ports@ to submitter;
  - Remove utmp code if utmpx is present;
  - Handle configuration files correctly;
  - Use ETCDIR;
  - Remove empty REQUIRE line from runsvdir.sh.in.
  
  PR:             ports/157298
  Submitted by:   Chris Rees <utisoft@gmail.com>
  
  Revision  Changes    Path
  1.25      +22 -17    ports/sysutils/runit/Makefile
  1.1       +96 -0     ports/sysutils/runit/files/patch-utmpx (new)
  1.7       +1 -3      ports/sysutils/runit/files/runsvdir.sh.in
  1.9       +19 -32    ports/sysutils/runit/pkg-plist
_______________________________________________
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"
Comment 2 Boris Samorodov freebsd_committer freebsd_triage 2011-05-27 16:27:22 UTC
State Changed
From-To: open->closed

Committed, thanks!