Commit graph

37 commits

Author SHA1 Message Date
Vsevolod Stakhov
5afb323def - Use github for port fetching
- Remove included patches
- Add patch to lock pcbinfo hash [1]
- Update version to 20150304

Submitted by:	Eugene Grossbein via IRC [1]
2015-03-04 10:33:32 +00:00
Antoine Brodin
389b0f6e3c Do not violate stagedir (and allow staging as a regular user) 2014-09-24 19:21:01 +00:00
Baptiste Daroussin
3848d47385 Simpify plist
Fix license
2014-09-23 10:21:28 +00:00
Rene Ladan
6af4f79e51 Do not set variables already set by USES=kmod
Approved by:	maintainer silence (vsevolod@)
2014-01-24 22:56:46 +00:00
Vsevolod Stakhov
002cc97663 - Fix build on systems without /usr/share/mk/bsd.compat.mk 2013-12-20 18:22:32 +00:00
Baptiste Daroussin
d4ab06368f Allow building as a user 2013-11-28 17:23:15 +00:00
Vsevolod Stakhov
90f5b719f0 - Support staging.
- Use kmod.
2013-11-01 16:55:13 +00:00
Baptiste Daroussin
985b201424 Add NO_STAGE all over the place in preparation for the staging support (cat: net-mgmt) 2013-09-20 22:24:43 +00:00
Vsevolod Stakhov
46dc67cb00 * Improve locking for ipacct hash table by converting from a global
mutex to a set of fine-grained rmlocks per hash buckets.
* Increase hash buckets from 256 to 512.
* Remove obsoleted master site and added local one.
* Stylefix for the ignore message.
* Bump portrevision.
* Take ownership.
2013-09-13 15:16:52 +00:00
Eitan Adler
6776ef7ff8 For some unmaintained ports:
- fix format for pkg-descr
	- convert to OptionsNG
	- remove logic for older versions of python which we no longer support
	- remove option for old versions of FreeBSD
	- unconditionally set PORTDOCS
	- etc.

Reviewed by:	jgh
2013-04-24 17:00:20 +00:00
Baptiste Daroussin
27131af048 Reassign skv@ ports to the heap
Feature safe:	yes
2013-04-22 13:27:47 +00:00
Doug Barton
d04156022a danfe was kind enough to remind me that:
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
is already the default, so for those ports where we are doing:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
to avoid the problem of conflicts with the rc.d script of the same
name it is not necessary to define WRKSRC separately.

Clean up this mistake of mine, and standardize for the others.
2012-08-15 00:37:55 +00:00
Doug Barton
e835f4e22e Fix problem introduced in r302141. The directory for the unpacked source
files is unversioned, so it conflicts with the name of the rc.d script in
WRKDIR after SUB_FILES is applied.

PR:		ports/170592
Submitted by:	Eugene Grosbein <eugen@eg.sd.rdtc.ru>
2012-08-13 10:22:57 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Eitan Adler
7d4a16a84d Remove quotes from BROKEN and IGNORE as they are not required
Approved by:	maintainer timeout
2012-02-25 22:15:56 +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
Doug Barton
989772c9ac The vast majority of pkg-descr files had the following format when they
had both lines:

Author: ...
WWW: ....

So standardize on that, and move them to the end of the file when necessary.

Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.

s/AUTHOR/Author/

A few other various formatting issues
2011-10-24 09:11:38 +00:00
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Sergey Skvortsov
1edf8fc564 Unbreak build for RELENG_8 and later.
PR:		ports/145176
Submitted by:	Eugene Grosbein <eugen@grosbein.pp.ru>
2010-06-07 15:46:28 +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
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
Sergey Skvortsov
1d8c397905 Unbreak build on 7.1
Submitted by:	pluknet <pluknet xxx gmail.com>
2008-09-28 17:43:12 +00:00
Erwin Lansing
d96f66200f Don't overlook the n in ifndef and restore the original meaning
for NO_PACKAGE, and add a separate IGNORE for pointyhat.

Noticed by:	Eugene Kazarinov <kamuzon@milshop.ru>
2008-08-07 09:49:55 +00:00
Erwin Lansing
2e80e2c548 To avoid this port building on pointyhat, use IGNORE and not NO_PACKAGE 2008-08-05 07:19:31 +00:00
Sergey Skvortsov
e49535ea7a Fix typo & encoding. 2008-06-03 10:40:16 +00:00
Sergey Skvortsov
db26f4a06d * add new example to ng_ipacct.conf [1]
* skip NO_PACKAGE if PACKAGE_BUILDING is defined [1]
* minor clean

PR:		ports/105597
Submitted by:	Eugene Grosbein <eugen xx kuzbass.ru>
2008-06-02 16:27:40 +00:00
Mark Linimon
8c91d898a6 Populate the 'kld' virtual category, for ports that install Kernel Loadable
modules.

Hat:		portmgr
2007-06-29 09:16:42 +00:00
Sergey Skvortsov
1dd4882c4b Update to 20061223 2006-12-25 10:38:10 +00:00
Sergey Skvortsov
c4203a8dce * Add amd64 patches
* Install "etc/ng_ipacct.conf.sample" only.
2006-09-14 16:40:18 +00:00
Sergey Skvortsov
073078f05a Add support for ng_bpf to example scripts.
PR:		ports/102742
Submitted by:	Eugene Grosbein <eugen xx grosbein.pp.ru>
2006-09-03 19:41:45 +00:00
Kris Kennaway
5b1eaf29ac BROKEN: Unfetchable 2006-09-03 00:36:51 +00:00
Edwin Groothuis
c8276f2dd3 SHA256ify
Approved by: krion@
2006-01-23 23:49:42 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Sergey Skvortsov
e379a58825 Update to 20050731:
* fix build for 6.0
* support NGGIF data-link type
2005-08-01 07:59:53 +00:00
Sergey Skvortsov
fb211568de Minor typo: "divert" => "tee" 2005-04-12 18:17:46 +00:00
Sergey Skvortsov
6a88c3bb5d * fix "missed DLT initialization" issue
* add "ng_ipacct_%%iface%%_checkpoint_script" feature
  (and target "checkpoint" for rc.d/ng_ipacct.sh)

* add example "PPTP (via mpd), divert traffic to ng_ksocket"
2005-04-02 16:34:45 +00:00
Sergey Skvortsov
acde01090d Add ng_ipacct 20050228, Netgraph IP accounting. 2005-02-28 12:34:58 +00:00