#!/bin/sh # # $FreeBSD$ # PATH=/bin:/usr/bin:/usr/sbin pkgname=$1 squid_base=${PKG_PREFIX:-/usr/local}/squid squid_confdir=${PKG_PREFIX:-/usr/local}/etc/squid squid_user=${SQUID_UID:=squid} squid_group=${SQUID_GID:=squid} squid_gid=3128 squid_uid=3128 case $2 in PRE-INSTALL) echo "===> Pre-installation configuration for ${pkgname}" if ! pw groupshow ${squid_group} -q >/dev/null ; then while pw groupshow -g ${squid_gid} -q >/dev/null; do squid_gid=`expr ${squid_gid} + 1` done echo "There is no group '${squid_group}' on this system, so I will try to create it:" if ! pw groupadd ${squid_group} -g ${squid_gid} -q ; then echo "Failed to create group \"${squid_group}\"!" >&2 echo "Please create it manually." >&2 exit 1 else echo "Group '${squid_group}' created successfully:" fi else echo "I will use the existing group '${squid_group}':" fi pw groupshow ${squid_group} if ! pw usershow ${squid_user} -q >/dev/null ; then while pw usershow -u ${squid_uid} -q >/dev/null; do squid_uid=`expr ${squid_uid} + 1` done echo "There is no account '${squid_user}' on this system, so I will try to create it:" if ! pw useradd ${squid_user} -u ${squid_uid} -q \ -c "squid caching-proxy pseudo user" -g ${squid_group} \ -d "${squid_base}" -s "/sbin/nologin" -h - ; then echo "Failed to create user '${squid_user}'!" >&2 echo "Please create it manually." >&2 exit 1 else echo "User '${squid_user}' created successfully:" fi else echo "I will use the existing user '${squid_user}':" fi pw usershow ${squid_user} for dir in cache logs; do if [ ! -d ${squid_base}/${dir} ]; then echo "Creating ${squid_base}/${dir}..." install -d -o ${squid_user} -g ${squid_group} \ -m 0750 ${squid_base}/${dir} fi done if [ ! -d ${squid_confdir} ]; then echo "Creating ${squid_confdir}..." install -d -o root -g ${squid_group} \ -m 0750 ${squid_confdir} fi ;; POST-INSTALL) for file in mime.conf squid.conf; do if [ ! -f ${squid_confdir}/${file} \ -a -f ${squid_confdir}/${file}.default ]; then echo "Creating ${file} from default..." install -c -o root -g ${squid_group} -m 0640 \ ${squid_confdir}/${file}.default ${squid_confdir}/${file} fi done echo "===> Post-installation informations for ${pkgname}" echo "" echo " o You can find the configuration files for this package" echo " in the directory ${squid_confdir}." echo "" echo " o A cache directory has been created in ${squid_base}/cache." echo " Log files will be written to ${squid_base}/logs." echo "" echo " o The default configuration will deny everyone access to the" echo " proxy service. Edit the \"http_access\" directives in" echo " ${squid_confdir}/squid.conf to suit your needs." echo "" echo " o If you never ran squid on this system before, you need to" echo " initialize the cache directory by running \"squid -z\"" echo " as 'root' or '${squid_user}' before starting squid." echo "" tput md echo " *** UPDATE NOTICE ***" echo "" echo " Starting with version 2.5.4_6, all helper applications are" echo " installed to ${PKG_PREFIX}/libexec/squid instead of" echo " ${PKG_PREFIX}/libexec." echo " Please check your squid.conf and update it if necessary." tput me echo "" ;; *) exit 64 ;; esac exit 0 > FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
ModeNameSize
d---------2mandvd178logstatsplain
-rw-r--r--Makefile11102logstatsplainblame
d---------ab25109logstatsplain
d---------abby109logstatsplain
d---------acidrip178logstatsplain
d---------aegisub178logstatsplain
d---------arista146logstatsplain
d---------asdcplib178logstatsplain
d---------assimp146logstatsplain
d---------atomicparsley141logstatsplain
d---------audacious-plugins146logstatsplain
d---------audacious217logstatsplain
d---------audiopreview109logstatsplain
d---------avbin141logstatsplain
d---------avidemux2-plugins73logstatsplain
d---------avidemux2221logstatsplain
d---------avinfo109logstatsplain
d---------bangarang185logstatsplain
d---------banshee178logstatsplain
d---------beep-media-player217logstatsplain
d---------bino146logstatsplain
d---------bmp-extra-plugins178logstatsplain
d---------bombono178logstatsplain
d---------bsdbktr_tvtune109logstatsplain
d---------camserv178logstatsplain
d---------castpodder178logstatsplain
d---------cclive109logstatsplain
d---------cheese178logstatsplain
d---------clipgrab109logstatsplain
d---------clive109logstatsplain
d---------clive1146logstatsplain
d---------clutter-gst146logstatsplain
d---------cuse4bsd-kmod146logstatsplain
d---------cx88146logstatsplain
d---------deforaos-player146logstatsplain
d---------devede178logstatsplain
d---------dirac146logstatsplain
d---------dragon185logstatsplain
d---------dtv178logstatsplain
d---------dumpmpeg109logstatsplain
d---------dv2jpg178logstatsplain
d---------dv2sub109logstatsplain
d---------dvbcut141logstatsplain
d---------dvbsnoop141logstatsplain
d---------dvd-slideshow178logstatsplain
d---------dvdauthor178logstatsplain
d---------dvdauthorwizard146logstatsplain
d---------dvdid146logstatsplain
d---------dvdrip178logstatsplain
d---------dvdstyler178logstatsplain
d---------dvts178logstatsplain
d---------emotion146logstatsplain
d---------emovix178logstatsplain
d---------ffmpeg-devel178logstatsplain
d---------ffmpeg178logstatsplain
d---------ffmpeg1178logstatsplain
d---------ffmpeg2theora141logstatsplain
d---------ffmpegthumbnailer178logstatsplain
d---------flvmeta109logstatsplain
d---------flvstreamer141logstatsplain
d---------flvtool++141logstatsplain
d---------fpc-dts105logstatsplain
d---------fpc-matroska73logstatsplain
d---------freetuxtv178logstatsplain
d---------freevo178logstatsplain
d---------fxtv178logstatsplain
d---------gaupol146logstatsplain
d---------gavl178logstatsplain
d---------gcap109logstatsplain
d---------gcfilms146logstatsplain
d---------gdialog178logstatsplain
d---------gdvrecv146logstatsplain
d---------ggrab141logstatsplain
d---------gmencoder178logstatsplain
d---------gmerlin-avdecoder178logstatsplain
d---------gmerlin178logstatsplain
d---------gmimms109logstatsplain
d---------gmtk146logstatsplain
d---------gnome-mplayer146logstatsplain
d---------gnome-subtitles178logstatsplain
d---------gopchop178logstatsplain
d---------gpac-libgpac178logstatsplain
d---------gpac-mp4box141logstatsplain
d---------gpodder146logstatsplain
d---------grake109logstatsplain
d---------grpplaylist178logstatsplain
d---------gst123109logstatsplain
d---------gstreamer-ffmpeg146logstatsplain
d---------gstreamer-plugins-all73logstatsplain
d---------gstreamer-plugins-annodex36logstatsplain
d---------gstreamer-plugins-bad105logstatsplain
d---------gstreamer-plugins-buzztard146logstatsplain
d---------gstreamer-plugins-bz236logstatsplain
d---------gstreamer-plugins-core73logstatsplain
d---------gstreamer-plugins-dts36logstatsplain
d---------gstreamer-plugins-dv36logstatsplain
d---------gstreamer-plugins-dvd36logstatsplain
d---------gstreamer-plugins-fluendo-mpegdemux109logstatsplain
d---------gstreamer-plugins-gnonlin109logstatsplain
d---------gstreamer-plugins-good105logstatsplain
d---------gstreamer-plugins-mpeg2dec36logstatsplain
d---------gstreamer-plugins-mpeg2enc36logstatsplain
d---------gstreamer-plugins-resindvd36logstatsplain
d---------gstreamer-plugins-schroedinger36logstatsplain
d---------gstreamer-plugins-theora36logstatsplain
d---------gstreamer-plugins-ugly105logstatsplain
d---------gstreamer-plugins-v4l236logstatsplain
d---------gstreamer-plugins-vdpau36logstatsplain
d---------gstreamer-plugins-vp836logstatsplain
d---------gstreamer-plugins-x26436logstatsplain
d---------gstreamer-plugins-xvid36logstatsplain
d---------gstreamer-plugins221logstatsplain
d---------gstreamer-qt4146logstatsplain
d---------gstreamer178logstatsplain
d---------gstreamer1-libav146logstatsplain
d---------gstreamer1-plugins-all73logstatsplain
d---------gstreamer1-plugins-assrender36logstatsplain
d---------gstreamer1-plugins-bad73logstatsplain
d---------gstreamer1-plugins-core73logstatsplain
d---------gstreamer1-plugins-dts36logstatsplain
d---------gstreamer1-plugins-dv36logstatsplain
d---------gstreamer1-plugins-dvdread36logstatsplain
d---------gstreamer1-plugins-good105logstatsplain
d---------gstreamer1-plugins-mpeg2dec36logstatsplain
d---------gstreamer1-plugins-mpeg2enc36logstatsplain
d---------gstreamer1-plugins-resindvd36logstatsplain
d---------gstreamer1-plugins-rtmp36logstatsplain
d---------gstreamer1-plugins-schroedinger36logstatsplain
d---------gstreamer1-plugins-theora36logstatsplain
d---------gstreamer1-plugins-ugly73logstatsplain
d---------gstreamer1-plugins-v4l236logstatsplain
d---------gstreamer1-plugins-vpx36logstatsplain
d---------gstreamer1-plugins-x26436logstatsplain
d---------gstreamer1-plugins221logstatsplain
d---------gstreamer1178logstatsplain
d---------gstreamermm146logstatsplain
d---------gsubedit146logstatsplain
d---------gtk-recordmydesktop146logstatsplain
d---------gtk-youtube-viewer146logstatsplain
d---------gxanim141logstatsplain
d---------gxine178logstatsplain
d---------gxmms178logstatsplain
d---------handbrake141logstatsplain
d---------hs-gstreamer109logstatsplain
d---------imagination178logstatsplain
d---------iriverter146logstatsplain
d---------iso2mkv109logstatsplain
d---------jmref141logstatsplain
d---------k9copy-kde4178logstatsplain
d---------k9copy178logstatsplain
d---------kaffeine178logstatsplain
d---------kdemultimedia3217logstatsplain
d---------kdemultimedia4-ffmpegthumbs178logstatsplain
d---------kdemultimedia4-mplayerthumbs146logstatsplain
d---------kdemultimedia473logstatsplain
d---------kdenlive146logstatsplain
d---------kino178logstatsplain
d---------kissdx141logstatsplain
d---------kmenc15141logstatsplain
d---------kmplayer-kde4146logstatsplain
d---------kmplayer178logstatsplain
d---------konverter178logstatsplain
d---------kplayer-kde4178logstatsplain
d---------kplayer178logstatsplain
d---------ksubeditor146logstatsplain
d---------libaacs146logstatsplain
d---------libass146logstatsplain
d---------libbluray146logstatsplain
d---------libcec178logstatsplain
d---------libdc1394146logstatsplain
d---------libdca146logstatsplain
d---------libdv178logstatsplain
d---------libdvbpsi146logstatsplain
d---------libdvdcss146logstatsplain
d---------libdvdnav178logstatsplain
d---------libdvdread178logstatsplain
d---------libfame178logstatsplain
d---------libkate146logstatsplain
d---------libmatroska178logstatsplain
d---------libmovtar178logstatsplain
d---------libmpeg2178logstatsplain
d---------libmpeg3141logstatsplain
d---------libquicktime-lame146logstatsplain
d---------libquicktime146logstatsplain
d---------libquvi-scripts146logstatsplain
d---------libquvi146logstatsplain
d---------libsmacker109logstatsplain
d---------libtheora178logstatsplain
d---------libtuner146logstatsplain
d---------libv4l178logstatsplain
d---------libva-intel-driver141logstatsplain
d---------libva-vdpau-driver146logstatsplain
d---------libva178logstatsplain
d---------libvdpau146logstatsplain
d---------libvpx178logstatsplain
d---------libxine178logstatsplain
d---------libxspf146logstatsplain
d---------linux-f10-libtheora77logstatsplain
d---------linux-f10-libv4l151logstatsplain
d---------linux-gspca-kmod178logstatsplain
d---------linux-huludesktop178logstatsplain
d---------linux-libtheora77logstatsplain
d---------linux-ov511-kmod178logstatsplain
d---------linux-realplayer178logstatsplain
d---------linux-tsmuxer109logstatsplain
d---------linux-xmovie109logstatsplain
d---------linux_dvbwrapper-kmod105logstatsplain
d---------linux_v4l2wrapper-kmod181logstatsplain
d---------lives178logstatsplain
d---------lsdvd141logstatsplain
d---------lxdvdrip178logstatsplain
d---------m2tstoavi146logstatsplain
d---------m2vrequantiser141logstatsplain
d---------mandvd109logstatsplain
d---------mediadownloader109logstatsplain
d---------mediainfo109logstatsplain
d---------mencoder146logstatsplain
d---------mimms146logstatsplain
d---------minitube178logstatsplain
d---------miro178logstatsplain
d---------mjpegtools178logstatsplain
d---------mkclean141logstatsplain
d---------mkvalidator141logstatsplain
d---------mkvtoolnix178logstatsplain
d---------mkxvcd109logstatsplain
d---------mlt146logstatsplain
d---------mmpython178logstatsplain
d---------mmsclient141logstatsplain
d---------mmsrip109logstatsplain
d---------motion178logstatsplain
d---------mp3cd146logstatsplain
d---------mp4split109logstatsplain
d---------mp4v2178logstatsplain
d---------mpeg2codec141logstatsplain
d---------mpeg2play178logstatsplain
d---------mpeg4ip178logstatsplain
d---------mpeg_encode178logstatsplain
d---------mpeg_play141logstatsplain
d---------mpeg_stat178logstatsplain
d---------mpgtx178logstatsplain
d---------mplayer-fonts146logstatsplain
d---------mplayer-skins232logstatsplain
d---------mplayer265logstatsplain
d---------mplayer2178logstatsplain
d---------mplayerxp178logstatsplain
d---------mplex141logstatsplain
d---------msdl141logstatsplain
d---------mxflib146logstatsplain
d---------mythtv-frontend178logstatsplain
d---------mythtv178logstatsplain
d---------noatun-plugins146logstatsplain
d---------nxtvepg178logstatsplain
d---------oggvideotools146logstatsplain
d---------ogmrip185logstatsplain
d---------ogmtools146logstatsplain
d---------opencinematools141logstatsplain
d---------openmovieeditor178logstatsplain
d---------openquicktime217logstatsplain
d---------openshot178logstatsplain
d---------oqtencoder109logstatsplain
d---------oqtplayer109logstatsplain
d---------p5-Audio-M4P146logstatsplain
d---------p5-FFmpeg-Command146logstatsplain
d---------p5-FLV-Info146logstatsplain
d---------p5-File-Format-RIFF146logstatsplain
d---------p5-GStreamer146logstatsplain
d---------p5-MP4-Info146logstatsplain
d---------p5-Net-UPnP146logstatsplain
d---------p5-Subtitles146logstatsplain
d---------p5-Umph-Prompt146logstatsplain
d---------p5-Video-Info146logstatsplain
d---------p5-Video-OpenQuicktime146logstatsplain
d---------phonon-gstreamer178logstatsplain
d---------phonon-vlc146logstatsplain
d---------phonon-xine178logstatsplain
d---------phonon185logstatsplain
d---------photofilmstrip178logstatsplain
d---------pitivi146logstatsplain
d---------playd109logstatsplain
d---------podcastdl109logstatsplain
d---------podcatcher109logstatsplain
d---------poe146logstatsplain
d---------ppm2fli146logstatsplain
d---------projectx178logstatsplain
d---------ptx-kmod141logstatsplain
d---------pvr250178logstatsplain
d---------pvrxxx217logstatsplain
d---------pwcbsd217logstatsplain
d---------pwcview178logstatsplain
d---------py-enzyme109logstatsplain
d---------py-gstreamer146logstatsplain
d---------py-guessit146logstatsplain
d---------py-kaa-base178logstatsplain
d---------py-kaa-imlib2146logstatsplain
d---------py-kaa-metadata178logstatsplain
d---------py-mlt73logstatsplain
d---------py-openlp146logstatsplain
d---------py-periscope146logstatsplain
d---------py-pybmp178logstatsplain
d---------py-qt4-multimedia110logstatsplain
d---------py-qt4-phonon110logstatsplain
d---------py-subliminal141logstatsplain
d---------py-tvnamer109logstatsplain
d---------pyjama146logstatsplain
d---------pymp146logstatsplain
d---------qdvdauthor141logstatsplain
d---------qmmp-plugin-pack178logstatsplain
d---------qmmp178logstatsplain
d---------qt-faststart105logstatsplain