source: packages/net/pure-ftpd/Makefile @ 22439

Last change on this file since 22439 was 22439, checked in by florian, 6 years ago

[package] pure-ftpd: add init script supporting all options (#7659)

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1#
2# Copyright (C) 2007-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=pure-ftpd
11PKG_VERSION:=1.0.29
12PKG_RELEASE:=2
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15PKG_SOURCE_URL:=http://download.pureftpd.org/pub/pure-ftpd/releases
16PKG_MD5SUM:=12a074824b509f9e7684fab333ed6915
17
18PKG_INSTALL:=1
19
20include $(INCLUDE_DIR)/package.mk
21
22define Package/pure-ftpd
23  SUBMENU:=FTP
24  SECTION:=net
25  CATEGORY:=Network
26  DEPENDS:=+libelf
27  TITLE:=Secure FTP made easy!
28  URL:=http://www.pureftpd.org/project/pure-ftpd
29endef
30
31define Package/pure-ftpd/description
32 Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant
33 FTP server. It doesn't provide useless bells and whistles, but focuses on
34 efficiency and ease of use.
35 It provides simple answers to common needs, plus unique  useful features for
36 personal users as well as hosting providers.
37endef
38
39define Package/pure-ftpd/conffiles
40/etc/config/pure-ftpd
41endef
42
43CONFIGURE_ARGS += \
44        --with-everything \
45        --with-virtualchroot \
46
47define Package/pure-ftpd/install
48        $(INSTALL_DIR) $(1)/etc/config
49        $(INSTALL_CONF) ./files/$(PKG_NAME).config $(1)/etc/config/$(PKG_NAME)
50        $(INSTALL_DIR) $(1)/etc/init.d
51        $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
52        $(INSTALL_DIR) $(1)/usr/bin
53        $(INSTALL_BIN) \
54                $(PKG_INSTALL_DIR)/usr/bin/pure-{pw,pwconvert,statsdecode} \
55                $(1)/usr/bin/
56        $(INSTALL_DIR) $(1)/usr/sbin
57        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ptracetest $(1)/usr/sbin/
58        $(INSTALL_BIN) \
59                $(PKG_INSTALL_DIR)/usr/sbin/pure-{authd,ftpd,ftpwho,mrtginfo,quotacheck,uploadscript} \
60                $(1)/usr/sbin/
61endef
62
63$(eval $(call BuildPackage,pure-ftpd))
Note: See TracBrowser for help on using the repository browser.