Commit graph

36 commits

Author SHA1 Message Date
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
Thomas Abthorpe
9d89fcf25c - Fix patch from previous commit
- Bump PORTREVISION

PR:		ports/128346
Submitted by:	Jeff Blank <jfb@mr-happy.com> (maintainer)
2008-10-26 05:14:38 +00:00
Stefan Walter
d96072f0de - Added rc.subr integration and removed references to etc/rc.d/qpage.sh
- Added OPTIONS knob for enabling srvrsnpp.c patch from ports/123437 (felt it
  was better to make the patch optional)
- Added more knobs for compile-time options: daemon user, syslog facility
- Changed ${INSTALL_SCRIPT} to ${INSTALL_DATA} in post-install target
- Removed old maintainer e-mail address from pkg-descr

PR:		128318
Submitted by:	maintainer
2008-10-24 10:14:05 +00:00
Stefan Walter
034313dfd8 Fix a potential buffer overflow.
PR:		128216
Submitted by:	maintainer
2008-10-19 08:09:02 +00:00
Stefan Walter
45abddec34 - Fix segmentation faults on SIGHUP.
- Assign maintainership to submitter.

PR:		127075, 127827
Submitted by:	Jeffrey Blank <jfb@mr-happy.com>
2008-10-18 18:45:19 +00:00
Edwin Groothuis
bbee4a66a6 remove USE_REINPLACE for all ports with categories starting with C 2006-05-03 23:38:41 +00:00
Pav Lucistnik
37effa8447 - Add SHA256 2005-11-24 00:44:27 +00:00
Pav Lucistnik
8f15720c84 The qpage port will run words together in long pages. The problem
is in msgcpy in util.c, where the breaks don't preserve word
	boundries.

PR:		ports/73020
Submitted by:	Douglas K. Rand <rand@meridian-enviro.com>
2004-10-28 22:03:28 +00:00
Thierry Thomas
87b19a3625 - make it run by the user uucp;
- since I'm there, create the spool directory for a port installation.

PR:		ports/62617
Submitted by:	Mike Andrews
2004-05-17 22:08:09 +00:00
Trevor Johnson
0c881ba59c SIZEify. 2004-01-29 07:24:56 +00:00
Edwin Groothuis
ef90f616b0 Nitpicks for the comms/qpage port
The comms/qpage port has a few minor problems.  A default installation gives
	the following errors when the /usr/local/etc/rc.d/qpage.sh script is
	execute:

	    qpage[68438]: cannot open /etc/qpage.cf: No such file or directory
	    qpage[68438]: cannot access LockDir(/var/spool/lock): Permission denied
	    qpage[68438]: cannot access QueueDir(/var/spool/qpage): No such file or directory
	    qpage[68438]: cannot chdir to QueueDir(/var/spool/qpage): No such file or directory

	In short:

	1) qpage looks for its configuration file in /etc instead of /usr/local/etc
	2) It setuid()'s to a user (daemon) without permission to access /var/spool/lock
	but does not document this anywhere outside of the source.
	3) It's queue directory is not created by installing the port.

PR:		ports/48059
Submitted by:	Kirk Strauser <kirk@strauser.com>
2004-01-10 08:48:29 +00:00
Edwin Groothuis
b705cbc95c ECHO -> ECHO_MSG
(ECHO_CMD for deskutils/notebook)

PR:		ports/56767-56770,56772-56774,56776-56784
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2003-09-27 00:23:56 +00:00
Kris Kennaway
7479816b2d Install sample cf file mode 640, not 660 2003-04-19 09:10:59 +00:00
Akinori MUSHA
57f9198bc7 De-pkg-comment. 2003-02-21 11:08:38 +00:00
Peter Pentchev
0b273b6443 Maintainer address bounces. 2003-02-21 09:04:33 +00:00
Ying-Chieh Liao
598667b8d4 upgrade to 3.3
PR:		39383
Submitted by:	Scott Lambert <lambert@lambertfam.org>
Approved by:	maintainer timeout
2002-09-21 07:09:52 +00:00
Kris Kennaway
6266ce3e4a Use POSIX syntax for chown to fix install on -current
Noticed by:	bento
2002-08-23 03:08:42 +00:00
Steve Price
68c10ed751 Use user:group in call to chown. 2001-07-25 17:59:04 +00:00
Steve Price
1605e0fca8 Add a missing ';' so this port builds/installs cleanly. 2000-08-08 03:11:55 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Bill Fenner
c1fe6ed468 Move local distfiles to ${MASTER_SITE_LOCAL}/fenner . 2000-06-22 19:15:32 +00:00
Akinori MUSHA
74dd526e72 Remove obsolete `Version required' lines. 2000-04-14 17:44:00 +00:00
Michael Haro
59df8af48e update with the new PORTNAME/PORTVERSION variables 2000-04-08 23:24:42 +00:00
Peter Wemm
02c5b6c7c6 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user,
as the days of the former are numbered.

Reviewed by:	asami
2000-02-08 09:29:51 +00:00
Michael Haro
58942bab6d echo -> ${ECHO} or ${ECHO_MSG} and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
1999-08-27 21:14:04 +00:00
David E. O'Brien
c751fc667a Change Id->FreeBSD. 1999-08-25 05:28:01 +00:00
Michael Haro
5281212be3 chmod -> ${CHMOD}
chown -> ${CHOWN}
1999-08-22 19:01:07 +00:00
Tim Vanderhoek
748713c3f6 As threatened, enforce the "Capital, no period" rule. Ellipses are
permitted.  Note that, given current numeric motif of PW, this is done
in four equally-sized commits of 393 files each.
1999-06-26 17:19:19 +00:00
Bill Fenner
ecb7b08e0d Un-break: the MASTER_SITE returned extra bytes when servicing an
HTTP/1.1 request.  Moved distfile to www.freebsd.org/~fenner/
temporarily.  Left original MASTER_SITE commented out - newer
fetch fetches the distfile properly, and server administrator is
working on the problem, so will probably be able to be moved back
soon.
1998-10-27 03:45:06 +00:00
Satoshi Asami
5998193efe Um, this isn't quite right....
-------
===>  Extracting for qpage-3.2
>> Checksum OK for qpage-3.2.tar.Z.
/usr/bin/tar: archive /usr/ports/distfiles//qpage-3.2.tar.Z EOF not on block boundary
*** Error code 1

Stop.
1998-08-31 05:30:20 +00:00
Steve Price
98a9acb2ab Unbreak this port. 1998-08-30 15:41:28 +00:00
Justin M. Seger
1396c73731 BROKEN:
# make package
>> qpage-3.2.tar.Z doesn't seem to exist on this system.
>> Attempting to fetch from http://www.qpage.org/download/.
Receiving qpage-3.2.tar.Z (149352 bytes): 100%
149357 bytes transfered in 24.5 seconds  (5.95 Kbytes/s)
>> Checksum mismatch for qpage-3.2.tar.Z.
Make sure the Makefile and md5 file (/usr/ports/BROKEN/comms/qpage/files/md5)
are up to date.  If you want to override this check, type
"make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
#
1998-08-20 17:45:23 +00:00
Tim Vanderhoek
91580b1ade Wow. Deleting manpages is a lot faster on bento. 1998-08-17 08:23:05 +00:00
Vanilla I. Shu
0a52ab20d3 1. Correct the config file path on qpage.1
2. Add a rc file (etc/rc.d/qpage.sh) to start qpage daemon.
1998-06-04 03:54:38 +00:00
Vanilla I. Shu
12fcdea9b8 Change MASTER_SITES. 1998-06-03 06:13:48 +00:00
Masafumi Max NAKANE
dce4491a9c Re-import of qpage port which used to live in the misc category. Here's
the import message used when it was imported to ports/misc:

New port, qpage:

QuickPage sends messages to a paging terminal using the SNPP and IXO
(also known as TAP) protocols.  It is normally used with no options
other than a recipient and the message text, in which case the message
is sent to the SNPP server where it is submitted to a page queue to be
sent by a separate daemon process.

PR:		4224
Submitted by:	Joe Stein <joes@seaport.net>
1997-10-13 04:39:10 +00:00