Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45830 - Incorrect ebuild for jabberd
Summary: Incorrect ebuild for jabberd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 12:05 UTC by Antonio
Modified: 2004-03-27 13:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Correct ebuild (jabberd-1.4.3-r1.ebuild,4.99 KB, text/plain)
2004-03-26 12:06 UTC, Antonio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-03-26 12:05:52 UTC
There are this problem in ebuild jabberd-1.4.3-r1.ebuild:

.........
dodir /var/spool/jabber
keepdir ${D}/var/spool/jabber/
keepdir ${D}/var/log/jabber/
dodir /var/run
........

i have correct in:

..........
dodir /var/spool/jabber
keepdir /var/spool/jabber
keepdir /var/log/jabber
dodir /var/run
............

and:

.............
fperms g+rw /etc/jabber
fperms g+rw /usr/sbin/jabberd
fperms g+rw /var/spool/jabber
fperms g+rw /var/spool/jabber/error.log
fperms g+rw /var/spool/jabber/record.log
fperms g+rw /var/log/jabber
fperms u+xs /usr/sbin/jabberd
.............

i have correct in:

...........
fperms g+rw /etc/jabber
fperms g+rw /usr/sbin/jabberd
fperms g+rw /var/log/jabber
fperms g+rw /var/log/jabber/error.log
fperms g+rw /var/log/jabber/record.log
fperms g+rw /var/spool/jabber
fperms u+xs /usr/sbin/jabberd
...........

Append the correct ebuild.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Antonio 2004-03-26 12:06:38 UTC
Created attachment 28096 [details]
Correct ebuild

This is the correct ebuild
Comment 2 Gustavo Felisberto (RETIRED) gentoo-dev 2004-03-27 13:03:51 UTC
What problems did you get with 
keepdir ${D}/var/spool/jabber/
keepdir ${D}/var/log/jabber/
?
The other corrections i can see the problem and i will be fixing them in -r2 now.
Comment 3 Antonio 2004-03-27 13:20:06 UTC
With 

keepdir ${D}/var/spool/jabber/
keepdir ${D}/var/log/jabber/

i have this image

.
|-- etc
|   |-- init.d
|   |   `-- jabber
|   `-- jabber
|       |-- multiple.xml
|       `-- self-cert.sh
|-- usr
|   |-- include
|   |   `-- jabberd
|   |       |-- jabberd.h
|   |       |-- lib
|   |       |   |-- asciitab.h
|   |       |   |-- hashtable.h
|   |       |   |-- iasciitab.h
|   |       |   |-- latin1tab.h
|   |       |   |-- lib.h
|   |       |   |-- nametab.h
|   |       |   |-- utf8tab.h
|   |       |   |-- xmldef.h
|   |       |   |-- xmlparse.h
|   |       |   |-- xmlrole.h
|   |       |   |-- xmltok.h
|   |       |   `-- xmltok_impl.h
|   |       `-- single.h
|   |-- lib
|   |   `-- jabberd
|   |       |-- dialback.so
|   |       |-- dnsrv.so
|   |       |-- jsm.so
|   |       |-- platform-settings
|   |       |-- pthsock_client.so
|   |       `-- xdb_file.so
|   |-- sbin
|   |   `-- jabberd
|   `-- share
|       `-- doc
|           `-- jabberd-1.4.3-r1
|               |-- README.Gentoo.gz
|               |-- README.gz
|               `-- UPGRADE.gz
`-- var
    |-- log
    |   `-- jabber
    |       |-- error.log
    |       `-- record.log
    |-- run
    |-- spool
    |   `-- jabber
    `-- tmp
        `-- portage
            `-- jabberd-1.4.3-r1
                `-- image
                    `-- var
                        |-- log
                        |   `-- jabber
                        `-- spool
                            `-- jabber

28 directories, 29 files

The /var/tmp/portage is bad
Comment 4 Antonio 2004-03-27 13:22:05 UTC
With my ebuild:

.
|-- etc
|   |-- init.d
|   |   `-- jabber
|   `-- jabber
|       |-- multiple.xml
|       `-- self-cert.sh
|-- usr
|   |-- include
|   |   `-- jabberd
|   |       |-- jabberd.h
|   |       |-- lib
|   |       |   |-- asciitab.h
|   |       |   |-- hashtable.h
|   |       |   |-- iasciitab.h
|   |       |   |-- latin1tab.h
|   |       |   |-- lib.h
|   |       |   |-- nametab.h
|   |       |   |-- utf8tab.h
|   |       |   |-- xmldef.h
|   |       |   |-- xmlparse.h
|   |       |   |-- xmlrole.h
|   |       |   |-- xmltok.h
|   |       |   `-- xmltok_impl.h
|   |       `-- single.h
|   |-- lib
|   |   `-- jabberd
|   |       |-- dialback.so
|   |       |-- dnsrv.so
|   |       |-- jsm.so
|   |       |-- platform-settings
|   |       |-- pthsock_client.so
|   |       `-- xdb_file.so
|   |-- sbin
|   |   `-- jabberd
|   `-- share
|       `-- doc
|           `-- jabberd-1.4.3-r1
|               |-- README.Gentoo.gz
|               |-- README.gz
|               `-- UPGRADE.gz
`-- var
    |-- log
    |   `-- jabber
    |       |-- error.log
    |       `-- record.log
    |-- run
    `-- spool
        `-- jabber

19 directories, 29 files

This is my image
Comment 5 Gustavo Felisberto (RETIRED) gentoo-dev 2004-03-27 13:39:51 UTC
Ok it was a bug allright. It is corrected in cvs now in -r2. Will update this to stable soon.