summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorVlad Glagolev2017-09-23 20:01:06 -0400
committerVlad Glagolev2017-09-23 20:01:06 -0400
commitc0e69e84927963add5f67415800483a2bb3e6ed2 (patch)
tree7bd6c73734e103022f392ad95e95f3681fcccb74 /news
parentbd239a6f0094959c63c457d093c679393ae5f284 (diff)
tin: => 2.4.1
Diffstat (limited to 'news')
-rwxr-xr-xnews/tin/CONFIGURE2
-rwxr-xr-xnews/tin/DEPENDS39
-rwxr-xr-xnews/tin/DETAILS42
-rwxr-xr-xnews/tin/FINAL6
-rw-r--r--news/tin/HISTORY5
-rwxr-xr-xnews/tin/INSTALL9
-rwxr-xr-xnews/tin/PRE_REMOVE4
7 files changed, 78 insertions, 29 deletions
diff --git a/news/tin/CONFIGURE b/news/tin/CONFIGURE
index 234810456a..a009ce928f 100755
--- a/news/tin/CONFIGURE
+++ b/news/tin/CONFIGURE
@@ -1,2 +1,2 @@
-config_query CREATE_DIR "$SPELL needs /usr/lib/news/active directory, \
+config_query CREATE_DIR "$SPELL needs /usr/lib/news/active file, \
do you want to create one ?" y
diff --git a/news/tin/DEPENDS b/news/tin/DEPENDS
new file mode 100755
index 0000000000..3513d7405d
--- /dev/null
+++ b/news/tin/DEPENDS
@@ -0,0 +1,39 @@
+depends ncurses '--with-screen=ncursesw' &&
+
+optional_depends pcre \
+ "--with-pcre=${INSTALL_ROOT}/usr" \
+ "--without-pcre" \
+ "to use system PCRE library" &&
+
+optional_depends gnupg \
+ "--enable-pgp-gpg" \
+ "--disable-pgp-gpg" \
+ "for PGP/GPG support" &&
+
+optional_depends ispell \
+ "--with-ispell" \
+ "--without-ispell" \
+ "for spell checking support" &&
+
+optional_depends metamail \
+ "--with-metamail" \
+ "--without-metamail" \
+ "to use viewer program for MIME articles" &&
+
+optional_depends gsasl \
+ "--enable-gsasl" \
+ "--disable-gsasl" \
+ "for GNU SASL support" &&
+
+optional_depends gettext \
+ "--enable-nls --without-included-gettext" \
+ "--disable-nls" \
+ "for Native Language Support" &&
+
+optional_depends icu "" "" "for Unicode support" &&
+
+if ! is_depends_enabled ${SPELL} icu; then
+ optional_depends libidn "" "" "for IDN support"
+fi &&
+
+optional_depends uudeview "" "" "for decoding and collecting multipart binary articles"
diff --git a/news/tin/DETAILS b/news/tin/DETAILS
index 38b57ac4e4..630c481c55 100755
--- a/news/tin/DETAILS
+++ b/news/tin/DETAILS
@@ -1,30 +1,28 @@
SPELL=tin
- VERSION=1.8.1
- SOURCE=$SPELL-$VERSION.tar.bz2
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=ftp://ftp.tin.org/pub/news/clients/tin/stable/$SOURCE
- SOURCE_URL[1]=http://gd.tuwien.ac.at/infosys/newsreaders/tin/$SOURCE
- SOURCE_URL[2]=ftp://ftp.ut.ee/pub/unix/networking/news/tin/stable/$SOURCE
- SOURCE_URL[3]=ftp://ftp.funet.fi/pub/unix/news/tin-unoff/$SOURCE
- SOURCE_URL[4]=ftp://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/$SOURCE
- SOURCE_URL[5]=ftp://ftp.karlsruhe.org/pub/news/clients/tin-unoff/$SOURCE
- SOURCE_URL[6]=ftp://ftp.akk.uni-karlsruhe.de/pub/news/clients/tin/stable/$SOURCE
- SOURCE_URL[7]=ftp://ftp.cs.tu-berlin.de/pub/net/news/tin/stable/$SOURCE
- SOURCE_URL[8]=ftp://ftp.informatik.uni-hamburg.de/pub/soft/news/tin/stable/$SOURCE
- SOURCE_URL[9]=ftp://ftp.eee.hku.hk/pub/tin-unoff/$SOURCE
- SOURCE_URL[10]=ftp://ftp.ka.nu/pub/news/clients/tin/stable/$SOURCE
- SOURCE_URL[11]=ftp://sunsite.icm.edu.pl/pub/unix/news/tin/stable/$SOURCE
- SOURCE_URL[12]=ftp://ftp.task.gda.pl/pub/software/tin/stable/$SOURCE
- SOURCE_URL[13]=ftp://coda.nctu.edu.tw/network/news/tin/stable/$SOURCE
- SOURCE_URL[14]=ftp://ftp.stikman.com/pub/tin/$SOURCE
- SOURCE_URL[15]=ftp://uiarchive.uiuc.edu/pub/ftp/ftp.tin.org/pub/news/clients/tin/stable/$SOURCE
- SOURCE_URL[16]=ftp://download.sourcemage.org/pub/linux/distributions/sourcemage/mirror/$SOURCE
- SOURCE_HASH=sha512:5cc668f39fd54e1327432cba1d38b6e033f9fc5a4463fe52e4a4857be402cf45d4bb9797f7192a55b0ffd7b7c7c93851222bb8dab3595b474c14eb162ce30b15
+ VERSION=2.4.1
+ BRANCH=`echo ${VERSION} | cut -d. -f1,2`
+ SOURCE=${SPELL}-${VERSION}.tar.bz2
+ SOURCE2=${SOURCE}.sign
+ SOURCE_URI=${SPELL}/v${BRANCH}/${SOURCE}
+ SOURCE_URL[0]=ftp://ftp.tin.org/pub/news/clients/${SOURCE_URI}
+ SOURCE_URL[1]=http://ftp.funet.fi/pub/unix/news/${SOURCE_URI}
+ SOURCE_URL[2]=ftp://ftp.funet.fi/pub/unix/news/${SOURCE_URI}
+ SOURCE_URL[3]=http://www.nic.funet.fi/pub/unix/news/${SOURCE_URI}
+ SOURCE_URL[4]=ftp://www.nic.funet.fi/pub/unix/news/${SOURCE_URI}
+ SOURCE_URL[5]=http://ftp.lip6.fr/pub/unix/news/readers/tin-unoff/${SOURCE}
+ SOURCE_URL[6]=ftp://ftp.lip6.fr/pub/unix/news/readers/${SPELL}-unoff/${SOURCE}
+ SOURCE_URL[7]=ftp://ftp.karlsruhe.org/pub/news/clients/${SOURCE_URI}
+ SOURCE_URL[8]=http://ftp.cuhk.edu.hk/pub/packages/news/${SOURCE_URI}
+ SOURCE_URL[9]=ftp://ftp.cuhk.edu.hk/pub/packages/news/${SOURCE_URI}
+ SOURCE_URL[10]=http://sunsite.icm.edu.pl/pub/unix/news/${SOURCE_URI}
+ SOURCE_URL[11]=ftp://sunsite.icm.edu.pl/pub/unix/news/${SOURCE_URI}
+ SOURCE_HASH=sha512:e5036226899d2bee339b070d7bbd1450db2eca6e807bab9fe5e0cad5b27fd3779310ab308824c800d349d555c5386d36f2d2401d943d7ae1600af10847c5145b
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
WEB_SITE=http://www.tin.org
ENTERED=20010922
LICENSE[0]=http://www.tin.org
KEYWORDS="reader news"
- SHORT="tin is a powerful text mode news reader."
+ SHORT="powerful text mode news reader"
cat << EOF
Tin is a powerful text mode news reader. It features threaded news
reading, regex driven killfiles/message selections, pgp encryption,
diff --git a/news/tin/FINAL b/news/tin/FINAL
index ff2e84c1bc..1193d0042c 100755
--- a/news/tin/FINAL
+++ b/news/tin/FINAL
@@ -1,6 +1,4 @@
-if [ "$CREATE_DIR" == "y" ] && [ ! -d /usr/lib/news/active ]; then
+if [ "$CREATE_DIR" == "y" ] && [ ! -f /usr/lib/news/active ]; then
mkdir /usr/lib/news 1>/dev/null 2>&1
- mkdir /usr/lib/news/active 1>/dev/null 2>&1
+ touch /usr/lib/news/active 1>/dev/null 2>&1
fi
-
-
diff --git a/news/tin/HISTORY b/news/tin/HISTORY
index 2e85fa4f3d..bbc41cb7a4 100644
--- a/news/tin/HISTORY
+++ b/news/tin/HISTORY
@@ -1,3 +1,8 @@
+2017-09-23 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS: updated spell to 2.4.1; refreshed source list
+ * DEPENDS: added, for missing dependencies
+ * CONFIGURE, FINAL, PRE_REMOVE: corrected active file
+
2006-10-03 Juuso Alasuutari <iuso@sourcemage.org>
* DETAILS: [automated] Removed UPDATED.
diff --git a/news/tin/INSTALL b/news/tin/INSTALL
new file mode 100755
index 0000000000..1347e43dc0
--- /dev/null
+++ b/news/tin/INSTALL
@@ -0,0 +1,9 @@
+default_install &&
+
+local TIN_CONFDIR="${INSTALL_ROOT}/etc/tin" &&
+
+if [ ! -d "${TIN_CONFDIR}" ]; then
+ install -vm 755 -d "${TIN_CONFDIR}"
+fi &&
+
+install_config_file doc/tin.defaults "${TIN_CONFDIR}/tin.defaults"
diff --git a/news/tin/PRE_REMOVE b/news/tin/PRE_REMOVE
index e84544d78b..539ce814bc 100755
--- a/news/tin/PRE_REMOVE
+++ b/news/tin/PRE_REMOVE
@@ -1,3 +1,3 @@
-if [ -d /usr/lib/news/active ]; then
- message "${MESSAGE_COLOR}$SPELL used /usr/lib/news/active directory. It was not removed. ${DEFAULT_COLOR}"
+if [ -f /usr/lib/news/active ]; then
+ message "${MESSAGE_COLOR}$SPELL used /usr/lib/news/active file. It was not removed. ${DEFAULT_COLOR}"
fi