Browse Source

Benjamin Schieder <blindcoder@scavenger.homeip.net>:

added upx


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2323 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Benjamin Schieder 21 years ago
parent
commit
6ef49da14f
3 changed files with 82 additions and 0 deletions
  1. +22
    -0
      package/blindcoder/upx/ugly-fixes.patch
  2. +15
    -0
      package/blindcoder/upx/upx.conf
  3. +45
    -0
      package/blindcoder/upx/upx.desc

+ 22
- 0
package/blindcoder/upx/ugly-fixes.patch

@ -0,0 +1,22 @@
--- src/Makefile 2002-10-28 11:43:34.000000000 +0100
+++ src/Makefile 2004-01-29 10:09:19.000000000 +0100
@@ -104,8 +104,8 @@
a = .a
e =
-CC = gcc
-DEFS =
+CC = g++
+DEFS = -DWITH_UCL
INCLUDES =
##INCLUDES = -I. -I$(srcdir)
CFLAGS_OUTPUT = -o $@
@@ -153,7 +153,7 @@
LDFLAGS = -s
endif
LDFLAGS += -Wl,-Map,$T.map
-LDLIBS =
+LDLIBS = -lucl
LIBDIRS =
DOS_LDLIBS =
DOS_LIBDIRS =

+ 15
- 0
package/blindcoder/upx/upx.conf

@ -0,0 +1,15 @@
upx_pi() {
install -m 755 upx $bindir/upx
cd ../doc
make
install -m 644 upx.1 $mandir/man1/upx.1
}
srcdir="upx-$ver/src"
var_append makeopt " " "target=linux"
# no install target
makeinstopt=""
hook_add postmake 3 "upx_pi"

+ 45
- 0
package/blindcoder/upx/upx.desc

@ -0,0 +1,45 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/blindcoder/upx/upx.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] powerful executable packer
[T] UPX is a portable, extendable, high-performance executable packer for
[T] several different executable formats. It achieves an excellent compression
[T] ratio and offers very fast decompression. Your executables suffer no
[T] memory overhead or other drawbacks. UPX supports vmlinuz/386,
[T] linux/elf386, linux/386, win32/pe, dos/exe, djgpp2/coff, and many more.
[U] http://upx.sourceforge.net/
[A] Markus F.X.J. Oberhumer <markus@oberhumer.com>
[M] Benjamin Schieder <blindcoder@scavenger.homeip.net>
[C] extra/tool
[L] GPL
[S] Beta
[V] 1.24
[P] X -----5---9 800.000
[D] 3246926119 upx-1.24-src.tar.gz http://upx.sourceforge.net/download/

Loading…
Cancel
Save