[users@httpd] Problems with custom layout and buildpkg.sh
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hello,
I am using the buildpkg.sh script to create a
package on Solaris 9 for http-2.2.3. I want to use a custom layout so
I added the config below to config.layout and changed
the layout variable in build/pkg/buildpkg.sh accordingly
<Layout Custom>
prefix:
/usr/local/apache
exec_prefix:
${prefix}
bindir:
${prefix}/bin
sbindir:
${prefix}/bin
libdir:
${prefix}/lib
libexecdir:
${prefix}/modules
mandir:
${prefix}/man
sysconfdir:
${prefix}/conf
datadir: /data/www
installbuilddir: ${datadir}/build
errordir: ${datadir}/error
iconsdir: ${datadir}/icons
htdocsdir: ${datadir}/html
manualdir: ${datadir}/manual
cgidir:
${datadir}/cgi-bin
includedir:
${prefix}/include/apache
localstatedir:
${datadir}
runtimedir:
${localstatedir}/logs
logfiledir:
${localstatedir}/logs
proxycachedir:
${localstatedir}/proxy
</Layout>
While buildpkg.sh is doing it's thing I see it
creating the directory in the build location...
...
Installing configuration files
mkdir
/var/tmp/svadmin/httpd-root/usr/local/apache/conf
mkdir
/var/tmp/svadmin/httpd-root/usr/local/apache/conf/extra
mkdir
/var/tmp/svadmin/httpd-root/usr/local/apache/conf/original
mkdir
/var/tmp/svadmin/httpd-root/usr/local/apache/conf/original/extra
Installing
HTML documents
mkdir /var/tmp/svadmin/httpd-root/data
mkdir
/var/tmp/svadmin/httpd-root/data/www
mkdir
/var/tmp/svadmin/httpd-root/data/www/html
...
but once the final package is completed and
installed it only creates the prefix directories and does not create any of the
datadir directories. What am I doing wrong?
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]