-
Read the notes in the
Makefile
-
Edit the area marked
configurable stuff
-
Adjust the marked area in
config.h
-
Also take a look at
pathnames.h
-
Ensure you have a
/var
directory or
a/usr/var
folder that is linked to it.# Creates the /var directory mkdir /var
# Creates the /usr/var folder & links it mkdir /usr/var ln -s /usr/var /var
-
Unless you adjust your
Makefile
, you will also need:-
/usr/local/etc
-/usr/local/bin
These will have to be created by hand.
-
I keep my Man Pages at
/usr/local/man
, however since
you probably won't have the source files, this might not apply.Therefore you may have to put the man pages into
/usr/man/manl
,
which will be hard since this will cause name collisions to occur.Note that the man command was originally written by Bill Joy
before he left Berkeley, and it contains no AT&T code, so it is in
UUNET's archive of freely-distributable BSD code.Note
/usr/include/paths.h
on some Linux systems
shows_PATH_SENDMAIL
to be/usr/bin/sendmail
even thoughsendmail
is installed in/usr/lib
You should check this out.
-
Built the binary with:
make all
-
Install the built program:
su make install
Note that if I can get you to 'su and say' something just
by asking, you have a very serious security problem on
your system and you should look into it.Edit your
/usr/lib/crontab
file into small pieces.
» Check the conversion guide.
crontab -u uucp -r /usr/lib/uucp/crontab.src
crontab -u news -r /usr/lib/news/crontab.src
crontab -u root -r /usr/adm/crontab.src
① While installing a config with
crontab -r
it's content is copied,
this means that any changes to the file won't affect the installed
CronTab until re-installing it.② If no user is specified, the one executing the command will be used.
The
-u
option requires root permissions, however on most
BSD system being the super user will not automatically make
CronTab think of you as root, so still specify the user.③ The
-r
is used to replace specified configurable.
-
Kill your existing Cron daemon:
ps aux # Look for /etc/cron
-
Find and comment out any lines starting with
/etc/cron
in/etc/rc
//etc/rc.local
Insert a new line starting your Cron daemon,
usually/usr/local/etc/cron
➔Makefile
-
The Cron daemon is started and automatically forked with:
/usr/local/etc/cron # Adjust to the path your Cron's path
Note For those people unfortunate enough to be stuck on a
AT&T UNIX, you will need the public-domainlibndir
, found
in the B News source and in anycomp.sources.unix
archive.You will also need to hack the code some.