New commits:
commit fd7b5c1c102a4c8bf7a66e3b4fc49ae63163143b
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>
mail/imap: Rework of most of the spell; PATCHLEVEL++
CONFIGURE: Only the patch query needs to be here
CONFLICTS: Padding removed
DEPENDS: Padding removed, optional depends instead of if'ing
FINAL: Padding removed; quoting; cp's are now conditional
INSTALL: Padding removed; quoting
{PRE_,}BUILD: Patching done in PRE_BUILD; use is_depends_enabled
TRIGGERS: Only trigger recast if the spell depends on it
mailsubdir.patch, {pop3d,imapd}*, {pam,xinetd}.d/*: Permissions to 0644
commit 8de12407ca90ea9c0411c3e046cd28629acfe66a
Author: Elisamuel Resto <ryuji AT sourcemage.org>
Commit: Elisamuel Resto <ryuji AT sourcemage.org>
mail/c-client: remove unused enable/disable flags in DEPENDS and changed
BUILD to use is_depends_enabled instead of the grep; quoted paths, added
some brackets and removed useless padding. PATCHLEVEL++
-if echo $OPTS | grep -q with-pam; then
- TARGET=lnp
+if is_depends_enabled $SPELL linux-pam; then
+ TARGET=lnp
else
- TARGET=slx
+ TARGET=slx
fi &&
# the trick to building c-client only is to remove the target named "bundled"
# from the dependents list of default target "build"
sedit 's|^\(build:.*\)bundled|\1|g' Makefile &&
-yes | make $SSLOPTS EXTRACFLAGS="$CFLAGS" $TARGET
+yes | make ${SSLOPTS} EXTRACFLAGS="${CFLAGS}" ${TARGET}
diff --git a/mail/c-client/DEPENDS b/mail/c-client/DEPENDS
index 3f87da9..5773acb 100755
--- a/mail/c-client/DEPENDS
+++ b/mail/c-client/DEPENDS
@@ -1,3 +1,2 @@
-# The '--' options are bogus, they're only used by the spell itself
-optional_depends openssl '--with-openssl' '--without-openssl' 'for SSL/TLS
support' &&
-optional_depends linux-pam '--with-pam' '--without-pam' 'for PAM support'
+optional_depends openssl "" "" "for SSL/TLS support" &&
+optional_depends linux-pam "" "" "for PAM support"
diff --git a/mail/c-client/DETAILS b/mail/c-client/DETAILS
index 52af28f..7374574 100755
--- a/mail/c-client/DETAILS
+++ b/mail/c-client/DETAILS
@@ -1,6 +1,7 @@
SPELL=c-client
VERSION=2007b
SOURCE_HASH=sha512:cf99dd8027efb0700fac219f928f5eb0522ee35c8960959a18963870a8e11a5b5a2b81afb6d686ddd1288c4c645cfafa2242a5f6ec2fef63e0c69fd434504e66
+ PATCHLEVEL=1
SOURCE=imap-${VERSION}.tar.Z
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/imap-${VERSION}
SOURCE_URL[0]=ftp://ftp.cac.washington.edu/imap/${SOURCE}
diff --git a/mail/c-client/HISTORY b/mail/c-client/HISTORY
index aa5f40d..2b51a70 100644
--- a/mail/c-client/HISTORY
+++ b/mail/c-client/HISTORY
@@ -1,3 +1,8 @@
+2008-08-12 Elisamuel Resto <ryuji AT sourcemage.org>
+ * DEPENDS: remove unused enable/disable flags; PATCHLEVEL++
+ * BUILD: use is_depends_enabled instead of the grep; quoted paths,
+ added some brackets and removed padding
+
2008-07-01 Elisamuel Resto <ryuji AT sourcemage.org>
* DETAILS: updated to 2007b (perhaps the last update ever)
* PRE_BUILD: added, seems that the tar.Z wasn't unpacked by sorcery
diff --git a/mail/imap/BUILD b/mail/imap/BUILD
index 502778c..ad853e4 100755
--- a/mail/imap/BUILD
+++ b/mail/imap/BUILD
@@ -1,26 +1,22 @@
-cd ${SOURCE_DIRECTORY} &&
+cd "${SOURCE_DIRECTORY}" &&