From de5f16cdf2a270ecdb981aa18f3c353123987228 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 23 Apr 2008 01:23:22 +0000 Subject: added cyrus-sasl git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@119 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- dev/libs/cyrus-sasl/cyrus-sasl.mkbuild | 106 +++++++++++++++++++++++++++++++++ dev/libs/cyrus-sasl/rc.saslauthd.new | 45 ++++++++++++++ 2 files changed, 151 insertions(+) create mode 100644 dev/libs/cyrus-sasl/cyrus-sasl.mkbuild create mode 100644 dev/libs/cyrus-sasl/rc.saslauthd.new (limited to 'dev/libs') diff --git a/dev/libs/cyrus-sasl/cyrus-sasl.mkbuild b/dev/libs/cyrus-sasl/cyrus-sasl.mkbuild new file mode 100644 index 0000000..b2deb80 --- /dev/null +++ b/dev/libs/cyrus-sasl/cyrus-sasl.mkbuild @@ -0,0 +1,106 @@ +# +# This mkbuild 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; either version 2 of the License, or any later version. +# +# This mkbuild is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the Free Software Foundation, Inc., 59 Temple +# Place - Suite 330, Boston, MA 02111-1307, USA +# + +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Silvio Rhatto" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rha" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.22.tar.gz" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS COPYRIGHT LICENSE HISTORY doc/* ChangeLog NEWS README" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--sysconfdir=/etc --with-authdaemond=/usr/sbin/authdaemond" + +# +# Install script +[[REST OF DOINST.SH]]="config etc/rc.d/rc.saslauthd.new" + +#--------------------- +# Others changes +#--------------------- +[[SIGNING KEY URL]]="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/KEYS" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +[[SLACKBUILD PATH]]="dev/libs/cyrus-sasl" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure +off: create_build_user_and_group + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 + on: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: copy_init_scripts + on: install_documentation + on: slackdesc +off: move_config_files + on: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +cyrus-sasl-ldap: Cyrus-SASL +cyrus-sasl-ldap: +cyrus-sasl-ldap: Cyrus-SASL is a library that implements the SASL athentication +cyrus-sasl-ldap: method. This build supports LDAP (needs openldap). +cyrus-sasl-ldap: +cyrus-sasl-ldap: +cyrus-sasl-ldap: +cyrus-sasl-ldap: +cyrus-sasl-ldap: +cyrus-sasl-ldap: +cyrus-sasl-ldap: +# /dev/null` 2> /dev/null + sleep 1 +} + +saslauthd_restart() { + saslauthd_stop + saslauthd_start +} + +case "$1" in +'start') + saslauthd_start + ;; +'stop') + saslauthd_stop + ;; +'restart') + saslauthd_restart + ;; +*) + echo "usage $0 start|stop|restart" +esac -- cgit v1.2.3