freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 | #-
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= vsftpd
|
|---|
| 10 | PKG_VERSION:= 2.0.5
|
|---|
| 11 | PKG_RELEASE:= 2
|
|---|
| 12 | PKG_MD5SUM:= 146062e8b2f93af43ff6c2c770feea94
|
|---|
| 13 | PKG_INIT:= 70
|
|---|
| 14 |
|
|---|
| 15 | PKG_SOURCE_URL:= ftp://vsftpd.beasts.org/users/cevans/
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/mk/package.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,VSFTPD,vsftpd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.configured:
|
|---|
| 22 | touch $@
|
|---|
| 23 |
|
|---|
| 24 | $(WRKBUILD)/.built:
|
|---|
| 25 | rm -rf $(WRKINST)
|
|---|
| 26 | mkdir -p $(WRKINST)
|
|---|
| 27 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 28 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 29 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 30 | DESTDIR="$(WRKINST)" \
|
|---|
| 31 | vsftpd install
|
|---|
| 32 | touch $@
|
|---|
| 33 |
|
|---|
| 34 | $(IPKG_VSFTPD):
|
|---|
| 35 | install -d -m0755 $(IDIR_VSFTPD)/etc
|
|---|
| 36 | install -m0644 ./files/vsftpd.conf $(IDIR_VSFTPD)/etc/vsftpd.conf
|
|---|
| 37 | install -d -m0755 $(IDIR_VSFTPD)/etc/init.d
|
|---|
| 38 | install -m0755 ./files/vsftpd.init \
|
|---|
| 39 | $(IDIR_VSFTPD)/etc/init.d/S$(PKG_INIT)vsftpd
|
|---|
| 40 | install -d -m0755 $(IDIR_VSFTPD)/usr/sbin
|
|---|
| 41 | $(CP) $(WRKINST)/usr/sbin/vsftpd $(IDIR_VSFTPD)/usr/sbin/
|
|---|
| 42 | $(RSTRIP) $(IDIR_VSFTPD)
|
|---|
| 43 | $(IPKG_BUILD) $(IDIR_VSFTPD) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.