Changeset c1948f0 in freewrt for package/openvpn/Makefile


Ignore:
Timestamp:
Aug 3, 2006, 6:20:46 PM (19 years ago)
Author:
Markus Wigge <markus@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
b1e940df
Parents:
cf55cf64
Message:
  • Added webif (needs rewrite for a new init-method)
  • Added init-script (old one that uses nvram)
  • updated Config.in to current standard style

git-svn-id: svn://www.freewrt.org/trunk/freewrt@500 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/openvpn/Makefile

    rcf55cf64 rc1948f0  
    1616$(eval $(call PKG_template,OPENVPN,openvpn,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
    1717$(eval $(call PKG_template,OPENVPN_EASY_RSA,openvpn-easy-rsa,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
     18$(eval $(call PKG_template,OPENVPN_WEBIF,openvpn-webif,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
    1819
    1920PKG_DEPEND:="kmod-tun"
     
    9798        install -d -m0755 $(IDIR_OPENVPN)/usr/sbin
    9899        $(CP) $(WRKINST)/usr/sbin/openvpn $(IDIR_OPENVPN)/usr/sbin/
     100        install -d -m0755 $(IDIR_OPENVPN)/etc/init.d
     101        $(CP) ./files/openvpn.init $(IDIR_OPENVPN)/etc/init.d/S50openvpn
    99102        $(RSTRIP) $(IDIR_OPENVPN)
    100103        echo "Depends: $(PKG_DEPEND)" >> $(IDIR_OPENVPN)/CONTROL/control
     
    107110        install -m 0644 $(WRKBUILD)/easy-rsa/2.0/vars $(IDIR_OPENVPN_EASY_RSA)/etc/easy-rsa/vars
    108111        $(IPKG_BUILD) $(IDIR_OPENVPN_EASY_RSA) $(PACKAGE_DIR)
     112
     113$(IPKG_OPENVPN_WEBIF):
     114        install -d -m0755 $(IDIR_OPENVPN_WEBIF)/www/cgi-bin/webif
     115        $(CP) ./files/openvpn.sh $(IDIR_OPENVPN_WEBIF)/www/cgi-bin/webif
     116        $(IPKG_BUILD) $(IDIR_OPENVPN_WEBIF) $(PACKAGE_DIR)
     117
Note: See TracChangeset for help on using the changeset viewer.