--- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/mailx/PlamoBuild.mailx-12.5 2017-06-15 15:19:53.000000000 +0900 @@ -1,18 +1,36 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_12.5.orig.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/nail-11.25-config.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/mailx-12.3-pager.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/mailx-12.5-collect.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/mailx-12.5-fname-null.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/mailx-12.5-lzw.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/mailx-12.5-man-page-fixes.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/mailx-12.5-usage.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/0001-outof-Introduce-expandaddr-flag.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/0002-unpack-Disable-option-processing-for-email-addresses.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/0003-fio.c-Unconditionally-require-wordexp-support.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/mailx/0004-globname-Invoke-wordexp-with-WRDE_NOCMD-CVE-2004-277.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=mailx +vers=12.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P3 +src=heirloom-mailx-$vers +patchfiles="nail-11.25-config.patch.gz mailx-12.3-pager.patch.gz + mailx-12.5-collect.patch.gz mailx-12.5-fname-null.patch.gz + mailx-12.5-lzw.patch.gz mailx-12.5-man-page-fixes.patch.gz + mailx-12.5-usage.patch.gz + 0001-outof-Introduce-expandaddr-flag.patch.gz + 0002-unpack-Disable-option-processing-for-email-addresses.patch.gz + 0003-fio.c-Unconditionally-require-wordexp-support.patch.gz + 0004-globname-Invoke-wordexp-with-WRDE_NOCMD-CVE-2004-277.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog INSTALL README TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -49,7 +67,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make SENDMAIL=/usr/sbin/sendmail fi done fi @@ -61,7 +79,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P PREFIX=/usr UCBINSTALL=/usr/bin/install fi done touch $W/i.et @@ -72,6 +90,7 @@ setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P etc/nail.rc tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz