1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-10 02:45:11 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Cy Schubert
28b7c66ddd Add missing Makefile patch. 2012-05-07 05:23:23 +00:00
Cy Schubert
fea2386be1 Fix utmpx related bug. Built w/o eror but failed to function. 2012-05-02 03:20:35 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Cy Schubert
295a80f62e When 'Doinkd' is started as a service and there are no users actually
logged into system it segfaults (signal 11).

There is a bug in the 'chk_maxuser' function. When it receives as a
prameter 'user==NULL' following condition:

if (user->mgroup != 0) {

causes a segfault. Bug can be very easy reproduced and tracked by
gdb (core dumps have to be enabled).

Tested fix is:

if (user != NULL && user->mgroup != 0) {

Obtained from:	doinkd bug ID at Sourceforge: 1652293
		http://sourceforge.net/tracker/?func=detail&aid=1652293&group_id=168453&atid=846828
2012-01-05 08:20:44 +00:00
Cy Schubert
3e39103253 Fix a segfault. 2011-08-07 02:30:27 +00:00
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Cy Schubert
9d6f72c5dd Remove the gratuitous removal of comments. 2010-11-02 01:40:07 +00:00
Cy Schubert
53165c654d Fix build under 9.0-CURRENT.
Discovered by:		erwin (wearing portsmgr hat)
2010-11-02 01:39:03 +00:00
Cy Schubert
2e7e2637f6 A conflict does not exist. 2010-09-29 14:12:20 +00:00
Cy Schubert
e6a97b7615 Set logging options. 2010-09-29 05:14:11 +00:00
Cy Schubert
224d1be31c doinkd is in sbin not libexec. 2010-09-29 04:35:17 +00:00
Cy Schubert
149d26755a rc script needed updating too. 2010-09-29 04:33:24 +00:00
Cy Schubert
3b764e3dad Welcome to doinkd (idled the next generation). 2010-09-29 03:44:01 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Wen Heping
d2253bb205 - Convert from utmp.h to utmpx.h
PR:		ports/143238
Submitted by:	Rob Farmer <rfarmer@predatorlabs.net>
2010-02-02 06:03:37 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Philip M. Gollucci
e76bc9a22c - USE_RC_SUBR != yes
- PLIST_FILES
- portlint cleanups
2009-07-15 05:09:46 +00:00
Ion-Mihai Tetcu
6b73a9dcea - provide a working MASTER_SITE
- remove bad WWW [1]

PR:		ports/100862 [1]
Submitted by:	Dr. Markus Waldeck [1]
2006-07-28 06:02:33 +00:00
Mark Linimon
3bc6a737bd Reset andrew@ugh.net.au due to multiple timeouts. 2006-06-14 08:15:13 +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
32487a10ad SHA256ify
Approved by: krion@
2006-01-24 01:06:45 +00:00
Trevor Johnson
488e7fe939 Add size data, approved by maintainers. 2004-03-19 01:51:15 +00:00
Edwin Groothuis
2192ea32a1 [PATCH] sysutils/idled 1.16
This patch adds rc_subr support to the idled port.

PR:		ports/57383
Submitted by:	Martin Matuska <martin@tradex.sk>
Approved by: 	maintainer timeout
2004-01-03 06:59:22 +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
Akinori MUSHA
4c2e4f1862 De-pkg-comment. 2003-02-21 13:28:59 +00:00
Ying-Chieh Liao
4a056d796f Simplification of idled.sh
PR:		28693
Submitted by:	James Howard <howardjp@well.com>
2001-08-17 16:19:41 +00:00
Chris D. Faulhaber
ad2dd30443 Don't unnecessarily install files group-writable
Approved by:	maintainer
2001-01-21 01:17:42 +00:00
Kevin Lo
2cad26d0d9 - Fix Makefile and pkg-plist
- Respect CFLAGS

PR: 22541
Submitted by: MAINTAINER
2000-11-02 14:58:22 +00:00
Will Andrews
dcb4cb482a Add startup script.
PR:		20458
Submitted by:	James Howard <howardjp@wam.umd.edu>
2000-08-11 01:34:09 +00:00
Chris Piazza
f9bfad56c5 Update with the new PORTNAME/PORTVERSION variable 2000-04-09 19:09:11 +00:00
Steve Price
5d8426d728 New MASTER_SITE.
PR:		14704
Submitted by:	maintainer
1999-11-14 02:13:24 +00:00
Peter Wemm
8100143543 $Id$ -> $FreeBSD$ 1999-08-31 02:00:46 +00:00
Tim Vanderhoek
a84b5b5f94 #4/4 enforcing Caps, no period
[Has anyone figured-out what makes the number 393 so interesting to PW, now?]

I wonder what was going through Jordan's head during his infamous
$Id$-smashing commit.

Before I forget....

Thanks to naddy@mips.rhein-neckar.de (Christian Weisgerber) for prompting
this commit.  See msg-id: 7geokh$tje$1@mips.rhein-neckar.de
1999-06-26 19:22:14 +00:00
Hidetoshi Shimokawa
c78a647d72 remove -m486 option for alpha. 1999-01-05 08:21:25 +00:00
Tim Vanderhoek
1980dcdff7 These manpages removed by Tim Vanderhoek. 1998-08-19 20:43:24 +00:00
Satoshi Asami
ec14a60e67 More style police. :)
(1) NOMANCOMPRESS is set by user, not porter.  To indicate that MAN? variables
    are referring to already compressed manpages, use MANCOMPRESSED.

(2) Remove second address from MAINTAINER line, I don't want anything to break.
1997-03-25 08:24:34 +00:00
David E. O'Brien
2e2815dd37 Style police.
*  moved some vars around
  *  added Id
1997-03-25 08:19:32 +00:00
James FitzGibbon
b039046bd5 Import of idled, a daemon for logging off idle users.
Reviewed by:	James FitzGibbon <jfitz@FreeBSD.ORG>
Submitted by:	Andrew <andrew@mopsy.hobart.tased.edu.au>
1997-03-23 17:33:50 +00:00