[SM-Commit] GIT changes to master grimoire by Elisamuel Resto (3495285de6dac17b6395c5addf333b9a0882404c)

Elisamuel Resto scm at sourcemage.org
Tue Oct 30 19:03:09 EDT 2007


GIT changes to master grimoire by Elisamuel Resto <ryuji at mages.ath.cx>:

 ChangeLog                                           |    4 ++
 mail/alpine/BUILD                                   |   13 ++++++++
 mail/alpine/CONFIGURE                               |    8 +++++
 mail/alpine/DEPENDS                                 |   14 +++++++++
 mail/alpine/DETAILS                                 |   29 ++++++++++++++++++++
 mail/alpine/HISTORY                                 |    2 +
 python-devel/hellanzb/DEPENDS                       |   15 ++++++++++
 python-devel/hellanzb/DETAILS                       |   17 +++++++++++
 python-devel/hellanzb/HISTORY                       |    8 +++++
 python-devel/hellanzb/INSTALL                       |    2 +
 python-devel/hellanzb/PRE_BUILD                     |    2 +
 python-devel/hellanzb/hellanzb-0.13-datafiles.patch |   24 ++++++++++++++++
 12 files changed, 138 insertions(+)

New commits:
commit 3495285de6dac17b6395c5addf333b9a0882404c
Author: Elisamuel Resto <ryuji at mages.ath.cx>
Commit: Elisamuel Resto <ryuji at mages.ath.cx>

    python-devel/hellanzb: new spell, python usenet file downloader

commit 38b3058a620031938766b66ce29c8342a6fb2ba8
Author: Elisamuel Resto <ryuji at mages.ath.cx>
Commit: Elisamuel Resto <ryuji at mages.ath.cx>

    mail/alpine: new spell, lightweight terminal mail reader like pine

diff --git a/ChangeLog b/ChangeLog
index 9bdc4e3..6e0c6ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-30 Elisamuel Resto <ryuji at mages.ath.cx>
+	* mail/alpine: new spell, lightweight terminal mail reader like pine
+	* python-devel/hellanzb: new spell, python usenet file downloader
+
 2007-10-30 Treeve Jelbert <treeve at sourcemage.org>
 	* kde4/kdebase4-runtime: new spell
 
diff --git a/mail/alpine/BUILD b/mail/alpine/BUILD
new file mode 100755
index 0000000..9447ed2
--- /dev/null
+++ b/mail/alpine/BUILD
@@ -0,0 +1,13 @@
+if echo $OPTS | grep -q with-ssl; then
+  message "${MESSAGE_COLOR}Building with OpenSSL...${DEFAULT_COLOR}" &&
+  ALPINE_OPTS="${ALPINE_OPTS}                                        \
+           --with-ssl-dir=$INSTALL_ROOT/usr                          \
+           --with-ssl-certs-dir=$INSTALL_ROOT/etc/ssl/certs          \
+           --with-ssl-include-dir=$INSTALL_ROOT/usr/include/openssl  \
+           --with-ssl-lib-dir=$INSTALL_ROOT/usr/lib"
+else
+  message "${MESSAGE_COLOR}Building without OpenSSL...${DEFAULT_COLOR}"
+fi &&
+
+OPTS="${OPTS} --with-system-pinerc=/etc/pinerc --with-c-client-target=slx ${ALPINE_OPTS}" &&
+default_build
diff --git a/mail/alpine/CONFIGURE b/mail/alpine/CONFIGURE
new file mode 100755
index 0000000..373c227
--- /dev/null
+++ b/mail/alpine/CONFIGURE
@@ -0,0 +1,8 @@
+config_query_option ALPINE_OPTS "Do you want NLS support?" y   \
+                                "--enable-nls" "--disable-nls"  &&
+
+config_query_option ALPINE_OPTS "Do you want IPv6 support?" n  \
+                                "--with-ipv6" "--without-ipv6" &&
+
+config_query_option ALPINE_OPTS "Do you want iconv support?" n \
+                                "--with-libiconv-prefix" "--without-libiconv-prefix"
diff --git a/mail/alpine/DEPENDS b/mail/alpine/DEPENDS
new file mode 100755
index 0000000..7c15b66
--- /dev/null
+++ b/mail/alpine/DEPENDS
@@ -0,0 +1,14 @@
+depends MAIL-TRANSPORT-AGENT &&
+
+optional_depends openssl '--with-ssl-dir' '--without-ssl'                    \
+                         'for SSL/TLS support'                               &&
+
+# it doesn't detect TCL as much as i have tried
+#optional_depends tcl '--with-tcl-lib'  '--without-tcl'                       \
+#                     'for Web Alpine support'                                &&
+
+optional_depends openldap '--with-ldap-dir' '--without-ldap'                 \
+                          'for LDAP support'                                 &&
+
+optional_depends krb5 '--with-krb5-dir' '--without-krb5'                     \
+                      'for Kerberos support'
diff --git a/mail/alpine/DETAILS b/mail/alpine/DETAILS
new file mode 100755
index 0000000..bf71e46
--- /dev/null
+++ b/mail/alpine/DETAILS
@@ -0,0 +1,29 @@
+           SPELL=alpine
+         VERSION=0.9999
+     SOURCE_HASH=sha512:a04e4557d2b3481ab19aa24da0e2210a599ada8f54a1725695e6e4aaee50b98132705d96a94177514957f2c1353fc512bc0ad555d60434bb44de96590ca6b108
+          SOURCE=${SPELL}-${VERSION}.tar.bz2
+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}
+        WEB_SITE=http://www.washington.edu/alpine/
+         ENTERED=20071028
+      LICENSE[0]=APACHE
+           SHORT="Alpine consists of a UNIX command-line program, a PC version, and a Web version."
+cat << EOF
+In late 2005, Computing & Communications at the University of Washington
+began a project to create a new family of email tools built upon the Pine
+Message System. This family of tools is called Alpine. Alpine consists of
+a UNIX command-line program, a PC version, and a Web version.
+
+Why Alpine? The Pine Team wanted to reorganize the very mature Pine source
+code, distribute the Web version that has been very popular here at the
+Univerity of Washington, and relax our trademark obligation for source
+code quality control to a world-wide customer base.
+
+The trademark obligation represents an ongoing administrative effort.
+Coincidentally, the UW is standardizing its license for the several other
+products we offer to the Apache License, Version 2.0.
+
+The cleanest way to do all this was to stop developing Pine (a registered
+trademark) and start a new product - thus Alpine was born.
+EOF
diff --git a/mail/alpine/HISTORY b/mail/alpine/HISTORY
new file mode 100644
index 0000000..147ac10
--- /dev/null
+++ b/mail/alpine/HISTORY
@@ -0,0 +1,2 @@
+2007-10-30 Elisamuel Resto <ryuji at mages.ath.cx>
+	* BUILD, CONFIGURE, DEPENDS, DETAILS: spell created from current c-client spell.
diff --git a/python-devel/hellanzb/DEPENDS b/python-devel/hellanzb/DEPENDS
new file mode 100755
index 0000000..af1f98d
--- /dev/null
+++ b/python-devel/hellanzb/DEPENDS
@@ -0,0 +1,15 @@
+depends twisted     &&
+depends par2cmdline &&
+depends unrar       &&
+optional_depends flac \
+                 "" \
+                 "" \
+                 "for flac audio files management" &&
+#optional_depends mac \
+#                 "" \
+#                 "" \
+#                 "for monkey audio file management" &&
+optional_depends libnotify \
+                 "" \
+                 "" \
+                 "for libnotfy support"
diff --git a/python-devel/hellanzb/DETAILS b/python-devel/hellanzb/DETAILS
new file mode 100755
index 0000000..726b003
--- /dev/null
+++ b/python-devel/hellanzb/DETAILS
@@ -0,0 +1,17 @@
+           SPELL=hellanzb
+         VERSION=0.13
+          SOURCE="${SPELL}-${VERSION}.tar.gz"
+   SOURCE_URL[0]=http://www.hellanzb.com/distfiles/${SOURCE}
+     SOURCE_HASH=sha512:74f35f4f6e9dfae940952580854da782c3c3d057f375fcdf193c0584c8a79e4cb290a83f7fbdc99e6aeeec74b5d32f6c8535585f9f3caeb76eade8af6f15f6cd
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+        WEB_SITE="http://www.hellanzb.com/"
+      LICENSE[0]=BSD
+         ENTERED=20071006
+           SHORT="hellanzb is a Python application designed for *nix environments that retrieves nzb files and fully processes them."
+cat << EOF
+hellanzb is a Python application designed for *nix environments that retrieves
+nzb files and fully processes them. The goal being to make getting files
+from Usenet (e.g.: Giganews Newsgroups) as hands-free as possible. Once fully
+installed, all thats required is moving an nzb file to the queue directory. The
+rest; fetching, par-checking, un-raring, etc. is taken care of by hellanzb.
+EOF
diff --git a/python-devel/hellanzb/HISTORY b/python-devel/hellanzb/HISTORY
new file mode 100644
index 0000000..99dbe28
--- /dev/null
+++ b/python-devel/hellanzb/HISTORY
@@ -0,0 +1,8 @@
+2007-10-25 Elisamuel Resto <ryuji at mages.ath.cx>
+	* INSTALL: created, install the sample config file
+
+2007-10-24 Elisamuel Resto <ryuji at mages.ath.cx>
+	* PRE_BUILD, hellanzb-0.13-datafiles.patch: Remove insalling of config and docs into non-fhs location
+
+2007-10-06 Elisamuel Resto <ryuji at mages.ath.cx>
+	* DETAILS, DEPENDS, HISTORY: created spell
diff --git a/python-devel/hellanzb/INSTALL b/python-devel/hellanzb/INSTALL
new file mode 100755
index 0000000..9310866
--- /dev/null
+++ b/python-devel/hellanzb/INSTALL
@@ -0,0 +1,2 @@
+default_install &&
+install_config_file etc/hellanzb.conf.sample $INSTALL_ROOT/etc/hellanzb.conf
diff --git a/python-devel/hellanzb/PRE_BUILD b/python-devel/hellanzb/PRE_BUILD
new file mode 100755
index 0000000..a4473ff
--- /dev/null
+++ b/python-devel/hellanzb/PRE_BUILD
@@ -0,0 +1,2 @@
+default_pre_build &&
+patch -p1 < $SPELL_DIRECTORY/$SPELL-$VERSION-datafiles.patch
diff --git a/python-devel/hellanzb/hellanzb-0.13-datafiles.patch b/python-devel/hellanzb/hellanzb-0.13-datafiles.patch
new file mode 100644
index 0000000..78e1171
--- /dev/null
+++ b/python-devel/hellanzb/hellanzb-0.13-datafiles.patch
@@ -0,0 +1,24 @@
+diff -Naur hellanzb-0.13/Hellanzb/Core.py hellanzb-0.13/Hellanzb/Core.py
+--- hellanzb-0.13/Hellanzb/Core.py	2007-03-27 00:20:43.000000000 -0400
++++ hellanzb-0.13/Hellanzb/Core.py	2007-10-25 10:04:38.831982064 -0400
+@@ -39,6 +39,7 @@
+     try:
+         confDirs.append(os.path.join(os.getcwd(), 'etc'))
+         confDirs.append(os.getcwd())
++        confDirs.append('/etc')
+     except OSError, ose:
+         if ose.errno != 2:
+             raise
+diff -Naur ./hellanzb-0.13/setup.py ./hellanzb-0.13/setup.py
+--- hellanzb-0.13/setup.py	2007-03-27 00:20:43.000000000 -0400
++++ hellanzb-0.13/setup.py	2007-10-25 10:02:28.970175892 -0400
+@@ -38,8 +38,7 @@
+         packages = [ 'Hellanzb', 'Hellanzb.NZBLeecher', 'Hellanzb.HellaXMLRPC',
+                      'Hellanzb.external', 'Hellanzb.external.elementtree' ],
+         scripts = [ 'hellanzb.py' ],
+-        data_files = [ ( 'etc', [ 'etc/hellanzb.conf.sample' ] ),
+-                       ( 'share/doc/hellanzb', [ 'CHANGELOG', 'CREDITS', 'README', 'LICENSE' ] ) ],
++        data_files = [ ( 'share/doc/hellanzb', [ 'CHANGELOG', 'CREDITS', 'README', 'LICENSE' ] ) ],
+         )
+     py2app_options = dict(
+         app = [ 'hellanzb.py' ],



More information about the SM-Commit mailing list