pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36522: dspam pkg options.mk error for PKG_OPTIONS virtualusers and preferences-extension
>Number: 36522
>Category: pkg
>Synopsis: dspam pkg options.mk error for PKG_OPTIONS virtualusers and
>preferences-extension
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 22 12:55:00 +0000 2007
>Originator: Travis Mikalson
>Release: Solaris 5.10
>Organization:
TerraNovaNet, Inc.
>Environment:
SunOS mail 5.10 Generic_125101-08 i86pc i386 i86pc
>Description:
The 1.19 --> 1.20 revision of pkgsrc/mail/dspam/options.mk changed the name of
the following PKG_OPTIONS:
verbose-debug
virtualusers
preferences-extension
These were renamed to, respectively:
dspam-verbose-debug
dspam-virtualusers
dspam-preferences-extension
The corresponding .if !empty(PKG_OPTIONS:Mxxxxxxxxxx) lines in options.mk were
not updated/renamed for dspam-virtualusers and dspam-preferences-extension.
Simply renaming .if !empty(PKG_OPTIONS:Mvirtualusers) to .if
!empty(PKG_OPTIONS:Mdspam-virtualusers) fixes the problem and allows one to use
the virtualusers and preferences-extension build options once more.
The virtualusers and preferences-extension build options are very important for
a good majority of the DSPAM users out there. If they silently fail to work as
expected, DSPAM will seem flat out broken to most.
>How-To-Repeat:
>Fix:
--- options.mk Fri Jun 22 07:20:00 2007
+++ options.mk.fixed Fri Jun 22 07:15:37 2007
@@ -114,7 +114,7 @@
### Used to store user preferences in the backend instead of flat files
### (built-in method).
###
-.if !empty(PKG_OPTIONS:Mpreferences-extension)
+.if !empty(PKG_OPTIONS:Mdspam-preferences-extension)
CONFIGURE_ARGS+= --enable-preferences-extension
.endif
@@ -122,7 +122,7 @@
### Tells DSPAM to create virtual user ids. Use this if your users are
### not system users.
###
-.if !empty(PKG_OPTIONS:Mvirtualusers)
+.if !empty(PKG_OPTIONS:Mdspam-virtualusers)
CONFIGURE_ARGS+= --enable-virtual-users
.endif
Home |
Main Index |
Thread Index |
Old Index