Changeset 398df5e in freewrt for package


Ignore:
Timestamp:
Sep 10, 2006, 4:47:16 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Children:
1ca76d2
Parents:
6b05a25
Message:

add configfs partition to all models, except netgear, make openswan package a single package including utils and kernel modules, fix some startupscripts for the configfs changes

git-svn-id: svn://www.freewrt.org/branches/wbx-target-cleanup@580 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package
Files:
1 deleted
6 edited
2 moved

Legend:

Unmodified
Added
Removed
  • package/Config.in

    r6b05a25 r398df5e  
    1313source "package/mtd/Config.in"
    1414source "package/nvram/Config.in"
     15source "package/jffs2root/Config.in"
    1516source "package/webif/Config.in"
    1617endmenu
     
    358359        help
    359360          Predefine the URL where "ipkg" looks for packages
    360           @TARGET@ works as placeholder for "<boradtype>-<kernel>" i.e. "brcm-2.4"
     361          @TARGET@ works as placeholder for "<boardtype>-<kernel>" i.e. "brcm-2.4"
    361362             so you can configure different URLs for different targets with a single string
    362363
  • package/Makefile

    r6b05a25 r398df5e  
    9393package-$(FWRT_PACKAGE_IRSSI) += irssi
    9494package-$(FWRT_PACKAGE_JAMVM) += jamvm
     95package-$(FWRT_PACKAGE_JFFS2ROOT) += jffs2root
    9596package-$(FWRT_PACKAGE_JOE) += joe
    9697package-$(FWRT_COMPILE_JPEG) += jpeg
     
    181182package-$(FWRT_COMPILE_OPENSSH) += openssh
    182183package-$(FWRT_COMPILE_OPENSSL) += openssl
    183 package-$(FWRT_COMPILE_OPENSWAN) += openswan
     184package-$(FWRT_PACKAGE_OPENSWAN) += openswan
    184185package-$(FWRT_PACKAGE_OPENVPN) += openvpn
    185186package-$(FWRT_COMPILE_OSIRIS) += osiris
  • package/base-files/default/sbin/mount_root

    r6b05a25 r398df5e  
    88        mount | grep jffs2 >&-
    99        if [ $? = 0 ] ; then
    10                 if [ $(cat /proc/mtd | wc -l) = 6 ]; then
     10                if [ $(cat /proc/mtd | wc -l) = 7 ]; then
    1111                        mtd erase data
    1212                        jffs2root --move --reboot
     
    1717                . /bin/firstboot
    1818                echo "switching to overlay filesystem"
    19                 mount /dev/mtdblock/4 /jffs -t jffs2
     19                mount /dev/mtdblock/5 /jffs -t jffs2
    2020                fopivot /jffs /rom
    2121        fi
  • package/broadcom-wl/Config.in

    r6b05a25 r398df5e  
    11config FWRT_PACKAGE_KMOD_BROADCOM_WL
    2         prompt "kmod-broadcom-wl.............. Kernel driver for Broadcom wireless lan cards"
     2        prompt "kmod-broadcom-wl.................. Kernel driver for Broadcom wireless lan cards"
    33        tristate
    44        default n
  • package/openswan/Config.in

    r6b05a25 r398df5e  
    1 config FWRT_COMPILE_OPENSWAN
     1config FWRT_PACKAGE_OPENSWAN
    22        prompt "openswan.......................... VPN solution using IPsec"
    33        tristate
     
    99         
    1010          http://www.openswan.org/
    11 
    12 config FWRT_PACKAGE_OPENSWAN_UTILS
    13         prompt "openswan-utils..................... VPN solution using IPsec"
    14         tristate
    15         default n
    16         depends FWRT_COMPILE_OPENSWAN
    17         help
    18           OpenSwan is an implementation of IPsec for Linux.
    19          
    20           http://www.openswan.org/
    21 
    22 config FWRT_PACKAGE_KMOD_OPENSWAN
    23         prompt "kmod-openswan..................... VPN solution using IPsec"
    24         tristate
    25         default n
    26         depends FWRT_COMPILE_OPENSWAN
    27         help
    28           OpenSwan is an implementation of IPsec for Linux.
    29          
    30           http://www.openswan.org/
    31 
  • package/openswan/Makefile

    r6b05a25 r398df5e  
    1212include $(TOPDIR)/package/rules.mk
    1313
    14 $(eval $(call PKG_template,OPENSWAN_UTILS,openswan-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
    15 $(eval $(call PKG_template,KMOD_OPENSWAN,kmod-openswan,$(KERNEL_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(KERNEL_VERSION)-$(BOARD)-$(KERNEL_RELEASE))))
     14$(eval $(call PKG_template,OPENSWAN,openswan,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
    1615
    1716FLAGS := $(TARGET_CFLAGS) -I$(WRKBUILD)/linux/include -L$(STAGING_DIR)/usr/lib -I$(STAGING_DIR)/usr/include
     
    4342
    4443$(IPKG_OPENSWAN):
     44        mkdir -p $(PACKAGE_DIR)
    4545        $(MAKE) -C $(WRKBUILD) \
    4646                $(TARGET_CONFIGURE_OPTS) \
     
    6161        $(CP) ../rc.d/init.d/ipsec $(IDIR_OPENSWAN)/etc/init.d/S60ipsec
    6262        find $(WRKBUILD) -name \*.old | xargs rm -rf
    63         mkdir -p $(PACKAGE_DIR)
     63        mkdir -p $(IDIR_OPENSWAN)/lib/modules/$(KERNEL_VERSION)
     64        $(CP) $(WRKBUILD)/modobj*/ipsec.$(KERNEL_MOD_SUFFIX) \
     65                $(IDIR_OPENSWAN)/lib/modules/$(KERNEL_VERSION)/
    6466        $(IPKG_BUILD) $(IDIR_OPENSWAN) $(PACKAGE_DIR)
    6567
    66 $(IPKG_KMOD_OPENSWAN):
    67         mkdir -p $(IDIR_KMOD_OPENSWAN)/lib/modules/$(KERNEL_VERSION)
    68         $(CP) $(WRKBUILD)/modobj*/ipsec.$(KERNEL_MOD_SUFFIX) \
    69                 $(IDIR_KMOD_OPENSWAN)/lib/modules/$(KERNEL_VERSION)/
    70         $(IPKG_BUILD) $(IDIR_KMOD_OPENSWAN) $(PACKAGE_DIR)
    71 
  • package/openswan/ipkg/openswan.control

    r6b05a25 r398df5e  
    22Section: base
    33Priority: optional
    4 Depends: kmod-openswan, libgmp, ip
     4Depends: libgmp, ip
    55Description: Openswan IPSec software
Note: See TracChangeset for help on using the changeset viewer.