summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2020-11-05 10:48:23 +0100
committer Willy Sudiarto Raharjo2020-11-07 08:02:36 +0100
commit02b77db9cf87a35f18d636b4f64c5ae23128ae2d (patch)
treeca15488bb39b93f0a9c7ba797b670eba697e062d
parent38862490a5359684c90904b68f4b40cd7ce98d82 (diff)
downloadslackbuilds-02b77db9cf87a35f18d636b4f64c5ae23128ae2d.tar.gz
system/man-pages-ru: Updated for version 5.03_20191017, new maint.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/man-pages-ru/README11
-rw-r--r--system/man-pages-ru/man-pages-ru.SlackBuild33
-rw-r--r--system/man-pages-ru/man-pages-ru.info12
-rw-r--r--system/man-pages-ru/slack-desc10
4 files changed, 37 insertions, 29 deletions
diff --git a/system/man-pages-ru/README b/system/man-pages-ru/README
index f91c1b8bf9..737959c9c1 100644
--- a/system/man-pages-ru/README
+++ b/system/man-pages-ru/README
@@ -1 +1,10 @@
-Russian translation for system man pages version 3.41
+man-pages-ru (Russian system documentation)
+
+Russian translation for system man pages. This requires a terminal
+that can handle UTF-8 (such as konsole, xfce4-terminal, or
+rxvt-unicode), and a UTF-8 locale such as LANG=ru_RU.UTF-8. You'll
+also need a font that displays Cyrillic glyphs (should be included
+with Slackware already).
+
+Sadly, this isn't a complete set of man pages. For instance, there are
+no man pages included for coreutils.
diff --git a/system/man-pages-ru/man-pages-ru.SlackBuild b/system/man-pages-ru/man-pages-ru.SlackBuild
index 568b06ec02..ad1a76d094 100644
--- a/system/man-pages-ru/man-pages-ru.SlackBuild
+++ b/system/man-pages-ru/man-pages-ru.SlackBuild
@@ -22,12 +22,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20201105 bkw: This hasn't been updated in 7+ years, and I'm not sure
+# it ever worked properly with 14.2's man command. Update to latest
+# version and document how to get this stuff to work with man-db and a
+# utf-8 capable terminal.
+
PRGNAM=man-pages-ru
-VERSION=${VERSION:-3.41_20130102} # Set the version to something sane.
+VERSION=${VERSION:-5.03_20191017} # Set the version to something sane.
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=${SRCVERSION:-$(echo $PRGNAM_*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d _ | rev)}
+SRCVERSION="$(echo $PRGNAM_*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d _ | rev)"
ARCH=noarch
@@ -45,27 +50,21 @@ rm -rf $PRGNAM\_$SRCVERSION
tar xvf $CWD/$PRGNAM\_$SRCVERSION.tar.bz2
cd $PRGNAM\_$SRCVERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+# This one is included in Slackware.
+rm man5/passwd.5
-mkdir -p $PKG/usr/man/ru
+mkdir -p $PKG/usr/man/ru.UTF-8
for section in 1 2 3 4 5 6 7 8 ; do
- mv man$section $PKG/usr/man/ru
+ mv man$section $PKG/usr/man/ru.UTF-8
done
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
-# This one is included in Slackware.
-rm $PKG/usr/man/ru/man5/passwd.5.gz
+find $PKG/usr/man -type f -exec gzip -9 {} \+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README License \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README License $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/man-pages-ru/man-pages-ru.info b/system/man-pages-ru/man-pages-ru.info
index 3ea60886d4..8d5e4afdd9 100644
--- a/system/man-pages-ru/man-pages-ru.info
+++ b/system/man-pages-ru/man-pages-ru.info
@@ -1,10 +1,10 @@
PRGNAM="man-pages-ru"
-VERSION="3.41_20130102"
+VERSION="5.03_20191017"
HOMEPAGE="http://man-pages-ru.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/man-pages-ru/files/man-pages-ru_3.41-2145-1724-20130102.tar.bz2"
-MD5SUM="2fc85340225409fe8d5dfbf90b2a0575"
+DOWNLOAD="http://sourceforge.net/projects/man-pages-ru/files/man-pages-ru_5.03-2390-2390-20191017.tar.bz2"
+MD5SUM="0b4bc884e9f94ca107de6a8eaa60f03e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Anton Sil'uev"
-EMAIL="burning2007@ya.ru"
+REQUIRES="man-db"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/system/man-pages-ru/slack-desc b/system/man-pages-ru/slack-desc
index 0255970528..7b7011da1f 100644
--- a/system/man-pages-ru/slack-desc
+++ b/system/man-pages-ru/slack-desc
@@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
man-pages-ru: man-pages-ru (Russian system documentation)
man-pages-ru:
-man-pages-ru: Russian translation files for man pages
-man-pages-ru:
-man-pages-ru: Visit http://man-pages-ru.sourceforge.net/ for details.
-man-pages-ru:
-man-pages-ru:
+man-pages-ru: Russian translation for system man pages. This requires a terminal
+man-pages-ru: that can handle UTF-8 (such as konsole, xfce4-terminal, or
+man-pages-ru: rxvt-unicode), and a UTF-8 locale such as LANG=ru_RU.UTF-8. You'll
+man-pages-ru: also need a font that displays Cyrillic glyphs (should be included
+man-pages-ru: with Slackware already).
man-pages-ru:
man-pages-ru:
man-pages-ru: