You are not logged in.

#1 2006-12-28 11:05:59

Kamu
Member
Registered: 2006-12-28
Posts: 3

Help needed on tor package

Hi all,

I am trying to make a package for the latest alpha tor release.
How ever, the make install is putting binaries and config files in weird locations.

[russ@slave tor-0.1.2.4-alpha]$ ./configure --prefix=/home/russ/pkgs/sandbox
<snip>
[russ@slave tor-0.1.2.4-alpha]$ make
<snip>
[russ@slave tor-0.1.2.4-alpha]$ make prefix=/home/russ/pkgs/sandbox/usr install
<snip>
[russ@slave tor-0.1.2.4-alpha]$ cd /home/russ/pkgs/sandbox/
[russ@slave sandbox]$ tree
.
|-- bin
|   |-- tor
|   |-- tor-resolve
|   `-- torify
`-- usr
    |-- etc
    |   `-- tor
    |       |-- tor-tsocks.conf
    |       `-- torrc.sample
    `-- man
        `-- man1
            |-- tor-resolve.1
            |-- tor.1
            `-- torify.1

If this was done using makepkg, the bin/ dir would have gone to the /usr dir straight away, wouldn't it? Is this because the make install script is not obeying the "make install"'s prefix option?

EDIT: I tried passing --prefix=/usr to configure, making, then make prefix=/home/russ/pkgs/sandbox/usr install and it wants to put that bin directory straight away into /usr. How can I fix this?

Also how do I fix it so that the usr/etc/ dir will eventually be the /etc dir when it is properly installed? Or will it turn out alright anyway?

Thanks.

Kamu

Offline

#2 2006-12-28 12:08:11

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Help needed on tor package

Maybe configuring normal looking in the Makefile if you can specify a DESTDIR for make install...

Otherwhise, specify the directories as needed by the makefile, as prefix, bindir or whatever the makefile takes on options.

[edit]
have a package, going to place it in aur as orphan
http://aur.archlinux.org/packages.php?d … s=0&SeB=nd

orphan already, can take it if you want to maintain / bugfix it. I don't know if it's working as intended, that's why i also orphaned it.


Ability is nothing without opportunity.

Offline

Board footer

Powered by FluxBB