me
/
guix
Archived
1
0
Fork 0

gnu: fcgiwrap: Update to 1.1.0-1.2870d27, change source.

* gnu/packages/web.scm (fcgiwrap): Update to 1.1.0-1.2870d27.
[source]: Switch to https://github.com/flu0r1ne/fcgiwrap.

Reviewed-by: Dale Mellor <guix-devel-0brg6b@rdmp.org>
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: Ia9e7b911a0c8bde50924e3398f915f945cf955a6
master
宋文武 2024-03-12 13:48:28 +00:00 committed by Christopher Baines
parent bcc5ba6358
commit b6dd127104
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 36 additions and 32 deletions

View File

@ -1109,40 +1109,44 @@ APIs.")
(license (license:non-copyleft "file://LICENSE.TERMS")))) (license (license:non-copyleft "file://LICENSE.TERMS"))))
(define-public fcgiwrap (define-public fcgiwrap
(package (let ((commit "2870d2729a3930988f0041e2d78fec672e69afac")
(name "fcgiwrap") (revision "1"))
(version "1.1.0") (package
(source (name "fcgiwrap")
(origin (version (git-version "1.1.0" revision commit))
(method git-fetch) (source
(uri (git-reference (origin
(url "https://github.com/gnosek/fcgiwrap") (method git-fetch)
(commit version))) (uri (git-reference
(file-name (git-file-name name version)) ;; Upstream last updated in 2015, this forked version has better
(sha256 ;; socket cleanup.
(base32 "1ryw66h9aazi83amk8l7ha8k5g0c7qvk5g6jv376a1ws9xk2qw6f")))) (url "https://github.com/flu0r1ne/fcgiwrap")
(build-system gnu-build-system) (commit commit)))
(arguments (file-name (git-file-name name version))
`(#:tests? #f ; no tests included (sha256
#:make-flags (list "CC=gcc") (base32 "0rkpp4apfhdcrmym3pcpqlncd0r4fyr3pa45i8g6x4p38b4azmmm"))))
#:phases (build-system gnu-build-system)
(modify-phases %standard-phases (arguments
(add-after 'unpack 'fix-CFLAGS `(#:tests? #f ; no tests included
;; Remove broken options unconditionally added to CFLAGS. #:make-flags (list "CC=gcc")
(lambda _ #:phases
(substitute* "configure.ac" (modify-phases %standard-phases
((" -Werror") "")) (add-after 'unpack 'fix-CFLAGS
#t))))) ;; Remove broken options unconditionally added to CFLAGS.
(native-inputs (lambda _
(list autoconf automake pkg-config)) (substitute* "configure.ac"
(inputs ((" -Werror") ""))
(list fcgi)) #t)))))
(home-page "https://nginx.localdomain.pl/wiki/FcgiWrap") (native-inputs
(synopsis "Simple server for running CGI applications over FastCGI") (list autoconf automake pkg-config))
(description "Fcgiwrap is a simple server for running CGI applications (inputs
(list fcgi))
(home-page "https://nginx.localdomain.pl/wiki/FcgiWrap")
(synopsis "Simple server for running CGI applications over FastCGI")
(description "Fcgiwrap is a simple server for running CGI applications
over FastCGI. It hopes to provide clean CGI support to Nginx (and other web over FastCGI. It hopes to provide clean CGI support to Nginx (and other web
servers that may need it).") servers that may need it).")
(license license:expat))) (license license:expat))))
(define-public starman (define-public starman
(package (package