Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as Lisp by bgardner ( 5 years ago )
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Brant Gardner <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages postfix)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages base)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages dbm)
  #:use-module (gnu packages perl))

(define-public postfix
  (package
    (name "postfix")
    (version "3.4.5")
    (source (origin
              (method url-fetch)
              (uri (string-append "ftp://ftp.porcupine.org/mirrors/project-history/postfix/official/postfix-"
                                  version ".tar.gz"))
              (sha256
               (base32
                "17riwr21i9p1h17wpagfiwkpx9bbx7dy4gpdl219a11akm7saawb"))))
    (build-system gnu-build-system)
    (arguments '(#:phases
                 (modify-phases %standard-phases
                   (add-before 'build 'patch-/bin/sh
                     (lambda _
                       (substitute* '("Makefile.in")
                         (("/bin/sh") (which "sh")))
                       #t))
                   (delete 'configure)))) ; no configure script
    (inputs `(("bdb" ,bdb)))
    (native-inputs
     `(("autoconf" ,autoconf)
       ("automake" ,automake)
       ("libtool" ,libtool)
       ("perl" ,perl)
       ("pkg-config" ,pkg-config)))
    (synopsis "Postfix attempts to be fast, easy to administer, and
secure. The outside has a definite Sendmail-ish flavor, but the inside is
completely different.")
    (description "Full-featured & secure sendmail replacement.")
    (home-page "https://postfix.org/")
    (license license:ibmpl1.0)))

 

Revise this Paste

Your Name: Code Language: