jkh
4d406202b1
As per Bruce's advice, use sysconf to get the max argument size and
...
dynamically allocate that much space, also using snprintf() and strncat()
to do proper bounds checking.
1995-04-26 11:43:20 +00:00
jkh
224e2db404
Use ARG_MAX instead of _POSIX_ARG_MAX: 4K is too small!
...
This should stop the SIGBUS errors in pkg_create for some packages.
1995-04-24 21:50:11 +00:00
jkh
06e78f6873
Stage almost nothing through the playpen now - this should speed pkg_creates
...
up by a couple of factors, as well as decrease the amount of temporary space
required to build a package down to almost nothing.
1995-04-22 14:55:07 +00:00
jkh
6310426601
Second round:
...
1. Make paths work correctly.
2. Make pkg_add generally more robust in the face of failure.
3. Make the depend messages come out on stderr or stdout, but not both
interspersed! :-)
1995-04-22 13:58:24 +00:00
jkh
62b882306c
Argh - missed a printf! That should be the last of plist-spewers.
1995-04-22 01:20:13 +00:00
jkh
0ca59fff83
Don't spew garbage into the packing list when PlistOnly and verbose are
...
both on. Whoops!
1995-04-22 00:59:33 +00:00
jkh
fc0ace6edf
1. Add proper dependencies to the library in my Makefiles. This was pointed
...
out by Bruce.
2. Add a "feature" to pkg_create (OK, OK, it's a miserable hack!) to get
it to dump its internal packing list out so that the `fake-pkg' rule in
bsd.port.mk can generate a more meaningful packing list.
1995-04-22 00:03:18 +00:00
jkh
3e496240b4
Neither of these tools really told you what you needed to know neatly
...
and succinctly in verbose mode. I hope people find this more to their
liking.
1995-04-10 08:01:52 +00:00
jkh
e8ff66af03
Add true support for dependency lists.
...
1. pkg_create now has a -P argument for specifying dependencies on the
command line.
2. pkg_add will honor dependencies and chain-load them automatically if
it finds the required package(s) in the same directory as the package
that is being loaded. For best results, install packages from a directory
containing all the packages you'll possibly need
(like /usr/ports/packages/all).
2 remaining flaws:
1. pkg_add looks in one place (where you were when you loaded the primary
pkg) for depended packages. If you can come up with a search path scheme
that's not a total hack - be my guest!
2. Recursive dependency expansion can result in the name of a dep being
listed more than once. This doesn't bother pkg_add since it checks
for package existance with pkg_info and will skip already-loaded packages.
I don't know how/if pkg_delete handles this yet, however. I need to look
into it.
1995-04-09 15:05:01 +00:00
jkh
f8d21a60a1
Whoops! How embarassing. Just now noticed that I forget to update the .Os
...
lines. Done.
1995-01-05 10:37:13 +00:00
jkh
85c85b8011
Fix misleading typo in description of @unexec.
1995-01-05 10:22:51 +00:00
jkh
46ecb27be8
More changes from John T. Kohl. Man pages, mostly.
...
Submitted by: jtkohl
1994-12-06 01:04:17 +00:00
jkh
773a5f451d
Many of John T. Kohl's patches from NetBSD. Thanks, John!
...
Submitted by: jkohl
1994-12-06 00:51:50 +00:00
jkh
316a159f85
Don't create packages with bogus @name lines.
1994-11-17 10:54:11 +00:00
jkh
5d00f60140
Remove the QUERY_* functions. I don't think they're as good an
...
idea as I apparently once did.
1994-11-17 10:35:04 +00:00
jkh
2cf39cacf3
This should do it - I forgot about pkg_info.
1994-10-14 05:55:57 +00:00
jkh
04cc46fa4b
My last commit to bsd.port.mk made me think - `pkg_create -p ...' should
...
override the PLIST file's own first @cwd. Make this so.
1994-10-04 15:54:39 +00:00
adam
f91b99de98
Allow creation of absolute package names
...
typo index() --> rindex() in order to split correct suffix
Fix @srcdir so it actually works
Submitted by: adam
1994-08-29 16:31:38 +00:00
jkh
d34ba06ad5
Add @srcdir option for customizing creation of packages.
...
Submitted by: jkh
1994-08-28 14:15:30 +00:00
jkh
50de4f0fe3
Change in_plist() call to find_plist().
1994-05-25 06:24:41 +00:00
alm
10d0bd53ff
Add `-h' option to force tar to follow symbolic links
1994-05-19 18:27:41 +00:00
jkh
b6741361c8
Whoops, -Y and -N would work better if they were in the getopts string!
1994-04-16 21:50:53 +00:00
jkh
4549480f2f
Add -N and -Y flags for auto-answer feature.
1994-04-05 14:05:40 +00:00
nate
1eca961b56
Now works with/without obj directories
1993-09-20 23:47:51 +00:00
jkh
c8b21d348c
Doc new % sequence expansion for command execution.
...
Fixed bad verbose message.
1993-09-18 03:39:21 +00:00
jkh
b1c65574c1
Whoops - got the exclude flag wrong, try again.
1993-09-12 20:56:40 +00:00
jkh
4ed84e3b72
Added and doc'd -X flag to pkg_create that allows you to specify an exclude
...
list for the final package.
1993-09-12 20:45:31 +00:00
jkh
3b6c96ab2f
Doc'd option for current directory prefix in @exec
1993-09-06 23:28:19 +00:00
jkh
e9a6985275
Made staging area configurable rather than assuming /tmp (-t)
1993-09-05 04:54:24 +00:00
jkh
4ccfdf0953
Fixed bug in pkg_create that affected Rich's attempts to package emacs
1993-09-04 18:19:41 +00:00
jkh
a1623ebed9
Lots of misc tweaks, support for arbitrary separators in pkg_info, more
...
intelligent name handling in pkg_create. Most of these files are changed
because of rcsid's being different in my cvs tree and freefall's (foo).
1993-09-03 23:01:17 +00:00
jkh
e83dde8008
The release version of my package install suite. Please see man pages
...
for info.
1993-08-26 01:19:55 +00:00