--- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/acl/PlamoBuild.acl-2.2.51 2019-10-14 07:58:40.000000000 +0900 @@ -1,17 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.savannah.gnu.org/releases/acl/acl-2.2.51.src.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=acl +vers=2.2.51 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README `echo doc/{{extensions,libacl}.txt,TODO,PORTING,CHANGES}` + `echo doc/{COPYING,COPYING.LGPL,INSTALL,old-acl.5}`" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -60,19 +61,36 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install-dev install-lib DIST_ROOT=$P fi done + chown -R root.root $P/usr touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/examples $docdir/$src + rm $docdir/$src/examples/Makefile + chmod -R o+r $docdir/$src/examples + chown -R root.root $docdir/$src/examples + mv $docdir/$src/{examples,{$func,$myname,$spec}.gz} $C + mv $C/{examples,{$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $docdir/$src{,/doc,/examples} convert_links + prune_symlink $P/usr/libexec tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/sys | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/acl + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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/man3 | 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 + 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/at/PlamoBuild.at-3.1.13 2017-04-01 18:24:42.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="http://repository.timesys.com/buildsources/a/at/at-3.1.13/at-3.1.13.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=at +vers=3.1.13 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog Copyright Problems README timespec" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -60,9 +60,17 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install IROOT=$P fi done + install -d $P/etc/pam.d + cat <<- "EOF" > $P/etc/pam.d/atd + #%PAM-1.0 + auth sufficient pam_rootok.so + auth include system-auth + account required pam_permit.so + session required pam_limits.so + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,8 +79,15 @@ setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P etc/at.deny + tar rvpf $pkg.tar -C $P `cd $P ; find etc/pam.d | tail -n+2` + tar rvpf $pkg.tar -C $P var/spool/at{spool,jobs} 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 `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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/attr/PlamoBuild.attr-2.4.44 2017-04-09 13:29:21.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.savannah.gnu.org/releases/attr/attr-2.4.44.src.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=attr +vers=2.4.44 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README `echo doc/{INSTALL,PORTING,CHANGES,COPYING}`" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -60,19 +60,36 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install-dev install-lib DIST_ROOT=$P fi done + chown -R root.root $P/usr touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/examples $docdir/$src + rm $docdir/$src/examples/Makefile + chmod -R o+r $docdir/$src/examples + chown -R root.root $docdir/$src/examples + mv $docdir/$src/{examples,doc,{$func,$myname,$spec}.gz} $C + mv $C/{examples,doc,{$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $docdir/$src{,/examples,/doc} convert_links + prune_symlink $P/usr/libexec tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/attr + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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/man2 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 + 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/bash/PlamoBuild.bash-4.3.30 2017-04-09 13:30:34.000000000 +0900 @@ -1,17 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/bash/bash-4.3.30.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=bash +vers=4.3.30 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src[0]=$pkgbase-$vers +src[1]=${src[0]} patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG[0]="--bindir=/bin --without-bash-malloc --with-installed-readline" +OPT_CONFIG[1]="${OPT_CONFIG[0]} --enable-static-link" +DOCS="ABOUT-NLS AUTHORS ChangeLog CHANGES COMPAT COPYING INSTALL + NEWS NOTES POSIX RBASH README Y2K" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -60,19 +63,30 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + case $i in + 0) make install htmldir=/usr/share/doc/html DESTDIR=$P ;; + 1) install bash $P/bin/bash-static ;; + esac fi done + ln -s bash $P/bin/sh touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/html $docdir/$src + mv $docdir/$src/{html,{$func,$myname,$spec}.gz} $C + mv $C/{html,{$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 cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/00_base/btrfs_progs/PlamoBuild.btrfs_progs-v4.12.1 2018-12-26 13:56:19.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v4.12.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=btrfs_progs +vers=v4.12.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=btrfs-progs-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--bindir=/sbin" +DOCS="CHANGES COPYING INSTALL README.md" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,13 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/btrfs + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/bzip2/PlamoBuild.bzip2-1.0.6 2017-04-01 19:15:12.000000000 +0900 @@ -1,17 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=bzip2 +vers=1.0.6 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE README README.COMPILATION.PROBLEMS README.XML.STUFF + CHANGES" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,6 +36,10 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + sed -i -e 's@\@$(LIBDIR)@g' -e 's@\@share/&@g' \ + -e '/ln/s@$(PREFIX)/bin/@@' Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -48,6 +53,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then + make -f Makefile-libbz2_so make fi done @@ -60,9 +66,16 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install PREFIX=$P/usr LIBDIR=$libdir fi done + install -d $P/bin + install bzip2-shared $P/bin/bzip2 + ln -sf /bin/bzip2 $P/usr/bin + install -d $P/$libdir + install libbz2.so.$vers $P/$libdir + ln -s libbz2.so.$vers $P/$libdir/libbz2.so.${vers%.*} + ln -s /$libdir/libbz2.so.$vers $P/usr/$libdir/libbz2.so touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -70,9 +83,14 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/00_base/coreutils/PlamoBuild.coreutils-8.25 2017-12-02 19:11:47.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/coreutils/coreutils-8.25.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=coreutils +vers=8.25 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-install-program=arch + --enable-no-install-program=uptime,kill --without-gmp" +DOCS="COPYING TODO INSTALL THANKS ChangeLog-2006 ChangeLog-2008 NEWS + ChangeLog ChangeLog-2007 README ChangeLog-2005 AUTHORS ABOUT-NLS + THANKS-to-translators" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +40,18 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p po/Makevars{,.orig} + sed 's@EXTRA_LOCALE_CATEGORIES@#&@g' po/Makevars.orig > po/Makevars + cp -p src/copy.c{,.orig} + sed 's@FASTREAD@NONE@g' src/copy.c.orig > src/copy.c for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} \ + FORCE_UNSAFE_CONFIGURE=1 fi done fi @@ -65,16 +74,32 @@ make install DESTDIR=$P fi done + install -d $P/{sbin,bin} + mv $P/usr/bin/sleep $P/sbin ; ln -s /sbin/sleep $P/usr/bin + for i in chroot stty df cat chgrp chmod chown cp cut date dd dircolors \ + du echo false head ln ls mkdir mkfifo mknod mv pwd rm rmdir shred \ + sync touch true uname ; do + mv $P/usr/bin/$i $P/bin ; ln -s /bin/$i $P/usr/bin + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/libexec/coreutils + touch -t `date '+%m%d0900'` $P/usr/libexec/coreutils setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + prune_symlink $P/usr/share/locale + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/coreutils + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/cracklib/PlamoBuild.cracklib-2.8.18 2017-04-09 13:31:44.000000000 +0900 @@ -1,17 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/cracklib/cracklib-2.8.18.tar.gz + http://downloads.sourceforge.net/cracklib/cracklib-words-20080507.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/cracklib/cracklib-2.8.15-heimdal-1.patch" verify= commitid= -pkgbase= -vers= +pkgbase=cracklib +vers=2.8.18 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="cracklib-2.8.15-heimdal-1.patch" +OPT_CONFIG="--with-default-dict=/lib/cracklib/pw_dict" +DOCS="README-WORDS README-DAWG NEWS AUTHORS INSTALL ABOUT-NLS + README-LICENSE README COPYING.LIB ChangeLog" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -63,6 +66,15 @@ make install DESTDIR=$P fi done + install -d $P/$libdir + cp -p $P/usr/$libdir/libcrack.so.2.8.1 $P/$libdir + ln -sf /$libdir/libcrack.so.2.8.1 $P/usr/$libdir/libcrack.so.2 + ln -sf /$libdir/libcrack.so.2.8.1 $P/usr/$libdir/libcrack.so + install -d $P/usr/share/dict + zcat $W/cracklib-words-20080507.gz > $P/usr/share/dict/cracklib-words + echo `hostname` >> $P/usr/share/dict/cracklib-extra-words + ln -s cracklib-words $P/usr/share/dict/words + install -d $P/lib/cracklib touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -70,9 +82,27 @@ compress setup_docdir 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` + prune_symlink $P/usr/share/dict + rm $P/usr/$libdir/libcrack.so.2.8.1 + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + EOF + cat <<- "EOF" >> $P/install/doinst.sh + create-cracklib-dict /usr/share/dict/cracklib-words \ + /usr/share/dict/cracklib-extra-words + #%% end + EOF + touch -t `date '+%m%d0900'` $P/usr/share/dict $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/{cracklib,dict} + tar rvpf $pkg.tar -C $P lib/cracklib 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/dcron/PlamoBuild.dcron-4.5 2017-04-01 20:02:12.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.jimpryor.net/linux/releases/dcron-4.5.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=dcron +vers=4.5 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README CHANGELOG CHANGELOG.working" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,6 +35,49 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p extra/crond.rc{,.orig} + cat <<- "EOF" | patch extra/crond.rc + 3,5c3,5 + < . /etc/rc.conf + < . /etc/rc.d/functions + < . /etc/conf.d/crond + --- + > #. /etc/rc.conf + > #. /etc/rc.d/functions + > #. /etc/conf.d/crond + 10c10 + < stat_busy "Starting Cron Daemon" + --- + > echo "Starting Cron Daemon" + 15c15 + < if [[ -z $PID ]] && env -i PATH="/sbin:/usr/sbin:/bin:/usr/bin" /usr/sbin/crond $CROND_ARGS; then + --- + > if [[ -z $PID ]] && env -i PATH="/sbin:/usr/sbin:/bin:/usr/bin" /usr/sbin/crond -S -l info; then + 19,20c19 + < add_daemon crond + < stat_done + --- + > echo "crond started" + 22c21 + < stat_fail + --- + > echo "crond failed to start" + 28c27 + < stat_busy "Stopping Cron Daemon" + --- + > echo "Stopping Cron Daemon" + 30,31c29,30 + < rm_daemon crond + < stat_done + --- + > rm -f /var/run/crond.pid + > echo "crond stopped" + 33c32 + < stat_fail + --- + > echo "crond failed to stop" + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -48,7 +91,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make PREFIX=/usr fi done fi @@ -60,9 +103,25 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install DESTDIR=$P fi done + install extra/run-cron $P/usr/sbin + install extra/prune-cronstamps $P/etc/cron.d + install -m 600 extra/root.crontab $P/var/spool/cron/crontabs/root + cat <<- "EOF" > $P/var/spool/cron/crontabs/nobody + # This updates the database for 'locate' every day: + 40 4 * * * updatedb 1> /dev/null 2> /dev/null + EOF + chmod 600 $P/var/spool/cron/crontabs/nobody + chown nobody.nogroup $P/var/spool/cron/crontabs/nobody + install -d $P/etc/cron.{hourly,daily,weekly,monthly} + cat <<- "EOF" >> $P/etc/cron.daily/logrotate + logrotate /etc/logrotate.conf + EOF + chmod 755 $P/etc/cron.daily/logrotate + install -d $P/etc/rc.d/init.d + install -m 744 extra/crond.rc $P/etc/rc.d/init.d/crond touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -70,8 +129,13 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P etc/cron.{d,hourly,daily,weekly,monthly} + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/crond + tar rvpf $pkg.tar -C $P var/spool/cron 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/man8 | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/00_base/dhcp/PlamoBuild.dhcp-4.3.3 2018-02-02 15:10:53.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.isc.org/isc/dhcp/4.3.3/dhcp-4.3.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=dhcp +vers=4.3.3 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-srv-lease-file=/var/db/dhcpd.leases + --with-srv6-lease-file=/var/db/dhcpd6.leases + --with-cli-lease-file=/var/db/dhclient.leases + --with-cli6-lease-file=/var/db/dhclient6.leases" +DOCS="LICENSE README RELNOTES" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +40,15 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p client/scripts/linux{,.orig} + cat <<- "EOF" | patch client/scripts/linux + 24a25,26 + > PATH=/sbin/:$PATH + > + EOF + cp -p client/dhclient.conf.example{,.orig} + sed -i '/^script/s@etc@sbin@g' client/dhclient.conf.example for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,6 +77,9 @@ make install DESTDIR=$P fi done + install -d $P/sbin + install client/scripts/linux $P/sbin/dhclient-script + install -d $P/var/db touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +87,33 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + install -d $P/install + cat <<- "EOF" > $P/install/doinst.sh + dhc_config() { + mv etc/$1.conf.example /tmp + if [ -f etc/$1.conf ] ; then + mv /tmp/$1.conf.example etc/$1.conf.dist + else + mv /tmp/$1.conf.example etc/$1.conf + fi + } + + for i in dhclient dhcpd ; do dhc_config $i ; done + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc | tail -n+2` + tar rvpf $pkg.tar -C $P var/db 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/dialog/PlamoBuild.dialog-1.3_20160828 2017-04-09 13:32:38.000000000 +0900 @@ -1,17 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://invisible-island.net/dialog/dialog-1.3-20160828.tgz" verify= commitid= -pkgbase= -vers= +pkgbase=dialog +vers=1.3_20160828 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase-1.3-20160828 patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--bindir=/bin --enable-nls --with-shared --with-ncursesw + --enable-widec" +DOCS="CHANGES README COPYING" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -39,7 +40,7 @@ cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --libdir=/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -47,7 +48,7 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + if [ -f makefile ] ; then make fi done @@ -59,7 +60,7 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + if [ -f makefile ] ; then make install DESTDIR=$P fi done @@ -70,9 +71,12 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/dosfstools/PlamoBuild.dosfstools-3.0.26 2017-04-01 20:48:24.000000000 +0900 @@ -1,17 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://mirror.opencompute.org/onie/dosfstools-3.0.26.tar.xz" verify= commitid= -pkgbase= -vers= +pkgbase=dosfstools +vers=3.0.26 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo doc/{TODO.dosfstools-2.x,README.dosfsck,ChangeLog.dosfstools-2.x}` + `echo doc/{ChangeLog.mkdosfs,ChangeLog.dosfsck,README.mkdosfs}` + `echo doc/{ANNOUNCE.mkdosfs,README.dosfstools-2.x}` + COPYING VERSION ChangeLog" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -60,7 +63,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 fi done touch $W/i.et @@ -68,11 +71,14 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $mandir/de/man8 setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man8 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/de/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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/dump/PlamoBuild.dump-0.4b44 2017-04-01 21:00:30.000000000 +0900 @@ -1,17 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.net/sourceforge/dump/dump-0.4b44.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/dump/dump-0.4b41-destdir.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/dump/dump-0.4b44-com_err.patch.gz" verify= commitid= -pkgbase= -vers= +pkgbase=dump +vers=0.4b44 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="`echo dump-0.4b4{1-destdir,4-com_err}.patch.gz`" +OPT_CONFIG="--disable-transselinux" +DOCS="COPYRIGHT TODO KNOWNBUGS REPORTING-BUGS README THANKS CHANGES + MAINTAINERS INSTALL" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -60,7 +63,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install DESTDIR=$P fi done touch $W/i.et @@ -69,10 +72,21 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/examples $docdir/$src + chmod -R g-w $docdir/$src/examples + chown -R root.root $docdir/$src/examples + mv $docdir/$src/{examples,{REPORTING-BUGS,README,THANKS}.gz} $C + mv $docdir/$src/{CHANGES,MAINTAINERS,INSTALL}.gz $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{examples,{REPORTING-BUGS,README,THANKS}.gz} $docdir/$src + mv $C/{CHANGES,MAINTAINERS,INSTALL}.gz $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/e2fsprogs/PlamoBuild.e2fsprogs-1.43.3 2017-04-01 21:11:11.000000000 +0900 @@ -1,17 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.43.3.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=e2fsprogs +vers=1.43.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-elf-shlibs --disable-libuuid --disable-libblkid + --disable-fsck --disable-e2initrd-helper --disable-uuidd + --with-root-prefix=" +DOCS="INSTALL.elfbin RELEASE-NOTES README NOTICE ABOUT-NLS INSTALL + SUBMITTING-PATCHES" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,6 +38,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch == x86_64 ] ; then + cp -p configure{,.orig} + sed -i '/^ root_libdir=/s@$libdir@/lib64@g' configure + fi + cp -p misc/mke2fs.conf.in{,.orig} + sed -i 's@,dir_index@@g' misc/mke2fs.conf.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -61,6 +71,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + make install-libs DESTDIR=$P fi done touch $W/i.et @@ -70,9 +81,23 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/et usr/share/ss + tar rvpf $pkg.tar -C $P etc/mke2fs.conf + tar rvpf $pkg.tar -C $P usr/share/info/libext2fs.info.gz 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/ed/PlamoBuild.ed-1.5 2017-04-01 21:29:07.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="http://gnu.raffsoftware.com/ed/ed-1.5.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=ed +vers=1.5 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -63,16 +63,20 @@ make install DESTDIR=$P fi done + touch $P/usr/bin/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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/info | 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 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 cleanup --- admin/PlamoBuild.template.common.without_comment 2016-06-15 20:51:13.000000000 +0900 +++ plamo/00_base/efibootmgr/PlamoBuild.efibootmgr-git_20150630 2015-12-28 15:37:31.000000000 +0900 @@ -1,15 +1,15 @@ -#!/bin/sh +#!/bin/sh -x ###################################################################### -url="" -pkgbase= -vers= +url="https://github.com/vathpela/efibootmgr.git + http://plamo.linet.gr.jp/~tamuki/src/efibootmgr-add-efi_guid_zero.patch" +pkgbase=efibootmgr +vers=git_20150630 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P2 +src=$pkgbase OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING INSTALL README `echo doc/{ChangeLog,TODO}`" ###################################################################### fscheck() { @@ -186,35 +186,20 @@ fi if [ $opt_download -eq 1 ] ; then for i in $url ; do - if [ ! -f ${i##*/} ] ; then - wget $i ; j=${i%.*} - for sig in asc sig{,n} {sha{256,1},md5}{,sum} ; do - if wget --spider $i.$sig ; then wget $i.$sig ; break ; fi - if wget --spider $j.$sig ; then - case ${i##*.} in - gz) gunzip -c ${i##*/} > ${j##*/} ;; - bz2) bunzip2 -c ${i##*/} > ${j##*/} ;; - xz) unxz -c ${i##*/} > ${j##*/} ;; - esac - touch -r ${i##*/} ${j##*/} ; i=$j ; wget $i.$sig ; break - fi - done - if [ -f ${i##*/}.$sig ] ; then - case $sig in - asc|sig|sign) gpg2 --verify ${i##*/}.$sig ;; - sha256|sha1|md5) ${sig}sum -c ${i##*/}.$sig ;; - *) $sig -c ${i##*/}.$sig ;; - esac - if [ $? -ne 0 ] ; then echo "archive verify failed" ; exit ; fi - fi - fi + case ${i##*.} in + git) if [ ! -d `basename ${i##*/} .git` ] ; then git clone $i ; else + ( cd `basename ${i##*/} .git` ; git pull origin master ) ; fi ;; + *) if [ ! -f ${i##*/} ] ; then wget $i ; fi ;; + esac done for i in $url ; do case ${i##*.} in tar) tar xvpf ${i##*/} ;; - gz|tgz) tar xvpzf ${i##*/} ;; - bz2|tbz) tar xvpjf ${i##*/} ;; - xz|txz) tar xvpJf ${i##*/} ;; + gz) tar xvpzf ${i##*/} ;; + bz2) tar xvpjf ${i##*/} ;; + git) ( cd `basename ${i##*/} .git` + git checkout origin/master ; git reset --hard 000eb00 + git set-file-times ) ;; esac done fi @@ -222,17 +207,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done - for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} - for j in ${patchfiles[$i]} ; do - case ${j##*.} in - gz) gunzip -c $W/$j | patch -Np1 -i - ;; - bz2) bunzip2 -c $W/j | patch -Np1 -i - ;; - xz) unxz -c $W/$j | patch -Np1 -i - ;; - *) patch -Np1 -i $W/$j ;; - esac - done - done + cd $B + patch -Np1 -i $W/efibootmgr-add-efi_guid_zero.patch for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then @@ -242,8 +218,8 @@ rm -rf config.cache config.log fi if [ -x configure ] ; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + ./configure --prefix=/usr --libdir='${exec_prefix}'/$libdir \ + --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done --- admin/PlamoBuild.template.common.without_comment 2016-06-15 20:51:13.000000000 +0900 +++ plamo/00_base/efivar/PlamoBuild.efivar-git_20151006 2015-12-28 15:29:36.000000000 +0900 @@ -1,15 +1,14 @@ -#!/bin/sh +#!/bin/sh -x ###################################################################### -url="" -pkgbase= -vers= +url="https://github.com/rhinstaller/efivar.git" +pkgbase=efivar +vers=git_20151006 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P2 +src=$pkgbase OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README.md TODO" ###################################################################### fscheck() { @@ -186,35 +185,20 @@ fi if [ $opt_download -eq 1 ] ; then for i in $url ; do - if [ ! -f ${i##*/} ] ; then - wget $i ; j=${i%.*} - for sig in asc sig{,n} {sha{256,1},md5}{,sum} ; do - if wget --spider $i.$sig ; then wget $i.$sig ; break ; fi - if wget --spider $j.$sig ; then - case ${i##*.} in - gz) gunzip -c ${i##*/} > ${j##*/} ;; - bz2) bunzip2 -c ${i##*/} > ${j##*/} ;; - xz) unxz -c ${i##*/} > ${j##*/} ;; - esac - touch -r ${i##*/} ${j##*/} ; i=$j ; wget $i.$sig ; break - fi - done - if [ -f ${i##*/}.$sig ] ; then - case $sig in - asc|sig|sign) gpg2 --verify ${i##*/}.$sig ;; - sha256|sha1|md5) ${sig}sum -c ${i##*/}.$sig ;; - *) $sig -c ${i##*/}.$sig ;; - esac - if [ $? -ne 0 ] ; then echo "archive verify failed" ; exit ; fi - fi - fi + case ${i##*.} in + git) if [ ! -d `basename ${i##*/} .git` ] ; then git clone $i ; else + ( cd `basename ${i##*/} .git` ; git pull origin master ) ; fi ;; + *) if [ ! -f ${i##*/} ] ; then wget $i ; fi ;; + esac done for i in $url ; do case ${i##*.} in tar) tar xvpf ${i##*/} ;; - gz|tgz) tar xvpzf ${i##*/} ;; - bz2|tbz) tar xvpjf ${i##*/} ;; - xz|txz) tar xvpJf ${i##*/} ;; + gz) tar xvpzf ${i##*/} ;; + bz2) tar xvpjf ${i##*/} ;; + git) ( cd `basename ${i##*/} .git` + git checkout origin/master ; git reset --hard 88c3ca8 + git set-file-times ) ;; esac done fi @@ -222,17 +206,13 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done - for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} - for j in ${patchfiles[$i]} ; do - case ${j##*.} in - gz) gunzip -c $W/$j | patch -Np1 -i - ;; - bz2) bunzip2 -c $W/j | patch -Np1 -i - ;; - xz) unxz -c $W/$j | patch -Np1 -i - ;; - *) patch -Np1 -i $W/$j ;; - esac - done - done + cd $B + cp -p Make.defaults{,.orig} + sed -i 's@-O0@-Os@g' Make.defaults + cp -p src/test/Makefile{,.orig} + sed -i '/^ccldflags/s@$(TOPDIR)/src/$@$(LIBDIR)@' src/test/Makefile + cp -p src/Makefile{,.orig} + sed -i 's@LIBS=dl@& popt@g' src/Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then @@ -242,8 +222,8 @@ rm -rf config.cache config.log fi if [ -x configure ] ; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + ./configure --prefix=/usr --libdir='${exec_prefix}'/$libdir \ + --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -252,7 +232,9 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + ( cd src ; make include/efivar/efivar-guids.h libefivar.so \ + libefiboot.so ) + make efivar-static fi done fi --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/eject/PlamoBuild.eject-2.1.5 2017-04-05 23:15:50.000000000 +0900 @@ -1,17 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.caixamagica.pt/anvil/pool/main/e/eject/eject_2.1.5+deb1+cvs20081104.orig.tar.gz + http://ftp.caixamagica.pt/anvil/pool/main/e/eject/eject_2.1.5+deb1+cvs20081104-8.diff.gz" verify= commitid= -pkgbase= -vers= +pkgbase=eject +vers=2.1.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P4 +src=$pkgbase-$vers+deb1+cvs20081104 +patchfiles="eject_2.1.5+deb1+cvs20081104-8.diff.gz" OPT_CONFIG="" -DOCS="README" +DOCS="TODO NEWS PORTING COPYING INSTALL README AUTHORS PROBLEMS ChangeLog" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,6 +36,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + ./bootstrap for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,6 +74,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 `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/extipl/PlamoBuild.extipl-5.04 2017-04-05 12:50:47.000000000 +0900 @@ -1,17 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.jp/extipl/2166/extipl-5.04.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/extipl/extipl-5.04-syscall.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/extipl/extipl-5.04-x86_64.patch.gz + http://jaist.dl.sourceforge.net/sourceforge/nasm/nasm-0.98.38.tar.bz2" verify= commitid= -pkgbase= -vers= +pkgbase=extipl +vers=5.04 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo doc/{English,Japanese}/{extipl,scorpius,techical}.txt` + COPYING README" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,6 +39,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch != x86_64 ] ; then + gunzip -c $W/extipl-5.04-syscall.patch.gz | patch -Np1 -i - + else + gunzip -c $W/extipl-5.04-x86_64.patch.gz | patch -Np1 -i - + fi + mkdir -p $W/nasm/{bin,man/man1} + cd $W/nasm-0.98.38 + ./configure --prefix=$W/nasm + make install + PATH="$W/nasm/bin:$PATH" for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -51,6 +66,7 @@ make fi done + cd src ; make fi if [ $opt_package -eq 1 ] ; then root_priv @@ -63,6 +79,9 @@ make install DESTDIR=$P fi done + cd src ; make -i install install-jman PREFIX=$P \ + MANDIR=$mandir JMANDIR=$mandir/ja_JP.eucJP + rm -rf $P/share touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -70,8 +89,9 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man8 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/ja_JP.eucJP/man8 | 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/fbset/PlamoBuild.fbset-2.1 2017-04-05 12:56:59.000000000 +0900 @@ -1,17 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://users.telenet.be/geertu/Linux/fbdev/fbset-2.1.tar.gz + http://archive.debian.org/debian/pool/main/f/fbset/fbset_2.1-23.diff.gz" verify= commitid= -pkgbase= -vers= +pkgbase=fbset +vers=2.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="fbset_2.1-23.diff.gz" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,6 +36,10 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in `cat debian/patches/series` ; do + patch -Np1 -i debian/patches/$i + done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,8 +75,10 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P etc/fb.modes 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/file/PlamoBuild.file-5.22 2017-04-05 13:10:47.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.astron.com/pub/file/file-5.22.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=file +vers=5.22 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO MAINT" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,15 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/misc | 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/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | 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 + 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/findutils/PlamoBuild.findutils-4.6.0 2017-04-05 13:24:09.000000000 +0900 @@ -1,17 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/findutils/findutils-4.6.0.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=findutils +vers=4.6.0 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ABOUT-NLS README AUTHORS README-hacking NEWS THANKS INSTALL COPYING + ChangeLog tool-versions.txt ChangeLog-2013 README-alpha TODO" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -63,6 +64,8 @@ make install DESTDIR=$P fi done + rm -rf $P/usr/{bin/{locate,updatedb},libexec} + rm -rf $mandir/{man1/{locate,updatedb}.1,man5} touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,6 +74,8 @@ setup_docdir 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/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/gawk/PlamoBuild.gawk-4.1.4 2017-04-09 13:33:14.000000000 +0900 @@ -1,17 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gawk/gawk-4.1.4.tar.xz" verify= commitid= -pkgbase= -vers= +pkgbase=gawk +vers=4.1.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--without-mpfr" +DOCS="POSIX.STD NEWS `echo README_d/{README.zos,ChangeLog{,.0}}` + `echo README_d/README.{hacking,VMS,os2,multibyte,pc,zLinux,tests}` + `echo README_d/README.{solaris,bootstrap,macosx,gcc-3,mpfr}` + ChangeLog ChangeLog.0 ABOUT-NLS README NEWS.0 COPYING INSTALL + AUTHORS" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -68,11 +72,22 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec/awk + strip_libdir $P/usr/$libdir/gawk + touch -t `date '+%m%d0900'` $P/usr/libexec/awk $P/usr/$libdir/gawk setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/awk + tar rvpf $pkg.tar -C $P usr/$libdir/gawk + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/awk + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/00_base/glibc/PlamoBuild.glibc-2.20 2018-04-21 17:04:05.000000000 +0900 @@ -1,19 +1,32 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/glibc/glibc-2.20.tar.xz + http://www.linuxfromscratch.org/patches/downloads/glibc/glibc-2.19-fhs-1.patch + http://ftp.su.se/pub/mirrors/lunar-linux.org/lunar/patches/glibc-2.20-do_ftell_wide-memleak.patch + http://ftp.su.se/pub/mirrors/lunar-linux.org/lunar/patches/glibc-2.20-getifaddrs_internal-segfault.patch + http://ftp.su.se/pub/mirrors/lunar-linux.org/lunar/patches/glibc-2.20-linux-3.16-additions.patch + http://slackware.cs.utah.edu/pub/slackware/slackware-current/source/l/glibc/glibc-c-utf8-locale.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/glibc/CVE-2015-7547.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/glibc/CVE-2015-8776.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/glibc/CVE-2015-8778.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/glibc/CVE-2015-8779.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=glibc +vers=2.20 arch=`uname -m` -build=P1 +build=P9 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="glibc-2.19-fhs-1.patch glibc-2.20-do_ftell_wide-memleak.patch + glibc-2.20-getifaddrs_internal-segfault.patch + glibc-2.20-linux-3.16-additions.patch glibc-c-utf8-locale.patch.gz + `echo CVE-2015-{7547,877{6,8,9}}.patch`" +OPT_CONFIG="--enable-kernel=2.6.32 --enable-obsolete-rpc" +DOCS="BUGS CONFORMANCE COPYING* ChangeLog* INSTALL LICENSES NEWS + PROJECTS README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,20 +42,52 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done - apply_patches + false && apply_patches + cd $S2 + for j in $patchfiles ; do + case ${j##*.} in + gz) gunzip -c $W/$j | patch -Np1 -i - ;; + *) patch -Np1 -i $W/$j ;; + esac + done + cp -p localedata/Makefile{,.orig} + cat <<- "EOF" | patch localedata/Makefile + 235a236 + > --no-archive \ + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -x configure ] ; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + case $arch in + i686) + cat <<- "EOF" > configparms ;; + CFLAGS += -march=i486 -mtune=native -O3 -pipe + EOF + x86_64) + cat <<- "EOF" > configparms ;; + slibdir=/lib64 + CFLAGS += -march=x86-64 -mtune=generic -O3 -pipe + EOF + armv7l) + cat <<- "EOF" > configparms ;; + CFLAGS += -march=armv7-a -mtune=native -O3 -pipe + EOF + esac + if [ -x ${S2[$i]}/configure ] ; then + ${S2[$i]}/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]} \ + --libexecdir=/usr/$libdir/glibc \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --target=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -63,18 +108,118 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + ln -s $P/usr/share/locale $P/usr/$libdir + make localedata/install-locales DESTDIR=$P fi done + find $P/usr/$libdir -maxdepth 1 ! -type d -exec rm {} \; + mv $P/usr/$libdir/{gconv,glibc,audit} $C + mv $C/{gconv,glibc,audit} $P/usr/$libdir + ln -sf /usr/share/locale $P/usr/$libdir + ln -s ja_JP.eucJP $P/usr/share/locale/ja_JP + mv $P/usr/share/locale/{ja,ja_JP.eucJP} + ln -s ja_JP.eucJP $P/usr/share/locale/ja + gunzip $P/usr/share/i18n/charmaps/EUC-JP.gz + localedef -f $P/usr/share/i18n/charmaps/EUC-JP \ + -i $P/usr/share/i18n/locales/ja_JP \ + $P/usr/share/locale/ja_JP.eucJP + gzip $P/usr/share/i18n/charmaps/EUC-JP + install -d $P/usr/share/locale/ja_JP.UTF-8 + gunzip $P/usr/share/i18n/charmaps/UTF-8.gz + localedef -f $P/usr/share/i18n/charmaps/UTF-8 \ + -i $P/usr/share/i18n/locales/ja_JP \ + $P/usr/share/locale/ja_JP.UTF-8 + gzip $P/usr/share/i18n/charmaps/UTF-8 + cat <<- EOF > $P/etc/ld.so.conf.new + /usr/local/$libdir + /opt/kde/$libdir + /usr/$libdir/sasl2 + /usr/$libdir/pstoedit + /usr/heimdal/$libdir + /usr/$libdir/xulrunner + /opt/mariadb/$libdir + /opt/mysql/$libdir + /opt/pgsql/$libdir + EOF + cat <<- "EOF" > $P/etc/nsswitch.conf.new + # /etc/nsswitch.conf + # + # Name Service Switch configuration file. + # + + passwd: files db nis + shadow: files + group: files db nis + + hosts: files nisplus nis dns + networks: files nisplus + + ethers: files db nisplus + protocols: files db nisplus + rpc: files db nisplus + services: files db nisplus + autofs: files + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gconv + strip_bindir $P/usr/$libdir/glibc/getconf + strip_libdir $P/usr/$libdir/audit + touch -t `date '+%m%d0900'` $P/usr/$libdir/{gconv,glibc/getconf,audit} setup_docdir 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` + prune_symlink $P/usr/share/locale + touch -t `date '+%m%d0900'` $P/usr/share/locale + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + EOF + cat <<- "EOF" >> $P/install/doinst.sh + glibc_config() { + mv /etc/$1.conf.new /tmp + if [ -f /etc/$1.conf ] ; then + mv /tmp/$1.conf.new /etc/$1.conf.dist + else + mv /tmp/$1.conf.new /etc/$1.conf + fi + } + + echo "glibc パッケージの初期化中" + # 既存の ld.so.conf が無ければ,新しく ld.so.conf.new を + # ld.so.conf とするが,あればそのままにしておく. + glibc_config ld.so + ldconfig + + # 既存の nsswitch.conf が無ければ,新しく nsswitch.conf.new を + # nsswitch.conf とするが,あればそのままにしておく. + glibc_config nsswitch + + echo "glibc タイムゾーン設定中" + # 既存の localtime があればそのまま,無ければ JST で作る. + if [ ! -f /etc/localtime ] ; then + TIMEZONE="Japan" + ln -sf posix/$TIMEZONE /usr/share/zoneinfo/localtime + cp -p /usr/share/zoneinfo/localtime /etc/localtime + fi + + echo "glibc パッケージの初期化完了" + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 | tail -n+2` +# tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/{i18n,locale} +# tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc | tail -n+2` + tar rvpf $pkg.tar -C $P var/lib/nss_db 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/grep/PlamoBuild.grep-2.20 2017-04-05 23:21:23.000000000 +0900 @@ -1,17 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/grep/grep-2.20.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/grep/0001-fix-CVE-2015-1345.patch" verify= commitid= -pkgbase= -vers= +pkgbase=grep +vers=2.20 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="0001-fix-CVE-2015-1345.patch" +OPT_CONFIG="--disable-perl-regexp" +DOCS="INSTALL NEWS README AUTHORS ABOUT-NLS COPYING THANKS TODO + ChangeLog-2009 README-alpha README-release ChangeLog" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +73,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 `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/groff/PlamoBuild.groff-1.18.1.1 2017-04-06 07:40:57.000000000 +0900 @@ -1,17 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/groff/old/groff-1.18.1.1.tar.gz + https://launchpad.net/ubuntu/+archive/primary/+files/groff_1.18.1.1-20.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/groff/groff-1.18.1.1-fix-minus-char.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/groff/groff-1.18.1.1-polyfill_fix.patch.gz" verify= commitid= -pkgbase= -vers= +pkgbase=groff +vers=1.18.1.1 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="groff_1.18.1.1-20.diff.gz + `echo groff-1.18.1.1-{fix-minus-char,polyfill_fix}.patch.gz`" +OPT_CONFIG="--enable-multibyte" +DOCS="BUG-REPORT COPYING ChangeLog FDL INSTALL* MANIFEST MORE.STUFF + NEWS PROBLEMS PROJECTS README* REVISION TODO VERSION" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -60,19 +65,48 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + install -d $P/usr + make install prefix=$P/usr fi done + ln -s tbl $P/usr/bin/gtbl + ln -s eqn $P/usr/bin/geqn + gdocdir=$docdir/groff/1.18.1 + dt=`LANG=C date '+%a %b %e 09:00:00 %Y'` + sed -i "s/\(CreationDate:\).*$/\1 $dt/g" $gdocdir/{examples/,}*.ps + sed -i "s/\(CreationDate:\).*\(-->\)/\1 $dt \2/g" \ + $gdocdir/{examples,html}/*.html touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $gdocdir/{html,examples,me{ref,intro}.me,pic.ms} $docdir/$src + mv $gdocdir/{me{ref,intro},pic}.ps $docdir/$src + mv $docdir/$src/{html,examples,me{ref,intro}.me,pic.ms} $C + mv $docdir/$src/{me{ref,intro},pic}.ps $C + mv $docdir/$src/{BUG-REPORT,COPYING,ChangeLog,FDL,INSTALL*}.gz $C + mv $docdir/$src/{MANIFEST,MORE.STUFF,NEWS,PROBLEMS,PROJECTS}.gz $C + mv $docdir/$src/{README*,REVISION,TODO,VERSION}.gz $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{html,examples,me{ref,intro}.me,pic.ms} $docdir/$src + mv $C/{me{ref,intro},pic}.ps $docdir/$src + mv $C/{BUG-REPORT,COPYING,ChangeLog,FDL,INSTALL*}.gz $docdir/$src + mv $C/{MANIFEST,MORE.STUFF,NEWS,PROBLEMS,PROJECTS}.gz $docdir/$src + mv $C/{README*,REVISION,TODO,VERSION}.gz $docdir/$src + mv $C/{$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 usr/$libdir/groff + tar rvpf $pkg.tar -C $P usr/share/groff + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 `cd $P ; find usr/share/man/man7 | 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/grub/PlamoBuild.grub-2.02~beta2 2017-04-09 13:33:34.000000000 +0900 @@ -1,17 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="https://launchpad.net/ubuntu/+archive/primary/+files/grub2_2.02~beta2.orig.tar.xz + https://launchpad.net/ubuntu/+archive/primary/+files/grub2_2.02~beta2-32.debian.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/grub/plamo_grubconfig.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=grub +vers=2.02~beta2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P14 +src[0]=$pkgbase-$vers +src[1]=${src[0]} patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG[0]="--disable-grub-mount --disable-werror" +OPT_CONFIG[1]="${OPT_CONFIG[0]} --with-platform=efi" +DOCS="BUGS TODO THANKS COPYING ABOUT-NLS ChangeLog AUTHORS README + NEWS INSTALL" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +42,15 @@ apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} + for j in `cat $W/debian/patches/series` ; do + if [ $j != dpkg_version_comparison.patch ] ; then + patch -Np1 -i $W/debian/patches/$j + fi + done + ./autogen.sh + done + for i in `seq 0 $((${#B[@]} - 1))` ; do + cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -63,6 +77,30 @@ make install DESTDIR=$P fi done + install -d $P/sbin + install $W/plamo_grubconfig/sbin/grubconfig{,_mbr,_efi} $P/sbin + install $W/plamo_grubconfig/sbin/grub_partuuid.sh $P/sbin + install -d $P/etc/default + cat <<- "EOF" > $P/etc/default/grub + # Default menu entry + GRUB_DEFAULT=0 + # Time after the menu displayed + GRUB_TIMEOUT=10 + # Time before displaying the menu + #GRUB_HIDDEN_TIMEOUT=0 + # Display countdown or not + #GRUB_HIDDEN_TIMEOUT_QUIET=false + # Command line arguments for default linux entry + GRUB_CMDLINE_LINUX_DEFAULT="vga16 unicon=eucjp vt.default_utf8=0 panic_output=7" + # Command line arguments for all linux entry + #GRUB_CMDLINE_LINUX= + # Distributor + GRUB_DISTRIBUTOR=Plamo + EOF + install -d $P/var/log/setup + for i in {,e}setup.bootloader ; do + install $W/plamo_grubconfig/var/log/setup/$i $P/var/log/setup + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -70,8 +108,17 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $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` + tar rvpf $pkg.tar -C $P usr/$libdir/grub + tar rvpf $pkg.tar -C $P usr/share/grub + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P etc/grub.d + tar rvpf $pkg.tar -C $P `cd $P ; find etc/bash_completion.d | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/default | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find var/log/setup | 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/gzip/PlamoBuild.gzip-1.8 2017-04-05 17:21:57.000000000 +0900 @@ -1,17 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gzip/gzip-1.8.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=gzip +vers=1.8 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--bindir=/bin" +DOCS="NEWS INSTALL COPYING README AUTHORS ChangeLog algorithm.doc + README-release ChangeLog-2007 TODO THANKS" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -63,6 +64,8 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + mv $P/bin/z{cmp,diff,{e,f}grep,force,grep,less,more,new} $P/usr/bin touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -70,7 +73,9 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/00_base/hdsetup/PlamoBuild.hdsetup-6.2 2018-01-26 08:36:44.000000000 +0900 @@ -1,19 +1,54 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.busybox.net/downloads/busybox-1.25.1.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/hdsetup/busybox-1.25.1-config + ftp://invisible-island.net/dialog/dialog-1.3-20160828.tgz + http://ftp.gnu.org/gnu/coreutils/coreutils-8.25.tar.xz + http://ftp.gnu.org/gnu/gzip/gzip-1.8.tar.gz + http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz + http://tukaani.org/xz/xz-5.2.2.tar.xz + http://ftp.gnu.org/gnu/tar/tar-1.26.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/tar/tar-1.23-tartime.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/tar/tar-1.23-txz.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/tar/tar-1.26-no-gets.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/hdsetup/hdsetup-plamoscripts.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=hdsetup +vers=6.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src[0]=busybox-1.25.1 +src[1]=dialog-1.3-20160828 +src[2]=coreutils-8.25 +src[3]=gzip-1.8 +src[4]=bzip2-1.0.6 +src[5]=xz-5.2.2 +src[6]=tar-1.26 patchfiles="" +patchfiles[6]="`echo tar-1.2{3-{tartime,txz},6-no-gets}.patch.gz`" OPT_CONFIG="" -DOCS="README" +OPT_CONFIG[1]="--bindir=/bin --enable-nls --with-ncursesw --enable-widec" +OPT_CONFIG[2]="--bindir=/bin --enable-no-install-program=chroot,hostid,nice" +OPT_CONFIG[2]+=",who,users,pinky,uptime,stty,df,stdbuf,[,base64,base32" +OPT_CONFIG[2]+=",basename,cat,chcon,chgrp,chmod,chown,cksum,comm,cp,csplit" +OPT_CONFIG[2]+=",cut,date,dd,dir,dircolors,dirname,du,echo,env,expand,expr" +OPT_CONFIG[2]+=",factor,false,fmt,fold,groups,head,id,join,kill,link,ln" +OPT_CONFIG[2]+=",logname,md5sum,mkdir,mkfifo,mknod,mktemp,mv,nl,nproc,nohup" +OPT_CONFIG[2]+=",numfmt,od,pathchk,pr,printenv,printf,ptx,pwd,readlink" +OPT_CONFIG[2]+=",realpath,rm,rmdir,runcon,seq,sha1sum,sha224sum,sha256sum" +OPT_CONFIG[2]+=",sha384sum,sha512sum,shred,shuf,sleep,sort,split,stat,sum" +OPT_CONFIG[2]+=",sync,tac,tail,tee,test,timeout,touch,tr,true,truncate,tsort" +OPT_CONFIG[2]+=",tty,uname,unexpand,uniq,unlink,vdir,wc,whoami,yes + --without-gmp" +OPT_CONFIG[3]="--bindir=/bin" +OPT_CONFIG[5]="--bindir=/bin --disable-xzdec --disable-lzmadec + --disable-lzmainfo --disable-lzma-links --disable-scripts" +OPT_CONFIG[6]="--bindir=/bin" +DOCS="LICENSE INSTALL TODO AUTHORS README TODO_unicode" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +72,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd ${B[0]} + cp -p $W/busybox-1.25.1-config .config for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -49,8 +86,14 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make + if [ -f [Mm]akefile ] ; then + case $i in + 0) make ;; + 1) make LIBS="-lncursesw -lm -ldl -static" ;; + 4) make LDFLAGS="-ldl -static" ;; + 5) make LIBS="-ldl -all-static" ;; + *) make LIBS="-ldl -static" ;; + esac fi done fi @@ -61,19 +104,47 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make install DESTDIR=$P + if [ -f [Mm]akefile ] ; then + case $i in + 0) make install CONFIG_PREFIX=$P ;; + 3) make install DESTDIR=$P bin_SCRIPTS=zcat ;; + 4) make install PREFIX=$P ;; + *) make install DESTDIR=$P ;; + esac fi done + ln -f $P/bin/xz{,cat} + rm $P/bin/{\[\[,ash,cttyhack,{e,f}grep,hush,test,install,bunzip2} + rm $P/bin/{bz{ip2recover,{,e,f}grep,more,less,diff,cmp},unxz} + install -d $P/sbin + mv $P/bin $P/sbin/installer + cp -r $W/sbin $P + install -d $P/usr/lib/setup + touch $P/usr/lib/setup/Plamo-$vers touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/sbin/installer + touch -t `date '+%m%d0900'` $P/sbin/installer setup_docdir + cp -a $S/docs $docdir/$src + for i in busybox.pod BusyBox.txt busybox.{1,net} BusyBox.html ; do + cp -a $B/docs/$i $docdir/$src/docs + touch -t `date '+%m%d0900'` $docdir/$src/docs/$i + done + touch -t `date '+%m%d0900'` $docdir/$src/docs/busybox.net/BusyBox.html + touch -r $S/docs $docdir/$src/docs + chown -R root.root $docdir/$src/docs + mv $docdir/$src/{docs,{INSTALL,TODO,AUTHORS,README}.gz} $C + mv $docdir/$src/{TODO_unicode,$func,$myname,$spec}.gz $C + mv $C/{docs,{INSTALL,TODO,AUTHORS,README}.gz} $docdir/$src + mv $C/{TODO_unicode,$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 cvpf $pkg.tar -C $P `cd $P ; find sbin -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/lib/setup 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/hibernate_script/PlamoBuild.hibernate_script-2.0 2017-04-07 14:36:04.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="http://tuxonice.nigelcunningham.com.au/downloads/all/hibernate-script-2.0.tar.gz" verify= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=hibernate_script +vers=2.0 +arch=noarch +build=P5 +src=hibernate-script-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING SCRIPTLET-API README.xfs README CHANGELOG" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,6 +35,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p install.sh{,.orig} + sed -i '/MAN_DIR=/s@man@share/man@g' install.sh for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -63,6 +66,11 @@ make install DESTDIR=$P fi done + install -d $P/etc/logrotate.d + export PREFIX=/usr + export BASE_DIR=$P + ./install.sh + chown -R root.root $P/usr/share/hibernate touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -70,8 +78,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/hibernate + tar rvpf $pkg.tar -C $P etc/hibernate + tar rvpf $pkg.tar -C $P `cd $P ; find etc/logrotate.d | 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 `cd $P ; find usr/share/man/man8 | 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/iproute2/PlamoBuild.iproute2-4.2.0 2017-04-07 15:09:10.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-4.2.0.tar.xz" verify= commitid= -pkgbase= -vers= +pkgbase=iproute2 +vers=4.2.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README*" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -48,7 +48,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make LIBDIR=/usr/$libdir fi done fi @@ -60,7 +60,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P SBINDIR=/sbin LIBDIR=/usr/$libdir \ + MANDIR=/usr/share/man fi done touch $W/i.et @@ -68,11 +69,23 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/tc setup_docdir + mv $docdir/iproute2 $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` + touch -t `date '+%m%d0900'` $P/usr/$libdir/tc + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/tc + tar rvpf $pkg.tar -C $P etc/iproute2 + tar rvpf $pkg.tar -C $P var/lib/arpd + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/00_base/iputils/PlamoBuild.iputils-s20101006 2020-05-04 21:11:52.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.skbuff.net/iputils/iputils-s20101006.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/iputils/iputils-s20101006-fixes-1.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/iputils/iputils-s20100418-doc-1.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/iputils/iputils-s20101006-Makefile.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=iputils +vers=s20101006 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" +patchfiles="`echo iputils-s2010{{1006-fixes,0418-doc}-1,1006-Makefile}.patch.gz`" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL RELNOTES" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +40,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + sed -i "s|@LIBDIR@|/usr/$libdir|" Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -51,6 +57,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make + make man fi done fi @@ -65,6 +72,14 @@ make install DESTDIR=$P fi done + install -d $P/{bin,usr/{sbin,bin}} + install ping{,6} $P/bin + chmod u+s $P/bin/ping{,6} + install arping clockdiff tracepath{,6} $P/usr/sbin + install traceroute6 $P/usr/bin + chmod u+s $P/usr/bin/traceroute6 + install -d $P/usr/share/man/man8 + install -m 644 doc/*.8 $P/usr/share/man/man8 touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +87,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/kbd/PlamoBuild.kbd-1.15.5 2017-04-07 15:27:56.000000000 +0900 @@ -1,17 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/kbd/kbd-1.15.5.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/kbd/kbd-1.15-backspace-1.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/kbd/kbd-1.15-plamo-compat.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/kbd/kbd-1.15.5-revert_loadkeys_analize.patch.gz" verify= commitid= -pkgbase= -vers= +pkgbase=kbd +vers=1.15.5 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers -patchfiles="" +patchfiles="`echo kbd-1.15-{backspace-1,plamo-compat}.patch.gz` + kbd-1.15.5-revert_loadkeys_analize.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog NEWS AUTHORS CREDITS COPYING ABOUT-NLS README" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -63,6 +67,11 @@ make install DESTDIR=$P fi done + install -d $P/bin + for i in dumpkeys loadkeys setfont kbd_mode openvt ; do + mv $P/usr/bin/$i $P/bin + ln -s /bin/$i $P/usr/bin/$i + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -70,9 +79,18 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + prune_symlink $P/usr/share/keymaps + touch -t `date '+%m%d0900'` $P/usr/share/keymaps + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/console{fonts,trans} + tar rvpf $pkg.tar -C $P usr/share/{uni,key}maps + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 `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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/00_base/kernel/PlamoBuild.kernel-5.4.51_plamo@LV@ 2021-09-22 19:58:03.000000000 +0900 @@ -1,19 +1,31 @@ -#!/bin/sh +#!/bin/sh -x ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.4.51.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/UNICON/vd_unicon-kernel-20191130-5.4.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/UNICON/vd_unicon-kernel-device_set_font_noarg.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/UNICON/vd_unicon-kernel-fonts-20140614.patch.bz2 + https://github.com/sfjro/aufs5-standalone.git + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/mcp/5.4-panic_beep.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/mcp/5.4-morse_code_panics.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/toi/tuxonice-for-linux-5.4.39-2020-05-09.patch.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/ovlfs/overlayfs-allow_unprivileged_mounts.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/misc/5.4-mt7615-define-to_rssi-macro.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/rpi/rpi-5.4.51-20200715-7d9a391.patch.xz + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/rpi/5.4-CLK_BCM2835-RESET_CONTROLLER.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/config-5.4.51-plamo@LV@" verify= digest= -branch= -commitid= -pkgbase= -vers= +branch[4]=aufs5.4.3 +commitid[4]=1d622ad +pkgbase=kernel +vers=5.4.51_plamo@LV@ arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=linux-5.4.51 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -28,6 +40,11 @@ fi fscheck +case `uname -m` in i686) lv=SMP ;; x86_64) lv=64 ;; armv7l) lv=RPi2 ;; esac +url=${url/@LV@/$lv} ; vers=${vers/@LV@/$lv} +if [ `uname -m` == armv7l ] ; then + src[0]=linux-5.4.51 ; src[1]=${src[0]} +fi prepare "$@" if [ $opt_download -eq 1 ] ; then download_sources @@ -39,6 +56,69 @@ apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} + patch -Np1 -i $W/vd_unicon-kernel-20191130-5.4.patch + patch -Np1 -i $W/vd_unicon-kernel-device_set_font_noarg.patch + bunzip2 -c $W/vd_unicon-kernel-fonts-20140614.patch.bz2 | patch -Np1 -i - + patch -Np1 -i $W/aufs5-standalone/aufs5-kbuild.patch + patch -Np1 -i $W/aufs5-standalone/aufs5-base.patch + patch -Np1 -i $W/aufs5-standalone/aufs5-mmap.patch + patch -Np1 -i $W/aufs5-standalone/aufs5-standalone.patch + cp -av $W/aufs5-standalone/Documentation . + cp -av $W/aufs5-standalone/fs . + cp -pv $W/aufs5-standalone/include/uapi/linux/aufs_type.h include/uapi/linux + patch -Np1 -i $W/5.4-panic_beep.patch + patch -Np1 -i $W/5.4-morse_code_panics.patch + bunzip2 -c $W/tuxonice-for-linux-5.4.39-2020-05-09.patch.bz2 | patch -Np1 -i - + chmod 755 scripts/tuxonice_output_to_csv.sh + patch -Np1 -i $W/overlayfs-allow_unprivileged_mounts.patch + patch -Np1 -i $W/5.4-mt7615-define-to_rssi-macro.patch + if [ `uname -m` == armv7l ] ; then + unxz -c $W/rpi-5.4.51-20200715-7d9a391.patch.xz | patch -Np1 -i - + patch -Np1 -i $W/5.4-CLK_BCM2835-RESET_CONTROLLER.patch + rm -rf .github + chmod 755 drivers/net/wireless/realtek/rtl8192cu/{clean,runwpa,wlan0dhcp} + fi + cp -p $W/config-5.4.51-plamo$lv .config + if [ $i -eq 1 ] ; then + scripts/config --set-str LOCALVERSION "-plamoLPAE" -e ARM_LPAE \ + -e VMSPLIT_3G -d VMSPLIT_2G -e HIGHMEM -e PCIE_BRCMSTB --refresh + fi + if [ $arch == i686 -o $arch == x86_64 ] ; then + cp -p arch/x86/boot/install.sh{,.orig} + head -n-9 arch/x86/boot/install.sh.orig > arch/x86/boot/install.sh + sed -i '/INSTALLKERNEL/s@^@#@g' arch/x86/boot/install.sh + cat <<- "EOF" | patch arch/x86/boot/install.sh + 48a49 + > cp .config $4/config-$1 + EOF + sed -i '/\(vmlinuz\|System.map\)$/s@$@-\$1@g' arch/x86/boot/install.sh + else + cp -p arch/arm/boot/install.sh{,.orig} + sed -i '/INSTALLKERNEL/s@^@#@g' arch/arm/boot/install.sh + cat <<- "EOF" | patch arch/arm/boot/install.sh + 40a41,43 + > l=`[[ $1 =~ LPAE ]] && echo l` + > cp .config $4/config$l-$1 + > + 44c47 + < base=vmlinuz + --- + > base=kernel7$l.img + 57,58c60,61 + < if [ -f $4/System.map-$1 ]; then + < mv $4/System.map-$1 $4/System.map-$1.old + --- + > if [ -f $4/System$l.map-$1 ]; then + > mv $4/System$l.map-$1 $4/System$l.map-$1.old + 60c63 + < cp $3 $4/System.map-$1 + --- + > cp $3 $4/System$l.map-$1 + EOF + fi + done + for i in `seq 0 $((${#B[@]} - 1))` ; do + cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -62,19 +142,51 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + install -d $P/boot + make `[ $arch == armv7l ] && echo z`install INSTALL_PATH=$P/boot + make modules_install INSTALL_MOD_PATH=$P fi done + cd $B + krel=${vers//_/-} + if [ $arch == i686 -o $arch == x86_64 ] ; then + ln -s config-$krel $P/boot/config + ln -s vmlinuz-$krel $P/boot/vmlinuz + ln -s System.map-$krel $P/boot/System.map + else + cp -p $P/boot/config{-$krel,} + cp -p $P/boot/kernel7.img{-$krel,} + cp -p $P/boot/System.map{-$krel,} + krel2=${krel//RPi2/LPAE} + cp -p $P/boot/configl{-$krel2,} + cp -p $P/boot/kernel7l.img{-$krel2,} + cp -p $P/boot/Systeml.map{-$krel2,} + install -m 644 arch/arm/boot/dts/*.dtb $P/boot + install -d $P/boot/overlays + install -m 644 arch/arm/boot/dts/overlays/README $P/boot/overlays + install -m 644 arch/arm/boot/dts/overlays/*.dtbo $P/boot/overlays + fi + ln -sfn /usr/src/$src $P/lib/modules/$krel/source + ln -sfn /usr/src/$src $P/lib/modules/$krel/build + if [ $arch == armv7l ] ; then + ln -sfn /usr/src/$src $P/lib/modules/$krel2/source + ln -sfn /usr/src/$src $P/lib/modules/$krel2/build + fi touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + install -d $docdir/$src setup_docdir 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` + prune_symlink $P/boot + prune_symlink $P/lib/modules + TZ=UTC touch -t `date -u '+%m%d0000'` $P/lib/modules/* + tar cvpf $pkg.tar -C $P `cd $P ; find boot -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find lib/modules -maxdepth 1 | tail -n+2` 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/kmod/PlamoBuild.kmod-22 2017-04-07 15:47:32.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-22.tar.xz" verify= commitid= -pkgbase= -vers= +pkgbase=kmod +vers=22 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--bindir=/bin" +DOCS="NEWS COPYING TODO README" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -63,16 +63,63 @@ make install DESTDIR=$P fi done + install -d $P/sbin + for i in {dep,ins,rm}mod mod{probe,info} ; do + ln -s /bin/kmod $P/sbin/$i + done + install -d $P/usr/bin + ln -s /bin/kmod $P/usr/bin/lsmod touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + install -d $P/etc/modprobe.d + cat <<- "EOF" > $P/etc/modprobe.d/plamo-default.conf.new + # sample modprobe.conf entries + # + # alias 定義をしておけば modprobe eth0 で必要なモジュールをロード可能 + # alias eth0 skge + # + # モジュールをロードする際のオプションは option 定義で指定可能 + # options sb io=0x220 irq=7 dma=1 dma15=5 mpu_io=0x330 + # options skge debug=16 + # + # install 定義はそのモジュールを組み込む際の動作を指定する。 + # ロードして欲しくないモジュールはこういう風に指定すればいい + # install intel_rng /bin/true + # install rng_core_rng /bin/true + # install ieee1394 /bin/true + # install ohci1394 /bin/true + + install usblp /bin/true + EOF + touch -t `date '+%m%d0900'` $P/etc/modprobe.d{,/plamo-default.conf.new} setup_docdir 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` + cat <<- "EOF" >> $P/install/doinst.sh + + mv etc/modprobe.d/plamo-default.conf.new /tmp + if [ -f etc/modprobe.d/plamo-default.conf ] ; then + mv /tmp/plamo-default.conf.new etc/modprobe.d/plamo-default.conf.dist + else + mv /tmp/plamo-default.conf.new etc/modprobe.d/plamo-default.conf + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/bash-completion/completions | tail -n+2` + tar rvpf $pkg.tar -C $P etc/modprobe.d + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/less/PlamoBuild.less-382 2017-06-24 13:49:07.000000000 +0900 @@ -1,18 +1,27 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/less-382.tar.gz + ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/less-382-iso258.patch.gz + ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/less-382-iso258-259.patch.gz + ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/less-382-iso259-260.patch.gz + ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/less-382-iso260-261.patch.gz + ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/less-382-iso261-262.patch.gz + ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/distfiles/less-382-iso262.ext03.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/less/less-382-def_priority.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=less +vers=382 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers -patchfiles="" +patchfiles="`echo less-382-iso25{8,8-259,9-260}.patch.gz` + `echo less-382-iso26{0-261,1-262,2.ext03}.patch.gz` + less-382-def_priority.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL LICENSE NEWS README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,7 +44,14 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done + chmod +w $B/* apply_patches + cd $B + cp -p Makefile.in{,.orig} + sed -i -e '/^\t\${INSTALL_/s@\${bindir@$(DESTDIR)&@g' \ + -e '/^\t\${INSTALL_/s@\${mandir@$(DESTDIR)&@g' \ + -e '/\/mkinstalldirs/s@\${bindir@$(DESTDIR)&@g' \ + -e '/\/mkinstalldirs/s@\${mandir@$(DESTDIR)&@g' Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,12 +80,83 @@ make install DESTDIR=$P fi done + uudecode <<- "EOF" | gunzip > $P/usr/share/man/man1/lessecho.1 + begin-base64 644 /dev/stdout + H4sIAAAAAAAAA4VUXWvbQBB8169Y9JTQWE1SUtpSSpzE1IbUNjmnUJI8nKWVfKD76H1g699375y4 + Ko3al+M47czODLsqVlO4nTA2uZ4u4Azy72id0ArefTh/I5w+v/j4CU7fA0MD56enF3lWsCnMx98m + WYvOYbnR8DgC3BmuKpDoebnhlpeeaFIp+zFfLNmMZcUVvCCyYgb5w0jvnuBhVKbTqHhW6ZTpRaU7 + pjt/glq0CEVR7AXkNxN2fTdbrmaLeR7pDtTCAQdjdWO5BL/hHpyQpu0gfnUgPH23TZCo6EY+nSfh + 3FaggzfBF9lV8MBVd6iCUivPhRKqAWd4iUTiAFXZaocVCAU/g/boiiRskSSxbAwuSMltB7oGbTxF + mnCCcKEi3BpbvSXMahmTeaQwMmawFLWgBvkuB6+phhwgwfG5CRzC7SHLYWTS+A+oUX2o+l/TE+CU + niITHps/iKpholc1DDPJ193ww2z1atXrXX/XDrfB4dDQldzstUKt7YHM9eD1sN9B+LAY3iNLI8vb + tjel3OIzf0qxKrIV9amw5qH1cagSRqu264H+ntpI80KQdohNJjC+ZYs8rfLR2XF6Ht+vpos7akHE + kqvAWzC8QdiS+q0V3tNcrDtYbbSkF0ZbhaaGz25/uaxwLbgqtG2+nGTRf8zkJj3C1/n921uhwg5c + 5zxKOFrTskneRW8hbhMRawJYd0wal8uMIf1V1qEBi0bbuLGWnMm9xZhJaEZR/GWjQuxZZL8Ajlv3 + 69AEAAA= + ==== + EOF + cat <<- "EOF" > $P/usr/bin/lesspipe.sh + #!/bin/sh - + # + # To use this filter with less, define LESSOPEN: + # export LESSOPEN="|/usr/bin/lesspipe.sh %s" + + lesspipe() { + case "$1" in + *.[1-9n]|*.man|*.[1-9n].bz2|*.man.bz2|*.[1-9].gz|*.[1-9]x.gz|*.[1-9].man.gz) + case "$1" in + *.gz) DECOMPRESSOR="gunzip -c" ;; + *.bz2) DECOMPRESSOR="bunzip2 -c" ;; + *) DECOMPRESSOR="cat" ;; + esac + if $DECOMPRESSOR -- "$1" | file - | grep -q "troff" ; then + if echo "$1" | grep -q "^/" ; then # absolute path + man -- "$1" | cat -s + else + man -- "./$1" | cat -s + fi + else + $DECOMPRESSOR -- "$1" + fi ;; + *.tar|*.tar.*|*.tgz|*.tbz2|*.txz) tar tvvf "$1" ;; + *.[zZ]|*.gz) gzip -dc -- "$1" ;; + *.xz) xz -dc -- "$1" ;; + *.lzma|*.lzm) lzma --dc -- "$1" ;; + *.lzo) lzop --dc -- "$1" ;; + *.lzh) lha -l "$1" ;; + *.bz2) bzip2 -dc -- "$1" ;; + *.zip|*.jar|*.od[ts]) zipinfo -- "$1" ;; + *.rpm) rpm -qpivl --changelog -- "$1" ;; + *.cpi|*.cpio) cpio -itv < "$1" ;; + esac + } + + if [ -d "$1" ] ; then + ls -flF -- "$1" + else + lesspipe "$1" 2> /dev/null + fi + EOF + chmod 755 $P/usr/bin/lesspipe.sh touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -p $B/{LICENSE,README.{iso{,.jp},ext.jp}} $docdir/$src + touch -t 200508302245.48 $docdir/$src/LICENSE + touch -t 200602180957.24 $docdir/$src/README.iso{,.jp} + touch -t 201106291956.57 $docdir/$src/README.ext.jp + nkf -e --overwrite $docdir/$src/README.iso.jp + chown root.root $docdir/$src/{LICENSE,README.{iso{,.jp},ext.jp}} + rm $docdir/$src/LICENSE.gz + for i in LICENSE README.{iso{,.jp},ext.jp} ; do + gzip_one $docdir/$src/$i + done + mv $docdir/$src/{README.{iso{,.jp},ext.jp},$func,$myname,$spec}.gz $C + mv $C/{README.{iso{,.jp},ext.jp},$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` --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/libcap/PlamoBuild.libcap-2.22 2017-04-29 11:14:59.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.de.debian.org/debian/pool/main/libc/libcap2/libcap2_2.22.orig.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=libcap +vers=2.22 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGELOG License README" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -60,19 +60,32 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install DESTDIR=$P fi done + install -d $P/usr/$libdir + mv $P/$libdir/libcap.a $P/usr/$libdir + rm $P/$libdir/libcap.so + ln -s /$libdir/libcap.so.2 $P/usr/$libdir/libcap.so touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/$libdir/security + touch -t `date '+%m%d0900'` $P/$libdir/security setup_docdir + touch -t `date '+%m%d0900'` $docdir/$src convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/sys | 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/man3 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/00_base/libgcc/PlamoBuild.libgcc-4.8.5 2017-10-15 19:50:35.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libgcc +vers=4.8.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=gcc-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-werror --disable-multilib --enable-install-libiberty + --enable-__cxa_atexit --enable-threads=posix --enable-shared + --enable-languages=c,c++,fortran,go --enable-gnu-unique-object + --enable-linker-build-id --enable-plugin --with-system-zlib + --with-linker-hash-style=gnu --enable-clocale=gnu --disable-libstdcxx-pch" +DOCS="COPYING ChangeLog ABOUT-NLS NEWS COPYING3.LIB ChangeLog.tree-ssa + COPYING3 COPYING.RUNTIME README COPYING.LIB MAINTAINERS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +47,10 @@ 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]} \ + --libexecdir=/usr/$libdir \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --host=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -65,6 +73,13 @@ make install DESTDIR=$P fi done + mv $P/usr/$libdir/lib{iberty.a,gcc_s.so{.1,}} $C + mv $C/lib{iberty.a,gcc_s.so{.1,}} $P/usr/$libdir + rm -rf $P/usr/$libdir/{gcc,libiberty.a,*-gdb.py,go} + rm -f $P/usr/$libdir/lib{supc++,mudflap,asan,tsan,ssp,quadmath}* + rm -f $P/usr/$libdir/lib{gfortran,atomic,go,itm}* + mv $P/usr/$libdir/lib{gcc_s.so{.1,},stdc++.{so{.6{.0.19,},},la,a}} $C + mv $C/lib{gcc_s.so{.1,},stdc++.{so{.6{.0.19,},},la,a}} $P/usr/$libdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +87,9 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/libtirpc/PlamoBuild.libtirpc-0.2.3 2017-04-17 14:29:27.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libtirpc/libtirpc-0.2.3.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/libtirpc/libtirpc-0.2.3-remove_nis-1.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/libtirpc/0001-Switch-to-use-standard-GSSAPI-by-default.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libtirpc +vers=0.2.3 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers -patchfiles="" +patchfiles="libtirpc-0.2.3-remove_nis-1.patch + 0001-Switch-to-use-standard-GSSAPI-by-default.patch" OPT_CONFIG="" -DOCS="README" +DOCS="VERSION TODO THANKS README NEWS INSTALL ChangeLog COPYING AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +39,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + autoreconf for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,6 +69,12 @@ make install DESTDIR=$P fi done + install -d $P/$libdir + cp -p $P/usr/$libdir/libtirpc.so.1.0.10 $P/$libdir + ln -sf /$libdir/libtirpc.so.1.0.10 $P/usr/$libdir/libtirpc.so.1 + ln -sf /$libdir/libtirpc.so.1.0.10 $P/usr/$libdir/libtirpc.so + touch $P/etc/netconfig + chown root.root $P/etc/netconfig touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +82,16 @@ compress setup_docdir 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` + rm $P/usr/$libdir/libtirpc.so.1.0.10 + tar cvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/tirpc + tar rvpf $pkg.tar -C $P etc/netconfig + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/lilo/PlamoBuild.lilo-24.2 2017-04-22 18:00:47.000000000 +0900 @@ -1,18 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://lilo.alioth.debian.org/ftp/sources/lilo-24.2.tar.gz + ftp://ftp.tw.freebsd.org/pub/FreeBSD/FreeBSD/ports/distfiles/Dev86src-0.16.18.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/lilo/dev86-0.16.17-x86_64.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/lilo/dev86-0.16.17-copt.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/lilo/plamo_liloconfig.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=lilo +vers=24.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo readme/README.{bitmaps,common.problems,disk,nokeyboard}` + `echo readme/{README.{pseudo,volumeID,raid1},INCOMPAT,README}` + NEWS CHANGELOG TODO README COPYING CHANGELOG_old TOOLS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +42,21 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p checkit{,.orig} + sed -i 's@^gcc @LANG=C &@g' checkit + cp -p diagnose/Makefile{,.orig} + cat <<- "EOF" | patch diagnose/Makefile + 36c36 + < @if [ -x /usr/bin/bcc -o -x /usr/local/bin/bcc ]; then echo Okay; \ + --- + > @if which bcc; then echo Okay; \ + EOF + cd $W/dev86-0.16.18 + gunzip -c $W/dev86-0.16.17-x86_64.patch.gz | patch -Np1 -i - + gunzip -c $W/dev86-0.16.17-copt.patch.gz | patch -Np1 -i - + make PREFIX=$W/dev86 install + PATH=$W/dev86/bin:$PATH for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -49,7 +70,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make -i alles diagnostic fi done fi @@ -64,16 +85,48 @@ make install DESTDIR=$P fi done + mv $P/sbin/lilo{.static,} + rm $P/usr/sbin/liloconfig + rm $P/boot/{debian{,-de,lilo},coffee}.{bmp,dat} touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in {{,e}lilo,{,e}osldr}config ; do + cp -p plamo_liloconfig/sbin/$i $P/sbin ; chown root.root $P/sbin/$i + done + ln -s liloconfig $P/sbin/liloconfig-color + install -d $P/var/log/setup + for i in {,e}text.lilohelp {,e}setup.bootloader ; do + cp -p plamo_liloconfig/var/log/setup/$i $P/var/log/setup + chown root.root $P/var/log/setup/$i + done setup_docdir + mkdir $docdir/$src/sample + for i in sample/lilo.{old-{raid,special},example}.conf \ + images/{{inside,onlyblue,tuxlogo}_16c.dat,README} ; do + cp -p $S/$i $docdir/$src/sample + done + touch -r $S/sample $docdir/$src/sample + cp -a $S/doc $docdir/$src + chown -R root.root $docdir/$src/{sample,doc} + mv $docdir/$src/{readme,sample,{NEWS,CHANGELOG,TODO,README}.gz} $C + mv $docdir/$src/{{COPYING,CHANGELOG_old,TOOLS}.gz,doc} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{readme,sample,{NEWS,CHANGELOG,TODO,README}.gz} $docdir/$src + mv $C/{{COPYING,CHANGELOG_old,TOOLS}.gz,doc} $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find boot | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find var/log/setup | 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 `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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/00_base/linux_firmware/PlamoBuild.linux_firmware-git_20190726 2019-08-09 21:47:26.000000000 +0900 @@ -1,19 +1,34 @@ #!/bin/sh ###################################################################### -url="" +url="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" verify= digest= branch= -commitid= -pkgbase= -vers= -arch=`uname -m` +commitid=dff98c6 +pkgbase=linux_firmware +vers=git_20190726 +arch=noarch build=P1 -src=$pkgbase-$vers +src=linux-firmware patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="GPL-* `echo LICENCE.{Abilis,IntcSST2,Marvell,Netronome,OLPC,adsp_sst}` + `echo LICENCE.{agere,atheros_firmware,broadcom_bcm43xx,ca0132,cadence}` + `echo LICENCE.{cavium,cavium_liquidio,chelsio_firmware,cw1200,cypress}` + `echo LICENCE.{e100,ene_firmware,fw_sst_0f28,go7007,i2400m,ibt_firmware}` + `echo LICENCE.{it913x,iwlwifi_firmware,kaweth,mediatek,microchip,moxa}` + `echo LICENCE.{myri10ge_firmware,nvidia,open-ath9k-htc-firmware,phanfw}` + `echo LICENCE.{qat_firmware,qla1280,qla2xxx,r8a779x_usb3}` + `echo LICENCE.{ralink-firmware.txt,ralink_a_mediatek_company_firmware}` + `echo LICENCE.{rockchip,rtlwifi_firmware.txt,siano,tda7706-firmware.txt}` + `echo LICENCE.{ti-connectivity,ti-keystone,ueagle-atm4-firmware}` + `echo LICENCE.{via_vt6656,wl1251,xc4000,xc5000,xc5000c}` + `echo LICENSE.{QualcommAtheros_ar3k,QualcommAtheros_ath10k,amd-sev}` + `echo LICENSE.{amd-ucode,amdgpu,amlogic_vdec,atmel,dib0700,hfi1_firmware}` + `echo LICENSE.{i915,ipu3_firmware,nxp_mc_firmware,qcom,radeon}` + LICENSE.sdma_firmware README `echo TDA7706_OM_{v2.5.1,v3.0.2}_boot.txt` + WHENCE ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -31,6 +46,7 @@ prepare "$@" if [ $opt_download -eq 1 ] ; then download_sources + nkf -e --overwrite linux-firmware/ChangeLog fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,16 +81,27 @@ make install DESTDIR=$P fi done + rm $P/lib/firmware/ChangeLog touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` + for i in . brcm cxgb4 i915 intel libertas netronome netronome/flower \ + nvidia/gm204/acr nvidia/gm204/gr nvidia/gm206/acr nvidia/gm206/gr \ + nvidia/gm20b/gr nvidia/gp100/gr nvidia/gp102/gr nvidia/gp104/acr \ + nvidia/gp104/gr nvidia/gp104/nvdec nvidia/gp104/sec2 nvidia/gp106/acr \ + nvidia/gp106/gr nvidia/gp106/nvdec nvidia/gp106/sec2 nvidia/gp107/acr \ + nvidia/gp107/gr nvidia/gp107/nvdec nvidia/gp107/sec2 nvidia/gp108/acr \ + nvidia/gp108/nvdec nvidia/gp108/sec2 ti-connectivity ; do + TZ=UTC touch -t `date -u '+%m%d0000'` $P/lib/firmware/$i + done + tar cvpf $pkg.tar -C $P lib/firmware 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/linux_pam/PlamoBuild.linux_pam-1.1.8 2017-05-08 14:48:20.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.linux-pam.org/library/Linux-PAM-1.1.8.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/linux_pam/pam-1.1.8-cve-2013-7041.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/linux_pam/pam-1.1.8-cve-2014-2583.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=linux_pam +vers=1.1.8 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +build=P4 +src=Linux-PAM-$vers +patchfiles="`echo pam-1.1.8-cve-{2013-7041,2014-2583}.patch`" +OPT_CONFIG="--enable-static --enable-read-both-confs --disable-nis" +DOCS="NEWS ABOUT-NLS Copyright README COPYING AUTHORS CHANGELOG + ChangeLog INSTALL ChangeLog-CVS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -40,8 +43,9 @@ cd ${B[$i]} 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]} + --libdir=/usr/$libdir --infodir='${prefix}'/share/info \ + --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} \ + --sbindir=/$libdir/security --enable-securedir=/$libdir/security fi done fi @@ -64,16 +68,105 @@ make install DESTDIR=$P fi done + install -d $P/sbin + ln -s /$libdir/security/pam_tally $P/sbin + chmod 4755 $P/$libdir/security/unix_chkpwd + for i in libpam libpamc libpam_misc ; do + cp -p $P/usr/$libdir/$i.so.0.*.* $P/$libdir + ( cd $P/$libdir ; ln -s $i.so.0.*.* $i.so.0 ) + done + cat <<- "EOF" > $P/etc/security/console.handlers + console consoledevs tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9] + EOF + install -d $P/etc/pam.d + cat <<- "EOF" > $P/etc/pam.d/system-auth + #%PAM-1.0 + # + # The PAM configuration file for system authentication + # + + auth required pam_env.so + auth sufficient pam_unix.so try_first_pass nullok + auth required pam_deny.so + + account required pam_unix.so + + password sufficient pam_unix.so try_first_pass nullok md5 shadow + password required pam_deny.so + + session required pam_limits.so + session required pam_unix.so + EOF + for i in halt poweroff reboot ; do + cat <<- "EOF" > $P/etc/pam.d/$i + #%PAM-1.0 + # + # The PAM configuration file for shutdown/reboot operations + # + + auth sufficient pam_rootok.so + auth required pam_unix.so + + account required pam_permit.so + EOF + done + cat <<- "EOF" > $P/etc/pam.d/other + #%PAM-1.0 + # + # The PAM configuration file for other + # + + auth required pam_deny.so + auth required pam_warn.so + + account required pam_deny.so + account required pam_warn.so + + password required pam_deny.so + password required pam_warn.so + + session required pam_deny.so + session required pam_warn.so + EOF + ln -s system-auth $P/etc/pam.d/plamo-default + cat <<- "EOF" > $P/etc/securetty + # /etc/securetty: list of terminals on which root is allowed to login. + # See securetty(5) and login(1). + console + EOF + seq -f "tty%g" 12 >> $P/etc/securetty + seq -f "ttyp%g" 12 >> $P/etc/securetty + seq -f "ttyS%g" 0 3 >> $P/etc/securetty touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/$libdir/security + touch -t `date '+%m%d0900'` $P/$libdir/security setup_docdir + mv $docdir/Linux-PAM $docdir/$src/doc + mv $docdir/$src/{doc,{ABOUT-NLS,Copyright,README,COPYING,AUTHORS}.gz} $C + mv $docdir/$src/{CHANGELOG,ChangeLog,INSTALL,ChangeLog-CVS}.gz $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{doc,{ABOUT-NLS,Copyright,README,COPYING,AUTHORS}.gz} $docdir/$src + mv $C/{CHANGELOG,ChangeLog,INSTALL,ChangeLog-CVS}.gz $docdir/$src + mv $C/{$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` + prune_symlink $P/etc/pam.d + touch -t `date '+%m%d0900'` $P/etc/pam.d + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/security + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P etc/{security,environment,pam.d,securetty} + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/logrotate/PlamoBuild.logrotate-3.8.1 2017-04-24 11:52:59.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.nara.wide.ad.jp/pub/sunfreeware/SOURCES/logrotate-3.8.1.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=logrotate +vers=3.8.1 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.HPUX README.Solaris CHANGES COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,19 +61,78 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install PREFIX=$P MANDIR=/usr/share/man fi done + install -d $P/etc/logrotate.d + cat <<- "EOF" > $P/etc/logrotate.conf.new + # /etc/logrotate.conf + # + # logrotate is designed to ease administration of systems that generate large + # numbers of log files. It allows automatic rotation, compression, removal, and + # mailing of log files. Each log file may be handled daily, weekly, monthly, or + # when it grows too large. + # + # logrotate is normally run daily from root's crontab. + # + # For more details, see "man logrotate". + + # rotate log files weekly: + weekly + + # keep 4 weeks worth of backlogs: + rotate 4 + + # create new (empty) log files after rotating old ones: + create + + # uncomment this if you want your log files compressed: + compress + + # some packages install log rotation information in this directory: + include /etc/logrotate.d + + # Rotate /var/log/wtmp: + /var/log/wtmp { + monthly + create 0664 root utmp + rotate 1 + } + + # Note that /var/log/lastlog is not rotated. This is intentional, and it should + # not be. The lastlog file is a database, and is also a sparse file that takes + # up much less space on the drive than it appears. + + # system-specific logs may be also be configured below: + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/examples $docdir/$src + chown -R root.root $docdir/$src/examples + mv $docdir/$src/{examples,{COPYING,$func,$myname,$spec}.gz} $C + mv $C/{examples,{COPYING,$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` + install -d $P/install + cat <<- "EOF" > $P/install/doinst.sh + mv etc/logrotate.conf.new /tmp + if [ -f etc/logrotate.conf ] ; then + mv /tmp/logrotate.conf.new etc/logrotate.conf.dist + else + mv /tmp/logrotate.conf.new etc/logrotate.conf + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P etc/logrotate.{d,conf.new} + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/lsb_release/PlamoBuild.lsb_release-1.4 2017-04-24 12:27:45.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/lsb/lsb-release-1.4.tar.gz" verify= digest= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=lsb_release +vers=1.4 +arch=noarch +build=P8 +src=lsb-release-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INSTALL README lsb-release.template lsb_release.examples" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + sed -i -e '/^prefix=/s@/local@@g' -e '/^mandir=/s@/man@/share/man@g' \ + -e 's@${mandir}@$(DESTDIR)&@g' \ + -e '/^mandir=/!s@${prefix}@$(DESTDIR)&@g' Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,6 +69,10 @@ make install DESTDIR=$P fi done + install -d $P/etc + cat <<- "EOF" > $P/etc/plamo-release + Plamo Linux release 6.2 + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,6 +81,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/plamo-release 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/lvm2/PlamoBuild.lvm2-2.02.90 2017-04-24 12:39:14.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.90.tgz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=lvm2 +vers=2.02.90 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src=LVM2.$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--exec-prefix= --enable-static_link --enable-applib + --enable-cmdlib --enable-pkgconfig --enable-dmeventd + --with-thin=internal" +DOCS="COPYING.LIB COPYING INSTALL VERSION_DM README VERSION WHATS_NEW + WHATS_NEW_DM" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,12 +39,16 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p daemons/dmeventd/Makefile.in{,.orig} + sed -i 's@$(ELDFLAGS) @@' daemons/dmeventd/Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} \ + --with-usrlibdir=/usr/$libdir fi done fi @@ -64,16 +71,29 @@ make install DESTDIR=$P fi done + touch $P/usr/$libdir/*.a + touch $P/usr/$libdir/pkgconfig/*.pc + touch $P/etc/lvm/lvm.conf + touch $mandir/man[58]/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/$libdir/device-mapper + touch -t `date '+%m%d0900'` $P/$libdir/device-mapper setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P etc/lvm + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/lzo/PlamoBuild.lzo-2.09 2017-04-24 13:23:34.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.oberhumer.com/opensource/lzo/download/lzo-2.09.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=lzo +vers=2.09 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-shared" +DOCS="AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,16 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/{doc,examples} $docdir/$src + chown -R root.root $docdir/$src/{doc,examples} + mv $docdir/$src/{doc,examples,{$func,$myname,$spec}.gz} $C + mv $C/{doc,examples,{$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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/lzo | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/man/PlamoBuild.man-1.6g 2017-04-29 10:56:37.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.ibiblio.org/pub/Linux/apps/doctools/man/man-1.6g.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=man +vers=1.6g arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README README.HP README.GNU-WIN32 INSTALL TODO LSM + README.IRIX HISTORY" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,12 +37,28 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p src/man.conf.in{,.orig} + cat <<- "EOF" | patch src/man.conf.in + 43c43,45 + < MANPATH /usr/X11R6/man + --- + > MANPATH /opt/kde/share/man + > MANPATH /opt/mysql/man + > MANPATH /opt/texlive/2015/texmf/doc/man + 67,69c69,71 + < MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man + < MANPATH_MAP /usr/bin/X11 /usr/X11R6/man + < MANPATH_MAP /usr/bin/mh /usr/share/man + --- + > MANPATH_MAP /opt/kde/bin /opt/kde/share/man + > MANPATH_MAP /opt/mysql/bin /opt/mysql/man + > MANPATH_MAP /opt/texlive /opt/texlive/2015/texmf/doc/man + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure -confdir /etc +fhs +lang all fi done fi @@ -64,15 +81,31 @@ make install DESTDIR=$P fi done + mv $mandir/{ja,ja_JP.eucJP} touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in bg cs da de el es fi fr hr it ja_JP.eucJP ko nl pl pt ro sl ; do + gzip_dir $mandir/$i/man1 + gzip_dir $mandir/$i/man5 + gzip_dir $mandir/$i/man8 + done setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P etc/man.conf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name man` 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 `cd $P ; find usr/share/man/man8 | tail -n+2` + for i in bg cs da de el es fi fr hr it ja_JP.eucJP ko nl pl pt ro sl ; do + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/$i/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/$i/man5 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/$i/man8 | tail -n+2` + done 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/mdadm/PlamoBuild.mdadm-3.2.3 2017-04-24 13:46:02.000000000 +0900 @@ -1,18 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-3.2.3.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=mdadm +vers=3.2.3 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="mdmon-design.txt COPYING ANNOUNCE-3.0.3 ANNOUNCE-3.1.2 TODO + ANNOUNCE-3.0.2 ANNOUNCE-3.1.1 INSTALL ANNOUNCE-3.2.2 ANNOUNCE-3.2.3 + ANNOUNCE-3.2.1 ANNOUNCE-3.1 README.initramfs ANNOUNCE-3.1.3 + ANNOUNCE-3.0.1 ANNOUNCE-3.1.4 ANNOUNCE-3.1.5 ChangeLog ANNOUNCE-3.0 + external-reshape-design.txt ANNOUNCE-3.2" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,6 +68,8 @@ make install DESTDIR=$P fi done + install -d $P/etc + install -m 644 mdadm.conf-example $P/etc/mdadm.conf touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,8 +77,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | tail -n+2` + tar rvpf $pkg.tar -C $P etc/mdadm.conf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | 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 `cd $P ; find usr/share/man/man8 | 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/00_base/microcode_ctl/PlamoBuild.microcode_ctl-2.1_6 2018-12-26 21:00:56.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://releases.pagure.org/microcode_ctl/microcode_ctl-2.1-6.tar.xz + https://files01.tchspt.com/tempd/microcode-20180108.tgz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=microcode_ctl +vers=2.1_6 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P6 +src=$pkgbase-2.1-6 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README Changelog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -50,7 +51,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make MICROCODE_INTEL=$W/microcode-20180108.tgz fi done fi @@ -62,7 +63,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 fi done touch $W/i.et @@ -71,9 +72,16 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + cp -a $W/releasenote $docdir/$src + chmod g-w $docdir/$src/releasenote + chown root.root $docdir/$src/releasenote + gzip_one $docdir/$src/releasenote + mv $docdir/$src/{releasenote,$func,$myname,$spec}.gz $C + mv $C/{releasenote,$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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P lib/firmware/intel-ucode tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/mlocate/PlamoBuild.mlocate-0.26 2017-04-29 10:58:10.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://fossies.org/linux/privat/mlocate-0.26.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=mlocate +vers=0.26 arch=`uname -m` build=P1 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README NEWS AUTHORS INSTALL ABOUT-NLS COPYING ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,6 +64,18 @@ make install DESTDIR=$P fi done + install -d $P/etc + cat <<- "EOF" > $P/etc/updatedb.conf + PRUNEFS="afs auto autofs cifs devpts iso9660 nfs nfs4 proc selinuxfs sfs smbfs sysfs udf usbfs" + PRUNEPATHS="/afs /media /mnt /net /sfs /tmp /udev /var/tmp" + EOF + install -d $P/etc/cron.daily + cat <<- "EOF" > $P/etc/cron.daily/mlocate + #!/bin/sh + renice +19 -p $$ > /dev/null 2>&1 + updatedb + EOF + chmod 755 $P/etc/cron.daily/mlocate touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,7 +84,13 @@ setup_docdir 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/locale -name *.mo` + tar rvpf $pkg.tar -C $P var/mlocate + tar rvpf $pkg.tar -C $P etc/updatedb.conf + tar rvpf $pkg.tar -C $P etc/cron.daily/mlocate 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 `cd $P ; find usr/share/man/man8 | 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/00_base/ncurses/PlamoBuild.ncurses-6.0 2017-03-31 14:59:04.000000000 +0900 @@ -1,17 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/ncurses/ncurses-6.0.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/ncurses/ncurses-6.0-Charable.patch.gz" verify= commitid= -pkgbase= -vers= +pkgbase=ncurses +vers=6.0 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="ncurses-6.0-Charable.patch.gz" +OPT_CONFIG="--with-shared --without-debug --enable-widec + --with-manpage-format=normal --disable-ext-colors" +DOCS="README.MinGW README README.emx NEWS ANNOUNCE COPYING INSTALL + TO-DO AUTHORS" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -35,11 +38,16 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch == x86_64 ] ; then + cp -p misc/run_tic.in{,.orig} + sed -i 's@\@lib64@g' misc/run_tic.in + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --libdir=/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -63,16 +71,40 @@ make install DESTDIR=$P fi done + ln -s ncursesw6-config $P/usr/bin/ncurses6-config + ln -s libncursesw.so.$vers $P/$libdir/libncurses.so.6 + ln -s libncurses.so.6 $P/$libdir/libncurses.so + ln -s libncursesw.so.$vers $P/$libdir/libcurses.so.6 + ln -s libcurses.so.6 $P/$libdir/libcurses.so + ln -s libncursesw.so.$vers $P/$libdir/libncursesw.so.5 + ln -s libpanelw.so.$vers $P/$libdir/libpanelw.so.5 + ln -s libmenuw.so.$vers $P/$libdir/libmenuw.so.5 + ln -s libformw.so.$vers $P/$libdir/libformw.so.5 + ln -s libncursesw.so.$vers $P/$libdir/libncurses.so.5 + install -d $P/usr/$libdir + ln -s /usr/share/terminfo $P/usr/$libdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir - convert_links + false && convert_links + prune_symlink $P/usr/bin + for i in $P{,/usr}/$libdir ; do prune_symlink $i ; done + prune_symlink $P/usr/include + for i in 1 3 5 7 ; do prune_symlink $mandir/man$i ; done tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/{tabset,terminfo} 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/man3 | 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 `cd $P ; find usr/share/man/man7 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/net_tools/PlamoBuild.net_tools-1.60 2017-04-26 20:54:47.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/net-tools/net-tools-1.60.tar.bz2 + http://simosnet.com/livecdroom/source/solydxk/main/n/net-tools/net-tools_1.60-24.1.diff.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=net_tools +vers=1.60 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P3 +src=net-tools-$vers +patchfiles="net-tools_1.60-24.1.diff.gz" OPT_CONFIG="" -DOCS="README" +DOCS="ABOUT-NLS COPYING INSTALLING README README.ipv6 TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in `cat debian/patches/series` ; do + patch -Np1 -i debian/patches/$i + done + cp -p iptunnel.c{,.orig} + cat <<- "EOF" | patch iptunnel.c + 29d28 + < #include + 38a38 + > #include + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -44,6 +56,33 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + yes "" | make config + cp -p config.h{,.orig} + cat <<- "EOF" | patch config.h + 22c22 + < #define I18N 0 + --- + > #define I18N 1 + 52,53c52,53 + < #define HAVE_HWSTRIP 1 + < #define HAVE_HWTR 1 + --- + > #define HAVE_HWSTRIP 0 + > #define HAVE_HWTR 0 + EOF + cp -p config.make{,.orig} + cat <<- "EOF" | patch config.make + 1c1 + < # I18N=0 + --- + > I18N=1 + 19,20c19,20 + < HAVE_HWSTRIP=1 + < HAVE_HWTR=1 + --- + > # HAVE_HWSTRIP=0 + > # HAVE_HWTR=0 + EOF fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -61,7 +100,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install BASEDIR=$P fi done touch $W/i.et @@ -71,9 +110,13 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/netkit_combo/PlamoBuild.netkit_combo-0.17 2017-04-26 21:01:15.000000000 +0900 @@ -1,18 +1,55 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-combo-0.17.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/biff+comsat-0.17.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/biff+comsat.offset.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/biff+comsat.badutmp.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/bsd-finger_0.17-13.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/linux-ftpd_0.17-29.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-bootparamd_0.17-9.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-ftp_0.17-19.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-ntalk_0.17-14.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/routed.18.candidate.final.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-routed-0.17.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-rsh_0.17-14.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-rusers_0.17-7.1.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-rwall_0.17-6.2.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-rwho_0.17-12.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-telnet_0.17-36.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-tftp_0.17-17.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-timed-0.17.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netwrite-0.17.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-combo-0.17-diffs.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/netkit_combo/netkit-combo-0.17-tirpc.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=netkit_combo +vers=0.17 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P10 +src=netkit-combo-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README + `echo biff+comsat/{ChangeLog,README}` + `echo bsd-finger/{BUGS,ChangeLog,README}` + `echo linux-ftpd/{ftpd/README,ChangeLog,README}` + `echo netkit-base/{BUGS,ChangeLog,README,etc.sample/README}` + `echo netkit-bootparamd/{ChangeLog,README,rpc.bootparamd/README}` + `echo netkit-ftp/{BUGS,ChangeLog,README}` + `echo netkit-ntalk/{BUGS,ChangeLog,README}` + `echo netkit-routed/{ChangeLog,README,routed/README}` + `echo netkit-rpc/{BUGS,ChangeLog,README,rpcgen/ChangeLog}` + `echo netkit-rsh/{BUGS,ChangeLog,README,rexec/README}` + `echo netkit-rusers/{BUGS,ChangeLog,README}` + `echo netkit-rwall/{BUGS,ChangeLog,README}` + `echo netkit-rwho/{ChangeLog,README}` + `echo netkit-telnet/{BUGS,ChangeLog,README,telnet/{README{,.old},TODO}}` + `echo netkit-tftp/{BUGS,ChangeLog,README}` + `echo netkit-timed/{BUGS,ChangeLog,README,timed/CHANGES}` + `echo netwrite/{COPYING,ChangeLog,README{,.old}}`" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,12 +73,54 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B/biff+comsat + gunzip -c $W/biff+comsat-0.17.diff.gz | patch -Np1 -i - + gunzip -c $W/biff+comsat.offset.diff.gz | patch -Np1 -i - + gunzip -c $W/biff+comsat.badutmp.diff.gz | patch -Np1 -i - + cd $B/bsd-finger + gunzip -c $W/bsd-finger_0.17-13.diff.gz | patch -Np1 -i - + patch -Np1 -i debian/patches/01-legacy.patch + patch -Np1 -i debian/patches/02-518559-nsswitch-sources.patch + cd $B/linux-ftpd + gunzip -c $W/linux-ftpd_0.17-29.diff.gz | patch -Np1 -i - + cd $B/netkit-bootparamd + gunzip -c $W/netkit-bootparamd_0.17-9.diff.gz | patch -Np1 -i - + cd $B/netkit-ftp + gunzip -c $W/netkit-ftp_0.17-19.diff.gz | patch -Np1 -i - + cd $B/netkit-ntalk + gunzip -c $W/netkit-ntalk_0.17-14.diff.gz | patch -Np1 -i - + cd $B/netkit-routed + gunzip -c $W/routed.18.candidate.final.patch.gz | patch -Np1 -i - + gunzip -c $W/netkit-routed-0.17.diff.gz | patch -Np1 -i - + cd $B/netkit-rsh + gunzip -c $W/netkit-rsh_0.17-14.diff.gz | patch -Np1 -i - + cd $B/netkit-rusers + gunzip -c $W/netkit-rusers_0.17-7.1.diff.gz | patch -Np1 -i - + cd $B/netkit-rwall + gunzip -c $W/netkit-rwall_0.17-6.2.diff.gz | patch -Np1 -i - + cd $B/netkit-rwho + gunzip -c $W/netkit-rwho_0.17-12.diff.gz | patch -Np1 -i - + cd $B/netkit-tftp + gunzip -c $W/netkit-tftp_0.17-17.diff.gz | patch -Np1 -i - + cd $B/netkit-telnet + gunzip -c $W/netkit-telnet_0.17-36.diff.gz | patch -Np1 -i - + if [ $arch == x86_64 ] ; then + cp -p telnetd/Makefile{,.orig} + sed 's@/lib@/lib64@g' telnetd/Makefile.orig > telnetd/Makefile + fi + cd $B/netkit-timed + gunzip -c $W/netkit-timed-0.17.diff.gz | patch -Np1 -i - + cd $B/netwrite + gunzip -c $W/netwrite-0.17.diff.gz | patch -Np1 -i - + cd $B + gunzip -c $W/netkit-combo-0.17-diffs.patch.gz | patch -Np1 -i - + gunzip -c $W/netkit-combo-0.17-tirpc.patch.gz | patch -Np1 -i - + find . -name "Makefile" -exec sed -i 's@$(RPCGEN)@& -Y /usr/bin@g' {} \; + for i in $B/*/configure ; do sed -i '/^MANDIR=/s@man@share/man@g' $i ; done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure --prefix=/usr --installroot=$P ${OPT_CONFIG[$i]} fi done fi @@ -61,19 +140,36 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install fi done + install -d $P/usr/$libdir + ln -s ../sbin/telnetlogin $P/usr/$libdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + rm $docdir/$src/netkit-routed/ChangeLog.gz + install2 $B/netkit-routed/ChangeLog $docdir/$src/netkit-routed + touch -t 200012251418.04 $docdir/$src/netkit-routed/ChangeLog + gzip_one $docdir/$src/netkit-routed/ChangeLog + rm $docdir/$src/netkit-routed/README.gz + install2 $B/netkit-routed/README $docdir/$src/netkit-routed + touch -t 200012251420.54 $docdir/$src/netkit-routed/README + gzip_one $docdir/$src/netkit-routed/README + touch -r $S/netkit-routed $docdir/$src/netkit-routed convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/nkf/PlamoBuild.nkf-2.1.2 2017-04-26 06:16:13.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.jp/nkf/53171/nkf-2.1.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=nkf +vers=2.1.2 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL INSTALL.j" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,24 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + sed -i -e 's@/local@@g' -e 's@$(prefix)@$(DESTDIR)&@g' \ + -e 's@/\@/share&@g' Makefile + cat <<- "EOF" | patch Makefile + 36a37 + > -$(MKDIR) $(DESTDIR)$(prefix) + 37a39 + > -$(MKDIR) $(DESTDIR)$(prefix)/share + EOF + cp -p nkf_test.pl{,.orig} + sed -i 's@/local@@g' nkf_test.pl + cat <<- "EOF" | patch nkf_test.pl + 902c902 + < &test("$nkf",$example{'test_data/q-encode-utf-8'},$example{'test_data/q-encode-utf-8.ans'}); + --- + > &test("$nkf -w",$example{'test_data/q-encode-utf-8'},$example{'test_data/q-encode-utf-8.ans'}); + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -52,6 +70,9 @@ make fi done + make perl + cp -p NKF.mod/Makefile{,.orig} + sed -i 's@/local@@g' NKF.mod/Makefile fi if [ $opt_package -eq 1 ] ; then root_priv @@ -64,15 +85,27 @@ make install DESTDIR=$P fi done + install -d $mandir/ja_JP.eucJP/man1 + ./nkf -e $mandir/ja/man1/nkf.1 > $mandir/ja_JP.eucJP/man1/nkf.1 + ( cd NKF.mod ; make pure_install DESTDIR=$P ) touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir \ + $P/usr/$libdir/perl5/site_perl/*/$arch-linux-thread-multi/auto/NKF + touch -t `date '+%m%d0900'` \ + $P/usr/$libdir/perl5/site_perl/*/$arch-linux-thread-multi/auto/NKF + gzip_dir $mandir/ja_JP.eucJP/man1 setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi/{auto/NKF,NKF.pm} 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/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/ja_JP.eucJP/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 mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/00_base/nvi/PlamoBuild.nvi-1.79 2018-08-15 17:39:36.000000000 +0900 @@ -1,19 +1,30 @@ #!/bin/sh ###################################################################### -url="" +url="http://motoyuki.bsdclub.org/data/FreeBSD/distfiles/nvi-1.79.tar.gz + http://motoyuki.bsdclub.org/data/FreeBSD/distfiles/nvi-m17n-1.79-20040608.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/nvi/nvi-1.79-64bit_breakage.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/nvi/nvi-1.79-DESTDIR.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/nvi/nvi-cmdwrapper.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=nvi +vers=1.79 arch=`uname -m` -build=P1 +build=P10 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-multibyte=euc-jp" +DOCS="LAYOUT README FAQ + `echo docs/USD.doc/{edit/edittut,vi.ref/vi.ref}.ps` + `echo docs/USD.doc/vitut/{vitut,summary,viapwh}.ps` + `echo docs/USD.doc/exref/{exref,summary}.ps` + `echo docs/{ev,features,interp/interp,TODO,help}` + `echo docs/internals/{gdb.script,structures,autowrite,quoting}` + `echo docs/internals/{input,context,openmode,cscope.NOTES}` + docs/changelog docs/tutorial/* `echo build/README{,.LynxOS}` LICENSE" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,9 +48,16 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + chmod -R u+w . + gunzip -c $W/nvi-m17n-1.79-20040608.diff.gz \ + | sed '/^\(---\|+++\) /s@\t[[:graph:]]*$@@' | patch -Np0 -fZ -i - + gunzip -c $W/nvi-1.79-64bit_breakage.patch.gz | patch -Np1 -i - + gunzip -c $W/nvi-1.79-DESTDIR.patch.gz | patch -Np1 -i - for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build if [ -x configure ] ; then + export ADDLDFLAGS="-lncurses" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} @@ -48,7 +66,7 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build if [ -f Makefile ] ; then make fi @@ -60,19 +78,44 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build if [ -f Makefile ] ; then make install DESTDIR=$P fi done + install -d $P/usr/libexec + mv $P/usr/bin/vi $P/usr/libexec + gunzip -c $W/nvi-cmdwrapper.gz > $P/usr/bin/vi + chmod 755 $P/usr/bin/vi + ln -f $P/usr/bin/{vi,ex} + ln -f $P/usr/bin/{vi,view} touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_bindir $P/usr/libexec setup_docdir + chmod 755 $docdir/$src/docs/tutorial/vi.tut.csh.gz + for i in curses regex ; do + install -d $docdir/$src/$i + cp -p $B/$i/README.m17n $docdir/$src/$i + chown root.root $docdir/$src/$i/README.m17n + gzip_one $docdir/$src/$i/README.m17n + done + cp -a $B/docs.m17n $docdir/$src + chown -R root.root $docdir/$src/docs.m17n + gzip_dir $docdir/$src/docs.m17n + TZ=UTC touch -t `date -u '+%m%d0000'` $docdir/$src/{curses,regex,docs.m17n} + mv $docdir/$src/{curses,build,LICENSE.gz,regex} $C + mv $docdir/$src/{docs.m17n,{$func,$myname,$spec}.gz} $C + mv $C/{curses,build,LICENSE.gz,regex} $docdir/$src + mv $C/{docs.m17n,{$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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/vi 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/openbsd_inetd/PlamoBuild.openbsd_inetd-0.20080125 2017-04-26 13:47:52.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/o/openbsd-inetd/openbsd-inetd_0.20080125.orig.tar.gz + http://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/o/openbsd-inetd/openbsd-inetd_0.20080125-6.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/openbsd_inetd/openbsd-inetd.conf.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=openbsd_inetd +vers=0.20080125 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P3 +src=openbsd-inetd-$vers.orig +patchfiles="openbsd-inetd_0.20080125-6.diff.gz" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +38,10 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in `grep "^[^#]" debian/patches/series` ; do + patch -Np1 -i debian/patches/$i + done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -49,7 +55,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make -f Makefile.debian fi done fi @@ -64,6 +70,12 @@ make install DESTDIR=$P fi done + install -d $P/usr/sbin + install inetd $P/usr/sbin + install -d $mandir/man8 + install -m 644 inetd.8 $mandir/man8 + install -d $P/etc + gunzip -c $W/openbsd-inetd.conf.gz > $P/etc/inetd.conf touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,8 +83,9 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man8 | tail -n+2` + tar rvpf $pkg.tar -C $P etc/inetd.conf 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/00_base/openssh/PlamoBuild.openssh-7.8p1 2018-12-26 22:01:04.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.8p1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=openssh +vers=7.8p1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--sysconfdir=/etc/ssh --with-pam --with-privsep-user=sshd + --with-privsep-path=/var/lib/sshd --with-md5-passwords" +DOCS="CREDITS INSTALL LICENCE OVERVIEW PROTOCOL* README* TODO ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,14 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p sshd_config{,.orig} + sed -i -e 's@^#\(UsePAM\) no$@\1 yes@g' \ + -e 's@^#\(PermitUserEnvironment\) no$@\1 yes@g' sshd_config + if [ $arch == x86_64 ] ; then + cp -p contrib/sshd.pam.generic{,.orig} + sed -i 's@/lib@/lib64@' contrib/sshd.pam.generic + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +74,49 @@ make install DESTDIR=$P fi done + ln -s ssh $P/usr/bin/slogin + ln -s ssh.1 $mandir/man1/slogin.1 + chgrp sys $P/var/lib/sshd + mv $P/etc/ssh/ssh_config{,.new} ; mv $P/etc/ssh/sshd_config{,.new} + mv $P/etc/ssh/{ssh{,d}_config.new,moduli} $C + mv $C/{ssh{,d}_config.new,moduli} $P/etc/ssh + install -d $P/etc/pam.d + install -m 644 contrib/sshd.pam.generic $P/etc/pam.d/sshd + install contrib/ssh-copy-id $P/usr/bin + install -m 644 contrib/ssh-copy-id.1 $mandir/man1 touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_bindir $P/usr/libexec setup_docdir convert_links + cat <<- "EOF" >> $P/install/doinst.sh + + ssh_config() { + mv etc/ssh/${1}_config.new /tmp + if [ -f etc/ssh/${1}_config ] ; then + mv /tmp/${1}_config.new etc/ssh/${1}_config.dist + else + mv /tmp/${1}_config.new etc/ssh/${1}_config + fi + } + + for i in ssh sshd ; do ssh_config $i ; done + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh 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` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P var/lib/sshd + tar rvpf $pkg.tar -C $P etc/ssh + tar rvpf $pkg.tar -C $P `cd $P ; find etc/pam.d | 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 `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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/00_base/openssl/PlamoBuild.openssl-1.0.2p 2018-12-26 22:15:30.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.openssl.org/source/openssl-1.0.2p.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/openssl/mkcabundle.pl" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=openssl +vers=1.0.2p arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ACKNOWLEDGMENTS CHANGES* CONTRIBUTING FAQ INSTALL* LICENSE NEWS + PROBLEMS README*" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -31,6 +33,10 @@ prepare "$@" if [ $opt_download -eq 1 ] ; then download_sources + if [ ! -f ca-bundle.crt ] ; then + chmod +x mkcabundle.pl + ./mkcabundle.pl > ca-bundle.crt + fi fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -45,11 +51,19 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + case $arch in + i686) sys=elf ;; + x86_64) sys=x86_64 ;; + armv7l) sys=armv4 ;; + esac + ./Configure linux-$sys --prefix=/usr --openssldir=/etc/ssl \ + shared zlib-dynamic enable-ssl2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then + make depend make fi done @@ -62,19 +76,39 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install MANDIR=/usr/share/man MANSUFFIX=ssl INSTALL_PREFIX=$P fi done + install $W/mkcabundle.pl $P/etc/ssl + cp -r certs $P/etc/ssl + install -m 644 $W/ca-bundle.crt $P/etc/ssl/certs + ln -s /etc/ssl $P/usr/share touch $W/i.et cd $W 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/engines + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/$libdir/engines setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $docdir/$src convert_links + prune_symlink $P/etc/ssl/certs/demo + prune_symlink $P/usr/share + TZ=UTC touch -t `date -u '+%m%d0000'` $P/etc/ssl/certs/demo tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/engines + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -type f` + tar rvpf $pkg.tar -C $P usr/include/openssl + tar rvpf $pkg.tar -C $P etc/ssl + tar rvpf $pkg.tar -C $P usr/share/ssl 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/man3 | 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 `cd $P ; find usr/share/man/man7 | tail -n+2` 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/os_prober/PlamoBuild.os_prober-1.74 2017-04-26 13:40:54.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://http.debian.net/debian/pool/main/o/os-prober/os-prober_1.74.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/os_prober/plamo-detect.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=os_prober +vers=1.74 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P2 +src=os-prober +patchfiles="plamo-detect.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,6 +65,28 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + install os-prober linux-boot-prober $P/usr/bin + install -d $P/usr/lib/os-prober + install newns $P/usr/lib/os-prober + install -d $P/usr/lib/os-probes/{mounted,init} + install os-probes/common/50mounted-tests $P/usr/lib/os-probes + install os-probes/mounted/common/* $P/usr/lib/os-probes/mounted + install -d $P/usr/lib/os-probes/mounted/efi + install os-probes/mounted/x86/efi/* $P/usr/lib/os-probes/mounted/efi + install os-probes/mounted/x86/[0-9]* $P/usr/lib/os-probes/mounted + install os-probes/mounted/powerpc/20macosx $P/usr/lib/os-probes/mounted + install os-probes/init/common/10filesystems $P/usr/lib/os-probes/init + install -d $P/usr/lib/linux-boot-probes/mounted + install linux-boot-probes/common/50mounted-tests \ + $P/usr/lib/linux-boot-probes + install linux-boot-probes/mounted/common/* \ + $P/usr/lib/linux-boot-probes/mounted + install linux-boot-probes/mounted/x86/* \ + $P/usr/lib/linux-boot-probes/mounted + install -d $P/usr/share/os-prober + install common.sh $P/usr/share/os-prober + install -d $P/var/lib/os-prober touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,7 +95,9 @@ setup_docdir 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/lib -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/os-prober + tar rvpf $pkg.tar -C $P var/lib/os-prober 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/pciutils/PlamoBuild.pciutils-3.1.8 2017-04-29 10:38:25.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.kernel.org/pub/software/utils/pciutils/pciutils-3.1.8.tar.bz2 + http://pciids.sourceforge.net/v2.2/pci.ids" verify= digest= commitid= -pkgbase= -vers= +pkgbase=pciutils +vers=3.1.8 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO README ChangeLog README.Windows COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,12 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p $W/pci.ids . + if [ $arch == x86_64 ] ; then + cp -p Makefile{,.orig} + sed -i '/^LIBDIR=/s@lib@lib64@g' Makefile + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -49,7 +56,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make ZLIB=no SHARED=yes PCI_COMPRESSED_IDS=0 PREFIX=/usr fi done fi @@ -61,7 +68,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P ZLIB=no SHARED=yes PREFIX=/usr + make install-lib DESTDIR=$P ZLIB=no SHARED=yes PREFIX=/usr fi done touch $W/i.et @@ -71,9 +79,15 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/pci + tar rvpf $pkg.tar -C $P usr/share/pci.ids + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/pm_utils/PlamoBuild.pm_utils-1.4.1 2017-04-29 12:02:33.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://pm-utils.freedesktop.org/releases/pm-utils-1.4.1.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=pm_utils +vers=1.4.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=pm-utils-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README* AUTHORS COPYING ChangeLog INSTALL NEWS TODO pm/HOWTO*" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,14 @@ setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/pm-utils + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P etc/pm 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/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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/procinfo_ng/PlamoBuild.procinfo_ng-2.0.304 2017-04-29 12:08:42.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/procinfo-ng/procinfo-ng-2.0.304.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=procinfo_ng +vers=2.0.304 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=procinfo-ng-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="GPL-2.txt LICENSE.txt LGPL-2.1.txt" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,7 +72,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 `cd $P ; find usr/share/man/man1 | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/procps_ng/PlamoBuild.procps_ng-3.3.11 2017-04-29 12:14:13.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/procps-ng/procps-ng-3.3.11.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=procps_ng +vers=3.3.11 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=procps-ng-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--exec-prefix= --disable-kill --enable-skill" +DOCS="AUTHORS NEWS COPYING ABOUT-NLS ChangeLog COPYING.LIB + `echo Documentation/{CodingStyle.md,FAQ,TODO,bugs.md}`" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -40,7 +41,7 @@ cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --libdir=/usr/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -71,9 +72,18 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/proc + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/readline/PlamoBuild.readline-6.3 2017-04-29 12:22:54.000000000 +0900 @@ -1,18 +1,26 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz + http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-001 + http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-002 + http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-003 + http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-004 + http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-005 + http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-006 + http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-007 + http://ftp.gnu.org/gnu/readline/readline-6.3-patches/readline63-008" verify= digest= commitid= -pkgbase= -vers= +pkgbase=readline +vers=6.3 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-curses" +DOCS="COPYING README MANIFEST INSTALL CHANGELOG CHANGES NEWS USAGE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,11 +44,20 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + patch -Np0 -i $W/readline63-001 + patch -Np0 -i $W/readline63-002 + patch -Np0 -i $W/readline63-003 + patch -Np0 -i $W/readline63-004 + patch -Np0 -i $W/readline63-005 + patch -Np0 -i $W/readline63-006 + patch -Np0 -i $W/readline63-007 + patch -Np0 -i $W/readline63-008 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --libdir=/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -49,7 +66,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make SHLIB_LIBS=-lncursesw fi done fi @@ -64,6 +81,11 @@ make install DESTDIR=$P fi done + install -d $P/usr/$libdir + rm $P/$libdir/lib{history,readline}.so + touch $P/$libdir/lib{history,readline}.so + ln -s /$libdir/libhistory.so.6 $P/usr/$libdir/libhistory.so + ln -s /$libdir/libreadline.so.6 $P/usr/$libdir/libreadline.so touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +93,15 @@ compress setup_docdir 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` + rm $P/$libdir/lib{history,readline}.so + tar cvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/readline + tar rvpf $pkg.tar -C $P usr/share/readline + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/reiserfsprogs/PlamoBuild.reiserfsprogs-3.6.21 2017-04-29 12:31:13.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v3.6.21/reiserfsprogs-3.6.21.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=reiserfsprogs +vers=3.6.21 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README AUTHORS INSTALL ChangeLog COPYING CREDITS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/rsyslog/PlamoBuild.rsyslog-4.6.8 2017-04-29 12:41:10.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.rsyslog.com/rsyslog/rsyslog-4.6.8.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=rsyslog +vers=4.6.8 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--sbindir=/sbin" +DOCS="COPYING README AUTHORS INSTALL COPYING.LESSER NEWS ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,15 +64,106 @@ make install DESTDIR=$P fi done + install -d $P/etc/rsyslog.d + cat <<- "EOF" | unexpand > $P/etc/rsyslog.conf + # Begin /etc/rsyslog.conf + # CLFS configuration of rsyslog. For more info use man rsyslog.conf + + ####################################################################### + # Rsyslog Modules + + # Support for Local System Logging + $ModLoad imuxsock.so + + # Support for Kernel Logging + $ModLoad imklog.so + + ####################################################################### + # Global Options + + # Use traditional timestamp format. + $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat + + # Set the default permissions for all log files. + $FileOwner root + $FileGroup root + $FileCreateMode 0640 + $DirCreateMode 0755 + + # Provides UDP reception + $ModLoad imudp + $UDPServerRun 514 + + # Disable Repeating of Entries + $RepeatedMsgReduction on + + ####################################################################### + # Include Rsyslog Config Snippets + + $IncludeConfig /etc/rsyslog.d/*.conf + + ####################################################################### + # Standard Log Files + + auth,authpriv.* /var/log/auth.log + *.*;auth,authpriv.none -/var/log/syslog + daemon.* -/var/log/daemon + kern.* -/var/log/kern.log + mail.* -/var/log/mail.log + user.* -/var/log/user.log + + # Catch All Logs + *.=debug;\ + auth,authpriv.none;\ + news.none;mail.none -/var/log/debug + *.=info;*.=notice;*.=warn;\ + auth,authpriv.none;\ + cron,daemon.none;\ + mail,news.none -/var/log/messages + + # Emergencies are shown to everyone + *.emerg * + + # End /etc/rsyslog.conf + EOF + install -d $P/etc/logrotate.d + for i in auth.log syslog daemon {kern,mail,user}.log debug messages ; do + cat <<- EOF > $P/etc/logrotate.d/$i + /var/log/$i { + compress + weekly + rotate 4 + missingok + notifempty + sharedscripts + postrotate + kill -HUP \`cat /var/run/rsyslogd.pid\` 2> /dev/null || true + endscript + } + EOF + done + sed -i '/rotate/s@4@8@' $P/etc/logrotate.d/{auth.log,syslog} + cat <<- "EOF" | patch $P/etc/logrotate.d/mail.log + 9c9 + < kill -HUP `cat /var/run/rsyslogd.pid` 2> /dev/null || true + --- + > /etc/rc.d/init.d/postfix reload 2> /dev/null || true + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/rsyslog + touch -t `date '+%m%d0900'` $P/usr/$libdir/rsyslog setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/rsyslog + tar rvpf $pkg.tar -C $P etc/rsyslog.{d,conf} + tar rvpf $pkg.tar -C $P `cd $P ; find etc/logrotate.d | 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 `cd $P ; find usr/share/man/man8 | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/sed/PlamoBuild.sed-4.2.2 2017-04-29 12:49:16.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/sed/sed-4.2.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=sed +vers=4.2.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--bindir=/bin" +DOCS="COPYING.DOC INSTALL README README-alpha THANKS AUTHORS COPYING + ChangeLog ABOUT-NLS BUGS NEWS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -50,6 +51,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make + make html fi done fi @@ -62,18 +64,31 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + make -C doc install-html DESTDIR=$P fi done + install -d $P/usr/bin + ln -s /bin/sed $P/usr/bin touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/sed $docdir/$src/doc + mv $docdir/$src/{doc,{THANKS,AUTHORS,COPYING,ChangeLog,ABOUT-NLS}.gz} $C + mv $docdir/$src/{BUGS,NEWS,$func,$myname,$spec}.gz $C + mv $C/{doc,{THANKS,AUTHORS,COPYING,ChangeLog,ABOUT-NLS}.gz} $docdir/$src + mv $C/{BUGS,NEWS,$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 cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/00_base/shadow/PlamoBuild.shadow-git_20130908 2018-01-26 08:59:08.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/shadow-maint/shadow.git + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/shadow/CVE-2017-2616.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/shadow/shadow-adduser-20180125" verify= digest= branch= -commitid= -pkgbase= -vers= +commitid[0]=578947e +pkgbase=shadow +vers=git_20130908 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +build=P8 +src=$pkgbase +patchfiles="CVE-2017-2616.patch.gz" +OPT_CONFIG="--enable-man --without-selinux --with-libcrack" +DOCS="COPYING ChangeLog NEWS README TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,127 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p etc/pam.d/chfn{,.orig} + cat <<- "EOF" | patch etc/pam.d/chfn + 2a3 + > auth include system-auth + EOF + cp -p etc/pam.d/chsh{,.orig} + cat <<- "EOF" | patch etc/pam.d/chsh + 2a3 + > auth include system-auth + EOF + cp -p etc/pam.d/login{,.orig} + cat <<- "EOF" | patch etc/pam.d/login + 7c7 + < session required pam_selinux.so close + --- + > #session required pam_selinux.so close + 10,11c10,13 + < session optional pam_console.so + < session required pam_selinux.so open + --- + > session optional pam_unix.so + > #session required pam_selinux.so open + > session required pam_lastlog.so + > session optional pam_ck_connector.so nox11 + EOF + cp -p etc/pam.d/su{,.orig} + cat <<- "EOF" | patch etc/pam.d/su + 6c6 + < auth required pam_wheel.so use_uid + --- + > #auth required pam_wheel.so use_uid + 10c10 + < session required pam_selinux.so close + --- + > #session required pam_selinux.so close + 12c12 + < session required pam_selinux.so open multiple + --- + > #session required pam_selinux.so open multiple + EOF + cp -p etc/pam.d/chage{,.orig} + cat <<- "EOF" | patch etc/pam.d/chage + 2a3 + > auth include system-auth + EOF + cp -p etc/useradd{,.orig} + sed '/^GROUP=/s@1000@100@g' etc/useradd.orig \ + | sed '/^CREATE_MAIL_SPOOL=/s@yes@no@g' > etc/useradd + cp -p etc/login.defs{,.orig} + cat <<- "EOF" | patch etc/login.defs + 17c17 + < FAILLOG_ENAB yes + --- + > #FAILLOG_ENAB yes + 32c32 + < LASTLOG_ENAB yes + --- + > #LASTLOG_ENAB yes + 40c40 + < MAIL_CHECK_ENAB yes + --- + > #MAIL_CHECK_ENAB yes + 45c45 + < OBSCURE_CHECKS_ENAB yes + --- + > #OBSCURE_CHECKS_ENAB yes + 50c50 + < PORTTIME_CHECKS_ENAB yes + --- + > #PORTTIME_CHECKS_ENAB yes + 55c55 + < QUOTAS_ENAB yes + --- + > #QUOTAS_ENAB yes + 81c81 + < MOTD_FILE /etc/motd + --- + > #MOTD_FILE /etc/motd + 99c99 + < FTMP_FILE /var/log/btmp + --- + > #FTMP_FILE /var/log/btmp + 106c106 + < NOLOGINS_FILE /etc/nologin + --- + > #NOLOGINS_FILE /etc/nologin + 144c144 + < ENV_HZ HZ=100 + --- + > #ENV_HZ HZ=100 + 205c205 + < PASS_MIN_LEN 5 + --- + > #PASS_MIN_LEN 5 + 214c214 + < SU_WHEEL_ONLY no + --- + > #SU_WHEEL_ONLY no + 219c219 + < CRACKLIB_DICTPATH /var/cache/cracklib/cracklib_dict + --- + > #CRACKLIB_DICTPATH /var/cache/cracklib/cracklib_dict + 260c260 + < PASS_CHANGE_TRIES 5 + --- + > #PASS_CHANGE_TRIES 5 + 265c265 + < PASS_ALWAYS_WARN yes + --- + > #PASS_ALWAYS_WARN yes + 277c277 + < CHFN_AUTH yes + --- + > #CHFN_AUTH yes + 359c359 + < ENVIRON_FILE /etc/environment + --- + > #ENVIRON_FILE /etc/environment + EOF + ./autogen.sh for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +188,65 @@ make install DESTDIR=$P fi done + install $W/shadow-adduser-20180125 $P/usr/sbin/adduser + install -d $mandir/ja_JP.eucJP/man{1,5,8} + for i in `cd $mandir/ja ; find . -type f` ; do + nkf -We $mandir/ja/$i > $mandir/ja_JP.eucJP/$i + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for loc in cs da de fi fr hu id it ja_JP.eucJP ko pl pt_BR ru sv tr \ + zh_CN zh_TW ; do + gzip_dir $P/usr/share/man/$loc/man1 + gzip_dir $P/usr/share/man/$loc/man3 + gzip_dir $P/usr/share/man/$loc/man5 + gzip_dir $P/usr/share/man/$loc/man8 + done setup_docdir + touch -t `date '+%m%d0900'` $docdir/$src convert_links + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + EOF + cat <<- "EOF" >> $P/install/doinst.sh + if [ -z "`grep "^root:" /etc/shadow | cut -d: -f2`" ] ; then + echo "root(システム管理者)のパスワードを設定してください。" + until passwd root ; do + echo "root(システム管理者)のパスワードを設定してください。" + done + echo "rootのパスワードの設定が完了しました。" + fi + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh 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` + tar rvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P etc/pam.d + tar rvpf $pkg.tar -C $P etc/login.defs + tar rvpf $pkg.tar -C $P etc/default + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + for loc in cs da de fi fr hu id it ja_JP.eucJP ko pl pt_BR ru sv tr \ + zh_CN zh_TW ; do + [ -d $mandir/$loc/man1 ] && tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/$loc/man1 | tail -n+2` + [ -d $mandir/$loc/man3 ] && tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/$loc/man3 | tail -n+2` + [ -d $mandir/$loc/man5 ] && tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/$loc/man5 | tail -n+2` + [ -d $mandir/$loc/man8 ] && tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/$loc/man8 | tail -n+2` + done 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/00_base/sudo/PlamoBuild.sudo-1.8.15 2018-01-31 18:31:40.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.sudo.ws/sudo/dist/sudo-1.8.15.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=sudo +vers=1.8.15 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-pam --with-vardir=/var/db/sudo --without-sendmail + --with-env-editor --with-all-insults --with-hal-insults + --with-secure-path" +DOCS="ABOUT-NLS ChangeLog INSTALL* MANIFEST NEWS README* + `echo doc/{CONTRIBUTORS,HISTORY,LICENSE,TROUBLESHOOTING,UPGRADE}`" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +40,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p plugins/sudoers/sudoers.in{,.orig} + sed -i 's/ *$//' plugins/sudoers/sudoers.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -62,19 +68,55 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install DESTDIR=$P fi done + mv $P/etc/sudoers $C + mv $C/sudoers $P/etc/sudoers.new + install -d $P/etc/pam.d + cat <<- "EOF" > $P/etc/pam.d/sudo + #%PAM-1.0 + auth include plamo-default + account include plamo-default + password include plamo-default + session include plamo-default + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/libexec/sudo setup_docdir - 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` + mv $docdir/sudo/examples $docdir/$src + mv $docdir/$src/{examples,{$func,$myname,$spec}.gz} $C + mv $C/{examples,{$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $docdir/$src{,/doc} + false && convert_links + for i in $P/usr/{sbin,bin,libexec/sudo} ; do prune_symlink $i ; done + for i in 5 8 ; do prune_symlink $mandir/man$i ; done + touch -t `date '+%m%d0900'` $P/usr/libexec/sudo + cat <<- "EOF" >> $P/install/doinst.sh + + mv etc/sudoers.new /tmp + if [ -f etc/sudoers ] ; then + mv /tmp/sudoers.new etc/sudoers.dist + else + mv /tmp/sudoers.new etc/sudoers + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/sudo + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find etc -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P var/{run,db}/sudo + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/sysfsutils/PlamoBuild.sysfsutils-2.1.0 2017-05-02 10:11:12.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/linux-diag/sysfsutils-2.1.0.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/sysfsutils/sysfs_get_link.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=sysfsutils +vers=2.1.0 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers -patchfiles="" +patchfiles="sysfs_get_link.patch" OPT_CONFIG="" -DOCS="README" +DOCS="TODO NEWS INSTALL README COPYING CREDITS AUTHORS + docs/libsysfs.txt ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +74,11 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/sysfs 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/syslinux/PlamoBuild.syslinux-6.03 2017-05-02 10:24:15.000000000 +0900 @@ -1,18 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.tar.xz + http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/syslinux/syslinux/syslinux-fix-parallel-building-issue.patch + http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/syslinux/syslinux/syslinux-libupload-depend-lib.patch + http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/syslinux/syslinux/syslinux-remove-clean-script.patch + http://www.nasm.us/pub/nasm/releasebuilds/2.11.08/nasm-2.11.08.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=syslinux +vers=6.03 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="syslinux-fix-parallel-building-issue.patch + syslinux-libupload-depend-lib.patch syslinux-remove-clean-script.patch" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING NEWS README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +41,15 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $W/nasm-2.11.08 + ./configure --prefix=$W/nasm + make install + PATH="$W/nasm/bin:$PATH" + cd $B + if [ $arch == i686 ] ; then + cp -p Makefile{,.orig} + sed -i '/^all_firmware/s@ efi64@@' Makefile + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -61,7 +75,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install INSTALLROOT=$P MANDIR=/usr/share/man fi done touch $W/i.et @@ -70,8 +84,16 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/doc $docdir/$src + chmod -R g-w $docdir/$src/doc + chown -R root.root $docdir/$src/doc + mv $docdir/$src/{doc,{NEWS,README,$func,$myname,$spec}.gz} $C + mv $C/{doc,{NEWS,README,$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $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 sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/syslinux 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/00_base/sysvinit/PlamoBuild.sysvinit-2.88dsf 2018-01-26 08:42:44.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.savannah.gnu.org/releases/sysvinit/sysvinit-2.88dsf.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/sysvinit/plamo-rc-scripts-20171021.tgz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=sysvinit +vers=2.88dsf arch=`uname -m` -build=P1 +build=P21 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo doc/{bootlogd.README,Install,Changelog,Propaganda}` + COPYING COPYRIGHT Makefile README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -62,19 +64,61 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install ROOT=$P fi done + cat <<- "EOF" > $P/sbin/link_rootdev.sh + #!/bin/sh + + root="`cat /proc/cmdline | sed -n 's@.*\=\([^ ]*\).*@\1@p'`" + if grep -q "^PARTUUID=" <<< $root ; then + # root=PARTUUID= + root_part=`blkid | tr -d '"' | grep $root | cut -d: -f1 | sed 's@/dev/@@'` + else + if grep -q "^/dev/" <<< $root ; then + # root=/dev/sda1 (grub) + root_part=${root#/dev/} + else + # root=801 (lilo) + maj=$((`printf "%d" 0x$root` / 256)) + min=$((`printf "%d" 0x$root` % 256)) + root_part=`cat /proc/partitions \ + | sed -n "/ $maj *$min /s@.* \([^ ]*\)@\1@p"` + fi + fi + ln -sf $root_part /dev/root + EOF + chmod 755 $P/sbin/link_rootdev.sh touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + cp -a etc $P + chown -R root.root $P/etc setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + prune_symlink $P/etc/rc.d + touch -r etc/rc.d $P/etc/rc.d + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $src + EOF + cat <<- "EOF" >> $P/install/doinst.sh + vers=`ls /usr/lib/setup/Plamo* | tail -n1 | cut -d"/" -f5` + echo "%s %r ($vers) %v" > /etc/motd.in + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc -maxdepth 1 | 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 `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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/00_base/tar/PlamoBuild.tar-1.26 2017-12-02 19:02:55.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/tar/tar-1.26.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/tar/tar-1.23-tartime.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/tar/tar-1.23-txz.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/tar/tar-1.26-no-gets.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=tar +vers=1.26 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers -patchfiles="" +patchfiles="`echo tar-1.2{3-{tartime,txz},6-no-gets}.patch.gz`" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS TODO README THANKS ChangeLog.1 AUTHORS INSTALL ABOUT-NLS + ChangeLog COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +46,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]} \ + FORCE_UNSAFE_CONFIGURE=1 fi done fi @@ -70,10 +75,13 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/tcp_wrappers/PlamoBuild.tcp_wrappers-7.6.q 2017-05-02 11:40:41.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://archive.debian.org/debian/pool/main/t/tcp-wrappers/tcp-wrappers_7.6.q.orig.tar.gz + http://archive.debian.org/debian/pool/main/t/tcp-wrappers/tcp-wrappers_7.6.q-16.diff.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=tcp_wrappers +vers=7.6.q arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P6 +src=tcp_wrappers_7.6 +patchfiles="tcp-wrappers_7.6.q-16.diff.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README BLURB DISCLAIMER CHANGES README.IRIX README.NIS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,10 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in `cat debian/patches/series` ; do + patch -Np1 -i debian/patches/$i + done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -49,7 +54,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make linux fi done fi @@ -60,10 +65,58 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make install DESTDIR=$P fi done + install -d $P/usr/sbin + for i in tcpd tcpdmatch try-from safe_finger tcpdchk ; do + install $i $P/usr/sbin + done + install -d $P/usr/$libdir + install shared/libwrap.so.0.7.6 $P/usr/$libdir + install -m 644 libwrap.a $P/usr/$libdir + ln -s libwrap.so.0.7.6 $P/usr/$libdir/libwrap.so.0 + ln -s libwrap.so.0.7.6 $P/usr/$libdir/libwrap.so + install -d $P/usr/include + install -m 644 tcpd.h $P/usr/include + install -d $mandir/man{3,5,8} + install -m 644 hosts_access.3 $mandir/man3 + for i in hosts_access hosts_options ; do + install -m 644 $i.5 $mandir/man5 + done + for i in tcpd tcpdmatch try-from safe_finger tcpdchk ; do + install -m 644 $i.8 $mandir/man8 + done + install -d $P/etc + cat <<- "EOF" > $P/etc/hosts.allow.new + # + # hosts.allow This file describes the names of the hosts which are + # allowed to use the local INET services, as decided by + # the '/usr/sbin/tcpd' server. + # + # Version: @(#)/etc/hosts.allow 1.00 05/28/93 + # + # Author: Fred N. van Kempen, $P/etc/hosts.deny.new + # + # hosts.deny This file describes the names of the hosts which are + # *not* allowed to use the local INET services, as decided + # by the '/usr/sbin/tcpd' server. + # + # Version: @(#)/etc/hosts.deny 1.00 05/28/93 + # + # Author: Fred N. van Kempen, > $P/install/doinst.sh + + hosts_config() { + mv etc/hosts.$1.new /tmp + if [ -f etc/hosts.$1 ] ; then + mv /tmp/hosts.$1.new etc/hosts.$1.dist + else + mv /tmp/hosts.$1.new etc/hosts.$1 + fi + } + + for i in allow deny ; do hosts_config $i ; done + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/tcsh/PlamoBuild.tcsh-6.19.00 2017-05-02 11:51:42.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.osuosl.org/pub/blfs/conglomeration/tcsh/tcsh-6.19.00.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=tcsh +vers=6.19.00 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="BUGS Copyright FAQ Fixes NewThings Ported README README.imake + WishList Y2K src.desc" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -62,8 +63,14 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + make install.man DESTDIR=$P fi done + install -d $P/bin + mv $P/usr/bin/tcsh $P/bin + ln -s /bin/tcsh $P/usr/bin + install -d $mandir/man3 + install -m 644 glob.3 $mandir/man3 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +78,13 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.cat` 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/timezone/PlamoBuild.timezone-2016f 2017-05-02 12:27:11.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.iana.org/time-zones/repository/releases/tzcode2016f.tar.gz + http://www.iana.org/time-zones/repository/releases/tzdata2016f.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/timezone/plamo_timeconfig.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=timezone +vers=2016f arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CONTRIBUTING LICENSE NEWS README Theory tz-art.htm + tz-how-to.html tz-link.htm" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,7 +32,17 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + url=($url) + for i in `seq 0 $((${#url[@]} - 1))` ; do + j=${url[$i]%%#*} ; k=`[[ ${url[$i]} =~ \# ]] && echo ${url[$i]#*#}` + if [ ! -f ${j##*/} ] ; then wget $j + verify_signature $j "${verify[$i]}" "${digest[$i]}" "$k" ; fi + done + mkdir timezone-2016f + tar xvpzf tzcode2016f.tar.gz -C timezone-2016f + tar xvpzf tzdata2016f.tar.gz -C timezone-2016f + tar xvpzf plamo_timeconfig.tar.gz fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -61,19 +74,48 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install TOPDIR=$P/usr/share TZDIR=$P/usr/share/zoneinfo \ + LIBDIR=$P/usr/$libdir fi done + install -d $P/usr/sbin + install $W/plamo_timeconfig/usr/sbin/timeconfig $P/usr/sbin + mv $P/usr/share/zoneinfo{,.new} + install -d $P/var/log/setup + for i in {,e}setup.timeconfig ; do + install $W/plamo_timeconfig/var/log/setup/$i $P/var/log/setup + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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` + prune_symlink $P/usr/share + cat <<- "EOF" >> $P/install/doinst.sh + + if [ -h usr/share/zoneinfo/localtime ] ; then + ln -sf `readlink usr/share/zoneinfo/localtime` \ + usr/share/zoneinfo.new/localtime + fi + mkdir usr/share/zoneinfo.tmp + mv usr/share/zoneinfo.new usr/share/zoneinfo.tmp + rm -rf usr/share/zoneinfo + mv usr/share/zoneinfo.tmp/zoneinfo.new usr/share/zoneinfo + rmdir usr/share/zoneinfo.tmp + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/zoneinfo{.new,-posix,-leaps} + tar rvpf $pkg.tar -C $P var/log/setup + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/traceroute/PlamoBuild.traceroute-2.0.18 2017-05-02 12:36:06.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/traceroute/traceroute-2.0.18.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=traceroute +vers=2.0.18 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING.LIB CREDITS ChangeLog COPYING VERSION TODO README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -49,7 +49,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make prefix=/usr fi done fi @@ -61,7 +61,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 fi done touch $W/i.et @@ -72,7 +72,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 `cd $P ; find usr/share/man/man1 | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/udev/PlamoBuild.udev-175 2017-05-02 14:07:09.000000000 +0900 @@ -1,18 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-175.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/udev/udev-175-input-event-codes.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/udev/udev-175-mtd_probe_stdint.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=udev +vers=175 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="udev-175-input-event-codes.patch.gz + udev-175-mtd_probe_stdint.patch.gz" +OPT_CONFIG="--libexecdir=/lib/udev --enable-static + --disable-introspection --enable-rule_generator" +DOCS="README extras/keymap/README.keymap.txt INSTALL ChangeLog NEWS + TODO COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +46,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]} \ + --with-rootlibdir=/$libdir fi done fi @@ -64,6 +70,13 @@ make install DESTDIR=$P fi done + install -d $P/sbin + mv $P/lib/udev/udevd $P/sbin + ln -s /sbin/udevd $P/lib/udev + mv $P/usr/sbin/udevadm $P/sbin + ln -s /sbin/udevadm $P/usr/sbin + mv $P/usr/$libdir/{lib{udev,gudev-1.0}.{so,la},pkgconfig} $C + mv $C/{lib{udev,gudev-1.0}.{so,la},pkgconfig} $P/usr/$libdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +84,23 @@ compress setup_docdir 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` + prune_symlink $P/lib/udev + touch -t `date '+%m%d0900'` $P/lib/udev + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P lib/udev + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P etc/udev + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/unicon_tools/PlamoBuild.unicon_tools-0.0.0.20050707 2017-05-02 14:19:30.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://vdlinux.sourceforge.jp/dists/UNICON/unicon-tools-0.0.0.20050707.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=unicon_tools +vers=0.0.0.20050707 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=unicon-tools-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo doc/{{README,RELEASE,INSTALL}{,_cn},THANKS,ChangeLog}` + INSTALL COPYING CREDITS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,7 +62,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P libdir=$P/usr/share fi done touch $W/i.et @@ -72,7 +73,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 `cd $P ; find usr/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/unicon 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/util_linux/PlamoBuild.util_linux-2.29 2017-05-02 14:26:01.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-2.29.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=util_linux +vers=2.29 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=util-linux-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-setpriv --disable-last --disable-mesg + --disable-chfn-chsh --disable-login --disable-nologin + --disable-sulogin --disable-su --enable-write --disable-pylibmount + --without-user --without-python" +DOCS="COPYING ABOUT-NLS ChangeLog README NEWS README.licensing AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -40,7 +43,7 @@ cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --libdir=/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -61,19 +64,49 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install DESTDIR=$P fi done + mv $P/usr/bin/logger $P/bin + ln -s /bin/logger $P/usr/bin + mv $P/bin/{,u}mount $P/sbin + ln -s /sbin/mount $P/bin + ln -s /sbin/umount $P/bin + install -d $P/var/lib/hwclock touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/Documentation $docdir/$src + chmod -R g-w $docdir/$src/Documentation + chown -R root.root $docdir/$src/Documentation + mv $docdir/util-linux/getopt $docdir/$src + mv $docdir/$src/{Documentation,{README,NEWS}.gz,getopt} $C + mv $docdir/$src/{README.licensing,AUTHORS,$func,$myname,$spec}.gz $C + mv $C/{Documentation,{README,NEWS}.gz,getopt} $docdir/$src + mv $C/{README.licensing,AUTHORS,$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 cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $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` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/bash-completion/completions | tail -n+2` + tar rvpf $pkg.tar -C $P var/lib/hwclock 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/xz/PlamoBuild.xz-5.2.2 2017-05-02 16:03:12.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://tukaani.org/xz/xz-5.2.2.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=xz +vers=5.2.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="PACKAGERS INSTALL.generic COPYING.LGPLv2.1 COPYING.GPLv3 INSTALL + ChangeLog ABOUT-NLS TODO THANKS README NEWS COPYING.GPLv2 COPYING + AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,16 +66,31 @@ make install DESTDIR=$P fi done + install -d $P/bin + for i in {,un}xz {,un}lzma ; do ln -s /usr/bin/$i $P/bin ; done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/xz/{{faq,history,{xz,lzma}-file-format}.txt,examples*} \ + $docdir/$src + mv $docdir/$src/{{faq,history,{xz,lzma}-file-format}.txt,examples*} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{{faq,history,{xz,lzma}-file-format}.txt,examples*} $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/00_base/zlib/PlamoBuild.zlib-1.2.8 2017-05-02 16:16:06.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://zlib.net/fossils/zlib-1.2.8.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=zlib +vers=1.2.8 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog `echo doc/{algorithm,rfc195{0,1,2},txtvsbin}.txt` + FAQ INDEX README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -39,9 +40,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure --prefix=/usr --libdir='${exec_prefix}'/$libdir \ + ${OPT_CONFIG[$i]} fi done fi @@ -70,10 +70,17 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/examples $docdir/$src + chown -R root.root $docdir/$src/examples + mv $docdir/$src/{examples,{FAQ,INDEX,README,$func,$myname,$spec}.gz} $C + mv $C/{examples,{FAQ,INDEX,README,$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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/FDclone/PlamoBuild.FDclone-3.01b 2017-05-05 13:06:34.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://hp.vector.co.jp/authors/VA012337/soft/fd/FD-3.01b.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=FDclone +vers=3.01b arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=FD-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo {README,HISTORY,FAQ,TECHKNOW,Install,ToAdmin,LICENSES}.eng` + FAQ README HISTORY TECHKNOW Install ToAdmin LICENSES" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,63 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + cat <<- "EOF" | patch Makefile + 41c41,42 + < -DHOSTLDFLAGS='"''$(HOSTLDFLAGS)''"' + --- + > -DHOSTLDFLAGS='"''$(HOSTLDFLAGS)''"' \ + > -DUSEDATADIR + EOF + cp -p machine.h{,.orig} + cat <<- "EOF" | patch machine.h + 962c962 + < /* #define LANGWIDTH ;column width of LANG used man(1) directory */ + --- + > #undef LANGWIDTH /* ;column width of LANG used man(1) directory */ + EOF + cp -p version.h{,.orig} + sed -i 's/NULL/"kojima@linet.gr.jp (Plamo Linux)"/' version.h + cp -p _fdrc{,.orig} + cat <<- "EOF" | patch _fdrc + 30c30 + < #DISPLAYMODE=0 + --- + > DISPLAYMODE=3 + 41c41 + < #WRITEFS=0 + --- + > WRITEFS=1 + 51c51 + < #INHERITCOPY=0 + --- + > INHERITCOPY=1 + 78c78 + < #DEFCOLUMNS=2 + --- + > DEFCOLUMNS=1 + 87c87 + < #WIDEDIGIT=0 + --- + > WIDEDIGIT=1 + 138c138 + < #SECOND=0 + --- + > SECOND=1 + 153c153 + < #SIZEINFO=0 + --- + > SIZEINFO=1 + 160c160 + < #FUNCLAYOUT=1005 + --- + > FUNCLAYOUT=1204 + 186c186 + < #ANSICOLOR=0 + --- + > ANSICOLOR=1 + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -49,7 +107,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make PREFIX=/usr CFLAGS="-DUSEDATADIR" fi done fi @@ -61,19 +119,37 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install BUILD=$P MANTOP=/usr/share/man fi done + install -d $P/etc + install -m 644 _fdrc $P/etc/fd2rc.new touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $mandir/ja_JP.eucJP/man1 setup_docdir convert_links + install -d $P/install + cat <<- "EOF" > $P/install/doinst.sh + mv etc/fd2rc.new /tmp + if [ -f etc/fd2rc ] ; then + mv /tmp/fd2rc.new etc/fd2rc.dist + else + mv /tmp/fd2rc.new etc/fd2rc + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/fd + tar rvpf $pkg.tar -C $P etc/fd2rc.new 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/ja_JP.eucJP/man1 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/Python2/PlamoBuild.Python2-2.7.9 2017-05-05 13:13:40.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=Python2 +vers=2.7.9 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=Python-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-shared --with-system-expat --with-system-ffi + --with-dbmliborder=gdbm:bdb:ndbm" +DOCS="LICENSE README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,16 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + sed -i 's@\(#! /usr\)/local\(/bin/python\)@\1\22@' Lib/cgi.py + if [ $arch == x86_64 ] ; then + sed -i 's@lib\(/python\)@lib64\1@' \ + Lib/{distutils/command/install,sysconfig}.py + sed -i 's@"lib"@"lib64"@' Lib/{distutils/sysconfig,site}.py + sed -i '/^SCRIPTDIR/s@lib@lib64@' Makefile.pre.in + sed -i -e '/VERSION/s@lib/@lib64/@' -e '/joinpath/s@lib/@lib64/@' \ + Modules/getpath.c + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,16 +75,28 @@ make install DESTDIR=$P fi done + touch $P/usr/bin/{pydoc,idle,2to3,smtpd.py} + ln -s /usr/$libdir/libpython2.7.so $P/usr/$libdir/python2.7/config + touch $P/usr/$libdir/python2.7/lib-dynload/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python2.7/config + strip_libdir $P/usr/$libdir/python2.7/lib-dynload + touch -t `date '+%m%d0900'` $P/usr/$libdir/python2.7/lib-dynload setup_docdir convert_links + touch -t `date '+%m%d0900'` $P/usr/$libdir/python2.7/config tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libpython2.7.*` + tar rvpf $pkg.tar -C $P usr/$libdir/python2.7 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/python2.7 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/alsa.txz/alsa_lib/PlamoBuild.alsa_lib-1.1.1 2017-05-14 21:44:00.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.1.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=alsa_lib +vers=1.1.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=alsa-lib-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog NOTES TODO COPYING MEMORY-LEAK" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -50,6 +50,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make + make doc fi done fi @@ -64,16 +65,33 @@ make install DESTDIR=$P fi done + install -d $docdir/alsa-lib + cp -r doc/doxygen/html $docdir/alsa-lib touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/alsa-lib/smixer + touch -t `date '+%m%d0900'` $P/usr/$libdir/alsa-lib/smixer setup_docdir + mv $docdir/alsa-lib/html $docdir/$src + mv $docdir/$src/{html,{INSTALL,ChangeLog,NOTES,TODO,COPYING}.gz} $C + mv $docdir/$src/{MEMORY-LEAK,$func,$myname,$spec}.gz $C + mv $C/{html,{INSTALL,ChangeLog,NOTES,TODO,COPYING}.gz} $docdir/$src + mv $C/{MEMORY-LEAK,$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 -name libasound.*` + tar rvpf $pkg.tar -C $P usr/$libdir/alsa-lib + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/alsa + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/sys | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/alsa + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/alsa.txz/alsa_utils/PlamoBuild.alsa_utils-1.1.1 2017-05-05 13:56:58.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.1.1.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=alsa_utils +vers=1.1.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=alsa-utils-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-asound-state-dir=/etc" +DOCS="ABOUT-NLS INSTALL ChangeLog TODO README COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +69,29 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $mandir/fr/man8 setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + # initialize sound card and store data + alsactl init + alsactl store + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/alsa + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/sounds/alsa 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/man7 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man8 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/fr/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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/alsa.txz/alsa_plugins/PlamoBuild.alsa_plugins-1.1.1 2017-05-05 14:07:51.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.1.1.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=alsa_plugins +vers=1.1.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=alsa-plugins-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo doc/{{samplerate,a52}.txt,README-{pcm-oss,maemo,jack}}` + `echo doc/{{speex{dsp,rate},lavcrate,vdownmix}.txt,README-pulse}` + `echo doc/{upmix.txt,README-arcam-av}` COPYING COPYING.GPL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +71,14 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/alsa-lib setup_docdir 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` + touch -t `date '+%m%d0900'` $P/usr/$libdir/alsa-lib + tar cvpf $pkg.tar -C $P usr/$libdir/alsa-lib + tar rvpf $pkg.tar -C $P usr/share/alsa 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/aspell.txz/aspell/PlamoBuild.aspell-0.60.6.1 2017-05-07 09:57:01.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.1.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=aspell +vers=0.60.6.1 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO README ABOUT-NLS COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,16 +64,26 @@ make install DESTDIR=$P fi done + sver=`echo $vers | cut -d. -f1-2` + ln -s /usr/$libdir/aspell-$sver/spell $P/usr/bin + ln -s /usr/$libdir/aspell-$sver/ispell $P/usr/bin touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/aspell-$sver + touch -t `date '+%m%d0900'` $P/usr/$libdir/aspell-$sver setup_docdir 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/$libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/aspell.txz/aspell6_en/PlamoBuild.aspell6_en-7.1.0 2017-05-07 10:05:03.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-7.1-0.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=aspell6_en +vers=7.1.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=aspell6-en-7.1-0 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo doc/{extra.txt,ChangeLog,SCOWL-README}` README README.iso" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -39,9 +39,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure fi done fi @@ -71,8 +69,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P usr/$libdir/aspell-0.60 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/autofs/PlamoBuild.autofs-5.1.2 2017-05-23 06:23:59.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-5.1.2.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/autofs/autofs_init_sleep.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=autofs +vers=5.1.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="autofs_init_sleep.patch" +OPT_CONFIG="--with-confdir=/etc --without-openldap" +DOCS="CHANGELOG COPYING COPYRIGHT CREDITS INSTALL README*" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,16 +65,44 @@ make install DESTDIR=$P fi done + chmod 644 $P/etc/rc.d/init.d/autofs + for i in fs fs_ldap_auth.conf .master .misc .net .smb ; do + mv $P/etc/auto$i $C/auto$i.new + done + for i in fs fs_ldap_auth.conf .master .misc .net .smb ; do + mv $C/auto$i.new $P/etc + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/autofs setup_docdir 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` + cat <<- "EOF" >> $P/install/doinst.sh + + autofs_config() { + mv etc/auto$1.new /tmp + if [ -f etc/auto$1 ] ; then + mv /tmp/auto$1.new etc/auto$1.dist + else + mv /tmp/auto$1.new etc/auto$1 + fi + } + + for i in fs fs_ldap_auth.conf .master .misc .net .smb ; do + autofs_config $i + done + EOF + touch -t `date '+%m%d0900'` $P/usr/$libdir/autofs $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/autofs + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/bc/PlamoBuild.bc-1.06.95 2017-05-23 06:31:23.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://alpha.gnu.org/gnu/bc/bc-1.06.95.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=bc +vers=1.06.95 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-readline" +DOCS="README AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS FAQ" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,8 +70,15 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/{Examples,Test} $docdir/$src + chmod 755 $docdir/$src/{Examples,Test} + chown -R root.root $docdir/$src/{Examples,Test} + mv $docdir/$src/{Examples,Test,{FAQ,$func,$myname,$spec}.gz} $C + mv $C/{Examples,Test,{FAQ,$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/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/berkeley_db/PlamoBuild.berkeley_db-4.7.25 2017-05-23 06:40:08.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=berkeley_db +vers=4.7.25 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src=db-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-compat185 --enable-cxx --enable-o_direct + --enable-pthread_api --enable-rpc" +DOCS="LICENSE README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,17 +38,18 @@ done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} - if [ -x configure ] ; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + cd ${B[$i]}/build_unix + if [ -x ../dist/configure ] ; then + ../dist/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]} \ + --with-tcl=/usr/$libdir fi done fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build_unix if [ -f Makefile ] ; then make fi @@ -59,21 +61,35 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build_unix if [ -f Makefile ] ; then make install DESTDIR=$P fi done + chown -R root.root $P/usr/{bin,$libdir,include,docs} + touch $P/usr/$libdir/* $P/usr/include/* + ( cd $P/usr/docs ; find . -type d ! -path ./articles/inmemory \ + ! -path ./articles/inmemory/C ! -path ./collections/tutorial \ + ! -path ./gsg/JAVA ! -path ./gsg_db_rep/JAVA ! -path ./gsg_txn/JAVA \ + ! -path ./java ! -path ./java/com/sleepycat \ + ! -path ./java/com/sleepycat/util -exec touch {} \; ) + chmod -R g-w $P/usr/docs touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $P/usr/docs $docdir/$src + mv $docdir/$src/{docs,{$func,$myname,$spec}.gz} $C + mv $C/{docs,{$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 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/bsd_games/PlamoBuild.bsd_games-2.17 2017-05-23 12:52:45.000000000 +0900 @@ -1,18 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.ibiblio.org/pub/linux/games/bsd-games-2.17.tar.gz + http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-misc/bsd-games/files/bsd-games-2.17-glibc2.10.patch + http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-misc/bsd-games/files/bsd-games-2.17-gcc43.patch + http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-misc/bsd-games/files/bsd-games-2.17-headers.patch + http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-misc/bsd-games/files/bsd-games-2.17-64bit.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/bsd_games/hangman-words.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=bsd_games +vers=2.17 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P6 +src=bsd-games-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="THANKS AUTHORS BUGS COPYING NEWS ChangeLog PACKAGING + SECURITY ChangeLog.0 INSTALL README YEAR2000 TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +42,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + patch -Np0 -i $W/bsd-games-2.17-glibc2.10.patch + patch -Np0 -i $W/bsd-games-2.17-gcc43.patch + patch -Np0 -i $W/bsd-games-2.17-headers.patch + patch -Np1 -i $W/bsd-games-2.17-64bit.patch + cat <<- "EOF" > config.params + bsd_games_cfg_non_interactive=y + bsd_games_cfg_install_prefix=\$\{DESTDIR\} + bsd_games_cfg_use_dm=y + bsd_games_cfg_libexecdir=/usr/libexec/games/dm + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -48,7 +65,7 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + if [ -f GNUmakefile ] ; then make fi done @@ -60,20 +77,44 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make install DESTDIR=$P + if [ -f GNUmakefile ] ; then + make -i install DESTDIR=$P fi done + install -d $P/usr/share/dict + gunzip -c $W/hangman-words.gz > $P/usr/share/dict/words + chgrp -R games $P/var/games + chmod -R g+w $P/var/games touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/games + strip_bindir $P/usr/libexec/games/dm + touch -t `date '+%m%d0900'` $P/usr/libexec/games/dm setup_docdir + mv $docdir/bsd-games $docdir/$src/trek + mv $docdir/$src/{trek,{INSTALL,README,YEAR2000,TODO}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{trek,{INSTALL,README,YEAR2000,TODO}.gz} $docdir/$src + mv $C/{$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` + prune_symlink $P/usr/games + touch -t `date '+%m%d0900'` $P/usr/games + tar cvpf $pkg.tar -C $P usr/games + tar rvpf $pkg.tar -C $P usr/libexec/games + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/games + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/misc | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/dict/words + tar rvpf $pkg.tar -C $P var/games + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man6 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/bvi/PlamoBuild.bvi-1.4.0 2017-05-23 14:32:51.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/bvi/bvi-1.4.0.src.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=bvi +vers=1.4.0 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING CREDITS CHANGES" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,6 +72,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 usr/share/bvi 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/cpio/PlamoBuild.cpio-2.12 2017-05-23 15:17:08.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/cpio/CVE-2016-2037.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=cpio +vers=2.12 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="CVE-2016-2037.patch" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS ABOUT-NLS TODO COPYING INSTALL README NEWS ChangeLog + THANKS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,10 +71,15 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man8 | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/cpufreqd/PlamoBuild.cpufreqd-2.4.2 2017-05-23 15:47:09.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/cpufreqd/cpufreqd-2.4.2.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=cpufreqd +vers=2.4.2 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING NEWS ChangeLog AUTHORS INSTALL README TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,12 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p src/Makefile.in{,.orig} + sed -i 's@\@$(libdir)@g' src/Makefile.in + cp -p cpufreqd.conf{,.orig} + sed -i -e 's@^#\(enable_remote\)@\1@' \ + -e 's@^#\(remote_group\)@\1@' cpufreqd.conf for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,6 +70,128 @@ make install DESTDIR=$P fi done + mv $P/etc/cpufreqd.conf $C + mv $C/cpufreqd.conf $P/etc/cpufreqd.conf.new + cat <<- "EOF" > $P/etc/cpufreqd.conf.sample + [General] + pidfile=/var/run/cpufreqd.pid + poll_interval=2 + verbosity=4 + enable_remote=1 + remote_group=root + [/General] + + [sensors_plugin] + sensors_conf=/etc/sensors3.conf + [/sensors_plugin] + + [Profile] + name=On Demand High + minfreq=40% + maxfreq=100% + policy=ondemand + [/Profile] + + [Profile] + name=On Demand Low + minfreq=20% + maxfreq=80% + policy=ondemand + [/Profile] + + [Profile] + name=Performance High + minfreq=100% + maxfreq=100% + policy=performance + [/Profile] + + [Profile] + name=Performance Low + minfreq=80% + maxfreq=80% + policy=performance + [/Profile] + + [Profile] + name=Powersave High + minfreq=70% + maxfreq=70% + policy=powersave + [/Profile] + + [Profile] + name=Powersave Low + minfreq=30% + maxfreq=30% + policy=powersave + [/Profile] + + [Rule] + name=Default Rule + sensor=temp1:0-60 + cpu_interval=0-100 + profile=Performance High + [/Rule] + + [Rule] + name=CPU Too Hot + sensor=temp1:61-100 + cpu_interval=50-100 + profile=On Demand Low + [/Rule] + + EOF + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/cpufreqd + #!/bin/sh + + start() { + for i in cpufreq_{conservative,powersave,userspace,ondemand,stats} \ + freq_table ; do + modprobe $i > /dev/null 2>&1 + done + for i in acpi-cpufreq mperf p4-clockmod powernow-k8 speedstep-centrino \ + speedstep-lib ; do + modprobe $i > /dev/null 2>&1 + done + for i in ac battery container pci_slot processor sbshc video acpi_pad \ + button fan power_meter sbs thermal ; do + modprobe $i >/dev/null 2>&1 + done + if [ -x /usr/sbin/cpufreqd ] ; then + echo $"Starting cpufreqd..." + cpufreqd + fi + } + + stop() { + if [ -f /var/run/cpufreqd.pid ] ; then + echo $"Stopping cpufreqd daemon..." + kill `cat /var/run/cpufreqd.pid` + rm -f /var/run/cpufreqd.pid + fi + } + + case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + sleep 3 + start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + exit 1 + ;; + esac + exit 0 + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +199,26 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + install -d $P/install + cat <<- "EOF" > $P/install/doinst.sh + mv etc/cpufreqd.conf.new /tmp + if [ -f etc/cpufreqd.conf ] ; then + mv /tmp/cpufreqd.conf.new etc/cpufreqd.conf.dist + else + mv /tmp/cpufreqd.conf.new etc/cpufreqd.conf + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P etc/cpufreqd.conf.{new,sample} + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/cpufreqd 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/cpufrequtils/PlamoBuild.cpufrequtils-008 2017-05-23 16:43:48.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils-008.tar.xz + http://slackware.uk/people/alien-arm/bootstrap/source.local/a/cpufrequtils/cpufrequtils_no_aperf.diff" verify= digest= commitid= -pkgbase= -vers= +pkgbase=cpufrequtils +vers=008 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch != i686 -a $arch != x86_64 ] ; then + patch -Np1 -i $W/cpufrequtils_no_aperf.diff + fi + cp -p Makefile{,.orig} + sed -i -e '/^mandir/s@/man@/share/man@' \ + -e "/^libdir/s@/lib@/$libdir@" Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,6 +72,8 @@ make install DESTDIR=$P fi done + touch $P/usr/$libdir/* + chown root.root $P/usr/$libdir/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +82,12 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/cryptsetup/PlamoBuild.cryptsetup-1.6.2 2017-05-23 22:04:50.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/cryptsetup/v1.6/cryptsetup-1.6.2.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=cryptsetup +vers=1.6.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="FAQ ChangeLog COPYING NEWS COPYING.LGPL AUTHORS ABOUT-NLS README + INSTALL TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +72,14 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/dbus/PlamoBuild.dbus-1.6.18 2017-05-28 07:42:45.000000000 +0900 @@ -1,18 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://dbus.freedesktop.org/releases/dbus/dbus-1.6.18.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=dbus +vers=1.6.18 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-systemd --with-xml=expat + --with-console-auth-dir=/var/run/console + --without-systemdsystemunitdir" +DOCS="INSTALL NEWS README AUTHORS ChangeLog COPYING HACKING + ChangeLog.pre-1-0 NEWS.pre-1-0 ChangeLog.pre-1-2 NEWS.pre-1-2 + README.win README.wince README.cygwin README.launchd" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +73,25 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec setup_docdir + mv $docdir/dbus $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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libdbus-1.*` + tar rvpf $pkg.tar -C $P usr/$libdir/dbus-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/dbus-1.0 + tar rvpf $pkg.tar -C $P usr/share/dbus-1 + tar rvpf $pkg.tar -C $P etc/dbus-1 + tar rvpf $pkg.tar -C $P var/{run,lib}/dbus 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/autoconf/PlamoBuild.autoconf-2.69 2017-05-28 07:54:24.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=autoconf +vers=2.69 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="THANKS NEWS ChangeLog.2 ChangeLog COPYING ChangeLog.3 README + AUTHORS COPYINGv3 BUGS ChangeLog.0 ChangeLog.1 TODO + COPYING.EXCEPTION INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,6 +74,9 @@ setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/autoconf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/emacs/site-lisp | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/autoconf213/PlamoBuild.autoconf213-2.13 2017-05-28 08:58:21.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=autoconf213 +vers=2.13 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=autoconf-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--program-suffix=-2.13" +DOCS="ChangeLog AUTHORS COPYING ChangeLog.0 ChangeLog.1 INSTALL NEWS + README TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,10 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + sed -i -e 's@$(bindir)@$(DESTDIR)&@g' -e 's@$(infodir)@$(DESTDIR)&@g' \ + -e 's@ \($(acdatadir)\)@ $(DESTDIR)\1@g' Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,6 +69,9 @@ make install DESTDIR=$P fi done + mv $P/usr/share/info/{autoconf,standards}.info $C + mv $C/autoconf.info $P/usr/share/info/autoconf-$vers.info + mv $C/standards.info $P/usr/share/info/standards-$vers.info touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,7 +80,8 @@ setup_docdir 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 usr/share/autoconf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/automake/PlamoBuild.automake-1.14.1 2017-05-28 09:07:43.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/automake/automake-1.14.1.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=automake +vers=1.14.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="THANKS ChangeLog HACKING NEWS AUTHORS README INSTALL COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,8 +70,17 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/automake/amhello-1.0.tar.gz $docdir/$src + mv $docdir/$src/{amhello-1.0.tar.gz,{AUTHORS,README}.gz} $C + mv $docdir/$src/{INSTALL,COPYING,$func,$myname,$spec}.gz $C + mv $C/{amhello-1.0.tar.gz,{AUTHORS,README}.gz} $docdir/$src + mv $C/{INSTALL,COPYING,$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 usr/share/automake-${vers%.*} + tar rvpf $pkg.tar -C $P usr/share/aclocal{-${vers%.*},} + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/binutils/PlamoBuild.binutils-2.25 2017-05-28 15:20:40.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/binutils/binutils-2.25.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/devel.txz/binutils/pr16825.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=binutils +vers=2.25 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="pr16825.patch.gz" +OPT_CONFIG="--enable-shared" +DOCS="ChangeLog COPYING* MAINTAINERS README*" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +42,9 @@ 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]} \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --host=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -49,7 +52,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make tooldir=/usr fi done fi @@ -61,7 +64,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P tooldir=/usr fi done touch $W/i.et @@ -70,10 +73,17 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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/$libdir -name lib* | tail -n+2` + tar rvpf $pkg.tar -C $P usr/lib/ldscripts + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/bison/PlamoBuild.bison-3.0.4 2017-05-29 19:53:04.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=bison +vers=3.0.4 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ABOUT-NLS AUTHORS ChangeLog* COPYING INSTALL NEWS PACKAGING + README* THANKS TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,8 +71,21 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/bison/examples $docdir/$src + mv $docdir/$src/{examples,{INSTALL,NEWS,PACKAGING,README}.gz} $C + mv $docdir/$src/{README-{alpha,release},THANKS,TODO}.gz $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{examples,{INSTALL,NEWS,PACKAGING,README}.gz} $docdir/$src + mv $C/{README-{alpha,release},THANKS,TODO}.gz $docdir/$src + mv $C/{$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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/bison + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/cloog/PlamoBuild.cloog-0.17.0 2017-05-29 19:57:16.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.bastoul.net/cloog/pages/download/cloog-0.17.0.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=cloog +vers=0.17.0 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,18 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p isl/Makefile.in{,.orig} + cat <<- "EOF" | patch isl/Makefile.in + 2221,2223c2221,2223 + < $(DESTDIR)$(libdir)/$$libisl-gdb.py; \ + < test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \ + < $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac + --- + > $(DESTDIR)/usr/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; \ + > test -z "/usr/share/gdb/auto-load$(libdir)" || $(MKDIR_P) "$(DESTDIR)/usr/share/gdb/auto-load$(libdir)"; \ + > $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)/usr/share/gdb/auto-load$(libdir)/$$libisl-gdb.py; esac + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,8 +84,12 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gdb/auto-load/usr/$libdir | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/cvs/PlamoBuild.cvs-1.11.23 2017-05-29 20:00:41.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.23/cvs-1.11.23.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/devel.txz/cvs/cvs-1.11.23-getline.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=cvs +vers=1.11.23 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="cvs-1.11.23-getline.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS TODO + BUGS ChangeLog.zoo DEVEL-CVS FAQ HACKING MINOR-BUGS PROJECTS + README.VMS TESTS " template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +75,13 @@ setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/cvs + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/diffutils/PlamoBuild.diffutils-3.2 2017-05-29 20:03:33.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/diffutils/diffutils-3.2.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=diffutils +vers=3.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO INSTALL COPYING ChangeLog-2008 README-release ChangeLog + ABOUT-NLS THANKS NEWS README AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p lib/stdio.in.h{,.orig} + sed -i '/gets is a security hole/d' lib/stdio.in.h for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,6 +76,8 @@ setup_docdir 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/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/elfutils/PlamoBuild.elfutils-0.161 2017-05-29 20:07:28.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://fedorahosted.org/releases/e/l/elfutils/0.161/elfutils-0.161.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/devel.txz/elfutils/elfutils-portability-0.161.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/devel.txz/elfutils/CVE-2014-9447.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=elfutils +vers=0.161 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="elfutils-portability-0.161.patch.gz CVE-2014-9447.patch.gz" +OPT_CONFIG="--program-prefix=eu-" +DOCS="COPYING THANKS NOTES AUTHORS ABOUT-NLS COPYING-GPLV2 NEWS + COPYING-LGPLV3 CONTRIBUTING INSTALL TODO README ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +72,16 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/elfutils setup_docdir convert_links + touch -t `date '+%m%d0900'` $P/usr/$libdir/elfutils 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 -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/flex/PlamoBuild.flex-2.5.35 2017-05-29 23:53:47.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://repository.timesys.com/buildsources/f/flex/flex-2.5.35/flex-2.5.35.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/devel.txz/flex/flex-2.5.35-gcc44-1.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=flex +vers=2.5.35 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="flex-2.5.35-gcc44-1.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS + README-alpha THANKS TODO ONEWS README.cvs" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,6 +66,13 @@ make install DESTDIR=$P fi done + cat <<- "EOF" > $P/usr/bin/lex + #!/bin/sh + + exec flex -l "$@" + EOF + chmod 755 $P/usr/bin/lex + ln -s libfl.a $P/usr/$libdir/libl.a touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +81,13 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/01_minimum/devel.txz/g++/PlamoBuild.g++-4.8.5 2017-10-15 19:51:57.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=g++ +vers=4.8.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=gcc-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-werror --disable-multilib --enable-install-libiberty + --enable-__cxa_atexit --enable-threads=posix --enable-shared + --enable-languages=c,c++,fortran,go --enable-gnu-unique-object + --enable-linker-build-id --enable-plugin --with-system-zlib + --with-linker-hash-style=gnu --enable-clocale=gnu --disable-libstdcxx-pch" +DOCS="COPYING ChangeLog ABOUT-NLS NEWS COPYING3.LIB ChangeLog.tree-ssa + COPYING3 COPYING.RUNTIME README COPYING.LIB MAINTAINERS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +47,10 @@ 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]} \ + --libexecdir=/usr/$libdir \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --host=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -65,16 +73,51 @@ make install DESTDIR=$P fi done + mv $P/usr/bin/{,$arch-*-}{g,c}++ $C + rm -f $P/usr/bin/* + mv $C/{,$arch-*-}{g,c}++ $P/usr/bin + gcclibdir=$P/usr/$libdir/gcc/$arch-pc-linux-gnu + gcclibdir+=`[ $arch == armv7l ] && echo eabi`/$vers + mv $gcclibdir/cc1plus $C + rm -rf $gcclibdir/* + mv $C/cc1plus $gcclibdir + mv $P/usr/$libdir/libsupc++.{la,a} $C + mv $P/usr/$libdir/libstdc++.{so{.6{.0.19,},},{la,a}} $C + mv $P/usr/$libdir/libstdc++.so.6.0.19-gdb.py $C + mv $P/usr/$libdir/libasan_preinit.o $C + mv $P/usr/$libdir/lib{a,t}san.{so{.0{.0.0,},},{la,a}} $C + rm -rf $P/usr/$libdir/{lib*,go} + mv $C/libsupc++.{la,a} $P/usr/$libdir + mv $C/libstdc++.{so{.6{.0.19,},},{la,a}} $P/usr/$libdir + mv $C/libstdc++.so.6.0.19-gdb.py $P/usr/$libdir + mv $C/libasan_preinit.o $P/usr/$libdir + mv $C/lib{a,t}san.{so{.0{.0.0,},},{la,a}} $P/usr/$libdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in cc1plus ; do + echo "$i" + echo "stripping $i with -p" + strip -p $gcclibdir/$i + done + touch -t `date '+%m%d0900'` $gcclibdir setup_docdir convert_links + install -d $P/usr/share/gdb/auto-load/usr/$libdir + mv $P/usr/$libdir/libstdc++.so.*-gdb.py \ + $P/usr/share/gdb/auto-load/usr/$libdir 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 \ + `cd $P ; find usr/share/gdb/auto-load/usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/c++ + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name libstdc++.mo` + tar rvpf $pkg.tar -C $P usr/share/gcc-$vers + tar rvpf $pkg.tar -C $P usr/share/man/man1/g++.1.gz 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/01_minimum/devel.txz/gcc/PlamoBuild.gcc-4.8.5 2017-10-15 19:51:07.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gcc +vers=4.8.5 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-werror --disable-multilib --enable-install-libiberty + --enable-__cxa_atexit --enable-threads=posix --enable-shared + --enable-languages=c,c++,fortran,go --enable-gnu-unique-object + --enable-linker-build-id --enable-plugin --with-system-zlib + --with-linker-hash-style=gnu --enable-clocale=gnu --disable-libstdcxx-pch" +DOCS="COPYING ChangeLog ABOUT-NLS NEWS COPYING3.LIB ChangeLog.tree-ssa + COPYING3 COPYING.RUNTIME README COPYING.LIB MAINTAINERS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +47,10 @@ 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]} \ + --libexecdir=/usr/$libdir \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --host=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -65,16 +73,66 @@ make install DESTDIR=$P fi done + ln -s gcc $P/usr/bin/cc + install -d $P/$libdir + ln -s /usr/bin/cpp $P/$libdir + mv $P/usr/$libdir/lib{iberty.a,gcc_s.so{.1,}} $C + mv $C/lib{iberty.a,gcc_s.so{.1,}} $P/usr/$libdir + rm -f $P/usr/bin/{*g++,*c++,*gfortran,*gccgo} + mv $P/usr/bin/{gcov,cpp,gcc,$arch-*-gcc-$vers,gcc-{ar,nm}} $C + mv $P/usr/bin/{$arch-*-gcc{,-ar,-nm},gcc-ranlib,$arch-*-gcc-ranlib,cc} $C + mv $C/{gcov,cpp,gcc,$arch-*-gcc-$vers,gcc-{ar,nm}} $P/usr/bin + mv $C/{$arch-*-gcc{,-ar,-nm},gcc-ranlib,$arch-*-gcc-ranlib,cc} $P/usr/bin + gcclibdir=$P/usr/$libdir/gcc/$arch-pc-linux-gnu + gcclibdir+=`[ $arch == armv7l ] && echo eabi`/$vers + rm -rf $gcclibdir/{finclude,cc1plus,f951,go1,lib{caf,gfortran}*} + mv $gcclibdir/{cc1,lto1,collect2,include*,lto-wrapper,plugin} $C + mv $gcclibdir/{lib{gcc{_eh,},gcov}.a,crt{begin,end,prec,fastmath}*} $C + mv $C/{cc1,lto1,collect2,include*,lto-wrapper,plugin} $gcclibdir + mv $C/{lib{gcc{_eh,},gcov}.a,crt{begin,end,prec,fastmath}*} $gcclibdir + rm -rf $P/usr/$libdir/{lib{{sup,std}c++,asan,tsan,gfortran,gobegin,go.}*,go} + mv $P/usr/$libdir/libmudflap{{,th}.{so{.0{.0.0,},},la},{,th}.a} $C + mv $P/usr/$libdir/libssp{.so{.0{.0.0,},},{,_*}.la,{,_*}.a} $C + mv $P/usr/$libdir/libquadmath.{so{.0{.0.0,},},{la,a}} $C + mv $P/usr/$libdir/libatomic.{so{.1{.0.0,},},{la,a}} $C + mv $P/usr/$libdir/lib{gomp,itm}.{spec,so{.1{.0.0,},},{la,a}} $C + mv $C/libmudflap{{,th}.{so{.0{.0.0,},},la},{,th}.a} $P/usr/$libdir + mv $C/libssp{.so{.0{.0.0,},},{,_*}.la,{,_*}.a} $P/usr/$libdir + mv $C/libquadmath.{so{.0{.0.0,},},{la,a}} $P/usr/$libdir + mv $C/libatomic.{so{.1{.0.0,},},{la,a}} $P/usr/$libdir + mv $C/lib{gomp,itm}.{spec,so{.1{.0.0,},},{la,a}} $P/usr/$libdir + chown -R root.root $gcclibdir/include{,-fixed} + touch $gcclibdir/include/*.h + find $gcclibdir/include-fixed -exec touch {} \; touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $gcclibdir/install-tools + for i in cc1 lto1 collect2 lto-wrapper ; do + echo "$i" + echo "stripping $i with -p" + strip -p $gcclibdir/$i + done + strip_bindir $gcclibdir/plugin + strip_libdir $gcclibdir setup_docdir convert_links + touch -t `date '+%m%d0900'` $gcclibdir{/install-tools,,/plugin} 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 $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/locale -name *.mo ! -name libstdc++.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info \ + ! -name gfortran.* ! -name gccgo.* | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 \ + ! -name g++.* ! -name gfortran.* ! -name gccgo.* | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/gdb/PlamoBuild.gdb-7.11 2017-05-30 00:20:59.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gdb/gdb-7.11.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gdb +vers=7.11 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-host-shared --enable-shared --with-system-readline" +DOCS="ChangeLog COPYING.LIB README MAINTAINERS COPYING COPYING3.LIB + COPYING3 README-maintainer-mode" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +71,18 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gdb + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/gettext/PlamoBuild.gettext-0.19.7 2017-05-29 20:22:39.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gettext/gettext-0.19.7.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gettext +vers=0.19.7 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-included-glib --with-included-libcroco" +DOCS="ChangeLog.0 DEPENDENCIES ChangeLog HACKING README INSTALL + AUTHORS README.woe32 THANKS COPYING PACKAGING NEWS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p gettext-tools/src/Makefile.in{,.orig} + sed -i 's@$(GCJ)@LANG=C &@g' gettext-tools/src/Makefile.in + export EMACS=`( which emacs || which emacs_mini ) 2> /dev/null \ + | sed 's@.*/@@'` for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,10 +76,30 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/{libasprintf,gettext} $docdir/$src + mv $docdir/$src/{libasprintf,{ChangeLog.0,DEPENDENCIES,ChangeLog}.gz} $C + mv $docdir/$src/{HACKING,README,INSTALL,AUTHORS,README.woe32}.gz $C + mv $docdir/$src/{{THANKS,COPYING,PACKAGING,NEWS}.gz,gettext} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{libasprintf,{ChangeLog.0,DEPENDENCIES,ChangeLog}.gz} $docdir/$src + mv $C/{HACKING,README,INSTALL,AUTHORS,README.woe32}.gz $docdir/$src + mv $C/{{THANKS,COPYING,PACKAGING,NEWS}.gz,gettext} $docdir/$src + mv $C/{$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/$libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gettext + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/emacs/site-lisp | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/$src + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/gmp/PlamoBuild.gmp-6.0.0a 2017-05-29 20:27:06.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://gmplib.org/download/gmp/gmp-6.0.0a.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gmp +vers=6.0.0a arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=$pkgbase-6.0.0 patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-cxx" +DOCS="INSTALL COPYINGv3 INSTALL.autoconf AUTHORS README COPYING NEWS + COPYINGv2 ChangeLog COPYING.LESSERv3" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +42,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]} \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -71,9 +73,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/indent/PlamoBuild.indent-2.2.10 2017-06-01 10:53:13.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/indent/indent-2.2.10.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=indent +vers=2.2.10 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog ChangeLog-1990 NEWS AUTHORS ChangeLog-1998 ABOUT-NLS + COPYING ChangeLog-2001 INSTALL README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,8 +71,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $P/usr/doc/indent/indent.html $docdir/$src + mv $docdir/$src/{indent.html,{README,$func,$myname,$spec}.gz} $C + mv $C/{indent.html,{README,$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/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/intltool/PlamoBuild.intltool-0.50.2 2017-06-01 10:57:11.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://launchpad.net/intltool/trunk/0.50.2/+download/intltool-0.50.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=intltool +vers=0.50.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS README ChangeLog COPYING NEWS TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,7 +72,9 @@ setup_docdir 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/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/intltool + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/devel.txz/kernel_headers/PlamoBuild.kernel_headers-5.4.51_plamo@LV@ 2021-09-22 19:59:13.000000000 +0900 @@ -1,19 +1,31 @@ -#!/bin/sh +#!/bin/sh -x ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.4.51.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/UNICON/vd_unicon-kernel-20191130-5.4.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/UNICON/vd_unicon-kernel-device_set_font_noarg.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/UNICON/vd_unicon-kernel-fonts-20140614.patch.bz2 + https://github.com/sfjro/aufs5-standalone.git + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/mcp/5.4-panic_beep.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/mcp/5.4-morse_code_panics.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/toi/tuxonice-for-linux-5.4.39-2020-05-09.patch.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/ovlfs/overlayfs-allow_unprivileged_mounts.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/misc/5.4-mt7615-define-to_rssi-macro.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/rpi/rpi-5.4.51-20200715-7d9a391.patch.xz + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/rpi/5.4-CLK_BCM2835-RESET_CONTROLLER.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/config-5.4.51-plamo@LV@" verify= digest= -branch= -commitid= -pkgbase= -vers= +branch[4]=aufs5.4.3 +commitid[4]=1d622ad +pkgbase=kernel_headers +vers=5.4.51_plamo@LV@ arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=linux-5.4.51 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -28,6 +40,9 @@ fi fscheck +case `uname -m` in i686) lv=SMP ;; x86_64) lv=64 ;; armv7l) lv=RPi2 ;; esac +url=${url/@LV@/$lv} ; vers=${vers/@LV@/$lv} +case `uname -m` in i686|x86_64) arch=i386 ;; armv7l) arch=arm ;; esac prepare "$@" if [ $opt_download -eq 1 ] ; then download_sources @@ -39,6 +54,32 @@ apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} + patch -Np1 -i $W/vd_unicon-kernel-20191130-5.4.patch + patch -Np1 -i $W/vd_unicon-kernel-device_set_font_noarg.patch + bunzip2 -c $W/vd_unicon-kernel-fonts-20140614.patch.bz2 | patch -Np1 -i - + patch -Np1 -i $W/aufs5-standalone/aufs5-kbuild.patch + patch -Np1 -i $W/aufs5-standalone/aufs5-base.patch + patch -Np1 -i $W/aufs5-standalone/aufs5-mmap.patch + patch -Np1 -i $W/aufs5-standalone/aufs5-standalone.patch + cp -av $W/aufs5-standalone/Documentation . + cp -av $W/aufs5-standalone/fs . + cp -pv $W/aufs5-standalone/include/uapi/linux/aufs_type.h include/uapi/linux + patch -Np1 -i $W/5.4-panic_beep.patch + patch -Np1 -i $W/5.4-morse_code_panics.patch + bunzip2 -c $W/tuxonice-for-linux-5.4.39-2020-05-09.patch.bz2 | patch -Np1 -i - + chmod 755 scripts/tuxonice_output_to_csv.sh + patch -Np1 -i $W/overlayfs-allow_unprivileged_mounts.patch + patch -Np1 -i $W/5.4-mt7615-define-to_rssi-macro.patch + if [ `uname -m` == armv7l ] ; then + unxz -c $W/rpi-5.4.51-20200715-7d9a391.patch.xz | patch -Np1 -i - + patch -Np1 -i $W/5.4-CLK_BCM2835-RESET_CONTROLLER.patch + rm -rf .github + chmod 755 drivers/net/wireless/realtek/rtl8192cu/{clean,runwpa,wlan0dhcp} + fi + cp -p $W/config-5.4.51-plamo$lv .config + done + for i in `seq 0 $((${#B[@]} - 1))` ; do + cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -49,7 +90,7 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make fi done @@ -62,18 +103,20 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + LANG=C make headers_install INSTALL_HDR_PATH=$P/usr fi done + find $P/usr/include \( -name ".install" -o -name "..install.cmd" \) \ + -exec rm {} \; touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + install -d $docdir/$src setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/01_minimum/devel.txz/libc/PlamoBuild.libc-2.20 2018-04-21 17:04:23.000000000 +0900 @@ -1,19 +1,32 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/glibc/glibc-2.20.tar.xz + http://www.linuxfromscratch.org/patches/downloads/glibc/glibc-2.19-fhs-1.patch + http://ftp.su.se/pub/mirrors/lunar-linux.org/lunar/patches/glibc-2.20-do_ftell_wide-memleak.patch + http://ftp.su.se/pub/mirrors/lunar-linux.org/lunar/patches/glibc-2.20-getifaddrs_internal-segfault.patch + http://ftp.su.se/pub/mirrors/lunar-linux.org/lunar/patches/glibc-2.20-linux-3.16-additions.patch + http://slackware.cs.utah.edu/pub/slackware/slackware-current/source/l/glibc/glibc-c-utf8-locale.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/glibc/CVE-2015-7547.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/glibc/CVE-2015-8776.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/glibc/CVE-2015-8778.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/glibc/CVE-2015-8779.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libc +vers=2.20 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +build=P9 +src=glibc-$vers +patchfiles="glibc-2.19-fhs-1.patch glibc-2.20-do_ftell_wide-memleak.patch + glibc-2.20-getifaddrs_internal-segfault.patch + glibc-2.20-linux-3.16-additions.patch glibc-c-utf8-locale.patch.gz + `echo CVE-2015-{7547,877{6,8,9}}.patch`" +OPT_CONFIG="--enable-kernel=2.6.32 --enable-obsolete-rpc" +DOCS="BUGS CONFORMANCE COPYING* ChangeLog* INSTALL LICENSES NEWS + PROJECTS README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,20 +42,47 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} + done + false && apply_patches + cd $S2 + for j in $patchfiles ; do + case ${j##*.} in + gz) gunzip -c $W/$j | patch -Np1 -i - ;; + *) patch -Np1 -i $W/$j ;; + esac done - apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -x configure ] ; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + case $arch in + i686) + cat <<- "EOF" > configparms ;; + CFLAGS += -march=i486 -mtune=native -O3 -pipe + EOF + x86_64) + cat <<- "EOF" > configparms ;; + slibdir=/lib64 + CFLAGS += -march=x86-64 -mtune=generic -O3 -pipe + EOF + armv7l) + cat <<- "EOF" > configparms ;; + CFLAGS += -march=armv7-a -mtune=native -O3 -pipe + EOF + esac + if [ -x ${S2[$i]}/configure ] ; then + ${S2[$i]}/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]} \ + --libexecdir=/usr/$libdir/glibc \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --target=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -71,10 +111,13 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + find $P/$libdir -type l -exec rm {} \; 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 ! -type d` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/libtool/PlamoBuild.libtool-2.4.6 2017-06-01 11:00:24.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libtool +vers=2.4.6 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +41,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]} \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -72,8 +73,14 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/libtool + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/m4/PlamoBuild.m4-1.4.16 2017-06-01 11:03:30.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=m4 +vers=1.4.16 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="THANKS NEWS ChangeLog COPYING BACKLOG README AUTHORS TODO INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p lib/stdio.in.h{,.orig} + sed -i '/gets is a security hole/d' lib/stdio.in.h for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,6 +75,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 `cd $P ; find usr/share/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/make/PlamoBuild.make-4.1 2017-06-01 11:08:00.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/make/make-4.1.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=make +vers=4.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README README.W32 ABOUT-NLS INSTALL NEWS README.customs + README.Amiga README.DOS README.VMS AUTHORS README.OS2" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,6 +73,9 @@ setup_docdir 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/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/mpc/PlamoBuild.mpc-1.0.2 2017-06-01 11:13:05.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/mpc/mpc-1.0.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=mpc +vers=1.0.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING.LESSER NEWS ChangeLog README TODO INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/mpfr/PlamoBuild.mpfr-3.1.2 2017-06-01 11:16:39.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/mpfr/mpfr-3.1.2.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/devel.txz/mpfr/mpfr-3.1.2-upstream_fixes-1.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=mpfr +vers=3.1.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="mpfr-3.1.2-upstream_fixes-1.patch.gz" +OPT_CONFIG="--enable-thread-safe" +DOCS="INSTALL BUGS AUTHORS TODO ChangeLog COPYING.LESSER COPYING + README NEWS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +72,20 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/mpfr/{FAQ.html,examples} $docdir/$src + mv $docdir/$src/{FAQ.html,{INSTALL,BUGS,AUTHORS,TODO,ChangeLog}.gz} $C + mv $docdir/$src/{COPYING.LESSER.gz,examples,{COPYING,README,NEWS}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{FAQ.html,{INSTALL,BUGS,AUTHORS,TODO,ChangeLog}.gz} $docdir/$src + mv $C/{COPYING.LESSER.gz,examples,{COPYING,README,NEWS}.gz} $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/onig/PlamoBuild.onig-5.9.3 2017-06-01 11:21:04.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.openpkg.org/components/cache/onig/onig-5.9.3.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=onig +vers=5.9.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL `echo doc/{RE,API,FAQ,{RE,API,FAQ}.ja}` README.ja + README index.html index_ja.html COPYING HISTORY AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,10 @@ setup_docdir 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 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/01_minimum/devel.txz/patch/PlamoBuild.patch-2.7.5 2017-07-23 10:51:00.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=patch +vers=2.7.5 arch=`uname -m` build=P1 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL COPYING ChangeLog NEWS TODO ChangeLog-2011 AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/pkg_config/PlamoBuild.pkg_config-0.28 2017-06-01 11:30:15.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=pkg_config +vers=0.28 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=pkg-config-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-host-tool --with-internal-glib" +DOCS="README.win32 NEWS INSTALL COPYING README AUTHORS ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,8 +70,15 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/pkg-config/pkg-config-guide.html $docdir/$src + mv $docdir/$src/{pkg-config-guide.html,{NEWS,INSTALL,COPYING}.gz} $C + mv $docdir/$src/{README,AUTHORS,ChangeLog,$func,$myname,$spec}.gz $C + mv $C/{pkg-config-guide.html,{NEWS,INSTALL,COPYING}.gz} $docdir/$src + mv $C/{README,AUTHORS,ChangeLog,$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/aclocal | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/devel.txz/plamobuild/PlamoBuild.plamobuild-git_20180815 2018-08-15 16:56:35.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/plamolinux/Plamo-src.git + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/devel.txz/plamobuild/gitlog2changelog" verify= digest= -branch= -commitid= -pkgbase= -vers= -arch=`uname -m` +branch[0]=master +commitid[0]=ed8dff5 +pkgbase=plamobuild +vers=git_20180815 +arch=noarch build=P1 -src=$pkgbase-$vers +src=Plamo-src patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -31,6 +32,7 @@ prepare "$@" if [ $opt_download -eq 1 ] ; then download_sources + nkf -e --overwrite Plamo-src/ChangeLog fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -53,6 +55,9 @@ make fi done + nkf -w --overwrite README.md + pandoc -f markdown_github -t plain -o README README.md + nkf -e --overwrite README fi if [ $opt_package -eq 1 ] ; then root_priv @@ -65,16 +70,31 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + install admin/make_PlamoBuild.py $P/usr/bin/make_PlamoBuild + install admin/gitlog2changelog.py $P/usr/bin/gitlog2changelog + install -d $P/usr/share/plamo + install -m 644 admin/plamobuild_functions.sh $P/usr/share/plamo/functions + ln -s plamo/functions $P/usr/share/plamobuild_functions.sh + install -d $docdir/$src~ + install -m 644 README $docdir/$src~ touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + mv $docdir/$src~/README $docdir/$src + gzip_one $docdir/$src/README + mv $docdir/$src/{README,$func,$myname,$spec}.gz $C + mv $C/{README,$func,$myname,$spec}.gz $docdir/$src + TZ=UTC touch -t `date -u '+%m%d0000'` $docdir/$src convert_links + prune_symlink $P/usr/share 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 usr/share/plamo{,build_functions.sh} 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/ppl/PlamoBuild.ppl-0.12 2017-06-02 08:44:36.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://bugseng.com/external/ppl/download/ftp/releases/0.12/ppl-0.12.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/devel.txz/ppl/0001-GMP-version-5.1.0-and-presumably-later-versions-defi.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ppl +vers=0.12 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="0001-GMP-version-5.1.0-and-presumably-later-versions-defi.patch" OPT_CONFIG="" -DOCS="README" +DOCS="README.configure README.arm README NEWS README.solaris BUGS + STANDARDS CREDITS COPYING ChangeLog README.alpha TODO INSTALL + ChangeLog_2001-2008" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +73,25 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/ppl $docdir/$src/doc + rm $docdir/$src/doc/{BUGS,COPYING,CREDITS,ChangeLog,NEWS,README*,TODO} + touch -t `date '+%m%d0900'` $docdir/$src/doc + mv $docdir/$src/{doc,{NEWS,README.solaris,BUGS,STANDARDS,CREDITS}.gz} $C + mv $docdir/$src/{COPYING,ChangeLog,README.alpha,TODO,INSTALL}.gz $C + mv $docdir/$src/{ChangeLog_2001-2008,$func,$myname,$spec}.gz $C + mv $C/{doc,{NEWS,README.solaris,BUGS,STANDARDS,CREDITS}.gz} $docdir/$src + mv $C/{COPYING,ChangeLog,README.alpha,TODO,INSTALL}.gz $docdir/$src + mv $C/{ChangeLog_2001-2008,$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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/pth/PlamoBuild.pth-2.0.7 2017-06-01 11:41:32.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=pth +vers=2.0.7 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ANNOUNCE AUTHORS COPYING ChangeLog HACKING HISTORY INSTALL NEWS + PORTING README SUPPORT TESTS THANKS USERS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +71,16 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/slang/PlamoBuild.slang-2.2.4 2017-06-02 09:51:30.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.lyx.org/pub/unix/news/readers/slrn/slang/v2.2/slang-2.2.4.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=slang +vers=2.2.4 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL.pc NEWS COPYING changes.txt INSTALL.unx README + UPGRADE.txt INSTALL.vms" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +70,29 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/slang/v2/modules + touch -t `date '+%m%d0900'` $P/usr/$libdir/slang/v2/modules setup_docdir + mv $docdir/slsh $docdir/$src + mv $docdir/slang $docdir/$src/doc + rm $docdir/$src/doc/v2/COPYING + touch -t `date '+%m%d0900'` $docdir/$src/doc/v2 + mv $docdir/$src/{slsh,doc,{README,UPGRADE.txt,INSTALL.vms}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{slsh,doc,{README,UPGRADE.txt,INSTALL.vms}.gz} $docdir/$src + mv $C/{$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/$libdir -name "libslang.*"` + tar rvpf $pkg.tar -C $P usr/$libdir/slang + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/slsh + tar rvpf $pkg.tar -C $P etc/slsh.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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/strace/PlamoBuild.strace-4.6 2017-06-01 11:53:29.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/strace/strace-4.6.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=strace +vers=4.6 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README-svr4 README-sunos4 README-linux README-freebsd PORTING + CREDITS COPYRIGHT ChangeLog-CVS ChangeLog TODO NEWS INSTALL + AUTHORS README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/devel.txz/yasm/PlamoBuild.yasm-1.3.0 2017-06-01 11:57:35.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=yasm +vers=1.3.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL NEWS GNU_LGPL-2.0 ChangeLog AUTHORS README COPYING + GNU_GPL-2.0 BSD.txt Artistic.txt ABOUT-NLS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,7 +73,10 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | 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/man7 | 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/emacs_bin/PlamoBuild.emacs_bin-24.5 2018-08-17 10:54:39.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=emacs_bin +vers=24.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src=emacs-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--without-all --without-x" +DOCS="README INSTALL COPYING BUGS ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,15 +65,18 @@ make install DESTDIR=$P fi done + rm $P/usr/bin/emacs{-$vers,} touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_bindir $P/usr/libexec/emacs/$vers/* + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/libexec/emacs/$vers/* setup_docdir 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 usr/libexec/emacs tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/emacs_lib/PlamoBuild.emacs_lib-24.5 2018-08-17 10:39:31.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/emacs_lib/wb-line-number.el" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=emacs_lib +vers=24.5 +arch=noarch +build=P5 +src=emacs-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--without-all --without-x" +DOCS="README INSTALL COPYING BUGS ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p lisp/eshell/esh-util.el{,.orig} + sed -i 's@|z2\\\\@&|xz\\\\@g' lisp/eshell/esh-util.el + cp -p lisp/ibuffer.el{,.orig} + sed -i 's@|z\\\\@&|txz\\\\@g' lisp/ibuffer.el + cp -p lisp/ldefs-boot.el{,.orig} + cp -p lisp/loaddefs.el{,.orig} + sed -i 's@"\.tgz"@& ".txz"@g' lisp/{ldefs-boot,loaddefs}.el + cp -p lisp//pcmpl-gnu.el{,.orig} + sed -i -e '/let/s@|bz2\\\\@&|txz\\\\@g' \ + -e '/let/!s@|z2\\\\@&|xz\\\\@g' lisp/pcmpl-gnu.el for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,6 +77,9 @@ make install DESTDIR=$P fi done + find $P/usr/share/emacs/$vers/lisp -mtime -1 -exec touch {} \; + chgrp -R root $P/usr/share/emacs/$vers/{etc,lisp} + install -m 644 $W/wb-line-number.el $P/usr/share/emacs/site-lisp touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +87,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P usr/share/emacs + tar rvpf $pkg.tar -C $P var/games/emacs tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/emacs_mini/PlamoBuild.emacs_mini-24.5 2018-08-17 10:50:31.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=emacs_mini +vers=24.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src=emacs-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--without-all --without-x" +DOCS="README INSTALL COPYING BUGS ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +65,10 @@ make install DESTDIR=$P fi done + rm $P/usr/bin/{{e,c}tags,emacsclient,ebrowse,grep-changelog,emacs} + mv $P/usr/bin/emacs{,_mini}-$vers + ln -s emacs_mini-$vers $P/usr/bin/emacs_mini + ln -s emacs_mini-$vers $P/usr/bin/emacs touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,8 +77,10 @@ setup_docdir 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/info | 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 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/expat/PlamoBuild.expat-2.1.1 2017-06-07 12:01:49.000000000 +0900 @@ -1,18 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/expat/expat-2.1.1.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/expat/CVE-2015-1283-refix.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/expat/CVE-2016-0718-v2-2-1.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/expat/cve-2012-6702-plus-cve-2016-5300-v1.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=expat +vers=2.1.1 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" +patchfiles="CVE-2015-1283-refix.patch.gz CVE-2016-0718-v2-2-1.patch.gz + cve-2012-6702-plus-cve-2016-5300-v1.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING MANIFEST README Changes CMake.README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +76,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/fortune_mod/PlamoBuild.fortune_mod-1.99.1 2017-06-24 15:03:52.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.jabawok.net/gentoo/distfiles/fortune-mod-1.99.1.tar.gz + http://kambing.ui.ac.id/gentoo-portage/games-misc/fortune-mod/files/01_all_fortune_all-fix.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=fortune_mod +vers=1.99.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=fortune-mod-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INDEX INSTALL Notes Offensive README TODO cookie-files" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,23 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + patch -Np0 -i $W/01_all_fortune_all-fix.patch + cp -p Makefile{,.orig} + sed -i -e '/^FORTDIR=/s@games@bin@g' -e '/^COOKIEDIR=/s@/games@@g' \ + -e '/^LOCALDIR=/s@/games@@g' -e '/^BINDIR=/s@bin@sbin@g' \ + -e '/^FORTMANDIR=/s@man6@man1@g' -e '/^FORTMANEXT=/s@6@1@g' \ + -e '/^REGEXDEFS=/s@BSD@POSIX@g' -e 's@$(FORTDIR)@$(DESTDIR)&@g' \ + -e 's@$(BINDIR)@$(DESTDIR)&@g' -e 's@$(FORTMANDIR)@$(DESTDIR)&@g' \ + -e 's@$(BINMANDIR)@$(DESTDIR)&@g' Makefile + cat <<- "EOF" | patch Makefile + 180,181c180,181 + < cd datfiles && $(MAKE) COOKIEDIR=$(COOKIEDIR) \ + < OCOOKIEDIR=$(OCOOKIEDIR) WCOOKIEDIR=$(WCOOKIEDIR) \ + --- + > cd datfiles && $(MAKE) COOKIEDIR=$(DESTDIR)$(COOKIEDIR) \ + > OCOOKIEDIR=$(DESTDIR)$(OCOOKIEDIR) WCOOKIEDIR=$(DESTDIR)$(WCOOKIEDIR) \ + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -50,6 +68,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make + make fortune/fortune.man fi done fi @@ -71,9 +90,14 @@ compress setup_docdir convert_links + prune_symlink $P/usr/share/fortunes + touch -t `date '+%m%d0900'` $P/usr/share/fortunes{,/off} 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` + tar rvpf $pkg.tar -C $P usr/share/fortunes 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gc/PlamoBuild.gc-7.1 2017-06-06 13:02:29.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.hboehm.info/gc/gc_source/gc-7.1.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gc +vers=7.1 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README.QUICK" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gc 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gdbm/PlamoBuild.gdbm-1.10 2017-06-06 13:06:17.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gdbm/gdbm-1.10.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gdbm +vers=1.10 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-libgdbm-compat" +DOCS="NEWS README THANKS AUTHORS INSTALL ABOUT-NLS ChangeLog COPYING + NOTE-WARNING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,13 @@ setup_docdir 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 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/get_pkginfo/PlamoBuild.get_pkginfo-git_20160222 2017-06-06 13:11:20.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/plamolinux/get_pkginfo.git" verify= digest= -commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +commitid=facec2d +pkgbase=get_pkginfo +vers=git_20160222 +arch=noarch +build=P4 +src=$pkgbase patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -52,6 +52,9 @@ make fi done + nkf -w --overwrite README.md + pandoc -f markdown_github -t plain -o README README.md + nkf -e --overwrite README fi if [ $opt_package -eq 1 ] ; then root_priv @@ -64,15 +67,23 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + install get_pkginfo.py $P/usr/bin/get_pkginfo + install -d $docdir/$src~ + install -m 644 README $docdir/$src~ touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/$src~/README $docdir/$src + gzip_one $docdir/$src/README + mv $docdir/$src/{README,$func,$myname,$spec}.gz $C + mv $C/{README,$func,$myname,$spec}.gz $docdir/$src + touch -t `date '+%m%d0900'` $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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/gnupg/PlamoBuild.gnupg-2.0.30 2017-06-06 13:22:42.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-2.0.30.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gnupg +vers=2.0.30 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-gpgtar" +DOCS="ABOUT-NLS README ChangeLog-2011 COPYING ChangeLog TODO NEWS + README.GIT COPYING.LIB THANKS AUTHORS INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,16 +65,31 @@ make install DESTDIR=$P fi done + ln -s gpg2 $P/usr/bin/gpg touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec setup_docdir + mv $docdir/gnupg $docdir/$src/doc + rm $docdir/$src/doc/README + touch -t `date '+%m%d0900'` $docdir/$src/doc + mv $docdir/$src/{doc,{THANKS,AUTHORS,INSTALL,$func,$myname,$spec}.gz} $C + mv $C/{doc,{THANKS,AUTHORS,INSTALL,$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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gnupg + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/gnutls/PlamoBuild.gnutls-3.5.5 2017-06-06 13:32:40.000000000 +0900 @@ -1,18 +1,29 @@ #!/bin/sh ###################################################################### -url="" +url="http://mirrors.dotsrc.org/gnupg/gnutls/v3.5/gnutls-3.5.5.tar.xz + http://mirrors.dotsrc.org/gnupg/gnutls/v2.12/gnutls-2.12.23.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/gnupg_tls.txz/gnutls/cve-2014-1959.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/gnupg_tls.txz/gnutls/cve-2014-0092.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/gnupg_tls.txz/gnutls/cve-2014-3466.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/gnupg_tls.txz/gnutls/CVE-2015-0294.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/gnupg_tls.txz/gnutls/CVE-2015-0282.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gnutls +vers=3.5.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src[0]=$pkgbase-$vers +src[1]=$pkgbase-2.12.23 patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles[1]="`echo cve-2014-{1959,0092,3466}.patch.gz` + `echo CVE-2015-{0294,0282}.patch.gz`" +OPT_CONFIG[0]="--disable-guile --without-p11-kit" +OPT_CONFIG[1]="--with-libgcrypt --without-p11-kit" +DOCS="LICENSE ABOUT-NLS NEWS INSTALL AUTHORS README.md THANKS + ChangeLog INSTALL.md CONTRIBUTING.md" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,7 +72,11 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + case $i in + 0) make install DESTDIR=$P ;; + 1) install lib/.libs/libgnutls.so.26.22.6 $P/usr/$libdir + ln -s libgnutls.so.26.22.6 $P/usr/$libdir/libgnutls.so.26 ;; + esac fi done touch $W/i.et @@ -72,8 +87,15 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gnutls + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/gpgme/PlamoBuild.gpgme-1.4.3 2017-06-06 13:44:18.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.4.3.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gpgme +vers=1.4.3 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-fd-passing --with-gpg=/usr/bin/gpg2" +DOCS="COPYING.LESSER NEWS README ChangeLog-2011 ChangeLog INSTALL + TODO AUTHORS THANKS COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,13 @@ setup_docdir 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 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/common-lisp/source/gpgme 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/libassuan/PlamoBuild.libassuan-2.0.3 2017-06-06 14:00:38.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.0.3.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libassuan +vers=2.0.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README COPYING.LIB ChangeLog-2011 ChangeLog INSTALL TODO + AUTHORS THANKS COPYING README.GIT" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,12 @@ setup_docdir 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 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/libgcrypt/PlamoBuild.libgcrypt-1.5.6 2017-06-06 14:04:17.000000000 +0900 @@ -1,18 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.5.6.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/gnupg_tls.txz/libgcrypt/CVE-2015-0837-1.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/gnupg_tls.txz/libgcrypt/CVE-2015-0837-2.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/gnupg_tls.txz/libgcrypt/CVE-2015-0837-3.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libgcrypt +vers=1.5.6 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="`echo CVE-2015-0837-{1,2,3}.patch.gz`" +OPT_CONFIG="--with-capabilities" +DOCS="README ChangeLog-2011 COPYING ChangeLog TODO NEWS README.GIT + COPYING.LIB THANKS AUTHORS INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +76,12 @@ setup_docdir 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 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/libgpg_error/PlamoBuild.libgpg_error-1.17 2017-06-06 14:10:41.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.17.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libgpg_error +vers=1.17 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=libgpg-error-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS INSTALL ABOUT-NLS COPYING COPYING.LIB AUTHORS ChangeLog + THANKS README ChangeLog-2011" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,15 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/common-lisp/source/gpg-error 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/libksba/PlamoBuild.libksba-1.3.2 2017-06-06 14:16:03.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.gnupg.org/ftp/gcrypt/libksba/libksba-1.3.2.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libksba +vers=1.3.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS COPYING.GPLv2 INSTALL COPYING COPYING.GPLv3 COPYING.LGPLv3 + AUTHORS ChangeLog THANKS README ChangeLog-2011 TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,12 @@ setup_docdir 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 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/libtasn1/PlamoBuild.libtasn1-4.9 2017-06-06 14:22:32.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/libtasn1/libtasn1-4.9.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libtasn1 +vers=4.9 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING.LIB COPYING NEWS INSTALL AUTHORS THANKS ChangeLog README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,14 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/nettle/PlamoBuild.nettle-3.3 2017-06-06 14:26:23.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://ftp.gnu.org/gnu/nettle/nettle-3.3.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=nettle +vers=3.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO nettle.html descore.README COPYINGv3 README INSTALL + COPYING.LESSERv3 nettle.pdf COPYINGv2 NEWS AUTHORS ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,12 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/nettle + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/gnupg_tls.txz/pinentry/PlamoBuild.pinentry-0.9.0 2017-06-06 14:30:04.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-0.9.0.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=pinentry +vers=0.9.0 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS INSTALL ChangeLog-old COPYING AUTHORS ChangeLog THANKS + README.GIT README TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p configure{,.orig} + cat <<- "EOF" | patch configure + 8365a8366 + > PINENTRY_DEFAULT=pinentry-curses + EOF + cp -p qt4/pinentrydialog.moc{,.orig} + cp -p qt4/qsecurelineedit.moc{,.orig} + cp -p qt4/pinentryconfirm.moc{,.orig} + sed -i '/^#include/s@".*/\(.*\)"@"\1"@' \ + qt4/{pinentrydialog,qsecurelineedit,pinentryconfirm}.moc for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,8 +84,9 @@ setup_docdir 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/share/info | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/01_minimum/gpm/PlamoBuild.gpm-1.20.7 2018-04-23 17:31:55.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.nico.schottelius.org/software/gpm/archives/gpm-1.20.7.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gpm +vers=1.20.7 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING MANIFEST README* TODO + doc/Announce doc/FAQ doc/HACK_GPM doc/README.* doc/changelog + doc/specs/synaptics/www.synaptics.com/decaf/utilities/* + doc/support/* doc/todo/*" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +40,19 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in display-{buttons,coords} get-versions ; do + cp -p src/prog/$i.c{,.orig} + sed -i 's@@"headers/gpm.h"@' src/prog/$i.c + done + ./autogen.sh for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} \ + CFLAGS="-g -O2 -fPIC" fi done fi @@ -65,6 +75,74 @@ make install DESTDIR=$P fi done + install -m 644 conf/* $P/etc + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/gpm + #!/bin/sh + # Time-stamp: <2008-09-02 11:31:18 kojima> + + # This file is derived from avahi. + # Start/stop/restart daemon in init.d/XXXX + + DESC="gpm (General Purpose Mouse)" + NAME="gpm" + DAEMON1="/usr/sbin/gpm -m /dev/input/mice -t imps2" + DAEMON2="/usr/bin/gpm-root" + + status() { + if [ -n "`ps axww | gawk '{print $5}' | grep $NAME`" ] ; then + return 0 + else + return 1 + fi + } + + start() { + echo "Starting $DESC:" + $DAEMON1 & + $DAEMON2 & + } + + stop() { + echo "Stopping $DESC:" + killall gpm + killall gpm-root + } + + case "$1" in + start) + if status ; then + echo "$DESC is already running (will not start it twice)." + else + start + fi + ;; + stop) + if status ; then + stop + else + echo "$DESC seems already stopped." + fi + ;; + restart) + stop + start + ;; + status) + if status ; then + echo "$DESC is currently running." + else + echo "$DESC is not running." + fi + ;; + *) + echo "Usage: $0 {start|stop|status|restart}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 755 $P/etc/rc.d/init.d/gpm touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +150,18 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/emacs/site-lisp | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man7 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/hddtemp/PlamoBuild.hddtemp-0.3_beta15 2017-06-11 10:35:48.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.savannah.gnu.org/releases/hddtemp/hddtemp-0.3-beta15.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/hddtemp/hddtemp-0.3-beta15-reg-eip.patch.gz + http://download.savannah.gnu.org/releases/hddtemp/hddtemp.db" verify= digest= commitid= -pkgbase= -vers= +pkgbase=hddtemp +vers=0.3_beta15 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P5 +src=$pkgbase-0.3-beta15 +patchfiles="hddtemp-0.3-beta15-reg-eip.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING ABOUT-NLS AUTHORS TODO INSTALL ChangeLog LICENSE + GPL-2 NEWS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,10 +72,15 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + install -d $P/usr/share/misc + cp -p $W/hddtemp.db $P/usr/share/misc + chown root.root $P/usr/share/misc/hddtemp.db setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/misc | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/hdparm/PlamoBuild.hdparm-9.38 2017-06-11 10:45:26.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/hdparm/hdparm-9.38.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=hdparm +vers=9.38 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO README.acoustic LICENSE.TXT Changelog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/keyutils/PlamoBuild.keyutils-1.5.1 2017-06-12 19:01:27.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://people.redhat.com/dhowells/keyutils/keyutils-1.5.1.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=keyutils +vers=1.5.1 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LICENCE.GPL LICENCE.LGPL README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch != i686 -a $arch != x86_64 ] ; then + cp -p Makefile{,.orig} + sed -i '/m\(32\|64\)/s@^@#@' Makefile + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,9 +76,19 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/keyutils + tar rvpf $pkg.tar -C $P etc/request-key.conf 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/libelf/PlamoBuild.libelf-0.8.13 2018-12-07 20:23:39.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.mr511.de/software/libelf-0.8.13.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libelf +vers=0.8.13 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="MANIFEST INSTALL README ChangeLog COPYING.LIB" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -62,9 +62,10 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install instroot=$P fi done + rm $P/usr/$libdir/libelf.so touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +73,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libelf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/libieee1284/PlamoBuild.libieee1284-0.2.11 2017-06-11 11:07:57.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libieee1284/libieee1284-0.2.11.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libieee1284 +vers=0.2.11 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS TODO + README.FreeBSD README.OpenBSD README.Solaris README.win95 + README.winNT README.VC6" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +71,15 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages setup_docdir 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 `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/libusb/PlamoBuild.libusb-1.0.20 2017-06-11 11:13:13.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libusb/libusb-1.0.20.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libusb +vers=1.0.20 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README PORTING AUTHORS INSTALL NEWS TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libusb-${vers%.*} 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/libusb_compat/PlamoBuild.libusb_compat-0.1.3 2017-06-11 11:17:50.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libusb/libusb-compat-0.1.3.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libusb_compat +vers=0.1.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=libusb-compat-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README NEWS INSTALL LICENSE AUTHORS COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/libxml2/PlamoBuild.libxml2-2.9.4 2017-06-11 11:25:31.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://xmlsoft.org/sources/libxml2-2.9.4.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libxml2 +vers=2.9.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-history" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO Copyright + TODO_SCHEMAS README.tests" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,7 +62,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P HTML_DIR=/usr/share/doc/libxml2/html \ + DOC_MODULE=libxml2 fi done touch $W/i.et @@ -69,11 +71,32 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages setup_docdir + mv $docdir/libxml2/examples $docdir/$src + mv $docdir/libxml2/html $docdir/$src/doc + mv $docdir/libxml2-python-$vers $docdir/$src/python + mv $docdir/$src/{examples,{Copyright,TODO_SCHEMAS,README.tests}.gz} $C + mv $docdir/$src/{doc,python,{$func,$myname,$spec}.gz} $C + mv $C/{examples,{Copyright,TODO_SCHEMAS,README.tests}.gz} $docdir/$src + mv $C/{doc,python,{$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $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/$libdir -maxdepth 1 -name libxml2.*` + tar rvpf $pkg.tar -C $P usr/$libdir/xml2Conf.sh + tar rvpf $pkg.tar -C $P usr/$libdir/cmake/libxml2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libxml2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/libxml2 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/libzip/PlamoBuild.libzip-0.11.2 2017-06-11 11:42:55.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.nih.at/libzip/libzip-0.11.2.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/libzip/CVE-2015-2331.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libzip +vers=0.11.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="CVE-2015-2331.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS INSTALL NEWS README THANKS TODO API-CHANGES LICENSE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,14 @@ setup_docdir 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/$libdir -maxdepth 1 -name libzip.*` + tar rvpf $pkg.tar -C $P usr/$libdir/libzip + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/lm_sensors/PlamoBuild.lm_sensors-3.3.1 2017-06-11 11:48:51.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://repository.timesys.com/buildsources/l/lm_sensors/lm_sensors-3.3.1/lm_sensors-3.3.1.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=lm_sensors +vers=3.3.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL COPYING COPYING.LGPL CONTRIBUTORS CHANGES" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -49,7 +49,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make PREFIX=/usr LIBDIR=/usr/$libdir fi done fi @@ -61,9 +61,12 @@ 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 LIBDIR=/usr/$libdir \ + MANDIR=/usr/share/man fi done + mv $P/etc/sensors3.conf $C + mv $C/sensors3.conf $P/etc/sensors3.conf.new touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +74,27 @@ compress setup_docdir convert_links + cat <<- "EOF" >> $P/install/doinst.sh + + mv etc/sensors3.conf.new /tmp + if [ -f etc/sensors3.conf ] ; then + mv /tmp/sensors3.conf.new etc/sensors3.conf.dist + else + mv /tmp/sensors3.conf.new etc/sensors3.conf + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh 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` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/sensors + tar rvpf $pkg.tar -C $P `cd $P ; find etc -maxdepth 1 | 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/lshw/PlamoBuild.lshw-B.02.16 2017-06-11 20:54:58.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ezix.org/software/files/lshw-B.02.16.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=lshw +vers=B.02.16 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README `echo docs/{TODO,IODC.txt,Changelog,proc_usb_info.txt}` + COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -50,6 +51,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make + make gui fi done fi @@ -61,9 +63,30 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install-gui DESTDIR=$P fi done + touch $P/usr/sbin/gtk-lshw + install -d $P/usr/share/polkit-1/actions + cat <<- "EOF" > $P/usr/share/polkit-1/actions/org.plamolinux.pkexec.gtk-lshw.policy + + + + + Authentication is required to run the gtk-lshw + gtk-lshw + + auth_admin + auth_admin + auth_admin + + /usr/sbin/gtk-lshw + true + + + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,7 +94,10 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/lshw + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/polkit-1/actions | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/lsof/PlamoBuild.lsof-4.81.dfsg.1 2017-06-11 21:01:54.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.uni-erlangen.de/ubuntu/pool/main/l/lsof/lsof_4.81.dfsg.1.orig.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=lsof +vers=4.81.dfsg.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="00*" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -44,6 +44,7 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + yes "" | ./Configure linux fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -64,6 +65,10 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + install -m 4755 lsof $P/usr/bin + install -d $mandir/man8 + install -m 644 lsof.8 $mandir/man8 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,7 +77,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 `cd $P ; find usr/share/man/man1 | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/lv/PlamoBuild.lv-451 2017-06-11 21:12:19.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://pkgs.fedoraproject.org/repo/pkgs/lv/lv451.tar.gz/85b70ae797f935741ec9a1cbe92f00e9/lv451.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=lv +vers=451 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README GPL.txt" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,10 +36,40 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p src/Makefile.in{,.orig} + cat <<- "EOF" | patch src/Makefile.in + 67,69c67,70 + < $(INSTALL) -s -m 555 lv $(bindir) + < if test -f $(bindir)/lgrep; then \ + < /bin/rm -f $(bindir)/lgrep; \ + --- + > mkdir -p $(DESTDIR)$(bindir) + > $(INSTALL) -s -m 555 lv $(DESTDIR)$(bindir) + > if test -f $(DESTDIR)$(bindir)/lgrep; then \ + > /bin/rm -f $(DESTDIR)$(bindir)/lgrep; \ + 71,73c72,74 + < (cd $(bindir); ln lv lgrep) + < if test ! -d $(lvlibdir); then \ + < mkdir -p $(lvlibdir); \ + --- + > (cd $(DESTDIR)$(bindir); ln lv lgrep) + > if test ! -d $(DESTDIR)$(lvlibdir); then \ + > mkdir -p $(DESTDIR)$(lvlibdir); \ + 75,77c76,79 + < $(INSTALL) -m 444 $(srcdir)/../lv.hlp $(lvlibdir) + < if test -d $(mandir) -a -d $(mandir)/man1; then \ + < $(INSTALL) -m 444 $(srcdir)/../lv.1 $(mandir)/man1; \ + --- + > $(INSTALL) -m 444 $(srcdir)/../lv.hlp $(DESTDIR)$(lvlibdir) + > mkdir -p $(DESTDIR)$(mandir)/man1 + > if test -d $(DESTDIR)$(mandir) -a -d $(DESTDIR)$(mandir)/man1; then \ + > $(INSTALL) -m 444 $(srcdir)/../lv.1 $(DESTDIR)$(mandir)/man1; \ + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} - if [ -x configure ] ; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + cd ${B[$i]}/build + if [ -x ../src/configure ] ; then + ../src/configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi @@ -47,7 +77,7 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build if [ -f Makefile ] ; then make fi @@ -59,7 +89,7 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build if [ -f Makefile ] ; then make install DESTDIR=$P fi @@ -72,6 +102,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 usr/$libdir/lv 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/man_pages/PlamoBuild.man_pages-3.47 2017-06-11 21:18:40.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/docs/man-pages/Archive/man-pages-3.47.tar.xz" verify= digest= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=man_pages +vers=3.47 +arch=noarch +build=P3 +src=man-pages-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="Changes.old README man-pages-3.47.Announce Changes" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -48,7 +48,7 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make fi done @@ -71,8 +71,14 @@ compress setup_docdir 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 cvpf $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/man2 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | 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 `cd $P ; find usr/share/man/man6 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/man_pages_ja/PlamoBuild.man_pages_ja-20100415 2017-06-11 21:45:24.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://pkgs.fedoraproject.org/repo/pkgs/man-pages-ja/man-pages-ja-20100415.tar.gz/78041d36eb491cd5b0eaf16aac34361a/man-pages-ja-20100415.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/man_pages_ja/manpage_list + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/man_pages_ja/man-pages-ja-20100828-plamo.tar.gz" verify= digest= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=man_pages_ja +vers=20100415 +arch=noarch +build=P5 +src=man-pages-ja-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="manual/LDP_man-pages/translation_list ChangeLog README INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,7 +31,11 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + for i in $url ; do + if [ ! -f ${i##*/} ] ; then wget --no-check-certificate $i ; fi + done + for i in $url ; do case ${i##*.} in gz) tar xvpzf ${i##*/} ;; esac done fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -48,7 +54,7 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make fi done @@ -60,19 +66,42 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make install DESTDIR=$P fi done + for i in `seq 8` ; do + install -d $mandir/ja_JP.eucJP/man$i + done + while read manpage ; do + install -m 644 manual/$manpage $mandir/ja_JP.eucJP/man${manpage##*.} + done < $W/manpage_list + install -m 644 $W/man-pages-ja-20100828-plamo/manual/coreutils/* \ + $mandir/ja_JP.eucJP/man1 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in `seq 8` ; do gzip_dir $mandir/ja_JP.eucJP/man$i ; done setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/ja_JP.eucJP/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/ja_JP.eucJP/man2 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/ja_JP.eucJP/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/ja_JP.eucJP/man4 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/ja_JP.eucJP/man5 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/ja_JP.eucJP/man6 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/ja_JP.eucJP/man7 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/man/ja_JP.eucJP/man8 | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/mcelog/PlamoBuild.mcelog-git_20160907 2017-06-11 22:01:13.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git" verify= digest= -commitid= -pkgbase= -vers= +commitid=e6386a0 +pkgbase=mcelog +vers=git_20160907 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=$pkgbase patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES README.md README.releases TODO ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,23 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p mcelog.init{,.orig} + cat <<- "EOF" | patch mcelog.init + 56c56 + < startproc $MCELOG --daemon $MCELOG_OPTIONS + --- + > $MCELOG --daemon $MCELOG_OPTIONS + 66c66 + < killproc -TERM $MCELOG + --- + > killall $MCELOG + 89c89,90 + < checkproc $MCELOG + --- + > pgrep -x ${MCELOG##*/} + > exit $? + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,15 +81,22 @@ make install DESTDIR=$P fi done + touch $P/usr/sbin/mcelog + install -d $P/etc/rc.d/init.d + install -m 644 mcelog.init $P/etc/rc.d/init.d/mcelog touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P etc/mcelog + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/mcelog + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/mtools/PlamoBuild.mtools-4.0.18 2017-06-11 22:09:40.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/mtools/mtools-4.0.18.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=mtools +vers=4.0.18 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.BEBOX README NEWS COPYING Release.notes INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,7 +73,10 @@ 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/share/man/man5 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/network.txz/bind/PlamoBuild.bind-9.12.4_P2 2019-06-21 21:37:50.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.isc.org/isc/bind/9.12.4-P2/bind-9.12.4-P2.tar.gz + https://gitlab.isc.org/isc-projects/bind9/merge_requests/1879.patch + http://www.internic.net/domain/named.root" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=bind +vers=9.12.4_P2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +build=P2 +src=$pkgbase-9.12.4-P2 +patchfiles="1879.patch" +OPT_CONFIG="--without-python --with-libtool --without-libxml2" +DOCS="HISTORY LICENSE CONTRIBUTING CHANGES OPTIONS README COPYRIGHT" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +67,102 @@ make install DESTDIR=$P fi done + cat <<- "EOF" > $P/etc/named.conf.new + // CACHING NAME SERVER + options { + directory "/var/named"; + // version statement - inhibited for security + // (avoids hacking any known weaknesses) + version "not currently available"; + // disables all zone transfer requests + allow-transfer { + "none"; + }; + // Closed DNS - permits only local IPs to issue queries + // remove if an Open DNS required to support all users + // or add additional IP ranges + // in this case either allow-query or allow-recursion can be used + allow-query { + 192.168.1.0/24; + }; + }; + + // log to /var/log/named.log events + // from info UP in severity (no debug) + // defaults to use 3 files in rotation + // BIND 8.x logging MUST COME FIRST in this file + // BIND 9.x parses the whole file before using the log + // failure messages up to this point are in (syslog) + // typically /var/log/messages + logging { + channel example_log { + file "/var/log/named.log" versions 3 size 2m; + severity info; + print-severity yes; + print-time yes; + print-category yes; + }; + category default { + example_log; + }; + }; + + // required zone for recursive queries + zone "." { + type hint; + file "named.root"; + }; + + // required local host domain + zone "localhost" in { + type master; + file "master.localhost"; + allow-update { + none; + }; + }; + + // localhost reverse map + zone "0.0.127.in-addr.arpa" in { + type master; + file "localhost.rev"; + allow-update { + none; + }; + }; + EOF + install -d $P/var/named + cat <<- "EOF" | sed 's/^|//' > $P/var/named/master.localhost.new + |$TTL 86400 ; 24 hours could have been written as 24h + |$ORIGIN localhost. + |; line below = localhost 1D IN SOA localhost root.localhost + |@ 1D IN SOA @ root ( + | 2009073001 ; serial + | 3h ; refresh + | 15 ; retry + | 1w ; expire + | 3h ; minimum + | ) + |@ 1D IN NS @ + | 1D IN A 127.0.0.1 + EOF + chmod 600 $P/var/named/master.localhost.new + cat <<- "EOF" | sed 's/^|//' > $P/var/named/localhost.rev.new + |$TTL 86400 + |; could use $ORIGIN 0.0.127.IN-ADDR.ARPA. + |@ IN SOA localhost. root.localhost. ( + | 1997022700 ; serial + | 3h ; refresh + | 15 ; retry + | 1w ; expire + | 3h ; minimum + | ) + | IN NS localhost. + |1 IN PTR localhost. + EOF + chmod 600 $P/var/named/localhost.rev.new + cp -p $W/named.root $P/var/named/named.root.new + chown root.root $P/var/named/named.root.new touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +170,58 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + cat <<- "EOF" >> $P/install/doinst.sh + + named_config() { + mv var/named/$1.new /tmp + if [ -f var/named/$1 ] ; then + mv /tmp/$1.new var/named/$1.dist + else + mv /tmp/$1.new var/named/$1 + fi + } + + mv etc/named.conf.new /tmp + if [ -f etc/named.conf ] ; then + mv /tmp/named.conf.new etc/named.conf.dist + else + mv /tmp/named.conf.new etc/named.conf + fi + for i in master.localhost localhost.rev ; do + named_config $i + done + mv var/named/named.root.new /tmp + if [ -f var/named/named.root ] ; then + if diff -q var/named/named.root.internic var/named/named.root \ + > /dev/null 2>&1 ; then + mv var/named/named.root var/named/named.root.old + mv /tmp/named.root.new var/named/named.root + cp -p var/named/named.root var/named/named.root.internic + echo "New root hint file has been installed." + echo "Old one has been moved to /var/named/named.root.old." + else + mv /tmp/named.root.new var/named/named.root.internic + echo "You might have to update your root hint file." + echo "New one has been installed to /var/named/named.root.internic." + fi + else + mv /tmp/named.root.new var/named/named.root + cp -p var/named/named.root var/named/named.root.internic + echo "New root hint file has been installed." + fi + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc | tail -n+2` + tar rvpf $pkg.tar -C $P var/named 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 `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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/bridge_utils/PlamoBuild.bridge_utils-1.5 2017-06-13 21:47:53.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/bridge/bridge-utils-1.5.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=bridge_utils +vers=1.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=bridge-utils-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog README THANKS TODO + `echo doc/{FAQ,FIREWALL,HOWTO,PROJECTS,SMPNOTES,WISHLIST}`" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + autoreconf for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -49,7 +52,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make KERNEL_HEADERS=/usr/src/linux/include/uapi fi done fi @@ -71,8 +74,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/network.txz/curl/PlamoBuild.curl-7.60.0 2018-12-27 12:37:46.000000000 +0900 @@ -1,19 +1,28 @@ #!/bin/sh ###################################################################### -url="" +url="http://curl.haxx.se/download/curl-7.60.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=curl +vers=7.60.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-ldap --disable-rtsp + --enable-threaded-resolver --with-gssapi-includes=/usr/heimdal/include + --without-librtmp --without-nghttp2" +DOCS="`echo docs/{VERSIONS,MAIL-ETIQUETTE,HTTP-COOKIES.md,RELEASE-PROCEDURE}` + `echo docs/{BUGS,{SSL-PROBLEMS,CODE_STYLE}.md,KNOWN_BUGS,HTTP2.md}` + `echo docs/{README.win32,{INTERNALS,INSTALL,LICENSE-MIXING}.md,THANKS}` + `echo docs/{{README,HELP-US}.md,README.netware,TheArtOfHttpScripting}` + `echo docs/{{CIPHERS,CHECKSRC,BINDINGS,SECURITY-PROCESS}.md,FAQ,INSTALL}` + `echo docs/{ROADMAP.md,FEATURES,INSTALL.cmake,MANUAL,CODE_OF_CONDUCT.md}` + `echo docs/{RESOURCES,README.cmake,TODO,{CONTRIBUTE,HISTORY,SSLCERTS}.md}` + README CHANGES RELEASE-NOTES COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +51,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]} \ + --with-gssapi-libs=/usr/heimdal/$libdir fi done fi @@ -73,8 +83,14 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/curl + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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/man3 | tail -n+2` 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/cyrus_sasl/PlamoBuild.cyrus_sasl-2.1.23 2017-06-14 06:29:43.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.23.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/cyrus_sasl/cyrus-sasl-blfs.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/cyrus_sasl/cyrus-sasl-64bit-plugindir.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=cyrus_sasl +vers=2.1.23 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +build=P5 +src=cyrus-sasl-$vers +patchfiles="cyrus-sasl-blfs.patch.gz cyrus-sasl-64bit-plugindir.patch.gz" +OPT_CONFIG="--with-dbpath=/var/lib/sasl/sasldb2 + --with-saslauthd=/var/run/saslauthd" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +44,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]} \ + --with-plugindir=/usr/$libdir/sasl2 fi done fi @@ -64,16 +68,72 @@ make install DESTDIR=$P fi done + install -d $P/etc/sasl2 + cat <<- "EOF" > $P/etc/sasl2/smtpd.conf + pwcheck_method: saslauthd + mech_list: plain login + EOF + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/saslauthd + #!/bin/sh + + start() { + if [ -x /usr/sbin/saslauthd ] ; then + echo $"Starting saslauthd..." + saslauthd -a shadow + fi + } + + stop() { + if [ -f /var/run/saslauthd/saslauthd.pid ] ; then + echo $"Stopping saslauthd..." + kill `cat /var/run/saslauthd/saslauthd.pid` + rm -f /var/run/saslauthd/saslauthd.pid + fi + } + + case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + sleep 3 + start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 755 $P/etc/rc.d/init.d/saslauthd + install -d -m 700 $P/var/lib/sasl + install -d -g postfix $P/var/run/saslauthd touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/sasl2 setup_docdir 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` + touch -t `date '+%m%d0900'` $P/usr/$libdir/sasl2 + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/sasl + tar rvpf $pkg.tar -C $P etc/sasl2 + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/saslauthd + tar rvpf $pkg.tar -C $P var/lib/sasl + tar rvpf $pkg.tar -C $P var/run/saslauthd + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/dnsmasq/PlamoBuild.dnsmasq-2.76 2017-06-14 07:09:26.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.76.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=dnsmasq +vers=2.76 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="FAQ COPYING setup.html CHANGELOG COPYING-v3 CHANGELOG.archive + doc.html" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -49,7 +50,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make all-i18n PREFIX=/usr fi done fi @@ -61,9 +62,45 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install-i18n DESTDIR=$P PREFIX=/usr fi done + install -d $P/etc + install -m 644 $B/dnsmasq.conf.example $P/etc/dnsmasq.conf.new + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/dnsmasq + #!/bin/sh + + start() { + if [ -x /usr/sbin/dnsmasq ] ; then + dnsmasq + fi + } + + stop() { + killall dnsmasq + } + + case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + sleep 1 + start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 644 $P/etc/rc.d/init.d/dnsmasq touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +108,24 @@ compress setup_docdir 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` + install -d $P/install + cat <<- "EOF" > $P/install/doinst.sh + mv etc/dnsmasq.conf.new /tmp + if [ -f etc/dnsmasq.conf ] ; then + mv /tmp/dnsmasq.conf.new etc/dnsmasq.conf.dist + else + mv /tmp/dnsmasq.conf.new etc/dnsmasq.conf + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man8 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/es/man8 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/fr/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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/ethtool/PlamoBuild.ethtool-4.6 2017-06-14 07:13:08.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/software/network/ethtool/ethtool-4.6.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ethtool +vers=4.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS NEWS INSTALL COPYING README ChangeLog LICENSE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/fetchmail/PlamoBuild.fetchmail-6.3.26 2017-06-20 07:13:55.000000000 +0900 @@ -1,18 +1,26 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/fetchmail/fetchmail-6.3.26.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=fetchmail +vers=6.3.26 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-ssl" +DOCS="Mailbox-Names-UTF7.txt ABOUT-NLS fetchmail-EN-2010-03.txt + fetchmail-SA-2005-02.txt fetchmail-SA-2012-02.txt fetchmail-SA-2005-03.txt + README.SSL-SERVER FEATURES fetchmail-SA-2005-01.txt FAQ + fetchmail-SA-2006-03.txt fetchmail-SA-2011-01.txt fetchmail-SA-2007-01.txt + fetchmail-SA-2012-01.txt fetchmail-SA-2007-02.txt INSTALL + fetchmail-SA-2010-02.txt TODO fetchmail-SA-2006-02.txt NOTES + fetchmail-SA-2006-01.txt README.SSL fetchmail-SA-2009-01.txt + fetchmail-SA-2008-01.txt README README.NTLM fetchmail-SA-2010-01.txt + README.packaging NEWS OLDNEWS COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,6 +80,9 @@ setup_docdir 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/$libdir/python*/site-packages | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/01_minimum/network.txz/heimdal/PlamoBuild.heimdal-1.5.3 2017-10-29 17:04:30.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.h5l.org/dist/src/heimdal-1.5.3.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/heimdal/heimdal-1.5.3-texinfo_fix.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=heimdal +vers=1.5.3 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="heimdal-1.5.3-texinfo_fix.patch" +OPT_CONFIG="--prefix=/usr/heimdal --infodir=/usr/share/info + --mandir=/usr/share/man --with-sqlite3=/usr LIBS=-pthread" +DOCS="ChangeLog* LICENSE NEWS README TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p krb5.conf{,.orig} + sed -i '/default_realm/s@^ *@\t@' krb5.conf for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +70,193 @@ make install DESTDIR=$P fi done + mkdir $P/usr/heimdal/heimdal.tmp + mv $P/usr/heimdal/{{{,s}bin,libexec,$libdir,include},heimdal.tmp} + mv $P/usr/heimdal{/heimdal.tmp/{{,s}bin,libexec,$libdir,include},} + rmdir $P/usr/heimdal/heimdal.tmp + install -d $P/usr/$libdir/pkgconfig + ln -sf /usr/heimdal/$libdir/pkgconfig/heimdal-gssapi.pc \ + $P/usr/$libdir/pkgconfig + ln -sf mech.5 $mandir/man5/qop.5 + install -d $P/etc + install -m 644 krb5.conf $P/etc + install -m 644 etc/services.append $P/etc/services.append-kerberos + install -d $P/etc/profile.d + cat <<- "EOF" > $P/etc/profile.d/heimdal.sh + # add /usr/heimdal/bin to $PATH for bash + heimdal=/usr/heimdal + + if [ -n "$PATH" ] ; then + PATH=$PATH:$heimdal/bin + else + PATH=/bin:/usr/bin:$heimdal/bin + fi + if [ `id -u` = 0 ] ; then + PATH=$PATH:$heimdal/sbin + fi + export PATH + EOF + cat <<- "EOF" > $P/etc/profile.d/heimdal.csh + # add /usr/heimdal/bin to $PATH for tcsh + set heimdal = /usr/heimdal + + if ($?PATH) then + set path = ( $path $heimdal/bin ) + else + set path = ( /bin /usr/bin $heimdal/bin ) + endif + if (`id -u` == 0) then + set path = ( $path $heimdal/sbin ) + endif + EOF + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/heimdal + #!/bin/sh -f + # + # description: The Heimdal Kerberos5 KDC Master server and its administration + # daemons. + # processname: heimdal + # chkconfig: 2345 11 89 + # + # Creation: 1997-04-10 + # Auther: JuK + # HISTORY + # 2006-01-02 JuK port to Heimdal on Plamo Linux + # 2001-10-01 JuK port to RH7.1 + # + KDC=/usr/heimdal/libexec/kdc + kdcdaemon="heimdal (Kerberos 5 KDC)" + KADMIND=/usr/heimdal/libexec/kadmind + kdmdaemon="kadmind (Kerberos DB admin. daemon)" + KPASSWDD=/usr/heimdal/libexec/kpasswdd + kpwdaemon="kpasswdd (Kerberos password daemon)" + + kdcpid=`ps ax | grep $KDC | grep -v grep | sed -e 's/^ *//' -e 's/ .*//'` + kdmpid=`ps ax | grep $KADMIND | grep -v grep | sed -e 's/^ *//' -e 's/ .*//'` + kpwpid=`ps ax | grep $KPASSWDD | grep -v grep | sed -e 's/^ *//' -e 's/ .*//'` + + # + # start or stop kdc (KDC) + # start or stop kadmind (Kerberos DB admin. daemon) + # start or stop kpasswdd (Kerberos password daemon) + # + case $1 in + start) + if [ -f $KDC ] ; then + if [ -z "$kdcpid" ] ; then + $KDC & + echo "$0: $kdcdaemon started." + kdcpid=`ps ax | grep $KDC | grep -v grep | sed -e 's/^ *//' -e 's/ .*//'` + echo "$0: Proccess ID = $kdcpid" + else + echo "$0: $kdcdaemon is ALREADY running (PID = $kdcpid)." + fi + else + echo "$0: $KDC does NOT exist." + exit 1 + fi + if [ -f $KADMIND ] ; then + if [ -z "$kdmpid" ] ; then + $KADMIND & + echo "$0: $kdmdaemon started." + kdmpid=`ps ax | grep $KADMIND | grep -v grep | sed -e 's/^ *//' -e 's/ .*//'` + echo "$0: Proccess ID = $kdmpid" + else + echo "$0: $kdmdaemon is ALREADY running (PID = $kdmpid)." + fi + else + echo "$0: $KADMIND does NOT exist." + exit 1 + fi + if [ -f $KPASSWDD ] ; then + if [ -z "$kpwpid" ] ; then + $KPASSWDD & + echo "$0: $kpwdaemon started." + kpwpid=`ps ax | grep $KPASSWDD | grep -v grep | sed -e 's/^ *//' -e 's/ .*//'` + echo "$0: Proccess ID = $kpwpid" + else + echo "$0: $kpwdaemon is ALREADY running (PID = $kpwpid)." + fi + else + echo "$0: $KPASSWDD does NOT exist." + exit 1 + fi + ;; + stop) + if [ -f $KDC ] ; then + if [ -n "$kdcpid" ] ; then + kill $kdcpid + echo "$0: $kdcdaemon has been killed." + else + echo "$0: $kdcdaemon is NOT running." + fi + fi + if [ -f $KADMIND ] ; then + if [ -n "$kdmpid" ] ; then + kill $kdmpid + echo "$0: $kdmdaemon has been killed." + else + echo "$0: $kdmdaemon is NOT running." + fi + fi + if [ -f $KPASSWDD ] ; then + if [ -n "$kpwpid" ] ; then + kill $kpwpid + echo "$0: $kpwdaemon has been killed." + else + echo "$0: $kpwdaemon is NOT running." + fi + fi + ;; + *) + echo "usage: $0 {start|stop}" + # check kdc + if [ -n "$kdcpid" ] ; then + echo "$0: $kdcdaemon is ALREADY running (PID = $kdcpid)." + else + echo "$0: $kdcdaemon is NOT running." + fi + # check kadmind + if [ -n "$kdmpid" ] ; then + echo "$0: $kdmdaemon is ALREADY running (PID = $kdmpid)." + else + echo "$0: $kdmdaemon is NOT running." + fi + # check kpasswdd + if [ -n "$kpwpid" ] ; then + echo "$0: $kpwdaemon is ALREADY running (PID = $kpwpid)." + else + echo "$0: $kpwdaemon is NOT running." + fi + exit 1 + ;; + esac + exit 0 + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/heimdal/bin + strip_bindir $P/usr/heimdal/sbin + strip_bindir $P/usr/heimdal/libexec/heimdal + strip_bindir $P/usr/heimdal/libexec + strip_libdir $P/usr/heimdal/$libdir setup_docdir + prune_symlink $P/usr/heimdal convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + touch -t `date '+%m%d0900'` \ + $P/usr/heimdal/{{,s}bin,libexec{,/heimdal},$libdir} + tar cvpf $pkg.tar -C $P usr/heimdal + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/hostapd/PlamoBuild.hostapd-2.5 2017-06-14 07:51:32.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://hostap.epitest.fi/releases/hostapd-2.5.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=hostapd +vers=2.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CONTRIBUTIONS COPYING README + `echo hostapd/{ChangeLog,README{,-WPS},{eap_testing,hlr_auc_gw}.txt}`" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,8 +37,28 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p hostapd/{defconfig,.config} + cat <<- "EOF" | patch hostapd/.config + 16c16 + < #CONFIG_DRIVER_WIRED=y + --- + > CONFIG_DRIVER_WIRED=y + 31c31 + < #CONFIG_LIBNL32=y + --- + > CONFIG_LIBNL32=y + 114c114 + < #CONFIG_WPS=y + --- + > CONFIG_WPS=y + 164c164 + < #CONFIG_DEBUG_FILE=y + --- + > CONFIG_DEBUG_FILE=y + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/hostapd if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -47,9 +68,9 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/hostapd if [ -f Makefile ] ; then - make + make BINDIR=/usr/sbin fi done fi @@ -59,21 +80,108 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/hostapd if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P BINDIR=/usr/sbin fi done + install -d $mandir/man1 + install -m 644 $B/hostapd/hostapd_cli.1 $mandir/man1 + install -d $mandir/man8 + install -m 644 $B/hostapd/hostapd.8 $mandir/man8 + install -d $P/etc + cat <<- "EOF" > $P/etc/hostapd.conf.new + interface=wlan0 + ctrl_interface=/var/run/hostapd + ctrl_interface_group=wheel + ssid="replace SSID" + country_code=JP + ieee80211d=1 + hw_mode=g + macaddr_acl=0 + accept_mac_file=/etc/hostapd.accept + deny_mac_file=/etc/hostapd.deny + auth_algs=1 + wpa=2 + wpa_psk_file=/etc/hostapd.wpa_psk + wpa_key_mgmt=WPA-PSK + rsn_pairwise=CCMP + EOF + install -m 644 $B/hostapd/hostapd.accept $P/etc/hostapd.accept.new + sed -i '/^00/s/^/#/' $P/etc/hostapd.accept.new + install -m 644 $B/hostapd/hostapd.deny $P/etc/hostapd.deny.new + sed -i '/^00/s/^/#/' $P/etc/hostapd.deny.new + install -m 644 $B/hostapd/hostapd.wpa_psk $P/etc/hostapd.wpa_psk.new + sed -i '/^00/s/^/#/' $P/etc/hostapd.wpa_psk.new + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/hostapd + #!/bin/sh + # Start/stop/restart the hostapd (IEEE 802.11 Wireless AP) server: + + start() { + if [ -x /usr/sbin/hostapd ] ; then + hostapd -B /etc/hostapd.conf + fi + } + + stop() { + killall hostapd + } + + case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + sleep 3 + start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 644 $P/etc/rc.d/init.d/hostapd touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + install -d $docdir/$src/hostapd/examples + cp -p $S/hostapd/hostapd.[a-z]* $docdir/$src/hostapd/examples + chmod -R g-w $docdir/$src/hostapd/examples + chown -R root.root $docdir/$src/hostapd/examples + touch -r $S $docdir/$src/hostapd{/examples,} convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + install -d $P/install + cat <<- "EOF" > $P/install/doinst.sh + hostapd_config() { + mv etc/hostapd.$1.new /tmp + if [ -f etc/hostapd.$1 ] ; then + mv /tmp/hostapd.$1.new etc/hostapd.$1.dist + else + mv /tmp/hostapd.$1.new etc/hostapd.$1 + fi + } + + for i in conf accept deny wpa_psk ; do + hostapd_config $i + done + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` 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/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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/iptables/PlamoBuild.iptables-1.4.21 2017-06-14 07:57:31.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.netfilter.org/pub/iptables/iptables-1.4.21.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=iptables +vers=1.4.21 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-libipq" +DOCS="INSTALL INCOMPATIBILITIES COPYING COMMIT_NOTES" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,16 +64,33 @@ make install DESTDIR=$P fi done + touch $P/usr/$libdir/xtables/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/xtables + touch -t `date '+%m%d0900'` $P/usr/$libdir/xtables setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libip*tc.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libxtables.*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libipq.*` + tar rvpf $pkg.tar -C $P usr/$libdir/xtables + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/include -maxdepth 1 | 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/man3 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/iw/PlamoBuild.iw-4.7 2017-06-14 08:01:10.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/software/network/iw/iw-4.7.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=iw +vers=4.7 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CONTRIBUTING COPYING README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/libidn/PlamoBuild.libidn-1.33 2017-06-14 08:26:35.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/libidn/libidn-1.33.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libidn +vers=1.33 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS FAQ COPYING.LESSERv2 THANKS ABOUT-NLS README AUTHORS + COPYINGv2 TODO COPYING.LESSERv3 COPYING INSTALL COPYINGv3 + HACKING ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +74,16 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/emacs/site-lisp | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/libiec61883/PlamoBuild.libiec61883-1.2.0 2017-06-14 08:31:29.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/libs/ieee1394/libiec61883-1.2.0.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libiec61883 +vers=1.2.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libiec61883 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/libnl3/PlamoBuild.libnl3-3.2.25 2017-06-14 08:35:38.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libnl3 +vers=3.2.25 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=libnl-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +69,19 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/libnl/cli/qdisc + strip_libdir $P/usr/$libdir/libnl/cli/cls + touch -t `date '+%m%d0900'` $P/usr/$libdir/libnl/cli/{qdisc,cls} setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libnl*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libnl3 + tar rvpf $pkg.tar -C $P etc/libnl + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/libpcap/PlamoBuild.libpcap-1.8.1 2017-06-14 08:41:34.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libpcap +vers=1.8.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.sita README.tru64 CHANGES README.hpux README + pcap-sita.html README.macosx README.dag INSTALL.txt README.linux + TODO README.septel VERSION LICENSE CREDITS README.aix README.Win32" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +74,14 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | 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/man3 | 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 `cd $P ; find usr/share/man/man7 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/libraw1394/PlamoBuild.libraw1394-2.1.2 2017-06-14 08:45:04.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/libs/ieee1394/libraw1394-2.1.2.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libraw1394 +vers=2.1.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libraw1394 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/libssh/PlamoBuild.libssh-0.7.3 2017-06-14 08:54:54.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://red.libssh.org/attachments/download/195/libssh-0.7.3.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libssh +vers=0.7.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="BSD COPYING AUTHORS INSTALL README README.CodingStyle + SubmittingPatches ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -33,7 +34,7 @@ fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -44,6 +45,7 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=${libdir#lib} $S fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -64,16 +66,21 @@ make install DESTDIR=$P fi done + find $P/usr/$libdir -type f -exec touch {} \; touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/cmake/libssh + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libssh*` + tar rvpf $pkg.tar -C $P usr/include/libssh 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/libssh2/PlamoBuild.libssh2-1.7.0 2017-06-14 09:00:05.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.libssh2.org/download/libssh2-1.7.0.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libssh2 +vers=1.7.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo docs/{BINDINGS,HACKING,INSTALL_CMAKE,AUTHORS,TODO}` + `echo docs/{INSTALL_AUTOTOOLS,HACKING.CRYPTO}` + README RELEASE-NOTES ChangeLog COPYING NEWS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +73,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/metamail/PlamoBuild.metamail-2.7 2017-06-15 15:27:12.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://old-releases.ubuntu.com/ubuntu/pool/universe/m/metamail/metamail_2.7.orig.tar.gz + http://old-releases.ubuntu.com/ubuntu/pool/universe/m/metamail/metamail_2.7-54.diff.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/metamail/metamail-2.7-uue.c_getline.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=metamail +vers=2.7 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P5 +src=$pkgbase-$vers.orig +patchfiles="metamail_2.7-54.diff.gz metamail-2.7-uue.c_getline.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="CREDITS README mailers.txt" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +38,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + chmod 755 bootstrap configure + ./bootstrap for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,6 +69,10 @@ make install DESTDIR=$P fi done + for i in 1 5 ; do + install -d $mandir/man$i + for j in man/*.$i ; do install -m 644 $j $mandir/man$i ; done + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +81,12 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/metamail 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/ncftp/PlamoBuild.ncftp-3.2.5 2017-06-15 15:38:23.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.ncftp.com/ncftp/older_versions/ncftp-3.2.5-src.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ncftp +vers=3.2.5 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo doc/{CHANGELOG,FIREWALLS_AND_PROXIES,LICENSE}.txt` + `echo doc/{Location_of_Programs_is_C_Windows,READLINE}.txt` + `echo doc/{readme_{ncftpget_,}windows,what_changed_between_v2_v3}.txt` + DONATE.txt README.txt" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/ntp/PlamoBuild.ntp-4.2.8p10 2017-06-17 08:43:53.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ntp +vers=4.2.8p10 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.pullrequests ChangeLog README.patches readme.y2kfixes + CommitLog-4.1.0 COPYRIGHT NOTES.y2kfixes README CommitLog + README.leapsmear NEWS INSTALL README.versions WHERE-TO-START TODO + README.hackers README.bk README.refclocks" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +44,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]} \ + CFLAGS="-g -O2 -fPIC" fi done fi @@ -64,16 +68,117 @@ make install DESTDIR=$P fi done + install -d $P/etc + cat <<- "EOF" > $P/etc/ntp.conf.new + # Location of drift file + driftfile /var/lib/ntp/ntp.drift + + # NTP Servers + server ntp1.jst.mfeed.ad.jp + server ntp2.jst.mfeed.ad.jp + server ntp3.jst.mfeed.ad.jp + + # Restriction + restrict -4 default kod limited notrap nomodify nopeer noquery + restrict -6 default kod limited notrap nomodify nopeer noquery + restrict 127.0.0.1 + restrict ::1 + EOF + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/ntp + #!/bin/sh + + NTPD_OPTS="-u ntp:ntp -p /var/run/ntpd.pid -g" + + start() { + if pgrep -u ntp ntpd > /dev/null 2>&1 ; then + echo "NTP daemon already running. NTP start aborted." + exit 0 + fi + if [ -x /usr/bin/ntpd -a -f /etc/ntp.conf ] ; then + ntpdate -s `sed -n '/^server/p' /etc/ntp.conf | cut -d' ' -f2` + ntpd $NTPD_OPTS + fi + } + + stop() { + killall ntpd + } + + status() { + if pgrep -u ntp ntpd > /dev/null 2>&1 ; then + echo "NTP daemon is running." + exit 0 + else + echo "NTP daemon is not running." + exit 1 + fi + } + + case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + sleep 3 + start + ;; + status) + status + ;; + *) + echo $"Usage: $0 {start|stop|restart|status}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 755 $P/etc/rc.d/init.d/ntp + install -d $P/var/lib/ntp + chown ntp.ntp $P/var/lib/ntp touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/sntp $docdir/$src + mv $docdir/ntp $docdir/$src/html + mv $docdir/$src/{sntp,{readme.y2kfixes,CommitLog-4.1.0,COPYRIGHT}.gz} $C + mv $docdir/$src/{NOTES.y2kfixes,README,CommitLog,README.leapsmear}.gz $C + mv $docdir/$src/{NEWS,INSTALL,README.versions,WHERE-TO-START,TODO}.gz $C + mv $docdir/$src/{README.{hackers,bk}.gz,html,README.refclocks.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{sntp,{readme.y2kfixes,CommitLog-4.1.0,COPYRIGHT}.gz} $docdir/$src + mv $C/{NOTES.y2kfixes,README,CommitLog,README.leapsmear}.gz $docdir/$src + mv $C/{NEWS,INSTALL,README.versions,WHERE-TO-START,TODO}.gz $docdir/$src + mv $C/{README.{hackers,bk}.gz,html,README.refclocks.gz} $docdir/$src + mv $C/{$func,$myname,$spec}.gz $docdir/$src + touch -r $S $docdir/$src convert_links + install -d $P/install + cat <<- "EOF" > $P/install/doinst.sh + mv etc/ntp.conf.new /tmp + if [ -f etc/ntp.conf ] ; then + mv /tmp/ntp.conf.new etc/ntp.conf.dist + else + mv /tmp/ntp.conf.new etc/ntp.conf + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/ntp + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` + tar rvpf $pkg.tar -C $P var/lib/ntp 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/ntrack/PlamoBuild.ntrack-016 2017-06-15 23:13:01.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://launchpad.net/ntrack/main/016/+download/ntrack-016.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ntrack +vers=016 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING AUTHORS COPYING.LESSER NEWS ChangeLog INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,20 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p modules/ntrack-libnl.c{,.orig} + cat <<- "EOF" | patch modules/ntrack-libnl.c + 533,534c533,534 + < if ((diff_bits = (route_obj_ops.oo_id_attrs | ROUTE_ATTR_OIF + < | ROUTE_ATTR_GATEWAY) & + --- + > if ((diff_bits = (nl_object_get_id_attrs(nl_object_alloc(&route_obj_ops)) + > | ROUTE_ATTR_OIF | ROUTE_ATTR_GATEWAY) & + EOF + for i in modules glib gobject ; do + cp -p $i/Makefile.in{,.orig} + sed -i '/-Werror/d' $i/Makefile.in + done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -69,11 +83,25 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/ntrack/modules + strip_libdir $P/usr/$libdir/python*/site-packages + touch -t `date '+%m%d0900'` \ + $P/usr/$libdir/{ntrack/modules,python*/site-packages} setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libntrack.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/ntrack + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libntrack-g*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libntrack-q*` + tar rvpf $pkg.tar -C $P usr/include/ntrack 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/parprouted/PlamoBuild.parprouted-0.7 2017-06-24 15:08:18.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.hazard.maks.net/parprouted/parprouted-0.7.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=parprouted +vers=0.7 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGELOG README COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,18 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + cat <<- "EOF" | patch Makefile + 16,17c16,19 + < install parprouted /usr/local/sbin + < install parprouted.8 /usr/local/man/man8 + --- + > install -d $(DESTDIR)/usr/sbin + > install parprouted $(DESTDIR)/usr/sbin + > install -d $(DESTDIR)/usr/share/man/man8 + > install parprouted.8 $(DESTDIR)/usr/share/man/man8 + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,8 +83,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/postfix/PlamoBuild.postfix-2.11.9 2017-06-16 07:06:20.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.unicamp.br/pub/postfix/official/postfix-2.11.9.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=postfix +vers=2.11.9 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AAAREADME COMPATIBILITY COPYRIGHT HISTORY INSTALL IPv6-ChangeLog + LICENSE PORTING RELEASE_NOTES* TLS_* US_PATENT_6321267" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -44,6 +45,15 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cp -p conf/postfix-files{,.orig} + cat <<- "EOF" >> conf/postfix-files + $command_directory/smtp-source:f:root:root:-:755 + $command_directory/smtp-sink:f:root:root:-:755 + $command_directory/qmqp-source:f:root:root:-:755 + $command_directory/qmqp-sink:f:root:root:-:755 + EOF + make makefiles CCARGS="-DNO_NIS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL \ + -DUSE_TLS -I/usr/include/sasl" AUXLIBS="-lsasl2 -lssl -lcrypto" fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -60,20 +70,130 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make install DESTDIR=$P fi done + sh postfix-install -non-interactive -package install_root=$P \ + html_directory=/usr/share/doc/postfix/html \ + manpage_directory=/usr/share/man \ + readme_directory=/usr/share/doc/postfix/README_FILES + install -d $P/usr/lib + ln -s /usr/sbin/sendmail $P/usr/lib + for i in access aliases canonical generic \ + header_checks main.cf master.cf relocated transport virtual ; do + mv $P/etc/postfix/$i{,.new} + done + mv $P/etc/postfix/{{access,aliases}.new,bounce.cf.default,canonical.new} $C + mv $P/etc/postfix/{{generic,header_checks}.new,main.cf.default} $C + mv $P/etc/postfix/{main.cf.new,makedefs.out,{master.cf,relocated}.new} $C + mv $P/etc/postfix/{transport,virtual}.new $C + mv $C/{{access,aliases}.new,bounce.cf.default,canonical.new} $P/etc/postfix + mv $C/{{generic,header_checks}.new,main.cf.default} $P/etc/postfix + mv $C/{main.cf.new,makedefs.out,{master.cf,relocated}.new} $P/etc/postfix + mv $C/{transport,virtual}.new $P/etc/postfix + sed -i "/^\(html\|readme\)_directory/s@postfix@$src@" \ + $P/etc/postfix/main.cf.new + cat <<- "EOF" >> $P/etc/postfix/main.cf.new + + # Plamo local configurations (for fml and SMTP auth with SASL2) + alias_maps = hash:/etc/aliases + allow_mail_to_commands = alias,forward,include + smtpd_recipient_limit = 5000 + + #smtpd_sasl_auth_enable = yes + #smtpd_sasl_local_domain = + #smtpd_sasl_authenticated_header = yes + #smtpd_recipient_restrictions = + # permit_mynetworks + # permit_sasl_authenticated + # reject_unauth_destination + ## for Cyrus SASL + #smtpd_sasl_path = smtpd + #smtp_sasl_password_maps = hash:/etc/postfix/sasl_password + ## for Dovecot SASL + #smtpd_sasl_type = dovecot + #data_directory = /var/lib/postfix + EOF + sed -i 's@^#\(submission\)@\1@' $P/etc/postfix/master.cf.new + install -m 644 proto/aliases0 $P/etc/aliases.new + install -d $P/etc/rc.d/init.d + ln -s /usr/sbin/postfix $P/etc/rc.d/init.d + for i in active bounce corrupt defer deferred flush \ + hold incoming private maildrop public saved trace ; do + chown postfix $P/var/spool/postfix/$i + done + chgrp postdrop $P/var/spool/postfix/{maildrop,public} touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec/postfix + touch -t `date '+%m%d0900'` $P/usr/libexec/postfix setup_docdir + mv $docdir/postfix/html $docdir/$src + mv $docdir/postfix/README_FILES $docdir/$src + mv $docdir/$src/{README_FILES,{RELEASE_NOTES*,TLS_*}.gz} $C + mv $docdir/$src/{US_PATENT_6321267.gz,html,{$func,$myname,$spec}.gz} $C + mv $C/{README_FILES,{RELEASE_NOTES*,TLS_*}.gz} $docdir/$src + mv $C/{US_PATENT_6321267.gz,html,{$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` + prune_symlink $P/usr/lib + prune_symlink $P/etc/rc.d/init.d + cat <<- "EOF" >> $P/install/doinst.sh + + postfix_config() { + mv etc/postfix/$1.new /tmp + if [ -f etc/postfix/$1 ] ; then + mv /tmp/$1.new etc/postfix/$1.dist + else + mv /tmp/$1.new etc/postfix/$1 + fi + } + + for i in access aliases canonical generic \ + header_checks main.cf master.cf relocated transport virtual ; do + postfix_config $i + done + mv etc/aliases.new /tmp + if [ -f etc/aliases ] ; then + mv /tmp/aliases.new etc/aliases.dist + else + mv /tmp/aliases.new etc/aliases + fi + EOF + cat <<- EOF | sed 's/^|//' >> $P/install/doinst.sh + |#%% begin initialize $pkg + |if ! grep -q submission /etc/services ; then + | cat <<- "EOF" >> /etc/services + | submission 587/tcp + | submission 587/udp + | EOF + |fi + |if ps ax | grep inetd | grep -vq grep ; then + | killall -HUP inetd + |fi + |postfix upgrade-configuration + |postfix set-permissions + |[ -f /etc/aliases.db ] || newaliases + |#%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/lib/sendmail + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/postfix + tar rvpf $pkg.tar -C $P etc/postfix + tar rvpf $pkg.tar -C $P etc/aliases.new + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/postfix + tar rvpf $pkg.tar -C $P var/{lib,spool}/postfix 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/ppp/PlamoBuild.ppp-2.4.7 2017-06-24 15:26:13.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://download.samba.org/pub/ppp/ppp-2.4.7.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/ppp/ppp-2.4.7-linux_in_h_fix.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/ppp/plamo-ppp-scripts.tgz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ppp +vers=2.4.7 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" +patchfiles="ppp-2.4.7-linux_in_h_fix.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="Changes-2.3 FAQ PLUGINS README.* SETUP" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +38,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p pppd/Makefile.linux{,.orig} + sed -i -e 's@#\(USE_PAM\)@\1@g' -e 's@#\(CBCP\)@\1@g' \ + -e 's@pppusers@tty@g' pppd/Makefile.linux + cp -p pppd/plugins/pppol2tp/Makefile.linux{,.orig} + sed -i 's/@DESTDIR@/$(INSTROOT)&/g' pppd/plugins/pppol2tp/Makefile.linux + if [ $arch == x86_64 ] ; then + cp -p pppd/pathnames.h{,.orig} + sed -i '/DESTDIR/s@lib@&64@g' pppd/pathnames.h + find . -name "Makefile.linux" -exec sed -i 's@$(DESTDIR)/lib@&64@g' {} \; + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -61,18 +74,39 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install INSTROOT=$P fi done + install $W/scripts/{p{on,off},pppsetup}.sh $P/usr/sbin + install -d $P/usr/bin + install $W/scripts/{pppselect.sh,xpppselect.py} $P/usr/bin + install -d $P/etc/ppp + install $W/scripts/ip-{up,down}.sh $P/etc/ppp + echo "lock" > $P/etc/ppp/options + install -d $P/etc/pam.d + install -m 644 pppd/ppp.pam $P/etc/pam.d/ppp touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/pppd/$vers + touch -t `date '+%m%d0900'` $P/usr/$libdir/pppd/$vers setup_docdir + cp -p $W/scripts/README.plamo.euc $docdir/$src + chown root.root $docdir/$src/README.plamo.euc + gzip_one $docdir/$src/README.plamo.euc + mv $docdir/$src/{README.plamo.euc,$func,$myname,$spec}.gz $C + mv $C/{README.plamo.euc,$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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/pppd + tar rvpf $pkg.tar -C $P usr/include/pppd + tar rvpf $pkg.tar -C $P etc/ppp + tar rvpf $pkg.tar -C $P etc/pam.d/ppp + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/pptpd/PlamoBuild.pptpd-1.4.0 2017-06-16 07:58:20.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/poptop/pptpd-1.4.0.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=pptpd +vers=1.4.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-bcrelay --with-libwrap" +DOCS="NEWS COPYING AUTHORS README.inetd README.slirp README.bcrelay + README.cvs TODO README.portslave README ChangeLog INSTALL + README.logwtmp" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +38,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p plugins/Makefile{,.orig} + sed -i 's@$(LIBDIR)@$(DESTDIR)&@g' plugins/Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -61,7 +66,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install DESTDIR=$P fi done touch $W/i.et @@ -69,10 +74,14 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/pptpd + touch -t `date '+%m%d0900'` $P/usr/$libdir/pptpd setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/pptpd + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/network.txz/procmail/PlamoBuild.procmail-3.22 2020-05-05 07:49:35.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.ring.gr.jp/archives/net/mail/procmail/procmail-3.22.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/procmail/procmail-3.22-glibc-2.10.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/procmail/CVE-2014-3618.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=procmail +vers=3.22 arch=`uname -m` -build=P1 +build=P5 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" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -50,7 +52,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make LOCKINGTEST=/tmp fi done fi @@ -62,9 +64,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 ; chmod g+s $P/usr/bin/lockfile touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -74,6 +79,7 @@ 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/share/man/man5 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/rsync/PlamoBuild.rsync-3.1.2 2017-06-16 08:16:58.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://rsync.samba.org/ftp/rsync/src/rsync-3.1.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=rsync +vers=3.1.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO INSTALL COPYING rsyncsh.txt csprotocol.txt rsync3.txt + OLDNEWS NEWS README tech_report.tex" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,6 +74,7 @@ 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/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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/setserial/PlamoBuild.setserial-2.17 2017-06-16 08:22:03.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://repository.timesys.com/buildsources/s/setserial/setserial-2.17/setserial-2.17.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=setserial +vers=2.17 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README Documentation/byterunner-setup" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + cat <<- "EOF" | patch Makefile.in + 28a29 + > $(INSTALL_PROGRAM) -d $(DESTDIR)/bin + 31c32,33 + < $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/man/man8 + --- + > $(INSTALL_PROGRAM) -d $(DESTDIR)/usr/share/man/man8 + > $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/share/man/man8 + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,8 +82,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/socat/PlamoBuild.socat-1.7.3.1 2017-06-16 08:28:05.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.dest-unreach.org/socat/download/socat-1.7.3.1.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=socat +vers=1.7.3.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="FAQ DEVELOPMENT PORTING COPYING.OpenSSL FILES README.FIPS + README CHANGES SECURITY BUGREPORTS COPYING EXAMPLES" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/stunnel/PlamoBuild.stunnel-5.36 2017-06-16 09:00:36.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.stunnel.org/stunnel/archive/5.x/stunnel-5.36.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=stunnel +vers=5.36 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog COPYING CREDITS INSTALL.FIPS COPYRIGHT.GPL + AUTHORS TODO INSTALL.WCE NEWS INSTALL.W32 INSTALL BUGS PORTS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,10 +70,26 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/stunnel + touch -t `date '+%m%d0900'` $P/usr/$libdir/stunnel setup_docdir + mkdir $docdir/$src/doc + mv $docdir/stunnel/stunnel{,.pl}.html $docdir/$src/doc + touch -t `date '+%m%d0900'` $docdir/$src/doc + mv $docdir/stunnel/examples $docdir/$src + mv $docdir/$src/{doc,{COPYRIGHT.GPL,AUTHORS,TODO,INSTALL.WCE,NEWS}.gz} $C + mv $docdir/$src/{examples,{INSTALL.W32,INSTALL,BUGS,PORTS}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{doc,{COPYRIGHT.GPL,AUTHORS,TODO,INSTALL.WCE,NEWS}.gz} $docdir/$src + mv $C/{examples,{INSTALL.W32,INSTALL,BUGS,PORTS}.gz} $docdir/$src + mv $C/{$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 usr/$libdir/stunnel + tar rvpf $pkg.tar -C $P etc/stunnel + tar rvpf $pkg.tar -C $P var/lib/stunnel + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/w3m/PlamoBuild.w3m-0.5.3 2017-06-24 15:36:26.000000000 +0900 @@ -1,18 +1,26 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/w3m/w3m-0.5.3.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/network.txz/w3m/w3m-0.5.3-GC_fix.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=w3m +vers=0.5.3 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers -patchfiles="" +patchfiles="w3m-0.5.3-GC_fix.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="`echo doc-jp/{FAQ.html,HISTORY,MANUAL.html,README}` + `echo doc-jp/README.{SSL,cookie,cygwin,dict,func,img,keymap,m17n}` + `echo doc-jp/README.{mailcap,menu,migemo,mouse,pre_form,tab}` + `echo doc-jp/{STORY.html,keymap.{default,lynx},menu.{default,submenu}}` + doc-jp/README.passwd `echo doc/{FAQ.html,HISTORY,MANUAL.html,README}` + `echo doc/README.{cygwin,dict,func,img,m17n,mouse,pre_form,tab}` + `echo doc/{STORY.html,keymap.{default,lynx},menu.{default,submenu}}` + `echo doc/README.{cookie,passwd}` ABOUT-NLS ChangeLog NEWS README TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +44,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + sed -i '/w3mimgdisplay/s@$(LIBS)@& -lX11@g' Makefile.in + cp -p istream.c{,.orig} ; cp -p istream.h{,.orig} + sed -i 's@file_handle@w3m_&@g' istream.[ch] for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,15 +77,22 @@ make install DESTDIR=$P fi done + install -d $mandir/ja_JP.eucJP + mv $mandir/ja/man1 $mandir/ja_JP.eucJP touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $mandir/ja_JP.eucJP/man1 setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/w3m + tar rvpf $pkg.tar -C $P usr/share/w3m + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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/ja_JP.eucJP/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 mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/01_minimum/network.txz/wget/PlamoBuild.wget-1.20.3 2019-06-06 09:59:54.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/wget/wget-1.20.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=wget +vers=1.20.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ABOUT-NLS NEWS AUTHORS COPYING README MAILING-LIST + ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,6 +74,9 @@ setup_docdir 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/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P etc/wgetrc 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/wireless_tools/PlamoBuild.wireless_tools-29 2017-06-16 09:57:30.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.29.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=wireless_tools +vers=29 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=$pkgbase.$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README README.fr COPYING PCMCIA.txt CHANGELOG.h + DISTRIBUTIONS.txt HOTPLUG.txt IFRENAME-VS-XXX.txt" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,7 +62,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install PREFIX=$P/usr \ + INSTALL_LIB=$P/usr/$libdir INSTALL_MAN=$mandir fi done touch $W/i.et @@ -71,9 +73,14 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 `cd $P ; find usr/share/man/man7 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/network.txz/wpa_supplicant/PlamoBuild.wpa_supplicant-2.5 2017-06-16 10:06:14.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://hostap.epitest.fi/releases/wpa_supplicant-2.5.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=wpa_supplicant +vers=2.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo wpa_supplicant/{README-HS20,eap_testing.txt,README-Windows.txt}` + `echo wpa_supplicant/{ChangeLog,README-WPS,todo.txt,README-P2P,README}` + CONTRIBUTIONS COPYING README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,8 +38,40 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p wpa_supplicant/{defconfig,.config} + cat <<- "EOF" | patch wpa_supplicant/.config + 44c44 + < #CONFIG_LIBNL32=y + --- + > CONFIG_LIBNL32=y + 151c151 + < #CONFIG_WPS=y + --- + > CONFIG_WPS=y + 203c203 + < #CONFIG_READLINE=y + --- + > CONFIG_READLINE=y + 331c331 + < #CONFIG_CTRL_IFACE_DBUS=y + --- + > CONFIG_CTRL_IFACE_DBUS=y + 335c335 + < #CONFIG_CTRL_IFACE_DBUS_NEW=y + --- + > CONFIG_CTRL_IFACE_DBUS_NEW=y + 338c338 + < #CONFIG_CTRL_IFACE_DBUS_INTRO=y + --- + > CONFIG_CTRL_IFACE_DBUS_INTRO=y + 365c365 + < #CONFIG_DEBUG_FILE=y + --- + > CONFIG_DEBUG_FILE=y + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/wpa_supplicant if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -47,9 +81,10 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/wpa_supplicant if [ -f Makefile ] ; then make + make wpa_gui-qt4 fi done fi @@ -59,21 +94,120 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/wpa_supplicant if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P BINDIR=/usr/sbin fi done + wpadir=$B/wpa_supplicant + install $wpadir/wpa_gui-qt4/wpa_gui $P/usr/sbin + cat <<- "EOF" > $P/usr/sbin/wpa_action.sh + #!/bin/sh + + IFNAME=$1 + CMD=$2 + + if [ "$CMD" == "CONNECTED" ] ; then + dhclient $IFNAME + fi + + if [ "$CMD" == "DISCONNECTED" ] ; then + ifconfig $IFNAME down + fi + EOF + chmod 755 $P/usr/sbin/wpa_action.sh + install -d $P/usr/share/dbus-1/system-services + install -m 644 $wpadir/dbus/fi.*.service $P/usr/share/dbus-1/system-services + install -d $P/etc/dbus-1/system.d + install -m 644 $wpadir/dbus/*.conf $P/etc/dbus-1/system.d/wpa_supplicant.conf + install -d $mandir/man5 + install -m 644 $wpadir/doc/docbook/wpa_supplicant.conf.5 $mandir/man5 + install -d $mandir/man8 + install -m 644 $wpadir/doc/docbook/wpa_supplicant.8 $mandir/man8 + install -m 644 $wpadir/doc/docbook/wpa_cli.8 $mandir/man8 + install -m 644 $wpadir/doc/docbook/wpa_passphrase.8 $mandir/man8 + install -m 644 $wpadir/doc/docbook/wpa_priv.8 $mandir/man8 + install -m 644 $wpadir/doc/docbook/wpa_gui.8 $mandir/man8 + install -m 644 $wpadir/doc/docbook/wpa_background.8 $mandir/man8 + install -m 644 $wpadir/doc/docbook/eapol_test.8 $mandir/man8 + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/wpa_supplicant + #!/bin/sh + + IFNAME=`iwconfig 2> /dev/null | grep "IEEE 802.11" | awk '{print $1}'` + + start() { + if [ -x /usr/sbin/wpa_supplicant ] ; then + wpa_supplicant -B -c /etc/wpa_supplicant.conf -i $IFNAME + fi + if [ -x /usr/sbin/wpa_cli ] ; then + wpa_cli -a /usr/sbin/wpa_action.sh -B + fi + } + + stop() { + killall wpa_supplicant + } + + case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + sleep 3 + start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 644 $P/etc/rc.d/init.d/wpa_supplicant + cat <<- "EOF" | unexpand > $P/etc/wpa_supplicant.conf.new + ctrl_interface=/var/run/wpa_supplicant + ctrl_interface_group=wheel + network={ + ssid="replace SSID" + key_mgmt=WPA-PSK + psk="very secret passphrase" + } + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/wpa_supplicant/examples $docdir/$src/wpa_supplicant + chmod -R g-w $docdir/$src/wpa_supplicant/examples + chown -R root.root $docdir/$src/wpa_supplicant/examples + touch -r $S $docdir/$src/wpa_supplicant 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` + install -d $P/install + cat <<- "EOF" > $P/install/doinst.sh + mv etc/wpa_supplicant.conf.new /tmp + if [ -f etc/wpa_supplicant.conf ] ; then + mv /tmp/wpa_supplicant.conf.new etc/wpa_supplicant.conf.dist + else + mv /tmp/wpa_supplicant.conf.new etc/wpa_supplicant.conf + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1/system-services | tail -n+2` + tar rvpf $pkg.tar -C $P etc/dbus-1/system.d/wpa_supplicant.conf + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/wpa_supplicant + tar rvpf $pkg.tar -C $P etc/wpa_supplicant.conf.new + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/nfs.txz/libevent/PlamoBuild.libevent-2.0.22 2017-06-20 06:33:50.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/levent/libevent-2.0.22-stable.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libevent +vers=2.0.22 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=$pkgbase-$vers-stable patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="whatsnew-2.0.txt README ChangeLog LICENSE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/nfs.txz/libnfsidmap/PlamoBuild.libnfsidmap-0.25 2017-06-20 06:41:39.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-0.25.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libnfsidmap +vers=0.25 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README ChangeLog AUTHORS NEWS BUILDING_FROM_CVS COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +41,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]} \ + --with-pluginpath=/usr/$libdir/libnfsidmap fi done fi @@ -69,11 +70,17 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/libnfsidmap + touch -t `date '+%m%d0900'` $P/usr/$libdir/libnfsidmap setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libnfsidmap*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/nfs.txz/nfs_utils/PlamoBuild.nfs_utils-1.2.9 2017-06-20 21:29:44.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/nfs-utils/1.2.9/nfs-utils-1.2.9.tar.xz + https://raw.githubusercontent.com/pld-linux/nfs-utils/master/nfs-utils-heimdal.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=nfs_utils +vers=1.2.9 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +build=P3 +src=nfs-utils-$vers +patchfiles="nfs-utils-heimdal.patch" +OPT_CONFIG="--disable-nfsv4 --disable-gss --with-krb5=/usr/heimdal" +DOCS="README NEWS INSTALL COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,14 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p configure{,.orig} + cat <<- "EOF" | patch configure + 18769c18769 + < -f $dir/lib/libroken.a; then + --- + > \( -f $dir/lib/libroken.so -o -f $dir/lib64/libroken.so \); then + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,6 +73,39 @@ make install DESTDIR=$P fi done + cat <<- "EOF" > $P/sbin/nfs4_setup.sh + #!/bin/sh + # + # Simple NFSv4 setup scripts for NFS mount by hands + # If you don't invoke rpc.idmapd, NFSv4's UID/username mapping + # function doesn't work and cannot chown files on NFS + + modprobe sunrpc + mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs + /usr/bin/rpcbind + /usr/sbin/rpc.nfsd 4 + /usr/sbin/rpc.mountd + /usr/sbin/rpc.idmapd + /usr/sbin/rpc.statd + EOF + chmod 755 $P/sbin/nfs4_setup.sh + mv $P/usr/sbin/{sm-notify,rpc.statd} $C + mv $C/{sm-notify,rpc.statd} $P/usr/sbin + ln -s /bin/ture $P/usr/sbin/rpc.gssd + mkdir -m 700 $P/var/lib/nfs/{rpc_pipefs,v4recovery} + chown nobody $P/var/lib/nfs/{rpc_pipefs,v4recovery} + mkdir $P/etc + cat <<- "EOF" > $P/etc/idmapd.conf + [General] + Verbosity = 1 + Pipefs-Directory = /var/lib/nfs/rpc_pipefs + Domain = localdomain + + [Mapping] + + Nobody-User = nobody + Nobody-Group = nogroup + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +113,29 @@ compress setup_docdir 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` + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + EOF + cat <<- "EOF" | unexpand >> $P/install/doinst.sh + if [ -z `grep "^nfs" etc/services` ] ; then + echo "adding nfs service into /etc/services" + cat <<- "EOF" >> etc/services + nfs 2049/tcp + nfs 2049/udp + EOF + fi + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P var/lib/nfs + tar rvpf $pkg.tar -C $P etc/idmapd.conf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/nfs.txz/rpcbind/PlamoBuild.rpcbind-0.2.0 2017-06-20 21:33:19.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/rpcbind/rpcbind-0.2.0.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=rpcbind +vers=0.2.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README NEWS ChangeLog INSTALL COPYING AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,7 +72,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 `cd $P ; find usr/share/man/man1 | tail -n+2` + 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 touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/nilfs_utils/PlamoBuild.nilfs_utils-2.2.5 2017-06-24 07:04:49.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://nilfs.sourceforge.net/download/nilfs-utils-2.2.5.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=nilfs_utils +vers=2.2.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=nilfs-utils-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--without-selinux" +DOCS="AUTHORS README COPYING NEWS ChangeLog INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,17 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P etc/nilfs_cleanerd.conf 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 `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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/open_iscsi/PlamoBuild.open_iscsi-2.0.873 2017-06-24 07:33:11.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://distfiles.exherbo.org/distfiles/open-iscsi-2.0-873.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=open_iscsi +vers=2.0_873 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P6 +src=open-iscsi-2.0-873 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING Changelog README THANKS TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,29 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + cat <<- "EOF" | patch Makefile + 118c118 + < if [ ! -f /etc/iscsi/iscsid.conf ]; then \ + --- + > if true || [ ! -f /etc/iscsi/iscsid.conf ]; then \ + 131c131 + < if [ ! -f /etc/iscsi/initiatorname.iscsi ]; then \ + --- + > if true || [ ! -f /etc/iscsi/initiatorname.iscsi ]; then \ + EOF + cp -p usr/Makefile{,.orig} + cat <<- "EOF" | patch usr/Makefile + 57c57 + < $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns + --- + > $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lslp + 60c60 + < $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns + --- + > $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lslp + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,6 +87,52 @@ make install DESTDIR=$P fi done + sed -i 's/:.*/:000000000000/' $P/etc/iscsi/initiatorname.iscsi + for i in iscsid.conf initiatorname.iscsi ; do + mv $P/etc/iscsi/$i $C/$i.new + done + mv $P/etc/iscsi/ifaces $C + for i in iscsid.conf initiatorname.iscsi ; do + mv $C/$i.new $P/etc/iscsi + done + mv $C/ifaces $P/etc/iscsi + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/open-iscsi + #!/bin/sh + + start() + { + iscsid + iscsiadm -m node -L automatic + } + + stop() + { + sync + iscsiadm -m node -U all + iscsiadm -k 0 + modprobe -r iscsi_tcp ib_iser 2> /dev/null + } + + case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 755 $P/etc/rc.d/init.d/open-iscsi touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +140,31 @@ compress setup_docdir 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` + install -d $P/install + cat <<- "EOF" > $P/install/doinst.sh + mv etc/iscsi/iscsid.conf.new /tmp + if [ -f etc/iscsi/iscsid.conf ] ; then + mv /tmp/iscsid.conf.new etc/iscsi/iscsid.conf.dist + else + mv /tmp/iscsid.conf.new etc/iscsi/iscsid.conf + fi + EOF + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + # generate iSCSI initiator IQN + rm /etc/iscsi/initiatorname.iscsi.new + if [ ! -f /etc/iscsi/initiatorname.iscsi ] ; then + echo "InitiatorName=\`iscsi-iname\`" > /etc/iscsi/initiatorname.iscsi + fi + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P etc/iscsi + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/open-iscsi + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/openslp/PlamoBuild.openslp-1.2.1 2017-06-24 07:39:38.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/openslp/openslp-1.2.1.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=openslp +vers=1.2.1 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="FAQ NEWS README THANKS README.W32 AUTHORS INSTALL ChangeLog + COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,7 +62,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P DOC_DIR=/usr/share/doc/openslp fi done touch $W/i.et @@ -70,10 +71,20 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/openslp $docdir/$src/doc + mv $docdir/$src/{doc,{NEWS,README,THANKS,README.W32,AUTHORS}.gz} $C + mv $docdir/$src/{INSTALL,ChangeLog,$func,$myname,$spec}.gz $C + mv $C/{doc,{NEWS,README,THANKS,README.W32,AUTHORS}.gz} $docdir/$src + mv $C/{INSTALL,ChangeLog,$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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/pcre/PlamoBuild.pcre-8.39 2017-06-24 15:54:53.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/pcre/pcre-8.39.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=pcre +vers=8.39 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-pcre16 --enable-pcre32 --enable-unicode-properties + --enable-pcregrep-libz --enable-pcregrep-libbz2 + --enable-pcretest-libreadline" +DOCS="LICENCE README COPYING INSTALL ChangeLog HACKING AUTHORS + NON-AUTOTOOLS-BUILD NEWS NON-UNIX-USE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,16 +67,28 @@ make install DESTDIR=$P fi done + ln -s libpcre.so.1.2.7 $P/usr/$libdir/libpcre.so.0 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mkdir $docdir/$src/doc + mv $docdir/pcre/{pcre{,-config,grep,test}.txt,html} $docdir/$src/doc + touch -t `date '+%m%d0900'` $docdir/$src/doc + mv $docdir/$src/{doc,{NON-UNIX-USE,$func,$myname,$spec}.gz} $C + mv $C/{doc,{NON-UNIX-USE,$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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/perl/PlamoBuild.perl-5.14.2 2017-06-24 16:09:00.000000000 +0900 @@ -1,18 +1,27 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.cpan.org/src/perl-5.14.2.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/perl/perl-5.12.1-Configure_multilib-1.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/perl/CVE-2013-1667.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=perl +vers=5.14.2 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers -patchfiles="" +patchfiles="perl-5.12.1-Configure_multilib-1.patch.gz + CVE-2013-1667.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="`echo README.{irix,mpeix,haiku}` README `echo README.{dgux,bs2000}` + `echo README.{aix,hurd,symbian,openbsd,epoc,macosx,cygwin,solaris}` + `echo README.{vmesa,riscos}` MANIFEST README.plan9 Artistic + `echo README.{hpux,tw,ko,linux,win32,cn}` INSTALL Changes + `echo README.{beos,amiga,macos,qnx,vos,os400}` Copying + `echo README.{jp,micro,os390,dos,freebsd,os2,uts,vms,netware}` + AUTHORS `echo README.{tru64,ce}`" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +45,31 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p hints/linux.sh{,.orig} + cat <<- EOF | patch hints/linux.sh + 66,68c66,68 + < if test -L /lib/libc.so.6; then + < libc=\`ls -l /lib/libc.so.6 | awk '{print \$NF}'\` + < libc=/lib/\$libc + --- + > if test -L /$libdir/libc.so.6; then + > libc=\`ls -l /$libdir/libc.so.6 | awk '{print \$NF}'\` + > libc=/$libdir/\$libc + 463a464 + > installstyle="$libdir/perl5" + EOF + cp -p cpan/Compress-Raw-Zlib/config.in{,.orig} + cat <<- EOF | patch cpan/Compress-Raw-Zlib/config.in + 19,21c19,21 + < BUILD_ZLIB = True + < INCLUDE = ./zlib-src + < LIB = ./zlib-src + --- + > BUILD_ZLIB = False + > INCLUDE = /usr/include + > LIB = /usr/$libdir + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -44,6 +78,9 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + ./Configure -des -Dprefix=/usr -Dvendorprefix=/usr \ + -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 \ + -Dcc="gcc" -Dusethreads -Duseshrplib fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -69,10 +106,17 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in `find $P/usr/$libdir/perl5/$vers/$arch-linux-thread-multi \ + -name "*.so"` ; do + strip_libdir ${i%/*} + touch -t `date '+%m%d0900'` ${i%/*} + done setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/perl5 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/man3 | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/popt/PlamoBuild.popt-1.16 2017-06-24 16:56:14.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://rpm5.org/files/popt/popt-1.16.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=popt +vers=1.16 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README ABOUT-NLS CHANGES" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,7 +61,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P pkgconfigdir=/usr/$libdir/pkgconfig fi done touch $W/i.et @@ -71,9 +71,13 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/psmisc/PlamoBuild.psmisc-22.21 2017-06-24 17:00:17.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/psmisc/psmisc-22.21.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=psmisc +vers=22.21 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS INSTALL NEWS COPYING ABOUT-NLS ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,6 +64,8 @@ make install DESTDIR=$P fi done + install -d $P/bin + mv $P/usr/bin/{killall,prtstat,fuser,peekfd} $P/bin touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +73,12 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/recode/PlamoBuild.recode-3.6 2017-06-06 12:53:29.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://mirrors.tds.net/gentoo/distfiles/recode-3.6.tar.gz + http://ftp.osuosl.org/pub/blfs/svn/r/recode-3.6-fixes-2.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=recode +vers=3.6 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="recode-3.6-fixes-2.patch" +OPT_CONFIG="--without-included-gettext" +DOCS="README ABOUT-NLS AUTHORS BACKLOG COPYING ChangeLog INSTALL + NEWS THANKS TODO COPYING-LIB" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +38,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p /usr/share/libtool/build-aux/config.{guess,sub} . for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,8 +76,13 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/rpm2targz/PlamoBuild.rpm2targz-git_20120517 2017-06-26 20:58:39.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://anongit.gentoo.org/git/proj/rpm2targz.git + ftp://plamo.linet.gr.jp/pub/Plamo-src.new/plamo/01_minimum/rpm2targz/rpm2cpio" verify= digest= -commitid= -pkgbase= -vers= +commitid[0]=e47270a +pkgbase=rpm2targz +vers=git_20120517 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="rpm2targz.README rpm2targz.README.Gentoo ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,16 +65,18 @@ make install DESTDIR=$P fi done + install $W/rpm2cpio $P/usr/bin touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/ruby/PlamoBuild.ruby-2.2.3 2017-06-26 21:03:11.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ruby +vers=2.2.3 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-shared" +DOCS="README.md ChangeLog README.ja.md COPYING.ja KNOWNBUGS.rb COPYING + LEGAL BSDL README.EXT NEWS README.EXT.ja CONTRIBUTING.md GPL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,16 +65,41 @@ make install DESTDIR=$P fi done + touch $P/usr/{bin/ruby,$libdir/libruby*} + find $P/usr/$libdir/ruby/${vers%.*}.0 -type f -exec touch {} \; + touch $P/usr/$libdir/pkgconfig/* + triplet=$arch-linux`[ $arch == armv7l ] && echo -eabi` + touch $P/usr/include/ruby-${vers%.*}.0/{ruby/digest,$triplet/ruby/*}.h + find $P/usr/share/ri -type f -exec touch {} \; + install -d $P/etc/profile.d + cat <<- "EOF" > $P/etc/profile.d/ruby.sh + export SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt + EOF + cat <<- "EOF" > $P/etc/profile.d/ruby.csh + setenv SSL_CERT_FILE /etc/ssl/certs/ca-bundle.crt + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in `find $P/usr/$libdir/ruby/${vers%.*}.0/$triplet -name "*.so" \ + | sed 's@\(.*\)/.*@\1@' | sort | uniq` ; do + strip_libdir $i + touch -t `date '+%m%d0900'` $i + done setup_docdir 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/$libdir -name libruby*` + tar rvpf $pkg.tar -C $P usr/$libdir/ruby + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/ruby-${vers%.*}.0 + tar rvpf $pkg.tar -C $P `cd $P ; find etc/profile.d | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/ri 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/screen/PlamoBuild.screen-4.4.0 2017-06-26 22:10:40.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/screen/screen-4.4.0.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=screen +vers=4.4.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="FAQ NEWS.3.9 COPYING NEWS.3.5 NEWS.3.7 HACKING NEWS NEWS.3.6 + ChangeLog INSTALL TODO README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +37,15 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + cat <<- "EOF" | patch Makefile.in + 99,102d98 + < -if [ -d /usr/lib/terminfo ]; then \ + < PATH="$$PATH:/usr/5bin" tic ${srcdir}/terminfo/screeninfo.src; \ + < chmod 644 /usr/lib/terminfo/s/screen*; \ + < fi + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,9 +81,24 @@ compress setup_docdir convert_links + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + cat <<- "EOF" | sed 's/^|//' > /tmp/screeninfo.src + EOF + cat $B/terminfo/screeninfo.src | sed 's@^@\t|@' >> $P/install/doinst.sh + cat <<- "EOF" | sed 's/^|//' >> $P/install/doinst.sh + | EOF + |tic -s /tmp/screeninfo.src + |rm /tmp/screeninfo.src + |#%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/screen + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/sg3_utils/PlamoBuild.sg3_utils-1.42 2017-06-26 22:16:12.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://sg.danny.cz/sg/p/sg3_utils-1.42.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=sg3_utils +vers=1.42 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README README.sg_start README.iscsi README.solaris CREDITS + ChangeLog BSD_LICENSE COPYING README.win32 AUTHORS COVERAGE + README.freebsd INSTALL README.tru64" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +74,11 @@ setup_docdir 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 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/scsi + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/sharutils/PlamoBuild.sharutils-4.15.2 2017-06-26 22:24:09.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/sharutils/sharutils-4.15.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=sharutils +vers=4.15.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog COPYING ABOUT-NLS NEWS README TODO THANKS + AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,7 +73,10 @@ setup_docdir 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/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/sqlite/PlamoBuild.sqlite-3.18.0 2017-06-26 22:48:44.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://sqlite.org/2017/sqlite-autoconf-3180000.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=sqlite +vers=3.18.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase-autoconf-3180000 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README.txt" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +41,9 @@ 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]} \ + CFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_DBSTAT_VTAB \ + -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_SECURE_DELETE -g -O2" fi done fi @@ -72,8 +74,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/squashfs/PlamoBuild.squashfs-4.3 2017-06-26 23:02:25.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/squashfs/squashfs4.3.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=squashfs +vers=4.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ACKNOWLEDGEMENTS README README-4.3 pseudo-file.example DONATIONS + `echo OLD-READMEs/README-{3.{0,3,2},2.0,3.1,4.0,2.1,4.2,AMD64,4.1}` + COPYING INSTALL PERFORMANCE.README CHANGES" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,8 +38,32 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B/squashfs-tools + cp -p Makefile Makefile.orig + cat <<- "EOF" | patch Makefile + 29c29 + < #XZ_SUPPORT = 1 + --- + > XZ_SUPPORT = 1 + 40c40 + < #LZO_SUPPORT = 1 + --- + > LZO_SUPPORT = 1 + 111c111 + < INSTALL_DIR = /usr/local/bin + --- + > INSTALL_DIR = /usr/bin + 303,305c303,305 + < mkdir -p $(INSTALL_DIR) + < cp mksquashfs $(INSTALL_DIR) + < cp unsquashfs $(INSTALL_DIR) + --- + > mkdir -p $(DESTDIR)$(INSTALL_DIR) + > cp mksquashfs $(DESTDIR)$(INSTALL_DIR) + > cp unsquashfs $(DESTDIR)$(INSTALL_DIR) + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/squashfs-tools if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -47,7 +73,7 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/squashfs-tools if [ -f Makefile ] ; then make fi @@ -59,7 +85,7 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/squashfs-tools if [ -f Makefile ] ; then make install DESTDIR=$P fi @@ -72,7 +98,6 @@ setup_docdir 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/sysstat/PlamoBuild.sysstat-11.5.1 2017-06-26 23:09:04.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://pagesperso-orange.fr/sebastien.godard/sysstat-11.5.1.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=sysstat +vers=11.5.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--docdir=/usr/share/doc/sysstat" +DOCS="FAQ COPYING README.md CHANGES INSTALL CREDITS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +41,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]} \ + sa_lib_dir=/usr/$libdir/sa fi done fi @@ -61,7 +62,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install DESTDIR=$P fi done touch $W/i.et @@ -72,7 +73,13 @@ setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/sa + tar rvpf $pkg.tar -C $P var/log/sa + tar rvpf $pkg.tar -C $P `cd $P ; find etc/sysconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 `cd $P ; find usr/share/man/man8 | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/tcl.txz/tcl/PlamoBuild.tcl-8.6.6 2017-07-01 01:52:25.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/tcl/tcl8.6.6-src.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=tcl +vers=8.6.6 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-threads" +DOCS="ChangeLog.2004 ChangeLog.2002 ChangeLog.2005 ChangeLog.2008 + ChangeLog.1999 changes ChangeLog license.terms ChangeLog.2007 + ChangeLog.2003 README ChangeLog.2000 ChangeLog.2001" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,8 +38,28 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch == x86_64 ] ; then + cp -p unix/configure{,.orig} + cat <<- "EOF" | patch unix/configure + 18923c18923 + < TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)' + --- + > TCL_LIBRARY='$(prefix)/lib64/tcl$(VERSION)' + 19053,19054c19053,19054 + < elif test "$prefix/lib" != "$libdir"; then + < TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}" + --- + > elif test "$prefix/lib64" != "$libdir"; then + > TCL_PACKAGE_PATH="${libdir} ${prefix}/lib64 ${TCL_PACKAGE_PATH}" + 19056c19056 + < TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}" + --- + > TCL_PACKAGE_PATH="${prefix}/lib64 ${TCL_PACKAGE_PATH}" + EOF + fi for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/unix if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -47,7 +69,7 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/unix if [ -f Makefile ] ; then make fi @@ -59,21 +81,35 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/unix if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P install-private-headers fi done + ln -s tclsh8.6 $P/usr/bin/tclsh + mv $P/usr/bin/{tclsh8.6,sqlite3_analyzer,tclsh} $C + mv $C/{tclsh8.6,sqlite3_analyzer,tclsh} $P/usr/bin touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in `find $P/usr/$libdir -mindepth 2 -name *.so` ; do + strip_libdir ${i%/*} + touch -t `date '+%m%d0900'` ${i%/*} + done setup_docdir 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/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/mann | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/tcl.txz/expect/PlamoBuild.expect-5.45 2017-07-01 02:06:24.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/expect/expect5.45.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=expect +vers=5.45 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL NEWS ChangeLog README FAQ license.terms HISTORY" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,10 +69,15 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/expect$vers + touch -t `date '+%m%d0900'` $P/usr/$libdir/expect$vers setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/expect$vers + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/tcl.txz/tclx/PlamoBuild.tclx-8.4.1 2017-07-01 06:35:10.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/tclx/tclx8.4.1.tar.bz2 + http://ftp.slackware.com/pub/slackware/slackware-14.0/source/tcl/tclx/tclx-8.4.gcc4.diff.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=tclx +vers=8.4.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P2 +src=${pkgbase}8.4 +patchfiles="tclx-8.4.gcc4.diff.gz" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README license.terms" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +42,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]} \ + --with-tcl=/usr/$libdir fi done fi @@ -69,10 +71,13 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/tclx8.4 + touch -t `date '+%m%d0900'` $P/usr/$libdir/tclx8.4 setup_docdir 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 cvpf $pkg.tar -C $P usr/$libdir/tclx8.4 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/mann | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/tcl.txz/itcl/PlamoBuild.itcl-4.0.5 2017-07-01 02:19:56.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/incrtcl/itcl4.0.5.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=itcl +vers=4.0.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="releasenotes.txt ChangeLog TODO license.terms README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,10 +69,13 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/itcl$vers + touch -t `date '+%m%d0900'` $P/usr/$libdir/itcl$vers setup_docdir 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 cvpf $pkg.tar -C $P usr/$libdir/itcl$vers + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/mann | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/texinfo/PlamoBuild.texinfo-6.1 2017-07-06 15:41:43.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/texinfo/texinfo-6.1.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=texinfo +vers=6.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README-hacking ABOUT-NLS README COPYING AUTHORS NEWS + INSTALL.generic INSTALL ChangeLog ChangeLog.46 TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +70,19 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/texinfo + touch -t `date '+%m%d0900'` $P/usr/$libdir/texinfo setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/texinfo + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/texinfo + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/time/PlamoBuild.time-1.7 2017-07-06 15:47:20.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/time/time-1.7.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=time +vers=1.7 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + sed -i 's@$(bindir)@$(DESTDIR)&@;s@$(infodir)@$(DESTDIR)&@' Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,7 +75,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 `cd $P ; find usr/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/tree/PlamoBuild.tree-1.7.0 2017-07-06 15:50:05.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://mama.indstate.edu/linux/tree/tree-1.7.0.tgz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=tree +vers=1.7.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES INSTALL LICENSE README TODO" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + sed -i 's@$(BINDIR)@$(DESTDIR)&@;s@$(MANDIR)@$(DESTDIR)&@' Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -61,7 +64,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P MANDIR=/usr/share/man/man1 fi done touch $W/i.et @@ -70,6 +73,7 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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` --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/unzip/PlamoBuild.unzip-60 2017-07-06 15:55:53.000000000 +0900 @@ -1,18 +1,26 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/infozip/unzip60.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/unzip/unzip60-nls_sjis.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/unzip/CVE-2014-8139.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/unzip/CVE-2014-8140.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/unzip/CVE-2014-8141.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/unzip/CVE-2014-9636.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/01_minimum/unzip/heapoverflow.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=unzip +vers=60 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P6 +src=$pkgbase$vers +patchfiles="unzip60-nls_sjis.patch.gz + `echo CVE-2014-{81{39,40,41},9636}.patch.gz` heapoverflow.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="BUGS Contents COPYING.OLD History.600 INSTALL LICENSE README + ToDo WHERE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -48,8 +56,8 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make + if [ -f unix/Makefile ] ; then + make -f unix/Makefile generic1 fi done fi @@ -60,8 +68,8 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make install DESTDIR=$P + if [ -f unix/Makefile ] ; then + make -f unix/Makefile install prefix=$P/usr MANDIR=$P/usr/share/man/man1 fi done touch $W/i.et @@ -70,6 +78,7 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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` --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/usbutils/PlamoBuild.usbutils-007 2017-07-06 16:03:16.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-007.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=usbutils +vers=007 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README NEWS COPYING INSTALL AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,7 +72,11 @@ setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/usb.ids{,.gz} + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | 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/man8 | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/utempter/PlamoBuild.utempter-0.5.5 2017-07-06 16:14:50.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://mirror.its.dal.ca/freebsd/ports/local-distfiles/lofi/utempter-0.5.5.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=utempter +vers=0.5.5 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,9 +61,11 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install RPM_BUILD_ROOT=$P LIBDIR=usr/$libdir fi done + chgrp utmp $P/usr/sbin/utempter + chmod 2755 $P/usr/sbin/utempter touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +73,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/which/PlamoBuild.which-2.21 2017-07-06 16:30:10.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/which/which-2.21.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=which +vers=2.21 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL EXAMPLES README README.alias AUTHORS NEWS COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,6 +72,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 `cd $P ; find usr/share/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/yaml/PlamoBuild.yaml-0.1.7 2017-07-06 16:32:17.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://pyyaml.org/download/libyaml/yaml-0.1.7.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=yaml +vers=0.1.7 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/zip/PlamoBuild.zip-30 2017-07-06 16:35:29.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/infozip/zip30.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=zip +vers=30 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="Betas_Readme.txt BUGS CHANGES INSTALL LICENSE README README.CR + TODO USexport.msg WHATSNEW WHERE zip30*.ann" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -48,8 +49,8 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make + if [ -f unix/Makefile ] ; then + make -f unix/Makefile generic fi done fi @@ -60,8 +61,8 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make install DESTDIR=$P + if [ -f unix/Makefile ] ; then + make -f unix/Makefile install prefix=$P/usr MANDIR=$P/usr/share/man/man1 fi done touch $W/i.et @@ -70,6 +71,7 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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` --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/01_minimum/zsh/PlamoBuild.zsh-5.2 2017-07-06 16:38:42.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/zsh/zsh-5.2.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=zsh +vers=5.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-multibyte" +DOCS="ChangeLog META-FAQ MACHINES INSTALL LICENCE NEWS FEATURES README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +69,18 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/zsh/$vers/zsh + touch -t `date '+%m%d0900'` $P/usr/$libdir/zsh/$vers/zsh setup_docdir convert_links + prune_symlink $P/usr/share/zsh/$vers/help + touch -t `date '+%m%d0900'` $P/usr/share/zsh/$vers/help tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/zsh + tar rvpf $pkg.tar -C $P usr/share/zsh 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/TTfont.txz/freetype/PlamoBuild.freetype-2.6.1 2017-09-14 21:46:35.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/freetype/freetype-2.6.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=freetype +vers=2.6.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog `echo docs/{TODO,INSTALL.UNIX,FTL.TXT,formats.txt}` + `echo docs/{CUSTOMIZE,INSTALL.CROSS,VERSION.DLL,release}` + `echo docs/{INSTALL.{VMS,ANY},raster.txt,PROBLEMS,INSTALL.MAC}` + `echo docs/{CHANGES,LICENSE.TXT,CMAKE,GPLv2.TXT,INSTALL.GNU}` + `echo docs/{MAKEPP,DEBUG,INSTALL} ChangeLog.2{4,3,2}` README + ChangeLog.20 README.git ChangeLog.21" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +42,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p modules.cfg{,.orig} + sed -i '/\(gx\|ot\)valid$/s@^# @@g' modules.cfg for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -73,8 +81,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/freetype2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/TTfont.txz/fontconfig/PlamoBuild.fontconfig-2.11.1 2017-09-14 17:36:50.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.1.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/02_x11/TTfont.txz/fontconfig/fonts.conf" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=fontconfig +vers=2.11.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-docs" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +66,8 @@ make install DESTDIR=$P fi done + install -d $P/etc/template/Source/.config/fontconfig + install -m 644 $W/fonts.conf $P/etc/template/Source/.config/fontconfig touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +75,19 @@ compress setup_docdir convert_links + prune_symlink $P/etc/fonts/conf.d + touch -t `date '+%m%d0900'` $P/etc/fonts/conf.d 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/fontconfig + tar rvpf $pkg.tar -C $P usr/share/fontconfig + tar rvpf $pkg.tar -C $P usr/share/xml/fontconfig + tar rvpf $pkg.tar -C $P var/cache/fontconfig + tar rvpf $pkg.tar -C $P etc/fonts + tar rvpf $pkg.tar -C $P etc/template/Source/.config/fontconfig 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/TTfont.txz/IPAfont/PlamoBuild.IPAfont-00302 2018-06-16 10:11:19.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://jaist.dl.osdn.jp/ipafonts/46146/IPAfont00302.zip" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=IPAfont +vers=00302 +arch=noarch +build=P3 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="IPA_Font_License_Agreement_v1.0.txt Readme_IPAfont00302.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +65,9 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/fonts/TrueType + cp -p $B/*.ttf $P/usr/share/fonts/TrueType + chown root.root $P/usr/share/fonts/TrueType/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +75,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/TrueType | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/TTfont.txz/IPAexfont/PlamoBuild.IPAexfont-00103 2018-06-16 10:12:13.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://jaist.dl.osdn.jp/ipafonts/49986/IPAexfont00103.zip" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=IPAexfont +vers=00103 +arch=noarch +build=P2 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="IPA_Font_License_Agreement_v1.0.txt Readme_IPAexfont00103.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +65,9 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/fonts/TrueType + cp -p $B/*.ttf $P/usr/share/fonts/TrueType + chown root.root $P/usr/share/fonts/TrueType/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +75,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/TrueType | 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/TTfont.txz/VLGothic/PlamoBuild.VLGothic-20130510 2019-08-16 13:34:18.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://ymu.dl.osdn.jp/vlgothic/58803/VLGothic-20130510.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=VLGothic +vers=20130510 +arch=noarch +build=P2 +src=$pkgbase patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README_E.mplus LICENSE.en LICENSE Changelog README.sazanami + LICENSE_E.mplus README_J.mplus README LICENSE_J.mplus" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +66,70 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/fonts/TrueType + install -m 644 *.ttf $P/usr/share/fonts/TrueType + install -d $P/usr/share/fontconfig/conf.avail + cat <<- "EOF" > $P/usr/share/fontconfig/conf.avail/61-vlgothic.conf + + + + + + VL PGothic + + sans-serif + + + + VL Gothic + + monospace + + + + + + ja + + + sans-serif + + + VL PGothic + + + + + ja + + + monospace + + + VL Gothic + + + + + + VL PGothic + + + false + + + + + VL Gothic + + + false + + + + EOF + install -d $P/etc/fonts/conf.d + ln -s /usr/share/fontconfig/conf.avail/61-vlgothic.conf $P/etc/fonts/conf.d touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +137,21 @@ compress setup_docdir 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` + prune_symlink $P/etc/fonts/conf.d + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + rm /usr/share/fonts/TrueType/fonts.scale + mkfontscale /usr/share/fonts/TrueType + fc-cache /usr/share/fonts/TrueType + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/TrueType | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/fontconfig/conf.avail | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/fonts/conf.d | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/TTfont.txz/fonts_migmix/PlamoBuild.fonts_migmix-20121030 2019-08-16 14:47:39.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.jp/mix-mplus-ipa/57239/migmix-1p-20121030.zip + http://jaist.dl.sourceforge.jp/mix-mplus-ipa/57239/migmix-2p-20121030.zip + http://jaist.dl.sourceforge.jp/mix-mplus-ipa/57239/migmix-1m-20121030.zip + http://jaist.dl.sourceforge.jp/mix-mplus-ipa/57239/migmix-2m-20121030.zip" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=fonts_migmix +vers=20121030 +arch=noarch +build=P3 +src=migmix-1p-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="migmix-README.txt ipag00303/IPA_Font_License_Agreement_v1.0.txt + ipag00303/Readme_ipag00303.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +69,75 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/fonts/TrueType + for i in {1,2}p {1,2}m ; do + install -m 644 $W/migmix-$i-$vers/migmix-$i-{regular,bold}.ttf \ + $P/usr/share/fonts/TrueType + done + install -d $P/usr/share/fontconfig/conf.avail + cat <<- "EOF" > $P/usr/share/fontconfig/conf.avail/20-unhint-migmix.conf + + + + + + MigMix 1P + + + false + + + + + MigMix 2P + + + false + + + + + MigMix 1M + + + false + + + + + MigMix 2M + + + false + + + + EOF + cat <<- "EOF" > $P/usr/share/fontconfig/conf.avail/62-fonts-migmix.conf + + + + + sans-serif + + MigMix 1P + MigMix 2P + MigMix 1M + MigMix 2M + + + + monospace + + MigMix 1M + MigMix 2M + + + + EOF + install -d $P/etc/fonts/conf.d + ln -s /usr/share/fontconfig/conf.avail/20-unhint-migmix.conf $P/etc/fonts/conf.d + ln -s /usr/share/fontconfig/conf.avail/62-fonts-migmix.conf $P/etc/fonts/conf.d touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +145,21 @@ compress setup_docdir 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` + prune_symlink $P/etc/fonts/conf.d + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + rm /usr/share/fonts/TrueType/fonts.scale + mkfontscale /usr/share/fonts/TrueType + fc-cache /usr/share/fonts/TrueType + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/TrueType | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/fontconfig/conf.avail | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/fonts/conf.d | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/TTfont.txz/fonts_migu/PlamoBuild.fonts_migu-20121030 2019-08-16 15:11:10.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.jp/mix-mplus-ipa/57240/migu-1p-20121030.zip + http://jaist.dl.sourceforge.jp/mix-mplus-ipa/57240/migu-1c-20121030.zip + http://jaist.dl.sourceforge.jp/mix-mplus-ipa/57240/migu-1m-20121030.zip + http://jaist.dl.sourceforge.jp/mix-mplus-ipa/57240/migu-2m-20121030.zip" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=fonts_migu +vers=20121030 +arch=noarch +build=P2 +src=migu-1p-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="migu-README.txt ipag00303/IPA_Font_License_Agreement_v1.0.txt + ipag00303/Readme_ipag00303.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +69,75 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/fonts/TrueType + for i in 1{p,c} {1,2}m ; do + install -m 644 $W/migu-$i-$vers/migu-$i-{regular,bold}.ttf \ + $P/usr/share/fonts/TrueType + done + install -d $P/usr/share/fontconfig/conf.avail + cat <<- "EOF" > $P/usr/share/fontconfig/conf.avail/20-unhint-migu.conf + + + + + + Migu 1P + + + false + + + + + Migu 1C + + + false + + + + + Migu 1M + + + false + + + + + Migu 2M + + + false + + + + EOF + cat <<- "EOF" > $P/usr/share/fontconfig/conf.avail/62-fonts-migu.conf + + + + + sans-serif + + Migu 1P + Migu 1C + Migu 1M + Migu 2M + + + + monospace + + Migu 1M + Migu 2M + + + + EOF + install -d $P/etc/fonts/conf.d + ln -s /usr/share/fontconfig/conf.avail/20-unhint-migu.conf $P/etc/fonts/conf.d + ln -s /usr/share/fontconfig/conf.avail/62-fonts-migu.conf $P/etc/fonts/conf.d touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +145,21 @@ compress setup_docdir 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` + prune_symlink $P/etc/fonts/conf.d + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + rm /usr/share/fonts/TrueType/fonts.scale + mkfontscale /usr/share/fonts/TrueType + fc-cache /usr/share/fonts/TrueType + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/TrueType | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/fontconfig/conf.avail | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/fonts/conf.d | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/TTfont.txz/freefont_ttf/PlamoBuild.freefont_ttf-20100919 2019-08-16 15:43:20.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/freefont/freefont-ttf-20100919.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=freefont_ttf +vers=20100919 +arch=noarch +build=P2 +src=freefont-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog AUTHORS COPYING README INSTALL CREDITS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +65,8 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/fonts/TrueType + install -m 644 *.ttf $P/usr/share/fonts/TrueType touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +74,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/TrueType | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/TTfont.txz/ttf_bitstream_vera/PlamoBuild.ttf_bitstream_vera-1.10 2019-08-17 08:42:27.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=ttf_bitstream_vera +vers=1.10 +arch=noarch +build=P3 +src=ttf-bitstream-vera-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYRIGHT.TXT README.TXT RELEASENOTES.TXT" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +65,8 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/fonts/TrueType + install -m 644 *.ttf $P/usr/share/fonts/TrueType touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +74,16 @@ compress setup_docdir 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` + install -d $P/install + cat <<- EOF > $P/install/doinst.sh + #%% begin initialize $pkg + fc-cache -v + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/TrueType | tail -n+2` 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xproto/PlamoBuild.xproto-7.0.28 2017-09-12 10:56:30.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/xproto-7.0.28.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xproto +vers=7.0.28 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog INSTALL README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,13 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/xproto $docdir/$src/specs + mv $docdir/$src/{specs,{$func,$myname,$spec}.gz} $C + mv $C/{specs,{$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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xextproto/PlamoBuild.xextproto-7.3.0 2017-09-12 11:01:52.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/xextproto-7.3.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xextproto +vers=7.3.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog COPYING INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,13 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/xextproto $docdir/$src/specs + mv $docdir/$src/{specs,{$func,$myname,$spec}.gz} $C + mv $C/{specs,{$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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/extensions 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xtrans/PlamoBuild.xtrans-1.3.5 2017-09-12 11:05:05.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/xtrans-1.3.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xtrans +vers=1.3.5 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog INSTALL COPYING AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/xtrans $docdir/$src/doc + mv $docdir/$src/{doc,{INSTALL,COPYING,AUTHORS,$func,$myname,$spec}.gz} $C + mv $C/{doc,{INSTALL,COPYING,AUTHORS,$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 cvpf $pkg.tar -C $P usr/include/X11/Xtrans + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/util_macros/PlamoBuild.util_macros-1.19.0 2017-09-12 11:16:00.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/util/util-macros-1.19.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=util_macros +vers=1.19.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=util-macros-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL COPYING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,9 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/util-macros + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcb_proto/PlamoBuild.xcb_proto-1.11 2017-09-12 11:19:32.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/xcb/xcb-proto-1.11.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcb_proto +vers=1.11 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=xcb-proto-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS TODO INSTALL COPYING README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/xcb 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libpthread_stubs/PlamoBuild.libpthread_stubs-0.3 2017-09-12 11:22:52.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/xcb/libpthread-stubs-0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libpthread_stubs +vers=0.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=libpthread-stubs-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXau/PlamoBuild.libXau-1.0.8 2017-09-12 11:28:03.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXau-1.0.8.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXau +vers=1.0.8 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS ChangeLog COPYING INSTALL README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libxcb/PlamoBuild.libxcb-1.11.1 2017-09-12 11:30:41.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/xcb/libxcb-1.11.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libxcb +vers=1.11.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-xinput" +DOCS="NEWS INSTALL COPYING README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,18 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libxcb/tutorial $docdir/$src + chown -R root.root $docdir/$src/tutorial + mv $docdir/$src/{tutorial,{$func,$myname,$spec}.gz} $C + mv $C/{tutorial,{$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/xcb + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/kbproto/PlamoBuild.kbproto-1.0.7 2017-09-12 11:41:13.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/kbproto-1.0.7.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=kbproto +vers=1.0.7 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README ChangeLog COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,13 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/kbproto $docdir/$src/specs + mv $docdir/$src/{specs,{$func,$myname,$spec}.gz} $C + mv $C/{specs,{$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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/inputproto/PlamoBuild.inputproto-2.3.1 2017-09-12 11:43:31.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/inputproto-2.3.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=inputproto +vers=2.3.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libX11/PlamoBuild.libX11-1.6.3 2017-09-12 11:47:15.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libX11-1.6.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libX11 +vers=1.6.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING AUTHORS NEWS INSTALL ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,21 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libX11 $docdir/$src/specs + mv $docdir/$src/{specs,{COPYING,AUTHORS,NEWS,INSTALL,ChangeLog}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{specs,{COPYING,AUTHORS,NEWS,INSTALL,ChangeLog}.gz} $docdir/$src + mv $C/{$func,$myname,$spec}.gz $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/X11 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libICE/PlamoBuild.libICE-1.0.9 2017-09-12 12:13:31.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libICE-1.0.9.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libICE +vers=1.0.9 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README AUTHORS COPYING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,16 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libICE $docdir/$src/doc + mv $docdir/$src/{doc,{AUTHORS,COPYING,ChangeLog,$func,$myname,$spec}.gz} $C + mv $C/{doc,{AUTHORS,COPYING,ChangeLog,$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/ICE 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libSM/PlamoBuild.libSM-1.2.2 2017-09-12 12:16:11.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libSM-1.2.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libSM +vers=1.2.2 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS INSTALL README ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,16 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libSM $docdir/$src/doc + mv $docdir/$src/{doc,{INSTALL,README,ChangeLog,$func,$myname,$spec}.gz} $C + mv $C/{doc,{INSTALL,README,ChangeLog,$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/SM 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXt/PlamoBuild.libXt-1.1.5 2017-09-12 12:19:11.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXt-1.1.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXt +vers=1.1.5 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,17 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libXt $docdir/$src/specs + mv $docdir/$src/{specs,{ChangeLog,README,INSTALL,$func,$myname,$spec}.gz} $C + mv $C/{specs,{ChangeLog,README,INSTALL,$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXext/PlamoBuild.libXext-1.3.3 2017-09-14 16:08:41.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXext-1.3.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXext +vers=1.3.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS ChangeLog COPYING README INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,19 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libXext $docdir/$src/specs + mv $docdir/$src/{specs,{AUTHORS,ChangeLog,COPYING,README,INSTALL}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{specs,{AUTHORS,ChangeLog,COPYING,README,INSTALL}.gz} $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/renderproto/PlamoBuild.renderproto-0.11.1 2017-09-14 16:29:29.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/renderproto-0.11.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=renderproto +vers=0.11.1 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog renderproto.txt README COPYING INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXrender/PlamoBuild.libXrender-0.9.9 2017-09-14 16:31:33.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXrender-0.9.9.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXrender +vers=0.9.9 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README doc/libXrender.txt COPYING AUTHORS ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,13 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $docdir/$src{,/doc} 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_util/PlamoBuild.font_util-1.2.0 2017-09-20 11:34:18.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-util-1.2.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=font_util +vers=1.2.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=font-util-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README COPYING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,12 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/fonts/X11/util 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/fixesproto/PlamoBuild.fixesproto-5.0 2017-09-21 15:18:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/fixesproto-5.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=fixesproto +vers=5.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog INSTALL README fixesproto.txt AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXfixes/PlamoBuild.libXfixes-5.0.1 2017-09-21 15:20:57.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXfixes-5.0.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXfixes +vers=5.0.1 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS README INSTALL ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXi/PlamoBuild.libXi-1.7.4 2017-09-21 15:25:58.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXi-1.7.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXi +vers=1.7.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,19 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libXi $docdir/$src/specs + mv $docdir/$src/{specs,{ChangeLog,COPYING,README,INSTALL}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{specs,{ChangeLog,COPYING,README,INSTALL}.gz} $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/recordproto/PlamoBuild.recordproto-1.14.2 2017-09-21 15:32:51.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/recordproto-1.14.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=recordproto +vers=1.14.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README COPYING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,13 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/recordproto $docdir/$src/specs + mv $docdir/$src/{specs,{COPYING,ChangeLog,$func,$myname,$spec}.gz} $C + mv $C/{specs,{COPYING,ChangeLog,$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXtst/PlamoBuild.libXtst-1.2.2 2017-09-21 15:36:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXtst-1.2.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXtst +vers=1.2.2 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL ChangeLog README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,17 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libXtst $docdir/$src/specs + mv $docdir/$src/{specs,{ChangeLog,README,$func,$myname,$spec}.gz} $C + mv $C/{specs,{ChangeLog,README,$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXdmcp/PlamoBuild.libXdmcp-1.1.2 2017-09-21 15:38:32.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXdmcp-1.1.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXdmcp +vers=1.1.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INSTALL Wraphelp.README.crypto README COPYING AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,18 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libXdmcp $docdir/$src/doc + mv $docdir/$src/{doc,{ChangeLog,INSTALL,Wraphelp.README.crypto}.gz} $C + mv $docdir/$src/{README,COPYING,AUTHORS,$func,$myname,$spec}.gz $C + mv $C/{doc,{ChangeLog,INSTALL,Wraphelp.README.crypto}.gz} $docdir/$src + mv $C/{README,COPYING,AUTHORS,$func,$myname,$spec}.gz $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXmu/PlamoBuild.libXmu-1.1.2 2017-09-25 13:12:54.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXmu-1.1.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXmu +vers=1.1.2 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,16 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libXmu $docdir/$src/doc + mv $docdir/$src/{doc,{ChangeLog,README,INSTALL,$func,$myname,$spec}.gz} $C + mv $C/{doc,{ChangeLog,README,INSTALL,$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/Xmu 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXpm/PlamoBuild.libXpm-3.5.11 2017-09-25 13:16:34.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXpm-3.5.11.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXpm +vers=3.5.11 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README COPYRIGHT AUTHORS COPYING + `echo doc/{README.MSW,FAQ.html,README.AMIGA,README.html}` + NEWS.old" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +73,17 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -p $S/doc/xpm.PS.gz $docdir/$src/doc + chown root.root $docdir/$src/doc/xpm.PS.gz + touch -t `date '+%m%d0900'` $docdir/$src{,/doc} 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11 | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXaw/PlamoBuild.libXaw-1.0.13 2017-09-25 13:18:27.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXaw-1.0.13.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXaw +vers=1.0.13 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog INSTALL README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,19 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libXaw $docdir/$src/specs + mv $docdir/$src/{specs,{COPYING,ChangeLog,INSTALL,README}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{specs,{COPYING,ChangeLog,INSTALL,README}.gz} $docdir/$src + mv $C/{$func,$myname,$spec}.gz $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/Xaw + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXft/PlamoBuild.libXft-2.3.2 2017-07-01 13:12:16.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXft-2.3.2.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libXft +vers=2.3.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL NEWS README COPYING AUTHORS ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/Xft + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/scrnsaverproto/PlamoBuild.scrnsaverproto-1.2.2 2017-07-01 13:30:02.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/scrnsaverproto-1.2.2.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=scrnsaverproto +vers=1.2.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README ChangeLog COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,9 +70,13 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/scrnsaverproto $docdir/$src/specs + mv $docdir/$src/{specs,{$func,$myname,$spec}.gz} $C + mv $C/{specs,{$func,$myname,$spec}.gz} $docdir/$src + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXScrnSaver/PlamoBuild.libXScrnSaver-1.2.2 2017-07-01 13:47:14.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXScrnSaver-1.2.2.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libXScrnSaver +vers=1.2.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL ChangeLog README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86bigfontproto/PlamoBuild.xf86bigfontproto-1.2.0 2018-02-15 11:22:58.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/xf86bigfontproto-1.2.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86bigfontproto +vers=1.2.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/llvm/PlamoBuild.llvm-3.7.0 2018-03-07 15:41:33.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://releases.llvm.org/3.7.0/llvm-3.7.0.src.tar.xz + http://releases.llvm.org/3.7.0/cfe-3.7.0.src.tar.xz + http://releases.llvm.org/3.7.0/compiler-rt-3.7.0.src.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=llvm +vers=3.7.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=$pkgbase-$vers.src patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LLVMBuild.txt CODE_OWNERS.TXT LICENSE.TXT CREDITS.TXT + CMakeLists.txt README.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,14 +32,24 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches + cd $S2 + cp -a $W/cfe-$vers.src tools/clang + if [ $arch == i686 -o $arch == x86_64 ] ; then + cp -a $W/compiler-rt-$vers.src projects/compiler-rt + cp -p projects/compiler-rt/make/platform/clang_linux.mk{,.orig} + sed -i '/CompilerTargetArch/s@i386@i686@g' \ + projects/compiler-rt/make/platform/clang_linux.mk + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +58,13 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release \ + -DLLVM_LIBDIR_SUFFIX=`[ $arch == x86_64 ] && echo 64` \ + -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_TIMESTAMPS=OFF \ + -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_LIBCXX=ON \ + -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_BINUTILS_INCDIR=/usr/include \ + -DLLVM_HOST_TRIPLE=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + -DLLVM_REQUIRES_RTTI=ON -DCLANG_RESOURCE_DIR=../$libdir/clang/$vers $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,16 +85,34 @@ make install DESTDIR=$P fi done + find $P -type f -exec touch {} \; + install -d $P/usr/$libdir/clang-analyzer + cp -r $S2/tools/clang/tools/scan-{build,view} $P/usr/$libdir/clang-analyzer + sbdir=$P/usr/$libdir/clang-analyzer/scan-build + ln -s /usr/bin/clang $sbdir + install -d $mandir/man1 + mv $sbdir/scan-build.1 $mandir/man1 + mv $sbdir/{c++-analyzer,scan-build.bat,ccc-analyzer.bat,sorttable.js} $C + mv $C/{c++-analyzer,scan-build.bat,ccc-analyzer.bat,sorttable.js} $sbdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + if [ $arch == i686 -o $arch == x86_64 ] ; then + strip_libdir $P/usr/$libdir/clang/3.7.0/lib/linux + touch -t `date '+%m%d0900'` $P/usr/$libdir/clang/3.7.0/lib/linux + fi setup_docdir convert_links + touch -t `date '+%m%d0900'` $sbdir tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/{clang,llvm} 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libpciaccess/PlamoBuild.libpciaccess-0.13.2 2018-03-09 12:04:23.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libpciaccess-0.13.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libpciaccess +vers=0.13.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog INSTALL COPYING AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,13 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libdrm/PlamoBuild.libdrm-2.4.65 2018-03-09 10:32:59.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://dri.freedesktop.org/libdrm/libdrm-2.4.65.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libdrm +vers=2.4.65 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" +OPT_CONFIG="--enable-udev" DOCS="README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin @@ -72,9 +72,13 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/glproto/PlamoBuild.glproto-1.4.17 2018-03-09 12:39:16.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/glproto-1.4.17.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=glproto +vers=1.4.17 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog COPYING INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/GL 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/dri2proto/PlamoBuild.dri2proto-2.8 2018-03-09 12:51:42.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/dri2proto-2.8.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=dri2proto +vers=2.8 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="dri2proto.txt INSTALL README COPYING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/dri3proto/PlamoBuild.dri3proto-1.0 2018-03-09 12:59:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/dri3proto-1.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=dri3proto +vers=1.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INSTALL dri3proto.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/presentproto/PlamoBuild.presentproto-1.0 2018-03-09 13:09:16.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/presentproto-1.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=presentproto +vers=1.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog presentproto.txt INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/damageproto/PlamoBuild.damageproto-1.2.1 2018-03-09 14:50:11.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/damageproto-1.2.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=damageproto +vers=1.2.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="damageproto.txt COPYING AUTHORS ChangeLog INSTALL README NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXdamage/PlamoBuild.libXdamage-1.1.4 2018-03-09 15:02:25.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXdamage-1.1.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXdamage +vers=1.1.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL NEWS ChangeLog AUTHORS README COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libxshmfence/PlamoBuild.libxshmfence-1.2 2018-03-09 15:35:14.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libxshmfence-1.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libxshmfence +vers=1.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11 | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/mesa/PlamoBuild.mesa-11.0.9 2020-11-14 23:44:20.000000000 +0900 @@ -1,19 +1,28 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.freedesktop.org/pub/mesa/11.0.9/mesa-11.0.9.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xwindow.txz/MesaLib-10.1.0-svga_texture-1.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xwindow.txz/MesaLib-9.1.6-add_xdemos-1.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xwindow.txz/Mesa-11.0.5-x86_tls_entry.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xwindow.txz/Mesa-11.0.5-nouveau_unorderd.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=mesa +vers=11.0.9 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="MesaLib-10.1.0-svga_texture-1.patch.gz + MesaLib-9.1.6-add_xdemos-1.patch.gz + Mesa-11.0.5-x86_tls_entry.patch.gz + Mesa-11.0.5-nouveau_unorderd.patch.gz" +OPT_CONFIG="--enable-texture-float --enable-gles1 --enable-gles2 + --enable-osmesa --enable-xa --enable-gbm --enable-glx-tls + --enable-llvm-shared-libs --with-egl-platforms=drm,x11" +DOCS="" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +51,11 @@ 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]} \ + --with-gallium-drivers=`[ $arch == armv7l ] && echo vc4,swrast \ + || echo nouveau,r300,r600,radeonsi,svga,swrast,i915,ilo` \ + `[ $arch == armv7l ] && echo --with-dri-drivers=swrast` \ + CXXFLAGS="-std=c++11 -g -O2" fi done fi @@ -65,16 +78,33 @@ make install DESTDIR=$P fi done + ln -s gallium_drv_video.so $P/usr/$libdir/dri/r600_drv_video.so touch $W/i.et cd $W 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/dri + strip_libdir $P/usr/$libdir/vdpau + install -d $docdir/$src setup_docdir 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` + touch -t `date '+%m%d0900'` $P/usr/$libdir/{dri,vdpau} + tar cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libglapi*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libGLES*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/dri + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libOSMesa*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libGL*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgbm*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libEGL*` + tar rvpf $pkg.tar -C $P usr/$libdir/vdpau + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libxatracker*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libXvMC*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P etc/drirc 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xineramaproto/PlamoBuild.xineramaproto-1.2.1 2018-03-10 20:14:36.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/xineramaproto-1.2.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xineramaproto +vers=1.2.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README INSTALL ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXinerama/PlamoBuild.libXinerama-1.1.3 2018-03-10 20:04:15.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXinerama-1.1.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXinerama +vers=1.1.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xauth/PlamoBuild.xauth-1.0.9 2018-03-26 13:18:45.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xauth-1.0.9.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xauth +vers=1.0.9 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog COPYING INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/videoproto/PlamoBuild.videoproto-2.3.2 2018-04-07 08:18:57.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/videoproto-2.3.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=videoproto +vers=2.3.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="xv-protocol-v2.txt INSTALL ChangeLog README COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXv/PlamoBuild.libXv-1.0.10 2018-04-06 11:48:46.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXv-1.0.10.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXv +vers=1.0.10 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README AUTHORS COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/randrproto/PlamoBuild.randrproto-1.5.0 2018-04-12 14:53:05.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/randrproto-1.5.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=randrproto +vers=1.5.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING randrproto.txt ChangeLog README INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXrandr/PlamoBuild.libXrandr-1.5.0 2018-04-12 14:34:09.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXrandr-1.5.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXrandr +vers=1.5.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS ChangeLog README INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86dgaproto/PlamoBuild.xf86dgaproto-2.1 2018-04-20 21:03:19.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/xf86dgaproto-2.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86dgaproto +vers=2.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXxf86dga/PlamoBuild.libXxf86dga-1.1.4 2018-04-20 21:13:43.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXxf86dga-1.1.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXxf86dga +vers=1.1.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog INSTALL README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libvdpau/PlamoBuild.libvdpau-1.1.1 2018-04-20 17:53:21.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://people.freedesktop.org/~aplattner/vdpau/libvdpau-1.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libvdpau +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,21 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/vdpau setup_docdir + mv $docdir/libvdpau/html $docdir/$src + mv $docdir/$src/{html,{$func,$myname,$spec}.gz} $C + mv $C/{html,{$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` + touch -t `date '+%m%d0900'` $P/usr/$libdir/vdpau + tar cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libvdpau.*` + tar rvpf $pkg.tar -C $P usr/$libdir/vdpau + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/vdpau + tar rvpf $pkg.tar -C $P etc/vdpau_wrapper.cfg 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/compositeproto/PlamoBuild.compositeproto-0.4.2 2018-04-21 12:29:31.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/compositeproto-0.4.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=compositeproto +vers=0.4.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog COPYING AUTHORS compositeproto.txt INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,10 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXcomposite/PlamoBuild.libXcomposite-0.4.4 2018-04-21 13:03:00.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXcomposite-0.4.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXcomposite +vers=0.4.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS README ChangeLog COPYING INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86vidmodeproto/PlamoBuild.xf86vidmodeproto-2.3.1 2018-05-16 12:41:36.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/xf86vidmodeproto-2.3.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86vidmodeproto +vers=2.3.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README COPYING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,10 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXxf86vm/PlamoBuild.libXxf86vm-1.1.4 2018-05-16 12:28:44.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXxf86vm-1.1.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXxf86vm +vers=1.1.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README INSTALL ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libva/PlamoBuild.libva-1.6.1 2018-05-31 19:03:40.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.freedesktop.org/software/vaapi/releases/libva/libva-1.6.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libva +vers=1.6.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,12 @@ setup_docdir 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 -maxdepth 1 -name libva*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/dri | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/va 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/glu/PlamoBuild.glu-9.0.0 2018-06-17 09:34:26.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.freedesktop.org/pub/mesa/glu/glu-9.0.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=glu +vers=9.0.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,14 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + install -d $docdir/$src setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/GL 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/freeglut/PlamoBuild.freeglut-2.8.1 2018-05-31 19:48:37.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/freeglut/freeglut-2.8.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=freeglut +vers=2.8.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO NEWS README.cygwin_mingw LISEZ_MOI LISEZMOI.cygwin_mingw + COPYING INSTALL README AUTHORS FrequentlyAskedQuestions + README.win32 README.mac ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +74,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/GL 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xbitmaps/PlamoBuild.xbitmaps-1.1.1 2018-07-01 16:33:31.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/data/xbitmaps-1.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xbitmaps +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,10 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P usr/include/X11/bitmaps + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXvMC/PlamoBuild.libXvMC-1.0.9 2018-07-12 15:23:34.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXvMC-1.0.9.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXvMC +vers=1.0.9 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README INSTALL XvMC_API.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXcursor/PlamoBuild.libXcursor-1.1.14 2018-08-22 08:42:22.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXcursor-1.1.14.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXcursor +vers=1.1.14 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING AUTHORS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/Xcursor + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libxkbfile/PlamoBuild.libxkbfile-1.0.9 2018-08-22 09:18:14.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libxkbfile-1.0.9.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libxkbfile +vers=1.0.9 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libfontenc/PlamoBuild.libfontenc-1.1.3 2018-08-22 10:03:19.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libfontenc-1.1.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libfontenc +vers=1.1.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL COPYING README ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,13 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/fonts | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/luit/PlamoBuild.luit-1.1.1 2018-08-22 09:52:13.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/luit-1.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=luit +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p sys.c{,.orig} + cat <<- "EOF" | patch sys.c + 22a23,24 + > #define _XOPEN_SOURCE 600 + > + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,6 +78,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libcxx/PlamoBuild.libcxx-3.7.0 2018-03-14 15:25:40.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://releases.llvm.org/3.7.0/libcxx-3.7.0.src.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libcxx +vers=3.7.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase-$vers.src patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO.TXT LICENSE.TXT CREDITS.TXT" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,12 +29,14 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -45,6 +47,8 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/$libdir \ + -DLIBCXX_LIBDIR_SUFFIX=`[ $arch == x86_64 ] && echo 64` $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,6 +69,7 @@ make install DESTDIR=$P fi done + find $P -type f -exec touch {} \; touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +77,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/c++/v1 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libcxxabi/PlamoBuild.libcxxabi-3.7.0 2018-03-14 16:15:22.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://releases.llvm.org/3.7.0/libcxxabi-3.7.0.src.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xwindow.txz/libcxxabi/libcxxabi-3.7.0.src-isOurExceptionClass.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libcxxabi +vers=3.7.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase-$vers.src patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE.TXT CREDITS.TXT" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,14 +30,18 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches + cd $S2 + patch -Np1 -i $W/libcxxabi-3.7.0.src-isOurExceptionClass.patch for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +50,8 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/$libdir \ + -DLIBCXXABI_LIBDIR_SUFFIX=`[ $arch == x86_64 ] && echo 64` $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,6 +72,7 @@ make install DESTDIR=$P fi done + find $P -type f -exec touch {} \; touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +80,9 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libunwind/PlamoBuild.libunwind-3.7.0 2018-03-14 16:55:07.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://releases.llvm.org/3.7.0/libunwind-3.7.0.src.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libunwind +vers=3.7.0 arch=`uname -m` build=P1 -src=$pkgbase-$vers +src=$pkgbase-$vers.src patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,12 +29,14 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -45,6 +47,8 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/$libdir \ + -DLLVM_LIBDIR_SUFFIX=`[ $arch == x86_64 ] && echo 64` $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,16 +69,18 @@ make install DESTDIR=$P fi done + find $P -type f -exec touch {} \; touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + install -d $docdir/$src setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/mkfontscale/PlamoBuild.mkfontscale-1.1.1 2019-08-16 12:29:48.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/mkfontscale-1.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=mkfontscale +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/fontsproto/PlamoBuild.fontsproto-2.1.3 2019-08-18 11:50:34.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/fontsproto-2.1.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=fontsproto +vers=2.1.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,13 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + mv $docdir/fontsproto $docdir/$src/specs + mv $docdir/$src/{specs,{$func,$myname,$spec}.gz} $C + mv $C/{specs,{$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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/fonts | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXfont/PlamoBuild.libXfont-1.5.1 2019-08-18 12:18:38.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXfont-1.5.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXfont +vers=1.5.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS README COPYING INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,13 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/fonts | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/bdftopcf/PlamoBuild.bdftopcf-1.0.4 2019-08-16 09:44:22.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/bdftopcf-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=bdftopcf +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README COPYING AUTHORS ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/bigreqsproto/PlamoBuild.bigreqsproto-1.1.2 2019-08-16 09:48:41.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/bigreqsproto-1.1.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=bigreqsproto +vers=1.1.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,13 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + mv $docdir/bigreqsproto $docdir/$src/specs + mv $docdir/$src/{specs,{$func,$myname,$spec}.gz} $C + mv $C/{specs,{$func,$myname,$spec}.gz} $docdir/$src + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/dmxproto/PlamoBuild.dmxproto-2.3.1 2019-08-16 10:04:39.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/dmxproto-2.3.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=dmxproto +vers=2.3.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/encodings/PlamoBuild.encodings-1.0.4 2020-10-31 20:51:10.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/encodings-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 +pkgbase=encodings +vers=1.0.4 +arch=noarch +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog INSTALL COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,15 +65,19 @@ make install DESTDIR=$P fi done + ( cd $P/usr/share/fonts/X11/encodings/large + mkfontscale -b -s -l -n -r -e . ) + ( cd $P/usr/share/fonts/X11/encodings + mkfontscale -b -s -l -n -r -e . -e large ) touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P usr/share/fonts/X11/encodings tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/mkfontdir/PlamoBuild.mkfontdir-1.0.7 2019-08-17 22:50:55.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/mkfontdir-1.0.7.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=mkfontdir +vers=1.0.7 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog COPYING README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_adobe_100dpi/PlamoBuild.font_adobe_100dpi-1.0.3 2019-08-17 09:09:21.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-adobe-100dpi-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_adobe_100dpi +vers=1.0.3 +arch=noarch +build=P2 +src=font-adobe-100dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/100dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_adobe_75dpi/PlamoBuild.font_adobe_75dpi-1.0.3 2019-08-17 09:30:04.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-adobe-75dpi-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_adobe_75dpi +vers=1.0.3 +arch=noarch +build=P2 +src=font-adobe-75dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/75dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_adobe_utopia_100dpi/PlamoBuild.font_adobe_utopia_100dpi-1.0.4 2019-08-17 09:36:28.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-adobe-utopia-100dpi-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_adobe_utopia_100dpi +vers=1.0.4 +arch=noarch +build=P2 +src=font-adobe-utopia-100dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/100dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_adobe_utopia_75dpi/PlamoBuild.font_adobe_utopia_75dpi-1.0.4 2019-08-17 09:39:13.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-adobe-utopia-75dpi-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_adobe_utopia_75dpi +vers=1.0.4 +arch=noarch +build=P2 +src=font-adobe-utopia-75dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/75dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_adobe_utopia_type1/PlamoBuild.font_adobe_utopia_type1-1.0.4 2019-08-17 09:43:03.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-adobe-utopia-type1-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_adobe_utopia_type1 +vers=1.0.4 +arch=noarch +build=P2 +src=font-adobe-utopia-type1-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/Type1 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_alias/PlamoBuild.font_alias-1.0.3 2019-08-17 10:42:01.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-alias-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_alias +vers=1.0.3 +arch=noarch +build=P2 +src=font-alias-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL COPYING ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,13 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/100dpi | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/75dpi | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/fonts/X11/cyrillic | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/misc | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bh_100dpi/PlamoBuild.font_bh_100dpi-1.0.3 2019-08-17 10:44:06.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bh-100dpi-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bh_100dpi +vers=1.0.3 +arch=noarch +build=P2 +src=font-bh-100dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README LU_LEGALNOTICE INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/100dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bh_75dpi/PlamoBuild.font_bh_75dpi-1.0.3 2019-08-17 10:47:30.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bh-75dpi-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bh_75dpi +vers=1.0.3 +arch=noarch +build=P2 +src=font-bh-75dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README LU_LEGALNOTICE INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/75dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bh_lucidatypewriter_100dpi/PlamoBuild.font_bh_lucidatypewriter_100dpi-1.0.3 2019-08-17 10:53:05.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bh_lucidatypewriter_100dpi +vers=1.0.3 +arch=noarch +build=P2 +src=font-bh-lucidatypewriter-100dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/100dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bh_lucidatypewriter_75dpi/PlamoBuild.font_bh_lucidatypewriter_75dpi-1.0.3 2019-08-17 10:55:56.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bh-lucidatypewriter-75dpi-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bh_lucidatypewriter_75dpi +vers=1.0.3 +arch=noarch +build=P2 +src=font-bh-lucidatypewriter-75dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/75dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bh_ttf/PlamoBuild.font_bh_ttf-1.0.3 2020-11-07 21:54:44.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bh-ttf-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bh_ttf +vers=1.0.3 +arch=noarch +build=P3 +src=font-bh-ttf-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README COPYING ChangeLog COPYRIGHT.BH" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,14 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` + prune_symlink $P/etc/fonts/conf.d + tar cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/TTF | tail -n+2` + tar rvpf $pkg.tar -C $P etc/fonts/conf.avail + tar rvpf $pkg.tar -C $P `cd $P ; find etc/fonts/conf.d | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bh_type1/PlamoBuild.font_bh_type1-1.0.3 2019-08-17 11:10:08.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bh-type1-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bh_type1 +vers=1.0.3 +arch=noarch +build=P2 +src=font-bh-type1-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYRIGHT.BH INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/Type1 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bitstream_100dpi/PlamoBuild.font_bitstream_100dpi-1.0.3 2019-08-17 11:17:30.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bitstream-100dpi-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bitstream_100dpi +vers=1.0.3 +arch=noarch +build=P2 +src=font-bitstream-100dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/100dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bitstream_75dpi/PlamoBuild.font_bitstream_75dpi-1.0.3 2019-08-17 11:20:25.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bitstream-75dpi-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bitstream_75dpi +vers=1.0.3 +arch=noarch +build=P2 +src=font-bitstream-75dpi-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/75dpi | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bitstream_speedo/PlamoBuild.font_bitstream_speedo-1.0.2 2019-08-17 11:31:22.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bitstream-speedo-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bitstream_speedo +vers=1.0.2 +arch=noarch +build=P2 +src=font-bitstream-speedo-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING COPYRIGHT" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/Speedo | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_bitstream_type1/PlamoBuild.font_bitstream_type1-1.0.3 2019-08-17 11:35:10.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-bitstream-type1-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_bitstream_type1 +vers=1.0.3 +arch=noarch +build=P2 +src=font-bitstream-type1-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README Copyright INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/Type1 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_cursor_misc/PlamoBuild.font_cursor_misc-1.0.3 2019-08-17 11:49:58.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-cursor-misc-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_cursor_misc +vers=1.0.3 +arch=noarch +build=P2 +src=font-cursor-misc-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/misc | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_dec_misc/PlamoBuild.font_dec_misc-1.0.3 2019-08-17 11:53:11.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-dec-misc-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_dec_misc +vers=1.0.3 +arch=noarch +build=P2 +src=font-dec-misc-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/misc | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_ibm_type1/PlamoBuild.font_ibm_type1-1.0.3 2019-08-17 11:58:32.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-ibm-type1-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_ibm_type1 +vers=1.0.3 +arch=noarch +build=P2 +src=font-ibm-type1-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYRIGHT.IBM INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/Type1 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_jis_misc/PlamoBuild.font_jis_misc-1.0.3 2019-08-17 12:03:58.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-jis-misc-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_jis_misc +vers=1.0.3 +arch=noarch +build=P2 +src=font-jis-misc-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/misc | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_micro_misc/PlamoBuild.font_micro_misc-1.0.3 2019-08-17 12:08:02.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-micro-misc-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_micro_misc +vers=1.0.3 +arch=noarch +build=P2 +src=font-micro-misc-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/misc | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_misc_misc/PlamoBuild.font_misc_misc-1.1.2 2019-08-17 12:16:17.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-misc-misc-1.1.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_misc_misc +vers=1.1.2 +arch=noarch +build=P2 +src=font-misc-misc-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/misc | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_schumacher_misc/PlamoBuild.font_schumacher_misc-1.1.2 2019-08-17 12:21:55.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-schumacher-misc-1.1.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_schumacher_misc +vers=1.1.2 +arch=noarch +build=P2 +src=font-schumacher-misc-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/misc | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_screen_cyrillic/PlamoBuild.font_screen_cyrillic-1.0.4 2019-08-17 12:48:34.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-screen-cyrillic-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_screen_cyrillic +vers=1.0.4 +arch=noarch +build=P2 +src=font-screen-cyrillic-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/cyrillic | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_sony_misc/PlamoBuild.font_sony_misc-1.0.3 2019-08-17 22:31:26.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-sony-misc-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_sony_misc +vers=1.0.3 +arch=noarch +build=P2 +src=font-sony-misc-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/misc | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_sun_misc/PlamoBuild.font_sun_misc-1.0.3 2019-08-17 22:33:20.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-sun-misc-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_sun_misc +vers=1.0.3 +arch=noarch +build=P2 +src=font-sun-misc-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/misc | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/font_xfree86_type1/PlamoBuild.font_xfree86_type1-1.0.4 2019-08-17 22:39:10.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/font/font-xfree86-type1-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=font_xfree86_type1 +vers=1.0.4 +arch=noarch +build=P2 +src=font-xfree86-type1-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/fonts/X11/Type1 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/fonttosfnt/PlamoBuild.fonttosfnt-1.0.4 2019-08-18 15:15:22.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/fonttosfnt-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=fonttosfnt +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcmiscproto/PlamoBuild.xcmiscproto-1.2.2 2019-08-22 08:35:03.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/xcmiscproto-1.2.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcmiscproto +vers=1.2.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INSTALL README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,15 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + mv $docdir/xcmiscproto $docdir/$src/specs + mv $docdir/$src/{specs,{ChangeLog,INSTALL,README,COPYING}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{specs,{ChangeLog,INSTALL,README,COPYING}.gz} $docdir/$src + mv $C/{$func,$myname,$spec}.gz $docdir/$src + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/resourceproto/PlamoBuild.resourceproto-1.2.0 2019-08-21 09:48:53.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/resourceproto-1.2.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=resourceproto +vers=1.2.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL resproto.txt ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86driproto/PlamoBuild.xf86driproto-2.1.1 2019-08-22 08:45:44.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/xf86driproto-2.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86driproto +vers=2.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INSTALL README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/dri tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcb_util_keysyms/PlamoBuild.xcb_util_keysyms-0.4.0 2019-08-22 22:25:01.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://xcb.freedesktop.org/dist/xcb-util-keysyms-0.4.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcb_util_keysyms +vers=0.4.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xcb-util-keysyms-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS ChangeLog INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xcb | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xorg_server/PlamoBuild.xorg_server-1.17.4 2020-05-04 21:26:47.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/xserver/xorg-server-1.17.4.tar.bz2 + http://www.linuxfromscratch.org/patches/downloads/xorg-server/xorg-server-1.16.2-add_prime_support-1.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xorg_server +vers=1.17.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +build=P3 +src=xorg-server-$vers +patchfiles="xorg-server-1.16.2-add_prime_support-1.patch" +OPT_CONFIG="--enable-listen-tcp --disable-systemd-logind" +DOCS="COPYING ChangeLog INSTALL README TODO" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +66,31 @@ make install DESTDIR=$P fi done + chmod u+s $P/usr/bin/Xorg touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + for i in modules{,/extensions,/drivers} ; do + strip_libdir $P/usr/$libdir/xorg/$i + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/$libdir/xorg/$i + done setup_docdir 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/$libdir/xorg -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xorg | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/X11/xkb/compiled | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/X11/xorg.conf.d | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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/man4 | 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 + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/glamor_egl/PlamoBuild.glamor_egl-0.6.0 2019-08-18 15:31:51.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/glamor-egl-0.6.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=glamor_egl +vers=0.6.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=glamor-egl-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-glx-tls" +DOCS="INSTALL COPYING ChangeLog README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xorg | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/X11/xorg.conf.d | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/iceauth/PlamoBuild.iceauth-1.0.6 2019-08-18 18:32:09.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/iceauth-1.0.6.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=iceauth +vers=1.0.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/intel_gpu_tools/PlamoBuild.intel_gpu_tools-1.9 2019-08-18 18:43:44.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/intel-gpu-tools-1.9.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=intel_gpu_tools +vers=1.9 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=intel-gpu-tools-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README NEWS INSTALL COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,6 +73,9 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/intel-gpu-tools 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libFS/PlamoBuild.libFS-1.0.7 2019-08-18 19:05:44.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libFS-1.0.7.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libFS +vers=1.0.7 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,16 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + mv $docdir/libFS $docdir/$src/doc + mv $docdir/$src/{doc,{$func,$myname,$spec}.gz} $C + mv $C/{doc,{$func,$myname,$spec}.gz} $docdir/$src + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/fonts | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libXres/PlamoBuild.libXres-1.0.7 2019-08-18 19:15:26.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXres-1.0.7.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXres +vers=1.0.7 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README ChangeLog AUTHORS COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,14 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libdmx/PlamoBuild.libdmx-1.1.3 2019-08-22 23:31:55.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libdmx-1.1.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libdmx +vers=1.1.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,14 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libevdev/PlamoBuild.libevdev-1.4.4 2019-08-23 13:24:43.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.freedesktop.org/software/libevdev/libevdev-1.4.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libevdev +vers=1.4.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,12 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/libevdev-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libinput/PlamoBuild.libinput-1.0.1 2019-08-23 13:33:50.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.freedesktop.org/software/libinput/libinput-1.0.1.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libinput +vers=1.0.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-udev-dir=/lib/udev" +DOCS="COPYING README.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev -type f` 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 + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libva_intel_driver/PlamoBuild.libva_intel_driver-1.6.1 2019-08-23 13:40:42.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/libva-intel-driver-1.6.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libva_intel_driver +vers=1.6.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=libva-intel-driver-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README NEWS AUTHORS COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,7 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/dri | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/libvdpau_va_gl/PlamoBuild.libvdpau_va_gl-0.3.4 2019-08-23 14:11:08.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/i-rinat/libvdpau-va-gl/releases/download/v0.3.4/libvdpau-va-gl-0.3.4.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libvdpau_va_gl +vers=0.3.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P7 +src=libvdpau-va-gl-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING COPYING.GPLv3 COPYING.LGPLv3 ChangeLog README.md" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,12 +29,14 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -45,6 +47,9 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=/usr/$libdir \ + -DLIB_SUFFIX=`[ $arch == x86_64 ] && echo 64` $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,6 +70,7 @@ make install DESTDIR=$P fi done + touch $P/usr/$libdir/* touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +78,9 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/oclock/PlamoBuild.oclock-1.0.2 2019-08-24 15:18:40.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/oclock-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=oclock +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,11 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/share/X11/app-defaults | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/sessreg/PlamoBuild.sessreg-1.0.8 2019-08-24 15:28:37.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/sessreg-1.0.8.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=sessreg +vers=1.0.8 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING README INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/setxkbmap/PlamoBuild.setxkbmap-1.3.0 2019-08-24 15:34:24.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/setxkbmap-1.3.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=setxkbmap +vers=1.3.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/smproxy/PlamoBuild.smproxy-1.0.5 2019-08-24 15:39:11.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/smproxy-1.0.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=smproxy +vers=1.0.5 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/twm/PlamoBuild.twm-1.0.8 2019-08-24 15:45:50.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/twm-1.0.8.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=twm +vers=1.0.8 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $docdir/$src convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/X11/twm 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/vdpauinfo/PlamoBuild.vdpauinfo-0.9 2019-08-24 15:54:32.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://people.freedesktop.org/~aplattner/vdpau/vdpauinfo-0.9.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=vdpauinfo +vers=0.9 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,7 +73,6 @@ setup_docdir 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/x11perf/PlamoBuild.x11perf-1.5.4 2019-08-24 16:01:45.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/x11perf-1.5.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=x11perf +vers=1.5.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL COPYING README ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $docdir/$src convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/X11/x11perfcomp 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcb_util/PlamoBuild.xcb_util-0.4.0 2019-08-24 17:51:19.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://xcb.freedesktop.org/dist/xcb-util-0.4.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcb_util +vers=0.4.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xcb-util-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS COPYING ChangeLog INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xcb | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xbacklight/PlamoBuild.xbacklight-1.2.1 2019-08-24 16:08:29.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xbacklight-1.2.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xbacklight +vers=1.2.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xbiff/PlamoBuild.xbiff-1.0.3 2019-08-24 16:36:40.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xbiff-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xbiff +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcalc/PlamoBuild.xcalc-1.0.4.1 2019-08-24 16:42:33.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xcalc-1.0.4.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcalc +vers=1.0.4.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcb_util_image/PlamoBuild.xcb_util_image-0.4.0 2019-08-24 20:38:36.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://xcb.freedesktop.org/dist/xcb-util-image-0.4.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcb_util_image +vers=0.4.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xcb-util-image-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS COPYING ChangeLog INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xcb | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcb_util_renderutil/PlamoBuild.xcb_util_renderutil-0.3.9 2019-08-24 20:49:38.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://xcb.freedesktop.org/dist/xcb-util-renderutil-0.3.9.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcb_util_renderutil +vers=0.3.9 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xcb-util-renderutil-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS COPYING ChangeLog INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xcb | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcb_util_wm/PlamoBuild.xcb_util_wm-0.4.1 2019-08-24 21:46:17.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://xcb.freedesktop.org/dist/xcb-util-wm-0.4.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcb_util_wm +vers=0.4.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=xcb-util-wm-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS COPYING ChangeLog INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xcb | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xclipboard/PlamoBuild.xclipboard-1.1.1 2019-08-25 15:58:49.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xclipboard-1.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xclipboard +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README INSTALL COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xclock/PlamoBuild.xclock-1.0.7 2019-08-25 16:03:59.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xclock-1.0.7.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xclock +vers=1.0.7 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INSTALL README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcmsdb/PlamoBuild.xcmsdb-1.0.4 2019-08-25 16:10:14.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xcmsdb-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcmsdb +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README COPYING ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xconsole/PlamoBuild.xconsole-1.0.4 2019-08-25 16:16:27.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xconsole-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xconsole +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcursorgen/PlamoBuild.xcursorgen-1.0.6 2019-08-25 16:56:10.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xcursorgen-1.0.6.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcursorgen +vers=1.0.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS README COPYING ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xcursor_themes/PlamoBuild.xcursor_themes-1.0.4 2019-08-25 16:47:38.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/data/xcursor-themes-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcursor_themes +vers=1.0.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xcursor-themes-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README INSTALL COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,15 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` + prune_symlink $P/usr/share/icons + for i in handhelds {red,white}glass ; do + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/share/icons/$i/cursors + done + tar cvpf $pkg.tar -C $P `cd $P ; find usr/share/icons -maxdepth 1 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xdm/PlamoBuild.xdm-1.1.11 2019-08-25 17:17:30.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xdm-1.1.11.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xwindow.txz/xdm/xdm-consolekit.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xdm +vers=1.1.11 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="xdm-consolekit.patch.gz" +OPT_CONFIG="--with-consolekit" +DOCS="AUTHORS ChangeLog COPYING INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,9 +71,13 @@ 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/X11/xdm + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/$libdir/X11/xdm setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/X11/xdm + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xdpyinfo/PlamoBuild.xdpyinfo-1.3.1 2019-08-25 17:22:16.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xdpyinfo-1.3.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xdpyinfo +vers=1.3.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README COPYING ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xdriinfo/PlamoBuild.xdriinfo-1.0.4 2019-08-25 17:29:02.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xdriinfo-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xdriinfo +vers=1.0.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS ChangeLog README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xev/PlamoBuild.xev-1.2.1 2019-08-25 17:33:01.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xev-1.2.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xev +vers=1.2.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL COPYING ChangeLog README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xeyes/PlamoBuild.xeyes-1.1.1 2019-08-25 17:38:33.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xeyes-1.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xeyes +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_input_evdev/PlamoBuild.xf86_input_evdev-2.9.2 2019-08-26 22:33:13.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-input-evdev-2.9.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_input_evdev +vers=2.9.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-input-evdev-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,12 @@ 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/xorg/modules/input setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xorg | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_input_joystick/PlamoBuild.xf86_input_joystick-1.6.2 2019-08-26 22:43:25.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-input-joystick-1.6.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_input_joystick +vers=1.6.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=xf86-input-joystick-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL README ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,12 @@ 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/xorg/modules/input setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xorg | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_input_keyboard/PlamoBuild.xf86_input_keyboard-1.8.1 2019-08-26 23:04:12.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-input-keyboard-1.8.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_input_keyboard +vers=1.8.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-input-keyboard-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/input setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_input_libinput/PlamoBuild.xf86_input_libinput-0.14.0 2019-08-26 22:53:07.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-input-libinput-0.14.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_input_libinput +vers=0.14.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-input-libinput-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README.md COPYING INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,12 @@ 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/xorg/modules/input setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xorg | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_input_mouse/PlamoBuild.xf86_input_mouse-1.9.1 2019-08-27 06:15:23.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-input-mouse-1.9.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_input_mouse +vers=1.9.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=xf86-input-mouse-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/input setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_input_synaptics/PlamoBuild.xf86_input_synaptics-1.8.2 2019-08-27 14:01:28.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-input-synaptics-1.8.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_input_synaptics +vers=1.8.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=xf86-input-synaptics-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,14 @@ 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/xorg/modules/input setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xorg | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/X11/xorg.conf.d | 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/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_input_vmmouse/PlamoBuild.xf86_input_vmmouse-13.1.10 2019-08-27 14:27:02.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-input-vmmouse-13.1.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_input_vmmouse +vers=13.1.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-input-vmmouse-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--without-hal-callouts-dir --without-hal-fdi-dir + --with-udev-rules-dir=/lib/udev/rules.d" +DOCS="ChangeLog COPYING INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +71,15 @@ 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/xorg/modules/input setup_docdir 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/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/X11/xorg.conf.d | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | 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/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_input_wacom/PlamoBuild.xf86_input_wacom-0.31.0 2019-08-27 15:08:06.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/linuxwacom/xf86-input-wacom-0.31.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_input_wacom +vers=0.31.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-input-wacom-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--without-systemd-unit-dir --with-udev-rules-dir=/lib/udev/rules.d" +DOCS="AUTHORS ChangeLog INSTALL README GPL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,16 @@ 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/xorg/modules/input setup_docdir 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/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/xorg | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/X11/xorg.conf.d | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | 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/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_ati/PlamoBuild.xf86_video_ati-7.6.1 2019-08-27 15:38:50.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-ati-7.6.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_ati +vers=7.6.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-video-ati-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-glamor" +DOCS="ChangeLog COPYING README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_cirrus/PlamoBuild.xf86_video_cirrus-1.5.3 2019-08-27 16:26:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-cirrus-1.5.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_cirrus +vers=1.5.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-video-cirrus-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.multihead README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_fbdev/PlamoBuild.xf86_video_fbdev-0.4.4 2019-08-27 16:36:14.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-fbdev-0.4.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_fbdev +vers=0.4.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=xf86-video-fbdev-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_geode/PlamoBuild.xf86_video_geode-2.11.17 2019-08-27 17:00:55.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-geode-2.11.17.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_geode +vers=2.11.17 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-video-geode-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL NEWS ChangeLog README TODO" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,10 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_intel/PlamoBuild.xf86_video_intel-git_20161118 2020-05-18 16:30:00.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git" verify= digest= branch= -commitid= -pkgbase= -vers= +commitid=169c74f +pkgbase=xf86_video_intel +vers=git_20161118 arch=`uname -m` build=P1 -src=$pkgbase-$vers +src=xf86-video-intel patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING NEWS README RELEASING ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + ./autogen.sh for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,11 +72,17 @@ 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/xorg/modules/drivers setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/polkit-1/actions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_mga/PlamoBuild.xf86_video_mga-1.6.4 2019-08-30 12:53:48.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-mga-1.6.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_mga +vers=1.6.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-video-mga-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README COPYING README_HALLIB INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_modesetting/PlamoBuild.xf86_video_modesetting-0.9.0 2019-08-30 13:02:04.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-modesetting-0.9.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_modesetting +vers=0.9.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=xf86-video-modesetting-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_neomagic/PlamoBuild.xf86_video_neomagic-1.2.9 2019-08-30 15:57:29.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-neomagic-1.2.9.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_neomagic +vers=1.2.9 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-video-neomagic-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING TODO NM-reg.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_nouveau/PlamoBuild.xf86_video_nouveau-1.0.11 2019-08-30 16:20:52.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-nouveau-1.0.11.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_nouveau +vers=1.0.11 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=xf86-video-nouveau-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_openchrome/PlamoBuild.xf86_video_openchrome-0.3.3 2019-08-30 16:37:34.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-openchrome-0.3.3.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xwindow.txz/xf86_video_openchrome/xf86-video-openchrome-0.3.3-glibc-2.20.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_openchrome +vers=0.3.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P5 +src=xf86-video-openchrome-$vers +patchfiles="xf86-video-openchrome-0.3.3-glibc-2.20.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog NEWS README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,13 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_qxl/PlamoBuild.xf86_video_qxl-0.1.5 2019-08-30 17:14:44.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-qxl-0.1.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_qxl +vers=0.1.5 arch=`uname -m` build=P1 -src=$pkgbase-$vers +src=xf86-video-qxl-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-xspice=yes" +DOCS="README.xspice NEWS TODO README ChangeLog INSTALL COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_sis/PlamoBuild.xf86_video_sis-0.10.8 2019-08-30 17:43:23.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-sis-0.10.8.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_sis +vers=0.10.8 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-video-sis-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL README ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_vesa/PlamoBuild.xf86_video_vesa-2.3.4 2019-08-30 17:48:36.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-vesa-2.3.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_vesa +vers=2.3.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xf86-video-vesa-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xf86_video_vmware/PlamoBuild.xf86_video_vmware-13.1.0 2019-08-30 17:53:17.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/driver/xf86-video-vmware-13.1.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xf86_video_vmware +vers=13.1.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=xf86-video-vmware-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,11 @@ 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/xorg/modules/drivers setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xfd/PlamoBuild.xfd-1.1.0 2019-09-21 17:48:02.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xfd-1.1.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xfd +vers=1.1.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xfontsel/PlamoBuild.xfontsel-1.0.3 2019-09-21 17:53:39.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xfontsel-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xfontsel +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xgamma/PlamoBuild.xgamma-1.0.5 2019-09-21 17:58:26.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xgamma-1.0.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xgamma +vers=1.0.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xhost/PlamoBuild.xhost-1.0.6 2019-09-21 18:06:11.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xhost-1.0.6.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xhost +vers=1.0.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS README ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xinit/PlamoBuild.xinit-1.3.4 2019-10-10 15:54:09.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xinit-1.3.4.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xwindow.txz/xinit/xinit-1.3.4-startx.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xwindow.txz/xinit/xinit-1.3.4-startx2.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xinit +vers=1.3.4 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" +patchfiles="xinit-1.3.4-startx.patch.gz xinit-1.3.4-startx2.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,6 +75,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/X11/xinit 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xinput/PlamoBuild.xinput-1.6.1 2019-09-21 18:33:45.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xinput-1.6.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xinput +vers=1.6.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README AUTHORS NEWS INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xkbcomp/PlamoBuild.xkbcomp-1.2.4 2019-09-21 18:49:24.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xkbcomp-1.2.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xkbcomp +vers=1.2.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/$libdir/pkgconfig | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xkbevd/PlamoBuild.xkbevd-1.1.3 2019-09-21 19:03:59.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xkbevd-1.1.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xkbevd +vers=1.1.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xkbutils/PlamoBuild.xkbutils-1.0.4 2019-09-21 20:20:45.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xkbutils-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xkbutils +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xkeyboard_config/PlamoBuild.xkeyboard_config-2.15 2019-09-21 20:48:24.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/data/xkeyboard-config/xkeyboard-config-2.15.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xkeyboard_config +vers=2.15 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xkeyboard-config-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-xkb-rules-symlink=xorg" +DOCS="TODO AUTHORS COPYING README ChangeLog ABOUT-NLS + `echo docs/{README.symbols,HOWTO.testing,README.config}` + `echo docs/{HOWTO.transition,README.enhancing}` NEWS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +74,14 @@ compress setup_docdir 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` + prune_symlink $P/usr/share/X11/xkb/rules + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/share/X11/xkb/rules + tar cvpf $pkg.tar -C $P usr/share/X11/xkb + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xkill/PlamoBuild.xkill-1.0.4 2019-09-21 20:54:47.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xkill-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xkill +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xload/PlamoBuild.xload-1.1.0 2019-09-21 21:00:54.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xload-1.1.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xload +vers=1.1.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xlsatoms/PlamoBuild.xlsatoms-1.1.1 2019-09-22 08:12:00.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xlsatoms-1.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xlsatoms +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL COPYING README ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xlsclients/PlamoBuild.xlsclients-1.1.3 2019-09-22 08:16:26.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xlsclients-1.1.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xlsclients +vers=1.1.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xlsfonts/PlamoBuild.xlsfonts-1.0.3 2019-09-22 08:25:59.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xlsfonts-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xlsfonts +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xmessage/PlamoBuild.xmessage-1.0.4 2019-09-22 08:33:08.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xmessage-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xmessage +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog COPYING README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xmodmap/PlamoBuild.xmodmap-1.0.8 2019-09-22 08:37:36.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xmodmap-1.0.8.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xmodmap +vers=1.0.8 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL AUTHORS README ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xorg_docs/PlamoBuild.xorg_docs-1.7 2019-09-22 09:34:06.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/doc/xorg-docs-1.7.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xorg_docs +vers=1.7 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xorg-docs-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="MAINTAINERS README INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,12 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + mv $docdir/xorg-docs $docdir/$src + mv $docdir/$src/{xorg-docs,{$func,$myname,$spec}.gz} $C + mv $C/{xorg-docs,{$func,$myname,$spec}.gz} $docdir/$src + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xpr/PlamoBuild.xpr-1.0.4 2019-09-22 09:47:12.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xpr-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xpr +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS ChangeLog README INSTALL NEWS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xprop/PlamoBuild.xprop-1.2.2 2019-09-22 09:51:46.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xprop-1.2.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xprop +vers=1.2.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xrandr/PlamoBuild.xrandr-1.4.2 2019-09-22 09:57:57.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xrandr-1.4.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xrandr +vers=1.4.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xrdb/PlamoBuild.xrdb-1.1.0 2019-09-22 10:04:06.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xrdb-1.1.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xrdb +vers=1.1.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING AUTHORS ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xrefresh/PlamoBuild.xrefresh-1.0.5 2019-09-22 10:09:03.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xrefresh-1.0.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xrefresh +vers=1.0.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL ChangeLog README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xset/PlamoBuild.xset-1.2.3 2019-09-22 10:15:09.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xset-1.2.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xset +vers=1.2.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xsetmode/PlamoBuild.xsetmode-1.0.0 2019-09-22 10:19:02.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xsetmode-1.0.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xsetmode +vers=1.0.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README COPYING AUTHORS ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xsetpointer/PlamoBuild.xsetpointer-1.0.1 2019-09-22 10:24:46.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xsetpointer-1.0.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xsetpointer +vers=1.0.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xsetroot/PlamoBuild.xsetroot-1.1.1 2019-09-22 10:31:18.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xsetroot-1.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xsetroot +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README COPYING INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xvidtune/PlamoBuild.xvidtune-1.0.2 2019-09-22 10:42:49.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xvidtune-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xvidtune +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README COPYING ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xvinfo/PlamoBuild.xvinfo-1.1.2 2019-09-22 10:47:42.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xvinfo-1.1.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xvinfo +vers=1.1.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INSTALL README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xwd/PlamoBuild.xwd-1.0.6 2019-09-22 11:09:05.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xwd-1.0.6.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xwd +vers=1.0.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xwininfo/PlamoBuild.xwininfo-1.1.3 2019-09-22 11:23:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xwininfo-1.1.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xwininfo +vers=1.1.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/Xwindow.txz/xwud/PlamoBuild.xwud-1.0.4 2019-09-22 11:26:43.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xwud-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xwud +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/libjpeg_turbo/PlamoBuild.libjpeg_turbo-1.5.0 2017-09-14 13:42:06.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-1.5.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libjpeg_turbo +vers=1.5.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=libjpeg-turbo-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-jpeg8" +DOCS="change.log BUILDING.md wizard.txt README.md* ChangeLog.md + libjpeg.txt example.c usage.txt LICENSE.md coderules.txt + README.ijg structure.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +75,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/tiff/PlamoBuild.tiff-4.0.6 2017-09-14 13:48:56.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.osgeo.org/libtiff/tiff-4.0.6.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/tiff/01-CVE-2015-8665_and_CVE-2015-8683.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/tiff/02-fix_potential_out-of-bound_writes_in_decode_functions.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/tiff/03-fix_potential_out-of-bound_write_in_NeXTDecode.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=tiff +vers=4.0.6 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="01-CVE-2015-8665_and_CVE-2015-8683.patch.gz + 02-fix_potential_out-of-bound_writes_in_decode_functions.patch.gz + 03-fix_potential_out-of-bound_write_in_NeXTDecode.patch.gz" +OPT_CONFIG="--enable-cxx --with-docdir=/usr/share/doc/tiff --with-x" +DOCS="COPYRIGHT README ChangeLog README.vms HOWTO-RELEASE TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +76,19 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/tiff/html $docdir/$src + mv $docdir/$src/{html,{TODO,$func,$myname,$spec}.gz} $C + mv $C/{html,{TODO,$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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/libpng/PlamoBuild.libpng-1.6.28 2017-09-14 20:55:52.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libpng/libpng-1.6.28.tar.xz + http://downloads.sourceforge.net/libpng-apng/libpng-1.6.28-apng.patch.gz + http://ftp.icm.edu.pl/packages/GraphicsMagick/delegates/libpng-1.4.20.tar.xz + http://downloads.sourceforge.net/libpng-apng/libpng-1.4.20-apng.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libpng +vers=1.6.28 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P4 +src[0]=$pkgbase-$vers +src[1]=$pkgbase-1.4.20 +patchfiles[0]="libpng-1.6.28-apng.patch.gz" +patchfiles[1]="libpng-1.4.20-apng.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE ANNOUNCE CHANGES INSTALL libpng-manual.txt TODO README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -62,7 +67,14 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + case $i in + 0) make install DESTDIR=$P ;; + 1) install libpng14-config $P/usr/bin + ./libtool --mode=install install libpng14.la $P/usr/$libdir + install -m 644 libpng14.pc $P/usr/$libdir/pkgconfig + install -d $P/usr/include/libpng14 + install -m 644 png{,conf}.h $P/usr/include/libpng14 ;; + esac fi done touch $W/i.et @@ -72,9 +84,15 @@ compress setup_docdir convert_links + prune_symlink $P/usr/include 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/pixman/PlamoBuild.pixman-0.32.8 2017-09-14 16:06:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://cairographics.org/releases/pixman-0.32.8.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pixman +vers=0.32.8 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README NEWS COPYING ChangeLog INSTALL AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/pixman-1 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/Xaw3d/PlamoBuild.Xaw3d-1.5E 2018-06-30 16:27:16.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xaw3d/Xaw3d-1.5E.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/Xaw3d/Xaw3d-1.5E-MultiSrc.c.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=Xaw3d +vers=1.5E arch=`uname -m` -build=P1 +build=P8 src=$pkgbase-$vers -patchfiles="" +patchfiles="Xaw3d-1.5E-MultiSrc.c.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README.XAW3D" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -31,12 +32,17 @@ prepare "$@" if [ $opt_download -eq 1 ] ; then download_sources + mv xc/lib/Xaw3d $src fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Imakefile{,.orig} + sed -i '/ARROW/s@^#undef@#define@;/EXTRA/s@^XCOMM @@' Imakefile + ln -s exports/include/X11 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +51,7 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + xmkmf -a fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -72,9 +79,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/Xaw3d 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/02_x11/giflib/PlamoBuild.giflib-5.1.2 2017-06-08 09:32:30.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/giflib/giflib-5.1.2.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=giflib +vers=5.1.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README BUGS TODO ChangeLog NEWS COPYING AUTHORS INSTALL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -64,6 +64,7 @@ make install DESTDIR=$P fi done + ln -s libgif.so.7.0.0 $P/usr/$libdir/libgif.so.4 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +73,11 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/02_x11/audiofile/PlamoBuild.audiofile-0.3.3 2018-04-07 20:16:25.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://audiofile.68k.org/audiofile-0.3.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=audiofile +vers=0.3.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INSTALL COPYING.GPL ACKNOWLEDGEMENTS NOTES TODO README + COPYING AUTHORS NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/xterm/PlamoBuild.xterm-324 2018-08-21 15:28:06.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.invisible-island.net/xterm/xterm-324.tgz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xterm +vers=324 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-app-defaults=/etc/X11/app-defaults + --with-own-terminfo=/usr/share/terminfo" +DOCS="README.i18n ctlseqs.txt README xterm.log.html AAA_README_VMS.txt + Tests THANKS INSTALL README.os390 MANIFEST" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,19 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p termcap{,.orig} + cat <<- "EOF" | patch termcap + 237c237 + < :tc=xterm-new: + --- + > :tc=xterm-new:kb=^?: + EOF + cp -p terminfo{,.orig} + cat <<- "EOF" | patch terminfo + 1980a1981 + > kbs=\177, + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -63,6 +78,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + make install-ti DESTDIR=$P fi done touch $W/i.et @@ -73,6 +89,9 @@ setup_docdir 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 etc/X11/app-defaults | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pixmaps | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/terminfo -type f` 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/mtdev/PlamoBuild.mtdev-1.1.4 2019-08-23 22:35:53.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://bitmath.org/code/mtdev/mtdev-1.1.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=mtdev +vers=1.1.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README COPYING ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/fonts_append_plamo/PlamoBuild.fonts_append_plamo-5.0 2020-11-08 14:24:10.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/fonts_append_plamo/fonts-append-plamo-5.0.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=fonts_append_plamo +vers=5.0 +arch=noarch +build=P4 +src=fonts-append-plamo-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="freefont/README TrueType/00README_UNICODE_FONTS.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +65,11 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/fonts + cp -a . $P/usr/share/fonts ; chown -R root.root $P/usr/share/fonts + install -d $P/usr/share/ghostscript/fonts + ln -s ../../fonts/TrueType/ipag.ttf $P/usr/share/ghostscript/fonts + ln -s ../../fonts/TrueType/ipam.ttf $P/usr/share/ghostscript/fonts touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +77,90 @@ compress setup_docdir 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` + prune_symlink $P/usr/share/fonts/TrueType + prune_symlink $P/usr/share/ghostscript/fonts + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + EOF + cat <<- "EOF" >> $P/install/doinst.sh + make_bold() { + [ $first -eq 0 ] && echo -n " " + gunzip -c $IN | pcf2bdf | qmkbold $1 $2 | bdftopcf | gzip > $OUT + chown root.wheel $OUT + echo -n $OUT ; first=0 + } + + echo "Making some bold fonts in /usr/share/fonts/Bitmap directory." + echo "Please wait..." ; first=1 + ( cd /usr/share/fonts/Bitmap + IN=5x10a.pcf.gz ; OUT=5x10b.pcf.gz ; make_bold + IN=shnm6x12a.pcf.gz ; OUT=shnm6x12ab.pcf.gz ; make_bold -r -L + IN=shnm7x14a.pcf.gz ; OUT=shnm7x14ab.pcf.gz ; make_bold -r -L + IN=shnm8x16a.pcf.gz ; OUT=shnm8x16ab.pcf.gz ; make_bold -r -L + IN=9x18m.pcf.gz ; OUT=9x18b.pcf.gz ; make_bold -r -L + IN=9x18gm.pcf.gz ; OUT=9x18gb.pcf.gz ; make_bold -r -L + IN=10x20gm.pcf.gz ; OUT=10x20gb.pcf.gz ; make_bold -r -L + IN=12x24.pcf.gz ; OUT=12x24b.pcf.gz ; make_bold -r -L + IN=13x26.pcf.gz ; OUT=13x26b.pcf.gz ; make_bold -r -L + echo ; first=1 + IN=5x10rk.pcf.gz ; OUT=5x10rkb.pcf.gz ; make_bold + IN=shnm6x12r.pcf.gz ; OUT=shnm6x12rb.pcf.gz ; make_bold -r -L + IN=shnm7x14r.pcf.gz ; OUT=shnm7x14rb.pcf.gz ; make_bold -r -L + IN=shnm8x16r.pcf.gz ; OUT=shnm8x16rb.pcf.gz ; make_bold -r -L + IN=9x18rkm.pcf.gz ; OUT=9x18rkb.pcf.gz ; make_bold -r -L + IN=9x18grkm.pcf.gz ; OUT=9x18grkb.pcf.gz ; make_bold -r -L + IN=10x20grkm.pcf.gz ; OUT=10x20grkb.pcf.gz ; make_bold -r -L + IN=12x24rk.pcf.gz ; OUT=12x24rkb.pcf.gz ; make_bold -r -L + IN=13x26rk.pcf.gz ; OUT=13x26rkb.pcf.gz ; make_bold -r -L + IN=min_16x32r.pcf.gz ; OUT=min_16x32rb.pcf.gz ; make_bold -r -L + echo ; first=1 + IN=knj10.pcf.gz ; OUT=knj10b.pcf.gz ; make_bold + IN=knj10min.pcf.gz ; OUT=knj10minb.pcf.gz ; make_bold + IN=shnmk12.pcf.gz ; OUT=shnmk12b.pcf.gz ; make_bold -r -L + IN=shnmk12min.pcf.gz ; OUT=shnmk12minb.pcf.gz ; make_bold -r -L + IN=shnmleftk14.pcf.gz ; OUT=shnmleftk14b.pcf.gz ; make_bold -r -L + IN=shnmleftk14min.pcf.gz ; OUT=shnmleftk14minb.pcf.gz ; make_bold -r -L + IN=shnmleftk16.pcf.gz ; OUT=shnmleftk16b.pcf.gz ; make_bold -r -L + IN=shnmleftk16min.pcf.gz ; OUT=shnmleftk16minb.pcf.gz ; make_bold -r -L + IN=k18gm.pcf.gz ; OUT=k18gb.pcf.gz ; make_bold -r -L + IN=k18m.pcf.gz ; OUT=k18b.pcf.gz ; make_bold -r -L + IN=k20gm.pcf.gz ; OUT=k20gb.pcf.gz ; make_bold -r -L + IN=jiskan24.pcf.gz ; OUT=jiskan24b.pcf.gz ; make_bold -r -L + IN=kanji26.pcf.gz ; OUT=kanji26b.pcf.gz ; make_bold -r -L + IN=min_k32.pcf.gz ; OUT=min_k32b.pcf.gz ; make_bold -r -L + echo ) + echo "done." + echo "Initializing Bitmap fonts directory..." + mkfontdir /usr/share/fonts/Bitmap + echo "Initializing freefont fonts directory..." + mkfontscale /usr/share/fonts/freefont + mkfontdir /usr/share/fonts/freefont + echo "Initializing TrueType fonts directory..." + mkfontscale /usr/share/fonts/TrueType + echo "Initializing ghostscript fonts directory..." + mkfontdir /usr/share/fonts/ghostscript + echo "done." + for i in 100dpi 75dpi TTF Type1 misc ; do + if [ $i == TTF -o $i == Type1 ] ; then + echo "making font.scale in /usr/share/fonts/X11/$i" + mkfontscale /usr/share/fonts/X11/$i + fi + echo "making font.dir in /usr/share/fonts/X11/$i" + mkfontdir /usr/share/fonts/X11/$i + done + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/fonts/Bitmap -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/fonts/freefont -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/fonts/TrueType -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/ghostscript/fonts -maxdepth 1 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/libxklavier/PlamoBuild.libxklavier-5.3 2019-09-22 17:53:40.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/libxklavier/5.3/libxklavier-5.3.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libxklavier +vers=5.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS COPYING.LIB README AUTHORS CREDITS ChangeLog ABOUT-NLS INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P usr/include/libxklavier + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/libxklavier 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/pcf2bdf/PlamoBuild.pcf2bdf-1.04 2019-09-22 18:32:22.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://kobyla.info/distfiles/pcf2bdf-1.04.tgz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/pcf2bdf/pcf2bdf-1.04-Makefile.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pcf2bdf +vers=1.04 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" +patchfiles="pcf2bdf-1.04-Makefile.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="pcf.txt README.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -30,7 +31,15 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + url=($url) + for i in `seq 0 $((${#url[@]} - 1))` ; do + j=${url[$i]%%#*} ; k=`[[ ${url[$i]} =~ \# ]] && echo ${url[$i]#*#}` + if [ ! -f ${j##*/} ] ; then wget $j + verify_signature $j "${verify[$i]}" "${digest[$i]}" "$k" ; fi + done + mkdir pcf2bdf-1.04 + tar xvpzf pcf2bdf-1.04.tgz -C pcf2bdf-1.04 fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -53,6 +62,7 @@ make fi done + make -f Makefile.gcc fi if [ $opt_package -eq 1 ] ; then root_priv @@ -65,12 +75,14 @@ make install DESTDIR=$P fi done + make -f Makefile.gcc install PREFIX=$P/usr MANPATH=$P/usr/share/man/man1 touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/plotutils/PlamoBuild.plotutils-2.6 2019-09-22 20:35:03.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/pub/gnu/plotutils/plotutils-2.6.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/plotutils/plotutils-2.6-png_jmpbuf-fix.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=plotutils +vers=2.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="plotutils-2.6-png_jmpbuf-fix.patch.gz" +OPT_CONFIG="--enable-libplotter --enable-libxmi" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS THANKS TODO COMPAT + INSTALL.pkg INSTALL.fonts KNOWN_BUGS ONEWS PROBLEMS + `echo doc/{README,{color,h-{font,glyph}}s.txt,hershey.bib}` + `echo doc/{kana,kanji}.txt`" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +77,13 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/{ode,tek2plot,pic2plot,libplot} + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/pstoedit/PlamoBuild.pstoedit-3.62 2019-09-23 07:12:25.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/pstoedit/pstoedit-3.62.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pstoedit +vers=3.62 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="copying `echo doc/{{changelog,index}.htm,readme.txt}` readme.install" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,20 @@ 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/pstoedit setup_docdir convert_links + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/$libdir/pstoedit tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libpstoedit.*` + tar rvpf $pkg.tar -C $P usr/$libdir/pstoedit + tar rvpf $pkg.tar -C $P usr/include/pstoedit + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/pstoedit 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 + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/qmkbold/PlamoBuild.qmkbold-1.0 2019-09-23 08:06:19.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/qmkbold/qmkbold-1.0.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=qmkbold +vers=1.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +70,10 @@ TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + install -d $docdir/$src setup_docdir 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/02_x11/xfplamoconfig/PlamoBuild.xfplamoconfig-1.4 2019-09-23 08:23:45.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/02_x11/xfplamoconfig/xfplamoconfig-1.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 +pkgbase=xfplamoconfig +vers=1.4 +arch=noarch +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,15 +65,17 @@ make install DESTDIR=$P fi done + install -d $P/sbin + install -m 744 xfplamoconfig* $P/sbin touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + install -d $docdir/$src setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/imake/PlamoBuild.imake-1.0.7 2017-09-20 11:22:48.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/util/imake-1.0.7.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=imake +vers=1.0.7 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/gccmakedep/PlamoBuild.gccmakedep-1.0.3 2017-09-20 21:32:45.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/util/gccmakedep-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gccmakedep +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xorg_cf_files/PlamoBuild.xorg_cf_files-1.0.6 2017-09-20 11:38:03.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/util/xorg-cf-files-1.0.6.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xorg_cf_files +vers=1.0.6 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xorg-cf-files-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README INSTALL ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,18 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p linux.cf{,.orig} + cat <<- "EOF" | patch linux.cf + 235c235 + < -D_BSD_SOURCE -D_SVID_SOURCE \ + --- + > -D_DEFAULT_SOURCE \ + 1081a1082,1084 + > # endif + > # ifndef LibDir + > # define LibDir /usr/lib64/X11 + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,9 +83,9 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P usr/$libdir/X11/config 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xorg_sgml_doctools/PlamoBuild.xorg_sgml_doctools-1.11 2017-07-01 18:22:14.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/doc/xorg-sgml-doctools-1.11.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=xorg_sgml_doctools +vers=1.11 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=xorg-sgml-doctools-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README INSTALL ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,9 +70,10 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P usr/share/sgml/X11 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/makedepend/PlamoBuild.makedepend-1.0.5 2018-07-09 18:56:23.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/util/makedepend-1.0.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=makedepend +vers=1.0.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog COPYING AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/printproto/PlamoBuild.printproto-1.0.5 2018-11-17 19:55:39.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/proto/printproto-1.0.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=printproto +vers=1.0.5 arch=`uname -m` build=P1 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +71,11 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/extensions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/libXp/PlamoBuild.libXp-1.0.2 2018-11-17 20:06:57.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXp-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXp +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS AUTHORS COPYING ChangeLog README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,13 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/appres/PlamoBuild.appres-1.0.3 2019-10-09 13:18:51.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/appres-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=appres +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog INSTALL COPYING AUTHORS README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/beforelight/PlamoBuild.beforelight-1.0.4 2019-10-10 15:57:13.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/beforelight-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=beforelight +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/bitmap/PlamoBuild.bitmap-1.0.5 2019-10-09 13:30:48.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/bitmap-1.0.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=bitmap +vers=1.0.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING AUTHORS INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/editres/PlamoBuild.editres-1.0.5 2019-10-09 14:38:43.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/editres-1.0.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=editres +vers=1.0.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS ChangeLog README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/ico/PlamoBuild.ico-1.0.3 2019-10-10 15:59:57.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/ico-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=ico +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING INSTALL README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/libXprintUtil/PlamoBuild.libXprintUtil-1.0.1 2019-10-09 15:25:14.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXprintUtil-1.0.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXprintUtil +vers=1.0.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README COPYING AUTHORS ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/XprintUtil 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/libXprintAppUtil/PlamoBuild.libXprintAppUtil-1.0.1 2019-10-09 15:16:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/lib/libXprintAppUtil-1.0.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libXprintAppUtil +vers=1.0.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README COPYING AUTHORS ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/X11/XprintAppUtil 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/listres/PlamoBuild.listres-1.0.2 2019-10-09 15:33:32.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/listres-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=listres +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/rendercheck/PlamoBuild.rendercheck-1.4 2019-10-09 16:22:14.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/rendercheck-1.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=rendercheck +vers=1.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING ChangeLog AUTHORS NEWS + doc/TODO doc/AddingNewTests INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +72,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $docdir/$src{,/doc} 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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/rgb/PlamoBuild.rgb-1.0.4 2019-10-09 16:31:38.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/rgb-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=rgb +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog COPYING AUTHORS README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11 | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/rstart/PlamoBuild.rstart-1.0.4 2019-10-09 20:50:16.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/rstart-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=rstart +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL COPYING ChangeLog README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,15 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $docdir/$src convert_links + TZ=UTC touch -t `date -u '+%m%d0000'` \ + $P/usr/$libdir/X11/rstart/{commands,contexts} tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/X11/rstart 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 + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/scripts/PlamoBuild.scripts-1.0.1 2019-10-10 16:02:05.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/scripts-1.0.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=scripts +vers=1.0.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README COPYING AUTHORS ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/viewres/PlamoBuild.viewres-1.0.3 2019-10-10 13:26:17.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/viewres-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=viewres +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xdbedizzy/PlamoBuild.xdbedizzy-1.1.0 2019-10-10 13:31:33.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xdbedizzy-1.1.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xdbedizzy +vers=1.1.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL COPYING ChangeLog README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xditview/PlamoBuild.xditview-1.0.2 2019-10-10 13:39:20.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xditview-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xditview +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,11 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/include/X11/bitmaps | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xedit/PlamoBuild.xedit-1.2.0 2019-10-10 13:49:10.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xedit-1.2.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xedit +vers=1.2.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS README INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,11 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $docdir/$src convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/X11/xedit + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xgc/PlamoBuild.xgc-1.0.3 2019-10-10 14:19:59.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xgc-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xgc +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING README Bugs INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xkbprint/PlamoBuild.xkbprint-1.0.3 2019-10-10 14:28:55.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xkbprint-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xkbprint +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xlogo/PlamoBuild.xlogo-1.0.3 2019-10-10 14:37:33.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xlogo-1.0.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xlogo +vers=1.0.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xmag/PlamoBuild.xmag-1.0.4 2019-10-10 14:47:16.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xmag-1.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xmag +vers=1.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL COPYING ChangeLog README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xman/PlamoBuild.xman-1.1.1 2019-10-10 14:58:27.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xman-1.1.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xman +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL ChangeLog README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xmh/PlamoBuild.xmh-1.0.2 2019-10-10 15:05:28.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xmh-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xmh +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README INSTALL ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xmore/PlamoBuild.xmore-1.0.2 2019-10-10 15:48:42.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xmore-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xmore +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xscope/PlamoBuild.xscope-1.3 2019-10-10 16:13:43.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xscope-1.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xscope +vers=1.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING README ChangeLog INSTALL NEWS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xsm/PlamoBuild.xsm-1.0.2 2019-10-10 16:20:38.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xsm-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xsm +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog COPYING README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,8 +71,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/Xwindow2.txz/xstdcmap/PlamoBuild.xstdcmap-1.0.2 2019-10-10 16:25:41.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.x.org/archive/individual/app/xstdcmap-1.0.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xstdcmap +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,7 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/fep.txz/Canna/PlamoBuild.Canna-37p3 2018-07-06 16:27:31.000000000 +0900 @@ -1,19 +1,27 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.jp/canna/9565/Canna37p3.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/Canna/Canna37p3-keybind.patch.gz + http://www.nslabs.jp/archives/nicolatter-1.7.9.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/Canna/cannadic-0.95c.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=Canna +vers=37p3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P8 +src[0]=$pkgbase$vers +src[1]=cannadic-0.95c +patchfiles[0]="Canna37p3-keybind.patch.gz + nicolatter-1.7.9/patch/Canna37p1-q1.diff" OPT_CONFIG="" -DOCS="README" +DOCS[0]="`echo canuum/{COPYRIGHT,README.{copyright,jp}}` + ChangeLog CHANGES.jp COPYRIGHT INSTALL INSTALL.jp OCHANGES.jp + README README.jp RKCCONF.jp WHATIS WHATIS.jp" +DOCS[1]="README.ja COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +45,36 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd ${B[0]} + cp -p Canna.conf{,.orig} + cat <<- EOF | patch Canna.conf + 143c143 + < cannaPrefix = DefCannaPrefix + --- + > cannaPrefix = /usr + 149,151c149,151 + < cannaLibDir = DefCannaLibDir + < XCOMM cannaManDir = \$(cannaPrefix)/share/man + < cannaManDir = \$(cannaPrefix)/man + --- + > cannaLibDir = /usr/$libdir/canna + > cannaManDir = \$(cannaPrefix)/share/man + > XCOMM cannaManDir = \$(cannaPrefix)/man + 154,155c154,155 + < libCannaDir = DefLibCannaDir + < ErrDir = DefErrDir + --- + > libCannaDir = /usr/$libdir + > ErrDir = /var/log/canna + 240c240 + < DicDir = \$(cannaLibDir)/dic + --- + > DicDir = /var/lib/canna/dic + 333c333 + < JMNLOCALE = ja + --- + > JMNLOCALE = ja_JP.eucJP + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,12 +83,16 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cd ${B[0]} + xmkmf fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + if [ $i -eq 0 ] ; then + make canna ; ( cd canuum ; xmkmf -a ; make ) + fi fi done fi @@ -62,19 +104,116 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + if [ $i -eq 0 ] ; then + make -i install install.man DESTDIR=$P + ( cd canuum ; make install install.man DESTDIR=$P ) + fi fi done + cd ${B[1]} + install -d $P/var/lib/canna/dic/canna + install -o bin -g bin -m 664 gcanna{,f}.ctd $P/var/lib/canna/dic/canna touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $mandir/ja_JP.eucJP/man1 + gzip_dir $mandir/ja_JP.eucJP/man3 + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/canna.r + #!/bin/sh + + SERVER=/usr/sbin/cannaserver + KILLER=/usr/sbin/cannakill + LOCKD=/var/lock/subsys + + [ -f $SERVER ] || exit 0 + case "$1" in + start) + echo "Starting Canna server:" + rm -f /tmp/.iroha_unix/IROHA + $SERVER -inet + [ -d $LOCKD ] && touch $LOCKD/canna + ;; + stop) + echo "Shutting down Canna server:" + $KILLER + [ -d $LOCKD ] && rm -f $LOCKD/canna + ;; + install) + echo canna network + ;; + *) + echo "Usage: canna {start|stop}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 755 $P/etc/rc.d/init.d/canna.r + touch -t `date '+%m%d0900'` $P/etc/rc.d/init.d/canna.r + cat <<- "EOF" > $P/etc/hosts.canna + localhost + unix + EOF + touch -t `date '+%m%d0900'` $P/etc/hosts.canna setup_docdir + cp -a $S/doc $docdir/$src + chown -R root.root $docdir/$src/doc + find $docdir/$src/doc -name ".cvsignore" -exec rm -f {} \; + ( cd $docdir ; find $src/doc -type d -exec touch -r $W/{} {} \; ) + mv $docdir/$src/{doc,{INSTALL{,.jp},OCHANGES.jp,README{,.jp}}.gz} $C + mv $docdir/$src/{RKCCONF.jp,WHATIS{,.jp},$func,$myname,$spec}.gz $C + mv $C/{doc,{INSTALL{,.jp},OCHANGES.jp,README{,.jp}}.gz} $docdir/$src + mv $C/{RKCCONF.jp,WHATIS{,.jp},$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` + prune_symlink $mandir/ja_JP.eucJP/man3 + cat <<- EOF | unexpand >> $P/install/doinst.sh + #%% begin initialize $pkg + cannadicdir=/var/lib/canna/dic/canna + crxdic -m -o \$cannadicdir/gcanna.cbd \$cannadicdir/gcanna.ctd + crfreq -div 512 \$cannadicdir/gcanna.cbd gcanna.mwd + chown bin.bin \$cannadicdir/gcanna.c[bl]d + chmod 664 \$cannadicdir/gcanna.c[bl]d + if [ ! -f \$cannadicdir/dics.dir.orig ] ; then + cp -p \$cannadicdir/dics.dir \$cannadicdir/dics.dir.orig + cat <<- "EOF" | patch \$cannadicdir/dics.dir + 25a26,28 + > gcanna.cbd(gcanna.mwd) -gcanna--- + > gcanna.cld(gcanna.mwd) -gcanna--- + > gcannaf.ctd(.swd) -gcannaf--- + EOF + fi + cannalibdir=/usr/$libdir/canna + if [ ! -f \$cannalibdir/$libdir/canna/default.canna.orig ] ; then + cp -p \$cannalibdir/default.canna \$cannalibdir/default.canna.orig + cat <<- "EOF" | patch \$cannalibdir/default.canna + 27c27,29 + < "iroha" + --- + > "gcanna" + > "gcannaf" + > ; "iroha" + EOF + fi + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/canna + tar rvpf $pkg.tar -C $P var/{lib,log}/canna + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/canna.r + tar rvpf $pkg.tar -C $P etc/hosts.canna 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 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/ja_JP.eucJP/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/ja_JP.eucJP/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/doc -maxdepth 1 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/fep.txz/skkfep/PlamoBuild.skkfep-0.87 2017-09-20 21:58:29.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://aitoweb.world.coocan.jp/skkfep/skkfep-0.87.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=skkfep +vers=0.87 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="HISTORY INSTALL README TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p protoMakefile{,.orig} + sed -i 's@termcap@ncurses@g' protoMakefile + cp -p config.h{,.orig} + sed -i 's@ei5nazha@localhost@g' config.h for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -51,6 +56,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make + make simpledic fi done fi @@ -65,6 +71,10 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + install skkfep simpledic resetsize escmode $P/usr/bin + install -d $mandir/man1 + install -m 644 skkfep.1 $mandir/man1 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/fep.txz/libspt/PlamoBuild.libspt-1.1 2018-06-30 17:37:04.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.j10n.org/libspt/libspt-1.1.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/libspt/libspt-1.1-set_timefield.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libspt +vers=1.1 arch=`uname -m` build=P1 src=$pkgbase-$vers -patchfiles="" +patchfiles="libspt-1.1-set_timefield.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES COPYRIGHT INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + sed -i 's@man$@share/man@g' Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -62,7 +66,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install DESTDIR=$P fi done touch $W/i.et @@ -70,11 +74,16 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/fep.txz/FreeWnn/PlamoBuild.FreeWnn-1.1.1_a022 2019-10-14 13:22:25.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.jp/freewnn/59257/FreeWnn-1.1.1-a022.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=FreeWnn +vers=1.1.1_a022 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase-1.1.1-a022 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CONTRIBUTORS COPYING.LIB COPYRIGHT COPYRIGHT-j ChangeLog ChangeLog.en + ChangeLog.old INSTALL INSTALL.en + `echo olddoc/{00README,README{,.sun},Wnn-{FAQ,READ.ME{,.j}}}`" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch == x86_64 ] ; then + cp -p makerule.mk.in{,.orig} + sed -i '/^ *WNNWNNDIR =/s@lib@lib64@g' makerule.mk.in + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -63,18 +70,75 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + make install.man DESTDIR=$P fi done + chown wnn $P/usr/$libdir/wnn/ja_JP/dic/{pubdic,src,wnncons} + chown wnn $P/usr/$libdir/wnn/{zh_{CN,TW},ko_KR}/dic/sys touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_bindir $P/usr/bin/Wnn4 + strip_bindir $P/usr/bin/cWnn4 + strip_bindir $P/usr/bin/kWnn4 + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/bin/{,c,k}Wnn4 + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/wnn.r + #!/bin/sh + + SERVER=/usr/bin/Wnn4/jserver + KILLER=/usr/bin/Wnn4/wnnkill + LOCKD=/var/lock/subsys + + [ -f $SERVER ] || exit 0 + case "$1" in + start) + echo "Starting Wnn server:" + $SERVER + [ -d $LOCKD ] && touch $LOCKD/wnn + ;; + stop) + echo "Shutting down Wnn server:" + $KILLER + [ -d $LOCKD ] && rm -f $LOCKD/wnn + ;; + install) + echo wnn network + ;; + *) + echo "Usage: wnn {start|stop}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 755 $P/etc/rc.d/init.d/wnn.r + TZ=UTC touch -t `date -u '+%m%d0000'` $P/etc/rc.d/init.d/wnn.r setup_docdir - convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + false && convert_links + prune_symlink $P/usr/$libdir + prune_symlink $P/usr/include/wnn + prune_symlink $mandir/man3 + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + ( cd /usr/$libdir/wnn/ja_JP/dic/pubdic ; /usr/bin/Wnn4/wnntouch * ) + ( cd /usr/$libdir/wnn/ja_JP/dic/wnncons ; /usr/bin/Wnn4/wnntouch * ) + ( cd /usr/$libdir/wnn/ja_JP/dic/gerodic ; /usr/bin/Wnn4/wnntouch * ) + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/include/wnn $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/wnn.r 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/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | 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 + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/fep.txz/canfep/PlamoBuild.canfep-1.0 2019-10-13 13:12:38.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.geocities.co.jp/SiliconValley-Bay/7584/canfep/canfep-1.0.tar.gz + http://web.kyoto-inet.or.jp/people/m-ito/linux/canfep-1.0.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/canfep/canfep-1.0-posix.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=canfep +vers=1.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" +patchfiles="canfep-1.0.patch canfep-1.0-posix.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="00changes 00readme" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +67,8 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + install canfep $P/usr/bin touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,7 +77,6 @@ setup_docdir 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/fep.txz/sj3/PlamoBuild.sj3-2.0.1.23 2019-10-14 10:36:48.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://sj3.googlecode.com/files/sj3-2.0.1.23.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=sj3 +vers=2.0.1.23 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--sysconfdir=/usr/share --localstatedir=/var/lib/sj3 + --docdir=/usr/share/sj3/doc --with-user=bin --with-group=bin" +DOCS="README CHANGES.eucJP README.eucJP" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + sed -i 's@ \($(SJ3VARDIR)\)@ $(DESTDIR)\1@g' Makefile.in + cp -p lib/sj3rkcv/Makefile.in{,.orig} + sed -i '/rk_DATA =/s@sjrk@@g' lib/sj3rkcv/Makefile.in + cp -p src/sj3serv/Makefile.in{,.orig} + sed -i 's@examples/sj3@sj3/examples@g' src/sj3serv/Makefile.in + cp -p src/sj3proxy/Makefile.in{,.orig} + sed -i 's@examples/sj3@sj3/examples@g' src/sj3proxy/Makefile.in + cp -p dict/Makefile.in{,.orig} + sed -i 's@ \($(SJ3DICTDIR)\)@ $(DESTDIR)\1@g' dict/Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -62,7 +74,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -i install DESTDIR=$P fi done touch $W/i.et @@ -70,11 +82,56 @@ TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + sed 's@prefix.*run@"/tmp@g' $P/usr/share/sj3/examples/sj3serv.lua.example \ + > $P/usr/share/sj3/sj3serv.lua + TZ=UTC touch -t `date -u '+%m%d0000'` \ + $P/usr/share/sj3 $P/usr/share/sj3/sj3serv.lua + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/sj3.r + #!/bin/sh + + SERVER=/usr/sbin/sj3serv + KILLER="killall sj3serv" + LOCKD=/var/lock/subsys + + [ -f $SERVER ] || exit 0 + case "$1" in + start) + echo "Starting Sj3 server:" + $SERVER + [ -d $LOCKD ] && touch $LOCKD/sj3 + ;; + stop) + echo "Shutting down Sj3 server:" + $KILLER + [ -d $LOCKD ] && rm -f $LOCKD/sj3 + ;; + install) + echo sj3 network + ;; + *) + echo "Usage: sj3 {start|stop}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 755 $P/etc/rc.d/init.d/sj3.r + TZ=UTC touch -t `date -u '+%m%d0000'` $P/etc/rc.d/init.d/sj3.r setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $docdir/$src convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/sj3 + tar rvpf $pkg.tar -C $P var/lib/sj3 + tar rvpf $pkg.tar -C $P etc/rc.d/init.d/sj3.r 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 + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/fep.txz/kinput2/PlamoBuild.kinput2-v3.1 2019-10-13 15:36:26.000000000 +0900 @@ -1,19 +1,27 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.sra.co.jp/pub/x11/kinput2/kinput2-v3.1.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/kinput2/kinput2-v3.1-canna-keybind.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/kinput2/kinput2-v3.1-canna-keybind2.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/kinput2/kinput2-v3.1-canna-keybind3.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/kinput2/kinput2-v3.1-sj3-numlock.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=kinput2 +vers=v3.1 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers -patchfiles="" +patchfiles="kinput2-v3.1-canna-keybind.patch.gz + kinput2-v3.1-canna-keybind2.patch.gz + kinput2-v3.1-canna-keybind3.patch.gz + kinput2-v3.1-sj3-numlock.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README NEWS `echo doc/{protocol,sj3{def,guide.{ps,tex}}}` + `echo doc/{defaultkeys,resources,problems,classes,ccdef,defkeys.wnn}`" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +45,34 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p lib/cconv.c{,.orig} + sed -i 's@getline@ki2_&@g' lib/cconv.c + cp -p lib/wnnlib.c{,.orig} + cat <<- "EOF" | patch lib/wnnlib.c + 1370c1370 + < len = jl_kanji_len(buf->wnn, cl); + --- + > len = jl_kanji_len(buf->wnn, cl, 0); + EOF + cp -p Kinput2.conf{,.orig} + uudecode <<- "EOF" | gunzip | patch Kinput2.conf + begin-base64 644 /dev/stdout + H4sIAAAAAAAAA51UXW+bMBR9Lr/CUvOQVGSOw1cqdUgp2SS2lEhJpuZtog7N3FGoIGTqv9/FGDAf + zaI9YIw599xzz7VNZpTMlDuEb9D1PnhmUYB+pMFjFKEbfAWLYo09o/c4Q34SoEPMogM6xihLA5QD + hyddRScTxQk6WSOIU8bjsWK3+K7+m02zqGY1JQJwyZ4WLEE4jV8D/BbQLGR+gvcsCegxTt7xH15C + S4oUl6UJDtlTjlN0neo6ZHCcxZevPxfuGn1Gg+HSvYfpCFMK0YJIRlQUO0IEyDCoYQDRzlk9PKBH + z3M9RwIDcG1iFtEw2wc8c8HaAcoQw6KGJXOCLsCNw0a8vGhqqmlQPkIc/NysHV6Rs/K2a/cePkf4 + LYkPif+a4l3KMPhSICsZg2ERNyq1FP+LNPXPl7x+eCDtJ1+oqYRelNbuMaub3G6X/5GEGVFnGuVj + 5Zkz97y56222ct9i6oeY+lHkN3GVaClINkGClp5zFmKWW6SbrVw9z233s95O1FtC+Zhv0QZPn7FO + HqdNS6ygW4qsHJs7Jug78vusOJfG7nHkgmRkolF4QOXmm9Z36tIXrT52DQzvX/oLbo8cpBCiqYTo + VLyrFkFMUYDU73YbAVPaDVSgtM4nxdYN6uLJdKKSKaHiXdRz1rhc813NNBgWAbxisZWLWetAXcJr + t+s6y07gZiX8ap1vV9/Lwvxj/JtMo2qWHVnYEPJP8F8a9B13VAYAAA== + ==== + EOF + if [ $arch == x86_64 ] ; then + sed -i '/\(WnnLibDir\|CCDEF_DIR\)/s@lib@lib64@' Kinput2.conf + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +81,9 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + xmkmf -a + find . -name "Makefile" -exec sed -i -e '/MANPATH =/s@man$@share/man@g' \ + -e '/CONFDIR =/s@ETCX11@LIB@g' {} \; fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -62,7 +101,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install.man DESTDIR=$P fi done touch $W/i.et @@ -70,9 +109,40 @@ TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + install -d $P/usr/libexec + cp -p $P/usr/bin/kinput2 $P/usr/libexec + uudecode <<- "EOF" | gunzip > $P/usr/bin/kinput2 + begin-base64 644 /dev/stdout + H4sIAAAAAAAAA51WbW/bNhD+HP2Km2NkzQZHbVf0Q/yCBZmHeW3joi62AUGAUhRlMZZIgaTdJPX2 + 23ekKEV2LGWYP0gy7+65e+6F5PF3YcRFqNPgGNaaLNk5rLgo1uY1XGsji61i2hBlbmAkFV9yQbJa + gailngTB+/nlu3H/t/mHaXjmRWcfZ78El/OrP6afFrP51eX72fTq89gLA3ZXSGVgXx4EPIFrGCSw + C6Yo3MAQTMpEAF7B+sTVkxNAT+MvlJhy7QtqUKIZ9F8Bt+qWwym+naGAXh/1e6VlocH+g5MJhDHb + hGKdZXZ9xfHtJENQufc1BHbHDbyE4RDRfFJK4P5L5wVVdMoT41QZtcu9/s+90oBpQvF19oRaHe9i + +gmzUQZNiRBk+1WIrb79qXRSpqZBoE6Ilx5ks6OEUdBUQq8qH9eg1kJwsQQpoMT1NF95E5ZpVltX + ufALCQ8aLwfd78OkkS9MQrjWKsx4ZP+EleNBRbY///h54bLkMFymfjh9xOtxsSEZj+GfRsb2gnxM + rw/2GHPIDUe7B4YtzdT3yJMmPGPwoolj/ZReqGLE2DTsuHF1MDAaDaA3nf/aA8ttv3pHx1ByOS+L + BiFg2fCJhQuOStHYSYIjq2wJn4MsDJdCQyJVNUxWCDCIKHT9IkJXX4mKgcq8wJgjJJXLmHnrRAoM + 2D4nh6wvFpezGTglIyFy2Ym96YqIW95u/+7i6vcOU9LhGU0vWizDH0v2LWwJNXxDDMN+rj59uqBQ + 0kgqM0hIzrP7Gu+O50Vr9g7h/WUNKrQmTHsRDsLAzMX1gZlUxvuAJkoZX6aYIbHOI6b2cqQLRnly + D4UsBusCdxGWZdi0hpuMRURBaVx1CLbAUsm1iGGEHuQeWEPspHVnKNZh1RA3rdSmPQtgd8ENU7h3 + bXjMZLMPY66LjNzDyH+08PVSb2SxcCranBWKYwtVSlxgyDmxYwQEo7YbgsUZ2ZFy8zbxsOVYtv6w + G+HSqbyYKZmSUyDabpqYB1E5YwLPPc/tWwmI2wpKtwOq/4ZRKrURJGeT63NxU7Nr6IHVaMbjdqNR + /dnIz4410DWeLLndyKxaTRC3mIqe3W06fpben6jSTWpw6+N8pHKwYLcH6NCYJUjFvvao7NBJicJh + QdtGCGhyVhMruTCxse5xUJ4EUWNZPqjHlRQ5w56wqjsIir6BUfXZDKoNwZXDJhYFb/ag3v5/qLd7 + UIeROqHqkuN5UpUcP58r+QJVnik5othqPlfyhCttoFJuFN4vvW4BqOw1wwDiFgB7OsPIPp+eVxWA + 03E9gUCCUXeMeLhqJMuEbhFSUZzHlpHCS5tcK8ps37krAqbksfu+DXRUoeioHUXf5xGeO4bYs7dp + rlZ1EKuOIGRO3ImJdBpzcCietAZMOwBTriyg+Q+AD2kF+JC2Az4wEaZEdMHZW8y419wJIZOUZLa6 + veAIb0v2blVeggO8IP4LDlvP8mUMAAA= + ==== + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/bin/kinput2 setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/X11/app-defaults | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/X11/ccdef + tar rvpf $pkg.tar -C $P usr/share/sj3 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/fep.txz/nicolatter/PlamoBuild.nicolatter-1.7.9 2019-10-21 17:30:44.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.nslabs.jp/archives/nicolatter-1.7.9.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/nicolatter/nicolatter-1.7.9-not_declared.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/nicolatter/nicolatter-1.7.9-64bit.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/nicolatter/nicolatter-1.7.9-erase-fix.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/nicolatter/nicolatter-rc.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=nicolatter +vers=1.7.9 arch=`uname -m` -build=P1 +build=P7 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="nicolatter-1.7.9-not_declared.patch.gz + nicolatter-1.7.9-64bit.patch.gz nicolatter-1.7.9-erase-fix.patch.gz" +OPT_CONFIG="gtk canna wnn" +DOCS="NEWS COPYING with_canna.txt ChangeLog AUTHORS README INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +42,18 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + cat <<- "EOF" | patch Makefile + 14a15 + > mkdir -p $(installdir) + EOF + cp -p Makefile.conf{,.orig} + sed -i -e "s@/X11R6/lib@/$libdir@g" -e 's@/local@@g' Makefile.conf for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure ${OPT_CONFIG[$i]} fi done fi @@ -51,6 +62,7 @@ cd ${B[$i]} if [ -f Makefile ] ; then make + make addword fi done fi @@ -65,15 +77,42 @@ make install DESTDIR=$P fi done + install -d $P/etc/X11 + cp -r $W/nicolatter $P/etc/X11 touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + install -d $P/usr/libexec + cp -p $P/usr/bin/nicolatter $P/usr/libexec + cat <<- "EOF" > $P/usr/bin/nicolatter + #!/bin/sh + + CONVERSIONCLIENT=nicolatter + export CONVERSIONCLIENT + + if [ ! -d $HOME/.nicolatter ] ; then + cp -a /etc/X11/nicolatter $HOME/.nicolatter + sed "s@/home/tamuki@$HOME@g" /etc/X11/nicolatter/global \ + > $HOME/.nicolatter/global + fi + exec /usr/libexec/nicolatter -D + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/bin/nicolatter setup_docdir + cp -a $S/docs $docdir/$src + find $docdir/$src/docs -type f -exec chmod 644 {} \; + chown -R root.root $docdir/$src/docs + mv $docdir/$src/{docs,{AUTHORS,README,INSTALL}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{docs,{AUTHORS,README,INSTALL}.gz} $docdir/$src + mv $C/{$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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P etc/X11/nicolatter tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/fep.txz/oyatu/PlamoBuild.oyatu-1.3 2019-10-14 10:10:36.000000000 +0900 @@ -1,15 +1,15 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/fep.txz/oyatu/oyatu-1.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 +pkgbase=oyatu +vers=1.3 +arch=noarch +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" @@ -65,6 +65,23 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + cat <<- "EOF" > $P/usr/bin/oyatu + #!/bin/sh + XMODIFIERS="@im=none" + lpath=/usr/share/oyatu + $lpath/oyatu.tcl $lpath/test.oyatu $lpath/owlll.oyatu + EOF + chmod 755 $P/usr/bin/oyatu + cp -p oyatu.tcl{,.orig} + sed -i -e 's@wish8.0jp@wish@g' \ + -e 's@-copy.*normal-\*-\(..\).*$@-family fixed -size \1@g' \ + -e 's@-size 16@-size 13@g' -e 's@-size 10@-size 8@g' \ + -e 's@-size 14@-size 11@g' -e 's@kanji @@g' oyatu.tcl + install -d $P/usr/share/oyatu + install oyatu.tcl $P/usr/share/oyatu + install -m 644 test.oyatu owlll.oyatu $P/usr/share/oyatu + install oyatu.tcl.orig $P/usr/share/oyatu touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,7 +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 `cd $P ; find usr/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/oyatu tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/kterm/PlamoBuild.kterm-6.2.0 2017-09-25 16:06:13.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.sra.co.jp/pub/x11/kterm/kterm-6.2.0.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/kterm/kterm-patches.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/kterm/kterm-ja_ad.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=kterm +vers=6.2.0 arch=`uname -m` -build=P1 +build=P10 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="DEMO.kt.uu DEMO.xbm README.kt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,21 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + gunzip -c $W/kterm-6.2.0-16colors.diff.gz | patch -Np1 -i - + gunzip -c $W/kterm-6.2.0-secure.diff.gz | patch -Np1 -i - + gunzip -c $W/kterm-6.2.0-pje.diff.gz | patch -Np1 -i - + gunzip -c $W/kterm-6.2.0-glibc.pje.patch.gz | patch -Np0 -i - + gunzip -c $W/kterm-6.2.0-glibc2.1-1.patch.gz | patch -Np1 -i - + gunzip -c $W/kterm-6.2.0-glibc2.1-2.patch.gz | patch -Np1 -i - + gunzip -c $W/kterm-6.2.0-ext02.patch.gz | patch -Np1 -i - + bunzip2 -c $W/kterm-6.2.0-utmp98.patch.bz2 | patch -Np1 -i - + gunzip -c $W/kterm-6.2.0-rightbar.patch.gz | patch -Np1 -i - + gunzip -c $W/kterm-6.2.0-plamo.patch.gz | patch -Np1 -i - + gunzip -c $W/kterm-6.2.0-malloc.patch.gz | patch -Np0 -i - + cp -p kterm.h kterm.h.orig + chmod u+w kterm.h + sed '/KTERM_XAW3D/s@#undef @#define@g' kterm.h.orig > kterm.h for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +62,12 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + xmkmf -a + cp -p Makefile Makefile.orig + sed 's@-lXaw@-lXaw3d@g' Makefile.orig \ + | sed '/MANPATH =/s@man$@share/man@g' \ + | sed '/CONFDIR =/s@ETCX11@LIB@g' \ + | sed '/$(INSTALL).*kterm$/s@UID@BIN@g' > Makefile fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -62,18 +85,29 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install.man DESTDIR=$P fi done + jappdefdir=$P/usr/$libdir/X11/ja_JP.eucJP/app-defaults + install -d $jappdefdir + install -m 444 $W/app-defaults/KTerm-ja.ad $jappdefdir/KTerm + jmandir=$P/usr/share/man/ja_JP.eucJP + install -d $jmandir/man1 + nkf -e $B/kterm.jman > $jmandir/man1/kterm.1x + chmod 444 $jmandir/man1/kterm.1x touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $jmandir/man1 setup_docdir 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 usr/$libdir/X11/app-defaults/KTerm + tar rvpf $pkg.tar -C $P usr/$libdir/X11/ja_JP.eucJP/app-defaults/KTerm + tar rvpf $pkg.tar -C $P usr/share/man/man1/kterm.1x.gz + tar rvpf $pkg.tar -C $P usr/share/man/ja_JP.eucJP/man1/kterm.1x.gz 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/TiMidity++0.txz/TiMidity++/PlamoBuild.TiMidity++-2.15.0 2018-10-06 20:47:21.000000000 +0900 @@ -1,19 +1,25 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/timidity/TiMidity++-2.15.0-181006-2000.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/TiMidity++0.txz/TiMidity++/guspat-20000706-required.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=TiMidity++ +vers=2.15.0 arch=`uname -m` build=P1 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-audio=alsa,arts,esd,jack,ao,vorbis,flac,speex + --enable-dynamic=ncurses,slang,motif,tcltk,emacs,vt100,xaw,xskin,gtk,server,alsaseq + --enable-network --enable-spectrogram --enable-wrd" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS TODO ChangeLog.[123] + INSTALL.ja README.ja doc/C/CHANGES.02i doc/C/FAQ + `echo doc/C/README.{dl,sf,tk,xskin,xaw,alsaseq,m2m,mts,w32}` + `echo doc/ja_JP.eucJP/README.{dl,sf,tk,xskin,xaw,alsaseq,m2m,mts,w32}`" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +43,16 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p timidity/timidity.h{,.orig} + sed '/MAX_CHANNELS/s@32@80@g' timidity/timidity.h.orig > timidity/timidity.h for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} \ + --with-module-dir=/usr/$libdir/timidity fi done fi @@ -65,15 +75,48 @@ make install DESTDIR=$P fi done + appdefdir=$P/usr/$libdir/X11/app-defaults + install2 interface/TiMidity.ad $appdefdir/TiMidity + sed 's@${prefix}@/usr@g' $appdefdir/TiMidity > $appdefdir/TiMidity~ + mv $appdefdir/TiMidity~ $appdefdir/TiMidity + jappdefdir=$P/usr/$libdir/X11/ja_JP.eucJP/app-defaults + install2 interface/TiMidity-uj.ad $jappdefdir/TiMidity + sed 's@${prefix}@/usr@g' $jappdefdir/TiMidity > $jappdefdir/TiMidity~ + mv $jappdefdir/TiMidity~ $jappdefdir/TiMidity + jmandir=$mandir/ja_JP.eucJP + install2 doc/ja_JP.eucJP/timidity.1 $jmandir/man1/timidity.1 + install2 doc/ja_JP.eucJP/timidity.cfg.5 $jmandir/man5/timidity.cfg.5 touch $W/i.et cd $W 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/timidity + touch -t `date '+%m%d0900'` $P/usr/$libdir/timidity + gzip_dir $jmandir/man1 + gzip_dir $jmandir/man5 + shrtmdydir=$P/usr/share/timidity + cp -a timidity $P/usr/share + chown -R root.root $shrtmdydir + cp -p $shrtmdydir/timidity.cfg $shrtmdydir/timidity.cfg.orig + sed 's@/usr/local@/usr@g' $shrtmdydir/timidity.cfg.orig \ + > $shrtmdydir/timidity.cfg + touch -t 200104260900 $shrtmdydir/timidity.cfg + mv $shrtmdydir/{timidity.cfg.orig,LSPATCH,NoteFreqTable,inst,timidity.cfg} $C + mv $C/{timidity.cfg.orig,LSPATCH,NoteFreqTable,inst,timidity.cfg} $shrtmdydir + touch -r timidity $shrtmdydir setup_docdir 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 cvpf $pkg.tar -C $P usr/bin/timidity + tar rvpf $pkg.tar -C $P usr/$libdir/timidity + tar rvpf $pkg.tar -C $P usr/share/emacs/site-lisp/timidity.el + tar rvpf $pkg.tar -C $P usr/$libdir/X11/app-defaults/TiMidity + tar rvpf $pkg.tar -C $P usr/$libdir/X11/ja_JP.eucJP/app-defaults/TiMidity + tar rvpf $pkg.tar -C $P usr/share/man/man1/timidity.1.gz + tar rvpf $pkg.tar -C $P usr/share/man/man5/timidity.cfg.5.gz + tar rvpf $pkg.tar -C $P usr/share/man/ja_JP.eucJP/man1/timidity.1.gz + tar rvpf $pkg.tar -C $P usr/share/man/ja_JP.eucJP/man5/timidity.cfg.5.gz + tar rvpf $pkg.tar -C $P usr/share/timidity tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/TiMidity++1.txz/88proS/PlamoBuild.88proS-6.4.1 2017-09-25 14:09:09.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/TiMidity++1.txz/88proS/88pros.zip + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/TiMidity++1.txz/88proS/guspat-20000706-required.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/TiMidity++1.txz/88proS/guspat-20000706-optional.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 +pkgbase=88proS +vers=6.4.1 +arch=noarch +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ReadMe-j.txt Drumset-j.txt VupHistory-j.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -30,7 +32,24 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + for i in $url ; do if [ ! -f ${i##*/} ] ; then wget $i ; fi ; done + for i in $url ; do + case ${i##*/} in + 88pros.zip) ( + mkdir $S ; cd $S + unzip $W/${i##*/} + touch -t 200302040900 $S + ) ;; + guspat-20000706-required.tar.gz) + tar xvpzf ${i##*/} + mv timidity timidity~ ; mv timidity~ timidity~~ ; mv timidity~~ timidity~ + ;; + guspat-20000706-optional.tar.gz) + tar xvpzf ${i##*/} + ;; + esac + done fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,15 +84,33 @@ make install DESTDIR=$P fi done + shrtmdydir=$P/usr/share/timidity + install -d $shrtmdydir + sed 's@/usr/local@/usr@g' $W/timidity~/timidity.cfg \ + > $shrtmdydir/timidity.cfg.iz + touch -t 200104260900 $shrtmdydir/timidity.cfg.iz + for i in {88pro{t,d},altassign8p,tune,adsrmod,timidity}.cfg ; do + install2 $i $shrtmdydir/$i ; touch -r $i $shrtmdydir/$i + done + cp -p $shrtmdydir/timidity.cfg $shrtmdydir/timidity.cfg.orig2 + sed 's@#dir /usr/local@dir /usr@g' $shrtmdydir/timidity.cfg.orig2 \ + | sed 's@dir :inst@#dir :inst@g' > $shrtmdydir/timidity.cfg + touch -t 200302040900 $shrtmdydir/timidity.cfg + mv $shrtmdydir/{timidity.cfg.orig2,timidity.cfg} $C + mv $C/{timidity.cfg.orig2,timidity.cfg} $shrtmdydir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + install -d $P/guspat/usr/share + cp -a timidity $P/guspat/usr/share + chown -R root.root $P/guspat/usr/share/timidity setup_docdir 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 cvpf $pkg.tar -C $P usr/share/timidity/timidity.cfg.iz + tar rvpf $pkg.tar -C $P/guspat usr/share/timidity + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/timidity | tail -n+3` 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/TiMidity++2.txz/eawplus/PlamoBuild.eawplus-12.2 2017-09-25 17:06:02.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/TiMidity++2.txz/eawplus/eawplus-12.2.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/TiMidity++2.txz/eawplus/guspat-20000706-required.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/TiMidity++2.txz/eawplus/88pros.zip + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/TiMidity++2.txz/eawplus/eawpats12_full.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 +pkgbase=eawplus +vers=12.2 +arch=noarch +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="changelog.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -30,7 +33,29 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + for i in $url ; do if [ ! -f ${i##*/} ] ; then wget $i ; fi ; done + for i in $url ; do + case ${i##*/} in + eawplus-12.2.tar.gz) + tar xvpzf ${i##*/} + ;; + guspat-20000706-required.tar.gz) + tar xvpzf ${i##*/} + mv timidity timidity~ ; mv timidity~ timidity~~ ; mv timidity~~ timidity~ + ;; + 88pros.zip) ( + mkdir 88proS-6.4.1 ; cd 88proS-6.4.1 + unzip $W/${i##*/} + touch -t 200302040900 $W/88proS-6.4.1 + ) ;; + eawpats12_full.tar.gz) + mkdir -p timidity/eawpats + tar xvpzf ${i##*/} -C timidity/eawpats + touch -r timidity~ timidity ; touch -t 200204101242.42 timidity/eawpats + ;; + esac + done fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,15 +90,43 @@ make install DESTDIR=$P fi done + shrtmdydir=$P/usr/share/timidity + install -d $shrtmdydir + sed 's@#dir /usr/local@dir /usr@g' $W/88proS-6.4.1/timidity.cfg \ + | sed 's@dir :inst@#dir :inst@g' > $shrtmdydir/timidity.cfg.sh + touch -t 200302040900 $shrtmdydir/timidity.cfg.sh + for i in {h-hihatp,h-snare}.pat ; do + install2 $W/timidity~/inst/GUS/power/$i $shrtmdydir/inst/GUS/power/$i.orig + touch -r $W/timidity~/inst/GUS/power/$i $shrtmdydir/inst/GUS/power/$i.orig + done + for i in {h-hihatp,h-snare}.pat ; do + install2 $i $shrtmdydir/inst/GUS/power/$i + touch -r $i $shrtmdydir/inst/GUS/power/$i + done + for i in `ls -f | tail -n+3 | head -n15` ; do + install2 $i $shrtmdydir/inst/tamupat/$i + touch -r $i $shrtmdydir/inst/tamupat/$i + done + ( cd $shrtmdydir ; find inst -type d ! -name tamupat \ + -exec touch -r $W/timidity~/{} {} \; ) + touch -r $S $shrtmdydir/inst/tamupat + for i in {88prod2,timidity}.cfg ; do + install2 $i $shrtmdydir/$i ; touch -r $i $shrtmdydir/$i + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + install -d $P/guspat/usr/share + cp -a timidity $P/guspat/usr/share + chown -R root.root $P/guspat/usr/share/timidity setup_docdir 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 cvpf $pkg.tar -C $P usr/share/timidity/timidity.cfg.sh + tar rvpf $pkg.tar -C $P/guspat usr/share/timidity + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/timidity -maxdepth 1 | tail -n+3` 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/esound/PlamoBuild.esound-0.2.41 2018-04-07 20:00:44.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/GNOME/sources/esound/0.2/esound-0.2.41.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=esound +vers=0.2.41 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-libwrap" +DOCS="README AUTHORS COPYING.LIB ChangeLog INSTALL NEWS TODO TIPS + MAINTAINERS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,10 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p esd.conf{,.orig} + sed -i -e '/^spawn_options=/s@-as 2@-as 5@' \ + -e '/^default_options=/s@$@-as 5@' esd.conf for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +70,35 @@ make install DESTDIR=$P fi done + touch $P/usr/share/doc/esound/* + chown root.root $P/usr/share/doc/esound/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/esound $docdir/$src/docs + mv $docdir/$src/{docs,{$func,$myname,$spec}.gz} $C + mv $C/{docs,{$func,$myname,$spec}.gz} $docdir/$src + touch -r $S $docdir/$src convert_links + cat <<- EOF >> $P/install/doinst.sh + if [ -x usr/bin/esdcompat ] ; then + ( cd usr/bin ; rm -rf esd ) + ( cd usr/bin ; ln -sf esdcompat esd ) + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P etc/esd.conf 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/glib_1/PlamoBuild.glib_1-1.2.10 2018-04-23 17:52:55.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/glib/1.2/glib-1.2.10.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/glib_1/glib-1.2.10-29.fc9.src.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=glib_1 +vers=1.2.10 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=glib-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS README.win32" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + patch -Np1 -i $W/glib-1.2.10-29.fc9.src/glib-1.2.10-isowarning.patch + patch -Np1 -i $W/glib-1.2.10-29.fc9.src/glib-1.2.10-gcc34.patch + patch -Np1 -i $W/glib-1.2.10-29.fc9.src/glib-1.2.10-underquoted.patch + patch -Np1 -i $W/glib-1.2.10-29.fc9.src/glib-1.2.10-no_undefined.patch + patch -Np1 -i $W/glib-1.2.10-29.fc9.src/glib-1.2.10-multilib.patch + cp -p /usr/share/libtool/build-aux/config.{guess,sub} . for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -73,8 +81,17 @@ setup_docdir 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/$libdir -name libglib*` + tar rvpf $pkg.tar -C $P usr/$libdir/glib + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgmodule*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgthread*` + tar rvpf $pkg.tar -C $P usr/include/glib-1.2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/gtk+_1/PlamoBuild.gtk+_1-1.2.10 2018-04-23 17:57:44.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gtk+/1.2/gtk+-1.2.10.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/gtk+_1/gtk+-1.2.10-61.fc9.src.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gtk+_1 +vers=1.2.10 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gtk+-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS TODO + HACKING NEWS.pre-1-0 ChangeLog.pre-1-0 README.cvs-commits" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,34 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.6-ahiguti.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.8-wrap-alnum.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-alignment.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-expose.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-focus.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-encoding.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-ctext.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-utf8fontset.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-kpenter.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-themeswitch.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-pixmapref.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-missingchar.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-ukfont.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-deletedir.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-fontwarning.patch + patch -Np0 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-troughpaint.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-localecrash.patch + patch -Np0 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-dndorder.patch + patch -Np0 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-clistfocusrow.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-bellvolume.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-libtool.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-gtkgdkdep.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-underquoted.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-ppc64.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-no_undefined.patch + patch -Np1 -i $W/gtk+-1.2.10-61.fc9.src/gtk+-1.2.10-multilib.patch + cp -p /usr/share/libtool/build-aux/config.{guess,sub} . for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,9 +102,20 @@ compress setup_docdir convert_links + prune_symlink $P/etc/gtk + touch -t `date '+%m%d0900'` $P/etc/gtk 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gtk-1.2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/themes/Default + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P etc/gtk 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/03_xclassics/openmotif/PlamoBuild.openmotif-2.3.3 2018-06-30 18:58:43.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.ics.com/openmotif/2.3/2.3.3/openmotif-2.3.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=openmotif +vers=2.3.3 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README RELEASE BUGREPORT LICENSE RELNOTES INSTALL.configure + COPYRIGHT.MOTIF TODO ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -50,7 +51,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + LANG=C make fi done fi @@ -70,11 +71,22 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $mandir/manm setup_docdir 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/$libdir/X11 -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 | tail -n+3` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/X11/bitmaps | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+3` + tar rvpf $pkg.tar -C $P usr/share/Xm 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/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man4 | 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 `cd $P ; find usr/share/man/manm | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/AfterStepClassic/PlamoBuild.AfterStepClassic-1.1beta2 2019-10-08 18:48:24.000000000 +0900 @@ -1,19 +1,38 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.afterstep.org/archives/Classic/AfterStepClassic-1.1beta2.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/AfterStepClassic/AfterStepClassic-1.1beta2-linux.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/AfterStepClassic/AfterStepClassic-1.1beta2-fontset.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/AfterStepClassic/AfterStepClassic-1.1beta2-hide.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/AfterStepClassic/AfterStepClassic-1.1beta2-iconanim.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/AfterStepClassic/AfterStepClassic-1.1beta2-min_height.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/AfterStepClassic/AfterStepClassic-1.1beta2-asclock.patch + http://www.tigr.net/afterstep/download/ascpu/ascpu-1.11.tar.gz + http://www.tigr.net/afterstep/download/asmem/asmem-1.12.tar.gz + http://www.tigr.net/afterstep/download/astime/astime-2.8.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/AfterStepClassic/plamo_stepicons.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/AfterStepClassic/plamo_banner-1.0.0.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=AfterStepClassic +vers=1.1beta2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P9 +src[0]=$pkgbase-$vers +src[1]=ascpu-1.11 +src[2]=asmem-1.12 +src[3]=astime-2.8 +src[4]=plamo_banner-1.0.0 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS[0]="CREDITS ChangeLog INSTALL FAQ README README.8bit module-interface.txt" +DOCS[1]="TODO LICENSE README INSTALL CHANGES" +DOCS[2]="LICENSE README INSTALL CHANGES" +DOCS[3]="README LICENSE INSTALL CHANGES" +DOCS[4]="README COPYING ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +56,27 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd ${B[0]} + patch -Np1 -i $W/AfterStepClassic-1.1beta2-linux.patch + patch -Np1 -i $W/AfterStepClassic-1.1beta2-fontset.patch + patch -Np0 -i $W/AfterStepClassic-1.1beta2-hide.patch + patch -Np0 -i $W/AfterStepClassic-1.1beta2-iconanim.patch + patch -Np0 -i $W/AfterStepClassic-1.1beta2-min_height.patch + patch -Np1 -i $W/AfterStepClassic-1.1beta2-asclock.patch + cp -p configure.h{,.orig} + sed -i -e "/^#define/s@lib@$libdir@g" \ + -e '/^#define/s@bin/X11@bin@g' configure.h + cp -p sample.steprc{,.orig} + sed -i -e '/^ModulePath/s@:.*@@g' \ + -e "/^ModulePath/s@lib@$libdir@g" \ + -e '/^PixmapPath/s@$@:/usr/share/afterstep/icons@g' \ + -e '/^ModulePath/!s@lib/X11@share@g' sample.steprc + for i in `seq 3` ; do + cd ${B[$i]} + cp -p autoconf/Makefile.common.in{,.orig} + sed -i '/$(INSTALL/s@[[:graph:]]*$@$(DESTDIR)&@g' \ + autoconf/Makefile.common.in + done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +85,13 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cd ${B[0]} + xmkmf -a + for i in afterstep \ + modules/{Audio,Auto,Wharf,Banner,Pager,asclock,Animate} ; do + cp -p $i/Makefile{,.orig} + sed -i '/MANPATH =/s@man@share/man@g' $i/Makefile + done fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -62,19 +109,41 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + case $i in + 0) make install install.man DESTDIR=$P ;; + *) make install DESTDIR=$P ;; + esac fi done + cd ${B[0]} + install -d $P/usr/share/afterstep/{icons,backgrounds,sounds} + find icons -maxdepth 1 -name "*.xpm" \ + -exec install -m 644 {} $P/usr/share/afterstep/icons \; + find backgrounds -name "*.jpg" \ + -exec install -m 644 {} $P/usr/share/afterstep/backgrounds \; + find sounds -name "*.au" \ + -exec install -m 644 {} $P/usr/share/afterstep/sounds \; touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_bindir $P/usr/$libdir/X11/afterstep + mv $P/usr/bin/plamo_banner $P/usr/$libdir/X11/afterstep + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/$libdir/X11/afterstep + cp -a pixmaps $P/usr/share + chown -R root.root $P/usr/share/pixmaps + cp -a backgrounds $P/usr/share/pixmaps + chown -R root.root $P/usr/share/pixmaps/backgrounds + touch -r pixmaps $P/usr/share/pixmaps setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/X11/afterstep + tar rvpf $pkg.tar -C $P usr/share/afterstep + tar rvpf $pkg.tar -C $P usr/share/pixmaps 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 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/doc -maxdepth 1 | tail -n+2` TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/KoboDeluxe/PlamoBuild.KoboDeluxe-0.5.1 2019-10-09 09:32:16.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://olofson.net/kobodl/download/KoboDeluxe-0.5.1.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/KoboDeluxe/kobodeluxe_0.5.1-5.diff.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=KoboDeluxe +vers=0.5.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--sharedstatedir=/var/games" +DOCS="README COPYING COPYING.LIB ChangeLog TODO README.jp + README.sfont README.xkobo README.xkobo.jp README.osx README.html" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + gunzip -c $W/kobodeluxe_0.5.1-5.diff.gz | patch -Np1 -i - + patch -Np1 -i debian/patches/04_enemies-pipe-decl.patch + patch -Np1 -i debian/patches/01_graphics_window-signed-char.patch + patch -Np1 -i debian/patches/02_paths.patch + patch -Np1 -i debian/patches/03_manpage-minus-not-hyphen.patch + patch -Np1 -i debian/patches/05_const_charp_conversion.patch for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -73,7 +82,9 @@ setup_docdir 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 usr/share/kobo-deluxe + tar rvpf $pkg.tar -C $P var/games/kobo-deluxe + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man6 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/alsa_apps/PlamoBuild.alsa_apps-1.1 2019-10-14 15:35:24.000000000 +0900 @@ -1,19 +1,33 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.net/sourceforge/pmidi/pmidi-1.6.0.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/alsa_apps/pmidi-1.6.0-portfix.patch.gz + ftp://ftp.suse.com/pub/people/tiwai/aseqview/aseqview-0.2.8.tar.gz + http://www.alsa-project.org/~iwai/vkeybd-0.1.17.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/alsa_apps/vkeybd-0.1.17-awe_voice_h.patch.gz + http://pkl.net/~node/software/alsa-patch-bay/alsa-patch-bay-1.0.0.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/alsa_apps/alsa-patch-bay-1.0.0-not_declared.patch.gz + https://www.fltk.org/pub/fltk/1.3.5/fltk-1.3.5-source.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=alsa_apps +vers=1.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P6 +src[0]=pmidi-1.6.0 +src[1]=aseqview-0.2.8 +src[2]=vkeybd +src[3]=alsa-patch-bay-1.0.0 +patchfiles[0]="pmidi-1.6.0-portfix.patch.gz" +patchfiles[2]="vkeybd-0.1.17-awe_voice_h.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS[0]="README AUTHORS COPYING ChangeLog INSTALL NEWS" +DOCS[1]="NEWS README AUTHORS INSTALL ChangeLog COPYING" +DOCS[2]="README ChangeLog" +DOCS[3]="NEWS TODO README THANKS AUTHORS INSTALL ChangeLog COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +51,36 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd ${B[2]} + cp -p Makefile{,.orig} + sed -i -e 's@/usr/local@/usr@g' -e '/TCL_VERSION =/s@8\.4@8.6@g' Makefile + cd ${B[3]}/src + gunzip -c $W/alsa-patch-bay-1.0.0-not_declared.patch.gz | patch -Np2 -i - + cp -p Makefile.in{,.orig} + sed -i -e 's@$(bindir)/alsa@alsa@g' \ + -e 's@$(bindir)/jack@$(DESTDIR)$(bindir)/jack@g' Makefile.in + cd $W/fltk-1.3.5 + if [ $arch == x86_64 ] ; then + ./configure --prefix=$W/fltk CFLAGS="-fPIC" CXXFLAGS="-fPIC" + else + ./configure --prefix=$W/fltk + fi + make + make install + OPT_CONFIG[3]="${OPT_CONFIG[3]} --with-fltk-config=$W/fltk/bin" for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + if [ $i -eq 3 -a $arch == x86_64 ] ; then + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} \ + CXXFLAGS="-g -O2 -fPIC" CFLAGS="-g -O2 -fPIC" + else + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} + fi fi done fi @@ -65,16 +103,80 @@ make install DESTDIR=$P fi done + cp -p $P/usr/bin/vkeybd $P/usr/share/vkeybd + cat <<- "EOF" > $P/usr/bin/vkeybd + #!/bin/sh + XMODIFIERS="@im=none" + /usr/share/vkeybd/vkeybd "$@" + EOF + cp -p $P/usr/share/vkeybd/vkeybdmap{,.orig} + cat <<- "EOF" > $P/usr/share/vkeybd/vkeybdmap + global keymap + set keymap { + {z 0} + {s 1} + {x 2} + {d 3} + {c 4} + {v 5} + {g 6} + {b 7} + {h 8} + {n 9} + {j 10} + {m 11} + {comma 12} + {l 13} + {period 14} + {semicolon 15} + {slash 16} + {backslash 17} + {bracketright 18} + {q 16} + {w 17} + {3 18} + {e 19} + {4 20} + {r 21} + {5 22} + {t 23} + {y 24} + {7 25} + {u 26} + {8 27} + {i 28} + {o 29} + {0 30} + {p 31} + {minus 32} + {at 33} + {asciicircum 34} + {bracketleft 35} + } + + EOF + mv $P/usr/share/vkeybd/vkeybd{,.tcl,.list,map{.orig,-german,}} $C + mv $C/vkeybd{,.tcl,.list,map{.orig,-german,}} $P/usr/share/vkeybd + install2 ${B[2]}/vkeybd.man $mandir/man1/vkeybd.1 touch $W/i.et cd $W 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/alsa-patch-bay/driver + strip_libdir $P/usr/$libdir/alsa-patch-bay/ui + TZ=UTC touch -t `date -u '+%m%d0000'` \ + $P/usr/$libdir/alsa-patch-bay/{driver,ui} setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/vkeybd + tar rvpf $pkg.tar -C $P usr/$libdir/alsa-patch-bay + tar rvpf $pkg.tar -C $P usr/share/pixmaps/5-pin-din.png + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/applications | 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 usr/share/doc/$src + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/doc -maxdepth 1 | tail -n+2` + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/emiclock/PlamoBuild.emiclock-2.0.2 2019-10-12 18:21:57.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.vector.co.jp/11/78/1347/emiclock-2.0.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=emiclock +vers=2.0.2 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="00.README COPYRIGHT* ChangeLog INSTALL.ja MANIFEST README.ja + `echo doc/{README-OS,TECH-NOTE}.ja doc/Original/README.{mac,win}.ja`" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p config.h{,.orig} + sed -i '/USE_SOUND/s@#undef@#define@g' config.h for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +49,11 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + xmkmf + make depend + cp -p Makefile{,.orig} + sed -i -e '/MANPATH =/s@/man@/share/man@g' \ + -e '/^SOUND_DIRECTORY =/!s@$(LIBDIR)/EmiClock@$(DESTDIR)&@g' Makefile fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -63,17 +72,32 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + make install.man DESTDIR=$P fi done + rm $P/usr/$libdir/X11/app-defaults + mv $P/etc/X11/app-defaults $P/usr/$libdir/X11 + jappdefdir=$P/usr/$libdir/X11/ja_JP.eucJP/app-defaults + install2 resources/R6/EUC/EmiClock.ad $jappdefdir/EmiClock + chmod 444 $jappdefdir/EmiClock touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + cp -a $S/sounds $docdir/$src + chown -R root.root $docdir/$src/sounds + gzip_one $docdir/$src/sounds/README-myu.ja + mv $docdir/$src/{sounds,{$func,$myname,$spec}.gz} $C + mv $C/{sounds,{$func,$myname,$spec}.gz} $docdir/$src + touch -r $S $docdir/$src ; touch -r $S/sounds $docdir/$src/sounds 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 cvpf $pkg.tar -C $P usr/bin/emiclock + tar rvpf $pkg.tar -C $P usr/$libdir/X11/EmiClock + tar rvpf $pkg.tar -C $P usr/$libdir/X11/app-defaults/EmiClock + tar rvpf $pkg.tar -C $P usr/$libdir/X11/ja_JP.eucJP/app-defaults/EmiClock + tar rvpf $pkg.tar -C $P usr/share/man/man1/emiclock.1.gz tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/mf2t/PlamoBuild.mf2t-1.0 2019-10-14 11:37:52.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://archive.cs.uu.nl/pub/MIDI/PROGRAMS/mf2tsrc.zip + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/mf2t/mf2t-eval_order.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=mf2t +vers=1.0 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers -patchfiles="" +patchfiles="mf2t-eval_order.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README.TXT `echo example{1,2,3,4,5}.{mid,txt}`" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -30,13 +31,21 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + for i in $url ; do if [ ! -f ${i##*/} ] ; then wget $i ; fi ; done + for i in $url ; do + case ${i##*.} in + zip) ( mkdir $S ; cd $S ; unzip $W/${i##*/} ) ;; + esac + done fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p makefile.unx Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,15 +74,17 @@ make install DESTDIR=$P fi done + install -d $P/usr/bin + install mf2t t2mf $P/usr/bin touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/qvwm/PlamoBuild.qvwm-1.1.12 2019-10-14 13:09:25.000000000 +0900 @@ -1,19 +1,29 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.csg.is.titech.ac.jp/~kourai/qvwm/archive/qvwm/qvwm-1.1.12.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/qvwm/qvwm-1.1.12-timer.diff.gz + http://www.csg.is.titech.ac.jp/~kourai/qvwm/archive/qvwm/qvbanner-1.0.2.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/qvwm/qvbanner-1.0.2-expire.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/qvwm/qvwm_sounds.tar.bz2 + http://www.fvwm.org/generated/icon_download/fvwm_icons-20070101.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/qvwm/plamo_pixmaps.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=qvwm +vers=1.1.12 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +build=P8 +src[0]=$pkgbase-$vers +src[1]=qvbanner-1.0.2 +patchfiles[0]="qvwm-1.1.12-timer.diff.gz" +patchfiles[1]="qvbanner-1.0.2-expire.patch.gz" +OPT_CONFIG="--without-imlib" +DOCS[0]="README `echo doc/{COPYING,BUGS.{en,fr,jp},CHANGES.{en,jp}}` + `echo doc/{FAQ,INSTALL,README,TODO}.{en,fr,jp}`" +DOCS[1]="COPYING `echo README.{jp,en,fr}` `echo CHANGES.{jp,en}`" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +75,34 @@ make install DESTDIR=$P fi done + install2 $B/man/qvwm.man-jp $mandir/ja_JP.eucJP/man1/qvwm.1x + install2 $B/man/qvwm.man-fr $mandir/fr_FR/man1/qvwm.1x + install -m 644 ${B[1]}/logo.xpm $P/usr/share/qvwm/images touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + gzip_dir $mandir/ja_JP.eucJP/man1 + gzip_dir $mandir/fr_FR/man1 + find qvwm_sounds -type f -exec cp -p {} $P/usr/share/qvwm/sounds \; + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/share/qvwm/sounds + chown -R root.root $P/usr/share/qvwm/sounds + pixmapsdir=$P/usr/include/X11/pixmaps + install -d $P/usr/include/X11 + cp -a fvwm_icons-20070101 $pixmapsdir + find plamo_pixmaps -type f -exec cp -p {} $pixmapsdir \; + touch -r fvwm_icons-20070101 $pixmapsdir + chmod -R o+rX $pixmapsdir ; chown -R root.root $pixmapsdir setup_docdir 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 usr/share/doc/$src + tar rvpf $pkg.tar -C $P usr/share/qvwm + tar rvpf $pkg.tar -C $P usr/include/X11/pixmaps + tar rvpf $pkg.tar -C $P usr/share/man/man1/qvwm.1x.gz + tar rvpf $pkg.tar -C $P usr/share/man/ja_JP.eucJP/man1/qvwm.1x.gz + tar rvpf $pkg.tar -C $P usr/share/man/fr_FR/man1/qvwm.1x.gz + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/doc -maxdepth 1 | tail -n+2` TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/rxvt/PlamoBuild.rxvt-2.7.10 2019-10-14 13:50:15.000000000 +0900 @@ -1,19 +1,26 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.net/sourceforge/rxvt/rxvt-2.7.10.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/rxvt/rxvt-2.7.10-utempter.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=rxvt +vers=2.7.10 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="rxvt-2.7.10-utempter.patch.gz" +OPT_CONFIG="--enable-languages --enable-utmp --enable-wtmp + --enable-xpm-background --enable-transparency --enable-menubar + --enable-graphics --enable-rxvt-scroll --enable-next-scroll + --enable-xterm-scroll --enable-xim --enable-xgetdefault + --enable-frills --enable-linespace --enable-24bit + --enable-keepscrolling --enable-mousewheel --enable-slipwheeling + --enable-old-selection" +DOCS="ChangeLog README.configure INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +44,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p src/feature.h{,.orig} + sed -i 's@/X11R6/lib@/share@g' src/feature.h for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/tgif/PlamoBuild.tgif-4.2.5 2019-10-14 14:08:36.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://bourbon.usc.edu/pub/tgif/free-of-charge/tgif-4.2.5.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=tgif +vers=4.2.5 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="License ChangeLog Copyright AUTHORS HISTORY README NEWS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,7 +37,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches - for i in `seq 0 $((${#B[@]} - 1))` ; do + cd $B + cp -p Tgif.tmpl{,.orig} + sed -i 's@\(^MOREDEFINES.*=$\)@\1 -DOVERTHESPOT -DENABLE_NLS -DA4PAPER@g' \ + Tgif.tmpl + cp -p po/ja/ja.po{,.orig} + sed -i 's@JISX-0208-1983-0@EUC-JP@g' po/ja/ja.po + false && for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ @@ -45,14 +51,19 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + xmkmf + cp -p Makefile{,.orig} + sed -i '/MANPATH =/s@/man@/share/man@g' Makefile + ( cd po ; xmkmf -a ) fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make tgif fi done + ( cd po ; make ) fi if [ $opt_package -eq 1 ] ; then root_priv @@ -62,19 +73,31 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install.man DESTDIR=$P fi done + ( cd po ; make install DESTDIR=$P ) + install -d $P/usr/share/X11/ja_JP.eucJP/app-defaults + install -m 644 po/ja/Tgif.ad \ + $P/usr/share/X11/ja_JP.eucJP/app-defaults/Tgif touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + rm $docdir/$src/ChangeLog.gz + ln -s HISTORY.gz $docdir/$src/ChangeLog.gz convert_links + prune_symlink $docdir/$src + touch -r $S $docdir/$src tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/X11/tgif + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/X11/ja_JP.eucJP/app-defaults/Tgif 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 + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/unclutter/PlamoBuild.unclutter-1.09 2019-10-14 14:18:33.000000000 +0900 @@ -1,15 +1,15 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/unclutter/unclutter-1.09.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=unclutter +vers=1.09 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" @@ -45,6 +45,10 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + xmkmf -a + cp -p Makefile{,.orig} + sed -i -e '/^ *MANPATH =/s@/usr@/usr/share@g' \ + -e '/^BINDIR/s@^@#@g' -e '/^MANDIR/s@^@#@g' Makefile fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -62,7 +66,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install.man DESTDIR=$P fi done touch $W/i.et --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/xcalendar/PlamoBuild.xcalendar-4.0.1+i18n 2019-10-21 13:41:23.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xcalendar/xcalendar-4.0.1+i18n.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xcalendar +vers=4.0.1+i18n arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README README.wall" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,33 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile{,.orig} + sed -i -e 's@/X11R6@@g' -e '/MANPATH =/s@man@share/man@g' \ + -e "/USRLIBDIR =/s@/lib@/$libdir@g" -e 's@-DCSRG_BASED @@g' \ + -e 's@\(EXTRA_LIBRARIES =\).*$@\1@g' -e 's@EUC@eucJP@g' Makefile + cat <<- "EOF" | patch Makefile + 707,709c707,709 + < @if [ -d $(LIBDIR)/ja_JP.eucJP/app-defaults ]; then set +x; \ + < else (set -x; $(MKDIRHIER) $(LIBDIR)/ja_JP.eucJP/app-defaults); fi + < $(INSTALL) -c $(INSTAPPFLAGS) XCal-uj.ad $(LIBDIR)/ja_JP.eucJP/app-defaults/XCalendar + --- + > @if [ -d $(DESTDIR)$(LIBDIR)/ja_JP.eucJP/app-defaults ]; then set +x; \ + > else (set -x; $(MKDIRHIER) $(DESTDIR)$(LIBDIR)/ja_JP.eucJP/app-defaults); fi + > $(INSTALL) -c $(INSTAPPFLAGS) XCal-uj.ad $(DESTDIR)$(LIBDIR)/ja_JP.eucJP/app-defaults/XCalendar + 726,727c726,727 + < @if [ -d $(DESTDIR) $(XCALENDAR_LIBDIR) ]; then set +x; \ + < else (set -x; $(MKDIRHIER) $(DESTDIR) $(XCALENDAR_LIBDIR)); fi + --- + > @if [ -d $(DESTDIR)$(XCALENDAR_LIBDIR) ]; then set +x; \ + > else (set -x; $(MKDIRHIER) $(DESTDIR)$(XCALENDAR_LIBDIR)); fi + 731c731 + < (set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i $(DESTDIR) $(XCALENDAR_LIBDIR)); \ + --- + > (set -x; $(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $$i $(DESTDIR)$(XCALENDAR_LIBDIR)); \ + EOF + cp -p xcalendar.c{,.orig} + sed -i 's@/X11R6@@g' xcalendar.c for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -62,7 +89,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install.man DESTDIR=$P fi done touch $W/i.et @@ -73,6 +100,9 @@ setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/X11/app-defaults/XCalendar + tar rvpf $pkg.tar -C $P usr/$libdir/X11/ja_JP.eucJP/app-defaults/XCalendar + tar rvpf $pkg.tar -C $P usr/$libdir/X11/xcalendar 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/xengine/PlamoBuild.xengine-1.11 2019-10-14 14:53:56.000000000 +0900 @@ -1,17 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xengine/xengine-1.11.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xengine/xengine_1.11-11.diff.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xengine +vers=1.11 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" +patchfiles="xengine_1.11-11.diff.gz" OPT_CONFIG="" DOCS="README" template=20180815 @@ -45,6 +46,9 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + xmkmf -a + cp -p Makefile{,.orig} + sed -i '/MANPATH =/s@/man@/share/man@g' Makefile fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -62,7 +66,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install.man DESTDIR=$P fi done touch $W/i.et --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/xlockmore/PlamoBuild.xlockmore-5.41 2019-10-14 15:58:40.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.tux.org/~bagleyd/xlock/xlockmore-5.41/xlockmore-5.41.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xlockmore +vers=5.41 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-pam --enable-use-mb --with-esound --with-lang=ja" +DOCS="`echo docs/{3d.howto,cell_automata,HACKERS.GUIDE{,.fr}}` + `echo docs/{Purify{,.sunos{4,5}},Revisions,TODO}` README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +38,27 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch == x86_64 ] ; then + cp -p configure{,.orig} + sed -i -e '/^#define DEF_TTFONT/s@lib@lib64@g' \ + -e '/^#define DEFAULT_SOUND_DIR/s@lib@lib64@g' configure + fi + cp -p config.h.in{,.orig} + cat <<- "EOF" | patch config.h.in + 394c394 + < #undef FTGL213 + --- + > #define FTGL213 1 + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} \ + XLOCKLIBS=-laudiofile \ + ac_cv_x_app_defaults='\$\{prefix\}'/$libdir/X11/app-defaults fi done fi @@ -62,17 +78,65 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install prefix=$P/usr + make install.man prefix=$P/usr + make install.ad prefix=$P/usr fi done + sed -i '/^XLock\.sound:/s@off@on@g' $P/usr/$libdir/X11/app-defaults/XLock + if [ $arch == x86_64 ] ; then + sed -i 's@lib@lib64@g' $P/usr/$libdir/X11/app-defaults/XLock + fi + cat <<- "EOF" | patch $P/usr/$libdir/X11/app-defaults/XLock + 95,99c95,100 + < XLock.username: Name: + < XLock.password: Password: + < XLock.info: Enter password to unlock; select icon to lock. + < XLock.validate: Validating login... + < XLock.invalid: Invalid login. + --- + > !! Japanese by: YOKOTA Hiroshi + > XLock.username: ログイン名: + > XLock.password: パスワード: + > XLock.info: Enter パスワードを入力して下さい。アイコンをクリックすると再ロックします。 + > XLock.validate: パスワード検査中... + > XLock.invalid: パスワードが違います。 + 101c102 + < XLock.logoutButtonLabel: Click here to logout + --- + > XLock.logoutButtonLabel: ここを押すとログアウトします + 103,106c104,107 + < You may log out this session if no terminals are available.\n\ + < WARNING: This will crash any open applications that the user\n\ + < has running. You should try to contact the user if possible\n\ + < before logging them out. + --- + > ターミナルから X を起動していない場合はセッションの終了が出来ます。 + > XLock.logoutFailedString: \ + > ログアウトに失敗しました。\n\ + > このユーザーは自動ログアウト出来ません。 + EOF + install -m 644 xmlock/XmLock-jp.ad $P/usr/$libdir/X11/app-defaults/XmLock + install -d $P/usr/$libdir/X11/xlock/sounds + install -m 644 sounds/*.au $P/usr/$libdir/X11/xlock/sounds touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + install -d $P/etc/pam.d + cat <<- "EOF" > $P/etc/pam.d/xlock + #%PAM-1.0 + auth include plamo-default + EOF + touch -t `date '+%m%d0900'` $P/etc/pam.d/xlock setup_docdir 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/$libdir/X11/app-defaults | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/xlock + tar rvpf $pkg.tar -C $P usr/$libdir/X11/xlock + tar rvpf $pkg.tar -C $P etc/pam.d/xlock 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/xmascot/PlamoBuild.xmascot-2.6a 2019-10-14 16:37:22.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://cclub-flying.dsl.gr.jp/products/xmascot/xmascot2.6a.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xmascot +vers=2.6a arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README README.jp XMascot-faq.jp ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p config.tmpl{,.orig} + sed -i -e '/USE_SOUND/s@#undef@#define@g' \ + -e '/^SOUND_COMMAND =/s@cat.*@aplay %s@g' \ + -e '/USE_XAW3D/s@#undef@#define@g' config.tmpl for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +50,9 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + xmkmf -a + cp -p Makefile{,.orig} + sed -i '/MANPATH =/s@/man@/share/man@g' Makefile fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,15 +73,25 @@ make install DESTDIR=$P fi done + rm $P/usr/$libdir/X11/app-defaults + mv $P/etc/X11/app-defaults $P/usr/$libdir/X11 + make install.man DESTDIR=$P + install2 xmascot.jman $mandir/ja_JP.eucJP/man1/xmascot.1x + chmod 444 $mandir/ja_JP.eucJP/man1/xmascot.1x touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + gzip_dir $mandir/ja_JP.eucJP/man1 setup_docdir 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 cvpf $pkg.tar -C $P usr/bin/xmascot + tar rvpf $pkg.tar -C $P usr/$libdir/X11/xmascot + tar rvpf $pkg.tar -C $P usr/$libdir/X11/app-defaults/XMascot + tar rvpf $pkg.tar -C $P usr/$libdir/X11/ja_JP.eucJP/app-defaults/XMascot + tar rvpf $pkg.tar -C $P usr/share/man/man1/xmascot.1x.gz + tar rvpf $pkg.tar -C $P usr/share/man/ja_JP.eucJP/man1/xmascot.1x.gz tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/xosview/PlamoBuild.xosview-1.8.3 2019-10-14 19:09:01.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/xosview/xosview-1.8.3.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xosview-1.8.3-conversion.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xosview-emptyxpaths.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xosview +vers=1.8.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="xosview-1.8.3-conversion.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES COPYING* README* TODO" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,45 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + gunzip -c $W/xosview-emptyxpaths.patch.gz | patch -Np0 -i - + cp -p config/Makefile.top.in{,.orig} + if [ $arch == x86_64 ] ; then + sed -i '/XAPPLOADDIR=/s@/lib@/lib64@g' config/Makefile.top.in + fi + cat <<- "EOF" | patch config/Makefile.top.in + 58a59,63 + > @echo "*** Making sure $(DESTDIR)$(BINDIR) exists..." + > @if [ ! -d $(DESTDIR)$(BINDIR) ]; then \ + > echo "*** Making $(DESTDIR)$(BINDIR)..."; \ + > mkdir -p $(DESTDIR)$(BINDIR); \ + > fi + 60c65,70 + < @INSTALL_PROGRAM@ @INSTALL_ARGS@ xosview $(BINDIR) + --- + > @INSTALL_PROGRAM@ @INSTALL_ARGS@ xosview $(DESTDIR)$(BINDIR) + > @echo "*** Making sure $(DESTDIR)$(XAPPLOADDIR) exists..." + > @if [ ! -d $(DESTDIR)$(XAPPLOADDIR) ]; then \ + > echo "*** Making $(DESTDIR)$(XAPPLOADDIR)..."; \ + > mkdir -p $(DESTDIR)$(XAPPLOADDIR); \ + > fi + 62,66c72,76 + < @INSTALL_DATA@ Xdefaults $(XAPPLOADDIR)/XOsview + < @echo "*** Making sure $(MANDIR) exists..." + < @if [ ! -d $(MANDIR) ]; then \ + < echo "*** Making $(MANDIR)..."; \ + < mkdir $(MANDIR); \ + --- + > @INSTALL_DATA@ Xdefaults $(DESTDIR)$(XAPPLOADDIR)/XOsview + > @echo "*** Making sure $(DESTDIR)$(MANDIR) exists..." + > @if [ ! -d $(DESTDIR)$(MANDIR) ]; then \ + > echo "*** Making $(DESTDIR)$(MANDIR)..."; \ + > mkdir -p $(DESTDIR)$(MANDIR); \ + 69c79 + < @INSTALL_DATA@ xosview.1 $(MANDIR) + --- + > @INSTALL_DATA@ xosview.1 $(DESTDIR)$(MANDIR) + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -73,6 +114,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 `cd $P ; find usr/$libdir/X11/app-defaults | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/xshisen/PlamoBuild.xshisen-1.51 2019-10-14 19:59:47.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.yz.yamagata-u.ac.jp/pub/FreeBSD/ports/local-distfiles/hrs/xshisen-1.51.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xshisen/xshisen-debian-bug213957.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xshisen/xshisen-debian-bug289784.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xshisen/xshisen-1.51-delete-hintArray.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xshisen/xshisen-1.51-DESTDIR.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xshisen +vers=1.51 arch=`uname -m` -build=P1 +build=P7 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--sharedstatedir=/var/games" +DOCS="INSTALL INSTALL.jp ChangeLog LICENSE README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +41,24 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + gunzip -c $W/xshisen-debian-bug213957.patch.gz | patch -Np0 -i - + gunzip -c $W/xshisen-debian-bug289784.patch.gz | patch -Np0 -i - + gunzip -c $W/xshisen-1.51-delete-hintArray.patch.gz | patch -Np1 -i - + gunzip -c $W/xshisen-1.51-DESTDIR.patch.gz | patch -Np1 -i - + cp -p configure{,.orig} + sed -i '/LIBS=/s@Xaw@Xaw3d@g' configure + cat <<- "EOF" | patch configure + 2486a2487 + > LANGS="ja_JP.eucJP pl" + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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-includes=/usr/include --x-libraries=/usr/$libdir fi done fi @@ -62,7 +78,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install.man DESTDIR=$P fi done touch $W/i.et @@ -70,10 +86,17 @@ TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + gzip_dir $mandir/ja_JP.eucJP/man6 setup_docdir 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 usr/$libdir/X11/app-defaults/XShisen + tar rvpf $pkg.tar -C $P usr/$libdir/X11/ja_JP.eucJP/app-defaults/XShisen + tar rvpf $pkg.tar -C $P usr/$libdir/X11/pl/app-defaults/XShisen + tar rvpf $pkg.tar -C $P usr/share/xshisen + tar rvpf $pkg.tar -C $P var/games/xshisen.scores + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man6 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/ja_JP.eucJP/man6 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/xsnow/PlamoBuild.xsnow-1.42 2019-10-14 20:05:50.000000000 +0900 @@ -1,15 +1,15 @@ #!/bin/sh ###################################################################### -url="" +url="http://dropmix.xs4all.nl/rick/Xsnow/xsnow-1.42.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xsnow +vers=1.42 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" @@ -45,6 +45,9 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + xmkmf -a + cp -p Makefile{,.orig} + sed -i '/MANPATH =/s@/man@/share/man@g' Makefile fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -62,7 +65,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install install.man DESTDIR=$P fi done touch $W/i.et --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/03_xclassics/xv/PlamoBuild.xv-3.10a 2019-10-17 12:56:29.000000000 +0900 @@ -1,19 +1,29 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/~tamuki/src/xv-3.10a.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/xv-3.10a-30.patches.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/xv-3.10a-png-1.2d.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/xv310a-jp-extension-rev5.3.3.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/xv-3.10a-towns-tiff-patch.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/XV+FLmask.v2.1.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/xv-3.10a-Xsun.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/xv-3.10a-grab.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/xv-3.10a-plamo-patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/xvimage.c-cast.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/03_xclassics/xv/xv-3.10a-libpng-1.5.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xv +vers=3.10a arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGELOG README INSTALL IDEAS BUGS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -30,13 +40,129 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + for i in $url ; do if [ ! -f ${i##*/} ] ; then wget $i ; fi ; done + for i in $url ; do + case ${i##*/} in + xv-3.10a.tar.gz) tar xvpzf ${i##*/} ;; + xv-3.10a-30.patches.tar.gz) tar xvpzf ${i##*/} ;; + esac + done fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + tar xvpzf $W/xv-3.10a-png-1.2d.tar.gz + tar xvpzf $W/xv310a-jp-extension-rev5.3.3.tar.gz + tar xvpzf $W/xv-3.10a-towns-tiff-patch.tar.gz + tar xvpzf $W/XV+FLmask.v2.1.tar.gz + patch -Np0 -i $W/xv-3.10a-30.patches/grabpatch + patch -Np2 -i $W/xv-3.10a-30.patches/mp-tiff-patch + patch -Np1 -i $W/xv-3.10a-30.patches/longname.patch + patch -Np0 -i $W/xv-3.10a-30.patches/deepcolor.patch + patch -Np0 -i $W/xv-3.10a-30.patches/gifpatch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-gifil.patch + patch -Np0 -i $W/xv-3.10a-30.patches/gssafer.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a.JPEG-patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a.TIFF-patch + patch -Np1 -i $B/xvpng.diff + patch -Np0 -i $W/xv-3.10a-30.patches/xvpng-1.2d-fix3.patch + patch -Np0 -i $W/xv-3.10a-30.patches/pdf.patch + patch -Np0 -i $W/xv-3.10a-30.patches/windowid.patch + patch -Np0 -i $W/xv-3.10a-30.patches/bmp32.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-bmp16.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-linux.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-glibc.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-ansi.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv_smooth.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-xvsmooth_fix.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-jpegparams.patch + patch -Np1 -i $W/xv-3.10a-30.patches/browse-remember.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-patch-for-resizing.txt + patch -Np1 -i $B/xv-jp-extension/Patch.xv310a-ext-5.3.3 + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-jp_rej.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-jpextconfig.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-zlib.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-bzlib.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-unrar.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-rpm2cpio.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-xvvd_passwd.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-jp_macbin.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-jp_xvpcd.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-timtoppm.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-xvpic-optbug.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-towns-tiff.patch + patch -d tiff -Np1 -i $B/xv-3.10a-towns-tiff-patch/libtiff-v3.3-towns-tiff-patch + patch -Np1 -i $B/XV+FLmask.v2.1/XV+FLmask.v2.1.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-Makefile.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-fl_make.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-fl_refine.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-sysconfdir.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-xvexecpath.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-noblink.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-timer.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-addwait.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-zeroquit.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-jp_qs.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-locale-linux.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-jp_mb.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-jp_star.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-jp_utf8.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-text_key.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-text_butt.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-sh_quote-zlib.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-directory.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-menubutton.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-keepinside.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-formatstr.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-dirwkey.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-printkey.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-forcequit.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-xvpopup_accel.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-zerolength.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-keyzoom.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-wheelmouse.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-xvzoom.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-resolution.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-staytoppdir.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-showlongname.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-xvbrowse_pdir.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-selall.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-rotatesel.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-wresize.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-wedge.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-minfill.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-shiftspace.patch + patch -Np0 -i $W/xv-3.10a-30.patches/xv-3.10a-forcermode.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-xvscrl_button2.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-raisetext.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-xvtext_vfn.patch + patch -Np1 -i $W/xv-3.10a-30.patches/xv-3.10a-dither16.patch + patch -Np1 -i $W/xv-3.10a-Xsun.patch + patch -Np1 -i $W/xv-3.10a-grab.patch + patch -Np1 -i $W/xv-3.10a-plamo-patch + patch -Np1 -i $W/xvimage.c-cast.patch + gunzip -c $W/xv-3.10a-libpng-1.5.patch.gz | patch -Np1 -i - + cp -p Makefile.std{,.orig} + sed -i -e '/^BINDIR =/s@/local@@g' -e '/^MANDIR =/s@local@share@g' \ + -e '/^LIBDIR =/s@local/lib@share/doc/xv@g' \ + -e "/^.*DIR =/s@lib@$libdir@g" -e "/^LIBS =/s@X11R6/lib@$libdir@g" \ + -e '/cp /s@[[:graph:]]*$@$(DESTDIR)&@g' Makefile.std + if [ $arch == armv7l ] ; then + sed -i '/^CCOPTS =/s@ -mno-align-double@@' Makefile.std + fi + cat <<- "EOF" | patch Makefile.std + 34a35 + > SYSCONFDIR = /etc + 232a234 + > CFLAGS += -DSYSCONFDIR=\"$(SYSCONFDIR)\" + 287a290,291 + > mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR) \ + > $(DESTDIR)$(LIBDIR) $(DESTDIR)$(MGCSFXDIR) + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -50,7 +176,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make -f Makefile.std fi done fi @@ -62,7 +188,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make -f Makefile.std install DESTDIR=$P fi done touch $W/i.et @@ -71,6 +197,10 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + mv $docdir/xv $docdir/$src/lib + mv $docdir/$src/{lib,{$func,$myname,$spec}.gz} $C + mv $C/{lib,{$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` --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/emacs.txz/emacs/PlamoBuild.emacs-24.5 2018-08-17 10:53:19.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/emacs.txz/emacs/wb-line-number.el" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=emacs +vers=24.5 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-x-toolkit=gtk3 --without-rsvg --without-imagemagick + --without-gsettings --without-selinux" +DOCS="README INSTALL COPYING BUGS ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p lisp/eshell/esh-util.el{,.orig} + sed -i 's@|z2\\\\@&|xz\\\\@g' lisp/eshell/esh-util.el + cp -p lisp/ibuffer.el{,.orig} + sed -i 's@|z\\\\@&|txz\\\\@g' lisp/ibuffer.el + cp -p lisp/ldefs-boot.el{,.orig} + cp -p lisp/loaddefs.el{,.orig} + sed -i 's@"\.tgz"@& ".txz"@g' lisp/{ldefs-boot,loaddefs}.el + cp -p lisp//pcmpl-gnu.el{,.orig} + sed -i -e '/let/s@|bz2\\\\@&|txz\\\\@g' \ + -e '/let/!s@|z2\\\\@&|xz\\\\@g' lisp/pcmpl-gnu.el for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +78,28 @@ make install DESTDIR=$P fi done + find $P/usr/share/emacs/$vers/lisp -mtime -1 -exec touch {} \; + chgrp -R root $P/usr/share/emacs/$vers/{etc,lisp} + install -m 644 $W/wb-line-number.el $P/usr/share/emacs/site-lisp touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_bindir $P/usr/libexec/emacs/$vers/* + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/libexec/emacs/$vers/* setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/emacs + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/applications | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/icons -type f` + tar rvpf $pkg.tar -C $P usr/share/emacs + tar rvpf $pkg.tar -C $P var/games/emacs + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/emacs.txz/libotf/PlamoBuild.libotf-0.9.13 2018-07-12 17:03:37.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.savannah.gnu.org/releases/m17n/libotf-0.9.13.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libotf +vers=0.9.13 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ChangeLog NEWS AUTHORS README COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/libffi/PlamoBuild.libffi-3.0.13 2017-09-14 13:35:32.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libffi +vers=3.0.13 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog.libgcj ChangeLog ChangeLog.libffi README ChangeLog.v1 + LICENSE" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +66,7 @@ make install DESTDIR=$P fi done + ln -s libffi.so.6.0.1 $P/usr/$libdir/libffi.so.5 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +74,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libffi*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/glib/PlamoBuild.glib-2.47.5 2017-12-02 19:58:28.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/glib/2.47/glib-2.47.5.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=glib +vers=2.47.5 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-gtk-doc-html --with-pcre=system" +DOCS="ChangeLog.pre-2-2 README.rationale `echo ChangeLog.pre-2-{4,1{4,2,8,6}}` + INSTALL NEWS.pre-1-3 ChangeLog.pre-2-0 README.commits ChangeLog.pre-2-6 + ChangeLog HACKING README.win32 AUTHORS `echo ChangeLog.pre-{2-20,1-2}` + COPYING NEWS `echo ChangeLog.pre-2-{8,10}` README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +44,7 @@ cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --libdir=/usr/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -70,11 +73,33 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/$libdir/gio/modules + touch -t `date '+%m%d0900'` $P/usr/$libdir/gio/modules setup_docdir 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/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libglib-*` + tar rvpf $pkg.tar -C $P usr/$libdir/glib-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgmodule-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgthread-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgobject-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgio-*` + tar rvpf $pkg.tar -C $P usr/$libdir/gio + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/glib-2.0 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gdb/auto-load/usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/bash-completion/completions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gettext/its | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/gobject_introspection/PlamoBuild.gobject_introspection-1.42.0 2017-09-14 14:40:14.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.42/gobject-introspection-1.42.0.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gobject_introspection +vers=1.42.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=gobject-introspection-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-tests" +DOCS="ChangeLog CONTRIBUTORS COPYING.LGPL COPYING.GPL AUTHORS NEWS + TODO COPYING README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,22 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gobject-introspection/giscanner + touch -t `date '+%m%d0900'` $P/usr/$libdir/gobject-introspection/giscanner setup_docdir 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/$libdir -name libgirepository*` + tar rvpf $pkg.tar -C $P usr/$libdir/gobject-introspection + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/girepository-1.0 + tar rvpf $pkg.tar -C $P usr/include/gobject-introspection-1.0 + tar rvpf $pkg.tar -C $P usr/share/gobject-introspection-1.0 + tar rvpf $pkg.tar -C $P usr/share/gir-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/gdk_pixbuf/PlamoBuild.gdk_pixbuf-2.30.4 2017-09-14 14:43:26.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.30/gdk-pixbuf-2.30.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gdk_pixbuf +vers=2.30.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=gdk-pixbuf-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-introspection=yes --with-x11" +DOCS="NEWS README AUTHORS INSTALL ABOUT-NLS COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,29 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders + touch -t `date '+%m%d0900'` $P/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders setup_docdir convert_links + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + gdk-pixbuf-query-loaders --update-cache + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgdk_pixbuf-*` + tar rvpf $pkg.tar -C $P usr/$libdir/gdk-pixbuf-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgdk_pixbuf_xlib-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gdk-pixbuf-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/gdk-pixbuf 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/atk/PlamoBuild.atk-2.12.0 2017-09-14 16:04:52.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/atk/2.12/atk-2.12.0.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=atk +vers=2.12.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog MAINTAINERS README NEWS INSTALL AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,16 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libatk*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/atk-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/atk + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/harfbuzz/PlamoBuild.harfbuzz-0.9.35 2018-10-24 13:09:00.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.35.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=harfbuzz +vers=0.9.35 arch=`uname -m` -build=P1 +build=P5 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-graphite2" +DOCS="THANKS AUTHORS README COPYING TODO INSTALL NEWS ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,12 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/harfbuzz + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/harfbuzz 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/cairo/PlamoBuild.cairo-1.14.6 2017-09-14 16:24:47.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://cairographics.org/releases/cairo-1.14.6.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=cairo +vers=1.14.6 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-gl --enable-tee" +DOCS="NEWS `echo ChangeLog.pre-1.{2,0}` README ChangeLog ChangeLog.pre-1.12 + README.win32 BIBLIOGRAPHY CODING_STYLE ChangeLog.pre-1.4 COPYING-LGPL-2.1 + PORTING_GUIDE COPYING-MPL-1.1 COPYING `echo ChangeLog.pre-1.{6,10,8}` + AUTHORS HACKING RELEASING BUGS KNOWN_ISSUES INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +73,20 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/cairo setup_docdir convert_links + touch -t `date '+%m%d0900'` $P/usr/$libdir/cairo 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 -name libcairo.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libcairo-*` + tar rvpf $pkg.tar -C $P usr/$libdir/cairo + tar rvpf $pkg.tar -C $P usr/include/cairo + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/cairo 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/pango/PlamoBuild.pango-1.36.8 2017-09-14 16:27:33.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/pango/1.36/pango-1.36.8.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pango +vers=1.36.8 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog MAINTAINERS `echo ChangeLog.pre-1-{16,8}` README.win32 + `echo ChangeLog.pre-1-{2,0,4}` AUTHORS INSTALL ChangeLog.pre-1-23 + NEWS ChangeLog.pre-1-20 HACKING COPYING `echo ChangeLog.pre-1-1{2,0}` + THANKS `echo ChangeLog.pre-1-{6,1{4,8}}` README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +73,29 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/pango/1.8.0/modules + touch -t `date '+%m%d0900'` $P/usr/$libdir/pango/1.8.0/modules setup_docdir convert_links + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + [ -d /etc/pango ] || mkdir /etc/pango + pango-querymodules > /etc/pango/pango.modules + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libpango*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/pango + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/pango-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/pango 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/gtk+_2/PlamoBuild.gtk+_2-2.24.25 2017-09-16 18:06:24.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.25.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gtk+_2 +vers=2.24.25 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P6 +src=gtk+-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-xinput" +DOCS="ChangeLog.pre-2-2 ChangeLog README.commits README.win32 + `echo ChangeLog.pre-2-{6,0}` ChangeLog.gtk-async-file-chooser + `echo ChangeLog.pre-{1-2,2-{8,14},1-0}` AUTHORS INSTALL + ChangeLog.pre-2-16 ChangeLog.gtk-printing NEWS HACKING + ChangeLog.pre-2-12 COPYING NEWS.pre-1-0 `echo ChangeLog.pre-2-{10,4}` + README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +42,21 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p docs/tutorial/Makefile.in{,.orig} + cat <<- "EOF" | patch docs/tutorial/Makefile.in + 647c647 + < @HAVE_DOCBOOK_TRUE@ db2html gtk-tut.sgml; \ + --- + > @HAVE_DOCBOOK_TRUE@ mkdir gtk-tut; (cd gtk-tut; db2html ../gtk-tut.sgml); \ + EOF + cp -p docs/faq/Makefile.in{,.orig} + cat <<- "EOF" | patch docs/faq/Makefile.in + 634c634 + < @HAVE_DOCBOOK_TRUE@ db2html gtk-faq.sgml; \ + --- + > @HAVE_DOCBOOK_TRUE@ mkdir gtk-faq; (cd gtk-faq; db2html ../gtk-faq.sgml); \ + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,11 +90,42 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gtk-2.0/2.10.0/immodules + strip_libdir $P/usr/$libdir/gtk-2.0/2.10.0/engines + strip_libdir $P/usr/$libdir/gtk-2.0/2.10.0/printbackends + strip_libdir $P/usr/$libdir/gtk-2.0/modules + touch -t `date '+%m%d0900'` \ + $P/usr/$libdir/gtk-2.0/{2.10.0/{immodules,engines,printbackends},modules} setup_docdir convert_links + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + gtk-query-immodules-2.0 --update-cache + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh 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 usr/$libdir/gtk-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgdk*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgtk*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgailutil*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gir-1.0 -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/themes/Raleigh/gtk-2.0 + tar rvpf $pkg.tar -C $P usr/share/themes/Default/gtk-2.0-key + tar rvpf $pkg.tar -C $P usr/share/themes/Emacs/gtk-2.0-key + tar rvpf $pkg.tar -C $P usr/share/gtk-2.0 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P etc/gtk-2.0 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/gcc_libffi/PlamoBuild.gcc_libffi-4.8.5 2017-10-15 19:54:55.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gcc_libffi +vers=4.8.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=gcc-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-werror --disable-multilib --enable-install-libiberty + --enable-__cxa_atexit --enable-threads=posix --enable-shared + --enable-languages=c,c++,fortran,go --enable-gnu-unique-object + --enable-linker-build-id --enable-plugin --with-system-zlib + --with-linker-hash-style=gnu --enable-clocale=gnu --disable-libstdcxx-pch" +DOCS="COPYING ChangeLog ABOUT-NLS NEWS COPYING3.LIB ChangeLog.tree-ssa + COPYING3 COPYING.RUNTIME README COPYING.LIB MAINTAINERS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +47,10 @@ 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]} \ + --libexecdir=/usr/$libdir \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --host=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -61,10 +69,14 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make install DESTDIR=$P fi done + install -d $P/usr/$libdir + ( cd $arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi`/libffi + ./libtool --mode=install install libffi.la $P/usr/$libdir ) + rm $P/usr/$libdir/libffi.{so,la,a} touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +84,9 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/pygobject/PlamoBuild.pygobject-2.28.6 2017-09-21 14:54:47.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/pygobject/2.28/pygobject-2.28.6.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pygobject +vers=2.28.6 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-introspection" +DOCS="ChangeLog README INSTALL NEWS ChangeLog.pre-2.18 README.win32 + COPYING AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,23 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages/glib + strip_libdir $P/usr/$libdir/python*/site-packages/gobject + strip_libdir $P/usr/$libdir/python*/site-packages/gtk-2.0/gio + touch -t `date '+%m%d0900'` \ + $P/usr/$libdir/python*/site-packages/{glib,gobject,gtk-2.0/gio} setup_docdir 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 -name libpyglib*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/pygtk-2.0 + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/pygobject + tar rvpf $pkg.tar -C $P usr/share/pygobject 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/py2cairo/PlamoBuild.py2cairo-1.10.0 2017-09-21 15:00:32.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=py2cairo +vers=1.10.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 INSTALL NEWS + README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -39,20 +40,22 @@ apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -x configure ] ; then + false && 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]} fi done + ./waf --prefix=/usr --libdir=/usr/$libdir configure fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make fi done + ./waf build fi if [ $opt_package -eq 1 ] ; then root_priv @@ -61,19 +64,27 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make install DESTDIR=$P fi done + ./waf --destdir=$P install + touch $P/usr/$libdir/pkgconfig/* + touch $P/usr/$libdir/python*/site-packages/cairo/*.so touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages/cairo + touch -t `date '+%m%d0900'` $P/usr/$libdir/python*/site-packages/cairo setup_docdir + touch -t `date '+%m%d0900'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/pycairo 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/libglade/PlamoBuild.libglade-2.6.4 2017-09-21 15:04:07.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/libglade/2.6/libglade-2.6.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libglade +vers=2.6.4 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS README INSTALL NEWS ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,13 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libglade-2.0 + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/libglade + tar rvpf $pkg.tar -C $P usr/share/xml/libglade 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/pygtk/PlamoBuild.pygtk-2.24.0 2017-09-21 15:07:30.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/pygtk/2.24/pygtk-2.24.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pygtk +vers=2.24.0 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="THREADS INSTALL NEWS AUTHORS ChangeLog.pre-2-0 README.win32 + COPYING TODO README ChangeLog.pre-2-6 MAPPING ChangeLog.pre-2-16 + ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +72,20 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages/gtk-2.0 + strip_libdir $P/usr/$libdir/python*/site-packages/gtk-2.0/gtk + touch -t `date '+%m%d0900'` \ + $P/usr/$libdir/python*/site-packages/gtk-2.0{,/gtk} setup_docdir 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/python*/site-packages/gtk-2.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/pygtk + tar rvpf $pkg.tar -C $P usr/include/pygtk-2.0 + tar rvpf $pkg.tar -C $P usr/share/pygtk + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/pygtk 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/Gtk.txz/libIDL/PlamoBuild.libIDL-0.8.14 2017-09-25 13:01:56.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.acc.umu.se/pub/gnome/sources/libIDL/0.8/libIDL-0.8.14.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libIDL +vers=0.8.14 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL COPYING ChangeLog MAINTAINERS NEWS README AUTHORS + README.win32 BUGS HACKING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,12 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libIDL-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/Gtk.txz/libsoup/PlamoBuild.libsoup-2.52.2 2018-04-13 16:53:38.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/libsoup/2.52/libsoup-2.52.2.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libsoup +vers=2.52.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS COPYING AUTHORS README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,18 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libsoup*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/vala/vapi | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/Gtk.txz/gtk_doc/PlamoBuild.gtk_doc-1.18 2018-07-02 12:55:21.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gtk-doc/1.18/gtk-doc-1.18.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gtk_doc +vers=1.18 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gtk-doc-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO AUTHORS README + `echo doc/{README,{setting-up,sections-file,style-guide,gnome,authors}.txt}` + MAINTAINERS ChangeLog COPYING COPYING-DOCS INSTALL NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,7 +75,12 @@ setup_docdir 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 usr/share/gnome/help/gtk-doc-manual + tar rvpf $pkg.tar -C $P usr/share/omf/gtk-doc-manual + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/sgml/gtk-doc 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/ORBit2/PlamoBuild.ORBit2-2.14.19 2017-09-25 13:04:46.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.gnome.org/pub/gnome/sources/ORBit2/2.14/ORBit2-2.14.19.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=ORBit2 +vers=2.14.19 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS MAINTAINERS TODO HACKING README ChangeLog NEWS COPYING + INSTALL COPYING.LIB" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,14 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p linc2/src/Makefile.in{,.orig} + cat <<- "EOF" | patch linc2/src/Makefile.in + 247c247 + < -DG_DISABLE_DEPRECATED $(am__append_1) + --- + > $(am__append_1) + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,11 +79,20 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/orbit-2.0 + touch -t `date '+%m%d0900'` $P/usr/$libdir/orbit-2.0 setup_docdir 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/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name lib* | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/orbit-2.0 + tar rvpf $pkg.tar -C $P usr/include/orbit-2.0 + tar rvpf $pkg.tar -C $P usr/share/idl/orbit-2.0 + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/ORBit2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/dbus_glib/PlamoBuild.dbus_glib-0.100.2 2017-09-25 13:06:32.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.100.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=dbus_glib +vers=0.100.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=dbus-glib-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-xml=libxml" +DOCS="COPYING HACKING AUTHORS INSTALL ChangeLog README NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,15 @@ setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/dbus-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find etc/bash_completion.d | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/dbus-glib 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/GConf/PlamoBuild.GConf-2.28.1 2017-09-25 13:08:41.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.gnome.org/pub/GNOME/sources/GConf/2.28/GConf-2.28.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=GConf +vers=2.28.1 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-defaults-service=no" +DOCS="INSTALL COPYING ChangeLog ABOUT-NLS NEWS README TODO AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,26 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/GConf/2 + touch -t `date '+%m%d0900'` $P/usr/$libdir/GConf/2 setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgconf-*` + tar rvpf $pkg.tar -C $P usr/$libdir/GConf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gconf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1/services | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/GConf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/gconf + tar rvpf $pkg.tar -C $P usr/share/sgml/gconf + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P etc/gconf 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/SpiderMonkey/PlamoBuild.SpiderMonkey-1.8.5 2017-09-25 16:21:37.000000000 +0900 @@ -1,16 +1,16 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.mozilla.org/pub/js/js185-1.0.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=SpiderMonkey +vers=1.8.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=js-$vers patchfiles="" OPT_CONFIG="" DOCS="README" @@ -37,8 +37,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p js/src/Makefile.in{,.orig} + sed -i '/ln -s/s@$(\w*)@$(notdir &)@' js/src/Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/js/src if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -48,7 +51,7 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/js/src if [ -f Makefile ] ; then make fi @@ -60,11 +63,16 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/js/src if [ -f Makefile ] ; then make install DESTDIR=$P fi done + mv $P/usr/$libdir/libmozjs185{-1.0.a,.so{.1.0{.0,},}} $C + mv $C/libmozjs185{-1.0.a,.so{.1.0{.0,},}} $P/usr/$libdir + touch $P/usr/bin/* + touch $P/usr/$libdir/libmozjs185{-1.0.a,.so.1.0.0} + touch $P/usr/include/js/js{-config,auto{cfg,kw}}.h touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,8 +81,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/js 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/nspr/PlamoBuild.nspr-4.18 2018-04-24 12:20:13.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.mozilla.org/pub/nspr/releases/v4.18/src/nspr-4.18.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=nspr +vers=4.18 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-mozilla --with-pthreads" +DOCS="nspr/LICENSE" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -38,17 +38,18 @@ done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/nspr 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]} \ + `[ $arch == x86_64 ] && echo --enable-64bit` fi done fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/nspr if [ -f Makefile ] ; then make fi @@ -60,20 +61,26 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/nspr if [ -f Makefile ] ; then make install DESTDIR=$P fi done + touch $P/usr/bin/nspr-config + touch $P/usr/$libdir/{pkgconfig/,lib}* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $docdir/$src{,/nspr} 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/nspr + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/polkit/PlamoBuild.polkit-0.113 2017-09-25 13:48:01.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.freedesktop.org/software/polkit/releases/polkit-0.113.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=polkit +vers=0.113 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-introspection --with-polkitd-user=polkituser" +DOCS="COPYING HACKING AUTHORS INSTALL README NEWS ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -50,7 +50,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make libprivdir=/usr/$libdir/polkit-1 fi done fi @@ -62,19 +62,41 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P libprivdir=/usr/$libdir/polkit-1 fi done + install -d -o polkituser $P/home/polkituser touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/$libdir/polkit-1 + touch -t `date '+%m%d0900'` $P/usr/$libdir/polkit-1 setup_docdir 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/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -name libpolkit-gobject-1.*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/polkit-1 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libpolkit-agent-1.*` + tar rvpf $pkg.tar -C $P usr/include/polkit-1 + tar rvpf $pkg.tar -C $P usr/share/polkit-1 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/dbus-1/system-services | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + 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 etc/pam.d | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/polkit-1/rules.d | tail -n+2` + tar rvpf $pkg.tar -C $P home/polkituser 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/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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/ConsoleKit/PlamoBuild.ConsoleKit-0.4.6 2017-09-25 13:50:51.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.4.6.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=ConsoleKit +vers=0.4.6 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-pam-module --enable-udev-acl" +DOCS="HACKING INSTALL TODO ChangeLog README AUTHORS NEWS COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +42,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]} \ + --with-pam-module-dir=/$libdir/security fi done fi @@ -71,10 +72,31 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + prune_symlink $P/usr/lib/ConsoleKit/run-seat.d 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` + touch -t `date '+%m%d0900'` $P/usr/lib/ConsoleKit/run-seat.d + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P usr/lib/ConsoleKit + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libck-connector.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | tail -n+2` + tar rvpf $pkg.tar -C $P lib/udev/udev-acl + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir/security | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/ConsoleKit + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/dbus-1/interfaces | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/dbus-1/system-services | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/polkit-1/actions | tail -n+2` + tar rvpf $pkg.tar -C $P etc/ConsoleKit + tar rvpf $pkg.tar -C $P `cd $P ; find etc/dbus-1/system.d | tail -n+2` + tar rvpf $pkg.tar -C $P var/{run,log}/ConsoleKit + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/04_xapps/netpbm/PlamoBuild.netpbm-10.68.99 2017-04-21 12:44:24.000000000 +0900 @@ -1,18 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="https://sourceforge.net/code-snapshots/svn/n/ne/netpbm/code/netpbm-code-2299-trunk.zip + ftp://plamo.linet.gr.jp/pub/Plamo-src/04_xapps/netpbm/netpbm-install.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/04_xapps/netpbm/netpbm-config.mk" verify= digest= commitid= -pkgbase= -vers= +pkgbase=netpbm +vers=10.68.99 arch=`uname -m` build=P1 -src=$pkgbase-$vers -patchfiles="" +src=$pkgbase-code-2299-trunk +patchfiles="netpbm-install.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="`echo doc/{COPYRIGHT.PATENT,netpbm.html,GPL_LICENSE.txt}` + `echo doc/{INSTALL,copyright_summary,README.CYGWIN,TESTS}` + `echo doc/{USERDOC,HISTORY,Netpbm.programming,netpbm.1}` + `echo doc/{lgpl_v21.txt,patent_summary}` README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,9 +41,18 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p $W/netpbm-config.mk config.mk + if [ $arch = x86_64 ] ; then + cat <<- "EOF" >> config.mk + WANT_SSE = Y + EOF + fi + cp -p lib/Makefile{,.orig} + sed -i '/SYMLINK/s@\.\./lib/@@g' lib/Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -x configure ] ; then + false && 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]} @@ -61,9 +75,12 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make package pkgdir=$W/tmp fi done + export W P libdir + ./installnetpbm + sed -i "s@$P@@g" $P/usr/{bin/netpbm-config,$libdir/pkgconfig/netpbm.pc} touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -71,9 +88,19 @@ compress setup_docdir convert_links + prune_symlink $P/usr/include tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/netpbm + tar rvpf $pkg.tar -C $P etc/manweb.conf 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/man3 | 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 `cd $P ; find usr/share/man/web | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/04_xapps/ghostscript.txz/ghostscript/PlamoBuild.ghostscript-9.15 2017-04-21 19:32:53.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.ghostscript.com/public/old-gs-releases/ghostscript-9.15.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ghostscript +vers=9.15 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-contrib --disable-compile-inits + --with-system-libtiff" +DOCS="DroidSansFallback.NOTICE LICENSE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -44,14 +45,21 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cd ijs + ./autogen.sh + ./configure --prefix=/usr --libdir=/usr/$libdir \ + --enable-shared --disable-static fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then make + make so fi done + cd ijs + make fi if [ $opt_package -eq 1 ] ; then root_priv @@ -62,18 +70,50 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + make soinstall DESTDIR=$P fi done + cd ijs + touch {$P/usr/bin,$mandir/man1}/dummy + make install DESTDIR=$P + rm {$P/usr/bin,$mandir/man1}/dummy + ln -s $vers/Resource $P/usr/share/ghostscript + cat <<- "EOF" >> $P/usr/share/ghostscript/Resource/Init/cidfmap + + /Ryumin-Light << /FileType /TrueType /Path (/usr/share/ghostscript/fonts/ipam.ttf) /CSI [(Japan1) 6] >> ; + /GothicBBB-Medium << /FileType /TrueType /Path (/usr/share/ghostscript/fonts/ipag.ttf) /CSI [(Japan1) 6] >> ; + /Ryumin-Medium /Ryumin-Light ; + /HeiseiMin-W3 /Ryumin-Light ; + /HeiseiKakuGo-W5 /GothicBBB-Medium ; + /Kochi-Mincho /Ryumin-Light ; + /Kochi-Gothic /GothicBBB-Medium ; + /Adobe-Japan1 /Ryumin-Light ; + /Adobe-Japan2 /Ryumin-Light ; + /FutoMinA101-Bold /Ryumin-Light ; + /FutoGoB101-Bold /GothicBBB-Medium ; + /GothicMB101-hea /GothicBBB-Medium ; + /ShinGo-Bold /GothicBBB-Medium ; + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $mandir/de/man1 setup_docdir convert_links + prune_symlink $P/usr/share/ghostscript + touch -t `date '+%m%d0900'` $P/usr/share/ghostscript + prune_symlink $mandir/de/man1 tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/ghostscript 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/de/man1 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/ghostscript.txz/ghostscript_fonts_std/PlamoBuild.gsfonts_std-8.11 2018-06-21 09:36:12.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/gs-fonts/ghostscript-fonts-std-8.11.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=ghostscript_fonts_std +vers=8.11 +arch=noarch +build=P2 +src=fonts patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README README.tweaks TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +65,24 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/ghostscript/fonts + cp -p [a-z]* $P/usr/share/ghostscript/fonts + chown root.root $P/usr/share/ghostscript/fonts/* + install -d $P/usr/share/fonts + ln -s ../ghostscript/fonts $P/usr/share/fonts/ghostscript touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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` + prune_symlink $P/usr/share/fonts + tar cvpf $pkg.tar -C $P usr/share/ghostscript + tar rvpf $pkg.tar -C $P usr/share/fonts/ghostscript 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/ghostscript.txz/gnu_gs_fonts_other/PlamoBuild.gnu_gs_fonts_other-6.0 2018-06-21 09:42:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/gs-fonts/gnu-gs-fonts-other-6.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` +pkgbase=gnu_gs_fonts_other +vers=6.0 +arch=noarch build=P1 -src=$pkgbase-$vers +src=fonts patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +65,25 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/ghostscript/fonts + cp -p * $P/usr/share/ghostscript/fonts + chown root.root $P/usr/share/ghostscript/fonts/* + install -d $P/usr/share/fonts + ln -s ../ghostscript/fonts $P/usr/share/fonts/ghostscript touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + install -d $docdir/$src setup_docdir + touch -t `date '+%m%d0900'` $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` + prune_symlink $P/usr/share/fonts + tar cvpf $pkg.tar -C $P usr/share/ghostscript + tar rvpf $pkg.tar -C $P usr/share/fonts/ghostscript 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/04_xapps/print.txz/psutils/PlamoBuild.psutils-p17 2017-04-22 09:59:02.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://mirrors.ctan.org/obsolete/support/psutils/psutils-p17.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=psutils +vers=p17 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=$pkgbase patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + sed 's@/usr/local@/usr@g' Makefile.unix > Makefile for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -61,7 +63,9 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + install -d $mandir + make install BINDIR=$P/usr/bin INCLUDEDIR=$P/usr/share/psutils \ + MANDIR=$mandir/man'$(MANEXT)' fi done touch $W/i.et @@ -72,6 +76,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 usr/share/psutils 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/print.txz/cups/PlamoBuild.cups-2.0.0 2020-11-14 23:43:51.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.cups.org/software/2.0.0/cups-2.0.0-source.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/print.txz/cups/cups-2.0.0-template-ja.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=cups +vers=2.0.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-systemd" +DOCS="CHANGES-*.txt CHANGES.txt CREDITS.txt INSTALL.txt IPPTOOL.txt + LICENSE.txt README.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +39,23 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -a $W/ja templates + cp -p Makedefs.in{,.orig} + sed -i 's@555@755@g;s@444@644@g' Makedefs.in + cp -p config-scripts/cups-ssl.m4{,.orig} + sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4 + if [ $arch == x86_64 ] ; then + cp -p config-scripts/cups-pam.m4{,.orig} + sed -i '/security/s@lib@lib64@g' config-scripts/cups-pam.m4 + fi + autoreconf for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} CC=cc CXX=c++ fi done fi @@ -62,7 +75,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DSTROOT=$P fi done touch $W/i.et @@ -70,11 +83,40 @@ 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 + touch -t `date '+%m%d0900'` $P/usr/lib/cups/$i + done setup_docdir + mv $docdir/cups $docdir/$src/html + mv $docdir/$src/{html,{INSTALL,IPPTOOL,LICENSE,README}.txt.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{html,{INSTALL,IPPTOOL,LICENSE,README}.txt.gz} $docdir/$src + 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` + tar rvpf $pkg.tar -C $P usr/lib/cups + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libcups*` + tar rvpf $pkg.tar -C $P usr/include/cups + tar rvpf $pkg.tar -C $P usr/share/cups + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/applications | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/icons/hicolor -name *.png` + 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 -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` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man5 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | tail -n+2` + 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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/print.txz/libpaper/PlamoBuild.libpaper-1.1.24+nmu4 2018-11-08 18:12:24.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.debian.org/debian/pool/main/libp/libpaper/libpaper_1.1.24+nmu4.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libpaper +vers=1.1.24+nmu4 arch=`uname -m` build=P1 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS INSTALL NEWS README COPYING ChangeLog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +65,66 @@ make install DESTDIR=$P fi done + cat <<- "EOF" > $P/usr/bin/run-parts + #!/bin/sh + # run-parts: Runs all the scripts found in a directory. + # from Slackware, by Patrick J. Volkerding with ideas borrowed + # from the Red Hat and Debian versions of this utility. + + # keep going when something fails + set +e + + if [ $# -lt 1 ]; then + echo "Usage: run-parts " + exit 1 + fi + + if [ ! -d $1 ]; then + echo "Not a directory: $1" + echo "Usage: run-parts " + exit 1 + fi + + # There are several types of files that we would like to + # ignore automatically, as they are likely to be backups + # of other scripts: + IGNORE_SUFFIXES="~ ^ , .bak .new .rpmsave .rpmorig .rpmnew .swp" + + # Main loop: + for SCRIPT in $1/* ; do + # If this is not a regular file, skip it: + if [ ! -f $SCRIPT ]; then + continue + fi + # Determine if this file should be skipped by suffix: + SKIP=false + for SUFFIX in $IGNORE_SUFFIXES ; do + if [ ! "$(basename $SCRIPT $SUFFIX)" = "$(basename $SCRIPT)" ]; then + SKIP=true + break + fi + done + if [ "$SKIP" = "true" ]; then + continue + fi + # If we've made it this far, then run the script if it's executable: + if [ -x $SCRIPT ]; then + $SCRIPT || echo "$SCRIPT failed." + fi + done + + exit 0 + EOF + chmod 755 $P/usr/bin/run-parts + ( cd $B/debian/po ; for i in `ls *.po` ; do + install -d $P/usr/share/locale/${i%.po}/LC_MESSAGES + msgfmt $i -o $P/usr/share/locale/${i%.po}/LC_MESSAGES/$pkgbase.mo + done ) + install -d $P/etc/libpaper.d + cat <<- "EOF" > $P/etc/papersize + # Simply write the paper name. See papersize(5) for possible values + a4 + EOF touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,8 +133,17 @@ setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P etc/{libpaper.d,papersize} 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/man3 | 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 `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 TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/gamin/PlamoBuild.gamin-0.1.10 2017-12-05 08:27:07.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.gnome.org/~veillard/gamin/sources/gamin-0.1.10.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gamin +vers=0.1.10 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING TODO NEWS Copyright ChangeLog INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in gam_{node,subscription}.{c,h} ; do + cp -a server/$i{,.orig} + sed -i 's@G_CONST_RETURN@const@g' server/$i + done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,11 +75,15 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec + strip_libdir $P/usr/$libdir/python*/site-packages setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/libwebp/PlamoBuild.libwebp-0.4.1 2018-02-14 18:45:17.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.webmproject.org/releases/webp/libwebp-0.4.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libwebp +vers=0.4.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README README.mux PATENTS COPYING AUTHORS NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/webp 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/libgd/PlamoBuild.libgd-2.2.3 2018-02-14 10:17:43.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/libgd/libgd/releases/download/gd-2.2.3/libgd-2.2.3.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libgd +vers=2.2.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CONTRIBUTORS COPYING `echo docs/{README.JPN,INSTALL.Solaris}` + `echo docs/{README.CMAKE,INSTALL,README.{TXT,TESTING}}` README.md + ChangeLog NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +75,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/at_spi2_core/PlamoBuild.at_spi2_core-2.6.3 2018-03-10 21:10:53.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/at-spi2-core/2.6/at-spi2-core-2.6.3.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=at_spi2_core +vers=2.6.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=at-spi2-core-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog NEWS README AUTHORS COPYING ABOUT-NLS INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,20 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libatspi.*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/at-spi-2.0 + tar rvpf $pkg.tar -C $P etc/at-spi2 + tar rvpf $pkg.tar -C $P `cd $P ; find etc/xdg/autostart | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1/services | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/libatspi 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/at_spi2_atk/PlamoBuild.at_spi2_atk-2.6.2 2018-03-10 21:15:31.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/at-spi2-atk/2.6/at-spi2-atk-2.6.2.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=at_spi2_atk +vers=2.6.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=at-spi2-atk-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README AUTHORS COPYING INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,17 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libatk-bridge-2.0.*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/gtk-2.0/modules | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/gnome-settings-daemon-3.0/gtk-modules \ + | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/at-spi2-atk + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/glib-2.0/schemas | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/lcms/PlamoBuild.lcms-1.19 2018-04-02 22:50:57.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/lcms/lcms-1.19.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=lcms +vers=1.19 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS ChangeLog COPYING doc/LCMSAPI.TXT doc/TUTORIAL.TXT + INSTALL NEWS README.1ST" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/SDL.txz/SDL/PlamoBuild.SDL-1.2.15 2018-04-23 14:13:46.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.libsdl.org/release/SDL-1.2.15.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=SDL +vers=1.2.15 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="Borland.html BUGS COPYING CREDITS docs.html INSTALL README + README-SDL.txt `echo README.{AmigaOS,BeOS,DC,HG,MacOS,MacOSX,MiNT,NanoX}` + `echo README.{NDS,OS2,PicoGUI,Porting,PS3,QNX,Qtopia,RISCOS,Symbian}` + `echo README.{Watcom,WinCE,wscons}` TODO VisualC.html WhatsNew" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +40,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p src/video/x11/SDL_x11sym.h{,.orig} + sed -i '/_XData32/s@long@_Xconst &@' src/video/x11/SDL_x11sym.h for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -73,8 +79,13 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/SDL + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/SDL.txz/SDL_image/PlamoBuild.SDL_image-1.2.12 2019-10-10 21:56:48.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=SDL_image +vers=1.2.12 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES COPYING README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/SDL 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/aalib/PlamoBuild.aalib-1.4rc4 2018-04-13 16:01:21.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/aa-project/aalib-1.4rc4.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=aalib +vers=1.4rc4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=$pkgbase-1.4.0 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS README.OS2 ANNOUNCE" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,14 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/nss/PlamoBuild.nss-3.35 2018-04-24 12:21:09.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_35_RTM/src/nss-3.35.tar.gz + http://www.linuxfromscratch.org/patches/downloads/nss/nss-3.35-standalone-1.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=nss +vers=3.35 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" +patchfiles="nss-3.35-standalone-1.patch" OPT_CONFIG="" -DOCS="README" +DOCS="`echo nss/{COPYING,help.txt,readme.md,trademarks.txt}`" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -48,9 +49,11 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/nss if [ -f Makefile ] ; then - make + make BUILD_OPT=1 NSPR_INCLUDE_DIR=/usr/include/nspr \ + USE_SYSTEM_ZLIB=1 NSS_USE_SYSTEM_SQLITE=1 \ + `[ $arch == x86_64 ] && echo USE_64=1` fi done fi @@ -60,20 +63,35 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/dist if [ -f Makefile ] ; then make install DESTDIR=$P fi done + install -d $P/usr/bin + for i in nss-config certutil crlutil pk12util \ + signtool signver cmsutil ssltap modutil ; do + install Linux*/bin/$i $P/usr/bin + done + install -d $P/usr/$libdir{,/pkgconfig} + install -m 644 Linux*/lib/pkgconfig/nss.pc $P/usr/$libdir/pkgconfig + find Linux*/lib -maxdepth 1 ! -type d \ + \( ! -name "*.a" -o -name "libcrmf.a" \) -exec cp {} $P/usr/$libdir \; + install -d $P/usr/include + cp -LR {public,private}/nss $P/usr/include + chmod 644 $P/usr/include/nss/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $docdir/$src{,/nss} 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/nss 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/libexif/PlamoBuild.libexif-0.6.21 2018-04-19 14:17:30.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libexif/libexif-0.6.21.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libexif +vers=0.6.21 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README INSTALL ABOUT-NLS README-Win32.txt AUTHORS + ChangeLog COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +66,27 @@ make install DESTDIR=$P fi done + touch $docdir/libexif/libexif-api.html{,/*} + chown -R root.root $docdir/libexif/libexif-api.html touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libexif/libexif-api.html $docdir/$src + mv $docdir/$src/{libexif-api.html,{README-Win32.txt,AUTHORS}.gz} $C + mv $docdir/$src/{ChangeLog,COPYING,$func,$myname,$spec}.gz $C + mv $C/{libexif-api.html,{README-Win32.txt,AUTHORS}.gz} $docdir/$src + mv $C/{ChangeLog,COPYING,$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libexif + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/jasper/PlamoBuild.jasper-1.900.1 2018-04-19 17:33:55.000000000 +0900 @@ -1,19 +1,35 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.900.1.zip + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/01-misc-fixes.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/02-fix-filename-buffer-overflow.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/03-CVE-2011-4516-and-CVE-2011-4517.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/04-CVE-2014-9029.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/05-CVE-2014-8137.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/06-CVE-2014-8138.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/07-CVE-2014-8157.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/08-CVE-2014-8158.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/09-CVE-2016-1577.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/10-CVE-2016-2089.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/jasper/11-CVE-2016-2116.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=jasper +vers=1.900.1 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="01-misc-fixes.patch.gz 02-fix-filename-buffer-overflow.patch.gz + 03-CVE-2011-4516-and-CVE-2011-4517.patch.gz 04-CVE-2014-9029.patch.gz + 05-CVE-2014-8137.patch.gz 06-CVE-2014-8138.patch.gz + 07-CVE-2014-8157.patch.gz 08-CVE-2014-8158.patch.gz + 09-CVE-2016-1577.patch.gz 10-CVE-2016-2089.patch.gz + 11-CVE-2016-2116.patch.gz" +OPT_CONFIG="--enable-shared" +DOCS="LICENSE ChangeLog COPYRIGHT NEWS INSTALL README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +89,11 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/jasper 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/libcroco/PlamoBuild.libcroco-0.6.5 2018-04-20 23:02:33.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.5.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libcroco +vers=0.6.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL NEWS COPYING.LIB ABOUT-NLS README TODO AUTHORS COPYING + HACKING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,13 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libcroco-0.6 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/librsvg/PlamoBuild.librsvg-2.40.16 2018-04-20 17:01:31.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.40/librsvg-2.40.16.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=librsvg +vers=2.40.16 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-vala" +DOCS="AUTHORS NEWS TODO INSTALL ChangeLog COPYING.LIB README COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,23 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders setup_docdir 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/$libdir -maxdepth 1 -name librsvg*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/gdk-pixbuf-2.0/2.10.0/loaders | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/librsvg-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/ilmbase/PlamoBuild.ilmbase-1.0.2 2018-04-21 14:26:53.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.savannah.nongnu.org/releases/openexr/ilmbase-1.0.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=ilmbase +vers=1.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS LICENSE + README.CVS README.OSX README.win32" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,12 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Imath/ImathMatrix.h{,.orig} + cat <<- "EOF" | patch Imath/ImathMatrix.h + 51a52 + > #include + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,9 +79,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/OpenEXR 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/openexr/PlamoBuild.openexr-1.7.0 2018-04-21 13:56:54.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.savannah.gnu.org/releases/openexr/openexr-1.7.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=openexr +vers=1.7.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS LICENSE + README.CVS README.OSX README.win32" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,12 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p exrenvmap/blurImage.cpp{,.orig} + cat <<- "EOF" | patch exrenvmap/blurImage.cpp + 45a46 + > #include + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,10 +78,18 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/OpenEXR-$vers $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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/OpenEXR + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/sane_backends/PlamoBuild.sane_backends-1.0.24 2018-07-24 12:28:11.000000000 +0900 @@ -1,19 +1,29 @@ #!/bin/sh ###################################################################### -url="" +url="https://alioth-archive.debian.org/releases/sane/sane-backends/1.0.24/sane-backends-1.0.24.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=sane_backends +vers=1.0.24 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=sane-backends-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-avahi" +DOCS="ChangeLog-1.0.14 README.solaris README.os2 LICENSE PROBLEMS + ChangeLog-1.0.15 README.unixware7 README.windows README ChangeLog + README.zeta ChangeLog-1.0.12 INSTALL ChangeLog-1.0.1 ChangeLog-1.0.17 + README.darwin ChangeLog-1.0.20 AUTHORS ChangeLog-1.0.0 README.hp-ux + ChangeLog-1.0.19 ChangeLog-1.0.21 COPYING ChangeLog-1.0.23 + ChangeLog-1.0.18 README.aix ChangeLog-1.0.7 ChangeLog-1.0.13 README.netbsd + PROJECTS ChangeLog-1.0.8 README.openbsd NEWS ChangeLog-1.0.3 + README.freebsd ChangeLog-1.0.5 ChangeLog-1.0.9 README.linux + ChangeLog-1.0.10 ChangeLog-1.0.6 README.djpeg ChangeLog-1.0.16 + ChangeLog-1.0.2 README.unixware2 ChangeLog-1.0.22 README.beos + ChangeLog-1.0.4" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +75,63 @@ make install DESTDIR=$P fi done + install -d $P/lib/udev/rules.d + install -m 644 tools/udev/libsane.rules $P/lib/udev/rules.d/60-libsane.rules touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/sane setup_docdir + mv $P/usr/doc/sane-$vers $docdir/$src/doc + mv $docdir/$src/{doc,{README.os2,LICENSE,PROBLEMS,ChangeLog-1.0.15}.gz} $C + mv $docdir/$src/{README.unixware7,README.windows,README,ChangeLog}.gz $C + mv $docdir/$src/{README.zeta,ChangeLog-1.0.12,INSTALL,ChangeLog-1.0.1}.gz $C + mv $docdir/$src/{ChangeLog-1.0.17,README.darwin,ChangeLog-1.0.20}.gz $C + mv $docdir/$src/{AUTHORS,ChangeLog-1.0.0,README.hp-ux,ChangeLog-1.0.19}.gz $C + mv $docdir/$src/{ChangeLog-1.0.21,COPYING,ChangeLog-1.0.23}.gz $C + mv $docdir/$src/{ChangeLog-1.0.18,README.aix,ChangeLog-1.0.7}.gz $C + mv $docdir/$src/{ChangeLog-1.0.13,README.netbsd,PROJECTS}.gz $C + mv $docdir/$src/{ChangeLog-1.0.8,README.openbsd,NEWS,ChangeLog-1.0.3}.gz $C + mv $docdir/$src/{README.freebsd,ChangeLog-1.0.5,ChangeLog-1.0.9}.gz $C + mv $docdir/$src/{README.linux,ChangeLog-1.0.10,ChangeLog-1.0.6}.gz $C + mv $docdir/$src/{README.djpeg,ChangeLog-1.0.16,ChangeLog-1.0.2}.gz $C + mv $docdir/$src/{README.unixware2,ChangeLog-1.0.22,README.beos}.gz $C + mv $docdir/$src/{ChangeLog-1.0.4,$func,$myname,$spec}.gz $C + mv $C/{doc,{README.os2,LICENSE,PROBLEMS,ChangeLog-1.0.15}.gz} $docdir/$src + mv $C/{README.unixware7,README.windows,README,ChangeLog}.gz $docdir/$src + mv $C/{README.zeta,ChangeLog-1.0.12,INSTALL,ChangeLog-1.0.1}.gz $docdir/$src + mv $C/{ChangeLog-1.0.17,README.darwin,ChangeLog-1.0.20}.gz $docdir/$src + mv $C/{AUTHORS,ChangeLog-1.0.0,README.hp-ux,ChangeLog-1.0.19}.gz $docdir/$src + mv $C/{ChangeLog-1.0.21,COPYING,ChangeLog-1.0.23}.gz $docdir/$src + mv $C/{ChangeLog-1.0.18,README.aix,ChangeLog-1.0.7}.gz $docdir/$src + mv $C/{ChangeLog-1.0.13,README.netbsd,PROJECTS}.gz $docdir/$src + mv $C/{ChangeLog-1.0.8,README.openbsd,NEWS,ChangeLog-1.0.3}.gz $docdir/$src + mv $C/{README.freebsd,ChangeLog-1.0.5,ChangeLog-1.0.9}.gz $docdir/$src + mv $C/{README.linux,ChangeLog-1.0.10,ChangeLog-1.0.6}.gz $docdir/$src + mv $C/{README.djpeg,ChangeLog-1.0.16,ChangeLog-1.0.2}.gz $docdir/$src + mv $C/{README.unixware2,ChangeLog-1.0.22,README.beos}.gz $docdir/$src + mv $C/{ChangeLog-1.0.4,$func,$myname,$spec}.gz $docdir/$src + touch -r $S $docdir/$src convert_links + touch -t `date '+%m%d0900'` $P/usr/$libdir/sane 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` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libsane.*` + tar rvpf $pkg.tar -C $P usr/$libdir/sane + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/sane + tar rvpf $pkg.tar -C $P usr/share/sane + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P etc/sane.d + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | 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 `cd $P ; find usr/share/man/man7 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/m17n_db/PlamoBuild.m17n_db-1.6.5 2018-07-24 17:35:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.savannah.gnu.org/releases/m17n/m17n-db-1.6.5.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=m17n_db +vers=1.6.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=m17n-db-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS NEWS README ChangeLog ABOUT-NLS INSTALL COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,7 +73,9 @@ setup_docdir 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/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/m17n + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/04_xapps/m17n_lib/PlamoBuild.m17n_lib-1.6.4 2018-07-24 17:42:32.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.savannah.gnu.org/releases/m17n/m17n-lib-1.6.4.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=m17n_lib +vers=1.6.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=m17n-lib-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO INSTALL ChangeLog NEWS AUTHORS ABOUT-NLS README COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,12 @@ setup_docdir 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 -maxdepth 1 -name libm17n*` + tar rvpf $pkg.tar -C $P usr/$libdir/m17n + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/poppler/PlamoBuild.poppler-0.26.5 2018-08-30 15:33:15.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://poppler.freedesktop.org/poppler-0.26.5.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=poppler +vers=0.26.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-xpdf-headers --enable-zlib --enable-libcurl" +DOCS="COPYING NEWS INSTALL README README-XPDF AUTHORS ChangeLog TODO" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,13 @@ setup_docdir 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/$libdir -type f` + tar rvpf $pkg.tar -C $P usr/include/poppler + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | 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 usr/share/gtk-doc/html/poppler 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/graphite2/PlamoBuild.graphite2-1.3.12 2018-10-24 12:37:40.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/silgraphite/graphite2-1.3.12.tgz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=graphite2 +vers=1.3.12 arch=`uname -m` build=P1 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog LICENSE README.md Todo.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,12 +29,14 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -45,6 +47,8 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/$libdir \ + -DLIB_SUFFIX=`[ $arch == x86_64 ] && echo 64` $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,6 +69,9 @@ make install DESTDIR=$P fi done + touch $P/usr/bin/* + find $P/usr/$libdir -type f -exec touch {} \; + touch $P/usr/share/graphite2/* touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,8 +80,12 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/graphite2 + tar rvpf $pkg.tar -C $P usr/share/graphite2 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 --- 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/gimp.txz/babl/PlamoBuild.babl-0.1.10 2019-10-23 16:47:46.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://download.gimp.org/pub/babl/0.1/babl-0.1.10.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=babl +vers=0.1.10 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING TODO NEWS README AUTHORS ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,16 @@ 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/babl-0.1 + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/$libdir/babl-0.1 setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libbabl-*` + tar rvpf $pkg.tar -C $P usr/$libdir/babl-0.1 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/babl-0.1 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/gimp.txz/libopenraw/PlamoBuild.libopenraw-0.0.9 2019-10-23 17:56:56.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://libopenraw.freedesktop.org/download/libopenraw-0.0.9.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libopenraw +vers=0.0.9 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING.LESSER ChangeLog AUTHORS INSTALL TODO NEWS COPYING README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,13 @@ 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 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P usr/include/libopenraw-1.0 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/gimp.txz/libspiro/PlamoBuild.libspiro-20071029 2019-10-23 18:28:42.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libspiro/libspiro_src-20071029.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libspiro +vers=20071029 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README README-RaphLevien gpl.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,12 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/gimp.txz/exiv2/PlamoBuild.exiv2-0.23 2019-10-23 20:11:34.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.exiv2.org/releases/exiv2-0.23.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=exiv2 +vers=0.23 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/exiv2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/gimp.txz/gegl/PlamoBuild.gegl-0.2.0 2019-10-23 17:32:51.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="https://download.gimp.org/pub/gegl/0.2/gegl-0.2.0.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/gimp.txz/gegl/gegl-0.2.0-CVE-2012-4433.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/gimp.txz/gegl/gegl-0.2.0-libav54.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/04_xapps/gimp.txz/gegl/gegl-0.2.0-remove-src-over-op.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gegl +vers=0.2.0 arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="gegl-0.2.0-CVE-2012-4433.patch.gz gegl-0.2.0-libav54.patch.gz + gegl-0.2.0-remove-src-over-op.patch.gz" +OPT_CONFIG="--disable-docs" +DOCS="COPYING NEWS COPYING.LESSER README AUTHORS ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +74,18 @@ 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/gegl-0.2 + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/$libdir/gegl-0.2 setup_docdir 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 -name libgegl-*` + tar rvpf $pkg.tar -C $P usr/$libdir/gegl-0.2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gegl-0.2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/gimp.txz/gimp/PlamoBuild.gimp-2.8.14 2019-10-23 15:42:02.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.gimp.org/pub/gimp/v2.8/gimp-2.8.14.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gimp +vers=2.8.14 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.i18n LICENSE HACKING INSTALL NEWS NEWS.pre-2-2 COPYING README + ChangeLog.pre-2-6 ChangeLog.pre-1-2 ChangeLog NEWS.pre-2-6 + ChangeLog.pre-2-2 AUTHORS ChangeLog.pre-2-0 ChangeLog.pre-1-0 + NEWS.pre-2-0 ChangeLog.pre-2-4 NEWS.pre-2-4" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +73,30 @@ 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/gimp/2.0/modules + strip_libdir $P/usr/$libdir/gimp/2.0/python + TZ=UTC touch -t `date -u '+%m%d0000'` \ + $P/usr/$libdir/gimp/2.0/{modules,python} setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/gimp + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgimp*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gimp-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gimp + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/appdata | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/applications | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/icons/hicolor -name *.png` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P etc/gimp 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 + 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/04_xapps/GraphicsMagick/PlamoBuild.GraphicsMagick-1.3.25 2019-10-23 06:52:20.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/graphicsmagick/GraphicsMagick-1.3.25.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=GraphicsMagick +vers=1.3.25 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-shared=yes --enable-magick-compat --with-modules + --with-perl" +DOCS="ChangeLog.2004 ChangeLog ChangeLog.2013 NEWS.txt ChangeLog.2015 + ChangeLog.2014 ChangeLog.2005 TODO.txt ChangeLog.2002 Copyright.txt + ChangeLog.2009 ChangeLog.2006 ChangeLog.2007 ChangeLog.2003 ChangeLog.2001 + ChangeLog.2012 ChangeLog.2011 ChangeLog.2008 ChangeLog.2010 README.txt" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +74,29 @@ 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/GraphicsMagick-$vers/modules-Q8/coders + strip_libdir $P/usr/$libdir/GraphicsMagick-$vers/modules-Q8/filters + TZ=UTC touch -t `date -u '+%m%d0000'` \ + $P/usr/$libdir/GraphicsMagick-$vers/modules-Q8/{coders,filters} setup_docdir + mv $docdir/GraphicsMagick/www $docdir/$src + mv $docdir/$src/{www,{ChangeLog.20{01,12,11,08,10},README.txt}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{www,{ChangeLog.20{01,12,11,08,10},README.txt}.gz} $docdir/$src + mv $C/{$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/$libdir -name libGraphicsMagick*` + tar rvpf $pkg.tar -C $P usr/$libdir/GraphicsMagick-$vers + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/GraphicsMagick + tar rvpf $pkg.tar -C $P usr/share/GraphicsMagick-$vers 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/man4 | 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 + 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/lame/PlamoBuild.lame-3.98.4 2017-09-20 12:24:43.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/lame/lame-3.98.4.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=lame +vers=3.98.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="STYLEGUIDE USAGE README API TODO LICENSE INSTALL.configure + README.WINGTK DEFINES COPYING ChangeLog INSTALL HACKING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +72,21 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/lame/html $docdir/$src + mv $docdir/$src/{html,{LICENSE,INSTALL.configure,README.WINGTK}.gz} $C + mv $docdir/$src/{DEFINES,COPYING,ChangeLog,INSTALL,HACKING}.gz $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{html,{LICENSE,INSTALL.configure,README.WINGTK}.gz} $docdir/$src + mv $C/{DEFINES,COPYING,ChangeLog,INSTALL,HACKING}.gz $docdir/$src + mv $C/{$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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/lame 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/pulseaudio/PlamoBuild.pulseaudio-7.1 2017-09-10 19:03:40.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://freedesktop.org/software/pulseaudio/releases/pulseaudio-7.1.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pulseaudio +vers=7.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE README NEWS PROTOCOL ABOUT-NLS LGPL GPL todo" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +65,74 @@ make install DESTDIR=$P fi done + cat <<- "EOF" > $P/etc/asound.conf + pcm.pulse { + type pulse + } + + ctl.pulse { + type pulse + } + + pcm.!default { + type pulse + } + + ctl.!default { + type pulse + } + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec/pulse + strip_libdir $P/usr/$libdir/pulseaudio + strip_libdir $P/usr/$libdir/pulse-$vers/modules + touch -t `date '+%m%d0900'` $P/usr/libexec/pulse + touch -t `date '+%m%d0900'` $P/usr/$libdir/pulseaudio + touch -t `date '+%m%d0900'` $P/usr/$libdir/pulse-$vers/modules setup_docdir - convert_links + false && convert_links + prune_symlink $P/usr/bin + prune_symlink $P/usr/$libdir + prune_symlink $P/usr/share/bash-completion/completions + prune_symlink $infodir + prune_symlink $mandir/man1 + touch -t `date '+%m%d0900'` $P/usr/share/bash-completion/completions + cat <<- "EOF" >> $P/install/doinst.sh + if [ -x usr/bin/esd ] ; then + ( cd usr/bin ; rm -rf esd ) + ( cd usr/bin ; ln -sf esdcompat esd ) + fi + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/pulse + tar rvpf $pkg.tar -C $P usr/$libdir/pulseaudio + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libpulse*` + tar rvpf $pkg.tar -C $P usr/$libdir/pulse-$vers + tar rvpf $pkg.tar -C $P usr/$libdir/cmake/PulseAudio + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/pulse + tar rvpf $pkg.tar -C $P usr/share/pulseaudio + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/bash-completion/completions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/vala/vapi | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/zsh/site-functions | 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 etc/pulse + tar rvpf $pkg.tar -C $P `cd $P ; find etc/xdg/autostart | tail -n+2` + tar rvpf $pkg.tar -C $P etc/asound.conf + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/sox/PlamoBuild.sox-14.4.2 2017-09-20 12:26:59.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/sox/sox-14.4.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=sox +vers=14.4.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-distro=Plamo_Linux" +DOCS="COPYING README README.win32 README.osx INSTALL ChangeLog + NEWS LICENSE.LGPL AUTHORS LICENSE.GPL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/speex/PlamoBuild.speex-1.2rc2 2017-09-10 18:32:48.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xiph.org/releases/speex/speex-1.2rc2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=speex +vers=1.2rc2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.TI-DSP ChangeLog README.symbian README TODO COPYING + AUTHORS NEWS INSTALL README.blackfin" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +72,21 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/speex $docdir/$src/doc + mv $docdir/$src/{doc,{README,TODO,COPYING,AUTHORS,NEWS,INSTALL}.gz} $C + mv $docdir/$src/{README.blackfin,$func,$myname,$spec}.gz $C + mv $C/{doc,{README,TODO,COPYING,AUTHORS,NEWS,INSTALL}.gz} $docdir/$src + mv $C/{README.blackfin,$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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/speex + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/speexdsp/PlamoBuild.speexdsp-1.2rc3 2017-09-10 18:34:55.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xiph.org/releases/speex/speexdsp-1.2rc3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=speexdsp +vers=1.2rc3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL AUTHORS TODO ChangeLog COPYING README.blackfin + NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +72,18 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/speexdsp $docdir/$src/doc + mv $docdir/$src/{doc,{INSTALL,AUTHORS,TODO,ChangeLog}.gz} $C + mv $docdir/$src/{COPYING,README.blackfin,NEWS,$func,$myname,$spec}.gz $C + mv $C/{doc,{INSTALL,AUTHORS,TODO,ChangeLog}.gz} $docdir/$src + mv $C/{COPYING,README.blackfin,NEWS,$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/speex 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libsndfile/PlamoBuild.libsndfile-1.0.25 2017-09-21 15:44:01.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libsndfile +vers=1.0.25 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README AUTHORS INSTALL ChangeLog COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,20 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libsndfile1-dev/html $docdir/$src + mv $docdir/$src/{html,{AUTHORS,INSTALL,ChangeLog,COPYING}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{html,{AUTHORS,INSTALL,ChangeLog,COPYING}.gz} $docdir/$src + mv $C/{$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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/flac/PlamoBuild.flac-1.2.1 2017-09-21 15:46:59.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xiph.org/releases/flac/flac-1.2.1.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/AV.txz/flac/flac-1.2.1-encode_main.cpp.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=flac +vers=1.2.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="flac-1.2.1-encode_main.cpp.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING.Xiph COPYING.FDL AUTHORS COPYING.LGPL + COPYING.GPL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in doc{/html{/ru,/images{/hw,},},} ; do + cp -p $i/Makefile.in{,.orig} + sed -i '/^docdir =/s@-$(VERSION)@@' $i/Makefile.in + done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,10 +78,21 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/flac/{FLAC.tag,html} $docdir/$src + mv $docdir/$src/{FLAC.tag,html,{COPYING.Xiph,COPYING.FDL,AUTHORS}.gz} $C + mv $docdir/$src/{COPYING.LGPL,COPYING.GPL,$func,$myname,$spec}.gz $C + mv $C/{FLAC.tag,html,{COPYING.Xiph,COPYING.FDL,AUTHORS}.gz} $docdir/$src + mv $C/{COPYING.LGPL,COPYING.GPL,$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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libogg/PlamoBuild.libogg-1.3.2 2017-09-21 15:52:39.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libogg +vers=1.3.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES README COPYING AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,19 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libogg $docdir/$src/doc + mv $docdir/$src/{doc,{CHANGES,README,COPYING,AUTHORS}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{doc,{CHANGES,README,COPYING,AUTHORS}.gz} $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/ogg + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libvorbis/PlamoBuild.libvorbis-1.3.4 2017-09-21 15:55:05.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libvorbis +vers=1.3.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING README CHANGES todo.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in doc{/libvorbis,/vorbisfile,/vorbisenc,} ; do + cp -p $i/Makefile.in{,.orig} + sed -i '/^docdir =/s@-$(VERSION)@@' $i/Makefile.in + done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,10 +76,17 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libvorbis $docdir/$src/doc + mv $docdir/$src/{doc,{CHANGES,todo.txt,$func,$myname,$spec}.gz} $C + mv $C/{doc,{CHANGES,todo.txt,$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/vorbis + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libsamplerate/PlamoBuild.libsamplerate-0.1.7 2017-09-25 13:37:15.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.mega-nerd.com/SRC/libsamplerate-0.1.7.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libsamplerate +vers=0.1.7 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS AUTHORS ChangeLog INSTALL COPYING README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/jack_audio_connection_kit/PlamoBuild.jack_audio_connection_kit-0.121.3 2017-05-10 20:17:11.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/jack-audio-connection-kit-0.121.3.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=jack_audio_connection_kit +vers=0.121.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=jack-audio-connection-kit-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO AUTHORS README COPYING.LGPL COPYING COPYING.GPL" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,11 +69,19 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/jack + touch -t `date '+%m%d0900'` $P/usr/$libdir/jack setup_docdir 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/$libdir -name libjack*` + tar rvpf $pkg.tar -C $P usr/$libdir/jack + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/jack + tar rvpf $pkg.tar -C $P usr/share/jack-audio-connection-kit 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/a52dec/PlamoBuild.a52dec-0.7.4 2017-05-11 23:08:56.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=a52dec +vers=0.7.4 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-shared" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS TODO HISTORY + doc/liba52.txt" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +42,7 @@ 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]} CFLAGS="-fPIC -g" fi done fi @@ -72,8 +73,11 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/a52dec 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 + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/libass/PlamoBuild.libass-0.12.0 2017-05-12 14:21:12.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/libass/libass/releases/download/0.12.0/libass-0.12.0.tar.xz + http://www.paldo.org/paldo/sources/libass/libass-0.10.0.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libass +vers=0.12.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src[0]=$pkgbase-$vers +src[1]=$pkgbase-0.10.0 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING Changelog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,7 +63,11 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + case $i in + 0) make install DESTDIR=$P ;; + 1) install libass/.libs/libass.so.4.1.0 $P/usr/$libdir + ln -s libass.so.4.1.0 $P/usr/$libdir/libass.so.4 ;; + esac fi done touch $W/i.et @@ -71,9 +77,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/ass 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/gsm/PlamoBuild.gsm-1.0_pl13 2017-05-13 12:57:01.000000000 +0900 @@ -1,16 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="http://archive.ubuntu.com/ubuntu/pool/main/libg/libgsm/libgsm_1.0.13.orig.tar.gz + http://archive.ubuntu.com/ubuntu/pool/main/libg/libgsm/libgsm_1.0.13-3.diff.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gsm +vers=1.0_pl13 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P2 +src=$pkgbase-1.0-pl13 +patchfiles="libgsm_1.0.13-3.diff.gz" OPT_CONFIG="" DOCS="README" template=20170415 @@ -36,6 +37,27 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in debian/patches/*.dpatch ; do patch -Np1 -i $i ; done + cp -p Makefile{,.orig} + cat <<- "EOF" | patch Makefile + 47c47 + < CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 + --- + > CCFLAGS = -c -O2 -fPIC -DNeedFunctionPrototypes=1 + 82,84c82,84 + < GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib + < GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc + < GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3 + --- + > GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/$(LIBDIR) + > GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/include/gsm + > GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/share/man/man3 + 94c94 + < TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT)/man/man1 + --- + > TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT)/share/man/man1 + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -61,9 +83,13 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + install -d $P/usr/{bin,$libdir,include/gsm,share/man/man{1,3}} + make -i install INSTALL_ROOT=$P/usr LIBDIR=$libdir fi done + install lib/libgsm.so.1.0.12 $P/usr/$libdir + ln -s libgsm.so.1.0.12 $P/usr/$libdir/libgsm.so.1 + ln -s libgsm.so.1.0.12 $P/usr/$libdir/libgsm.so touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +98,12 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gsm 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/opencore_amr/PlamoBuild.opencore_amr-0.1.3 2017-05-13 18:26:08.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/opencore-amr/opencore-amr-0.1.3.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=opencore_amr +vers=0.1.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=opencore-amr-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-examples" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS LICENSE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p amrnb/opencore-amrnb.pc.in{,.orig} + sed -i '/^includedir=/s@$@/opencore-amrnb@' amrnb/opencore-amrnb.pc.in + cp -p amrwb/opencore-amrwb.pc.in{,.orig} + sed -i '/^includedir=/s@$@/opencore-amrwb@' amrwb/opencore-amrwb.pc.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,8 +77,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/rtmpdump/PlamoBuild.rtmpdump-git_20150114 2017-05-13 22:02:22.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="git://git.ffmpeg.org/rtmpdump.git" verify= digest= -commitid= -pkgbase= -vers= +commitid=a107cef +pkgbase=rtmpdump +vers=git_20150114 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=$pkgbase patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING ChangeLog README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -49,7 +49,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make libdir=/usr/$libdir fi done fi @@ -61,19 +61,29 @@ 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 libdir=/usr/$libdir mandir=/usr/share/man fi done + ln -s librtmp.so.1 $P/usr/$libdir/librtmp.so.0 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/librtmp 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/man3 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/schroedinger/PlamoBuild.schroedinger-1.0.11 2017-05-14 09:24:55.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://download.videolan.org/contrib/schroedinger/schroedinger-1.0.11.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=schroedinger +vers=1.0.11 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING.MPL TODO COPYING.LGPL AUTHORS COPYING.GPL README + COPYING.MIT NEWS COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,9 +72,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/schroedinger-1.0 + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/schroedinger 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/libtheora/PlamoBuild.libtheora-1.1.1 2017-05-14 12:58:13.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/AV.txz/libtheora/libtheora-1.1.1-png_sizeof_fix.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libtheora +vers=1.1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" +patchfiles="libtheora-1.1.1-png_sizeof_fix.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE AUTHORS CHANGES README COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,7 +62,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P docdir=/usr/share/doc/libtheora fi done touch $W/i.et @@ -70,10 +71,16 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libtheora $docdir/$src/doc + mv $docdir/$src/{doc,{README,COPYING,$func,$myname,$spec}.gz} $C + mv $C/{doc,{README,COPYING,$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/theora 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/vo_aacenc/PlamoBuild.vo_aacenc-0.1.2 2017-05-14 13:42:40.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/opencore-amr/vo-aacenc-0.1.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=vo_aacenc +vers=0.1.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=vo-aacenc-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-example" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS NOTICE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/vo-aacenc 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/vo_amrwbenc/PlamoBuild.vo_amrwbenc-0.1.2 2017-05-14 14:21:35.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/opencore-amr/vo-amrwbenc-0.1.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=vo_amrwbenc +vers=0.1.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=vo-amrwbenc-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-example" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS NOTICE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/vo-amrwbenc 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/libvpx/PlamoBuild.libvpx-v1.3.0 2017-05-16 20:22:08.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://download.videolan.org/contrib/vpx/libvpx-v1.3.0.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=libvpx +vers=v1.3.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-runtime-cpu-detect --enable-shared" +DOCS="README PATENTS CHANGELOG AUTHORS LICENSE" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,12 +36,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p build/make/configure.sh{,.orig} + sed -i '/CROSS=/s@arm-.*-@@' build/make/configure.sh for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure --prefix=/usr --libdir=/usr/$libdir ${OPT_CONFIG[$i]} fi done fi @@ -64,6 +65,8 @@ make install DESTDIR=$P fi done + chown -R root.root $P/usr/{bin,$libdir,include} + touch $P/usr/{bin,$libdir{,/pkgconfig}}/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +75,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/vpx 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/x264/PlamoBuild.x264-git_20140717 2018-04-19 10:50:16.000000000 +0900 @@ -1,18 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="https://git.videolan.org/git/x264.git" verify= digest= -commitid= -pkgbase= -vers= +commitid[0]=021c0dc +commitid[1]=cb4547a +pkgbase=x264 +vers=git_20140717 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src[0]=$pkgbase +src[1]=$pkgbase~ patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG[0]="--enable-shared" +OPT_CONFIG[1]="${OPT_CONFIG[0]}" +DOCS="AUTHORS COPYING `echo doc/{ratecontrol,regression_test}.txt` + `echo doc/{standards,threads,vui}.txt` ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,7 +33,18 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + if [ ! -d x264 ] ; then git clone $url ; else + ( cd x264 ; git pull origin master ) ; fi + ( cd x264 + git checkout origin/master ; git reset --hard ${commitid[1]} + git set-file-times ; if [ -z "`git ls-files ChangeLog`" ] ; then + LANG=ja_JP.UTF-8 TZ=UTC gitlog2changelog ; fi ) + rm -rf x264~ ; cp -a x264 x264~ + ( cd x264 + git checkout origin/master ; git reset --hard ${commitid[0]} + git set-file-times ; if [ -z "`git ls-files ChangeLog`" ] ; then + LANG=ja_JP.UTF-8 TZ=UTC gitlog2changelog ; fi ) fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -39,9 +54,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure --prefix=/usr --libdir='${exec_prefix}'/$libdir \ + ${OPT_CONFIG[$i]} fi done fi @@ -61,7 +75,10 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + case $i in + 0) make install DESTDIR=$P ;; + 1) install libx264.so.130 $P/usr/$libdir ;; + esac fi done touch $W/i.et @@ -70,10 +87,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $docdir/$src{,/doc} 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/x265/PlamoBuild.x265-1.6 2017-05-28 10:27:13.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://bitbucket.org/multicoreware/x265/downloads/x265_1.6.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=x265 +vers=1.6 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=${pkgbase}_$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING readme.rst" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -33,9 +33,21 @@ fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches + cd $S + cp -p source/CMakeLists.txt{,.orig} + cat <<- "EOF" | patch source/CMakeLists.txt + 266c266,270 + < set(LIB_INSTALL_DIR lib CACHE STRING "Install location of libraries") + --- + > if(X64) + > set(LIB_INSTALL_DIR lib64 CACHE STRING "Install location of libraries") + > else() + > set(LIB_INSTALL_DIR lib CACHE STRING "Install location of libraries") + > endif(X64) + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -44,6 +56,7 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr $S/source fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -64,16 +77,22 @@ make install DESTDIR=$P fi done + find $P/usr -type f -exec touch {} \; + ln -s libx265.so.51 $P/usr/$libdir/libx265.so.48 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/AV.txz/ffmpeg/PlamoBuild.ffmpeg-2.5.4 2017-05-11 09:58:10.000000000 +0900 @@ -1,18 +1,36 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.ffmpeg.org/releases/ffmpeg-2.5.4.tar.bz2 + http://www.ffmpeg.org/releases/ffmpeg-1.2.4.tar.bz2" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ffmpeg +vers=2.5.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src[0]=$pkgbase-$vers +src[1]=$pkgbase-1.2.4 patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG[0]="--enable-gpl --enable-version3 --enable-shared + --enable-libass --enable-libgsm --enable-libmp3lame + --enable-libopencore_amrnb --enable-libopencore_amrwb + --enable-libopenjpeg --enable-libpulse --enable-librtmp + --enable-libschroedinger --enable-libspeex --enable-libtheora + --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis + --enable-libvpx --enable-libx264 --enable-libx265 --enable-x11grab + --disable-debug" +OPT_CONFIG[1]="--enable-gpl --enable-version3 --enable-shared + --enable-libass --enable-libgsm --enable-libmp3lame + --enable-libopencore_amrnb --enable-libopencore_amrwb + --enable-libopenjpeg --enable-libpulse --enable-librtmp + --enable-libschroedinger --enable-libspeex --enable-libtheora + --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis + --enable-libvpx --enable-libx264 --enable-x11grab --disable-debug" +DOCS="RELEASE RELEASE_NOTES COPYING.GPLv3 INSTALL.md COPYING.LGPLv3 + VERSION CREDITS COPYING.GPLv2 Changelog LICENSE.md MAINTAINERS + COPYING.LGPLv2.1 README.md" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -39,8 +57,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + ./configure --prefix=/usr --libdir=/usr/$libdir --shlibdir=/usr/$libdir \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -61,7 +78,18 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + case $i in + 0) make install DESTDIR=$P ;; + 1) + for i in libavdevice.so.54.3.103 libavfilter.so.3.42.103 \ + libavformat.so.54.63.104 libavcodec.so.54.92.100 \ + libpostproc.so.52.2.100 libswresample.so.0.17.102 \ + libswscale.so.2.2.100 libavutil.so.52.18.100 ; do + install ${i%%.*}/${i%.*.*} $P/usr/$libdir/$i + ln -s $i $P/usr/$libdir/${i%.*.*} + done + ;; + esac fi done touch $W/i.et @@ -72,8 +100,14 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/ffmpeg 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/sbc/PlamoBuild.sbc-1.2 2018-04-04 13:43:08.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/bluetooth/sbc-1.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=sbc +vers=1.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL NEWS COPYING ChangeLog AUTHORS COPYING.LIB TODO README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/sbc 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/v4l_utils/PlamoBuild.v4l_utils-0.8.4 2018-04-13 15:31:38.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://linuxtv.org/downloads/v4l-utils/v4l-utils-0.8.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=v4l_utils +vers=0.8.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=v4l-utils-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING COPYING.LIB ChangeLog INSTALL README README.lib + README.lib-multi-threading TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,23 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p lib/libv4lconvert/jpeg_memsrcdest.c{,.orig} + cat <<- "EOF" | patch lib/libv4lconvert/jpeg_memsrcdest.c + 27c27 + < #if JPEG_LIB_VERSION < 80 + --- + > #if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) + EOF + cp -p lib/libv4lconvert/jpeg_memsrcdest.h{,.orig} + cat <<- "EOF" | patch lib/libv4lconvert/jpeg_memsrcdest.h + 2a3,4 + > #if JPEG_LIB_VERSION < 80 && !defined(MEM_SRCDST_SUPPORTED) + > + 9a12,13 + > + > #endif + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -50,7 +68,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make PREFIX=/usr LIBDIR=/usr/$libdir fi done fi @@ -62,7 +80,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 LIBDIR=/usr/$libdir fi done touch $W/i.et @@ -70,11 +88,26 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/libv4l + touch -t `date '+%m%d0900'` $P/usr/$libdir/libv4l setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/libv4l + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libv4lc*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libv4l[21]*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/applications | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/icons/hicolor/scalable/apps | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libdv/PlamoBuild.libdv-1.0.0 2018-04-13 16:09:32.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libdv/libdv-1.0.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libdv +vers=1.0.0 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS TODO COPYRIGHT + README.encoder README.dvconnect" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libdv 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libavc1394/PlamoBuild.libavc1394-0.5.4 2018-04-13 16:33:44.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libavc1394/libavc1394-0.5.4.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libavc1394 +vers=0.5.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS INSTALL NEWS ChangeLog README COPYING TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libavc1394 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/wavpack/PlamoBuild.wavpack-4.60.1 2018-04-13 17:45:57.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.wavpack.com/wavpack-4.60.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=wavpack +vers=4.60.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS AUTHORS ChangeLog README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/wavpack 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libdvdread/PlamoBuild.libdvdread-4.2.0 2018-04-18 16:33:09.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://download.videolan.org/pub/videolan/libdvdread/libdvdread-4.2.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libdvdread +vers=4.2.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO COPYING AUTHORS NEWS ChangeLog INSTALL README + DEVELOPMENT-POLICY.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + ./autogen.sh for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -73,8 +76,12 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/dvdread + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libmad/PlamoBuild.libmad-0.15.1b 2018-04-19 12:01:48.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/mad/libmad-0.15.1b.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libmad +vers=0.15.1b arch=`uname -m` -build=P1 +build=P6 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING INSTALL TODO CHANGES COPYRIGHT CREDITS VERSION" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p configure{,.orig} + sed -i '/-fforce-mem/d' configure for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,6 +68,20 @@ make install DESTDIR=$P fi done + install -d $P/usr/$libdir/pkgconfig + cat <<- EOF > $P/usr/$libdir/pkgconfig/mad.pc + prefix=/usr + exec_prefix=\${prefix} + libdir=\${exec_prefix}/${libdir} + includedir=\${prefix}/include + + Name: mad + Description: MPEG audio decoder + Requires: + Version: 0.15.1b + Libs: -L\${libdir} -lmad + Cflags: -I\${includedir} + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +89,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libmpeg2/PlamoBuild.libmpeg2-0.5.1 2018-04-18 16:56:46.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libmpeg2 +vers=0.5.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CodingStyle INSTALL NEWS ChangeLog AUTHORS TODO README COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/mpeg2dec 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/twolame/PlamoBuild.twolame-0.3.13 2018-04-18 17:23:03.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/twolame/twolame-0.3.13.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=twolame +vers=0.3.13 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS ChangeLog COPYING README TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,18 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/twolame $docdir/$src/doc + mv $docdir/$src/{doc,{README,TODO,$func,$myname,$spec}.gz} $C + mv $C/{doc,{README,TODO,$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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/l_smash/PlamoBuild.l_smash-git_20160216 2018-04-19 17:43:19.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/l-smash/l-smash.git" verify= digest= branch= -commitid= -pkgbase= -vers= +commitid=96a3d50 +pkgbase=l_smash +vers=git_20160216 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=l-smash patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-shared" +DOCS="LICENSE ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -40,9 +40,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure --prefix=/usr --libdir=/usr/$libdir ${OPT_CONFIG[$i]} fi done fi @@ -71,10 +69,14 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libdc1394/PlamoBuild.libdc1394-2.1.4 2018-04-19 15:55:27.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libdc1394/libdc1394-2.1.4.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libdc1394 +vers=2.1.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README AUTHORS COPYING ChangeLog INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/dc1394 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libdca/PlamoBuild.libdca-0.0.5 2018-04-19 16:06:22.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libdca +vers=0.0.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="doc/libdca.txt NEWS TODO README AUTHORS INSTALL ChangeLog + COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libdvdnav/PlamoBuild.libdvdnav-4.2.0 2018-04-19 16:19:30.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libdvdnav +vers=4.2.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO COPYING AUTHORS NEWS ChangeLog INSTALL README + DEVELOPMENT-POLICY.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + ./autogen.sh for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -73,8 +76,12 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/dvdnav + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/faac/PlamoBuild.faac-1.28 2018-04-19 16:42:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/faac/faac-1.28.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=faac +vers=1.28 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,14 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p common/mp4v2/mpeg4ip.h{,.orig} + cat <<- "EOF" | patch common/mp4v2/mpeg4ip.h + 122a123 + > /* + 129a131 + > */ + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -73,8 +81,11 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/faad2/PlamoBuild.faad2-2.7 2018-04-19 17:08:10.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/faac/faad2-2.7.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=faad2 +vers=2.7 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog AUTHORS COPYING NEWS README README.linux TODO INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +65,8 @@ make install DESTDIR=$P fi done + mv $mandir/man{m,1} + mv $mandir/man1/faad.{man,1} touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,8 +75,11 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libmms/PlamoBuild.libmms-0.6.2 2018-04-19 18:04:34.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libmms/libmms-0.6.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libmms +vers=0.6.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS ChangeLog INSTALL README README.LICENSE AUTHORS COPYING.LIB" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libmms 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/mjpegtools/PlamoBuild.mjpegtools-2.0.0 2018-04-19 18:41:49.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/mjpeg/mjpegtools-2.0.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=mjpegtools +vers=2.0.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.avilib TODO INSTALL AUTHORS INSTALL.real README.lavpipe + CHANGES README.transist COPYING PLANS BUGS HINTS mjpeg_howto.txt + README.glav README README.AltiVec README.DV ChangeLog NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,14 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p y4mdenoise/MotionSearcher.hh{,.orig} + cat <<- "EOF" | patch y4mdenoise/MotionSearcher.hh + 2199c2199 + < DeleteRegion (a_pRegion); + --- + > this->DeleteRegion (a_pRegion); + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -73,8 +83,14 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/mjpegtools + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libmpcdec/PlamoBuild.libmpcdec-1.2.6 2018-04-20 12:14:59.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://files.musepack.net/source/libmpcdec-1.2.6.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libmpcdec +vers=1.2.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog INSTALL README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/mpcdec 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libofa/PlamoBuild.libofa-0.9.3 2018-04-20 15:58:51.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://distfiles.macports.org/libofa/libofa-0.9.3.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/AV.txz/libofa/current-c++-style.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libofa +vers=0.9.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="current-c++-style.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p examples/uselame.cpp{,.orig} + cat <<- "EOF" | patch examples/uselame.cpp + 14a15 + > #include + EOF + cp -p examples/wavefile.cpp{,.orig} + cat <<- "EOF" | patch examples/wavefile.cpp + 13a14 + > #include + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,9 +84,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/ofa1 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/openal_soft/PlamoBuild.openal_soft-1.12.854 2018-05-01 08:39:49.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://kcat.strangesoft.net/openal-releases/openal-soft-1.12.854.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=openal_soft +vers=1.12.854 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=openal-soft-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,12 +29,14 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -45,6 +47,8 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/$libdir \ + -DLIB_SUFFIX=`[ $arch == x86_64 ] && echo 64` $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,6 +69,8 @@ make install DESTDIR=$P fi done + touch $P/usr/bin/* + find $P/usr/$libdir -type f -exec touch {} \; touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,8 +79,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/AL 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/opus/PlamoBuild.opus-1.1 2018-04-20 17:32:25.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=opus +vers=1.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING INSTALL NEWS ChangeLog README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,18 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/opus/html $docdir/$src + mv $docdir/$src/{html,{$func,$myname,$spec}.gz} $C + mv $C/{html,{$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/opus + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/xvidcore/PlamoBuild.xvidcore-1.3.2 2018-05-01 08:40:01.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=xvidcore +vers=1.3.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=$pkgbase patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog doc/INSTALL doc/README LICENSE TODO CodingStyle + ChangeLog-1.0 README AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -38,7 +39,7 @@ done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build/generic if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -48,7 +49,7 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build/generic if [ -f Makefile ] ; then make fi @@ -60,11 +61,15 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/build/generic if [ -f Makefile ] ; then make install DESTDIR=$P fi done + mv $P/usr/$libdir/libxvidcore.a $C + ln -s libxvidcore.so.4.3 $P/usr/$libdir/libxvidcore.so.4 + ln -s libxvidcore.so.4.3 $P/usr/$libdir/libxvidcore.so + mv $C/libxvidcore.a $P/usr/$libdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +77,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libquicktime/PlamoBuild.libquicktime-1.2.4 2018-06-12 12:52:12.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libquicktime/libquicktime-1.2.4.tar.gz + http://www.linuxfromscratch.org/patches/blfs/7.6/libquicktime-1.2.4-ffmpeg2-1.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libquicktime +vers=1.2.4 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="libquicktime-1.2.4-ffmpeg2-1.patch" +OPT_CONFIG="--enable-gpl --with-libdv" +DOCS="TODO COPYING NEWS ChangeLog AUTHORS INSTALL README ABOUT-NLS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,24 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/libquicktime + touch -t `date '+%m%d0900'` $P/usr/$libdir/libquicktime setup_docdir + mv $docdir/libquicktime/apiref $docdir/$src + mv $docdir/$src/{apiref,{README,ABOUT-NLS,$func,$myname,$spec}.gz} $C + mv $C/{apiref,{README,ABOUT-NLS,$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/$libdir -maxdepth 1 -name libquicktime.*` + tar rvpf $pkg.tar -C $P usr/$libdir/libquicktime + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/lqt + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libid3tag/PlamoBuild.libid3tag-0.15.1b 2018-06-30 18:18:57.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/mad/libid3tag-0.15.1b.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libid3tag +vers=0.15.1b arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README COPYING INSTALL TODO CHANGES COPYRIGHT CREDITS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/AV.txz/libao/PlamoBuild.libao-1.2.0 2018-06-30 18:47:32.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xiph.org/releases/ao/libao-1.2.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libao +vers=1.2.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING CHANGES README TODO AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -62,7 +62,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P docdir=/usr/share/doc/libao fi done touch $W/i.et @@ -70,11 +70,23 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/ao/plugins-4 + touch -t `date '+%m%d0900'` $P/usr/$libdir/ao/plugins-4 setup_docdir + mv $docdir/libao $docdir/$src/html + mv $docdir/$src/{html,{$func,$myname,$spec}.gz} $C + mv $C/{html,{$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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libao.*` + tar rvpf $pkg.tar -C $P usr/$libdir/ao + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/ckport/db | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/ao + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 + 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/AV.txz/celt/PlamoBuild.celt-0.5.1.3 2019-02-27 12:41:06.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.us.xiph.org/releases/celt/celt-0.5.1.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=celt +vers=0.5.1.3 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS TODO" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/celt051 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/gcc_go/PlamoBuild.gcc_go-4.8.5 2017-10-15 19:53:26.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gcc_go +vers=4.8.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=gcc-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-werror --disable-multilib --enable-install-libiberty + --enable-__cxa_atexit --enable-threads=posix --enable-shared + --enable-languages=c,c++,fortran,go --enable-gnu-unique-object + --enable-linker-build-id --enable-plugin --with-system-zlib + --with-linker-hash-style=gnu --enable-clocale=gnu --disable-libstdcxx-pch" +DOCS="COPYING ChangeLog ABOUT-NLS NEWS COPYING3.LIB ChangeLog.tree-ssa + COPYING3 COPYING.RUNTIME README COPYING.LIB MAINTAINERS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +47,10 @@ 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]} \ + --libexecdir=/usr/$libdir \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --host=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -65,16 +73,43 @@ make install DESTDIR=$P fi done + mv $P/usr/bin/{,$arch-*-}gccgo $C + rm -f $P/usr/bin/* + mv $C/{,$arch-*-}gccgo $P/usr/bin + gcclibdir=$P/usr/$libdir/gcc/$arch-pc-linux-gnu + gcclibdir+=`[ $arch == armv7l ] && echo eabi`/$vers + mv $gcclibdir/go1 $C + rm -rf $gcclibdir/* + mv $C/go1 $gcclibdir + mv $P/usr/$libdir/libgobegin.a $C + mv $P/usr/$libdir/libgo.{so{.4{.0.0,},},{la,a}} $C + mv $P/usr/$libdir/go $C + rm -rf $P/usr/$libdir/lib* + mv $C/libgobegin.a $P/usr/$libdir + mv $C/libgo.{so{.4{.0.0,},},{la,a}} $P/usr/$libdir + mv $C/go $P/usr/$libdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in go1 ; do + echo "$i" + echo "stripping $i with -p" + strip -p $gcclibdir/$i + done + strip_libdir $gcclibdir + touch -t `date '+%m%d0900'` $gcclibdir setup_docdir 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 ${gcclibdir#$P/} | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -type f` + tar rvpf $pkg.tar -C $P usr/$libdir/go + tar rvpf $pkg.tar -C $P usr/share/info/gccgo.info.gz + tar rvpf $pkg.tar -C $P usr/share/man/man1/gccgo.1.gz 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/gfortran/PlamoBuild.gfortran-4.8.5 2017-10-15 19:52:35.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gfortran +vers=4.8.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=gcc-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-werror --disable-multilib --enable-install-libiberty + --enable-__cxa_atexit --enable-threads=posix --enable-shared + --enable-languages=c,c++,fortran,go --enable-gnu-unique-object + --enable-linker-build-id --enable-plugin --with-system-zlib + --with-linker-hash-style=gnu --enable-clocale=gnu --disable-libstdcxx-pch" +DOCS="COPYING ChangeLog ABOUT-NLS NEWS COPYING3.LIB ChangeLog.tree-ssa + COPYING3 COPYING.RUNTIME README COPYING.LIB MAINTAINERS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +47,10 @@ 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]} \ + --libexecdir=/usr/$libdir \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --host=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -65,16 +73,41 @@ make install DESTDIR=$P fi done + mv $P/usr/bin/{,$arch-*-}gfortran $C + rm -f $P/usr/bin/* + mv $C/{,$arch-*-}gfortran $P/usr/bin + gcclibdir=$P/usr/$libdir/gcc/$arch-pc-linux-gnu + gcclibdir+=`[ $arch == armv7l ] && echo eabi`/$vers + mv $gcclibdir/{finclude,f951} $C + mv $gcclibdir/lib{caf_single,gfortranbegin}.{la,a} $C + rm -rf $gcclibdir/* + mv $C/{finclude,f951} $gcclibdir + mv $C/lib{caf_single,gfortranbegin}.{la,a} $gcclibdir + mv $P/usr/$libdir/libgfortran.{spec,so{.3{.0.0,},},{la,a}} $C + rm -rf $P/usr/$libdir/{lib*,go} + mv $C/libgfortran.{spec,so{.3{.0.0,},},{la,a}} $P/usr/$libdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in f951 ; do + echo "$i" + echo "stripping $i with -p" + strip -p $gcclibdir/$i + done + strip_libdir $gcclibdir + touch -t `date '+%m%d0900'` $gcclibdir setup_docdir 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 ${gcclibdir#$P/} -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -type f` + tar rvpf $pkg.tar -C $P usr/share/info/gfortran.info.gz + tar rvpf $pkg.tar -C $P usr/share/man/man1/gfortran.1.gz 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/json_c/PlamoBuild.json_c-0.12 2017-09-10 18:17:12.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=json_c +vers=0.12 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=json-c-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog NEWS README README-WIN32.html + README.html RELEASE_CHECKLIST.txt INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + sed -i 's@-Werror @@g' Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,9 +76,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/json-c 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/fftw/PlamoBuild.fftw-3.3 2017-09-25 13:10:42.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://repository.timesys.com/buildsources/f/fftw/fftw-3.3/fftw-3.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=fftw +vers=3.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src[0]=$pkgbase-$vers +src[1]=$pkgbase-$vers +src[2]=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG[0]="--enable-shared" +OPT_CONFIG[1]="--enable-shared --enable-single" +OPT_CONFIG[2]="--enable-shared --enable-long-double" +DOCS="INSTALL NEWS TODO ChangeLog COPYING AUTHORS COPYRIGHT README + CONVENTIONS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +78,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/git/PlamoBuild.git-2.12.2 2018-06-26 17:58:11.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/software/scm/git/git-2.12.2.tar.gz + https://www.kernel.org/pub/software/scm/git/git-manpages-2.12.2.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/devel2.txz/git/git-set-file-times" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=git +vers=2.12.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL LGPL-2.1 README.md RelNotes command-list.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,15 +67,35 @@ make install DESTDIR=$P fi done + install $W/git-set-file-times $P/usr/libexec/git-core + find $P/usr/share/git-core/templates -exec touch {} \; + touch $P/usr/share/locale/*/LC_MESSAGES/git.mo $mandir/man3/* + cp -a $W/man[157] $mandir + chown -R root.root $mandir/man[157] touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/libexec/git-core + touch -t `date '+%m%d0900'` $P/usr/libexec/git-core setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/git-core + perldir=usr/$libdir/perl5 + perldir2=$perldir/site_perl/5.14.2 + tar rvpf $pkg.tar -C $P $perldir2/{Git,{Error,Git}.pm} + tar rvpf $pkg.tar -C $P $perldir2/$arch-linux-thread-multi/auto/Git + perldir3=$perldir/5.14.2/$arch-linux-thread-multi + tar rvpf $pkg.tar -C $P $perldir3/perllocal.pod + tar rvpf $pkg.tar -C $P usr/share/git-core + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/git{web,k,-gui} 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/man3 | 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 `cd $P ; find usr/share/man/man7 | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/devel2.txz/gperf/PlamoBuild.gperf-3.0.4 2017-05-03 08:11:45.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gperf/gperf-3.0.4.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gperf +vers=3.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README README.woe32 README.vms AUTHORS INSTALL ChangeLog + COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,8 +71,15 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/gperf.html $docdir/$src + mv $docdir/$src/{gperf.html,{NEWS,README{,.woe32,.vms},AUTHORS}.gz} $C + mv $docdir/$src/{INSTALL,ChangeLog,COPYING,$func,$myname,$spec}.gz $C + mv $C/{gperf.html,{NEWS,README{,.woe32,.vms},AUTHORS}.gz} $docdir/$src + mv $C/{INSTALL,ChangeLog,COPYING,$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/info | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/devel2.txz/fribidi/PlamoBuild.fribidi-0.19.2 2017-05-12 19:40:25.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://fribidi.org/download/fribidi-0.19.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=fribidi +vers=0.19.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING THANKS ChangeLog NEWS INSTALL README ChangeLog.old + TODO AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,12 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/fribidi + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/devel2.txz/orc/PlamoBuild.orc-0.4.16 2017-05-15 10:49:43.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="https://download.videolan.org/contrib/orc/orc-0.4.16.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=orc +vers=0.4.16 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="TODO README COPYING" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,13 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/orc-0.4 + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/orc + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/devel2.txz/cmake/PlamoBuild.cmake-3.5.0 2017-05-12 13:07:03.000000000 +0900 @@ -1,18 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="https://cmake.org/files/v3.5/cmake-3.5.0.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=cmake +vers=3.5.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CONTRIBUTING.rst Copyright.txt Licenses/LGPLv2.1.txt + Licenses/README.rst README.rst Source/kwsys/Copyright.txt + Utilities/cmcompress/Copyright.txt Utilities/cmcurl/COPYING + Utilities/cmexpat/COPYING Utilities/cmlibarchive/COPYING + Utilities/cmliblzma/COPYING Utilities/cmzlib/Copyright.txt" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -39,9 +43,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure --prefix=/usr --mandir='${prefix}'/share/man \ + ${OPT_CONFIG[$i]} fi done fi @@ -64,15 +67,19 @@ make install DESTDIR=$P fi done + touch $P/usr/bin/* + touch $P/usr/share/cmake-3.5/Modules/.NoDartCoverage touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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 usr/share/cmake-3.5 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/swig/PlamoBuild.swig-2.0.2 2018-02-18 09:48:48.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/swig/swig-2.0.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=swig +vers=2.0.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="RELEASENOTES LICENSE-UNIVERSITIES LICENSE-GPL ANNOUNCE CHANGES + COPYRIGHT INSTALL LICENSE CHANGES.current TODO README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,6 +74,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 usr/share/swig 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/lua/PlamoBuild.lua-5.1.5 2019-10-14 08:01:28.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.lua.org/ftp/lua-5.1.5.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=lua +vers=5.1.5 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYRIGHT INSTALL README HISTORY" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,56 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile Makefile.orig + cat <<- EOF | patch Makefile + 8c8 + < PLAT= none + --- + > PLAT= linux + 12c12 + < INSTALL_TOP= /usr/local + --- + > INSTALL_TOP= /usr + 16c16 + < INSTALL_MAN= \$(INSTALL_TOP)/man/man1 + --- + > INSTALL_MAN= \$(INSTALL_TOP)/share/man/man1 + 46c46 + < TO_LIB= liblua.a + --- + > TO_LIB= liblua.a liblua.so.$vers + EOF + sed -i -e "/^INSTALL_LIB=/s@lib@$libdir@g" \ + -e "/^INSTALL_CMOD=/s@lib@$libdir@g" \ + -e '/echo/!s@\$(INSTALL_BIN@$(DESTDIR)&@g' \ + -e '/echo/!s@\$(INSTALL_INC@$(DESTDIR)&@g' \ + -e '/echo/!s@\$(INSTALL_LIB@$(DESTDIR)&@g' \ + -e '/echo/!s@\$(INSTALL_MAN@$(DESTDIR)&@g' \ + -e '/echo/!s@\$(INSTALL_LMOD@$(DESTDIR)&@g' \ + -e '/echo/!s@\$(INSTALL_CMOD@$(DESTDIR)&@g' Makefile + cp -p src/Makefile{,.orig} + cat <<- EOF | patch src/Makefile + 11c11 + < CFLAGS= -O2 -Wall \$(MYCFLAGS) + --- + > CFLAGS= -O2 -Wall -fPIC \$(MYCFLAGS) + 25a26 + > LUA_SO= liblua.so.$vers + 39c40 + < ALL_T= \$(LUA_A) \$(LUA_T) \$(LUAC_T) + --- + > ALL_T= \$(LUA_A) \$(LUA_SO) \$(LUA_T) \$(LUAC_T) + 52a54,56 + > + > \$(LUA_SO): \$(CORE_O) \$(LIB_O) + > \$(CC) -o \$@ -shared \$(CORE_O) \$(LIB_O) + EOF + cp -p src/luaconf.h{,.orig} + sed -i -e 's@local/@@g' -e "s@lib/@$libdir/@g" src/luaconf.h + cp -p etc/lua.pc{,.orig} + sed -i -e 's@/local@@g' -e "s@\@$libdir@g" \ + -e 's@-lm@-ldl &@g' etc/lua.pc for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +115,37 @@ make install DESTDIR=$P fi done + touch $P/usr/bin/* + touch $P/usr/$libdir/liblua.* + touch $P/usr/include/* + touch $P/usr/share/man/man1/* + ln -s liblua.so.$vers $P/usr/$libdir/liblua.so.5 + ln -s liblua.so.$vers $P/usr/$libdir/liblua.so + install -d $P/usr/$libdir/pkgconfig + install -m 644 etc/lua.pc $P/usr/$libdir/pkgconfig touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + cp -a $S/doc $docdir/$src + rm $docdir/$src/doc/*.1 + touch -r $S/doc $docdir/$src/doc + chown -R root.root $docdir/$src/doc + mv $docdir/$src/{doc,{README,HISTORY,$func,$myname,$spec}.gz} $C + mv $C/{doc,{README,HISTORY,$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 usr/$libdir/lua + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name liblua.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/lua 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/ocaml/PlamoBuild.ocaml-3.12.1 2018-02-18 13:13:03.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=ocaml +vers=3.12.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL LICENSE README README.win32 Upgrading VERSION" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +37,27 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p configure{,.orig} + cat <<- "EOF" | patch configure + 1469a1470,1471 + > "-I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6" \ + > "-I/usr/include/tcl8.6 -I/usr/include/tk8.6" \ + 1494a1497 + > 8.6) tclmaj=8 tclmin=6 tkmaj=8 tkmin=6 ;; + EOF + for i in DMain Eval Main Misc Var Wait ; do + cp -p otherlibs/labltk/support/cltk$i.c{,.orig} + cat <<- "EOF" | patch otherlibs/labltk/support/cltk$i.c + 18a19 + > #define USE_INTERP_RESULT + EOF + done for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure -prefix /usr -libdir /usr/$libdir/ocaml \ + -mandir /usr/share/man ${OPT_CONFIG[$i]} fi done fi @@ -50,7 +65,10 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make world + make bootstrap + make opt + make opt.opt fi done fi @@ -62,7 +80,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install BINDIR=$P/usr/bin LIBDIR=$P/usr/$libdir/ocaml \ + STUBLIBDIR=$P/usr/$libdir/ocaml/stublibs MANDIR=$P/usr/share/man fi done touch $W/i.et @@ -70,10 +89,15 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/ocaml/stublibs + strip_libdir $P/usr/$libdir/ocaml + touch -t `date '+%m%d0900'` $P/usr/$libdir/ocaml{/stublibs,} setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/ocaml 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/man3 | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/icu/PlamoBuild.icu-49.1.2 2018-03-20 18:14:37.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.icu-project.org/files/icu4c/49.1.2/icu4c-49_1_2-src.tgz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/devel2.txz/icu/icu.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=icu +vers=49.1.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P3 +src=$pkgbase +patchfiles="icu.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="license.html unicode-license.txt icu4c.css readme.html + APIChangeReport.html" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,9 +38,16 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done - apply_patches + false && apply_patches + cd $B/source + for i in $patchfiles ; do + case ${i##*.} in + gz) gunzip -c $W/$i | patch -Np1 -i - ;; + *) patch -Np1 -i $W/$i ;; + esac + done for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/source if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -48,7 +57,7 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/source if [ -f Makefile ] ; then make fi @@ -60,7 +69,7 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/source if [ -f Makefile ] ; then make install DESTDIR=$P fi @@ -72,9 +81,18 @@ compress setup_docdir convert_links + touch -t `date '+%m%d0900'` $P/usr/$libdir/icu 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` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libicu*` + tar rvpf $pkg.tar -C $P usr/$libdir/icu + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/icu 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/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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/libatomic_ops/PlamoBuild.libatomic_ops-7.2 2018-03-20 20:09:51.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-7.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libatomic_ops +vers=7.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS `echo doc/{COPYING,README{_win32,,_malloc}.txt}` + `echo doc/{LICENSING,README_stack}.txt` COPYING NEWS README + INSTALL ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p configure.ac{,.orig} + sed -i 's@AC_PROG_RANLIB@AC_LIBTOOL_DLOPEN\nAC_PROG_LIBTOOL@' configure.ac + for i in src tests ; do cp -p $i/Makefile.am{,.orig} ; done + sed -i 's@b_L@b_LTL@;s@\.a@.la@g;s@_a_@_la_@' src/Makefile.am + sed -i 's@\.a@.so@g;s@\.\./src/@&.libs/@g' tests/Makefile.am + autoreconf -i for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,9 +81,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/gsl/PlamoBuild.gsl-1.15 2018-04-05 08:18:01.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gsl +vers=1.15 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="BUGS AUTHORS TODO NEWS INSTALL README ChangeLog THANKS COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,15 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gsl + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/iso_codes/PlamoBuild.iso_codes-3.77 2018-05-01 09:22:53.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://pkg-isocodes.alioth.debian.org/downloads/iso-codes-3.77.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` +pkgbase=iso_codes +vers=3.77 +arch=noarch build=P1 -src=$pkgbase-$vers +src=iso-codes-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL TODO ChangeLog COPYING README.md" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,15 @@ compress setup_docdir 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` + prune_symlink $P/usr/share/xml/iso-codes + touch -t `date '+%m%d0900'` $P/usr/share/xml/iso-codes + prune_symlink $P/usr/share/locale + tar cvpf $pkg.tar -C $P usr/share/xml/iso-codes + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/iso-codes + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/boost/PlamoBuild.boost-1.54.0 2018-04-16 19:08:32.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/boost/boost_1_54_0.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/devel2.txz/boost/boost-1.54.0-glibc-1.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=boost +vers=1.54.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P2 +src=${pkgbase}_1_54_0 +patchfiles="boost-1.54.0-glibc-1.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL LICENSE_1_0.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -45,6 +46,7 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + ./bootstrap.sh --prefix=/usr --libdir=/usr/$libdir fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -53,6 +55,7 @@ make fi done + ./b2 stage threading=multi link=shared fi if [ $opt_package -eq 1 ] ; then root_priv @@ -65,6 +68,8 @@ make install DESTDIR=$P fi done + ./b2 install threading=multi link=shared \ + --prefix=$P/usr --libdir=$P/usr/$libdir touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +77,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/boost 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/findlib/PlamoBuild.findlib-1.4 2018-05-16 10:15:48.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.camlcity.org/download/findlib-1.4.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=findlib +vers=1.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL LICENSE" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -40,9 +40,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure -mandir /usr/share/man -config /etc/findlib.conf \ + -with-toolbox fi done fi @@ -50,7 +49,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make all + make opt fi done fi @@ -62,7 +62,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install prefix=$P fi done touch $W/i.et @@ -73,7 +73,11 @@ setup_docdir 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/$libdir/ocaml -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P etc/findlib.conf 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/jre/PlamoBuild.jre-1.8.0_73 2018-07-12 21:01:22.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/devel2.txz/jre/jdk-8u171-linux-arch.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=jre +vers=1.8.0_171 arch=`uname -m` build=P1 -src=$pkgbase-$vers +src=jdk$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="THIRDPARTYLICENSEREADME.txt LICENSE README.html + THIRDPARTYLICENSEREADME-JAVAFX.txt COPYRIGHT" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -30,6 +31,8 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then + a=32-vfp-hflt + url=`sed "s@arch@$(sed "s/i6/i5/;s/86_//;s/v7l/$a/" <<< $arch)@" <<< $url` download_sources fi if [ $opt_config -eq 1 ] ; then @@ -65,16 +68,77 @@ make install DESTDIR=$P fi done + install -d $P/usr/java + cp -r $B/jre $P/usr/java/jre$vers + install -d $P/usr/java/jre$vers/lib/fonts/fallback + ln -s /usr/share/fonts/TrueType/VL-PGothic-Regular.ttf \ + $P/usr/java/jre$vers/lib/fonts/fallback + install -m 644 $B/release $P/usr/java/jre$vers + ln -s jre$vers $P/usr/java/jre + install -d $P/usr/share + cp -r $B/man $P/usr/share + install -d $mandir/ja_JP.eucJP/man1 + for i in `cd $mandir/ja/man1 ; find . -type f` ; do + nkf -We $mandir/ja/man1/$i > $mandir/ja_JP.eucJP/man1/$i + done + install -d $P/etc/profile.d + cat <<- "EOF" > $P/etc/profile.d/jre.sh + # JAVA variables + export JAVA_HOME=/usr/java/jre + if [ -n "$PATH" ] ; then + PATH=$PATH:$JAVA_HOME/bin + else + PATH=/bin:/usr/bin:$JAVA_HOME/bin + fi + EOF + cat <<- "EOF" > $P/etc/profile.d/jre.csh + # JAVA variables + setenv JAVA_HOME /usr/java/jre + if ($?PATH) then + set path = ( $path $JAVA_HOME/bin ) + else + set path = ( /bin /usr/bin $JAVA_HOME/bin ) + endif + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + case $arch in i686) a=i386 ;; x86_64) a=amd64 ;; armv7l) a=arm ;; esac + strip_bindir $P/usr/java/jre$vers/bin + strip_libdir $P/usr/java/jre$vers/lib/$a + touch -t `date '+%m%d0900'` $P/usr/java/jre$vers/lib/$a + for i in client server jli ; do + strip_libdir $P/usr/java/jre$vers/lib/$a/$i + done + touch -t `date '+%m%d0900'` $P/usr/java/jre$vers/lib/$a/jli + gzip_dir $P/usr/share/man/ja_JP.eucJP/man1 setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + prune_symlink $P/usr/java + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + echo "jre is looking for firefox" + if [ -d /usr/$libdir/mozilla/plugins ]; then + echo "linking jre plugin into /usr/$libdir/mozilla/plugins" + ln -s /usr/java/jre/lib/$a/libnpjp2.so /usr/$libdir/mozilla/plugins + fi + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + touch -t `date '+%m%d0900'` $P/usr/java + touch -t `date '+%m%d0900'` $P/usr/java/jre$vers/lib/$a/client + touch -t `date '+%m%d0900'` $P/usr/java/jre$vers/lib/$a/server + touch -t `date '+%m%d0900'` $P/usr/java/jre$vers/lib/fonts/fallback + touch -t `date '+%m%d0900'` $P/usr/java/jre$vers/bin + tar cvpf $pkg.tar -C $P usr/java + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` 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/ja_JP.eucJP/man1 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/subversion/PlamoBuild.subversion-1.7.20 2018-07-12 13:34:08.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://archive.apache.org/dist/subversion/subversion-1.7.20.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=subversion +vers=1.7.20 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COMMITTERS README BUGS CHANGES LICENSE INSTALL NOTICE" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,19 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/httpd/modules + touch -t `date '+%m%d0900'` $P/usr/$libdir/httpd/modules setup_docdir 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/$libdir -type f` + tar rvpf $pkg.tar -C $P usr/include/subversion-1 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 `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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/devel2.txz/mercurial/PlamoBuild.mercurial-3.3.2 2018-07-12 15:06:51.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.mercurial-scm.org/release/mercurial-3.3.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=mercurial +vers=3.3.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README CONTRIBUTORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -62,7 +62,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install PREFIX=$P/usr fi done touch $W/i.et @@ -70,10 +70,15 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages/mercurial + touch -t `date '+%m%d0900'` $P/usr/$libdir/python*/site-packages/mercurial setup_docdir 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/$libdir/python*/site-packages -maxdepth 1 | 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 --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/05_ext/docbook.txz/asciidoc/PlamoBuild.asciidoc-8.6.9 2017-04-02 06:37:33.000000000 +0900 @@ -1,13 +1,13 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/asciidoc/asciidoc-8.6.9.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=asciidoc +vers=8.6.9 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" @@ -71,8 +71,10 @@ 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/asciidoc 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 + 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/05_ext/docbook.txz/libxslt/PlamoBuild.libxslt-1.1.29 2017-04-03 21:24:13.000000000 +0900 @@ -1,17 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://xmlsoft.org/sources/libxslt-1.1.29.tar.gz" verify= commitid= -pkgbase= -vers= +pkgbase=libxslt +vers=1.1.29 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO FEATURES + Copyright" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -60,7 +61,9 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P HTML_DIR=/usr/share/doc/libxslt/html \ + DOCS_DIR=/usr/share/doc/libxslt/python \ + EXAMPLE_DIR=/usr/share/doc/libxslt/python/examples fi done touch $W/i.et @@ -68,11 +71,29 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages setup_docdir + mv $docdir/libxslt/{html,python} $docdir/$src + mv $docdir/$src/{python,html,{$func,$myname,$spec}.gz} $C + mv $C/{python,html,{$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/$libdir -maxdepth 1 -name libxslt.*` + tar rvpf $pkg.tar -C $P usr/$libdir/libxslt-plugins + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libexslt.*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/xsltConf.sh + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170323 2017-03-23 06:38:12.000000000 +0900 +++ plamo/05_ext/docbook.txz/xmlto/PlamoBuild.xmlto-0.0.23 2017-04-02 08:24:43.000000000 +0900 @@ -1,17 +1,17 @@ #!/bin/sh ###################################################################### -url="" +url="https://dl.t2-project.org/mirror/9.0/x/xmlto-0.0.23.tar.bz2" verify= commitid= -pkgbase= -vers= +pkgbase=xmlto +vers=0.0.23 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS INSTALL README THANKS FAQ NEWS ChangeLog" template=20170323 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,6 +71,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 usr/share/xmlto 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/docbook_xml/PlamoBuild.docbook_xml-5.0 2017-08-08 08:50:15.000000000 +0900 @@ -1,19 +1,25 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.docbook.org/xml/5.0/docbook-5.0.zip + http://www.docbook.org/xml/4.1.2/docbkx412.zip + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/docbook.txz/docbook/4.1.2-add-catalog.all.patch + http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip + http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip + http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip + http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=docbook_xml +vers=5.0 +arch=noarch +build=P5 +src=docbook-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -30,13 +36,23 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + for i in $url ; do if [ ! -f ${i##*/} ] ; then wget $i ; fi ; done + for i in $url ; do + case ${i##*.} in + zip) ( j=`echo $i | sed 's@^.*xml/\(.*\)/.*$@\1@'` + if [ $j != 5.0 ] ; then mkdir $W/docbook-$j ; cd $W/docbook-$j ; fi + unzip $W/${i##*/} ) ;; + esac + done fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $W/docbook-4.1.2 + patch -Np1 -i $W/4.1.2-add-catalog.all.patch for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,6 +81,19 @@ make install DESTDIR=$P fi done + docbookdir=$P/usr/share/xml/docbook + install -d $docbookdir/schema + for i in 4.{1.2,2,3,4,5} 5.0 ; do + cp -a $W/docbook-$i $docbookdir/schema/$i + done + touch -t `date '+%m%d0900'` $docbookdir/schema/4.1.2{,/catalog.xml} + for i in 4.{2,3,4,5} ; do + touch -t `date '+%m%d0900'` $docbookdir/schema/$i{,/ent} + done + chmod -R g-w $docbookdir/schema/4.1.2 + chmod 644 $docbookdir/schema/4.1.2/*.{dtd,mod} + chmod 644 $docbookdir/schema/4.4/ent/*.ent + chown -R root.root $docbookdir/schema/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +101,24 @@ compress setup_docdir 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` + install -d $P/install + cat <<- EOF > $P/install/doinst.sh + #%% begin initialize $pkg + EOF + cat <<- "EOF" >> $P/install/doinst.sh + [ -d /etc/xml ] || mkdir /etc/xml + [ -f /etc/xml/catalog ] || xmlcatalog --noout --create /etc/xml/catalog + docbookdir=/usr/share/xml/docbook + for i in 4.1.2 4.2 4.3 4.4 4.5 5.0 ; do + xmlcatalog --noout --add nextCatalog '' \ + file://$docbookdir/schema/$i/catalog.xml --create /etc/xml/catalog + done + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P usr/share/xml/docbook 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/docbook_xsl/PlamoBuild.docbook_xsl-1.76.1 2017-08-07 21:19:07.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/docbook/docbook-xsl-1.76.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=docbook_xsl +vers=1.76.1 +arch=noarch +build=P5 +src=docbook-xsl-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS BUGS COPYING INSTALL NEWS `echo NEWS.{html,xml}` README + `echo RELEASE-NOTES.{html,pdf,txt,xml}` TODO VERSION" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -49,7 +50,7 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make fi done @@ -61,10 +62,16 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make install DESTDIR=$P fi done + docbookdir=$P/usr/share/xml/docbook + install -d $docbookdir/stylesheet + cp -a $W/docbook-xsl-$vers $docbookdir/stylesheet/$vers + chmod 644 $docbookdir/stylesheet/$vers/extensions/*.txt + find $docbookdir/stylesheet/$vers/webhelp -type f -exec chmod 644 {} \; + chown -R root.root $docbookdir/stylesheet/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +79,21 @@ compress setup_docdir 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` + install -d $P/install + cat <<- EOF > $P/install/doinst.sh + #%% begin initialize $pkg + [ -d /etc/xml ] || mkdir /etc/xml + [ -f /etc/xml/catalog ] || xmlcatalog --noout --create /etc/xml/catalog + docbookdir=/usr/share/xml/docbook + xmlcatalog --noout --add nextCatalog '' \\ + file://\$docbookdir/stylesheet/$vers/catalog.xml \\ + --create /etc/xml/catalog + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P usr/share/xml/docbook 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/docbook_xsl_ns/PlamoBuild.docbook_xsl_ns-1.76.1 2017-08-07 21:20:27.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/docbook/docbook-xsl-ns-1.76.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=docbook_xsl_ns +vers=1.76.1 +arch=noarch +build=P5 +src=docbook-xsl-ns-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS BUGS COPYING INSTALL NEWS `echo NEWS.{html,xml}` README + `echo RELEASE-NOTES.{html,pdf,txt,xml}` TODO VERSION" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -49,7 +50,7 @@ if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make fi done @@ -61,10 +62,16 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make install DESTDIR=$P fi done + docbookdir=$P/usr/share/xml/docbook + install -d $docbookdir/stylesheet + cp -a $W/docbook-xsl-ns-$vers $docbookdir/stylesheet/ns-$vers + chmod -R g-w $docbookdir/stylesheet/ns-$vers + chmod 755 $docbookdir/stylesheet/ns-$vers/epub/bin/{dbtoepub,lib/docbook.rb} + chown -R root.root $docbookdir/stylesheet/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +79,21 @@ compress setup_docdir 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` + install -d $P/install + cat <<- EOF > $P/install/doinst.sh + #%% begin initialize $pkg + [ -d /etc/xml ] || mkdir /etc/xml + [ -f /etc/xml/catalog ] || xmlcatalog --noout --create /etc/xml/catalog + docbookdir=/usr/share/xml/docbook + xmlcatalog --noout --add nextCatalog '' \\ + file://\$docbookdir/stylesheet/ns-$vers/catalog.xml \\ + --create /etc/xml/catalog + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P usr/share/xml/docbook 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/OpenSP/PlamoBuild.OpenSP-1.5.2 2018-04-08 10:54:06.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/openjade/OpenSP-1.5.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=OpenSP +vers=1.5.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-http --enable-default-catalog=/etc/sgml/catalog + --enable-default-search-path=/usr/share/sgml --disable-doc-build" +DOCS="NEWS ABOUT-NLS BUGS README COPYING AUTHORS INSTALL ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,12 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p lib/Syntax.cxx{,.orig} + sed -i 's@32,@253,@' lib/Syntax.cxx + cp -p unicode/gensyntax.pl{,.orig} + cp -p unicode/unicode.syn{,.orig} + sed -i '/LITLEN/s@240 @8092@' unicode/{gensyntax.pl,unicode.syn} for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -50,7 +57,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make pkgdatadir=/usr/share/sgml/$src fi done fi @@ -62,19 +69,32 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P pkgdatadir=/usr/share/sgml/$src fi done + for i in nsgmls spent spam sgmlnorm sx spcat ; do + ln -s o$i $P/usr/bin/$i + done + ln -s osx $P/usr/bin/sgml2xml + ln -s libosp.so $P/usr/$libdir/libsp.so touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/OpenSP/doc $docdir/$src + 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 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/OpenSP + tar rvpf $pkg.tar -C $P usr/share/sgml/$src + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/sgml_common/PlamoBuild.sgml_common-0.6.3 2018-05-02 18:54:13.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/sgml-common-0.6.3.tgz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/docbook.txz/sgml-common-0.6.3-manpage-1.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +pkgbase=sgml_common +vers=0.6.3 +arch=noarch +build=P4 +src=sgml-common-$vers +patchfiles="sgml-common-0.6.3-manpage-1.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog AUTHORS NEWS README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + autoreconf -i for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,10 +74,49 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $P/usr/doc/$src/html $docdir/$src + for i in INSTALL COPYING ; do + install -m 644 $B/$i $docdir/$src + touch -t `date '+%m%d0900'` $docdir/$src/$i + gzip_one $docdir/$src/$i + done + mv $docdir/$src/{html,{ChangeLog,AUTHORS,NEWS,README}.gz} $C + mv $docdir/$src/{INSTALL,COPYING,$func,$myname,$spec}.gz $C + mv $C/{html,{ChangeLog,AUTHORS,NEWS,README}.gz} $docdir/$src + mv $C/{INSTALL,COPYING,$func,$myname,$spec}.gz $docdir/$src + touch -r $S $docdir/$src convert_links + install -d $P/install + cat <<- EOF > $P/install/doinst.sh + #%% begin initialize $pkg + install-catalog --add /etc/sgml/sgml-ent.cat \\ + /usr/share/sgml/sgml-iso-entities-8879.1986/catalog && + install-catalog --add /etc/sgml/sgml-docbook.cat \\ + /etc/sgml/sgml-ent.cat + if [ -d /usr/share/sgml/docbook/sgml-dtd-3.0 \\ + -a ! -f /etc/sgml/sgml-docbook-dtd-3.0.cat ] ; then + install-catalog --add /etc/sgml/sgml-docbook-dtd-3.0.cat \\ + /etc/sgml/sgml-docbook.cat + fi + if [ -d /usr/share/sgml/docbook/sgml-dtd-3.1 \\ + -a ! -f /etc/sgml/sgml-docbook-dtd-3.1.cat ] ; then + install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat \\ + /etc/sgml/sgml-docbook.cat + fi + if [ -d /usr/share/sgml/docbook/sgml-dtd-4.5 \\ + -a ! -f /etc/sgml/sgml-docbook-dtd-4.5.cat ] ; then + install-catalog --add /etc/sgml/sgml-docbook-dtd-4.5.cat \\ + /etc/sgml/sgml-docbook.cat + fi + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh 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/sgml -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P etc/sgml + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/openjade/PlamoBuild.openjade-1.3.2 2018-04-11 22:06:56.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/openjade/openjade-1.3.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=openjade +vers=1.3.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--datadir=/usr/share/sgml/openjade-1.3.2 --enable-http + --enable-default-catalog=/etc/sgml/catalog + --enable-default-search-path=/usr/share/sgml" +DOCS="ChangeLog COPYING NEWS README `echo releasenotes.{pdf,ps,html}`" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -63,8 +65,19 @@ cd ${B[$i]} if [ -f Makefile ] ; then make install DESTDIR=$P + make install-man DESTDIR=$P fi done + ln -s openjade $P/usr/bin/jade + for i in {,sp}grove style ; do ln -s {libo,$P/usr/$libdir/lib}$i.so ; done + for i in catalog \ + demo.{dsl,sgm} dsssl.dtd extensions.dsl {fot,style-sheet}.dtd ; do + install -m 644 dsssl/$i $P/usr/share/sgml/$src + done + cat <<- "EOF" >> $P/usr/share/sgml/openjade-1.3.2/catalog + SYSTEM "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" + "/usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd" + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +85,21 @@ compress setup_docdir convert_links + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + install-catalog --add /etc/sgml/openjade-1.3.2.cat \\ + /usr/share/sgml/openjade-1.3.2/catalog && + install-catalog --add /etc/sgml/sgml-docbook.cat \\ + /etc/sgml/openjade-1.3.2.cat + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/sgml/$src 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/docbook_30/PlamoBuild.docbook_30-1.0 2018-04-11 18:18:12.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://docbook.org/sgml/3.0/docbk30.zip" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=docbook_30 +vers=1.0 +arch=noarch +build=P3 +src=docbk30 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="30chg.txt 40issues.txt announce.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -30,13 +30,26 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + for i in $url ; do if [ ! -f ${i##*/} ] ; then wget $i ; fi ; done + for i in $url ; do + case ${i##*.} in + zip) ( mkdir $W/$src ; cd $W/$src ; unzip $W/${i##*/} ) ;; + esac + done fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p docbook.cat{,.orig} + sed -i 's@.*"docbook\.dcl"@OVERRIDE YES@' docbook.cat + ed - docbook.cat <<- "EOF" + /ISO entity/+2;/End of/-1d + w + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +78,32 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/sgml/docbook/sgml-dtd-3.0 + install -m 644 c* db* do*.d* $P/usr/share/sgml/docbook/sgml-dtd-3.0 + install -m 644 do*.cat $P/usr/share/sgml/docbook/sgml-dtd-3.0/catalog touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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` + install -d $P/install + cat <<- EOF > $P/install/doinst.sh + #%% begin initialize $pkg + install-catalog --add /etc/sgml/sgml-docbook-dtd-3.0.cat \\ + /usr/share/sgml/docbook/sgml-dtd-3.0/catalog && + if [ -f /etc/sgml/sgml-docbook.cat ] ; then + install-catalog --add /etc/sgml/sgml-docbook-dtd-3.0.cat \\ + /etc/sgml/sgml-docbook.cat + fi + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P usr/share/sgml/docbook 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/docbook_31/PlamoBuild.docbook_31-1.0 2018-04-11 18:19:09.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://docbook.org/sgml/3.1/docbk31.zip" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=docbook_31 +vers=1.0 +arch=noarch +build=P3 +src=docbk31 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="31chg.txt 40issues.txt 50issues.txt ChangeLog readme.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -30,13 +30,26 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + for i in $url ; do if [ ! -f ${i##*/} ] ; then wget $i ; fi ; done + for i in $url ; do + case ${i##*.} in + zip) ( mkdir $W/$src ; cd $W/$src ; unzip $W/${i##*/} ) ;; + esac + done fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p docbook.cat{,.orig} + sed -i 's@.*\("docbook\.dcl"\)@SGMLDECL \1@' docbook.cat + ed - docbook.cat <<- "EOF" + /ISO entity/+2;/End of/-1d + w + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +78,32 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/sgml/docbook/sgml-dtd-3.1 + install -m 644 c* db* do*.d* $P/usr/share/sgml/docbook/sgml-dtd-3.1 + install -m 644 do*.cat $P/usr/share/sgml/docbook/sgml-dtd-3.1/catalog touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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` + install -d $P/install + cat <<- EOF > $P/install/doinst.sh + #%% begin initialize $pkg + install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat \\ + /usr/share/sgml/docbook/sgml-dtd-3.1/catalog && + if [ -f /etc/sgml/sgml-docbook.cat ] ; then + install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat \\ + /etc/sgml/sgml-docbook.cat + fi + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P usr/share/sgml/docbook 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/docbook_45/PlamoBuild.docbook_45-1.0 2018-04-11 18:20:00.000000000 +0900 @@ -1,16 +1,16 @@ #!/bin/sh ###################################################################### -url="" +url="https://docbook.org/sgml/4.5/docbook-4.5.zip" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=docbook_45 +vers=1.0 +arch=noarch +build=P4 +src=docbook-4.5 patchfiles="" OPT_CONFIG="" DOCS="README" @@ -30,13 +30,43 @@ fscheck prepare "$@" if [ $opt_download -eq 1 ] ; then - download_sources + false && download_sources + for i in $url ; do if [ ! -f ${i##*/} ] ; then wget $i ; fi ; done + for i in $url ; do + case ${i##*.} in + zip) ( mkdir $W/$src ; cd $W/$src ; unzip $W/${i##*/} ) ;; + esac + done fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p docbook.cat{,.orig} + cat <<- "EOF" | patch docbook.cat + 24a25,39 + > PUBLIC "-//OASIS//DTD DocBook V4.4//EN" + > "docbook.dtd" + > + > PUBLIC "-//OASIS//DTD DocBook V4.3//EN" + > "docbook.dtd" + > + > PUBLIC "-//OASIS//DTD DocBook V4.2//EN" + > "docbook.dtd" + > + > PUBLIC "-//OASIS//DTD DocBook V4.1//EN" + > "docbook.dtd" + > + > PUBLIC "-//OASIS//DTD DocBook V4.0//EN" + > "docbook.dtd" + > + EOF + ed - docbook.cat <<- "EOF" + /ISO entity/+2;/End of/-1d + w + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +95,32 @@ make install DESTDIR=$P fi done + install -d $P/usr/share/sgml/docbook/sgml-dtd-4.5 + install -m 644 c*.d* db* do*.d* h* s* $P/usr/share/sgml/docbook/sgml-dtd-4.5 + install -m 644 do*.cat $P/usr/share/sgml/docbook/sgml-dtd-4.5/catalog touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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` + install -d $P/install + cat <<- EOF > $P/install/doinst.sh + #%% begin initialize $pkg + install-catalog --add /etc/sgml/sgml-docbook-dtd-4.5.cat \\ + /usr/share/sgml/docbook/sgml-dtd-4.5/catalog && + if [ -f /etc/sgml/sgml-docbook.cat ] ; then + install-catalog --add /etc/sgml/sgml-docbook-dtd-4.5.cat \\ + /etc/sgml/sgml-docbook.cat + fi + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P usr/share/sgml/docbook 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/docbook_dsssl/PlamoBuild.docbook_dsssl-1.79 2018-04-12 12:43:44.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/docbook/docbook-dsssl-1.79.tar.bz2 + http://downloads.sourceforge.net/docbook/docbook-dsssl-doc-1.79.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=docbook_dsssl +vers=1.79 +arch=noarch +build=P3 +src=docbook-dsssl-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="WhatsNew `echo RELEASE-NOTES.{xml,txt,html}` README ChangeLog + BUGS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +67,12 @@ make install DESTDIR=$P fi done + dsssldir=$P/usr/share/sgml/docbook/dsssl-stylesheets-$vers + install -d $P/usr/bin $dsssldir $mandir/man1 + cp -r print olink lib images html frames dtds docsrc doc contrib \ + common catalog bin VERSION $dsssldir + mv $dsssldir/bin/collateindex.pl $P/usr/bin + mv $dsssldir/bin/collateindex.pl.1 $mandir/man1 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +80,23 @@ compress setup_docdir convert_links + install -d $P/install + cat <<- EOF > $P/install/doinst.sh + #%% begin initialize $pkg + install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \\ + /usr/share/sgml/docbook/dsssl-stylesheets-1.79/catalog && + install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \\ + /usr/share/sgml/docbook/dsssl-stylesheets-1.79/common/catalog && + install-catalog --add /etc/sgml/sgml-docbook.cat \\ + /etc/sgml/dsssl-docbook-stylesheets.cat + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/sgml/docbook 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/docbook.txz/docbook_utils/PlamoBuild.docbook_utils-0.6.14 2018-05-02 18:55:22.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/docbook-utils-0.6.14.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +pkgbase=docbook_utils +vers=0.6.14 +arch=noarch +build=P3 +src=docbook-utils-$vers +patchfiles="docbook-utils-0.6.14-grep_fix-1.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +65,28 @@ make install DESTDIR=$P fi done + for i in dvi html man pdf ps rtf tex texi txt ; do + ln -s docbook2$i $P/usr/bin/db2$i + done touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $P/usr/doc/html/$src $docdir/$src/doc + mv $docdir/$src/{doc,{README,AUTHORS,COPYING,ChangeLog}.gz} $C + mv $docdir/$src/{INSTALL,NEWS,TODO,$func,$myname,$spec}.gz $C + mv $C/{doc,{README,AUTHORS,COPYING,ChangeLog}.gz} $docdir/$src + mv $C/{INSTALL,NEWS,TODO,$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 usr/share/sgml/docbook/utils-$vers 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/man7 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/fuse/PlamoBuild.fuse-2.9.4 2017-07-07 23:13:56.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/libfuse/libfuse/releases/download/fuse_2_9_4/fuse-2.9.4.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=fuse +vers=2.9.4 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-lib --enable-util" +DOCS="COPYING.LIB NEWS INSTALL FAQ COPYING README.NFS AUTHORS + ChangeLog Filesystems README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +42,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]} \ + INIT_D_PATH=/etc/rc.d/init.d fi done fi @@ -72,8 +74,15 @@ setup_docdir 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 sbin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` 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/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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gtk_vnc/PlamoBuild.gtk_vnc-0.5.4 2017-09-21 16:01:36.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gtk-vnc/0.5/gtk-vnc-0.5.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gtk_vnc +vers=0.5.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src[0]=gtk-vnc-$vers +src[1]=gtk-vnc-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG[0]="--with-python" +OPT_CONFIG[1]="--with-gtk=3.0 --with-python" +DOCS="ChangeLog INSTALL COPYING.LIB AUTHORS NEWS README ChangeLog-old" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +72,18 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages setup_docdir 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/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name gtk-vnc.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/vala/vapi | 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 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gnome_doc_utils/PlamoBuild.gnome_doc_utils-0.20.10 2017-05-01 14:15:15.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gnome-doc-utils/0.20/gnome-doc-utils-0.20.10.tar.xz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=gnome_doc_utils +vers=0.20.10 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gnome-doc-utils-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING.GPL COPYING README COPYING.LGPL ChangeLog INSTALL + AUTHORS NEWS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,6 +73,14 @@ setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/python2.7/site-packages/xml2po + tar rvpf $pkg.tar -C $P usr/share/gnome-doc-utils + tar rvpf $pkg.tar -C $P usr/share/xml/{mallard,gnome} + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gnome/help -maxdepth 1 | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gstreamer/PlamoBuild.gstreamer-0.10.36 2018-04-06 10:32:08.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-0.10.36.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/gonme_parts.txz/gstreamer/gstreamer-bison3.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gstreamer +vers=0.10.36 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="gstreamer-bison3.patch" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS ABOUT-NLS COPYING MAINTAINERS ChangeLog TODO INSTALL README + RELEASE AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +72,30 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-0.10 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-0.10 setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/gstreamer-0.10 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstreamer*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstbase*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstcontroller*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstdataprotocol*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstcheck*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstnet*` + tar rvpf $pkg.tar -C $P usr/$libdir/gstreamer-0.10 + tar rvpf $pkg.tar -C $P usr/include/gstreamer-0.10 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gstreamer_1/PlamoBuild.gstreamer_1-1.4.4 2018-04-06 10:35:10.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.4.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gstreamer_1 +vers=1.4.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gstreamer-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL RELEASE TODO ChangeLog NEWS MAINTAINERS README COPYING + AUTHORS ABOUT-NLS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,30 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-1.0 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-1.0 setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/libexec/gstreamer-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstreamer*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstbase*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstcontroller*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstnet*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstcheck*` + tar rvpf $pkg.tar -C $P usr/$libdir/gstreamer-1.0 + tar rvpf $pkg.tar -C $P usr/include/gstreamer-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gnome_mime_data/PlamoBuild.gnome_mime_data-2.18.0 2018-04-07 08:41:53.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gnome-mime-data/2.18/gnome-mime-data-2.18.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gnome_mime_data +vers=2.18.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gnome-mime-data-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING INSTALL NEWS ChangeLog AUTHORS README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/application-registry | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/mime-info | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P etc/gnome-vfs-mime-magic 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gnome_vfs/PlamoBuild.gnome_vfs-2.24.4 2018-05-01 09:50:28.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/2.24/gnome-vfs-2.24.4.tar.bz2 + https://trac.macports.org/raw-attachment/ticket/38657/patch-port-glib2-2.6.31-and-up.diff + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/gnome_parts.txz/gnome_vfs/gnome-vfs2-g_memmove-no-more.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gnome_vfs +vers=2.24.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src=gnome-vfs-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-cdda" +DOCS="AUTHORS MAINTAINERS TODO HACKING README ChangeLog NEWS COPYING + INSTALL COPYING.LIB" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +40,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + patch -Np0 -i $W/patch-port-glib2-2.6.31-and-up.diff + patch -Np1 -i $W/gnome-vfs2-g_memmove-no-more.patch for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,11 +76,24 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gnome-vfs-2.0/modules + touch -t `date '+%m%d0900'` $P/usr/$libdir/gnome-vfs-2.0/modules setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgnomevfs-*` + tar rvpf $pkg.tar -C $P usr/$libdir/gnome-vfs-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1/services | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P etc/gnome-vfs-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find etc/gconf/schemas | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gst_plugins_base/PlamoBuild.gst_plugins_base-0.10.36 2018-05-01 09:57:59.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-0.10.36.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gst_plugins_base +vers=0.10.36 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=gst-plugins-base-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS ABOUT-NLS COPYING COPYING.LIB ChangeLog INSTALL README + RELEASE AUTHORS REQUIREMENTS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,37 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-0.10 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-0.10 setup_docdir 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/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstinterfaces-*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgsttag-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstcdda-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstfft-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstnetbuffer-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstrtp-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstsdp-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstrtsp-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstvideo-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstpbutils-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstaudio-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstriff-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstapp-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-0.10 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gstreamer-0.10/gst + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gst-plugins-base + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gst_plugins_base_1/PlamoBuild.gst_plugins_base_1-1.4.4 2018-04-05 23:26:12.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.4.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gst_plugins_base_1 +vers=1.4.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gst-plugins-base-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL RELEASE ChangeLog REQUIREMENTS COPYING.LIB NEWS README + COPYING AUTHORS ABOUT-NLS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,35 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-1.0 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-1.0 setup_docdir 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/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgsttag-*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstfft-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstrtp-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstsdp-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstrtsp-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstvideo-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstaudio-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstpbutils-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstriff-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstapp-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstallocators-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gstreamer-1.0/gst + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gst-plugins-base + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/vala/PlamoBuild.vala-0.26.1 2018-04-13 19:01:59.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/vala/0.26/vala-0.26.1.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=vala +vers=0.26.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL README THANKS ChangeLog.pre-0-4 NEWS COPYING ChangeLog + MAINTAINERS ChangeLog.pre-0-5-7 AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +73,22 @@ compress setup_docdir convert_links + prune_symlink $P/usr/share/pkgconfig tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libvala-*` + tar rvpf $pkg.tar -C $P usr/$libdir/vala-0.26 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/vala-0.26 + tar rvpf $pkg.tar -C $P usr/share/vala-0.26 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/devhelp/books -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/vala + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gsettings_desktop_schemas/PlamoBuild.gsettings_desktop_schemas-3.4.2 2018-04-15 09:32:09.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gsettings-desktop-schemas/3.4/gsettings-desktop-schemas-3.4.2.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gsettings_desktop_schemas +vers=3.4.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gsettings-desktop-schemas-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="HACKING AUTHORS MAINTAINERS README NEWS ChangeLog COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +72,13 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gsettings-desktop-schemas + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/GConf/gsettings | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/glib-2.0/schemas | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gst_plugins_good/PlamoBuild.gst_plugins_good-0.10.31 2018-05-01 10:10:53.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.31.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/gnome_parts.txz/gst_plugins_good/gst-plugins-good-0.10.31-linux-3.10.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gst_plugins_good +vers=0.10.31 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P3 +src=gst-plugins-good-$vers +patchfiles="gst-plugins-good-0.10.31-linux-3.10.patch" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS ABOUT-NLS COPYING ChangeLog INSTALL README RELEASE AUTHORS + REQUIREMENTS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +72,14 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-0.10 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-0.10 setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-0.10 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gstreamer-0.10 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/gconf/schemas | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gst_plugins_good_1/PlamoBuild.gst_plugins_good_1-1.4.4 2018-04-05 21:51:55.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.4.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gst_plugins_good_1 +vers=1.4.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gst-plugins-good-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL RELEASE ChangeLog REQUIREMENTS NEWS README COPYING + AUTHORS ABOUT-NLS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +71,15 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-1.0 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-1.0 setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gstreamer-1.0 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gst_plugins_ugly/PlamoBuild.gst_plugins_ugly-0.10.19 2018-04-05 22:06:19.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-0.10.19.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gst_plugins_ugly +vers=0.10.19 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P6 +src=gst-plugins-ugly-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS ABOUT-NLS COPYING ChangeLog INSTALL README RELEASE AUTHORS + REQUIREMENTS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +71,13 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-0.10 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-0.10 setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-0.10 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gstreamer-0.10 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gst_plugins_ugly_1/PlamoBuild.gst_plugins_ugly_1-1.4.4 2018-04-05 22:10:58.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.4.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gst_plugins_ugly_1 +vers=1.4.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gst-plugins-ugly-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL RELEASE ChangeLog REQUIREMENTS NEWS README COPYING + AUTHORS ABOUT-NLS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +71,15 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-1.0 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-1.0 setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gstreamer-1.0 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gst_plugins_bad/PlamoBuild.gst_plugins_bad-0.10.23 2018-05-01 10:23:14.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.23.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gst_plugins_bad +vers=0.10.23 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=gst-plugins-bad-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS ABOUT-NLS COPYING COPYING.LIB ChangeLog INSTALL README + RELEASE AUTHORS REQUIREMENTS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,28 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-0.10 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-0.10 setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstphotography-*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -name libgstsignalprocessor-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstbasevideo-*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -name libgstbasecamerabinsrc-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstcodecparsers-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-0.10 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstvdp-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gstreamer-0.10/gst + tar rvpf $pkg.tar -C $P usr/share/gstreamer-0.10 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/glib-2.0/schemas | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gst_plugins_bad_1/PlamoBuild.gst_plugins_bad_1-1.4.4 2018-04-05 23:41:03.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.4.4.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gst_plugins_bad_1 +vers=1.4.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gst-plugins-bad-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL RELEASE ChangeLog REQUIREMENTS COPYING.LIB NEWS README + COPYING AUTHORS ABOUT-NLS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,33 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gstreamer-1.0 + touch -t `date '+%m%d0900'` $P/usr/$libdir/gstreamer-1.0 setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstphotography-*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -name libgstbasecamerabinsrc-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstcodecparsers-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstinsertbin-*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -name libgsturidownloader-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstmpegts-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstbadbase-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstbadvideo-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgstgl-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gstreamer-1.0/gst + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/gstreamer-1.0 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/rarian/PlamoBuild.rarian-0.8.1 2018-07-03 06:45:31.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://rarian.freedesktop.org/Releases/rarian-0.8.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=rarian +vers=0.8.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS TODO + COPYING.UTILS MAINTAINERS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,14 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/rarian + tar rvpf $pkg.tar -C $P usr/share/librarian + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/help | tail -n+2` + tar rvpf $pkg.tar -C $P var/lib/rarian 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/json_glib/PlamoBuild.json_glib-0.14.2 2018-07-12 16:13:30.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.14/json-glib-0.14.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=json_glib +vers=0.14.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=json-glib-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS README ABOUT-NLS COPYING ChangeLog" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,17 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libjson-glib*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/json-glib-1.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/loudmouth/PlamoBuild.loudmouth-1.5.3 2017-09-21 16:03:46.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://mcabber.com/files/loudmouth/loudmouth-1.5.3.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=loudmouth +vers=1.5.3 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README README.WIN32 COPYING ChangeLog INSTALL AUTHORS NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,12 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p configure{,.orig} + cat <<- "EOF" | patch configure + 13480a13481 + > KRB5CONFIG=no + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -72,9 +78,12 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/loudmouth-1.0 + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/loudmouth 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/ntfs_3g_ntfsprogs/PlamoBuild.ntfs_3g_ntfsprogs-2016.2.22 2017-07-07 23:17:52.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2016.2.22.tgz + https://github.com/PhantomX/slackbuilds/raw/master/ntfs-3g/patches/ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch" verify= digest= commitid= -pkgbase= -vers= +pkgbase=ntfs_3g_ntfsprogs +vers=2016.2.22 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P2 +src=ntfs-3g_ntfsprogs-$vers +patchfiles="ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL TODO.ntfsprogs README NEWS ChangeLog CREDITS COPYING.LIB + COPYING AUTHORS" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -61,7 +63,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install -i DESTDIR=$P fi done touch $W/i.et @@ -71,9 +73,16 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find bin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/ntfs-3g + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/perl_append.txz/perl_XML_Parser/PlamoBuild.perl_XML_Parser-2.41 2017-09-21 14:52:05.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/XML-Parser-2.41.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=perl_XML_Parser +vers=2.41 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=XML-Parser-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="Changes README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -45,12 +45,14 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + perl Makefile.PL fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then make + make test fi done fi @@ -62,18 +64,24 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make pure_install DESTDIR=$P fi done + perldir=usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi + touch $P/$perldir/auto/XML/Parser/Expat/* + touch $mandir/man3/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/$perldir/auto/XML/Parser/Expat + touch -t `date '+%m%d0900'` $P/$perldir/auto/XML/Parser/Expat setup_docdir 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 cvpf $pkg.tar -C $P $perldir/XML + tar rvpf $pkg.tar -C $P $perldir/auto/XML + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/perl_append.txz/perl_Try_Tiny/PlamoBuild.perl_Try_Tiny-0.30 2018-06-25 11:24:46.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Try-Tiny-0.30.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=perl_Try_Tiny +vers=0.30 arch=`uname -m` build=P1 -src=$pkgbase-$vers +src=Try-Tiny-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="Changes CONTRIBUTING INSTALL LICENCE README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -45,12 +45,14 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + perl Makefile.PL fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then make + make test fi done fi @@ -62,7 +64,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make pure_install DESTDIR=$P fi done touch $W/i.et @@ -72,8 +74,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P usr/$libdir/perl5/site_perl/5.14.2/Try + perldir=usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi + tar rvpf $pkg.tar -C $P $perldir/auto/Try + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/perl_append.txz/perl_Test_Fatal/PlamoBuild.perl_Test_Fatal-0.014 2018-06-25 11:34:21.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-0.014.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=perl_Test_Fatal +vers=0.014 arch=`uname -m` build=P1 -src=$pkgbase-$vers +src=Test-Fatal-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="Changes LICENSE README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -45,12 +45,14 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + perl Makefile.PL fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then make + make test fi done fi @@ -62,7 +64,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make pure_install DESTDIR=$P fi done touch $W/i.et @@ -72,8 +74,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P usr/$libdir/perl5/site_perl/5.14.2/Test + perldir=usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi + tar rvpf $pkg.tar -C $P $perldir/auto/Test + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/perl_append.txz/perl_ExtUtils_CChecker/PlamoBuild.perl_ExtUtils_CChecker-0.10 2018-06-25 11:57:30.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/ExtUtils-CChecker-0.10.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=perl_ExtUtils_CChecker +vers=0.10 arch=`uname -m` build=P1 -src=$pkgbase-$vers +src=ExtUtils-CChecker-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE Changes README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -45,12 +45,14 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + perl Makefile.PL fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then make + make test fi done fi @@ -62,7 +64,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make pure_install DESTDIR=$P fi done touch $W/i.et @@ -72,8 +74,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P usr/$libdir/perl5/site_perl/5.14.2/ExtUtils + perldir=usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi + tar rvpf $pkg.tar -C $P $perldir/auto/ExtUtils + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/perl_append.txz/perl_File_lchown/PlamoBuild.perl_File_lchown-0.02 2018-06-25 12:22:58.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/File-lchown-0.02.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=perl_File_lchown +vers=0.02 arch=`uname -m` build=P1 -src=$pkgbase-$vers +src=File-lchown-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="Changes LICENSE README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -45,12 +45,14 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + perl Makefile.PL fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then make + make test fi done fi @@ -62,18 +64,24 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make pure_install DESTDIR=$P fi done + perldir=usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi + touch $P/$perldir/{File,auto/File/lchown}/* + touch $mandir/man3/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/$perldir/auto/File/lchown + touch -t `date '+%m%d0900'` $P/$perldir/auto/File/lchown setup_docdir 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 cvpf $pkg.tar -C $P $perldir/File + tar rvpf $pkg.tar -C $P $perldir/auto/File + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/tk.txz/tk/PlamoBuild.tk-8.6.6 2017-07-01 02:02:15.000000000 +0900 @@ -1,18 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/tcl/tk8.6.6-src.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=tk +vers=8.6.6 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-threads" +DOCS="ChangeLog.2004 ChangeLog.2002 changes ChangeLog license.terms + ChangeLog.2007 README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,8 +37,13 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + if [ $arch == x86_64 ] ; then + cp -p unix/configure{,.orig} + sed -i '/^TK_LIBRARY=/s@lib@lib64@g' unix/configure + fi for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/unix if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -47,7 +53,7 @@ fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/unix if [ -f Makefile ] ; then make fi @@ -59,11 +65,14 @@ if [ -d $C ] ; then rm -rf $C ; fi ; mkdir -p $C touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do - cd ${B[$i]} + cd ${B[$i]}/unix if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P install-private-headers fi done + ln -s wish8.6 $P/usr/bin/wish + mv $P/usr/bin/{wish8.6,wish} $C + mv $C/{wish8.6,wish} $P/usr/bin touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +81,15 @@ setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/tk8.6 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/{libtk8.6.so,tkConfig.sh,libtkstub8.6.a} + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/mann | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/tk.txz/Tix/PlamoBuild.Tix-8.4.3 2017-07-01 06:43:13.000000000 +0900 @@ -1,18 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/tix/Tix8.4.3-src.tar.gz + http://ftp.slackware.com/pub/slackware/slackware-14.0/source/tcl/tix/tix.tcl8.5.patch.gz + http://ftp.slackware.com/pub/slackware/slackware-14.0/source/tcl/tix/tix.soname.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=Tix +vers=8.4.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P4 +src=$pkgbase$vers +patchfiles="tix.tcl8.5.patch.gz tix.soname.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="license.terms README.txt ChangeLog" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +43,9 @@ 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]} \ + --with-tcl=/usr/$libdir --with-tk=/usr/$libdir \ + CPPFLAGS="-DUSE_INTERP_RESULT" fi done fi @@ -64,15 +68,36 @@ make install DESTDIR=$P fi done + chown -R root.root $P/usr/$libdir/Tix$vers/{pref,bitmaps} + chmod -R g-w $P/usr/$libdir/Tix$vers/bitmaps + rmdir $P/usr/$libdir/Tix$vers/html + install -d $P/usr/share/man/mann + install -m 644 man/*.n $P/usr/share/man/mann touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/Tix$vers + touch -t `date '+%m%d0900'` $P/usr/$libdir/Tix$vers setup_docdir + cp -a $S/docs $docdir/$src + find $docdir/$src/docs -type d -exec chmod 755 {} \; + find $docdir/$src/docs -type f -exec chmod 644 {} \; + chown -R root.root $docdir/$src/docs + cp -p $S/{index,ABOUT}.html $docdir/$src + chmod 644 $docdir/$src/{index,ABOUT}.html + chown root.root $docdir/$src/{index,ABOUT}.html + mv $docdir/$src/{docs,{index,ABOUT}.html} $C + mv $docdir/$src/{license.terms,README.txt,ChangeLog}.gz $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{docs,{index,ABOUT}.html} $docdir/$src + mv $C/{license.terms,README.txt,ChangeLog}.gz $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P usr/$libdir/Tix$vers + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/mann | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/tk.txz/itk/PlamoBuild.itk-4.0.2 2017-07-01 02:22:39.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/incrtcl/itk4.0.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=itk +vers=4.0.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=$pkgbase$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="license.terms" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +41,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]} \ + --with-itcl=/usr/$libdir/itcl4.0.5 fi done fi @@ -69,10 +70,13 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/itk$vers + touch -t `date '+%m%d0900'` $P/usr/$libdir/itk$vers setup_docdir 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 cvpf $pkg.tar -C $P usr/$libdir/itk$vers + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/mann | 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 --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/doxygen/PlamoBuild.doxygen-1.8.8 2017-05-08 15:13:34.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.8.src.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=doxygen +vers=1.8.8 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL LANGUAGE.HOWTO LICENSE PLATFORMS README.md" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -39,9 +39,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure --prefix=/usr ${OPT_CONFIG[$i]} fi done fi @@ -61,7 +59,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P MAN1DIR=share/man/man1 fi done touch $W/i.et --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/openjpeg/PlamoBuild.openjpeg-1.5.2 2017-05-13 20:07:09.000000000 +0900 @@ -1,18 +1,18 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/openjpeg.mirror/openjpeg-1.5.2.tar.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=openjpeg +vers=1.5.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NEWS AUTHORS THANKS LICENSE INSTALL CHANGES README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +36,8 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + ./bootstrap.sh for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,10 +72,16 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/openjpeg-1.5 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170415 2017-04-15 12:25:32.000000000 +0900 +++ plamo/05_ext/network2.txz/openldap/PlamoBuild.openldap-2.4.30 2017-06-21 16:01:38.000000000 +0900 @@ -1,18 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.30.tgz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/network2.txz/lpenldap/mutex-end-of-struct-sigsegv.patch.gz" verify= digest= commitid= -pkgbase= -vers= +pkgbase=openldap +vers=2.4.30 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="mutex-end-of-struct-sigsegv.patch.gz" +OPT_CONFIG="--libexecdir=/usr/sbin --localstatedir=/var/lib/openldap + --disable-debug --enable-dynamic --enable-syslog --enable-crypt + --enable-modules --enable-rlookups --enable-overlays=mod" +DOCS="ANNOUNCEMENT CHANGES COPYRIGHT INSTALL LICENSE README" template=20170415 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -36,6 +39,18 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + for i in lber ldap{,_r} ; do + cp -p libraries/lib$i/Makefile.in{,.orig} + done + sed -i '/LTINSTALL/s@644@755@' libraries/lib{lber,ldap{,_r}}/Makefile.in + cp -p include/ldap_defaults.h{,.orig} + cat <<- "EOF" | patch include/ldap_defaults.h + 42c42 + < #define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi" + --- + > #define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi" + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -64,16 +79,78 @@ make install DESTDIR=$P fi done + rm $P/etc/openldap/*.default + install -d $P/etc/rc.d/init.d + cat <<- "EOF" > $P/etc/rc.d/init.d/openldap + #!/bin/sh + + start() { + if [ -n "`pidof -o %PPID /usr/sbin/slapd`" ] ; then + echo "OpenLDAP is already running!" + else + if [ -n "$SLAPD_SERVICES" ] ; then + slapd -h "$SLAPD_SERVICES" $SLAPD_OPTIONS + else + slapd $SLAPD_OPTIONS + fi + fi + } + + stop() { + killall slapd + } + + case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + sleep 3 + start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + exit 1 + ;; + esac + exit 0 + EOF + chmod 644 $P/etc/rc.d/init.d/openldap touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/sbin/openldap setup_docdir + cp -a $S/doc $docdir/$src + rm -rf $docdir/$src/doc/{Makefile.in,man} + find $docdir/$src/doc -type d -exec touch -t `date '+%m%d0900'` {} \; + chmod -R g-w $docdir/$src/doc + chmod 644 $docdir/$src/doc/guide/images/src/dual_dc.svg + chown -R root.root $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` + touch -t `date '+%m%d0900'` $P/usr/sbin/openldap + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin -maxdepth 1 -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/sbin/openldap + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P etc/openldap etc/rc.d/init.d/openldap + tar rvpf $pkg.tar -C $P var/lib/openldap 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/network2.txz/net_snmp/PlamoBuild.net_snmp-5.7.2 2018-03-26 18:57:43.000000000 +0900 @@ -1,19 +1,29 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/net-snmp/net-snmp-5.7.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=net_snmp +vers=5.7.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=net-snmp-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-krb5=/usr/heimdal --with-defaults --with-python-modules" +DOCS="FAQ INSTALL README.win32 TODO README.hpux11 AGENT.txt + README.Panasonic_AM3X.txt COPYING README.solaris ChangeLog PORTING + `echo README.{osX,agent-mibs}` README `echo README.{agentx,aix}` + NEWS `echo README.{snmpv3,krb5}` CHANGES CodingStyle + `echo README.{irix,tru64,sql}` `echo doc/rfc/misc/rfc35{12,84}.txt` + `echo doc/rfc/snmpV3/rfc341{4.errata,{1,2}.txt,{5,0}.errata,{3,5,8,6}.txt}` + `echo doc/rfc/snmpV3/rfc341{8.errata,7.txt,3.errata,{0,4}.txt}` + `echo doc/rfc/smiV2/rfc25{79.errata,{79,80,78}.txt}` + `echo doc/rfc/snmpV2/rfc{190{2,6,4,8,3,7,1,5},2089}.txt` + `echo doc/rfc/agentx/rfc2741.txt` + `echo doc/rfc/snmpV1/rfc1{155,157,213,212}.txt` README.thread" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +47,14 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p Makefile.in{,.orig} + cat <<- "EOF" | patch Makefile.in + 232c232 + < @(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir) ; \ + --- + > @(dir=`pwd`; cd python; $(PYMAKE) install --root=$(DESTDIR) --basedir=$$dir) ; \ + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +83,44 @@ make install DESTDIR=$P fi done + perldir=$P/usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi + find $perldir/auto -type f -exec touch {} \; + touch $P/usr/$libdir/python*/site-packages/netsnmp/* + touch $mandir/man3/*SNMP* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in ASN OID TrapReceiver agent{/default_store,} default_store ; do + strip_libdir $perldir/auto/NetSNMP/$i + touch -t `date '+%m%d0900'` $perldir/auto/NetSNMP/$i + done + strip_libdir $perldir/auto/SNMP + touch -t `date '+%m%d0900'` $perldir/auto/SNMP + strip_libdir $P/usr/$libdir/python*/site-packages/netsnmp + touch -t `date '+%m%d0900'` $P/usr/$libdir/python*/site-packages/netsnmp setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libnetsnmp*` + perldir=usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi + tar rvpf $pkg.tar -C $P $perldir/{Bundle,NetSNMP} + tar rvpf $pkg.tar -C $P `cd $P ; find $perldir/auto -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P $perldir/SNMP.pm + perldir=usr/$libdir/perl5/5.14.2/$arch-linux-thread-multi + tar rvpf $pkg.tar -C $P `cd $P ; find $perldir | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/net-snmp + tar rvpf $pkg.tar -C $P usr/share/snmp 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/man3 | 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 `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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/network2.txz/tdb/PlamoBuild.tdb-1.3.9 2018-04-04 13:20:09.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.samba.org/ftp/tdb/tdb-1.3.9.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=tdb +vers=1.3.9 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="`echo docs/{README,mainpage.dox,mutex.txt,tdb.magic,tracing.txt}`" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,8 +41,8 @@ cd ${B[$i]} 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]} + --libdir=/usr/$libdir --infodir=/usr/share/info \ + --mandir=/usr/share/man ${OPT_CONFIG[$i]} fi done fi @@ -70,11 +70,18 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages setup_docdir 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/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libtdb.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/network2.txz/NetworkManager/PlamoBuild.NetworkManager-0.9.4.0 2018-04-13 21:51:43.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/NetworkManager/0.9/NetworkManager-0.9.4.0.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/network2.txz/NetworkManager/networkmanager-unbreak-build-with-latest-kernel-headers.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=NetworkManager +vers=0.9.4.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="networkmanager-unbreak-build-with-latest-kernel-headers.patch" +OPT_CONFIG="--with-distro=slackware" +DOCS="AUTHORS NEWS ChangeLog INSTALL COPYING README TODO CONTRIBUTING + ABOUT-NLS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +39,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p configure{,.orig} + sed -i '/CFLAGS/s@ -Werror@@g' configure for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +70,44 @@ make install DESTDIR=$P fi done + install -d $P/etc/rc.d/init.d + ln -s ../rc.networkmanager $P/etc/rc.d/init.d/networkmanager + chmod 644 $P/etc/rc.d/rc.networkmanager touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/pppd/2.4.5 setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + prune_symlink $P/etc/rc.d/init.d + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libnm-u*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libnm-g*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pppd/2.4.5 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/NetworkManager + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/dbus-1/system-services | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/polkit-1/actions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P etc/NetworkManager + 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 etc/rc.d -type f` + tar rvpf $pkg.tar -C $P var/{run,lib}/NetworkManager + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | 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 `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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/network2.txz/glib_networking/PlamoBuild.glib_networking-2.32.3 2018-04-13 19:30:47.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.32/glib-networking-2.32.3.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=glib_networking +vers=2.32.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=glib-networking-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-libproxy --with-gnutls + --with-ca-certificates=/etc/ssl/certs/ca-bundle.crt --with-pkcs11" +DOCS="COPYING ChangeLog README INSTALL NEWS AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,10 +71,13 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gio/modules setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gio/modules | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1/services | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/network2.txz/spdylay/PlamoBuild.spdylay-1.3.2 2018-04-16 17:32:30.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/tatsuhiro-t/spdylay/releases/download/v1.3.2/spdylay-1.3.2.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=spdylay +vers=1.3.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING README.rst ChangeLog AUTHORS README NEWS INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/spdylay 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/network2.txz/nghttp2/PlamoBuild.nghttp2-1.10.0 2018-04-29 13:28:10.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/nghttp2/nghttp2/releases/download/v1.10.0/nghttp2-1.10.0.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=nghttp2 +vers=1.10.0 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README NEWS INSTALL ChangeLog COPYING AUTHORS README.rst" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/nghttp2 + tar rvpf $pkg.tar -C $P usr/share/nghttp2 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 + 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/network2.txz/httpd/PlamoBuild.httpd-2.4.39 2019-06-06 09:42:06.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://archive.apache.org/dist/httpd/httpd-2.4.39.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=httpd +vers=2.4.39 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--sysconfdir=/etc/httpd --enable-layout=Slackware-FHS + --enable-mods-shared=cgi --enable-xml2enc --enable-proxy-html + --enable-mpms-shared=all" +DOCS="LICENSE README.cmake README.platforms README CHANGES VERSIONING + NOTICE ROADMAP ABOUT_APACHE INSTALL LAYOUT" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +40,16 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p config.layout{,.orig} + sed -i "//,/<\/Layout>/s@\@$libdir@g" \ + config.layout + cp -p docs/conf/httpd.conf.in{,.orig} + sed -i '/^User/s@daemon@www@;/^Group/s@daemon@apache@' \ + docs/conf/httpd.conf.in + cp -p build/rpm/httpd.logrotate{,.orig} + sed -i -e 's@/sbin/service httpd@/usr/sbin/apachectl@' \ + -e 's@\(graceful\).*@\1@' build/rpm/httpd.logrotate for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +78,79 @@ make install DESTDIR=$P fi done + touch $P/usr/bin/{apxs,dbmmanage} + touch $P/usr/sbin/{apachectl,envvars{-std,}} + touch $P/usr/$libdir/httpd/modules/httpd.exp + chown root.root $P/usr/bin/{apxs,dbmmanage} + chown root.root $P/usr/sbin/{apachectl,envvars{-std,}} + chown root.root $P/usr/$libdir/httpd/modules/httpd.exp + chown -R root.root $P/srv/httpd/{error,icons,cgi-bin} + chown root.root $mandir/man{1,8}/* + rm -rf $P/etc/httpd/{extra,httpd.conf} + sed -i '/LoadModule mpm_event/s/^/#/;/LoadModule mpm_prefork/s/^#//' \ + $P/etc/httpd/original/httpd.conf + for i in htdocs error icons cgi-bin ; do mv $P/srv/httpd/$i{,.new} ; done + mv $P/srv/httpd/{htdocs,error,icons,cgi-bin}.new $C + mv $C/{htdocs,error,icons,cgi-bin}.new $P/srv/httpd + install -d $P/etc/rc.d/init.d + ln -s /usr/sbin/apachectl $P/etc/rc.d/init.d + install -d $P/etc/logrotate.d + install -m 644 build/rpm/httpd.logrotate $P/etc/logrotate.d touch $W/i.et cd $W 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/httpd/modules + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/$libdir/httpd/modules setup_docdir convert_links + prune_symlink $P/etc/rc.d/init.d + cat <<- "EOF" >> $P/install/doinst.sh + + httpd_config() { + mv srv/httpd/$1.new srv/httpd/tmp + if [ -f srv/httpd/$1 ] ; then + mv srv/httpd/tmp/$1.new srv/httpd/$1.dist + else + mv srv/httpd/tmp/$1.new srv/httpd/$1 + fi + } + + if [ ! -d etc/httpd/extra ] ; then + cp -a etc/httpd/original/extra etc/httpd + fi + if [ ! -f etc/httpd/httpd.conf ] ; then + cp -p etc/httpd/original/httpd.conf etc/httpd + fi + mkdir srv/httpd/tmp + for i in htdocs error icons cgi-bin ; do httpd_config $i ; done + rmdir srv/httpd/tmp + EOF + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + sed -i "/^#ServerName/{s/^#//;s@www\.example\.com@\`cat /etc/HOSTNAME\`@}" \\ + /etc/httpd/httpd.conf + if [ -d /etc/httpd/conf ] ; then + echo "Caution!: sysconfdir was changed to /etc/httpd" \\ + "(previously /etc/httpd/conf)" + fi + if [ -d /var/www ] ; then + echo "Caution!: datadir was changed to /srv (previously /var/www)" + fi + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh 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` + tar rvpf $pkg.tar -C $P usr/{$libdir,include}/httpd + tar rvpf $pkg.tar -C $P {etc,srv,var/{log,run}}/httpd + 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/logrotate.d | 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/man8 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/network2.txz/php/PlamoBuild.php-7.1.28 2019-06-06 09:53:35.000000000 +0900 @@ -1,19 +1,33 @@ #!/bin/sh ###################################################################### -url="" +url="http://jp2.php.net/distributions/php-7.1.28.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=php +vers=7.1.28 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-apxs2=/usr/bin/apxs --with-config-file-path=/etc/httpd + --with-openssl=shared --with-zlib --with-bz2=shared --enable-calendar + --with-curl=shared --with-gdbm=shared --with-db4=shared,/usr + --enable-exif=shared --enable-ftp=shared --with-gd=shared,/usr + --with-jpeg-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv + --with-ldap=shared --enable-mbstring --with-mysqli=shared,mysqlnd + --with-mysql-sock=/tmp/mysql.sock --enable-opcache=shared + --with-pdo-mysql=shared,mysqlnd --with-pdo-sqlite --with-xmlrpc=shared + --enable-zip=shared --with-libzip --enable-mysqlnd=shared,/opt/mariadb" +DOCS="README.EXT_SKEL README.NEW-OUTPUT-API README.md README.REDIST.BINS + README.MAILINGLIST_RULES README.SELF-CONTAINED-EXTENSIONS EXTENSIONS NEWS + LICENSE CREDITS README.SUBMITTING_PATCH README.PARAMETER_PARSING_API + README.WIN32-BUILD-SYSTEM README.RELEASE_PROCESS README.namespaces + README.TESTING CODING_STANDARDS UPGRADING.INTERNALS + README.UNIX-BUILD-SYSTEM README.input_filter README.STREAMS + README.GIT-RULES UPGRADING README.TESTING2 INSTALL CONTRIBUTING.md" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +51,23 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p configure{,.orig} + cp -p sapi/apache2handler/config.m4{,.orig} + sed -i '/APACHE_THREADED_MPM=/d' configure sapi/apache2handler/config.m4 + cat <<- "EOF" | patch configure + 97763c97763 + < '${exec_prefix}/lib') + --- + > '${exec_prefix}/lib'|'${exec_prefix}/lib64') + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} \ + --with-libdir=$libdir fi done fi @@ -62,19 +87,54 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + mkdir -p $P/etc/httpd + cp -p /etc/httpd/original/httpd.conf $P/etc/httpd + make install INSTALL_ROOT=$P fi done + install -d $P/etc/httpd/extra + cat <<- EOF > $P/etc/httpd/extra/php7.conf.new + LoadModule php7_module $libdir/httpd/modules/libphp7.so + + + SetHandler application/x-httpd-php + + EOF + install -m 644 php.ini-production $P/etc/httpd/php.ini.new touch $W/i.et cd $W 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/httpd/modules + strip_libdir $P/usr/$libdir/php/extensions/* + TZ=UTC touch -t `date -u '+%m%d0000'` \ + $P/usr/$libdir/{httpd/modules,php/extensions/*} setup_docdir convert_links + cat <<- "EOF" >> $P/install/doinst.sh + + php_config() { + mv etc/httpd/$1.new /tmp + if [ -f etc/httpd/$1 ] ; then + mv /tmp/${1##*/}.new etc/httpd/$1.dist + else + mv /tmp/${1##*/}.new etc/httpd/$1 + fi + } + + for i in extra/php7.conf php.ini ; do php_config $i ; done + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/httpd/modules | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/php + tar rvpf $pkg.tar -C $P usr/include/php + tar rvpf $pkg.tar -C $P etc/pear.conf + tar rvpf $pkg.tar -C $P etc/httpd/{extra/php7.conf,php.ini}.new 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 + 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/network2.txz/neon/PlamoBuild.neon-0.29.6 2018-04-20 15:23:47.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://ftp.fi.freebsd.org/pub/FreeBSD/ports/distfiles/neon-0.29.6.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=neon +vers=0.29.6 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-shared --with-ssl" +DOCS="ChangeLog.CVS README TODO THANKS ChangeLog NEWS BUGS + INSTALL.win32 AUTHORS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -62,7 +63,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install DESTDIR=$P docdir=/usr/share/doc/neon fi done touch $W/i.et @@ -71,10 +72,22 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/neon/html $docdir/$src + mv $docdir/$src/{html,{ChangeLog,NEWS,BUGS,INSTALL.win32,AUTHORS}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{html,{ChangeLog,NEWS,BUGS,INSTALL.win32,AUTHORS}.gz} $docdir/$src + mv $C/{$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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/neon + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` 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/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/graphviz/PlamoBuild.graphviz-2.38.0 2018-02-15 16:15:33.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://ftp.osuosl.org/pub/blfs/conglomeration/graphviz/graphviz-2.38.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=graphviz +vers=2.38.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-php" +DOCS="NEWS cpl1.0.txt INSTALL ChangeLog README AUTHORS COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,51 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in . tcl R lua ocaml perl python ; do + strip_libdir $P/usr/$libdir/graphviz/$i + done + strip_libdir $P/usr/$libdir/lua/* + strip_libdir $P/usr/$libdir/perl*/vendor_perl/*/*-linux-thread-multi + strip_libdir $P/usr/$libdir/python*/site-packages + strip_libdir $P/usr/$libdir/tcl*/graphviz setup_docdir convert_links + for i in . tcl R lua ocaml perl python ; do + touch -t `date '+%m%d0900'` $P/usr/$libdir/graphviz/$i + done + touch -t `date '+%m%d0900'` $P/usr/$libdir/tcl*/graphviz + prune_symlink $P/usr/share/graphviz/doc/pdf + touch -t `date '+%m%d0900'` $P/usr/share/graphviz/doc/pdf + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + dot -c + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libcdt.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libcgraph.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libpathplan.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libxdot.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libgvc.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libgvpr.*` + tar rvpf $pkg.tar -C $P usr/$libdir/graphviz + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/lua/* | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/perl*/vendor_perl/*/*-linux-thread-multi \ + | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/tcl* -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/graphviz + tar rvpf $pkg.tar -C $P usr/share/graphviz 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/man3 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man7 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gtk+/PlamoBuild.gtk+-3.14.15 2018-02-22 13:16:47.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gtk+/3.14/gtk+-3.14.15.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gtk+ +vers=3.14.15 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README.commits README.win32 AUTHORS INSTALL NEWS + HACKING COPYING NEWS.pre-1-0 README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,48 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gtk-3.0/3.0.0/immodules + strip_libdir $P/usr/$libdir/gtk-3.0/3.0.0/printbackends + touch -t `date '+%m%d0900'` \ + $P/usr/$libdir/gtk-3.0/3.0.0/{immodules,printbackends} setup_docdir convert_links + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + gtk-query-immodules-3.0 --update-cache + glib-compile-schemas /usr/share/glib-2.0/schemas > /dev/null 2>&1 + touch /usr/share/glib-2.0/schemas/gschemas.compiled + gtk-update-icon-cache -f /usr/share/icons/hicolor > /dev/null 2>&1 + touch /usr/share/icons/hicolor/icon-theme.cache + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgdk-3.*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgtk-3.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgailutil-3.*` + tar rvpf $pkg.tar -C $P usr/$libdir/gtk-3.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gir-1.0 -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/themes/Default/gtk-3.0 + tar rvpf $pkg.tar -C $P usr/share/themes/Emacs/gtk-3.0 + tar rvpf $pkg.tar -C $P usr/share/gtk-3.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/glib-2.0/schemas | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/icons/hicolor -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/applications | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P etc/gtk-3.0 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/Python/PlamoBuild.Python-3.3.6 2018-03-29 07:57:31.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.python.org/ftp/python/3.3.6/Python-3.3.6.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=Python +vers=3.3.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-shared --enable-loadable-sqlite-extensions + --with-system-expat --with-system-ffi --with-computed-gotos" +DOCS="README LICENSE" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,17 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + sed -i 's@\(#! /usr\)/local\(/bin/python\)@\1\23@' Lib/cgi.py + if [ $arch == x86_64 ] ; then + sed -i 's@lib\(/python\)@lib64\1@' \ + Lib/{distutils/command/install,sysconfig}.py + sed -i 's@"lib"@"lib64"@' Lib/{distutils/sysconfig,site}.py + sed -i 's@'lib'@'lib64'@' Lib/venv/__init__.py + sed -i '/^SCRIPTDIR/s@lib@lib64@' Makefile.pre.in + sed -i -e '/VERSION/s@lib/@lib64/@' -e '/joinpath/s@lib/@lib64/@' \ + Modules/getpath.c + fi for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -50,7 +62,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make LANG=C fi done fi @@ -65,16 +77,27 @@ make install DESTDIR=$P fi done + ln -s /usr/$libdir/libpython3.3m.so $P/usr/$libdir/python3.3/config-3.3m + touch $P/usr/$libdir/python3.3/lib-dynload/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python3.3/config-3.3m + strip_libdir $P/usr/$libdir/python3.3/lib-dynload + touch -t `date '+%m%d0900'` $P/usr/$libdir/python3.3/lib-dynload setup_docdir convert_links + touch -t `date '+%m%d0900'` $P/usr/$libdir/python3.3/config-3.3m tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 -name libpython3.*` + tar rvpf $pkg.tar -C $P usr/$libdir/python3.3 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/python3.3m 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/python_append.txz/python_setuptools/PlamoBuild.python_setuptools-11.3.1 2018-03-31 11:16:40.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="https://pypi.python.org/packages/source/s/setuptools/setuptools-11.3.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=python_setuptools +vers=11.3.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src[0]=setuptools-$vers +src[1]=setuptools-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES.txt DEVGUIDE.txt `echo docs/{developer-guide,development}.txt` + `echo docs/{easy_install,formats,history,index,merge-faq,merge}.txt` + `echo docs/{pkg_resources,python3,releases,roadmap,setuptools,using}.txt` + README.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -44,6 +48,10 @@ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi + case $i in + 0) python setup.py config ;; + 1) python3 setup.py config ;; + esac done fi if [ $opt_build -eq 1 ] ; then @@ -52,6 +60,10 @@ if [ -f Makefile ] ; then make fi + case $i in + 0) python setup.py build ;; + 1) python3 setup.py build ;; + esac done fi if [ $opt_package -eq 1 ] ; then @@ -64,6 +76,10 @@ if [ -f Makefile ] ; then make install DESTDIR=$P fi + case $i in + 0) python setup.py install --root $P ;; + 1) python3 setup.py install --root $P ;; + esac done touch $W/i.et cd $W @@ -73,7 +89,10 @@ setup_docdir 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/python2*/site-packages -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python3*/site-packages -maxdepth 1 | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/python_append.txz/numpy/PlamoBuild.numpy-1.6.2 2018-04-03 14:05:50.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/numpy/numpy-1.6.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=numpy +vers=1.6.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COMPATIBILITY DEV_README.txt INSTALL.txt LICENSE.txt README.txt + THANKS.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -53,6 +54,7 @@ make fi done + ./setup.py build fi if [ $opt_package -eq 1 ] ; then root_priv @@ -65,15 +67,28 @@ make install DESTDIR=$P fi done + ./setup.py install --root $P + touch $P/usr/bin/* + find $P/usr/$libdir/python*/site-packages/numpy -name "*.so" \ + -exec touch {} \; + for i in _numpyconfig.h __multiarray_api.h multiarray_api.txt ; do + touch $P/usr/$libdir/python*/site-packages/numpy/core/include/numpy/$i + done + touch $P/usr/$libdir/python*/site-packages/numpy/core/lib/*.a touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + for i in core{,/lib} lib numarray fft linalg random ; do + strip_libdir $P/usr/$libdir/python*/site-packages/numpy/$i + touch -t `date '+%m%d0900'` $P/usr/$libdir/python*/site-packages/numpy/$i + done setup_docdir 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/python*/site-packages -maxdepth 1 | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/python_append.txz/docutils/PlamoBuild.docutils-0.12 2018-04-03 19:30:28.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/docutils/docutils-0.12.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=docutils +vers=0.12 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING.txt HISTORY.txt FAQ.txt BUGS.txt THANKS.txt README.txt + RELEASE-NOTES.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -53,6 +54,7 @@ make fi done + ./setup.py build fi if [ $opt_package -eq 1 ] ; then root_priv @@ -65,6 +67,8 @@ make install DESTDIR=$P fi done + ./setup.py install --root=$P + touch $P/usr/bin/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,7 +77,8 @@ setup_docdir 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/python*/site-packages -maxdepth 1 | 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/python_append.txz/dbus_python/PlamoBuild.dbus_python-1.2.0 2018-04-03 18:56:30.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=dbus_python +vers=1.2.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src[0]=dbus-python-$vers +src[1]=dbus-python-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING AUTHORS INSTALL ChangeLog README NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +43,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]} \ + PYTHON=/usr/bin/python$((i + 2)) DBUS_LIBS="-ldbus-1 -lpython2.7" fi done fi @@ -70,10 +72,22 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python2*/site-packages + strip_libdir $P/usr/$libdir/python3*/site-packages setup_docdir + mv $docdir/dbus-python $docdir/$src/doc + mv $docdir/$src/{doc,{INSTALL,ChangeLog,README,NEWS}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{doc,{INSTALL,ChangeLog,README,NEWS}.gz} $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python2*/site-packages -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python3*/site-packages -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include/dbus-1.0/dbus | 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/python_append.txz/pyparsing/PlamoBuild.pyparsing-2.0.1 2019-02-27 15:47:22.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/pyparsing/pyparsing-2.0.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=pyparsing +vers=2.0.1 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES LICENSE README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -53,6 +53,7 @@ make fi done + python setup.py build fi if [ $opt_package -eq 1 ] ; then root_priv @@ -65,6 +66,7 @@ make install DESTDIR=$P fi done + python setup.py install --root=$P touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,8 +74,8 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/python_append.txz/python_six/PlamoBuild.python_six-1.10.0 2019-02-27 14:42:17.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=python_six +vers=1.10.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src[0]=six-$vers +src[1]=six-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES LICENSE README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -44,6 +45,10 @@ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi + case $i in + 0) python setup.py config ;; + 1) python3 setup.py config ;; + esac done fi if [ $opt_build -eq 1 ] ; then @@ -52,6 +57,10 @@ if [ -f Makefile ] ; then make fi + case $i in + 0) python setup.py build ;; + 1) python3 setup.py build ;; + esac done fi if [ $opt_package -eq 1 ] ; then @@ -64,6 +73,10 @@ if [ -f Makefile ] ; then make install DESTDIR=$P fi + case $i in + 0) python setup.py install --root $P ;; + 1) python3 setup.py install --root $P ;; + esac done touch $W/i.et cd $W @@ -72,8 +85,10 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python2*/site-packages -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python3*/site-packages -maxdepth 1 | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/lcms2/PlamoBuild.lcms2-2.5 2018-04-02 23:02:26.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/lcms/lcms2-2.5.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=lcms2 +vers=2.5 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL COPYING AUTHORS ChangeLog README.1ST" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,12 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/libmng/PlamoBuild.libmng-2.0.2 2018-04-02 22:24:17.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libmng/libmng-2.0.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libmng +vers=2.0.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.config README.dll CHANGES README.autoconf README.examples + README.version README.contrib README README.packaging README.footprint + LICENSE" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +74,13 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/mariadb/PlamoBuild.mariadb-10.1.10 2018-05-03 08:45:12.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="http://mirror.sobukus.de/files/src/mariadb/mariadb-10.1.10.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=mariadb +vers=10.1.10 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README INSTALL-SOURCE BUILD-CMAKE INSTALL-WIN-SOURCE + COPYING.thirdparty KNOWN_BUGS.txt CREDITS COPYING.LESSER + EXCEPTIONS-CLIENT COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,14 +31,36 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches + cd $S2 + cp -p storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake{,.orig} + cat <<- "EOF" \ + | patch storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake + 59d58 + < -Wstrict-null-sentinel + 68d66 + < -Wno-ignored-attributes + 70d67 + < -fno-rtti + 134d130 + < -Wbad-function-cast + 136,137d131 + < -Wstrict-prototypes + < -Wmissing-prototypes + EOF + sed -i 's@ -fuse-linker-plugin@@g' \ + storage/tokudb/PerconaFT/cmake_modules/TokuSetupCompiler.cmake + cp -p storage/tokudb/CMakeLists.txt{,.orig} + sed -i 's@ -fuse-linker-plugin@@g' storage/tokudb/CMakeLists.txt for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +69,10 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/opt/mariadb -DINSTALL_LIBDIR=$libdir \ + -DINSTALL_MANDIR=/usr/share/man -DINSTALL_MYSQLTESTDIR= \ + -DINSTALL_PLUGINDIR=$libdir/plugin -DINSTALL_SQLBENCHDIR= \ + -DWITH_EMBEDDED_SERVER=ON $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,16 +93,82 @@ make install DESTDIR=$P fi done + touch $P/opt/mariadb/$libdir/plugin/*.so + for i in client.{a,so.18.0.0} services.a d.{a,so.18} ; do + touch $P/opt/mariadb/$libdir/libmysql$i + done + touch $P/opt/mariadb/share/mroonga/install.sql + find $P/opt/mariadb/share -name "*.sys" -exec touch {} \; + touch $P/opt/mariadb/share/pkgconfig/* + touch $P/opt/mariadb/bin/* + for i in {my{sql_version,_config,sqld_{ername,error}},sql_state}.h ; do + touch $P/opt/mariadb/include/mysql/$i + done + touch $P/opt/mariadb/scripts/* + for i in my-{huge,innodb-heavy-4G,{large,medium,small}}.cnf wsrep.cnf \ + mysqld_multi.server mysql-log-rotate binary-configure wsrep_notify \ + mysql.server ; do + touch $P/opt/mariadb/support-files/$i + done + ln -s mariadb $P/opt/mysql + install -d $P/etc + install -m 644 $B/support-files/my-small.cnf $P/etc/my.cnf.new + install -d $P/etc/rc.d/init.d + cat support-files/mysql.server \ + | sed 's@^basedir=@&/opt/mariadb@;s@^datadir=@&/opt/mariadb/data@' \ + > $P/etc/rc.d/init.d/mariadb + install -d $P/etc/profile.d + cat <<- "EOF" > $P/etc/profile.d/mariadb.sh + # path for MariDB + if [ -n "$PATH" ] ; then + PATH=$PATH:/opt/mariadb/bin + else + PATH=/bin:/usr/bin:/opt/mariadb/bin + fi + EOF + cat <<- "EOF" > $P/etc/profile.d/mariadb.csh + # path for MariaDB + if ($?PATH) then + set path = ( $path /opt/mariadb/bin ) + else + set path = ( /bin /usr/bin /opt/mariadb/bin ) + endif + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/opt/mariadb/$libdir/plugin + strip_libdir $P/opt/mariadb/$libdir + strip_bindir $P/opt/mariadb/bin + touch -t `date '+%m%d0900'` $P/opt/mariadb/{$libdir/plugin,bin} setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + prune_symlink $P/opt/mariadb/$libdir + touch -t `date '+%m%d0900'` $P/opt/mariadb/$libdir + prune_symlink $P/opt + cat <<- "EOF" >> $P/install/doinst.sh + + mv etc/my.cnf.new /tmp + if [ -f etc/my.cnf ] ; then + mv /tmp/my.cnf.new etc/my.cnf.dist + else + mv /tmp/my.cnf.new etc/my.cnf + fi + EOF + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + ( cd /opt/mariadb ; scripts/mysql_install_db --user=mysql ) + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P `cd $P ; find opt -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` 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/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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/libiodbc/PlamoBuild.libiodbc-3.52.8 2018-04-03 11:21:12.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/iodbc/libiodbc-3.52.8.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libiodbc +vers=3.52.8 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-iodbc-inidir=/etc/iodbc" +DOCS="README AUTHORS COPYING ChangeLog INSTALL NEWS IAFA-PACKAGE LICENSE + LICENSE.LGPL LICENSE.BSD README.CVS README.GIT README.MACOSX" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/libiodbc 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/Qt4.txz/qt/PlamoBuild.qt-4.8.6 2018-04-02 18:23:38.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://download.qt-project.org/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=qt +vers=4.8.6 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=qt-everywhere-opensource-src-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="-bindir /usr/bin -headerdir /usr/include -release -opensource + -qt-sql-sqlite -qt-sql-mysql -plugin-sql-sqlite -plugin-sql-mysql + -system-sqlite -no-phonon -no-phonon-backend -nomake docs -nomake examples + -nomake demos -no-nis -reduce-exports -gstreamer -confirm-license + -I/opt/mysql/include -I/opt/pgsql/include -L/opt/mysql/lib -L/opt/pgsql/lib" +DOCS="LICENSE.GPL3 README LICENSE.LGPL LICENSE.FDL LGPL_EXCEPTION.txt + INSTALL changes-4.8.6" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,12 +42,21 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p config.tests/unix/libmng/libmng.cpp{,.orig} + sed -i '/#if/d;/#error/d;/#endif/d' config.tests/unix/libmng/libmng.cpp + cp -p src/3rdparty/webkit/Source/WebKit.pri{,.orig} + sed -i '/-Werror/d' src/3rdparty/webkit/Source/WebKit.pri + cp -p src/gui/image/qgifhandler.cpp{,.orig} + cat <<- "EOF" | patch src/gui/image/qgifhandler.cpp + 631a632 + > if (image->isNull()) { state = Error; return -1; } + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure ${OPT_CONFIG[$i]} \ + -prefix /usr/$libdir/qt -libdir /usr/$libdir -L/opt/mysql/$libdir fi done fi @@ -62,19 +76,148 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install INSTALL_ROOT=$P fi done + touch $P/usr/$libdir/qt/mkspecs/*.pri + touch $P/usr/$libdir/qt/translations/* + touch $P/usr/$libdir/libQtUiTools.a + touch $P/usr/include/Qt{,Core}/qconfig.h + install -d $P/usr/$libdir/qt/bin + ln -s /usr/bin/moc $P/usr/$libdir/qt/bin + for i in assistant designer qtconfig linguist qdbusviewer ; do + ln $P/usr/bin/$i{,-qt4} + done + sed -i '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' \ + $P/usr/$libdir/*.prl + sed -i "s@ -L$PWD[^ ]*@@g" $P/usr/$libdir/pkgconfig/*.pc + install -d $P/usr/share/applications + cat <<- "EOF" > $P/usr/share/applications/assistant-qt4.desktop + [Desktop Entry] + Name=Qt4 Assistant + Comment=Shows Qt4 documentation and examples + Exec=assistant-qt4 + Icon=assistant-qt4 + Terminal=false + Encoding=UTF-8 + Type=Application + Categories=Qt;Development;Documentation; + EOF + cat <<- "EOF" > $P/usr/share/applications/designer-qt4.desktop + [Desktop Entry] + Name=Qt4 Designer + Comment=Design GUIs for Qt4 applications + Exec=designer-qt4 + Icon=designer-qt4 + MimeType=application/x-designer; + Terminal=false + Encoding=UTF-8 + Type=Application + Categories=Qt;Development; + EOF + cat <<- "EOF" > $P/usr/share/applications/qtconfig-qt4.desktop + [Desktop Entry] + Name=Qt4 Config + Comment=Configure Qt4 behavior, styles, fonts + Exec=qtconfig-qt4 + Icon=qt4logo + Terminal=false + Encoding=UTF-8 + Type=Application + Categories=Qt;Settings; + EOF + cat <<- "EOF" > $P/usr/share/applications/linguist-qt4.desktop + [Desktop Entry] + Name=Qt4 Linguist + Comment=Add translations to Qt4 applications + Exec=linguist-qt4 + Icon=linguist-qt4 + MimeType=text/vnd.trolltech.linguist;application/x-linguist; + Terminal=false + Encoding=UTF-8 + Type=Application + Categories=Qt;Development; + EOF + cat <<- "EOF" > $P/usr/share/applications/qdbusviewer-qt4.desktop + [Desktop Entry] + Name=Qt4 QDbusViewer + GenericName=D-Bus Debugger + Comment=Debug D-Bus applications + Exec=qdbusviewer-qt4 + Icon=qdbusviewer-qt4 + Terminal=false + Encoding=UTF-8 + Type=Application + Categories=Qt;Development;Debugger; + EOF + install -d $P/usr/share/pixmaps + install -m 644 src/gui/dialogs/images/qtlogo-64.png \ + $P/usr/share/pixmaps/qt4logo.png + install -m 644 tools/assistant/tools/assistant/images/assistant-128.png \ + $P/usr/share/pixmaps/assistant-qt4.png + install -m 644 tools/designer/src/designer/images/designer.png \ + $P/usr/share/pixmaps/designer-qt4.png + install -m 644 tools/linguist/linguist/images/icons/linguist-128-32.png \ + $P/usr/share/pixmaps/linguist-qt4.png + install -m 644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \ + $P/usr/share/pixmaps/qdbusviewer-qt4.png + install -d $P/etc/profile.d + cat <<- "EOF" > $P/etc/profile.d/qt.sh + QTDIR=/usr + export QTDIR + EOF + cat <<- "EOF" > $P/etc/profile.d/qt.csh + setenv QTDIR /usr + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + qtdir=$P/usr/$libdir/qt + strip_libdir $qtdir/imports/QtWebKit + touch -t `date '+%m%d0900'` $qtdir/imports/QtWebKit + for i in folderlistmodel particles gestures shaders ; do + strip_libdir $qtdir/imports/Qt/labs/$i + touch -t `date '+%m%d0900'` $qtdir/imports/Qt/labs/$i + done + for i in sqldrivers script bearer codecs imageformats iconengines \ + graphicssystems inputmethods accessible qmltooling designer ; do + strip_libdir $qtdir/plugins/$i + touch -t `date '+%m%d0900'` $qtdir/plugins/$i + done setup_docdir convert_links + touch -t `date '+%m%d0900'` $P/usr/$libdir/qt/{mkspecs,bin} 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 -name libQtCo*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtXml.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtN*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtSq*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtT*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtDB*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtG*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQt3*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtO*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtXmlP*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtM*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtSv*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtScript.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtDec*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtW*` + tar rvpf $pkg.tar -C $P usr/$libdir/qt + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtScriptT*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtCL*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtH*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtU*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libQtDes*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/applications | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pixmaps | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/profile.d | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/libdaemon/PlamoBuild.libdaemon-0.14 2018-04-03 13:00:28.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.14.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libdaemon +vers=0.14 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="LICENSE README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,16 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/libdaemon $docdir/$src/doc + mv $docdir/$src/{doc,{README,$func,$myname,$spec}.gz} $C + mv $C/{doc,{README,$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libdaemon 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/avahi/PlamoBuild.avahi-0.6.31 2018-06-17 16:31:54.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://avahi.org/download/avahi-0.6.31.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/avahi/avahi-0.6.31-gtkstock_deprecated.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=avahi +vers=0.6.31 arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="avahi-0.6.31-gtkstock_deprecated.patch" +OPT_CONFIG="--disable-qt3 --disable-mono --with-distro=slackware" +DOCS="README `echo docs/{MALLOC,README,COMPAT-LAYERS,INSTALL,DBUS-API}` + `echo docs/{API-CHANGES-0.6,AUTHORS,NEWS,TODO,HACKING}` LICENSE + ChangeLog ABOUT-NLS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +76,29 @@ setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libavahi-[cqg]*` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/avahi + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libavahi-u*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/avahi + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1/interfaces | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/applications | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/dbus-1/system.d | tail -n+2` + tar rvpf $pkg.tar -C $P etc/avahi + tar rvpf $pkg.tar -C $P `cd $P ; find etc/rc.d | 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 `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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/CD_DVDtools.txz/cdparanoia_III/PlamoBuild.cdparanoia_III-10.2 2018-04-06 17:31:17.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/CD_DVDtools.txz/cdparanoia/cdparanoia-svn_19646.patch.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=cdparanoia_III +vers=10.2 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P2 +src=cdparanoia-III-$vers +patchfiles="cdparanoia-svn_19646.patch.xz" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING-GPL README COPYING-LGPL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,11 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + autoreconf + cp -p Makefile.in{,.orig} + sed -i 's@$(\(BIN\|LIB\|INCLUDE\|MAN\|PKGCONFIG\)DIR)@$(DESTDIR)&@g' \ + Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -65,16 +71,25 @@ make install DESTDIR=$P fi done + jmandir=$mandir/ja_JP.eucJP + install2 cdparanoia.1.jp $jmandir/man1/cdparanoia.1 touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $jmandir/man1 setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/ja_JP.eucJP/man1 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/CD_DVDtools.txz/libcddb/PlamoBuild.libcddb-1.3.2 2018-04-18 17:26:11.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/libcddb/libcddb-1.3.2.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libcddb +vers=1.3.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ABOUT-NLS INSTALL AUTHORS ChangeLog THANKS COPYING TODO README + NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/cddb 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/CD_DVDtools.txz/libcdio/PlamoBuild.libcdio-0.83 2018-04-18 16:13:02.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/libcdio/libcdio-0.83.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libcdio +vers=0.83 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README.libcdio INSTALL AUTHORS NEWS ChangeLog COPYING THANKS + TODO README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +38,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p src/cd-paranoia/doc/ja/Makefile.in{,.orig} + sed -i '/^mansubdir =/s@jp@ja_JP.eucJP@g' src/cd-paranoia/doc/ja/Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,11 +74,19 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + gzip_dir $mandir/ja_JP.eucJP/man1 setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/ja_JP.eucJP/man1 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/CD_DVDtools.txz/libmusicbrainz/PlamoBuild.libmusicbrainz-2.1.5 2018-04-20 12:36:11.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://ftp.osuosl.org/pub/blfs/conglomeration/libmusicbrainz/libmusicbrainz-2.1.5.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/CD_DVDtools/txz/libmusicbrainz/libmusicbrainz-2.1.5-gcc4.5.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libmusicbrainz +vers=2.1.5 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="libmusicbrainz-2.1.5-gcc4.5.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="docs/mb_howto.txt README AUTHORS COPYING ChangeLog INSTALL TODO + README.win32" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +74,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/musicbrainz 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/CD_DVDtools.txz/libdiscid/PlamoBuild.libdiscid-0.2.2 2018-04-20 22:19:38.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://ftp.osuosl.org/pub/musicbrainz/libdiscid/libdiscid-0.2.2.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libdiscid +vers=0.2.2 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README AUTHORS COPYING" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/discid 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/CD_DVDtools.txz/libmusicbrainz3/PlamoBuild.libmusicbrainz3-3.0.3 2018-05-01 08:57:50.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://ftp.osuosl.org/pub/blfs/conglomeration/libmusicbrainz/libmusicbrainz-3.0.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libmusicbrainz3 +vers=3.0.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=libmusicbrainz-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="COPYING.txt AUTHORS.txt NEWS.txt README.txt INSTALL.txt" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,12 +29,14 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -45,6 +47,8 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/$libdir \ + -DLIB_SUFFIX=`[ $arch == x86_64 ] && echo 64` $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,6 +69,7 @@ make install DESTDIR=$P fi done + find $P/usr/$libdir -type f -exec touch {} \; touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +77,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/musicbrainz3 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/CD_DVDtools.txz/libmusicbrainz5/PlamoBuild.libmusicbrainz5-5.0.1 2018-04-20 13:18:59.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="https://ftp.osuosl.org/pub/blfs/conglomeration/libmusicbrainz/libmusicbrainz-5.0.1.tar.gz + https://ftp.osuosl.org/pub/blfs/conglomeration/libmusicbrainz/libmusicbrainz-5.0.1-build_system-1.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libmusicbrainz5 +vers=5.0.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=libmusicbrainz-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS.txt COPYING.txt INSTALL.txt NEWS.txt README.md" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,14 +30,18 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches + cd $S2 + patch -Np1 -i $W/libmusicbrainz-5.0.1-build_system-1.patch for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -45,6 +50,9 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_INSTALL_DIR=/usr/$libdir \ + -DLIB_SUFFIX=`[ $arch == x86_64 ] && echo 64` $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,6 +73,8 @@ make install DESTDIR=$P fi done + find $P/usr/$libdir -type f -exec touch {} \; + touch $P/usr/include/musicbrainz5/mb5_c.h touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +82,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/musicbrainz5 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/libproxy/PlamoBuild.libproxy-0.4.10 2018-04-13 20:37:13.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libproxy/libproxy-0.4.10.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libproxy +vers=0.4.10 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS NEWS COPYING INSTALL ChangeLog README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,12 +29,14 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -45,6 +47,8 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/$libdir \ + -DMODULE_INSTALL_DIR=/usr/$libdir/libproxy/$vers/modules $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,16 +69,37 @@ make install DESTDIR=$P fi done + touch $P/usr/{bin,libexec}/* + perldir=$P/usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi + touch $perldir/auto/Net/Libproxy/* + touch $P/usr/$libdir/libproxy/$vers/modules/* + touch $P/usr/$libdir/pkgconfig/* + touch $P/usr/$libdir/libproxy.so.* + touch $P/usr/share/cmake/Modules/* touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + touch -t `date '+%m%d0900'` $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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/python*/site-packages | tail -n+2` + perldir=usr/$libdir/perl5/site_perl/5.14.2/$arch-linux-thread-multi + tar rvpf $pkg.tar -C $P `cd $P ; find $perldir/Net | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find $perldir/auto/Net -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/libproxy + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libproxy.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/cmake/Modules | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/p11_kit/PlamoBuild.p11_kit-0.13 2018-04-15 08:52:43.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://ftp.osuosl.org/pub/blfs/conglomeration/p11kit/p11-kit-0.13.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=p11_kit +vers=0.13 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=p11-kit-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL ABOUT-NLS COPYING NEWS ChangeLog AUTHORS README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,14 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/p11-kit-1 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P etc/pkcs11 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/apr/PlamoBuild.apr-1.6.5 2018-12-27 14:49:29.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://archive.apache.org/dist/apr/apr-1.6.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=apr +vers=1.6.5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="NOTICE CHANGES README.cmake LICENSE README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +42,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]} \ + --with-installbuilddir=/usr/$libdir/apr-1 fi done fi @@ -73,8 +74,13 @@ setup_docdir 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 usr/$libdir/apr-1 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libapr-*` + tar rvpf $pkg.tar -C $P usr/$libdir/apr.exp + tar rvpf $pkg.tar -C $P usr/include/apr-1 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/apr_util/PlamoBuild.apr_util-1.6.1 2018-12-27 15:11:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://archive.apache.org/dist/apr/apr-util-1.6.1.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=apr_util +vers=1.6.1 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=apr-util-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--with-apr=/usr/bin/apr-1-config --with-berkeley-db" +DOCS="README.cmake CHANGES LICENSE README NOTICE" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,18 @@ 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/apr-util-1 setup_docdir convert_links + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/$libdir/apr-util-1 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 usr/$libdir/apr-util-1 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libaprutil-*` + tar rvpf $pkg.tar -C $P usr/$libdir/aprutil.exp + tar rvpf $pkg.tar -C $P usr/include/apr-1 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/libev/PlamoBuild.libev-4.22 2018-04-16 16:35:37.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://dist.schmorp.de/libev/Attic/libev-4.22.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libev +vers=4.22 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="Changes LICENSE README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,6 +65,7 @@ make install DESTDIR=$P fi done + rm $P/usr/include/event.h touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -72,9 +73,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P `cd $P ; find usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/jansson/PlamoBuild.jansson-2.7 2018-04-16 16:58:00.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.digip.org/jansson/releases/jansson-2.7.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/jansson/CVE-2016-4425.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=jansson +vers=2.7 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" +patchfiles="CVE-2016-4425.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="CHANGES LICENSE README.rst" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +73,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/jemalloc/PlamoBuild.jemalloc-4.0.4 2018-04-16 17:15:03.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/jemalloc/jemalloc/releases/download/4.0.4/jemalloc-4.0.4.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=jemalloc +vers=4.0.4 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog COPYING VERSION INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -71,10 +71,20 @@ -exec touch -t `date '+%m%d0900'` {} \; compress setup_docdir + mv $docdir/jemalloc $docdir/$src/doc + mv $docdir/$src/{doc,{README,ChangeLog,COPYING,VERSION,INSTALL}.gz} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{doc,{README,ChangeLog,COPYING,VERSION,INSTALL}.gz} $docdir/$src + mv $C/{$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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/jemalloc + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/taglib/PlamoBuild.taglib-1.9.1 2018-04-13 17:37:28.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://taglib.github.io/releases/taglib-1.9.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=taglib +vers=1.9.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS COPYING.LGPL COPYING.MPL INSTALL NEWS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,12 +29,14 @@ fscheck prepare "$@" +S2=$W/source if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -45,6 +47,9 @@ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=/usr/$libdir \ + -DLIB_SUFFIX=`[ $arch == x86_64 ] && echo 64` \ + -DWITH_ASF=ON -DWITH_MP4=ON $S2 fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do @@ -65,6 +70,9 @@ make install DESTDIR=$P fi done + touch $P/usr/bin/* + find $P/usr/$libdir -type f -exec touch {} \; + touch $P/usr/include/taglib/taglib_config.h touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -73,8 +81,11 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/taglib 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/bluez.txz/bluez/PlamoBuild.bluez-4.101 2018-04-04 14:35:10.000000000 +0900 @@ -1,19 +1,23 @@ #!/bin/sh ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/bluetooth/bluez-4.101.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=bluez +vers=4.101 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-gstreamer --enable-alsa --enable-usb --enable-tools + --enable-hidd --enable-cups --disable-test --without-systemdunitdir" +DOCS="INSTALL NEWS COPYING `echo doc/{sap,media,input,adapter,health}-api.txt` + `echo doc/{serial,manager,audio,attribute,hfp,device,service}-api.txt` + `echo doc/{network-api,assigned-numbers,control-api,agent-api}.txt` + ChangeLog AUTHORS COPYING.LIB TODO README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +74,29 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/alsa-lib + strip_libdir $P/usr/$libdir/gstreamer-0.10 + touch -t `date '+%m%d0900'` $P/usr/$libdir/{alsa-lib,gstreamer-0.10} setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libblue*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/alsa-lib | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/cups/backend | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/gstreamer-0.10 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/bluetooth + tar rvpf $pkg.tar -C $P usr/include/bluetooth + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/alsa | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1/system-services | tail -n+2` + tar rvpf $pkg.tar -C $P etc/bluetooth + tar rvpf $pkg.tar -C $P `cd $P ; find etc/dbus-1/system.d | tail -n+2` + tar rvpf $pkg.tar -C $P var/lib/bluetooth 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/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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/R/PlamoBuild.R-2.12.1 2018-07-09 21:46:52.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://cran.r-project.org/src/base/R-2/R-2.12.1.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=R +vers=2.12.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-R-shlib" +DOCS="ChangeLog COPYING INSTALL NEWS NEWS.pdf ONEWS OONEWS README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,9 +70,23 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $P/usr/$libdir/R/bin + touch -t `date '+%m%d0900'` $P/usr/$libdir/R/bin + strip_libdir $P/usr/$libdir/R/lib + touch -t `date '+%m%d0900'` $P/usr/$libdir/R/lib + strip_libdir $P/usr/$libdir/R/lib/modules + touch -t `date '+%m%d0900'` $P/usr/$libdir/R/lib/modules + for i in tools grDevices stats methods grid splines tcltk MASS lattice \ + Matrix nlme survival cluster foreign KernSmooth rpart class nnet \ + spatial mgcv ; do + strip_libdir $P/usr/$libdir/R/library/$i/libs + touch -t `date '+%m%d0900'` $P/usr/$libdir/R/library/$i/libs + done setup_docdir convert_links tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P usr/$libdir/R + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | 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 usr/share/doc/$src touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/xdg_utils/PlamoBuild.xdg_utils-1.1.0 2018-07-12 00:25:19.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://portland.freedesktop.org/download/xdg-utils-1.1.0.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` +pkgbase=xdg_utils +vers=1.1.0 +arch=noarch build=P1 -src=$pkgbase-$vers +src=xdg-utils-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog LICENSE README RELEASE_NOTES TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/libseccomp/PlamoBuild.libseccomp-2.3.3 2019-02-26 08:53:07.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://github.com/seccomp/libseccomp/releases/download/v2.3.3/libseccomp-2.3.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libseccomp +vers=2.3.3 arch=`uname -m` build=P1 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="SUBMITTING_PATCHES CHANGELOG CREDITS README.md LICENSE" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -40,9 +40,7 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} 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]} + ./configure --prefix=/usr --libdir=/usr/$libdir ${OPT_CONFIG[$i]} fi done fi @@ -73,8 +71,13 @@ setup_docdir 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/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | tail -n+2` 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/libcap_ng/PlamoBuild.libcap_ng-0.7.3 2018-07-14 09:41:45.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-0.7.3.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libcap_ng +vers=0.7.3 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=libcap-ng-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog COPYING INSTALL AUTHORS NEWS README COPYING.LIB" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +70,17 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/python*/site-packages setup_docdir 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 `cd $P ; find usr/include | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | tail -n+2` + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/libspectre/PlamoBuild.libspectre-0.2.7 2018-07-12 15:52:35.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="https://libspectre.freedesktop.org/releases/libspectre-0.2.7.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libspectre +vers=0.2.7 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="README ChangeLog INSTALL AUTHORS COPYING NEWS TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/libspectre 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/colord/PlamoBuild.colord-0.1.21 2018-07-12 16:49:34.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.freedesktop.org/software/colord/releases/colord-0.1.21.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=colord +vers=0.1.21 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog MAINTAINERS README AUTHORS INSTALL ABOUT-NLS COPYING + NEWS TODO" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,26 @@ setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libcolord.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libcolord-gtk.*` + tar rvpf $pkg.tar -C $P usr/$libdir/colord-sensors + tar rvpf $pkg.tar -C $P usr/include/colord-1 + tar rvpf $pkg.tar -C $P `cd $P ; find etc -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | tail -n+2` + tar rvpf $pkg.tar -C $P var/lib/colord + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/polkit-1/actions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/vala/vapi | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1 -type f` + tar rvpf $pkg.tar -C $P usr/share/color 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 + 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 cleanup --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/libgphoto2/PlamoBuild.libgphoto2-2.5.5.1 2018-07-24 16:50:26.000000000 +0900 @@ -1,19 +1,21 @@ #!/bin/sh ###################################################################### -url="" +url="https://distfiles.macports.org/libgphoto2/libgphoto2-2.5.5.1.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/libgphoto2/libgphoto2-2.5.5.1-jpeg_memsrcdest.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=libgphoto2 +vers=2.5.5.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers -patchfiles="" +patchfiles="libgphoto2-2.5.5.1-jpeg_memsrcdest.patch" OPT_CONFIG="" -DOCS="README" +DOCS="README HACKING TESTERS NEWS README.packaging COPYING AUTHORS + MAINTAINERS ABOUT-NLS ChangeLog INSTALL" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -65,16 +67,46 @@ make install DESTDIR=$P fi done + for i in AUTHORS COPYING NEWS ABOUT-NLS ChangeLog README{,.packaging} ; do + rm $docdir/libgphoto2/$i + done + find $docdir/libgphoto2/libgphoto2-api.html -exec touch {} \; touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/libgphoto2_port/0.10.0 + strip_libdir $P/usr/$libdir/libgphoto2/$vers + touch -t `date '+%m%d0900'` $P/usr/$libdir/libgphoto2{_port/0.10.0,/$vers} setup_docdir + mv $docdir/libgphoto2_port $docdir/$src + mv $docdir/libgphoto2 $docdir/$src/doc + mv $docdir/$src/{doc,{COPYING,AUTHORS,MAINTAINERS,ABOUT-NLS}.gz} $C + mv $docdir/$src/{{ChangeLog,INSTALL}.gz,libgphoto2_port} $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{doc,{COPYING,AUTHORS,MAINTAINERS,ABOUT-NLS}.gz} $docdir/$src + mv $C/{{ChangeLog,INSTALL}.gz,libgphoto2_port} $docdir/$src + mv $C/{$func,$myname,$spec}.gz $docdir/$src + touch -r $S $docdir/$src convert_links + prune_symlink $P/usr/include/gphoto2 + touch -t `date '+%m%d0900'` $P/usr/include/gphoto2 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 -maxdepth 1 -name libgphoto2_port.*` + tar rvpf $pkg.tar -C $P usr/$libdir/libgphoto2_port + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir -maxdepth 1 -name libgphoto2.*` + tar rvpf $pkg.tar -C $P usr/$libdir/libgphoto2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/udev | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gphoto2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/libgphoto2 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man3 | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/Inputmethods.txz/anthy/PlamoBuild.anthy-9100h 2018-08-16 12:54:58.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://jaist.dl.sourceforge.jp/anthy/37536/anthy-9100h.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=anthy +vers=9100h arch=`uname -m` -build=P1 +build=P4 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="DIARY README.en README ChangeLog AUTHORS NEWS COPYING + `echo doc/{LEARNING,ELISP,SPLITTER,GRAMMAR,MISC,DICLIB,ILIB,GUIDE}` + `echo doc/{protocol.txt,GLOSSARY,LIB,DICUTIL,00INDEX,POS,GUIDE.english}` + doc/TESTING INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +76,14 @@ setup_docdir 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 ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/anthy + tar rvpf $pkg.tar -C $P usr/share/emacs/site-lisp/anthy + tar rvpf $pkg.tar -C $P usr/share/anthy + tar rvpf $pkg.tar -C $P etc/anthy-conf 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/desktop_file_utils/PlamoBuild.desktop_file_utils-0.20 2018-08-30 13:09:49.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-0.20.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=desktop_file_utils +vers=0.20 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=desktop-file-utils-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS HACKING README ChangeLog NEWS COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,18 @@ compress setup_docdir convert_links + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + update-desktop-database /usr/share/applications + touch /usr/share/applications/mimeinfo.cache + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh 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/emacs/site-lisp | 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 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/vte/PlamoBuild.vte-0.28.2 2019-02-27 11:55:55.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/GNOME/sources/vte/0.28/vte-0.28.2.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=vte +vers=0.28.2 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-introspection" +DOCS="MAINTAINERS NEWS README AUTHORS COPYING HACKING ChangeLog + ChangeLog.pre-git" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,20 @@ 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/python*/site-packages/gtk-2.0 setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P usr/include/vte-0.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/vte + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/vte-0.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pygtk/2.0/defs | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/vte3/PlamoBuild.vte3-0.34.7 2019-02-27 11:19:14.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/GNOME/sources/vte/0.34/vte-0.34.7.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=vte3 +vers=0.34.7 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=vte-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-introspection" +DOCS="MAINTAINERS NEWS README AUTHORS COPYING HACKING ChangeLog + ChangeLog.pre-git" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,15 @@ setup_docdir 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P usr/include/vte-2.90 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P etc/profile.d/vte.sh + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/vte-2.90 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/virt.txz/spice_protocol/PlamoBuild.spice_protocol-0.12.10 2019-03-01 08:11:03.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://spice-space.org/download/releases/spice-protocol-0.12.10.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/virt.txz/spice_protocol/spice-protocol-sync_synchronize.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=spice_protocol +vers=0.12.10 arch=`uname -m` -build=P1 -src=$pkgbase-$vers -patchfiles="" +build=P3 +src=spice-protocol-$vers +patchfiles="spice-protocol-sync_synchronize.patch" OPT_CONFIG="" -DOCS="README" +DOCS="AUTHORS NEWS README COPYING ChangeLog INSTALL" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,8 +73,9 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P usr/$libdir/spice-protocol + tar rvpf $pkg.tar -C $P usr/include/spice-1 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/pkgconfig | tail -n+2` tar rvpf $pkg.tar -C $P usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/virt.txz/spice/PlamoBuild.spice-0.12.6 2019-02-27 14:52:13.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://spice-space.org/download/releases/spice-0.12.6.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=spice +vers=0.12.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-client" +DOCS="AUTHORS NEWS README ChangeLog INSTALL COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +72,11 @@ compress setup_docdir 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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/spice-server 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/virt.txz/spice_gtk/PlamoBuild.spice_gtk-0.27 2019-02-27 15:00:31.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://spice-space.org/download/gtk/spice-gtk-0.27.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=spice_gtk +vers=0.27 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=spice-gtk-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-smartcard=no --enable-vala" +DOCS="THANKS ChangeLog TODO README NEWS COPYING AUTHORS" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +73,18 @@ setup_docdir 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/$libdir -name libspice-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name spice-gtk.mo` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/spice-gtk + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/polkit-1/actions | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/vala/vapi | 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 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/virt.txz/spice_vdagent/PlamoBuild.spice_vdagent-0.14.0 2019-03-04 19:48:23.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://spice-space.org/download/releases/spice-vdagent-0.14.0.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=spice_vdagent +vers=0.14.0 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=spice-vdagent-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--sysconfdir=/etc --localstatedir=/var" +DOCS="COPYING ChangeLog README.RHEL-5 TODO README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,6 +73,12 @@ setup_docdir 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/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gdm/autostart/LoginWindow | tail -n+2` + tar rvpf $pkg.tar -C $P var/run/spice-vdagentd + tar rvpf $pkg.tar -C $P `cd $P ; find etc/rsyslog.d | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find etc/xdg/autostart | 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 usr/share/doc/$src TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/virt.txz/qemu/PlamoBuild.qemu-2.0.0 2019-03-01 09:05:22.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://wiki.qemu-project.org/download/qemu-2.0.0.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/virt.txz/qemu/cve-2015-3456.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=qemu +vers=2.0.0 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +patchfiles="cve-2015-3456.patch.gz" +OPT_CONFIG="--disable-gtk --audio-drv-list=pa,esd,sdl,alsa,oss + --enable-vnc-sasl --enable-libusb" +DOCS="LICENSE HACKING MAINTAINERS README COPYING VERSION + CODING_STYLE COPYING.LIB Changelog" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -41,7 +44,7 @@ cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ + --libdir='${prefix}'/$libdir --infodir='${prefix}'/share/info \ --mandir='${prefix}'/share/man ${OPT_CONFIG[$i]} fi done @@ -65,16 +68,42 @@ make install DESTDIR=$P fi done + ln -s qemu-system-`echo $arch | sed 's/i6/i3/;s/v7l//'` $P/usr/bin/qemu-kvm + ln -s qemu-system-`echo $arch | sed 's/i6/i3/;s/v7l//'` $P/usr/bin/kvm + install -d $P/lib/udev/rules.d + cat <<- "EOF" > $P/lib/udev/rules.d/45-qemu-kvm.rules + KERNEL=="kvm", GROUP="kvm", MODE="0660" + EOF touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_bindir $P/usr/libexec setup_docdir + mv $docdir/qemu/{qemu-{doc,tech}.html,qmp-commands.txt} $docdir/$src + mv $docdir/$src/{qemu-tech.html,{LICENSE,HACKING}.gz,qmp-commands.txt} $C + mv $docdir/$src/{MAINTAINERS.gz,qemu-doc.html,{README,COPYING,VERSION}.gz} $C + mv $docdir/$src/{CODING_STYLE,COPYING.LIB,Changelog}.gz $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{qemu-tech.html,{LICENSE,HACKING}.gz,qmp-commands.txt} $docdir/$src + mv $C/{MAINTAINERS.gz,qemu-doc.html,{README,COPYING,VERSION}.gz} $docdir/$src + mv $C/{CODING_STYLE,COPYING.LIB,Changelog}.gz $docdir/$src + mv $C/{$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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/cacard + tar rvpf $pkg.tar -C $P usr/share/qemu + tar rvpf $pkg.tar -C $P etc/qemu + tar rvpf $pkg.tar -C $P `cd $P ; find lib/udev/rules.d | 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/man8 | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/usbredir/PlamoBuild.usbredir-0.6 2019-02-27 15:13:52.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://spice-space.org/download/usbredir/usbredir-0.6.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=usbredir +vers=0.6 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="usb-redirection-protocol.txt COPYING ChangeLog TODO README + README.multi-thread COPYING.LIB" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -72,9 +73,12 @@ compress setup_docdir convert_links - tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar cvpf $pkg.tar -C $P `cd $P ; find usr/sbin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -type f` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/05_ext/ftgl/PlamoBuild.ftgl-2.1.3_rc5 2019-10-17 15:20:07.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="http://downloads.sourceforge.net/ftgl/ftgl-2.1.3-rc5.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=ftgl +vers=2.1.3~rc5 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="INSTALL NEWS ChangeLog BUGS AUTHORS TODO README COPYING" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +37,35 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + cp -p demo/Makefile.in{,.orig} + cat <<- "EOF" | patch demo/Makefile.in + 245c245 + < simple_LDFLAGS = $(FT2_LIBS) $(GLUT_LIBS) + --- + > simple_LDFLAGS = $(FT2_LIBS) $(GL_LIBS) $(GLUT_LIBS) + 252c252 + < c_demo_LDFLAGS = $(FT2_LIBS) $(GLUT_LIBS) + --- + > c_demo_LDFLAGS = $(FT2_LIBS) $(GL_LIBS) $(GLUT_LIBS) -lm + 263c263 + < FTGLDemo_LDFLAGS = $(FT2_LIBS) $(GLUT_LIBS) + --- + > FTGLDemo_LDFLAGS = $(FT2_LIBS) $(GL_LIBS) $(GLUT_LIBS) + 274c274 + < FTGLMFontDemo_LDFLAGS = $(FT2_LIBS) $(GLUT_LIBS) + --- + > FTGLMFontDemo_LDFLAGS = $(FT2_LIBS) $(GL_LIBS) $(GLUT_LIBS) + EOF + cp -p docs/Makefile.in{,.orig} + cat <<- "EOF" | patch docs/Makefile.in + 463,465c463 + < rm -f latex/ftgl.tex latex/ftgl.pdf + < mv latex/refman.tex latex/ftgl.tex + < sed 's/setlength{/renewcommand{/' latex/ftgl.tex > latex/refman.tex + --- + > rm -f latex/ftgl.pdf + EOF for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -71,10 +100,20 @@ -exec touch -t `date -u '+%m%d0000'` {} \; compress setup_docdir + mv $docdir/ftgl $docdir/$src/docs + mv $docdir/$src/{{INSTALL,NEWS}.gz,docs} $C + mv $docdir/$src/{ChangeLog,BUGS,AUTHORS,TODO,README,COPYING}.gz $C + mv $docdir/$src/{$func,$myname,$spec}.gz $C + mv $C/{{INSTALL,NEWS}.gz,docs} $docdir/$src + mv $C/{ChangeLog,BUGS,AUTHORS,TODO,README,COPYING}.gz $docdir/$src + mv $C/{$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 cvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/FTGL 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/08_tex/texlive/PlamoBuild.texlive-20150521 2018-11-25 12:22:06.000000000 +0900 @@ -1,19 +1,27 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://tug.org/texlive/historic/2015/texlive-20150521-source.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=texlive +vers=20150521 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P3 +src=$pkgbase-$vers-source patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--prefix=/opt/texlive/2015 --datarootdir=/opt/texlive/2015 + --infodir=/opt/texlive/2015/texmf-dist/doc/info + --mandir=/opt/texlive/2015/texmf-dist/doc/man + --disable-native-texlive-build --enable-shared --with-system-libgs + --with-system-harfbuzz --with-system-icu --with-system-graphite2 + --with-system-xpdf --with-poppler --with-system-mpfr --with-system-gmp + --with-system-cairo --with-system-pixman --with-system-freetype2 + --with-system-libpng --with-system-libpaper --with-system-zlib + --with-system-fontconfig" +DOCS="ChangeLog README*" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,20 +37,27 @@ fscheck prepare "$@" +S2=$W/source +TEXARCH=`echo $arch | sed 's/i6/i3/;s/v7l/el/'`-linux if [ $opt_download -eq 1 ] ; then download_sources fi if [ $opt_config -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do - if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} + if [ -d ${S2[$i]} ] ; then rm -rf ${S2[$i]} ; fi ; cp -a ${S[$i]} ${S2[$i]} + if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; mkdir ${B[$i]} done apply_patches + cd $S2 + cp -p texk/kpathsea/texmf.cnf{,.orig} + sed -i '/^OSFONTDIR =/s@/.*@/usr/share/fonts@' texk/kpathsea/texmf.cnf for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -x configure ] ; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + if [ -x ${S2[$i]}/configure ] ; then + ${S2[$i]}/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]} \ + --bindir=/opt/texlive/2015/bin/$TEXARCH --with-banner-add=" - Plamo" fi done fi @@ -62,19 +77,90 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make install DESTDIR=$P + make install-strip DESTDIR=$P + make texlinks DESTDIR=$P fi done + ln -s dvipdfmx $P/opt/texlive/2015/bin/$TEXARCH/xbb + install -d $P/opt/texlive/2015/tlpkg/TeXLive + install -m 444 $S2/texk/tests/TeXLive/* $P/opt/texlive/2015/tlpkg/TeXLive + install -d $P/opt/texlive/texmf-local + cat <<- EOF >> $P/opt/texlive/2015/texinit.sh + #!/bin/sh + + export PATH=/opt/texlive/2015/bin/$TEXARCH:\$PATH + texlinks -v -f /opt/texlive/2015/texmf-dist/web2c/fmtutil.cnf \\ + -e "" /opt/texlive/2015/bin/$TEXARCH + mktexlsr + fmtutil-sys --all + mtxrun --generate + kanji-config-updmap-sys ipaex + echo "TeXLive の日本語フォントの設定を行いました:" + kanji-config-updmap-sys status + EOF + chmod 755 $P/opt/texlive/2015/texinit.sh + install -d $P/etc/profile.d + cat <<- EOF > $P/etc/profile.d/texlive.sh + # PATH + PATH=\$PATH:/opt/texlive/2015/bin/$TEXARCH + export INFOPATH=\$INFOPATH:/opt/texlive/2015/texmf-dist/info + export MANPATH=\$MANPATH:/opt/texlive/2015/texmf-dist/man + EOF + cat <<- EOF > $P/etc/profile.d/texlive.csh + # path + set path = ( \$path /opt/texlive/2015/bin/$TEXARCH ) + setenv INFOPATH \$INFOPATH:/opt/texlive/2015/texmf-dist/info + setenv MANPATH \$MANPATH:/opt/texlive/2015/texmf-dist/man + EOF touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + strip_bindir $P/opt/texlive/2015/bin/$TEXARCH + strip_libdir $P/opt/texlive/2015/lib + mv $P/opt/texlive/2015/texmf-dist/doc/info/dir $C + gzip_dir $P/opt/texlive/2015/texmf-dist/doc/info + mv $C/dir $P/opt/texlive/2015/texmf-dist/doc/info + for i in 1 5 ; do gzip_dir $P/opt/texlive/2015/texmf-dist/doc/man/man$i ; done + TZ=UTC touch -t `date -u '+%m%d0000'` \ + $P/opt/texlive/2015/texmf-dist/doc/{info,man/man{1,5}} setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $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` + prune_symlink $P/opt/texlive/2015/bin/$TEXARCH + prune_symlink $P/opt/texlive/2015/lib + TZ=UTC touch -t `date -u '+%m%d0000'` \ + $P/opt/texlive/2015/{bin/$TEXARCH,lib} + cat <<- EOF | unexpand >> $P/install/doinst.sh + #%% begin initialize $pkg + if ! grep -q "/opt/texlive/2015/lib" /etc/ld.so.conf ; then + echo "/opt/texlive/2015/lib" >> /etc/ld.so.conf + ldconfig + fi + for i in texlive_texmf texlive_texmf_fonts texlive_texmf_fonts_type1 \\ + texlive_texmf_fonts_type1_public \\ + texlive_texmf_fonts_type1_public_nanumtype1 \\ + texlive_texmf_fonts_type1_public_cm_super \\ + texlive_texmf_fonts_type1_public_cbfonts texlive_texmf_fonts_truetype \\ + texlive_texmf_fonts_afm texlive_texmf_fonts_opentype \\ + texlive_texmf_fonts_tfm texlive_texmf_tex texlive_texmf_source ; do + if [ ! -f /var/log/packages/\$i ] ; then + cat <<- "EOF" + texinit.sh execution will be deferred until all required texlive_texmf + packages are installed. + EOF + exit 1 + fi + done + /opt/texlive/2015/texinit.sh + #%% end + EOF + TZ=UTC touch -t `date -u '+%m%d0000'` $P/install/doinst.sh + tar cvpf $pkg.tar -C $P opt/texlive + tar rvpf $pkg.tar -C $P `cd $P ; find etc/profile.d | tail -n+2` 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 --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/08_tex/texlive_texmf/PlamoBuild.texlive_texmf-20150523 2018-11-05 11:59:03.000000000 +0900 @@ -1,19 +1,19 @@ #!/bin/sh ###################################################################### -url="" +url="ftp://tug.org/historic/systems/texlive/2015/texlive-20150523-texmf.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +pkgbase=texlive_texmf +vers=20150523 +arch=noarch +build=P3 +src=texlive-$vers-texmf patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="texmf-dist/README" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -69,13 +69,47 @@ cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; + install -d $P/opt/texlive/2015 + cp -a $B/texmf-dist $P/opt/texlive/2015 + chmod -R g-sw $P/opt/texlive/2015/texmf-dist + chown -R root.root $P/opt/texlive/2015/texmf-dist compress setup_docdir 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 usr/share/doc/$src - TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar - xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz + archive_subdir() { + pkg=${pkgbase}_`echo ${1////_} | sed 's/-/_/g'`-$vers-$arch-$build + tar cvpJf $pkg.txz -C $P opt/texlive/2015/texmf-dist/$1 usr/share/doc/$src + touch -r $P/opt/texlive/2015/texmf-dist/$1 dir + rm -rf $P/opt/texlive/2015/texmf-dist/$1/* + touch -r dir $P/opt/texlive/2015/texmf-dist/$1 ; rm dir + } + archive_subdir_split() { + n=`ls -A $P/opt/texlive/2015/texmf-dist/$1 | wc -l` ; d=$2 ; b=$((n / d)) + for i in `seq 0 $d` ; do + [ $((b * i)) -eq $n ] && break; + pkg=${pkgbase}_`echo ${1////_} | sed 's/-/_/g'`$i-$vers-$arch-$build + tar cvpf $pkg.tar -C $P --no-r opt/texlive/2015/texmf-dist/$1 + tar rvpf $pkg.tar -C $P \ + `cd $P ; find opt/texlive/2015/texmf-dist/$1 -maxdepth 1 \ + | tail -n+2 | sed -n "$((b * i + 1)),$((b * (i + 1)))p"` + tar rvpf $pkg.tar -C $P usr/share/doc/$src + xz $pkg.tar ; mv $pkg.{tar.xz,txz} + done + touch -r $P/opt/texlive/2015/texmf-dist/$1 dir + rm -rf $P/opt/texlive/2015/texmf-dist/$1/* + touch -r dir $P/opt/texlive/2015/texmf-dist/$1 ; rm dir + } + for i in fonts/type1{/public{/nanumtype1,/cm-super,/cbfonts,},} ; do + archive_subdir $i + done + for i in fonts{/truetype,/afm,/opentype,/tfm,} ; do + archive_subdir $i + done + archive_subdir doc/generic + archive_subdir_split doc/latex 7 + for i in doc{/fonts,} ; do archive_subdir $i ; done + for i in tex source ; do archive_subdir $i ; done + pkg=$pkgbase-$vers-$arch-$build + tar cvpJf $pkg.txz -C $P opt/texlive/2015/texmf-dist usr/share/doc/$src cleanup fi --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/09_kernel/kernelsrc/PlamoBuild.kernelsrc-5.4.51_plamo@LV@ 2021-09-22 20:00:16.000000000 +0900 @@ -1,19 +1,31 @@ -#!/bin/sh +#!/bin/sh -x ###################################################################### -url="" +url="https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.4.51.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/UNICON/vd_unicon-kernel-20191130-5.4.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/UNICON/vd_unicon-kernel-device_set_font_noarg.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/UNICON/vd_unicon-kernel-fonts-20140614.patch.bz2 + https://github.com/sfjro/aufs5-standalone.git + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/mcp/5.4-panic_beep.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/mcp/5.4-morse_code_panics.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/toi/tuxonice-for-linux-5.4.39-2020-05-09.patch.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/ovlfs/overlayfs-allow_unprivileged_mounts.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/misc/5.4-mt7615-define-to_rssi-macro.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/rpi/rpi-5.4.51-20200715-7d9a391.patch.xz + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/rpi/5.4-CLK_BCM2835-RESET_CONTROLLER.patch + ftp://plamo.linet.gr.jp/pub/Plamo-test/kernelsrc_patches/config-5.4.51-plamo@LV@" verify= digest= -branch= -commitid= -pkgbase= -vers= -arch=`uname -m` -build=P1 -src=$pkgbase-$vers +branch[4]=aufs5.4.3 +commitid[4]=1d622ad +pkgbase=kernelsrc +vers=5.4.51_plamo@LV@ +arch=noarch +build=P2 +src=linux-5.4.51 patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -28,6 +40,11 @@ fi fscheck +case `uname -m` in i686) lv=SMP ;; x86_64) lv=64 ;; armv7l) lv=RPi2 ;; esac +url=${url/@LV@/$lv} ; vers=${vers/@LV@/$lv} +if [ `uname -m` == armv7l ] ; then + src[0]=linux-5.4.51 ; src[1]=${src[0]} +fi prepare "$@" if [ $opt_download -eq 1 ] ; then download_sources @@ -39,6 +56,36 @@ apply_patches for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} + patch -Np1 -i $W/vd_unicon-kernel-20191130-5.4.patch + patch -Np1 -i $W/vd_unicon-kernel-device_set_font_noarg.patch + bunzip2 -c $W/vd_unicon-kernel-fonts-20140614.patch.bz2 | patch -Np1 -i - + patch -Np1 -i $W/aufs5-standalone/aufs5-kbuild.patch + patch -Np1 -i $W/aufs5-standalone/aufs5-base.patch + patch -Np1 -i $W/aufs5-standalone/aufs5-mmap.patch + patch -Np1 -i $W/aufs5-standalone/aufs5-standalone.patch + cp -av $W/aufs5-standalone/Documentation . + cp -av $W/aufs5-standalone/fs . + cp -pv $W/aufs5-standalone/include/uapi/linux/aufs_type.h include/uapi/linux + patch -Np1 -i $W/5.4-panic_beep.patch + patch -Np1 -i $W/5.4-morse_code_panics.patch + bunzip2 -c $W/tuxonice-for-linux-5.4.39-2020-05-09.patch.bz2 | patch -Np1 -i - + chmod 755 scripts/tuxonice_output_to_csv.sh + patch -Np1 -i $W/overlayfs-allow_unprivileged_mounts.patch + patch -Np1 -i $W/5.4-mt7615-define-to_rssi-macro.patch + if [ `uname -m` == armv7l ] ; then + unxz -c $W/rpi-5.4.51-20200715-7d9a391.patch.xz | patch -Np1 -i - + patch -Np1 -i $W/5.4-CLK_BCM2835-RESET_CONTROLLER.patch + rm -rf .github + chmod 755 drivers/net/wireless/realtek/rtl8192cu/{clean,runwpa,wlan0dhcp} + fi + cp -p $W/config-5.4.51-plamo$lv .config + if [ $i -eq 1 ] ; then + scripts/config --set-str LOCALVERSION "-plamoLPAE" -e ARM_LPAE \ + -e VMSPLIT_3G -d VMSPLIT_2G -e HIGHMEM -e PCIE_BRCMSTB --refresh + fi + done + for i in `seq 0 $((${#B[@]} - 1))` ; do + cd ${B[$i]} if [ -x configure ] ; then ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libdir='${exec_prefix}'/$libdir --infodir='${prefix}'/share/info \ @@ -50,7 +97,8 @@ for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -f Makefile ] ; then - make + make prepare scripts + make clean fi done fi @@ -61,20 +109,79 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then + false && if [ -f Makefile ] ; then make install DESTDIR=$P fi done + cd $B + install -d $P/usr/src + cp -dR . $P/usr/src/$src + if [ `uname -m` == armv7l ] ; then + install -m 644 ${B[1]}/.config $P/usr/src/$src/.configl + fi + find $P/usr/src/$src \( -name ".clang-format" -o -name ".cocciconfig" \ + -o -name ".get_maintainer.ignore" -o -name ".gitattributes" \ + -o -name ".gitignore" -o -name ".mailmap" \ + -o -name "*.orig" \) -exec rm {} \; + ln -s $src $P/usr/src/linux + install -d $P/sbin + if [ `uname -m` == i686 -o `uname -m` == x86_64 ] ; then + sed '/^verify/,$d' arch/x86/boot/install.sh > $P/sbin/installkernel + else + sed '/^verify/,$d' arch/arm/boot/install.sh > $P/sbin/installkernel + fi + if [ `uname -m` == i686 -o `uname -m` == x86_64 ] ; then + cat <<- "EOF" >> $P/sbin/installkernel + [ -f $4/config ] && mv $4/config $4/config.old + cp .config $4/config + [ -f $4/vmlinuz ] && mv $4/vmlinuz $4/vmlinuz.old + cat $2 > $4/vmlinuz + [ -f $4/System.map ] && mv $4/System.map $4/System.old + cp $3 $4/System.map + + if [ -x /sbin/lilo -a -f /etc/lilo.conf ] ; then + /sbin/lilo + EOF + else + cat <<- "EOF" >> $P/sbin/installkernel + l=`[[ $1 =~ LPAE ]] && echo l` + [ -f $4/config$l ] && mv $4/config$l $4/config$l.old + cp .config $4/config$l + [ -f $4/kernel7$l.img ] && mv $4/kernel7$l.img $4/kernel7$l.old + cat $2 > $4/kernel7$l.img + [ -f $4/System$l.map ] && mv $4/System$l.map $4/System$l.old + cp $3 $4/System$l.map + + if [ -x /sbin/loadmap ] ; then + /sbin/loadmap + EOF + fi + cat <<- "EOF" >> $P/sbin/installkernel + else + sync + fi + EOF + chmod 755 $P/sbin/installkernel touch $W/i.et cd $W TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date -u '+%m%d0000'` {} \; compress + install -d $docdir/$src setup_docdir 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` + prune_symlink $P/usr/src + for i in Documentation arch/arm/boot/dts \ + arch/arm64/boot/dts{/arm,/broadcom,} \ + include/dt-bindings/input scripts/dtc/include-prefixes \ + tools/testing/selftests/powerpc/{copyloops,primitives{/asm,}} \ + tools/testing/selftests/powerpc/{stringloops,vphn{/asm,}} ; do + TZ=UTC touch -t `date -u '+%m%d0000'` $P/usr/src/$src/$i + done + tar cvpf $pkg.tar -C $P `cd $P ; find usr/src -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find sbin | tail -n+2` 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 --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/99_test/gcc_all/PlamoBuild.gcc_all-4.8.5 2017-10-15 19:55:48.000000000 +0900 @@ -1,19 +1,24 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gcc_all +vers=4.8.5 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P4 +src=gcc-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-werror --disable-multilib --enable-install-libiberty + --enable-__cxa_atexit --enable-threads=posix --enable-shared + --enable-languages=c,c++,fortran,go --enable-gnu-unique-object + --enable-linker-build-id --enable-plugin --with-system-zlib + --with-linker-hash-style=gnu --enable-clocale=gnu --disable-libstdcxx-pch" +DOCS="COPYING ChangeLog ABOUT-NLS NEWS COPYING3.LIB ChangeLog.tree-ssa + COPYING3 COPYING.RUNTIME README COPYING.LIB MAINTAINERS" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -42,7 +47,10 @@ 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]} \ + --libexecdir=/usr/$libdir \ + --build=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` \ + --host=$arch-pc-linux-gnu`[ $arch == armv7l ] && echo eabi` fi done fi @@ -65,16 +73,48 @@ make install DESTDIR=$P fi done + ln -s gcc $P/usr/bin/cc + install -d $P/$libdir + ln -s /usr/bin/cpp $P/$libdir + mv $P/usr/$libdir/lib{iberty.a,gcc_s.so{.1,}} $C + mv $C/lib{iberty.a,gcc_s.so{.1,}} $P/usr/$libdir + gcclibdir=$P/usr/$libdir/gcc/$arch-pc-linux-gnu + gcclibdir+=`[ $arch == armv7l ] && echo eabi`/$vers + chown -R root.root $gcclibdir/include{,-fixed} + touch $gcclibdir/include/*.h + find $gcclibdir/include-fixed -exec touch {} \; touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_bindir $gcclibdir/install-tools + for i in cc1 cc1plus f951 go1 lto1 collect2 lto-wrapper ; do + echo "$i" + echo "stripping $i with -p" + strip -p $gcclibdir/$i + done + strip_bindir $gcclibdir/plugin + strip_libdir $gcclibdir setup_docdir convert_links + touch -t `date '+%m%d0900'` $gcclibdir{/install-tools,,/plugin} + install -d $P/usr/share/gdb/auto-load/usr/$libdir + mv $P/usr/$libdir/libstdc++.so.*-gdb.py \ + $P/usr/share/gdb/auto-load/usr/$libdir tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find $libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gdb/auto-load/usr/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/c++ + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/gcc-$vers + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/info | 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/man7 | 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 cleanup --- admin/PlamoBuild-template-20180815 2018-08-15 16:18:50.000000000 +0900 +++ plamo/99_test/installer/PlamoBuild.installer-6.2 2020-04-28 11:00:22.000000000 +0900 @@ -1,19 +1,106 @@ -#!/bin/sh +#!/bin/sh -x ###################################################################### -url="" +url="https://www.busybox.net/downloads/busybox-1.25.1.tar.bz2 + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/99_test/installer/busybox-1.25.1-config + ftp://invisible-island.net/dialog/dialog-1.3-20160828.tgz + http://ftp.gnu.org/gnu/coreutils/coreutils-8.25.tar.xz + http://ftp.gnu.org/gnu/gzip/gzip-1.8.tar.gz + http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz + http://tukaani.org/xz/xz-5.2.2.tar.xz + http://ftp.gnu.org/gnu/tar/tar-1.26.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/tar/tar-1.23-tartime.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/tar/tar-1.23-txz.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/tar/tar-1.26-no-gets.patch.gz + http://vdlinux.sourceforge.jp/dists/UNICON/unicon-tools-0.0.0.20050707.tar.gz + https://www.kernel.org/pub/linux/utils/kbd/kbd-1.15.5.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/kbd/kbd-1.15-backspace-1.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/kbd/kbd-1.15-plamo-compat.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/kbd/kbd-1.15.5-revert_loadkeys_analize.patch.gz + https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-175.tar.xz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/udev/udev-175-input-event-codes.patch.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/udev/udev-175-mtd_probe_stdint.patch.gz + http://ftp.gnu.org/gnu/ncurses/ncurses-6.0.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/00_base/ncurses/ncurses-6.0-Charable.patch.gz + http://www.kernel.org/pub/linux/utils/util-linux/v2.28/util-linux-2.28.tar.xz + http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-1.43.3.tar.gz + https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v4.12.1.tar.gz + http://mirror.opencompute.org/onie/dosfstools-3.0.26.tar.xz + https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2016.2.22.tgz + https://github.com/PhantomX/slackbuilds/raw/master/ntfs-3g/patches/ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/99_test/installer/ntfs-3g_ntfsprogs-2016.2.22-libtool.patch + http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-3.2.3.tar.bz2 + ftp://sources.redhat.com/pub/lvm2/releases/LVM2.2.02.90.tgz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/99_test/installer/LVM2.2.02.90-static.patch + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/99_test/installer/installer-plamoinitrd.targz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/99_test/installer/plamo_isolinux.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/99_test/installer/rpi_firmware.tar.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=installer +vers=6.2 arch=`uname -m` build=P1 -src=$pkgbase-$vers -patchfiles="" -OPT_CONFIG="" -DOCS="README" +src[0]=busybox-1.25.1 +src[1]=dialog-1.3-20160828 +src[2]=coreutils-8.25 +src[3]=gzip-1.8 +src[4]=bzip2-1.0.6 +src[5]=xz-5.2.2 +src[6]=tar-1.26 +src[7]=unicon-tools-0.0.0.20050707 +src[8]=kbd-1.15.5 +src[9]=udev-175 +src[10]=ncurses-6.0 +src[11]=util-linux-2.28 +src[12]=e2fsprogs-1.43.3 +src[13]=btrfs-progs-v4.12.1 +src[14]=dosfstools-3.0.26 +src[15]=ntfs-3g_ntfsprogs-2016.2.22 +src[16]=mdadm-3.2.3 +src[17]=LVM2.2.02.90 +patchfiles[6]="`echo tar-1.2{3-{tartime,txz},6-no-gets}.patch.gz`" +patchfiles[8]="`echo kbd-1.15-{backspace-1,plamo-compat}.patch.gz` + kbd-1.15.5-revert_loadkeys_analize.patch.gz" +patchfiles[9]="udev-175-input-event-codes.patch.gz + udev-175-mtd_probe_stdint.patch.gz" +patchfiles[10]="ncurses-6.0-Charable.patch.gz" +patchfiles[15]="ntfs-3g_ntfsprogs-2011.10.9-RC-ntfsck-unsupported-return-0.patch + ntfs-3g_ntfsprogs-2016.2.22-libtool.patch" +patchfiles[17]="LVM2.2.02.90-static.patch" +OPT_CONFIG[1]="--enable-nls --with-ncursesw --enable-widec" +OPT_CONFIG[2]="--enable-no-install-program=chroot,hostid,nice,who,users" +OPT_CONFIG[2]+=",pinky,uptime,stty,df,stdbuf,[,base64,base32,basename,cat" +OPT_CONFIG[2]+=",chcon,chgrp,chmod,chown,cksum,comm,cp,csplit,cut,date,dd" +OPT_CONFIG[2]+=",dir,dircolors,dirname,du,echo,env,expand,expr,factor" +OPT_CONFIG[2]+=",false,fmt,fold,groups,head,id,join,kill,link,ln,logname" +OPT_CONFIG[2]+=",md5sum,mkdir,mkfifo,mknod,mktemp,mv,nl,nproc,nohup,numfmt" +OPT_CONFIG[2]+=",od,pathchk,pr,printenv,printf,ptx,pwd,readlink,realpath" +OPT_CONFIG[2]+=",rm,rmdir,runcon,seq,sha1sum,sha224sum,sha256sum,sha384sum" +OPT_CONFIG[2]+=",sha512sum,shred,shuf,sleep,sort,split,stat,sum,sync,tac" +OPT_CONFIG[2]+=",tail,tee,test,timeout,touch,tr,true,truncate,tsort,tty" +OPT_CONFIG[2]+=",uname,unexpand,uniq,unlink,vdir,wc,whoami,yes --without-gmp" +OPT_CONFIG[9]="--libexecdir=/lib/udev --enable-static + --disable-introspection --enable-rule_generator" +OPT_CONFIG[10]="--without-debug --enable-widec --with-manpage-format=normal + --disable-ext-colors" +OPT_CONFIG[11]="--disable-mount --disable-losetup --disable-mountpoint + --disable-unshare --disable-nsenter --disable-setpriv --disable-eject + --disable-cramfs --disable-bfs --disable-minix --disable-fdformat + --disable-hwclock --disable-cal --disable-logger --disable-switch_root + --disable-pivot_root --disable-kill --disable-last --disable-mesg + --disable-login --disable-sulogin --disable-su --disable-more + --disable-schedutils --disable-wall --enable-write --disable-pylibmount + --without-user --without-python" +OPT_CONFIG[12]="--enable-symlink-install --disable-libuuid --disable-libblkid + --disable-fsck --disable-e2initrd-helper --disable-uuidd" +OPT_CONFIG[13]="--bindir=/sbin" +OPT_CONFIG[15]="--enable-really-static" +OPT_CONFIG[17]="--enable-static_link --enable-applib --enable-cmdlib + --enable-pkgconfig --enable-dmeventd --with-thin=internal" +DOCS="" template=20180815 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -29,6 +116,9 @@ fscheck prepare "$@" +infodir=$P/share/info +mandir=$P/share/man +docdir=. if [ $opt_download -eq 1 ] ; then download_sources fi @@ -37,20 +127,114 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd ${B[0]} + cp -p $W/busybox-1.25.1-config .config + cd ${B[2]} + cp -p po/Makevars{,.orig} + sed -i 's@EXTRA_LOCALE_CATEGORIES@#&@g' po/Makevars + cp -p gnulib-tests/Makefile.in{,.orig} + sed -i -e 's@$(bin_PROGRAMS)@@g' \ + -e 's@$(man1_MANS)@@g' gnulib-tests/Makefile.in + cd ${B[3]} + cp -p Makefile.in{,.orig} + cat <<- "EOF" | patch Makefile.in + 2201c2201 + < ln "$$source" "$$dest" || $(LN_S) "$$source" "$$dest";; \ + --- + > $(LN_S) "$$source" "$$dest";; \ + EOF + cd ${B[4]} + cp -p Makefile{,.orig} + sed -i -e 's@\@$(LIBDIR)@g' -e 's@\@share/&@g' \ + -e '/ln/s@$(PREFIX)/bin/@@' Makefile + cd ${B[10]} + if [ $arch == x86_64 ] ; then + cp -p misc/run_tic.in{,.orig} + sed -i 's@\@lib64@g' misc/run_tic.in + fi + cd ${B[11]} + cp -p configure{,.orig} + cat <<- "EOF" | patch configure + 21751a21752 + > build_blkid=no + 21794a21796 + > build_findfs=no + 23202a23205 + > build_fstrim=no + 23266a23270 + > build_swapon=no + 23887a23892 + > build_mkswap=no + 24073a24079 + > build_getopt=no + 24097a24104 + > build_blockdev=no + 24627a24635 + > build_flock=no + 24890a24899 + > build_renice=no + 24913a24923 + > build_setsid=no + 24936a24947 + > build_readprofile=no + 24979a24991 + > build_dmesg=no + 25135a25148 + > build_blkdiscard=no + 25221a25235 + > build_rtcwake=no + 25264a25279 + > build_setarch=no + 25307a25323 + > build_script=no + 25357a25374 + > build_scriptreplay=no + 25472a25490 + > build_hexdump=no + 25495a25514 + > build_rev=no + EOF + cd ${B[12]} + if [ $arch == x86_64 ] ; then + cp -p configure{,.orig} + sed -i '/^ root_libdir=/s@$libdir@/lib64@g' configure + fi + cp -p misc/mke2fs.conf.in{,.orig} + sed -i 's@,dir_index@@g' misc/mke2fs.conf.in + cd ${B[15]} + cp -p ntfsprogs/Makefile.in{,.orig} + sed -i '/LN_S/s@$(sbindir)/@@g' ntfsprogs/Makefile.in + cp -p src/Makefile.in{,.orig} + sed -i '/LN_S/s@$(rootbindir)@../bin@g' src/Makefile.in + cd ${B[17]} + cp -p daemons/dmeventd/Makefile.in{,.orig} + sed -i 's@$(ELDFLAGS) @@' daemons/dmeventd/Makefile.in for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + ./configure --prefix= --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]} \ + `[ $i -eq 9 ] && echo --with-rootdir=/$libdir` \ + `[ $i -eq 17 ] && echo --with-usrlibdir=/$libdir` fi done fi if [ $opt_build -eq 1 ] ; then for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make + if [ -f [Mm]akefile ] ; then + case $i in + 0|15|17) make ;; + 1) make LIBS="-lncursesw -lm -ldl -static" ;; + 4|10|13|14|16) make LDFLAGS="-ldl -static" ;; + 5) make LIBS="-ldl -all-static" ;; + 9) make LDFLAGS="-ldl -all-static" ;; + 11) make LDFLAGS="-lncursesw -ldl -all-static" \ + REALTIME_LIBS="-lrt -lpthread" ;; + 12) make LDFLAGS="-ldl -static" LIBFUSE="-lfuse -lpthread -ldl" ;; + *) make LIBS="-ldl -static" ;; + esac fi done fi @@ -61,21 +245,153 @@ touch $W/i.st ; sleep 1 for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} - if [ -f Makefile ] ; then - make install DESTDIR=$P + if [ -f [Mm]akefile ] ; then + case $i in + 0) make install CONFIG_PREFIX=$P ;; + 2) make install DESTDIR=$P bin_PROGRAMS="src/ls src/paste" \ + man1_MANS="man/ls.1 man/paste.1" ;; + 4) make install PREFIX=$P LIBDIR=$libdir ;; + 7) make install DESTDIR=$P libdir=$P/share ;; + 11) make -i install DESTDIR=$P ;; + 14) make install DESTDIR=$P PREFIX= ;; + 16) make install DESTDIR=$P MANDIR=/share/man ;; + *) make install DESTDIR=$P ;; + esac fi done + rm $P/linuxrc + ln -s bin/busybox $P/init + touch $P/$libdir/*.a + touch $P/$libdir/pkgconfig/*.pc + touch $P/etc/lvm/lvm.conf + touch $mandir/man[58]/* touch $W/i.et cd $W - TZ=UTC find $P ! -type l -newer i.st ! -newer i.et \ - -exec touch -t `date -u '+%m%d0000'` {} \; + TZ=UTC find $P -newer i.st ! -newer i.et \ + -exec touch -ht `date -u '+%m%d0000'` {} \; compress - setup_docdir - 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 usr/share/doc/$src - TZ=UTC touch -t `date -u '+%m%d0000'` $pkg.tar - xz $pkg.tar ; touch $pkg.tar.xz ; mv $pkg.tar.xz $pkg.txz + TZ=UTC find $mandir -type l -exec touch -ht `date -u '+%m%d0000'` {} \; + strip_bindir $P/libexec + strip_bindir $P/lib/udev + strip_libdir $P/$libdir/device-mapper + gzip_dir $mandir/de/man8 + TZ=UTC touch -t `date -u '+%m%d0000'` $P/{bin,sbin,libexec,lib/udev} \ + $P/$libdir/device-mapper $infodir $mandir/{man[134578],de/man8} + tar xvpzf installer-plamoinitrd.targz -C $P + case $arch in i686) a=x86 ;; armv7l) a=arm ;; *) a=$arch ;; esac + if [ -f ../kernel-*/kernel-*.txz ] ; then + cp -p ../kernel-*/kernel-*.txz . + else + wget ftp://plamo.linet.gr.jp/pub/Plamo-6.x/$a/plamo/00_base/kernel-*.txz + fi + if [ $arch == i686 -o $arch == x86_64 ] ; then + media=DVD + K=$media/isolinux + else + media=SD + K=$media + fi + mkdir -p $K + if [ $media == DVD ] ; then + cp -p /usr/share/syslinux/isolinux.bin $K + cp -p /usr/share/syslinux/{ldlinux,menu,vesamenu,lib{util,com32}}.c32 $K + cp -p plamo_isolinux/{isolinux.cfg,sample.msg,plamo61.lss} $K + chown root.root $K/{isolinux.cfg,sample.msg,plamo61.lss} + mkdir -p $media/EFI/BOOT + if [ $arch == i686 ] ; then + grub-mkimage -p '' -o $media/EFI/BOOT/BOOTIA32.EFI -O i386-efi fat \ + part_msdos iso9660 gzio all_video gfxterm font terminal normal \ + linux echo test search configfile cpuid minicmd + wget -P $media/EFI/BOOT \ + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/99_test/installer/BOOTX64.EFI + else + wget -P $media/EFI/BOOT \ + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/99_test/installer/BOOTIA32.EFI + grub-mkimage -p '' -o $media/EFI/BOOT/BOOTX64.EFI -O x86_64-efi fat \ + part_msdos iso9660 gzio all_video gfxterm font terminal normal \ + linux echo test search configfile cpuid minicmd + fi + cat <<- "EOF" > $media/EFI/BOOT/GRUB.CFG + menuentry "UEFI Plamo Linux install from DVD" { + linux (cd0)/isolinux/vmlinuz root=/dev/ram0 rw nomodeset vga16 unicon=eucjp vt.default_utf8=0 kbd=usbkbd + initrd (cd0)/isolinux/initrd.gz + } + menuentry "UEFI Plamo Linux install from USB DVD" { + linux (hd0)/isolinux/vmlinuz root=/dev/ram0 rw nomodeset vga16 unicon=eucjp vt.default_utf8=0 kbd=usbkbd + initrd (hd0)/isolinux/initrd.gz + } + menuentry "UEFI Plamo Linux install from USB memory" { + linux (hd0,msdos1)/isolinux/vmlinuz root=/dev/ram0 rw nomodeset vga16 unicon=eucjp vt.default_utf8=0 kbd=usbkbd + initrd (hd0,msdos1)/isolinux/initrd.gz + } + menuentry "UEFI Plamo Linux install on VirtualBox" { + linux (hd1)/isolinux/vmlinuz root=/dev/ram0 rw nomodeset vga16 unicon=eucjp vt.default_utf8=0 kbd=usbkbd + initrd (hd1)/isolinux/initrd.gz + } + EOF + TZ=UTC find $media/EFI -exec touch -t `date -u '+%m%d0000'` {} \; + mkdir efiboot + fallocate -l 1440K $K/efiboot.img + /sbin/mkfs -t vfat $K/efiboot.img + mount -o loop $K/efiboot.img efiboot + mkdir -p efiboot/EFI/BOOT + cp -p $media/EFI/BOOT/BOOT{IA32,X64}.EFI efiboot/EFI/BOOT + cat <<- "EOF" > efiboot/EFI/BOOT/GRUB.CFG + menuentry "Plamo Linux install from DVD" { + linux (cd0)/isolinux/vmlinuz root=/dev/ram0 rw unicon=eucjp vt.default_utf8=0 + initrd (cd0)/isolinux/initrd.gz + } + EOF + TZ=UTC find efiboot/EFI -exec touch -t `date -u '+%m%d0000'` {} \; + umount efiboot + TZ=UTC touch -t `date -u '+%m%d0000'` $K/efiboot.img + else + img=plamo-${vers}_${a}_`date '+%y%m%d'`_sd.img + size=2048 ; fallocate -l ${size}M $img + cat <<- EOF | sfdisk $img + 8192,$(((size - 4) * 2048)),c,* + EOF + loop=`losetup -f` + losetup -P $loop $img + /sbin/mkfs -t vfat ${loop}p1 + mount ${loop}p1 $media + cp -R --preserve=timestamps rpi_firmware/. $K + fi + ln -sfn $W/$K $P/boot + tar xvpJf kernel-*.txz -C $P + ln -sfn /mnt/boot $P/boot + touch -hr $P/{cdrom,boot} + TZ=UTC touch -t `date -u '+%m%d0000'` $P/lib{,/modules} + rm -rf $P/{usr,install} + if [ $media == DVD ] ; then + ln -f $K/config{-*,} + ln -f $K/vmlinuz{-*,} + ln -f $K/System.map{-*,} + fi + ( cd $P ; find . | tail -n+2 | cpio -o -H newc | gzip -n ) > $K/initrd.gz + TZ=UTC touch -t `date -u '+%m%d0000'` $K{,/initrd.gz} + for i in plamo contrib Change.Log{,-2011} \ + README.{1ST,EUC,SJIS,GPT} README_GPT.pdf allpkgs.pickle ; do + if [ $media == DVD ] ; then + ln -s /mnt/work/Plamo-6.x/$a/$i $media + else + ( cd /mnt/work/Plamo-6.x/$a + tar cpf - --exclude texlive_texmf_doc*.txz $i ) \ + | ( cd $media ; tar xpof - ) + fi + done + src=$media ; setup_docdir + TZ=UTC touch -t `date -u '+%m%d0000'` $media + false && convert_links + if [ $media == DVD ] ; then + mkisofs -v -f -J -r -b isolinux/isolinux.bin -c isolinux/boot.cat \ + -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot \ + -eltorito-platform efi -eltorito-boot isolinux/efiboot.img \ + -m old -m texlive_texmf_doc*.txz \ + -V plamo-$vers-$a -o plamo-${vers}_${a}_`date '+%y%m%d'`_dvd.iso $media + else + umount $media + losetup -d $loop + fi cleanup fi --- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/99_test/compface/PlamoBuild.compface-1.5.2 2017-07-14 09:21:58.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.xemacs.org/pub/xemacs/aux/compface-1.5.2.tar.gz + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/99_test/compface/compface-1.5.2-DESTDIR.patch.gz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=compface +vers=1.5.2 arch=`uname -m` build=P1 src=$pkgbase-$vers -patchfiles="" +patchfiles="compface-1.5.2-DESTDIR.patch.gz" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -73,8 +74,12 @@ setup_docdir 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/$libdir | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include | 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/man3 | 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 cleanup