Revision
4637 -
Directory Listing
-
[select for diffs]
Modified
Sun Feb 12 21:14:24 2012 UTC
(12 years, 2 months ago)
by
laffer1
Diff to
previous 4458
Introduce support for preinit, init and fini arrays per the ELF standard.
This patch is based on work by John Marino for DragonFly. This makes us the second BSD to support this feature.
From his comments:
For the main executable file, the .init_array and .fini_array sections
are handled by crt1, just like .init and .fini are. In the case of
a statically linked binary, the .preinit_array section is also handled
by crt1. The real-time linker handles the .init_array and .fini_array
sections for dynamically shared objects (libraries) and .preinit_array
for dynamically-linked binaries. There are no .preinit_array sections
in the DSOs per standard.
These sections are described by the System V Application Binary Interface
http://www.sco.com/developers/gabi/latest/ch4.sheader.html#special_sections
In order for this patch to work, we also introduced several items from NetBSD needed for newer versions of GCC as well as some features used in this patch. (cdefs.h)
Finally, we're also through in manpages for cpu set which is totally unrelated, but an obmission from a previous patch for ULE.
Revision
4162 -
Directory Listing
-
[select for diffs]
Modified
Sun Sep 25 21:03:48 2011 UTC
(12 years, 7 months ago)
by
laffer1
Diff to
previous 4161
Give distinct error codes for package fails vs mport init problems.. This may help us track down some edge cases.
Revision
4118 -
Directory Listing
-
[select for diffs]
Modified
Sat Aug 13 17:14:26 2011 UTC
(12 years, 8 months ago)
by
laffer1
Diff to
previous 4108
until we change how loops are handled, allow the full text index to get generated even if certain errors occur with the initial index.
Revision
3512 -
Directory Listing
-
[select for diffs]
Modified
Sat Sep 11 20:07:15 2010 UTC
(13 years, 7 months ago)
by
laffer1
Diff to
previous 3511
add mport.info utility. It works similar to mport.list except it's for single ports instead of all of them. Specifically it implements something comparable to pkg_info -qO origin right now.
Revision
3434 -
Directory Listing
-
[select for diffs]
Modified
Sat Jul 31 03:56:38 2010 UTC
(13 years, 9 months ago)
by
laffer1
Diff to
previous 3363
Add some new functions to the primitive. FreeBSD pkg_info offers some variations on output including
pkg_info -aoq which outputs the origin with newlines such as archivers/zip and
pkg_info -ao which outputs a long format of the form
Information for portname-version:
Origin:
archivers/zip
We're implementing a similar format for future use/compatibility in the mports Mk files to optimize checking for installed packages (Dependencies)
We didn't bother with a since this primitive always lists all by default.
Revision
3362 -
Directory Listing
-
[select for diffs]
Modified
Sat Mar 13 05:07:04 2010 UTC
(14 years, 1 month ago)
by
laffer1
Diff to
previous 3348
Add a third party public domain string replace function to correctly deal with the case where mports contain a + in the name
zipios++ fails fake do to the regular expression dying on +. We may need to handle other special charactes if they come up in port names. I haven't seen any to date.
Revision
3292 -
Directory Listing
-
[select for diffs]
Modified
Thu Mar 4 01:51:21 2010 UTC
(14 years, 2 months ago)
by
laffer1
Diff to
previous 3291
Now there are three outputs. The default shows you versions, -q does not and -v shows versions as well as comments similar to pkg_info's default output. I chose to use a tab character to separate comments from versions.
Revision
3199 -
Directory Listing
-
[select for diffs]
Modified
Sat Nov 28 22:44:36 2009 UTC
(14 years, 5 months ago)
by
laffer1
Diff to
previous 3050
Import OpenBSD's sysctl sensors framework. This is based on work by Constantine A. Murenin for the 2007 Google summer of code for FreeBSD.
Includes:
sample config file for sensord
rc scripts
documentation fixes and updates
sys/kern/kern_sensors.c
sys/sensors.h
This is compatible with OpenBSD 4.1 and 4.2 in terms of the userland bits.
Revision
3050 -
Directory Listing
-
[select for diffs]
Modified
Sun Oct 4 04:53:15 2009 UTC
(14 years, 7 months ago)
by
laffer1
Diff to
previous 2993
After some consideration, it makes no sense to include two ftp daemons in the base system for a desktop os. That can be in mports
Revision
2110 -
Directory Listing
-
[select for diffs]
Modified
Thu Nov 20 18:06:56 2008 UTC
(15 years, 5 months ago)
by
laffer1
Diff to
previous 2106
This commit was generated by cvs2svn to compensate for changes in r2109,
which included commits to RCS files with non-trunk default branches.
Revision
1865 -
Directory Listing
-
[select for diffs]
Modified
Mon Sep 29 12:32:37 2008 UTC
(15 years, 7 months ago)
by
laffer1
Diff to
previous 1504
Don't split large commands into multiple commands on a 512-byte
boundary but just fail on them. This prevents CSRF-like attacks,
when a web browser is used to access an ftp server.
Reported to OpenBSD by Maksymilian Arciemowicz <cxib@securityreason.com>
Also includes a command "500 Command too long" as part of a revised patch by Luk
e Mewburn.
http://web.nvd.nist.gov/view/vuln/detail;jsessionid=df97c3e18c5c787b6c316f886ad5
?execution=e1s1
CVE-2008-4247
Revision
1242 -
Directory Listing
-
[select for diffs]
Modified
Sun Sep 23 22:32:13 2007 UTC
(16 years, 7 months ago)
by
ctriv
Diff to
previous 993
mport.create hook binary. This is basically complete, but needs some input
checking, a usage function, and a manpage.
Revision
988 -
Directory Listing
-
[select for diffs]
Modified
Tue May 1 17:59:06 2007 UTC
(17 years ago)
by
laffer1
Diff to
previous 887
A memory leak was reported. When an application uses a large number of threads, memory appears to be leaked. (clamav for instance)
free_tls does not free all memory in dtv which is allocated earlier by calloc. The function appears to use a very carefully constructed free loop. There could be side effects to this patch.
Test and MFC after 1 month.
Reported by Spencer Minear to the FreeBSD project.
Revision
887 -
Directory Listing
-
[select for diffs]
Modified
Mon Apr 2 02:26:37 2007 UTC
(17 years, 1 month ago)
by
archite
Diff to
previous 591
Slight update to set default hostname for those who, like the Guy in the Red
Shirt, are forsaken because they did not set a hostname.
Revision
591 -
Directory Listing
-
[select for diffs]
Modified
Sat Jan 13 00:10:35 2007 UTC
(17 years, 3 months ago)
by
laffer1
Diff to
previous 414
Reduce needless DNS query by lookup only appropriate address family.
Specify appropraite hints to getaddrinfo(3).
Obtain address family from peername in inetd mode.
Revision
413 -
Directory Listing
-
[select for diffs]
Modified
Fri Dec 29 22:33:25 2006 UTC
(17 years, 4 months ago)
by
laffer1
Diff to
previous 315
$MidnightBSD$
Ignore errors in rc.conf files, simplify the file rotation logic, and make it slightly more secure.
Obtained from FreeBSD
Revision
6 -
Directory Listing
-
[select for diffs]
Modified
Sat Feb 25 02:38:42 2006 UTC
(18 years, 2 months ago)
by
laffer1
Diff to
previous 3
This commit was generated by cvs2svn to compensate for changes in r5, which
included commits to RCS files with non-trunk default branches.
Revision
3 -
Directory Listing
-
[select for diffs]
Added
Sat Feb 25 02:29:52 2006 UTC
(18 years, 2 months ago)
by
laffer1
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.