--- 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