diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ftp.scm | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm index 8f64225ab47..f3211d90315 100644 --- a/gnu/packages/ftp.scm +++ b/gnu/packages/ftp.scm | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | 21 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
| 22 | 22 | ||
| 23 | (define-module (gnu packages ftp) | 23 | (define-module (gnu packages ftp) |
| 24 | #:use-module ((guix licenses) #:select (gpl2+ gpl3+ clarified-artistic)) | 24 | #:use-module ((guix licenses) #:select (gpl2 gpl2+ gpl3+ clarified-artistic)) |
| 25 | #:use-module (guix build-system gnu) | 25 | #:use-module (guix build-system gnu) |
| 26 | #:use-module (guix download) | 26 | #:use-module (guix download) |
| 27 | #:use-module (guix packages) | 27 | #:use-module (guix packages) |
| @@ -243,3 +243,42 @@ and others features such as bookmarks, drag and drop, filename filters, | |||
| 243 | directory comparison and more.") | 243 | directory comparison and more.") |
| 244 | (license gpl2+) | 244 | (license gpl2+) |
| 245 | (properties '((upstream-name . "FileZilla"))))) | 245 | (properties '((upstream-name . "FileZilla"))))) |
| 246 | |||
| 247 | (define-public vsftpd | ||
| 248 | (package | ||
| 249 | (name "vsftpd") | ||
| 250 | (version "3.0.3") | ||
| 251 | (source (origin | ||
| 252 | (method url-fetch) | ||
| 253 | (uri (string-append "https://security.appspot.com/downloads/" | ||
| 254 | name "-" version ".tar.gz")) | ||
| 255 | (sha256 | ||
| 256 | (base32 | ||
| 257 | "1xsyjn68k3fgm2incpb3lz2nikffl9by2safp994i272wvv2nkcx")))) | ||
| 258 | (build-system gnu-build-system) | ||
| 259 | (arguments | ||
| 260 | `(#:make-flags '("LDFLAGS=-lcrypt") | ||
| 261 | #:tests? #f ; No tests exist. | ||
| 262 | #:phases | ||
| 263 | (modify-phases %standard-phases | ||
| 264 | (add-after 'unpack 'patch-installation-directory | ||
| 265 | (lambda* (#:key outputs #:allow-other-keys) | ||
| 266 | (substitute* "Makefile" | ||
| 267 | (("/usr") (assoc-ref outputs "out"))) | ||
| 268 | #t)) | ||
| 269 | (add-before 'install 'mkdir | ||
| 270 | (lambda* (#:key outputs #:allow-other-keys) | ||
| 271 | (let ((out (assoc-ref outputs "out"))) | ||
| 272 | (mkdir-p out) | ||
| 273 | (mkdir (string-append out "/sbin")) | ||
| 274 | (mkdir (string-append out "/man")) | ||
| 275 | (mkdir (string-append out "/man/man5")) | ||
| 276 | (mkdir (string-append out "/man/man8")) | ||
| 277 | #t))) | ||
| 278 | (delete 'configure)))) | ||
| 279 | (synopsis "vsftpd FTP daemon") | ||
| 280 | (description "@command{vsftpd} is a daemon that listens on a TCP socket | ||
| 281 | for clients and gives them access to local files via File Transfer | ||
| 282 | Protocol.") | ||
| 283 | (home-page "https://security.appspot.com/vsftpd.html") | ||
| 284 | (license gpl2))) | ||
