summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2011-12-03Remove an OpenBSD-specific tweak regarding .Xr spacingIngo Schwarze
and make it compatible with bsd.lv mandoc and with groff-1.21. This tweak was originally added for compatibility with groff-1.15, which is no longer needed. ok jmc@ kristaps@
2011-12-03simplify/generalizeMarc Espie
2011-12-03In a collision, retrofit storage for 2nd pkgname.Marc Espie
(in large updatesets, it may not be obvious where the 2nd copy comes from, as exemplified by ajacoutot@).
2011-12-02small logic errorMarc Espie
2011-12-02-X before -x;Jason McIntyre
2011-12-02-X exclude option: negates the packages we give (remove them instead ofMarc Espie
adding them).
2011-11-28use STATUS_* filter codes, instead of -1/0/1 hard coded valuesCharles Longeau
ok gilles@
2011-11-28fix STATE_COUNT countCharles Longeau
ok eric@ gilles@
2011-11-26a second missing $state...Marc Espie
2011-11-26fix reporting of weird libs in partial-*, as seen by fries@,Marc Espie
who always manages to run into strange corners headlong ;)
2011-11-25darn, setlist might actually be undefined entirely...Marc Espie
noticed by nigel
2011-11-25describe fixed behavior a little betterMarc Espie
2011-11-25fix -a <list> semantics:Marc Espie
instead of first doing, -a, then deleting the list, it's ways more useful to pick !manual installs in the list and remove them.
2011-11-25missing headerTheo de Raadt
2011-11-24allow code to proceed if -e + -r.Marc Espie
2011-11-23Fix Segmentation Fault when launching mailq(8)Charles Longeau
Bug reported by Mark Patruck <mark at wrapped.cx> ok gilles@ eric@
2011-11-21get rid of the "enqueue/" queue; use "incoming/" instead.Eric Faurot
ok gilles@ chl@
2011-11-21zap eol whitespace;Jason McIntyre
2011-11-21exit code of 1 for -e errors, 2 for -r errors... combine as 3.Marc Espie
-> allows to run one pkg_info and disambiguate both kinds of errors.
2011-11-21more pkgpath(7)Marc Espie
2011-11-21point to pkgpath(7)Marc Espie
2011-11-20for the -r option, if we already set an error code (like in -e), reuse that.Marc Espie
allows pkg_info -e 'gettext->=0.20' -r 'gettext->=0.10.38' gettext-0.18.1p0 in one go.
2011-11-17Apply the patches from BIND upstream to mitigate cve-2011-4313 (crashesStuart Henderson
with INSIST(! dns_rdataset_isassociated(sigrdataset))). ok jakob@
2011-11-16remove unused functionsEric Faurot
ok gilles@ chl@
2011-11-16During pkg_create(1), do not print any warnings or non-fatal errorsIngo Schwarze
from groff(1); of course, fatal errors cannot be ignored. If you want to polish manuals, use mandoc(1) -Tlint instead. ok espie@, and millert@ does not object
2011-11-16if the portstree gives us a cache directory, use it.Marc Espie
in lots of multi-packages scenarios that all depend on the main package, this speeds things *a lot*. case in point: in php 5.2, make package goes down from 1mn40 to 53s.
2011-11-16Do not unlink an offline message until it has been correctly enqueued.Eric Faurot
While there, simplify the offline_enqueue() function by doing all the sanity checks in the forked process, and remove all fatal(): on error, the offline message is left untouched in the directory. Also, get rid of the path_starts_with() check since all paths to offline messages are now constructed internally. ok gilles@ chl@
2011-11-16fix obvious variable substitution mistakeCharles Longeau
change code type back to int8_t ok gilles@
2011-11-15- change callback prototypes in filter.c to allow stricter checksGilles Chehade
- introduce STATUS_WAITING, filters will reroute async DNS queries through LKA in a near future - filter_api.c will contain our filter API (empty for now) - Makefile to build libsmtpdfilter (not linked to the build,dev stuff only)
2011-11-15wooooops defines missing from previous commitGilles Chehade
2011-11-15Qwalk, our API to linearly walk over the persistent queue, did not take theGilles Chehade
queue_backend into account and assumed a filesystem with a specific layout. This commit does plenty of things: - make qwalk an abstraction in the queue_backend API, and impose queue drivers to implement qwalk_open(), qwalk() and qwalk_close(); - move previous qwalk_open(), qwalk() and qwalk_close() to the fsqueue driver since they were fsqueue specific ... - make qwalk API work with msgid/evpid instead of pathnames since we're going to use the queue_backend API to load envelopes by evpid anyway; - makes smtpd use *solely* the queue_backend API when manipulating the queue. pathnames were removed from smtpd.h and moved into the fsqueue which means we can now store a queue anywhere ... as long as we write the ten functions or so required for a queue driver ;-) ok eric@, ok chl@
2011-11-15Update to nginx 1.0.10. Bugs fixed include a segmentation fault in a workerStuart Henderson
process if the resolver receives a large DNS response. OK robert@
2011-11-14when receiving an unexpected imsg, print its name.Charles Longeau
with help and ideas from eric@ ok eric@ gilles@
2011-11-14make sure that the offline directory has the right owner/permsEric Faurot
before enqueueing offline mail. ok gilles@
2011-11-14much better solver: don't try to solve every library, but just the onesMarc Espie
we have in the package we're trying to create. So, solve one level, and keep solving until we have what we need or we run out of level. Any package without @wantlib and lots of runtime depends will build MUCH faster. Other packages MAY build faster.
2011-11-14The spool and offline directories are backend-independent, so theyEric Faurot
must be created early by smtpd, rather than in fsqueue. ok gilles@ chl@
2011-11-14use print-plist-libs-with-depends (and make sure it does not skip depends)Marc Espie
2011-11-13The pkg_subst / SUBST_CMD has caused issues for some ports whereNigel Taylor
the $\ in files was replaced by $. Now only removes the \ in $\{[A-Za-z_] Ok espie@
2011-11-12fix function names in fatalx() messagesCamiel Dobbelaar
ok mikeb
2011-11-12Zero option processing stack storage to prevent stack garbage thatKenneth R Westerback
happens to look like options from being processed as options when truncated packets received. Potential problem pointed out by mikeb@, from a couple of NIST reports (CVE-2011-2748 and CVE-2011-2749).
2011-11-12sync to pcre 8.20Robert Nagy
2011-11-12update to 1.0.9Robert Nagy
2011-11-10Use STDIN_FILENO instead of magic constant 0Charles Longeau
ok gilles@
2011-11-08lookup (n.) -> look up (v.) (i.e. to look sth up);Jason McIntyre
2011-11-08Add -A option to display AS for each hop address, using origin.asn.cymru.comStuart Henderson
DNS lookups. ok deraadt@, henning likes it but would like some changes which can be done after commit.
2011-11-07Let the smtpd process handle the enqueueing of offline messages atEric Faurot
startup, rather than playing tricks with the runner. This will allow further simplifications and improvements in the runner/queue. ok gilles@
2011-11-06No need to save/restore the batch_id since the envelope is not dumpedEric Faurot
as a structure anymore. ok chl@ gilles@
2011-11-06Do not dump the envelope status. It's useless and not reloaded anyway.Eric Faurot
ok chl@ gilles@
2011-11-06Add a #include that's currently picked up via another header that'sPhilip Guenthe
violating namespace rules ok claudio@
2011-11-06union wait is dead, ancient history; stop using itPhilip Guenthe
ok deraadt@