summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKr1ss2022-05-19 19:25:30 +0200
committerKr1ss2022-05-19 19:26:42 +0200
commitb36f06912e9f100886e898a63a7225f43d92b7df (patch)
tree433678f1f4e70314a46e4e3b95d76c49f4291faf
parent6577a543cfd5e446bb72fa82ad125402127c2470 (diff)
downloadaur-b36f06912e9f100886e898a63a7225f43d92b7df.tar.gz
adopt package and update: tin 2.6.1-1
upstream release
-rw-r--r--.SRCINFO19
-rw-r--r--[l---------].gitignore8
-rw-r--r--CHANGES32
-rw-r--r--PKGBUILD90
4 files changed, 90 insertions, 59 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c62138305ee..927e910a924d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,9 @@
-# Generated by mksrcinfo v8
-# Sat Jan 16 11:23:52 UTC 2021
pkgbase = tin
- pkgdesc = A threaded NNTP and spool based UseNet newsreader.
- pkgver = 2.4.5
+ pkgdesc = Threaded NNTP and spool based UseNet newsreader
+ pkgver = 2.6.1
pkgrel = 1
url = http://www.tin.org
+ changelog = CHANGES
arch = i686
arch = x86_64
license = BSD
@@ -15,15 +14,11 @@ pkgbase = tin
depends = dante
depends = icu
depends = libidn
- conflicts = tin-unstable
- source = ftp://ftp.tin.org/pub/news/clients/tin/v2.4/tin-2.4.5.tar.gz
+ depends = gsasl
+ options = zipman
+ source = ftp://ftp.tin.org/pub/news/clients/tin/v2.6/tin-2.6.1.tar.gz
source = LICENSE
- md5sums = 303016b1aa8d845cc79d6bd6754a81a8
- md5sums = 22de35b1bdc6f0df87c93ae794198b21
- sha1sums = 833a9970cb65a62a36e0027f27ccfd1be7554862
- sha1sums = 07e1217ee68bb20f0ad2670e84116a0d67243063
- sha256sums = 4a61aaa688d45c3b88b7bc21a29e87f0748dcf3cd53b613ca129e4ea0b7e93a0
+ sha256sums = 6b1bc8c8ab07467bc8dbc845a1c7389339e1beb0244894d7911457efd25a83b5
sha256sums = 5ccb431a94c2d2f093b8f93325075e5ad886772ba2a452478120b86ce71c0683
pkgname = tin
-
diff --git a/.gitignore b/.gitignore
index 25c0564928e0..0cf39ddaf388 120000..100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,7 @@
-/home/aksr/arch/pkg/.gitignore \ No newline at end of file
+*
+
+!.SRCINFO
+!PKGBUILD
+
+!CHANGES
+!LICENSE
diff --git a/CHANGES b/CHANGES
new file mode 100644
index 000000000000..c91b56e3564f
--- /dev/null
+++ b/CHANGES
@@ -0,0 +1,32 @@
+-- 2.6.1 release 20211226 "Convalmore" --
+
+ 004) Michael Baeuerle <michael.baeuerle@stz-e.de>
+ BUG. wrong pkg-config file name for libcanlock3
+ FIX. aclocal.m4
+
+ 003) Urs Janssen <urs@tin.org>
+ ADD. config.guess, config.sub update
+ ADD. don't count comment and empty lines in newsrc-file
+ ADD. fixed mixed declarations and code
+ ADD. const qualification for free_if_not_default() and strfpath_cp()
+ ADD. allow to cancel wait_message() via key press
+ BUG. missing bounds checking in *highlight_string()
+ BUG. use of wint_t in !MULTIBYTE_ABLE code
+ FIX. curses.c, help.c, memory.c, misc.c, newsrc.c, page.c, prompt.c
+ rfc2046.c, screen.c, select.c, tcurses.c, extern.h, tin.5
+ config.guess, config.sub
+
+ 002) Thomas E. Dickey <dickey@invisible-island.net>
+ BUG. missing configure check for get_wch and wget_wch
+ ADD. workaround for possible redefinition of bool type when using
+ pdcurses
+ FIX. autoconf.hin, tcurses.h, tin.h, Makefile.in, aclocal.m4
+ configure[.in]
+
+ 001) Matt Anton <tin@lv223.org>
+ ADD. updated French translation
+ FIX. fr.po
+
+-- 2.6.0 release 20210823 "Coleburn" --
+
+For changes made till the 2.6.0 release look at CHANGES.old
diff --git a/PKGBUILD b/PKGBUILD
index fbc989841f0f..e8928b8d4261 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,51 +1,40 @@
-# Contributor: dorphell <dorphell@archlinux.org>
-# Contributor: akojo
-# Contributor: quizzlo
-# Maintainer: aksr <aksr at t-com dot me>
+# Maintainer : Kr1ss $(tr +- .@ <<<'<kr1ss+x-yandex+com>')
+# Contributor : aksr <aksr at t-com dot me>
+# Contributor : dorphell <dorphell@archlinux.org>
+# Contributor : akojo
+# Contributor : quizzlo
+
+
pkgname=tin
-pkgver=2.4.5
+
+pkgver=2.6.1
pkgrel=1
-pkgdesc="A threaded NNTP and spool based UseNet newsreader."
+
+pkgdesc='Threaded NNTP and spool based UseNet newsreader'
arch=('i686' 'x86_64')
-url="http://www.tin.org"
+url="http://www.$pkgname.org"
license=('BSD')
-depends=('ncurses' 'ispell' 'perl' 'gnupg' 'dante' 'icu' 'libidn')
-conflicts=('tin-unstable')
-source=("ftp://ftp.tin.org/pub/news/clients/tin/v${pkgver%.*}/$pkgname-$pkgver.tar.gz"
+
+depends=('ncurses' 'ispell' 'perl' 'gnupg' 'dante' 'icu' 'libidn' 'gsasl')
+
+changelog=CHANGES
+source=("ftp://ftp.$pkgname.org/pub/news/clients/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.gz"
'LICENSE')
-md5sums=('303016b1aa8d845cc79d6bd6754a81a8'
- '22de35b1bdc6f0df87c93ae794198b21')
-sha1sums=('833a9970cb65a62a36e0027f27ccfd1be7554862'
- '07e1217ee68bb20f0ad2670e84116a0d67243063')
-sha256sums=('4a61aaa688d45c3b88b7bc21a29e87f0748dcf3cd53b613ca129e4ea0b7e93a0'
+sha256sums=('6b1bc8c8ab07467bc8dbc845a1c7389339e1beb0244894d7911457efd25a83b5'
'5ccb431a94c2d2f093b8f93325075e5ad886772ba2a452478120b86ce71c0683')
+options=('zipman')
+
+
build() {
- cd $srcdir/$pkgname-$pkgver
- unset CFLAGS
- unset CPPFLAGS
- ./configure --prefix=/usr --mandir=/usr/share/man \
- --enable-shell-escape \
- --enable-nntp \
- --enable-nls \
- --enable-ipv6 \
- --enable-append-pid \
- --enable-posting \
- --enable-piping \
- --enable-locale \
- --enable-xhdr-xref \
- --with-spool-dir=/var/spool/news \
- --with-ispell=/usr/bin/ispell \
- --with-gpg=/usr/bin/gpg \
- --with-pcre=/usr \
- --with-screen=ncursesw \
- --with-inews-dir=/usr/lib/news \
- --with-libdir=/usr/lib/news \
- --with-coffee \
- --with-socks \
- --with-socks5 \
- --disable-prototypes \
- --disable-echo
+ cd "$pkgname-$pkgver"
+ unset CFLAGS CPPFLAGS
+ ./configure --prefix=/usr --mandir=/usr/share/man --enable-shell-escape --enable-nntp --enable-nls \
+ --enable-ipv6 --enable-append-pid --enable-posting --enable-piping --enable-locale \
+ --enable-xhdr-xref --with-spool-dir=/var/spool/news --with-ispell=/usr/bin/ispell \
+ --with-pcre=/usr --with-gpg=/usr/bin/gpg --with-screen=ncursesw \
+ --with-coffee --with-socks --with-socks5 --disable-prototypes --disable-echo \
+ --with-inews-dir=/var/lib/news --with-libdir=/var/lib/news
# --with-domain-name (default: unset)
# --with-nntp-default-server (default: news.$DOMAIN_NAME)
# --with-shell=PROG (default: sh, except on BSD where csh is used)
@@ -58,11 +47,20 @@ build() {
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
- rm -f $pkgdir/usr/share/man/man5/mbox.5
- rm -f $pkgdir/usr/share/man/man5/mmdf.5
- mv $pkgdir/usr/bin/url_handler.pl $pkgdir/usr/bin/tin_url_handler.pl
- install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm755 {tools/,"$pkgdir/usr/bin/$pkgname"_}url_handler.sh
+ install -Dm644 README -t"$pkgdir/usr/share/doc/$_name/"
+ install -Dm644 ../LICENSE -t"$pkgdir/usr/share/licenses/$pkgname/"
+ cd doc
+ install -Dm644 *.3 -t"$pkgdir/usr/share/man/man3/"
+ install -Dm644 l10n/es/*.1 -t"$pkgdir/usr/share/man/es/man1/"
+ install -Dm644 l10n/es/*.5 -t"$pkgdir/usr/share/man/es/man5/"
+ install -Dm644 l10n/de/*.1 -t"$pkgdir/usr/share/man/de/man1/"
+ install -Dm644 l10n/de/*.5 -t"$pkgdir/usr/share/man/de/man5/"
+ ln -s {,"$pkgdir/usr/bin/$pkgname"_}url_handler.pl
+ rm "$pkgdir/usr/share/man/man5"/m{box,mdf}.5 # conflicts with the `mutt` package
}
+
+# vim: ts=2 sw=2 et ft=PKGBUILD: