# HG changeset patch # User Aleksej Bobylev # Date 1427292027 -7200 # Node ID f9a21d0369a2f88eb7a0be274b3aecbaee9f7f6b # Parent c654a2bb95d01b145d4ee4375af93b33578759e1 Up: nano (2.4.0) diff -r c654a2bb95d0 -r f9a21d0369a2 nano/receipt --- a/nano/receipt Wed Mar 25 12:50:26 2015 +0100 +++ b/nano/receipt Wed Mar 25 16:00:27 2015 +0200 @@ -1,23 +1,20 @@ # SliTaz package receipt. PACKAGE="nano" -VERSION="2.3.6" +VERSION="2.4.0" CATEGORY="utilities" SHORT_DESC="GNU Nano Text Editor" MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" WEB_SITE="http://www.nano-editor.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}dist/v2.3/$TARBALL" +WGET_URL="${WEB_SITE}dist/v${VERSION%.*}/$TARBALL" TAGS="text-editor" HOST_ARCH="i486 arm" -TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733" -VERSION_NOTE="latest stable" - -DEPENDS="ncursesw" +DEPENDS="ncursesw zlib" SUGGESTED="gpm" -BUILD_DEPENDS="ncursesw-dev" +BUILD_DEPENDS="ncursesw-dev zlib-dev groff" # Rules to configure and make the package. compile_rules() @@ -38,6 +35,8 @@ $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/nano $fs/usr/share + # Config file. - cp $stuff/nanorc $fs/etc + cp $src/doc/nanorc.sample $fs/etc/nanorc + cd $fs; patch -p0 < $stuff/nano.patch } diff -r c654a2bb95d0 -r f9a21d0369a2 nano/stuff/nano.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nano/stuff/nano.patch Wed Mar 25 16:00:27 2015 +0200 @@ -0,0 +1,190 @@ +--- ./etc/nanorc ++++ ./etc/nanorc +@@ -1,10 +1,6 @@ +-## Sample initialization file for GNU nano. ++## /etc/nanorc: system-wide initialization file for GNU nano ++## ~/.nanorc for personal config file. + ## +-## Please note that you must have configured nano with --enable-nanorc +-## for this file to be read! Also note that this file should not be in +-## DOS or Mac format, and that characters specially interpreted by the +-## shell should not be escaped here. +-## + ## To make sure an option is disabled, use "unset