--- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/libwmf/PlamoBuild.libwmf-0.2.8.4 2019-10-23 13:07:36.000000000 +0900 @@ -1,19 +1,32 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/wvware/libwmf-0.2.8.4.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/libwmf/01_player.c-integer-overflow-cve-2006-3376.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/libwmf/02_font.c-always-check-generated-fontmap.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/libwmf/03_font.c-compare-fonts-by-name.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/libwmf/04_gd-gd_clip.c-use-after-free-cve-2009-1364.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/libwmf/05_gdk-pixbuf-loader-dir.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/libwmf/CVE-2015-0848_CVE-2015-4588_CVE-2015-4695_CVE-2015-4696.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/libwmf/CVE-2016-9011.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libwmf +vers=0.2.8.4 arch=`uname -m` -build=P1 +build=P7 src=$pkgbase-$vers -patchfiles="" +patchfiles="01_player.c-integer-overflow-cve-2006-3376.patch.gz + 02_font.c-always-check-generated-fontmap.patch.gz + 03_font.c-compare-fonts-by-name.patch.gz + 04_gd-gd_clip.c-use-after-free-cve-2009-1364.patch.gz + 05_gdk-pixbuf-loader-dir.patch.gz + CVE-2015-0848_CVE-2015-4588_CVE-2015-4695_CVE-2015-4696.patch.gz + CVE-2016-9011.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS TODO BUILDING CREDITS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +55,8 @@ if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ - --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} + --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} \ + --x-libraries=/usr/$libdir fi done fi @@ -70,11 +84,19 @@ TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_libdir $P/usr/$libdir/gdk-pixbuf-2.0/2.10.0/loaders setup_docdir + mv $docdir/libwmf $docdir/$src/doc + mv $docdir/$src/{doc,{$func,$myname,$spec}.gz} $C + mv $C/{doc,{$func,$myname,$spec}.gz} $docdir/$src + touch -r $S $docdir/$src convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` - tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P usr/include/libwmf + tar rvpf $pkg.tar -C $P usr/share/libwmf tar rvpf $pkg.tar -C $P usr/share/doc/$src + tar rvpf $pkg.tar -C $P install/doinst.sh TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup