Browse Source

Chris Efant:


			
			
				rocklinux
			
			
		
Chris Efant 20 years ago
parent
commit
ba90d919fc
4 changed files with 99 additions and 0 deletions
  1. +3
    -0
      package/sirkull/pureftpd/postsysfiles.in
  2. +33
    -0
      package/sirkull/pureftpd/pureftpd.conf
  3. +45
    -0
      package/sirkull/pureftpd/pureftpd.desc
  4. +18
    -0
      package/sirkull/pureftpd/pureftpd.init

+ 3
- 0
package/sirkull/pureftpd/postsysfiles.in

@ -0,0 +1,3 @@
safe_groupadd ftp 13
safe_useradd ftp 13 13 "system user for proftp" /var/ftp /bin/flase "*"

+ 33
- 0
package/sirkull/pureftpd/pureftpd.conf

@ -0,0 +1,33 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/sirkull/pureftpd/pureftpd.conf
# ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
#
# This program 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 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
function pm_pureftpd() {
# install the configuration script
install -m 644 configuration-file/pure-ftpd.conf *.conf $sysconfdir/
install -m 755 configuration-file/pure-config.pl $sbindir/
# install the init script
install_init pureftpd $confdir/pureftpd.init
}
sysconfdir="$root/etc/pure-ftpd"
hook_add postmake 3 pm_pureftpd

+ 45
- 0
package/sirkull/pureftpd/pureftpd.desc

@ -0,0 +1,45 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/sirkull/pureftpd/pureftpd.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] PureFTP Server is an efficient, lightweight, and very secure FTP server
[T] Pure FTP Server is a fast, production quality, standards-conformant FTP server
[T] based on Troll-FTPd. It has no known vulnerability, it is trivial to set up, and
[T] it is especially designed for modern kernels. Features include PAM support, IPv6,
[T] chroot()ed home directories, virtual domains, built-in 'ls', FXP protocol,
[T] anti-warez system, bandwidth throttling, restricted ports for passive downloads,
[T] an LDAP backend, XML output, and more.
[U] http://www.pureftpd.org/
[A] Michal Moskal <malekith@pld-linux.org>
[M] Chris Efant <rock@sirkull.org>
[C] extra/server
[L] BSD
[S] Stable
[V] 1.0.20
[P] X -?---5---9 189.100
[D] 1462178475 pure-ftpd-1.0.20.tar.bz2 ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/

+ 18
- 0
package/sirkull/pureftpd/pureftpd.init

@ -0,0 +1,18 @@
#!/bin/bash
#
# Desc: Pure FTPd
# Runlevel: 61 rcX
#
main_begin
block_begin(start, `Starting PureFTPd.')
check(`D_prefix/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf')
block_end
block_begin(stop, `Stopping PureFTPd.')
check(`killall D_prefix/sbin/pure-ftpd')
block_end
main_end

Loading…
Cancel
Save