--- plamo/04_xapps/print.txz/old/cups-20180625/PlamoBuild.cups-2.0.0 2018-06-25 20:04:13.000000000 +0900 +++ plamo/04_xapps/print.txz/cups/PlamoBuild.cups-2.0.0 2020-11-14 23:43:51.000000000 +0900 @@ -10,13 +10,13 @@ pkgbase=cups vers=2.0.0 arch=`uname -m` -build=P2 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="--disable-systemd" DOCS="CHANGES-*.txt CHANGES.txt CREDITS.txt INSTALL.txt IPPTOOL.txt LICENSE.txt README.txt" -template=20170713 +template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -80,8 +80,8 @@ done touch $W/i.et cd $W - find $P ! -type l -newer i.st ! -newer i.et \ - -exec touch -t `date '+%m%d0900'` {} \; + TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ + -exec touch -t `date -u '+%m%d0000'` {} \; compress for i in backend filter cgi-bin monitor notifier daemon ; do strip_bindir $P/usr/lib/cups/$i @@ -95,6 +95,7 @@ mv $C/{$func,$myname,$spec}.gz $docdir/$src touch -r $S $docdir/$src convert_links + prune_symlink $P/etc/rc.d touch -t `date '+%m%d0900'` $P/usr/lib/cups/{backend,filter} tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` @@ -107,7 +108,7 @@ tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.po` tar rvpf $pkg.tar -C $P var/{cache,run,log,spool}/cups tar rvpf $pkg.tar -C $P etc/cups - tar rvpf $pkg.tar -C $P `cd $P ; find etc/rc.d/init.d | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/rc.d -type f` tar rvpf $pkg.tar -C $P `cd $P ; find etc/pam.d | tail -n+2` tar rvpf $pkg.tar -C $P `cd $P ; find etc/dbus-1/system.d | tail -n+2` tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` @@ -116,7 +117,7 @@ tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man8 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src tar rvpf $pkg.tar -C $P install/doinst.sh - touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz - mv $pkg.tar.xz $pkg.txz + TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar + xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup fi