You are not logged in.

#1 2013-10-03 16:31:23

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

[SOLVED] upx question

Since i noticed that makepkg support the executable compression via upx, i have some questions:
1-will it compress just the main executable or the libraries too?
2-will the filesystem buffers contain the compressed data or the decompressed one?

thanks smile

Last edited by kokoko3k (2013-10-04 08:58:41)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2013-10-03 16:41:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] upx question

From makepkg:

        if check_option "upx" "y"; then
                msg2 "$(gettext "Compressing binaries with %s...")" "UPX"
                local binary
                find . -type f -perm -u+w 2>/dev/null | while read binary ; do
                        if [[ $(file -bi "$binary") = *'application/x-executable'* ]]; then
                                upx $UPXFLAGS "$binary" &>/dev/null ||
                                                warning "$(gettext "Could not compress binary : %s")" "${binary/$pkgdir\//}"
                        fi
                done
        fi

I don't understand the second question.

Offline

#3 2013-10-03 17:27:13

nbvcxz
Member
From: Poland
Registered: 2007-12-29
Posts: 202

Re: [SOLVED] upx question

http://sourceforge.net/p/upx/discussion … /822f50aa/ probably this is answer for second question


Lenovo G50 | LXQT-git | compton | conky

Offline

#4 2013-10-04 07:48:05

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: [SOLVED] upx question

Both questions were answered, Thank you smile


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2013-10-04 08:13:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] upx question

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#6 2013-10-04 08:58:30

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,481

Re: [SOLVED] upx question

It wasn't really an issue, just curiosity.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB