Server IP : 103.119.228.120 / Your IP : 18.116.52.43 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/share/zsh/5.0.2/functions/ |
Upload File : |
#compdef portmaster _portmaster_pkgs() { compadd "$@" - ${PKG_DBDIR:-/var/db/pkg}/*(/:t) } _portmaster_ports() { local ret=1 _fbsd_ports _fbsd_cat _fbsd_cat=(${PORTSDIR:-/usr/ports}/[a-z]*(/:t)) if [[ $PREFIX != */* ]] ; then _wanted cat_packages expl 'category/ports' compadd -S '/' $_fbsd_cat else compset -P '*/' _fbsd_ports=(${PORTSDIR:-/usr/ports}/$IPREFIX/*(/:t)) _wanted cat_packages expl 'category/ports' compadd $_fbsd_ports fi return ret } _portmaster_pkgs_and_ports() { local ret=1 _portmaster_pkgs && ret=0 _portmaster_ports && ret=0 return ret } _portmaster() { local specific_args common_args expunge_args standalone_args kid standalone_args=( '--clean-distfiles[delete distfiles not associated with an installed ports: interactive]' '--clean-distfiles-all[delete distfiles not associated with an installed ports]' '--check-depends[cross-check and update dependency information for all ports]' '--check-port-dbdir[check for stale entries in /var/db/ports]' '--list-origins[list directories from /usr/ports for root and leaf ports]' '-l[list all installed ports by category]' '-L[list all installed ports by category, and search for updates]' {'(-help)-h','(-h)--help'}'[display help message]:' '--version[display the version only]:' ) specific_args=( '(-s -r -o)-e[expunge port using pkg_delete, and remove all distfiles]:name of port:_portmaster_pkgs' '(-e -r -o)-s[clean out stale ports that used to be depended on]' '(-e -s -o)-r[rebuild the specified port, and all ports that depend on it]:name/glob of port:_portmaster_pkgs' '(-e -s -r)-o[replace the installed port with a port from a different origin]:new port dir:_portmaster_ports' ) expunge_args=( '(-b)-B[prevents creation of the backup package for the installed port]' '(-d)-D[no cleaning of distfiles]' '(-D)-d[always clean distfiles]' ) common_args=( "(-G)--force-config[run 'make config' for all ports]" "-C[prevents 'make clean' from being run before building]" '-H[hide details of the port build and install in a log file]' "-K[prevents 'make clean' from being run after building]" '(-B)-b[create and keep a backup package of an installed port]' '-g[create a package of the new port]' '-n[run through configure, but do not make or install any ports]' '-t[recurse dependencies thoroughly, using all-depends-list]' '-v[verbose output]' '-w[save old shared libraries before deinstall]' '-u[unattended mode]' '(-i)-f[always rebuild ports]' '(-f)-i[interactive update mode]' '-m[any arguments to supply to make]:arguments for make:' '-x[avoid building or updating ports that match this pattern]:glob pattern to exclude from building:' '-p[specify the full path to a port directory]:a port directory:' '--show-work[show what dependent ports are, and are not installed]' '-R[restart an update, skipping ports already up to date]' '-a[check all ports, update as necessary]' '-F[fetch distfiles only]' $expunge_args $specific_args ) if (( CURRENT == 2 ));then _arguments -s \ $standalone_args \ $common_args \ '*:packages and ports:_portmaster_pkgs_and_ports' else case "$words[2]" in --clean-distfiles|--clean-distfiles-all|--check-depends|--check-port-dbdir|--version|-help|-h) return 0 ;; *) if (( $words[(I)-(e|r)] ));then _arguments -s \ '*:packages:_portmaster_pkgs' elif (( kid=$words[(I)-o] ));then if (( CURRENT == $kid + 1 ));then _arguments -s \ '*:ports replacing:_portmaster_ports' elif (( CURRENT == $kid + 2 )); then _arguments -s \ '*:package to replace:_portmaster_pkgs' else return 0 fi elif (( $words[(I)-s] ));then return 0 else _arguments -s \ $common_args \ '*:packages and ports:_portmaster_pkgs_and_ports' fi ;; esac fi } _portmaster "$@"