Commit Graph

67 Commits

Author SHA1 Message Date
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
b0f37a24cb Fix a bad formatting directive. 1995-01-05 10:31:42 +00:00
jkh
85c85b8011 Fix misleading typo in description of @unexec. 1995-01-05 10:22:51 +00:00
swallace
fa156e55d6 Added new function show_index() which does a 'smart' display of the index file.
Index descriptions are limited to MAXINDEXSIZE (60) chars.  Any description
beyond that is truncated.  Also, only the first line is displayed as well.
This allows pkg_info -a -I to be formated in two columns with one line
per package for easy reading.

Reviewed by:	jkh
1995-01-05 01:10:13 +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
7778f5380f Protect against old packages with bogus @name fields. Use basename_of()
on the name before recording it in /var/db/pkg.  Sorry, Kaleb, you
were right after all!  It was my fault! :)
1994-11-17 10:53:21 +00:00
jkh
f0f266b384 Add a new basename_of() function. 1994-11-17 10:51:51 +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
47d2d53b0b Sigh. NOW it's ok! :-) 1994-10-14 05:57:49 +00:00
jkh
eef0ef01be Print a better verbose message when creating packages. 1994-10-14 05:56:15 +00:00
jkh
2cf39cacf3 This should do it - I forgot about pkg_info. 1994-10-14 05:55:57 +00:00
jkh
d5a2450087 Whoops - variable was in wrong scope. Correct. 1994-10-14 05:43:41 +00:00
jkh
56f1e635f2 Fix bug in home directory calculation that I introduced with the free space
checking code.  Fix the free space checking code, while I'm at it! ;)
Thanks to Garrett for spotting the home dir problem.
1994-10-14 05:42:24 +00:00
jkh
b1ba6ab286 Fix bug in home directory calculation that I introduced with the free space
checking code.  Fix the free space checking code, while I'm at it! ;)
Thanks to Garrett for spotting the home dir problem.
1994-10-14 05:34:04 +00:00
jkh
34751162a4 Be optionally verbose about free-space checking. I need this to ascertian
whether or not this always works.
1994-10-08 23:55:36 +00:00
jkh
60db1604bf Add the ability to verify that a package won't extract in the space
available.  Thanks to Michael Elbel for pushing me in the right direction.
1994-10-04 16:07:50 +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
jkh
3ef0581e73 Don't let pkg_delete remove the recorded location until everything has
absolutely, positively been successfully removed.
Reviewed by:
Submitted by:
Obtained from:
1994-09-29 13:19:43 +00:00
jkh
b9af6c1c08 Delete obsoleted *dist targets. 1994-09-13 10:20:37 +00:00
jkh
a933b2cf05 Make this stop trying to go into /usr/local and inherit the settings
from above instead.
1994-09-13 10:20:02 +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
cae4aac15c Argh! What a boneheaded bug! Finally fix the blank-line-in-packing list
problem!  I am pond scum!
1994-07-11 01:11:14 +00:00
asami
3549c2a452 Add explanation of -e in usage(). 1994-06-01 05:15:00 +00:00
asami
c0c88c1f41 Close /dev/tty that is opened in y_or_n()...this is called many times
so it will run out of ptys if not properly closed.
1994-06-01 05:14:19 +00:00
asami
93b71d3919 The environment variable PKG_PREFIX is set to the first @cwd command
in the packing list, or the argument to -p if it is specified, before
the requirements/installation/deinstallation scripts are called.  This
enables the scripts to be written to work on the final installation
destination, even if the user uses -p to override the package's default.
1994-05-25 18:00:04 +00:00
jkh
cb0aba89af Change Header to Id. 1994-05-25 06:28:14 +00:00
jkh
066a73bf85 Add new find_plist() function. 1994-05-25 06:27:24 +00:00
jkh
50de4f0fe3 Change in_plist() call to find_plist(). 1994-05-25 06:24:41 +00:00
jkh
873ef098bd Remove find_name(), replace with more generic find_plist() function. 1994-05-25 06:24:18 +00:00
asami
bdec29e658 Typo (pkg_add => pkg-add). 1994-05-20 19:35:33 +00:00
asami
d197971d10 Make clear what arguments the "require" script gets. 1994-05-20 19:34:44 +00:00
asami
1ade05e2e4 Make clear what arguments the "require" package gets (the original didn't
make any sense, with a ".b" instead of ".B" in front of "INSTALL"!).
1994-05-20 19:33:08 +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
68314379f2 Make y_or_n() pay attention to AutoAnswer global. 1994-04-05 14:08:47 +00:00
jkh
4549480f2f Add -N and -Y flags for auto-answer feature. 1994-04-05 14:05:40 +00:00
jkh
e9527e9a0f Cleaning house. 1994-01-06 08:19:38 +00:00
jkh
bae438b28c If require script fails, don't try to delete installed package. 1993-10-10 20:25:31 +00:00
jkh
666e5b3752 Added files necessary for automating packing of distributions. 1993-10-10 20:24:47 +00:00
jkh
5103a9329c Fix problems with executing from current directory 1993-10-08 01:19:35 +00:00
nate
1eca961b56 Now works with/without obj directories 1993-09-20 23:47:51 +00:00
jkh
496a6be0ca Finally stuck a version number on this thing! :) 1993-09-19 01:52:33 +00:00
jkh
14f46efaad Added code for doing % sequence expansion, added new @unexec command. 1993-09-18 03:39:50 +00:00
jkh
c8b21d348c Doc new % sequence expansion for command execution.
Fixed bad verbose message.
1993-09-18 03:39:21 +00:00
jkh
1bb96bf0e1 Make sure permissions on registry location are readable by pkg_info.
Add new % sequence expansion for command execution.
1993-09-18 03:38:48 +00:00
jkh
da177bd171 Fixed broken -t flag; thanks Rich! 1993-09-14 19:53:01 +00:00
jkh
b1c65574c1 Whoops - got the exclude flag wrong, try again. 1993-09-12 20:56:40 +00:00