1
0
forked from ports/opt

w3m: 0.5.3 -> 0.5.3-37

This commit is contained in:
Danny Rawlins 2019-08-11 21:17:11 +10:00
parent 7ad028408c
commit 92c2c7f671
3 changed files with 15 additions and 16 deletions

View File

@ -8,6 +8,7 @@ drwxr-xr-x root/root usr/lib/w3m/cgi-bin/
-rwxr-xr-x root/root usr/lib/w3m/cgi-bin/dirlist.cgi
-rwxr-xr-x root/root usr/lib/w3m/cgi-bin/multipart.cgi
-rwxr-xr-x root/root usr/lib/w3m/cgi-bin/w3mbookmark
-rwxr-xr-x root/root usr/lib/w3m/cgi-bin/w3mdict.cgi
-rwxr-xr-x root/root usr/lib/w3m/cgi-bin/w3mhelp.cgi
-rwxr-xr-x root/root usr/lib/w3m/cgi-bin/w3mhelperpanel
-rwxr-xr-x root/root usr/lib/w3m/cgi-bin/w3mmail.cgi
@ -21,6 +22,5 @@ drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/w3mman.1.gz
drwxr-xr-x root/root usr/share/w3m/
-rw-r--r-- root/root usr/share/w3m/w3mhelp-funcdesc.en.pl
-rw-r--r-- root/root usr/share/w3m/w3mhelp-funcdesc.ja.pl
-rw-r--r-- root/root usr/share/w3m/w3mhelp-funcname.pl
-rw-r--r-- root/root usr/share/w3m/w3mhelp.html

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/TyqkfpKv0Ty4+7MjLlk8Oh9R+HVmXSEmWS/UQ5b/tVA/eahNSMJKD5lJpb7WQryobg+GtLEoFE3uPGP7NmRQQY=
SHA256 (Pkgfile) = 75c87b85193bb1b89204b8604ba45ef43fc77050b03805af427e8bb2a839ab1d
SHA256 (.footprint) = a614d4d8fdfe2b2eba1f73e543992eede8aa8b3cae8c904a14b9052186b9aae2
SHA256 (w3m-0.5.3.tar.gz) = e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3
RWSE3ohX2g5d/a7OBYWTaay39KcSqT/Lm5rqgSI4D0UJEa8+W/H6WpKq95aFE06mV8EJ8zWWcLghLfxGUMpn5Yq7DgN5fLKXjgs=
SHA256 (Pkgfile) = 2b6ea4d27328e9d94ffe525146d7968d74a019b0f0f9f619493bda534ba3fa5b
SHA256 (.footprint) = fdc7145f1cab09f71a870263e00d1b5179fb65ea3db976df8ed4d9f3c48c58ab
SHA256 (w3m-0.5.3-37.tar.gz) = 39a2e36e48ac97c2288e44f8bfba6130cd625e7c8aadf914d0c3bbd9a3a8ed3a

View File

@ -1,20 +1,19 @@
# Description: Pager that can also be used as a text-based web browser
# URL: http://w3m.sourceforge.net/
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Han Boetes, han at mijncomputer dot dl
# Depends on: boehm-gc
name=w3m
version=0.5.3
release=2
source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version/$name-$version.tar.gz)
version=0.5.3-37
release=1
source=(https://github.com/tats/w3m/archive/debian/$version/$name-$version.tar.gz)
build() {
cd $name-$version
cd $name-debian-$version
sed -i s/showaudio/mplayer/ config.h.in
sed -i '836d' main.c # function type is void
sed -i 's/file_handle/file_foo/' istream.{c,h}
patch -p1 -i debian/patches/010_upstream.patch
patch -p1 -i debian/patches/020_debian.patch
rm -r doc/CVS
./configure \
--prefix=/usr \
@ -22,7 +21,6 @@ build() {
--disable-image \
--disable-gopher \
--disable-japanese \
--disable-kanjisymbols \
--disable-m17n \
--disable-messagel10n \
--disable-nls \
@ -49,6 +47,7 @@ build() {
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/man/ja*
rm -rf $PKG/usr/share/locale/
rm -r $PKG/usr/share/man/{de,ja}
rm $PKG/usr/share/w3m/w3mhelp-funcdesc.{de,ja}.pl
rm -rf $PKG/usr/share/locale
}