139 Commits

Author SHA1 Message Date
Franco Fichtner
78b4d28168 pkg: don't need to sort twice 2016-09-25 10:55:28 +02:00
Franco Fichtner
c90aa837e2 pkg: sort plist, file systems getting in the way 2016-09-24 14:34:14 +02:00
Franco Fichtner
54cb00d75a Mk: no errors on crypto probe 2016-09-24 14:26:53 +02:00
Franco Fichtner
8903f16227 pkg: add an explicit plist for qa purposes
When we build packages, we want to know if something is wrong.
For now, only use it in the upgrade path, not sure how to
to distinguish if a user or the build system is running the
package build.
2016-09-24 14:21:45 +02:00
Franco Fichtner
dc2bd36118 Mk: split out some common stuff, add headers 2016-09-24 14:00:47 +02:00
Franco Fichtner
50f557f4d7 pkg: ok, 500% harder than found in the last commit
Transition away from making the internals known, so rework
the whole tree.mk to expand better to dynamic destinations.
2016-09-24 11:29:10 +02:00
Franco Fichtner
96f5e7faca pkg: hook up src/boot, wow, that was easy 2016-09-24 09:57:24 +02:00
Franco Fichtner
803af49280 interfaces: defang netgraph attach/detach for #1188
We don't particularly need this code and the utility as netgraph
is always attached on load as long as we don't detach and the
attach per interface is a custom feature that requires a kernel
patch we don't want to keep around for 17.1.

Only thing we need to measure is the performance impact of not
detaching netgraph.  This only pertains to ethernet devices
anyway.

We do, however, keep interface_netgraph_needed() around for
reference as it's harmless by default.
2016-09-16 15:27:30 +02:00
Franco Fichtner
250a1493d8 pkg: it's ok for -devel to pull in the PAM glue now 2016-09-16 09:46:22 +02:00
Franco Fichtner
9a557bdf8f make: and once more ;) 2016-08-29 20:32:09 +02:00
Franco Fichtner
75e4f8ee2a make: tweak previous 2016-08-29 20:27:33 +02:00
Franco Fichtner
571bc8c9a6 make: make use of WRKSRC and PKGDIR 2016-08-29 20:08:47 +02:00
Franco Fichtner
82bece2a6d pkg: shadow the sample files, delete on uninstall is undesired
While there also get rid of the need for a /usr/ports dir (this will
make tools.git crash and burn for sure.)

shadow.ucl adapted from https://github.com/freebsd/freebsd-ports/blob/master/Keywords/sample.ucl
2016-08-29 19:46:37 +02:00
Franco Fichtner
50e9ebb6c1 make: add ruleset.xml for better style checks 2016-08-16 04:39:37 +02:00
Franco Fichtner
556e6a4307 make: add `test' target wrapper
Whitelisting in Suhosin is needed to make this work, but
unfortunately this will disable whitelisting for all of
phar.  A pretty debatable design choice, but for now we
keep this on -devel until we know what to do...
2016-08-15 18:59:01 +02:00
Franco Fichtner
4425c28ea0 src: extend whitespace sweep to root dir files 2016-08-13 12:50:58 +02:00
Franco Fichtner
9a916061f4 make: can keep this as the default when auto-detect fails (no binary) 2016-08-03 09:14:58 +02:00
Franco Fichtner
285f7b027b make: better auto-detect and typo fixed 2016-08-03 09:12:50 +02:00
Franco Fichtner
9bb9ce5e9d make: auto-detect flavour if possible 2016-08-03 09:03:25 +02:00
Franco Fichtner
78fc269e63 make: handle vital under the hood now 2016-07-31 00:04:24 +02:00
Franco Fichtner
f9f3b9b78e make: new package can set vital automatically 2016-07-31 00:01:05 +02:00
Franco Fichtner
019e1c1b27 make: probe for upgraded package first, show hint on how to fix 2016-07-30 23:37:38 +02:00
Franco Fichtner
35127272bf make: unset/set package vital on upgrade 2016-07-30 23:08:49 +02:00
Franco Fichtner
7a610b2e5c make: fix typo 2016-07-30 21:46:46 +02:00
Franco Fichtner
23930a8506 src: remove source maps and add sweep target; closes #1074 2016-07-27 08:27:35 +02:00
Franco Fichtner
6281e33969 core: new package message for 16.7 2016-07-22 11:19:26 +02:00
Franco Fichtner
44f5f3a484 pkg: time to switch ABI 2016-07-21 21:56:21 +02:00
Franco Fichtner
9b4bd9d251 pkg: install all possible scripts correctly if there 2016-07-10 11:36:43 +02:00
Franco Fichtner
b5c7f232d7 firmware: make ABI a bit more flexible and also register name 2016-07-01 14:33:17 +02:00
Fabian Franz
bd20f9351b remove zip as dependency 2016-06-11 15:12:10 +02:00
Franco Fichtner
ae7f000835 cron: migrate away from minicron usage 2016-06-06 12:52:56 +02:00
Franco Fichtner
23abe72a92 make: lint step for xml was supposed to scan scripts/ 2016-06-03 14:40:47 +02:00
Franco Fichtner
70998ed98b firmware: add locking layer 2016-06-01 13:30:49 +02:00
Franco Fichtner
210d20f3d1 pkg: tweak previous 2016-05-26 08:15:22 +02:00
Franco Fichtner
db649ef038 pkg: target consolidation for metadata 2016-05-26 08:07:02 +02:00
Franco Fichtner
a154812fb8 make: refactor previous, some missing spots 2016-05-24 07:47:38 +02:00
Franco Fichtner
3ecf0b8a6c make: add want- helper, also need phpunit soon 2016-05-24 06:52:15 +02:00
Franco Fichtner
809625fd9e pkg: sync dependencies between extensions.ini and pkg deps 2016-05-06 09:27:25 +02:00
Franco Fichtner
e5d57a43f4 Revert "php: remove ctype dependency; closes #917"
This reverts commit ed81dd30de0ca621c244540c35d965aa17ca41d7.
The state of digit validation is highly controversial.  I give
up.  :)
2016-04-28 21:50:35 +02:00
Franco Fichtner
3f8c0fea4e interfaces: port the last php module function, remove module
While this is a neat milestone, it becomes apparent how convuluted
the code path and interface info polling is.  Looking at it, the
whole interface layer can probably make performance jumps to at least
twice the read or reconfigure speed...
2016-04-28 21:38:55 +02:00
Franco Fichtner
6e5fbbc9aa php: bcmath was used for pre-16.1 captive portal only 2016-04-28 09:40:42 +02:00
Franco Fichtner
ed81dd30de php: remove ctype dependency; closes #917
Needs a bit of observation, but as far as I can see the only difference
is that is_numeric() will also take int values and return true for them,
ctype_digit() will only return true for string values that have digits.
2016-04-28 09:35:20 +02:00
Franco Fichtner
1d0ae14682 php: scrub dependencies for #915 2016-04-27 10:42:19 +02:00
Franco Fichtner
ad8c8a98fd make: add copyright header, this file is from 2014 2016-04-21 14:02:21 +02:00
Franco Fichtner
874eceaf4c make: this moved to lang.git 2016-04-21 09:57:29 +02:00
Franco Fichtner
e3a003c88d lang: moved permanently :) #896
See: https://github.com/opnsense/lang
2016-04-21 08:49:44 +02:00
Franco Fichtner
e858714f7e README: add one and tweaks; closes #891 2016-04-17 09:04:10 +02:00
Franco Fichtner
f6d0d580ef make: propagate error from missing dep 2016-04-16 18:49:42 +02:00
Franco Fichtner
2af403bbea services: remove SMART from base 2016-04-16 18:15:38 +02:00
Franco Fichtner
ebf6cef800 make: just fetch required sample.ucl for package build
Checking out a ports tree seems to be a bit over the top.
2016-04-11 22:26:28 +02:00