Commit Graph

32 Commits

Author SHA1 Message Date
christos 19540887f2 - Don't use TOOL_SED; we are not a regular Makefile
- PREFIX defaults to /usr/pkg
- use -g
- delete errmsg.c
2009-01-15 15:57:18 +00:00
apb a02cace51f Use ${TOOL_SED} instead of plain "sed" in "!=" assignments.
This may need more work to prevent warning messages during
"make cleandir" when the commands in "!=" assignments are executed
even though tools may not have been built.
2008-10-25 22:35:36 +00:00
christos 0bb12611f2 let us be 0.3 2008-05-30 14:23:54 +00:00
christos 77cf38f568 PR/38797: FreeBSD support from ttw plus bsd at cobbled dot net. 2008-05-30 14:19:57 +00:00
christos 14002ac9c8 make sup-0.2 2007-12-20 20:25:08 +00:00
christos 3791e7cc61 - add setproctitle
- add commented out DEFS for the layout I use.
2007-12-20 20:16:34 +00:00
christos 9f1fcc0d86 portability fixes from joerg. 2007-10-06 20:19:52 +00:00
christos 52c8d9f862 cygwin support. 2007-07-20 16:39:05 +00:00
christos 3cd2d0576e rename salloc to estrdup. 2006-04-02 01:39:48 +00:00
christos cff2dad821 add a tar target. 2006-03-14 22:59:43 +00:00
christos d7571e6e65 Make building work on NetBSD again [in this directory with the standard
Makefile]
2006-03-14 17:42:06 +00:00
christos 8fe39e55bc This Makefile should not need bsdmake! 2003-04-03 20:32:41 +00:00
christos c8ee373ee5 Port to linux 2003-04-03 17:14:24 +00:00
lukem d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
wiz 77085dee52 Cleanup, part 1:
Remove sysent.h, unneeded.
Remove __P().
unifdef __STDC__
Remove some #if 0 parts.
Start ANSIfication.
2002-07-10 18:53:56 +00:00
enami edea8c9791 You can't just define read_line as fparseln since former keeps the storage
internally but latter allocates everytime.
2000-07-19 07:52:44 +00:00
erh 131ee1a7b6 Replace the provided read_line function with calls to the fparseln function in libutil. Maintain compatibility on machines without fparseln through the NEED_READ_LINE define. 1999-08-02 05:36:05 +00:00
lukem 72549586a8 distclean is a synonym for cleandir 1998-09-05 14:57:41 +00:00
thorpej 0e42d89fac Oops! Forgot this yesterday: Add read_line.o goo. 1997-11-13 17:09:04 +00:00
thorpej 42d99e64c5 Garbage-collect the USE_CRYPT stuff. 1997-10-07 01:27:14 +00:00
christos 7a1ede0553 - add $NetBSD$
- remove all $Log$ instances and the extra logs caused by our local changes.
1997-06-17 18:56:02 +00:00
christos b33b1aed5c - for portability make sure that we never use "" as a pathname, always convert
it to "."
- include sockio.h if needed to define SIOCGIFCONF (for svr4)
- use POSIX signals and wait macros
- add -S silent flag, so that the client does not print messages unless there
  is something wrong
- use flock or lockf as appropriate
- use fstatfs or fstatvfs to find out if a filesystem is mounted over nfs,
  don't depend on the major() = 255 hack; it only works on legacy systems.
- use gzip -cf to make sure that gzip compresses the file even when the file
  would expand.
- punt on defining vsnprintf if _IOSTRG is not defined; use sprintf...

To compile sup on systems other than NetBSD, you'll need a copy of daemon.c,
vis.c, vis.h and sys/cdefs.h. Maybe we should keep those in the distribution?
1996-09-05 16:50:01 +00:00
cgd f82d05e1d7 always include libcrypt; it's a dummy if exported... 1994-02-27 23:30:34 +00:00
brezak 2dd2888263 Add HAS_POSIX_DIR to CFLAGS. 1994-01-09 17:14:53 +00:00
cgd 048389b2ee make package makefiles deal with "all", "clean", and "cleandir" if they
don't already.
1993-07-13 08:12:53 +00:00
cgd eb192ab885 use daemon() to put supfilesrv into daemon mode... 1993-06-05 21:32:15 +00:00
cgd 0b58ac8cc8 make non-use of "EXPORTABLE_SYSTEM=true" do the right thing;
before, it didn't really check to see if you really did have the
real crypt.c before making a system with crypt.
1993-05-26 12:19:45 +00:00
brezak 8d3b13729a Use EXPORTABLE_SYSTEM=true to build sup w/o crypt 1993-05-25 20:00:47 +00:00
brezak 83cb1e2940 Use /var/tmp for NetBSD 1993-05-24 18:57:48 +00:00
brezak 256dbd11db Remove netcrypt.c. Remove unneeded files. Cleanup make. 1993-05-24 17:57:19 +00:00
cgd 0c0fba5509 clean up a bit, and add install target 1993-05-21 15:02:34 +00:00
cgd a1e510b12f initial import of CMU's SUP to NetBSD 1993-05-21 14:52:16 +00:00