summaryrefslogtreecommitdiff
path: root/security/drweb-sendmail/files/patch-ae
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-05-11 03:26:45 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-05-11 03:26:45 +0000
commit2ed1107dfcd044f2a3fb9b563391322eda4d2653 (patch)
tree36419ab53f27d929dec27623a3e030d27203414b /security/drweb-sendmail/files/patch-ae
parentadd support for Adobe Systems Tech Note #5079 & #5080 (diff)
Upgrade to 4.28
Notes
Notes: svn path=/head/; revision=58891
Diffstat (limited to 'security/drweb-sendmail/files/patch-ae')
-rw-r--r--security/drweb-sendmail/files/patch-ae40
1 files changed, 40 insertions, 0 deletions
diff --git a/security/drweb-sendmail/files/patch-ae b/security/drweb-sendmail/files/patch-ae
new file mode 100644
index 000000000000..a5088f4ed429
--- /dev/null
+++ b/security/drweb-sendmail/files/patch-ae
@@ -0,0 +1,40 @@
+--- dw_options.c.bak Mon May 6 19:21:02 2002
++++ dw_options.c Fri May 10 12:13:40 2002
+@@ -68,7 +68,11 @@
+
+ #if defined(__UNIX_DW)
+ #if !defined(EMX_DW)
++#ifdef __FreeBSD__
++#define OS_SPEC_CONFNAME "%PREFIX%/etc/drweb/"CONF_FNAME
++#else
+ #define OS_SPEC_CONFNAME "/opt/drweb/"CONF_FNAME
++#endif
+ #else /* EMX */
+ #define OS_SPEC_CONFNAME "./"CONF_FNAME
+ #endif /* EMX */
+@@ -900,6 +904,7 @@
+ return name;
+ }
+ DWC_Free( name );
++#ifndef __FreeBSD__
+ name = DWC_Strdup( FHS_SPEC_CONFNAME );
+ if( access( name, R_OK ) == 0 )
+ {
+@@ -907,6 +912,7 @@
+ return name;
+ }
+ DWC_Free( name );
++#endif
+ printLib( DW_LL_ERROR, "incorrect usage, try run in console with %s or read documentation", HELP_PARAM_3 );
+ printf( "%s: configuration file not found\nTry run with %s for more information.\n", argv[0], HELP_PARAM_3 );
+ return NULL;
+@@ -934,7 +940,9 @@
+ printf("Conf file must be present in one of location:\n");
+ #endif /* not QMAIL && not ZMAILER */
+ printf(" "OS_SPEC_CONFNAME"\n");
++#ifndef __FreeBSD__
+ printf(" "FHS_SPEC_CONFNAME"\n");
++#endif
+ printf("\n"PROG_NOTE"\n");
+ exit(EX_USAGE);
+ }