FreeBSD Bugzilla – Attachment 43524 Details for
Bug 67557
[MAINTAINER] comms/bforce-kst: fix some non critical errors, add docs and contrib utils
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bforce-kst.diff
bforce-kst.diff (text/plain), 5.18 KB, created by
Andrey Slusar
on 2004-06-04 05:00:40 UTC
(
hide
)
Description:
bforce-kst.diff
Filename:
MIME Type:
Creator:
Andrey Slusar
Created:
2004-06-04 05:00:40 UTC
Size:
5.18 KB
patch
obsolete
>diff -ruN bforce-kst/Makefile bforce-kst.new/Makefile >--- bforce-kst/Makefile Sun May 30 18:27:47 2004 >+++ bforce-kst.new/Makefile Fri Jun 4 06:38:55 2004 >@ -23,6 +23,13 @@ > > CONFIGDIR= etc/fido/bforce > >+CONTRIBS= bfha/README bfha/bfha.pl bflan callout.sh outman timesync.tcl \ >+ u-srif/conf/report.footer u-srif/conf/report.header u-srif/conf/u-srif.aliases \ >+ u-srif/conf/u-srif.conf u-srif/conf/u-srif.dirs u-srif/lib/uconfig.py \ >+ u-srif/lib/udbase.py u-srif/lib/ufido.py u-srif/lib/unodestat.py \ >+ u-srif/lib/utmpl.py u-srif/lib/uutil.py u-srif/u-srif-index.py \ >+ u-srif/u-srif-lookup.py u-srif/u-srif.py >+ > FIXME= include/bforce.h include/util.h include/logger.h \ > bforce/bforce.c bforce/conf_proc.c bforce/conf_read.c bforce/daemon.c \ > bforce/daemon_branch.c bforce/daemon_call.c bforce/daemon_lines.c \ >@@ -56,9 +63,21 @@ > ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.subst ${PREFIX}/${CONFIGDIR}/bforce.subst.sample > ${INSTALL_DATA} ${WRKSRC}/../examples/freq.aliases ${PREFIX}/${CONFIGDIR}/freq.aliases.sample > ${INSTALL_DATA} ${WRKSRC}/../examples/freq.dirs ${PREFIX}/${CONFIGDIR}/freq.dirs.sample >+ >+ ${MKDIR} ${DATADIR} ${DATADIR}/bfha ${DATADIR}/u-srif/conf ${DATADIR}/u-srif/lib >+.for i in ${CONTRIBS} >+ ${INSTALL_DATA} ${WRKSRC}/../contrib/${i} ${DATADIR}/${i} >+.endfor >+.if !defined(NOPORTDOCS) >+ ${MKDIR} ${DOCSDIR} >+.for i in CHANGES CHANGES.kst COPYING README README.kst >+ ${INSTALL_DATA} ${WRKSRC}/../${i} ${DOCSDIR} >+.endfor >+.endif > ${INSTALL_PROGRAM} ${WRKSRC}/bin/bforce ${PREFIX}/bin > ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfindex ${PREFIX}/bin > ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfstat ${PREFIX}/bin > ${INSTALL_PROGRAM} ${WRKSRC}/bin/nlookup ${PREFIX}/bin >+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|' -e 's|%%CONFIGDIR%%|${CONFIGDIR}|' ${PKGMESSAGE} > > .include <bsd.port.mk> >diff -ruN bforce-kst/files/patch-daemon.c bforce-kst.new/files/patch-daemon.c >--- bforce-kst/files/patch-daemon.c Thu Jan 1 03:00:00 1970 >+++ bforce-kst.new/files/patch-daemon.c Fri Jun 4 05:05:28 2004 >@@ -0,0 +1,17 @@ >+--- bforce/daemon.c.old Tue Jun 1 16:14:31 2004 >++++ bforce/daemon.c Tue Jun 1 16:20:15 2004 >+@@ -772,10 +772,13 @@ >+ fclose(pf); >+ >+ if (hispid != 0) { >++ if (hispid == mypid) >++ return 0; >+ if (kill(hispid, 0) == 0) { >+ log("daemon_pidfile: another daemon exist. pid=%d", hispid); >+ return (-1); >+- } else if(errno != ESRCH) { >++ } >++ if (errno != ESRCH) { >+ log("daemon_pidfile: error sending signal. pid=%d, errno=%d", hispid, errno); >+ return (-1); >+ } >diff -ruN bforce-kst/files/patch-prot_emsi.c bforce-kst.new/files/patch-prot_emsi.c >--- bforce-kst/files/patch-prot_emsi.c Thu Jan 1 03:00:00 1970 >+++ bforce-kst.new/files/patch-prot_emsi.c Fri Jun 4 05:05:28 2004 >@@ -0,0 +1,20 @@ >+diff -ruN bforce-0.22.8.kst7/source/bforce/prot_emsi.c bforce-0.22.8.kst8/source/bforce/prot_emsi.c >+--- bforce/prot_emsi.c Thu Nov 21 23:22:56 2002 >++++ bforce/prot_emsi.c Sat Nov 30 01:41:15 2002 >+@@ -829,10 +829,14 @@ >+ /* ----------------------------------------------------------------- */ >+ if( state.caller == 0 && hrc != HRC_BAD_PASSWD ) >+ { >+- emsi->have_traf = emsi->have_moh = 1; >++ emsi->have_traf = 1; >+ emsi->netmail_size = state.traff_send.netmail_size; >+ emsi->arcmail_size = state.traff_send.arcmail_size; >+- emsi->files_size = state.traff_send.files_size; >++ if ( state.traff_send.files_size ) >++ { >++ emsi->have_moh = 1; >++ emsi->files_size = state.traff_send.files_size; >++ } >+ } >+ } >+ >diff -ruN bforce-kst/pkg-message bforce-kst.new/pkg-message >--- bforce-kst/pkg-message Fri Jan 17 13:16:53 2003 >+++ bforce-kst.new/pkg-message Fri Jun 4 06:30:04 2004 >@@ -1,3 +1,8 @@ >+************************************************************** >+ > Please don't forget to copy and edit configuration files found >-in ${PREFIX}/etc/bforce.END-of-bforce-kst/pkg-message >-exit >+in %%PREFIX%%/%%CONFIGDIR%%. >+ >+If you using u-srif, please install lang/python >+ >+************************************************************** >diff -ruN bforce-kst/pkg-plist bforce-kst.new/pkg-plist >--- bforce-kst/pkg-plist Sun May 30 18:27:47 2004 >+++ bforce-kst.new/pkg-plist Fri Jun 4 06:28:42 2004 >@@ -7,4 +7,34 @@ > %%CONFIGDIR%%/bforce.subst.sample > %%CONFIGDIR%%/freq.aliases.sample > %%CONFIGDIR%%/freq.dirs.sample >+%%DATADIR%%/bfha/README >+%%DATADIR%%/bfha/bfha.pl >+%%DATADIR%%/bflan >+%%DATADIR%%/callout.sh >+%%DATADIR%%/outman >+%%DATADIR%%/timesync.tcl >+%%DATADIR%%/u-srif/conf/report.footer >+%%DATADIR%%/u-srif/conf/report.header >+%%DATADIR%%/u-srif/conf/u-srif.aliases >+%%DATADIR%%/u-srif/conf/u-srif.conf >+%%DATADIR%%/u-srif/conf/u-srif.dirs >+%%DATADIR%%/u-srif/lib/uconfig.py >+%%DATADIR%%/u-srif/lib/udbase.py >+%%DATADIR%%/u-srif/lib/ufido.py >+%%DATADIR%%/u-srif/lib/unodestat.py >+%%DATADIR%%/u-srif/lib/utmpl.py >+%%DATADIR%%/u-srif/lib/uutil.py >+%%DATADIR%%/u-srif/u-srif-index.py >+%%DATADIR%%/u-srif/u-srif-lookup.py >+%%DATADIR%%/u-srif/u-srif.py >+%%PORTDOCS%%%%DOCSDIR%%/CHANGES >+%%PORTDOCS%%%%DOCSDIR%%/CHANGES.kst >+%%PORTDOCS%%%%DOCSDIR%%/COPYING >+%%PORTDOCS%%%%DOCSDIR%%/README >+%%PORTDOCS%%%%DOCSDIR%%/README.kst >+%%PORTDOCS%%@dirrm %%DOCSDIR%% > @dirrm %%CONFIGDIR%% >+@dirrm %%DATADIR%%/u-srif/lib >+@dirrm %%DATADIR%%/u-srif/conf >+@dirrm %%DATADIR%%/u-srif >+@dirrm %%DATADIR%%/bfha
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 67557
: 43524