Commit Graph

496 Commits

Author SHA1 Message Date
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
jkh
a0cfa510c6 Fixed an embarassing bug with @owner, @mode & @group 1993-09-12 20:45:53 +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
6aac10242b Rudementary README 1993-09-08 23:46:04 +00:00
jkh
a9f8298bb5 Added two new options, one of which is fairly far reaching:
-q	turns on "quiet" mode, where informational headers and such are not
	dumped, just the information.

-L	Shows full pathnames of files comprising a package.  With -q,
	this can be useful for doing fileset operations, such as
	"du -s `pkg_info -q -L foo_bin`" to see how much space package
	"foo_bin" is taking up.
1993-09-08 01:46:59 +00:00
jkh
c9cd950a49 Nailed one last lurking ^L. 1993-09-07 01:01:32 +00:00
jkh
3e88a4ee85 Fixed bug in copying script files from absolute locations 1993-09-06 23:28:42 +00:00
jkh
3b6c96ab2f Doc'd option for current directory prefix in @exec 1993-09-06 23:28:19 +00:00
jkh
7ed3f46cfa Added option for current directory prefix in @exec (without which it's pretty
useless).
1993-09-06 23:26:21 +00:00
jkh
c211573e5c Added -e flag to pkg_info. Now you can test to see whether a package
is installed or not rather easily (useful for install scripts that want
to check for prerequisite packages).  See man page for details.
1993-09-05 22:36:54 +00:00
jkh
e9a6985275 Made staging area configurable rather than assuming /tmp (-t) 1993-09-05 04:54:24 +00:00
jkh
443968adfa Made staging area configurable rather than assuming /tmp (-t)
Made pkg_add -n less bitchy.
Made -p in pkg_add override "default" package location in pkg_create.

Added concept of "slave" and "master" modes, allowing many different things
to be done to packing lists on the fly.  This is really something for
front-end drivers to use, but also something for the more expert user.

rename()'ing files before trying to copy them, thus saving
considerable time when targets and staging area are on same filesystem.
1993-09-05 04:53:51 +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
67a5d22fbc Added Rich's wish front-end. 1993-09-04 17:06:09 +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
fb96eba597 Removed annoying -Wall 1993-08-30 01:51:16 +00:00
jkh
54fe2d5416 Install man pages in /usr/local/man 1993-08-30 01:47:26 +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