Results 1 to 4 of 4

Thread: Is there a package for the latest Samba 4.1.4 (or can I build one) for 12.04 LTS

  1. #1
    Join Date
    Apr 2007
    Beans
    173

    Is there a package for the latest Samba 4.1.4 (or can I build one) for 12.04 LTS

    Hi, I need to install Samba to a 12.04 LTS server for a project and "samba4-4.0.0~alpha18" doesn't cut it - I an official release version, like the latest 4.1.4 on offer at http://www.samba.org.

    If there is a package containing this (or another recent-ish release version), where would I find it. I've searched with no luck!

    Assuming I have to re-build the source, I have looked into how to rebuild a source package and have come up with something like this. First add source repos to `/etc/apt/sources.lst`
    Code:
    deb-src http://uk.archive.ubuntu.com/ubuntu/ precise universe
    deb-src http://uk.archive.ubuntu.com/ubuntu/ precise-updates universe
    and, after updating (`apt-get update`) then doing this
    Code:
    sudo apt-get install build-essential fakeroot dpkg-dev devscripts
    sudo apt-get build-dep samba4
    apt-get source samba4
    cd samba4-4.0.0~alpha18.dfsg1
    What I don't know is where to go from here if I want to replace the package contents with upstream. I am used to ArchLinux where this kind of thing is transparent and easy. I'd appreciate someone who could explain how I should update the ubuntu package with the latest upstream (http://samba.org/samba/ftp/stable/samba-4.1.4.tar.gz) and rebuild it into a new updated package.

    Thanks very much for your help.

  2. #2
    Join Date
    Aug 2006
    Beans
    13,354
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Is there a package for the latest Samba 4.1.4 (or can I build one) for 12.04 LTS

    Samba 4 should be availabe in the next LTS, 14.04, so you can run the development release to enjoy it. I don't think 12.04 will ever have it.

  3. #3
    Join Date
    Sep 2013
    Beans
    24

    Re: Is there a package for the latest Samba 4.1.4 (or can I build one) for 12.04 LTS

    http://www.samba.org/samba/docs/man/...compiling.html

    http://www.falkotimme.com/howtos/checkinstall/

    Modifying the existing deb or changing the sources like you are talking about sounds overcomplicated to me. Just compile i from source directly from their svn then build a deb. I am by no means a compilation expert, have only done it twice. That being follow the first link to compile via the "Building The Binaries" section. Then package / install with the 2nd link. 2nd link is for Debian but Ubuntu is modified Debian unstable / testing so it should work fine. That should install, and create a .deb package for you. I've no real clue on sorting out dependencies though. I'm lazy about deps so after installing it I just sudo apt-get -fy install and call it a day.
    Last edited by Jason_Gibson; January 12th, 2014 at 05:33 AM.

  4. #4
    Join Date
    Apr 2007
    Beans
    173

    Re: Is there a package for the latest Samba 4.1.4 (or can I build one) for 12.04 LTS

    Thank you for the replies. I had arrived at the same decision and was able to build 4.1.4 from sources. The reference to checkinstall was very helpful and I now have my own .deb for installing Samba. The only piece that I needed to add was an init script.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •