--- admin/PlamoBuild.template.common.without_comment 2016-06-15 20:51:13.000000000 +0900 +++ plamo/01_minimum/network.txz/old/procmail-20160929/PlamoBuild.procmail-3.22 2016-09-29 01:04:34.000000000 +0900 @@ -1,15 +1,17 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://www.ring.gr.jp/archives/net/mail/procmail/procmail-3.22.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src.new/plamo/01_minimum/network.txz/procmail/procmail-3.22-glibc-2.10.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src.new/plamo/01_minimum/network.txz/procmail/CVE-2014-3618.patch.gz" +pkgbase=procmail +vers=3.22 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="procmail-3.22-glibc-2.10.patch.gz CVE-2014-3618.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="Artistic COPYING FAQ FEATURES HISTORY INSTALL KNOWN_BUGS README" ###################################################################### fscheck() { @@ -252,7 +254,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make LOCKINGTEST=/tmp fi done fi @@ -269,9 +271,12 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install BASENAME=$P/usr VISIBLE_BASENAME=/usr \ + MANDIR=$P/usr/share/man fi done + chgrp mail $P/usr/bin/{procmail,lockfile} + chmod +s $P/usr/bin/{procmail,lockfile} touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -297,6 +302,7 @@ convert 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/share/man/man5 | 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 mv $pkg.tar.xz $pkg.txz