[SM-Commit] GIT changes to master grimoire by Andraž Levstik (3549448550004b24662f501fb01dca19bb06ff6a)

Andraž Levstik scm at sourcemage.org
Fri Oct 24 08:24:27 EDT 2008


GIT changes to master grimoire by Andraž Levstik <ruskie at codemages.net>:

 mail/alpine/50973B91.gpg |binary
 mail/alpine/BUILD        |    7 ++++++-
 mail/alpine/DEPENDS      |    4 ++++
 mail/alpine/DETAILS      |   14 ++++++++++++++
 mail/alpine/HISTORY      |    9 +++++++++
 mail/alpine/INSTALL      |    6 ++++++
 mail/alpine/PREPARE      |    4 ++++
 mail/alpine/PRE_BUILD    |   13 +++++++++++++
 8 files changed, 56 insertions(+), 1 deletion(-)

New commits:
commit 5c0f8afc04e6b6211791d4f807fee05145df36a4
Author: Andraž Levstik <ruskie at codemages.net>
Commit: Andraž Levstik <ruskie at codemages.net>

    alpine: forgot the HISTORY file

commit 2cc7be3d1fc019cb20d335c4d4e15780b1aa94ab
Author: Andraž Levstik <ruskie at codemages.net>
Commit: Andraž Levstik <ruskie at codemages.net>

    alpine: added topal and chappa patches

diff --git a/mail/alpine/50973B91.gpg b/mail/alpine/50973B91.gpg
new file mode 100644
index 0000000..113682b
Binary files /dev/null and b/mail/alpine/50973B91.gpg differ
diff --git a/mail/alpine/BUILD b/mail/alpine/BUILD
index 6ddf11b..74a07bd 100755
--- a/mail/alpine/BUILD
+++ b/mail/alpine/BUILD
@@ -1,2 +1,7 @@
 OPTS="--with-system-pinerc=/etc/pinerc --with-c-client-target=slx ${ALPINE_OPTS} $OPTS" &&
-default_build
+default_build &&
+if [[ $ALPINE_TOPAL == y ]] ; then
+pushd topal-$VERSION3 &&
+make &&
+popd
+fi
diff --git a/mail/alpine/DEPENDS b/mail/alpine/DEPENDS
index 1c409e9..c8d115b 100755
--- a/mail/alpine/DEPENDS
+++ b/mail/alpine/DEPENDS
@@ -1,3 +1,7 @@
+if [[ $ALPINE_TOPAL == y ]]; then
+  depends ada  &&
+  depends gnupg
+fi  &&
 optional_depends openssl                                                  \
                  "--with-ssl-dir=$INSTALL_ROOT/usr                        \
                  --with-ssl-certs-dir=$INSTALL_ROOT/etc/ssl/certs         \
diff --git a/mail/alpine/DETAILS b/mail/alpine/DETAILS
index 762ffbd..c3f5327 100755
--- a/mail/alpine/DETAILS
+++ b/mail/alpine/DETAILS
@@ -5,6 +5,20 @@
 SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
    SOURCE_URL[0]=ftp://ftp.cac.washington.edu/alpine/${SOURCE}
    SOURCE_URL[1]=ftp://ftp.cac.washington.edu/alpine/old/${SOURCE}
+if [[ $ALPINE_CHAPPA == y ]]; then
+         SOURCE2=all.patch.gz
+  SOURCE2_URL[0]=http://staff.washington.edu/chappa/$SPELL/patches/$SPELL-$VERSION/$SOURCE2
+    SOURCE2_HASH=sha512:df9e76bb3cfe30d1b6fd4d85d5865802f79a22062440ba922da298bb0950547c05e45a6efb5a65f6b5b6e77b9d2d9867cf41a71c67eeeeaaf37291e26e810814
+fi
+if [[ $ALPINE_TOPAL == y ]]; then
+        VERSION3=64
+         SOURCE3=topal-package-$VERSION3.tgz
+         SOURCE4=topal-package-$VERSION3.tgz.asc
+  SOURCE3_URL[0]=http://homepage.ntlworld.com/phil.brooke/topal/rel-$VERSION3/$SOURCE3
+  SOURCE4_URL[0]=http://homepage.ntlworld.com/phil.brooke/topal/rel-$VERSION3/$SOURCE4
+     SOURCE3_GPG=50973B91.gpg:$SOURCE4:UPSTREAM_KEY
+  SOURCE4_IGNORE=signature
+fi
         WEB_SITE=http://www.washington.edu/alpine/
          ENTERED=20071028
       LICENSE[0]=APACHE
diff --git a/mail/alpine/HISTORY b/mail/alpine/HISTORY
index f321d02..3f3223d 100644
--- a/mail/alpine/HISTORY
+++ b/mail/alpine/HISTORY
@@ -1,3 +1,12 @@
+2008-10-24 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
+	* 50973B91.gpg: key for topal
+	* INSTALL: added topal install
+	* PREPARE: ask about topal and chappa
+	* PRE_BUILD: added topal and chappa patches
+	* BUILD: added topal build
+	* DEPENDS: added topal depends
+	* DETAILS: added topal and chappa patches
+
 2008-10-21 Kevin Monceaux <Kevin at RawFedDogs.net>
 	* DETAILS: updated spell to 2.00
 	* DEPENDS: made the dependency on MAIL_TRANSPORT_AGENT optional
diff --git a/mail/alpine/INSTALL b/mail/alpine/INSTALL
new file mode 100755
index 0000000..8d82c6f
--- /dev/null
+++ b/mail/alpine/INSTALL
@@ -0,0 +1,6 @@
+default_install &&
+if [[ $ALPINE_TOPAL == y ]] ; then
+pushd topal-$VERSION3 &&
+make install &&
+popd
+fi
diff --git a/mail/alpine/PREPARE b/mail/alpine/PREPARE
new file mode 100755
index 0000000..7955c91
--- /dev/null
+++ b/mail/alpine/PREPARE
@@ -0,0 +1,4 @@
+message "To learn more about chappa patches see:"
+message "http://staff.washington.edu/chappa/alpine/info/all.html"
+config_query ALPINE_CHAPPA "Do you want the chappa patches for alpine?" n
+config_query ALPINE_TOPAL "Do you want the Topal GnuPG/Alpine glue?" n
diff --git a/mail/alpine/PRE_BUILD b/mail/alpine/PRE_BUILD
new file mode 100755
index 0000000..38d49eb
--- /dev/null
+++ b/mail/alpine/PRE_BUILD
@@ -0,0 +1,13 @@
+default_pre_build  &&
+cd $SOURCE_DIRECTORY  &&
+if [[ $ALPINE_CHAPPA == y ]]; then
+verify_file 2 &&
+cp -f $SOURCE_CACHE/$SOURCE2 . &&
+gunzip -f $SOURCE2 &&
+patch -p1 < ${SOURCE2/.gz}
+fi &&
+if [[ $ALPINE_TOPAL == y ]]; then
+unpack_file 3 &&
+patch -p2 < topal-$VERSION3/$SPELL-$VERSION.patch
+fi
+



More information about the SM-Commit mailing list