Browse Source

dspam: Updated (3.6.8 -> 3.10.2)

Added dspam.conf with some config options and check for other packages.
Also added dspam user and group.
user/chris/wip/linux37
Nagy Karoly Gabriel 12 years ago
parent
commit
9a1125165a
  1. 60
      mail/dspam/dspam.conf
  2. 6
      mail/dspam/dspam.desc
  3. 17
      mail/dspam/postsysfiles.in

60
mail/dspam/dspam.conf

@ -0,0 +1,60 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../dspam/dspam.conf
# Copyright (C) 2013 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
if [ $prefix_auto = 1 ]; then
# use a dedicated sysconfdir
sysconfdir="$sysconfdir/$pkg"
fi
storage="hash_drv"
# enable what we need without dependency
var_append confopt ' ' "--enable-daemon"
var_append confopt ' ' "--enable-clamav"
var_append confopt ' ' "--enable-debug"
var_append confopt ' ' "--enable-bnr-debug"
var_append confopt ' ' "--enable-verbose-debug"
var_append confopt ' ' "--enable-external-lookup"
var_append confopt ' ' "--enable-static=no"
var_append confopt ' ' "--enable-split-configuration"
var_append confopt ' ' "--enable-domain-scale"
var_append confopt ' ' "--enable-long-usernames"
var_append confopt ' ' "--with-dspam-home=$localstatedir/dspam"
var_append confopt ' ' "--with-dspam-home-owner=dspam"
var_append confopt ' ' "--with-dspam-home-group=dspam"
var_append confopt ' ' "--with-dspam-owner=dspam"
var_append confopt ' ' "--with-dspam-group=dspam"
for x in postgresql:pgsql mysql:mysql; do
if pkginstalled "${x%:*}"; then
pkgprefix -t "${x%:*}"
var_append confopt ' ' "--with-${x#*:}-includes=$root$( pkgprefix includedir ${x%:*} )"
var_append confopt ' ' "--with-${x#*:}-libraries=$root$( pkgprefix libdir ${x%:*} )"
storage="${storage},${x#*:}_drv"
var_append confopt ' ' "--enable-preferences-extension"
var_append confopt ' ' "--enable-virtual-users"
fi
done
if pkginstalled sqlite; then
pkgprefix -t sqlite
var_append confopt ' ' "--with-sqlite-includes=$root$( pkgprefix includedir sqlite )"
var_append confopt ' ' "--with-sqlite-libraries=$root$( pkgprefix libdir sqlite )"
storage="${storage},sqlite3_drv"
fi
var_append confopt ' ' "--with-storage-driver=${storage}"

6
mail/dspam/dspam.desc

@ -2,7 +2,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../dspam/dspam.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2006 - 2013 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
@ -31,7 +31,7 @@
[L] GPL
[S] Stable
[V] 3.6.8
[V] 3.10.2
[P] X -----5---9 800.000
[D] 2716626467 dspam-3.6.8.tar.gz http://dspam.nuclearelephant.com/sources/
[D] 1759751096 dspam-3.10.2.tar.gz http://dl.sourceforge.net/sourceforge/dspam/

17
mail/dspam/postsysfiles.in

@ -0,0 +1,17 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../dspam/postsysfiles.in
# Copyright (C) 2013 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
safe_groupadd dspam 551
safe_useradd dspam 551 551 "DSpam" /var/empty /bin/false "*"
Loading…
Cancel
Save