mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
92 lines
2.1 KiB
Plaintext
92 lines
2.1 KiB
Plaintext
|
*** Makefile Tue Oct 4 22:47:03 1994
|
||
|
--- Makefile Thu Oct 27 14:46:17 1994
|
||
|
***************
|
||
|
*** 4,13 ****
|
||
|
PROG= tftpd
|
||
|
MAN8= tftpd.8
|
||
|
|
||
|
! ETCDIR?=${DESTDIR}/etc
|
||
|
! BINDIR?=${DESTDIR}/usr/libexec
|
||
|
|
||
|
! CFLAGS+=-DCONFIGFILE='"${ETCDIR}/tftpd.conf"'
|
||
|
|
||
|
classes/libclasses.a:
|
||
|
(cd classes ; make)
|
||
|
--- 4,14 ----
|
||
|
PROG= tftpd
|
||
|
MAN8= tftpd.8
|
||
|
|
||
|
! ETCDIR=${DESTDIR}/usr/local/etc
|
||
|
! BINDIR=${DESTDIR}/usr/local/libexec
|
||
|
! MANDIR=${DESTDIR}/usr/local/man/man
|
||
|
|
||
|
! CFLAGS+=-DCONFIGFILE='"${ETCDIR}/tftpd.conf"' -DHAVE_STRERROR
|
||
|
|
||
|
classes/libclasses.a:
|
||
|
(cd classes ; make)
|
||
|
*** classes/Makefile Tue Oct 4 22:33:02 1994
|
||
|
--- classes/Makefile Thu Oct 27 14:43:57 1994
|
||
|
***************
|
||
|
*** 6,9 ****
|
||
|
--- 6,12 ----
|
||
|
NOPIC= true
|
||
|
NOPROFILE=true
|
||
|
|
||
|
+ install:
|
||
|
+ @echo not installing library
|
||
|
+
|
||
|
.include <bsd.lib.mk>
|
||
|
*** tftpyale.c Tue Oct 4 22:20:49 1994
|
||
|
--- tftpyale.c Thu Oct 27 14:37:03 1994
|
||
|
***************
|
||
|
*** 232,238 ****
|
||
|
if ((configf = fopen (fileName, "r")) == NULL) {
|
||
|
syslog (LOG_ERR,
|
||
|
"Cannot open configFile '%s'; reason = %s",
|
||
|
! fileName, sys_errlist[errno]);
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
--- 232,238 ----
|
||
|
if ((configf = fopen (fileName, "r")) == NULL) {
|
||
|
syslog (LOG_ERR,
|
||
|
"Cannot open configFile '%s'; reason = %s",
|
||
|
! fileName, strerror(errno));
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
***************
|
||
|
*** 278,284 ****
|
||
|
if (tftpDebugLevel > 0) {
|
||
|
syslog (LOG_DEBUG,
|
||
|
"chdir fails; '%s'",
|
||
|
! sys_errlist[errno]);
|
||
|
}
|
||
|
}
|
||
|
else
|
||
|
--- 278,284 ----
|
||
|
if (tftpDebugLevel > 0) {
|
||
|
syslog (LOG_DEBUG,
|
||
|
"chdir fails; '%s'",
|
||
|
! strerror(errno));
|
||
|
}
|
||
|
}
|
||
|
else
|
||
|
***************
|
||
|
*** 290,296 ****
|
||
|
if (cargc == 2) {
|
||
|
if (access(cargv[1], 0) != 0)
|
||
|
syslog(LOG_DEBUG, "directory '%s': %s",
|
||
|
! cargv[1], sys_errlist[errno]);
|
||
|
else
|
||
|
tftpRootDirectory = newString(cargv[1]);
|
||
|
}
|
||
|
--- 290,296 ----
|
||
|
if (cargc == 2) {
|
||
|
if (access(cargv[1], 0) != 0)
|
||
|
syslog(LOG_DEBUG, "directory '%s': %s",
|
||
|
! cargv[1], strerror(errno));
|
||
|
else
|
||
|
tftpRootDirectory = newString(cargv[1]);
|
||
|
}
|