Summary: | webapp-config-1.9 variable undeclared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven Wegener <swegener> |
Component: | Current packages | Assignee: | Stuart Herbert (RETIRED) <stuart> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | web-apps |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | webapp-config.patch |
Description
Sven Wegener
2004-05-18 04:35:37 UTC
Run etc-update, and merge in the changes to /etc/vhosts/webapp-config. This variable should be defined in there. Best regards, Stu in /etc/vhosts/webapp-config: MY_HOOKSCRIPTSDIR="${MY_APPDIR}/hooks" in /usr/sbin/webapp-config: for x in `echo ${MY_HOOKSCRIPTDIRS}/*` ; do see the difference? :) I do now ;-( Look out for a -r1 appearing in Portage later this evening. Best regards, Stu cheer up ;) i would replace it with if [ -f "$x" -a -x "$x" ]; then as -e also matches directories and files with aren't +x. i'll test -r1 later and report back. Fixes are in Portage, as -r1. Should appear on your local rsync mirror in about an hour. Please give it a test. Best regards, Stu Stu, you bumped the revision, but the ebuild uses the same tarball as 1.9. Sven Doh. I didn't upload the tarball either ;-) Give it another hour for the rsync mirrors to pick it up, and we'll try again. Best regards, Stu >>> Install webapp-config-1.9-r1 into /var/tmp/portage/webapp-config-1.9-r1/image/ category net-www >>> dosbin: making sbin/webapp-config executable... install: cannot stat `sbin/webapp-config': No such file or directory cp: cannot stat `lib/*': No such file or directory cp: cannot stat `config/webapp-config': No such file or directory /usr/lib/portage/bin/dodoc: examples/phpmyadmin-2.5.4-r1.ebuild does not exist. /usr/lib/portage/bin/dodoc: AUTHORS.txt does not exist. /usr/lib/portage/bin/dodoc: README.txt does not exist. /usr/lib/portage/bin/dodoc: TODO.txt does not exist. /usr/lib/portage/bin/dodoc: CHANGES.txt does not exist. /usr/lib/portage/bin/dodoc: examples/postinstall-en.txt does not exist. doman: doc/webapp-config.5 does not exist. doman: doc/webapp-config.8 does not exist. doman: doc/webapp.eclass.5 does not exist. man: prepallstrip: strip: >>> Completed installing into /var/tmp/portage/webapp-config-1.9-r1/image/ >>> Merging net-www/webapp-config-1.9-r1 to / --- /etc/ --- /etc/vhosts/ --- /usr/ --- /usr/lib/ --- /usr/lib/webapp-config/ --- /usr/sbin/ --- /usr/share/ --- /usr/share/webapps/ >>> Safely unmerging already-installed instance... should be S=${WORKDIR}/${PF} for this one ;) Created attachment 31696 [details, diff]
webapp-config.patch
-f implies -e and as we're going to execute that file we should check
that is executeable.
so, bugs.g.o is back again. :) -r2 works for me as expected, i'll close this one |