diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-17 17:07:32 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-17 17:07:32 -0300 |
commit | 87b9cca463a1dbf2b5026c9dc770b5591b2d3fdc (patch) | |
tree | e3d31e01c79dc0e68742716887ed07c5f6a1015e /pcr/samba4 | |
parent | c09bfc90e874607edab8e77d50d9aa15ea145b53 (diff) | |
parent | 35e9f8bc93db9e691bf6d00950956ca3e5d86e83 (diff) |
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts:
community/acpi/PKGBUILD
community/alure/PKGBUILD
community/ario/PKGBUILD
community/cantata/PKGBUILD
community/cgit/PKGBUILD
community/chntpw/PKGBUILD
community/clamz/PKGBUILD
community/deadbeef/PKGBUILD
community/dunst/PKGBUILD
community/erlang/PKGBUILD
community/ettercap/PKGBUILD
community/fcitx-mozc/PKGBUILD
community/gnome-commander/PKGBUILD
community/gq/PKGBUILD
community/gtkimageview/PKGBUILD
community/i3status/PKGBUILD
community/iasl/PKGBUILD
community/krename/PKGBUILD
community/libesmtp/PKGBUILD
community/liblinebreak/PKGBUILD
community/libmilter/PKGBUILD
community/libpaper/PKGBUILD
community/libvirt/PKGBUILD
community/libx86emu/PKGBUILD
community/libxdg-basedir/PKGBUILD
community/lightdm-gtk2-greeter/PKGBUILD
community/lightdm-gtk3-greeter/PKGBUILD
community/lightdm/PKGBUILD
community/luakit/PKGBUILD
community/lxtask/PKGBUILD
community/marisa/PKGBUILD
community/megaglest/PKGBUILD
community/mumble/PKGBUILD
community/opencolorio/PKGBUILD
community/openssh-askpass/PKGBUILD
community/pdf2svg/PKGBUILD
community/pidgin-toobars/PKGBUILD
community/powerdns/PKGBUILD
community/python-numexpr/PKGBUILD
community/python-pybox2d/PKGBUILD
community/python-pytables/PKGBUILD
community/python2-imaging/PKGBUILD
community/python2-pybluez/PKGBUILD
community/remmina/PKGBUILD
community/ruby-gtk2/PKGBUILD
community/ruby-iconv/PKGBUILD
community/scummvm-tools/PKGBUILD
community/shapelib/PKGBUILD
community/sshfs/PKGBUILD
community/subtle/PKGBUILD
community/teeworlds/PKGBUILD
community/uget/PKGBUILD
community/wireshark/PKGBUILD
community/wxcam/PKGBUILD
community/wxgtk2.9/PKGBUILD
community/xchm/PKGBUILD
community/xdelta3/PKGBUILD
community/zynaddsubfx/PKGBUILD
core/gcc/PKGBUILD
core/gcc/gcc_mips64el_lib.patch
core/gdbm/PKGBUILD
core/ldns/PKGBUILD
core/pth/PKGBUILD
core/systemd/PKGBUILD
core/wireless_tools/PKGBUILD
elementary/gtk-engine-equinox/PKGBUILD
elementary/postler/PKGBUILD
elementary/vala-010/PKGBUILD
extra/aubio/PKGBUILD
extra/audacity/PKGBUILD
extra/bc/PKGBUILD
extra/cagibi/PKGBUILD
extra/calligra/PKGBUILD
extra/chmlib/PKGBUILD
extra/clamav/PKGBUILD
extra/clisp/PKGBUILD
extra/crypto++/PKGBUILD
extra/cups/PKGBUILD
extra/dhcp/PKGBUILD
extra/ecore/PKGBUILD
extra/edje/PKGBUILD
extra/eet/PKGBUILD
extra/eeze/PKGBUILD
extra/efreet/PKGBUILD
extra/eina/PKGBUILD
extra/eio/PKGBUILD
extra/embryo/PKGBUILD
extra/emotion/PKGBUILD
extra/enlightenment17/PKGBUILD
extra/ethumb/PKGBUILD
extra/evas/PKGBUILD
extra/festival/PKGBUILD
extra/ffcall/PKGBUILD
extra/ffmpeg/PKGBUILD
extra/git/PKGBUILD
extra/gmetadom/PKGBUILD
extra/gnutls/PKGBUILD
extra/graphviz/PKGBUILD
extra/gstreamer0.10-ugly/PKGBUILD
extra/gtkmathview/PKGBUILD
extra/gvfs/PKGBUILD
extra/hugin/PKGBUILD
extra/i8kutils/PKGBUILD
extra/id3lib/PKGBUILD
extra/imagemagick/PKGBUILD
extra/jack/PKGBUILD
extra/ktorrent/PKGBUILD
extra/libaccounts-qt/PKGBUILD
extra/libdvdnav/PKGBUILD
extra/libdvdread/PKGBUILD
extra/libetpan/PKGBUILD
extra/libgadu/PKGBUILD
extra/libmikmod/PKGBUILD
extra/libpst/PKGBUILD
extra/libsecret/PKGBUILD
extra/libssh/PKGBUILD
extra/libvorbis/PKGBUILD
extra/lilv/PKGBUILD
extra/mariadb/PKGBUILD
extra/maxima/PKGBUILD
extra/mesa/PKGBUILD
extra/mkvtoolnix/PKGBUILD
extra/msmtp/PKGBUILD
extra/obex-data-server/PKGBUILD
extra/openbabel/PKGBUILD
extra/opencv/PKGBUILD
extra/opengtl/PKGBUILD
extra/perl-net-dns/PKGBUILD
extra/perl-socket6/PKGBUILD
extra/pidgin/PKGBUILD
extra/poppler/PKGBUILD
extra/postfix/PKGBUILD
extra/purple-plugin-pack/PKGBUILD
extra/pycurl/PKGBUILD
extra/python-geoip/PKGBUILD
extra/qt5/PKGBUILD
extra/redland/PKGBUILD
extra/ruby/PKGBUILD
extra/shared-mime-info/PKGBUILD
extra/sqlite/PKGBUILD
extra/texmacs/PKGBUILD
extra/v4l-utils/PKGBUILD
extra/vigra/PKGBUILD
extra/vim/PKGBUILD
extra/wildmidi/PKGBUILD
extra/wxpython/PKGBUILD
extra/x2goclient/PKGBUILD
extra/xf86-video-siliconmotion/0001-Remove-miInitializeBackingStore.patch
extra/xf86-video-siliconmotion/PKGBUILD
extra/xfce4-taskmanager/PKGBUILD
extra/xine-lib/PKGBUILD
extra/xorg-server/PKGBUILD
extra/xsane/PKGBUILD
extra/zsh/PKGBUILD
libre-testing/unace-libre/PKGBUILD
libre/abuse-libre/PKGBUILD
libre/audacity-libre/PKGBUILD
libre/audex-libre/PKGBUILD
libre/blackbox-libre/PKGBUILD
libre/bogofilter-libre/PKGBUILD
libre/bumblebee-libre/PKGBUILD
libre/crosstool-ng/PKGBUILD
libre/dvdrip-libre/PKGBUILD
libre/ecasound-libre/PKGBUILD
libre/enscript/PKGBUILD
libre/epdfview-libre/PKGBUILD
libre/hardinfo/PKGBUILD
libre/kile-libre/PKGBUILD
libre/lesspipe-libre/PKGBUILD
libre/libquicktime-libre/PKGBUILD
libre/linux-libre-tools/PKGBUILD
libre/linux-libre/PKGBUILD
libre/mc-libre/PKGBUILD
libre/mesa-demos-libre/PKGBUILD
libre/midori-libre/PKGBUILD
libre/oss-libre/PKGBUILD
libre/p7zip-libre/PKGBUILD
libre/python2-reportlab-libre/PKGBUILD
libre/sdl-libre/PKGBUILD
libre/seamonkey-libre/PKGBUILD
libre/unzip-libre/PKGBUILD
libre/xarchiver-libre/PKGBUILD
libre/xmlstarlet/PKGBUILD
pcr/a2jmidid/PKGBUILD
pcr/amsynth/PKGBUILD
pcr/anyremote/PKGBUILD
pcr/azr3-jack/PKGBUILD
pcr/bambus/PKGBUILD
pcr/bamf2/PKGBUILD
pcr/barnyard2/PKGBUILD
pcr/bison++/PKGBUILD
pcr/bup/PKGBUILD
pcr/din/PKGBUILD
pcr/django-tagging/PKGBUILD
pcr/doxymacs/PKGBUILD
pcr/emacs-js2-mode/PKGBUILD
pcr/eterm/PKGBUILD
pcr/frame/PKGBUILD
pcr/freeipmi/PKGBUILD
pcr/geis/PKGBUILD
pcr/ginn/PKGBUILD
pcr/grail/PKGBUILD
pcr/libast/PKGBUILD
pcr/libdshconfig/PKGBUILD
pcr/networkmanager-openswan/PKGBUILD
pcr/networkmanager-strongswan/PKGBUILD
pcr/openswan/PKGBUILD
pcr/par/PKGBUILD
pcr/snort/PKGBUILD
pcr/strongswan/PKGBUILD
social/batctl/PKGBUILD
social/bip/PKGBUILD
social/bitcoin-daemon/PKGBUILD
social/dropbear/PKGBUILD
social/ffingerd/PKGBUILD
social/haveged/PKGBUILD
social/inadyn-opendns/PKGBUILD
social/liblockfile/PKGBUILD
social/libowfat/PKGBUILD
social/lockfile-progs/PKGBUILD
social/netatalk/PKGBUILD
social/olsrd/PKGBUILD
social/poco/PKGBUILD
social/spectrum/PKGBUILD
social/squirm/PKGBUILD
social/tokyotyrant/PKGBUILD
social/tomoyo-tools/PKGBUILD
Diffstat (limited to 'pcr/samba4')
-rw-r--r-- | pcr/samba4/PKGBUILD | 93 | ||||
-rw-r--r-- | pcr/samba4/samba4.confd | 5 | ||||
-rw-r--r-- | pcr/samba4/samba4.rc | 50 |
3 files changed, 0 insertions, 148 deletions
diff --git a/pcr/samba4/PKGBUILD b/pcr/samba4/PKGBUILD deleted file mode 100644 index 09c55781d..000000000 --- a/pcr/samba4/PKGBUILD +++ /dev/null @@ -1,93 +0,0 @@ -# Maintainer: Michael Hansen <zrax0111 gmail com> -# Contributor: Marco A Rojas <marquicus at gmail.com> -# Contributor: Netanel Shine <netanel at archlinux.org.il > -# Contributor: ngoonee <ngoonee.talk@gmail.com> -# Contributor: Adam Russell <adamlr6+arch@gmail.com> -# Contributor: Dhananjay Sathe <dhananjaysathe@gmail.com> -pkgname=samba4 -pkgver=4.0.0rc5 -pkgrel=1 -pkgdesc="Samba 4.0 Release Candidate" -arch=('i686' 'x86_64') -url="http://www.samba.org" -license=('GPL3') -depends=('db>=4.7' 'popt' 'libcups' 'acl' 'libldap' 'libcap>=2.16' 'pam' 'gamin' 'gnutls>=2.4.1' 'talloc' 'tdb') -makedepends=('python2' 'docbook-xsl' 'pkg-config') -options=(!makeflags) -source=(http://us1.samba.org/samba/ftp/rc/samba-${pkgver}.tar.gz - samba4.rc samba4.confd) -md5sums=('24d4b715a46c5f111b08b87975a27b1e' - '01deaef9cd21dff7586a7221d1a6d300' - 'e1b2671dc1d1371a3628235a818debab') -_prefix="/opt/samba4" - -build() { - cd ${srcdir}/samba-${pkgver} - - # change to use python2 - SAVEIFS=${IFS} - IFS=$(echo -en "\n\b") - PYTHON_CALLERS="$(find ${srcdir}/samba-${pkgver} -name '*.py') -$(find ${srcdir}/samba-${pkgver} -name 'wscript*') -$(find ${srcdir}/samba-${pkgver} -name 'configure.ac') -$(find ${srcdir}/samba-${pkgver} -name 'upgrade_from_s3') -$(find ${srcdir}/samba-${pkgver}/buildtools -type f) -$(find ${srcdir}/samba-${pkgver}/source4/scripting -type f)" - sed -i -e "s|/usr/bin/env python$|/usr/bin/env python2|" \ - -e "s|python-config|python2-config|" \ - -e "s|bin/python|bin/python2|" \ - ${PYTHON_CALLERS} - IFS=${SAVEIFS} - - export PYTHON=/usr/bin/python2 - - cd ${srcdir}/samba-${pkgver}/lib/tdb - ./configure --prefix=${_prefix}/samba - make - make DESTDIR="$pkgdir/" install - - cd ${srcdir}/samba-${pkgver}/lib/tevent - ./configure --prefix=${_prefix}/samba - make - make DESTDIR="$pkgdir/" install - - cd ${srcdir}/samba-${pkgver}/lib/ldb - ./configure --prefix=${_prefix}/samba - make - make DESTDIR="$pkgdir/" install - - cd ${srcdir}/samba-${pkgver} - ./configure --prefix=${_prefix} - make -} - -package() { - _pyver=`python2 -c 'import sys; print(sys.version[:3])'` - - cd ${srcdir}/samba-${pkgver} - make DESTDIR="$pkgdir/" install - - install -d ${pkgdir}/etc/ld.so.conf.d - echo "${_prefix}/samba/lib" > ${pkgdir}/etc/ld.so.conf.d/samba4.conf - - cd ${pkgdir}/${_prefix}/lib/ - ln -s samba/libldb-samba4.so.0 libldb.so - ln -s samba/libldb-samba4.so.0 libldb.so.0 - - find ${pkgdir}/${_prefix}/lib/python${_pyver}/site-packages/ -name '*.py' | \ - xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" - find ${pkgdir}/${_prefix}/bin ${pkgdir}/${_prefix}/sbin -type f -executable | \ - xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" - - # Make admin scripts look in the right place for the samba python module - for script in sbin/samba_dnsupdate sbin/samba_kcc sbin/samba_spnupdate \ - sbin/samba_upgradeprovision sbin/samba_upgradedns bin/samba-tool - do - sed -i "/^sys\.path\.insert/ a\ -sys.path.insert(0, '${_prefix}/lib/python${_pyver}/site-packages')" \ - ${pkgdir}/${_prefix}/${script} - done - - install -D -m755 ${srcdir}/samba4.rc ${pkgdir}/etc/rc.d/samba4 - install -D -m644 ${srcdir}/samba4.confd ${pkgdir}/etc/conf.d/samba4 -} diff --git a/pcr/samba4/samba4.confd b/pcr/samba4/samba4.confd deleted file mode 100644 index 3c29c49cf..000000000 --- a/pcr/samba4/samba4.confd +++ /dev/null @@ -1,5 +0,0 @@ -# -# Additional parameters to be passed to Samba4 -# - -SAMBA4_ARGS="" diff --git a/pcr/samba4/samba4.rc b/pcr/samba4/samba4.rc deleted file mode 100644 index 73d09fe30..000000000 --- a/pcr/samba4/samba4.rc +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -[ -f /etc/conf.d/samba4 ] && . /etc/conf.d/samba4 - -function call_samba4() { - /opt/samba4/sbin/samba -D $SAMBA4_ARGS -} - -case "$1" in - start) - stat_busy "Starting Samba4 Server" - if [ ! -x /opt/samba4/var ] ; then - install -m755 -d /opt/samba4/var - fi - if [ ! -x /opt/samba4/var/run ] ; then - install -m755 -d /opt/samba4/var/run - fi - PID=`pidof -o %PPID /opt/samba4/sbin/samba` - [ -z "$PID" ] && call_samba4 - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon samba4 - stat_done - fi - ;; - stop) - stat_busy "Stopping Samba4 Server" - PID=`pidof -o %PPID /opt/samba4/sbin/samba` - [ -z "$PID" ] || kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm /opt/samba4/var/run/samba.pid &> /dev/null - rm_daemon samba4 - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 |