Changeset d0796d0 in freewrt
- Timestamp:
- Nov 6, 2006, 11:25:19 PM (19 years ago)
- Children:
- 350bab1
- Parents:
- 2f3f542
- Files:
-
- 57 added
- 35 deleted
- 166 edited
- 1 moved
-
mk/modules-2.4.mk (modified) (4 diffs)
-
package/Config.in.collections (modified) (1 diff)
-
package/aiccu/Makefile (modified) (1 diff)
-
package/aiccu/files/aiccu.init (modified) (1 diff)
-
package/aiccu/ipkg/aiccu.control (modified) (1 diff)
-
package/asterisk/files/asterisk.init (modified) (2 diffs)
-
package/asterisk/ipkg/asterisk-chan-h323.control (modified) (1 diff)
-
package/bind/Makefile (modified) (1 diff)
-
package/bind/files/named.init (modified) (1 diff)
-
package/bind/ipkg/bind-server.postinst (added)
-
package/bitchx/Makefile (modified) (1 diff)
-
package/bitchx/files/bitchx.init (modified) (1 diff)
-
package/bitchx/ipkg/bitchx.postinst (added)
-
package/broadcom-nas/Makefile (modified) (2 diffs)
-
package/broadcom-nas/files/wifi.up (deleted)
-
package/broadcom-wl-util/Makefile (modified) (1 diff)
-
package/broadcom-wl-util/files/wifi-broadcom.down (moved) (moved from package/broadcom-nas/files/wifi.down ) (1 diff)
-
package/broadcom-wl-util/files/wifi-broadcom.up (added)
-
package/busybox/files/crond.init (modified) (2 diffs)
-
package/busybox/files/network.init (modified) (2 diffs)
-
package/busybox/files/syslog.init (modified) (2 diffs)
-
package/chillispot/Makefile (modified) (1 diff)
-
package/chillispot/files/chillispot.init (modified) (1 diff)
-
package/chillispot/ipkg/chillispot.postinst (added)
-
package/click/Makefile (modified) (2 diffs)
-
package/click/files/roofnet.init (deleted)
-
package/collectd/Makefile (modified) (2 diffs)
-
package/collectd/files/collectd.init (modified) (1 diff)
-
package/collectd/ipkg/collectd.control (modified) (1 diff)
-
package/collectd/ipkg/collectd.postinst (added)
-
package/cups/Makefile (modified) (2 diffs)
-
package/cups/files/cupsd.init (modified) (1 diff)
-
package/dhcp-forwarder/Makefile (modified) (2 diffs)
-
package/dhcp-forwarder/files/dhcp-fwd.init (modified) (1 diff)
-
package/dhcp-forwarder/ipkg/dhcp-forwarder.postinst (added)
-
package/dhcp/Makefile (modified) (2 diffs)
-
package/dhcp/files/dhcpd.init (added)
-
package/dhcp/ipkg/dhcp-server.postinst (added)
-
package/dnsmasq/files/dnsmasq.init (modified) (1 diff)
-
package/dropbear/files/dropbear.init (modified) (1 diff)
-
package/fakeidentd/Makefile (modified) (2 diffs)
-
package/fakeidentd/files/fakeidentd.init (modified) (1 diff)
-
package/fakeidentd/ipkg/fakeidentd.postinst (added)
-
package/freeradius/Makefile (modified) (2 diffs)
-
package/freeradius/files/radiusd.init (modified) (1 diff)
-
package/freeradius/ipkg/freeradius.conffiles (modified) (1 diff)
-
package/freeradius/ipkg/freeradius.postinst (added)
-
package/frickin/Makefile (modified) (2 diffs)
-
package/frickin/files/frickin.default (deleted)
-
package/frickin/files/frickin.init (modified) (1 diff)
-
package/frickin/ipkg/frickin.conffiles (deleted)
-
package/frickin/ipkg/frickin.postinst (added)
-
package/gmediaserver/Makefile (modified) (2 diffs)
-
package/gmediaserver/files/gmediaserver.default (deleted)
-
package/gmediaserver/files/gmediaserver.init (modified) (1 diff)
-
package/gmediaserver/ipkg/gmediaserver.conffiles (deleted)
-
package/gmediaserver/ipkg/gmediaserver.postinst (added)
-
package/howl/Makefile (modified) (4 diffs)
-
package/howl/files/autoipd.init (modified) (1 diff)
-
package/howl/files/mDNSResponder.init (modified) (1 diff)
-
package/howl/files/nifd.init (modified) (1 diff)
-
package/howl/ipkg/autoipd.postinst (added)
-
package/howl/ipkg/mdnsresponder.postinst (added)
-
package/howl/ipkg/nifd.postinst (added)
-
package/htpdate/Makefile (modified) (2 diffs)
-
package/htpdate/files/htpdate.default (deleted)
-
package/htpdate/files/htpdate.init (modified) (1 diff)
-
package/htpdate/ipkg/htpdate.conffiles (deleted)
-
package/htpdate/ipkg/htpdate.postinst (added)
-
package/iperf/Config.in (modified) (1 diff)
-
package/iptables/files/firewall.init (modified) (1 diff)
-
package/iptables/ipkg/iptables.conffiles (deleted)
-
package/l2tpd/Makefile (modified) (2 diffs)
-
package/l2tpd/files/l2tpd.init (modified) (1 diff)
-
package/l2tpd/ipkg/l2tpd.postinst (added)
-
package/libvorbisidec/Makefile (modified) (1 diff)
-
package/lighttpd/Makefile (modified) (2 diffs)
-
package/lighttpd/files/lighttpd.default (deleted)
-
package/lighttpd/files/lighttpd.init (modified) (1 diff)
-
package/lighttpd/ipkg/lighttpd-mod-webdav.control (modified) (1 diff)
-
package/lighttpd/ipkg/lighttpd.conffiles (modified) (1 diff)
-
package/lighttpd/ipkg/lighttpd.postinst (added)
-
package/madwifi/Makefile (modified) (2 diffs)
-
package/madwifi/files/wifi-atheros.down (added)
-
package/madwifi/files/wifi-atheros.up (added)
-
package/mini_httpd/Makefile (modified) (4 diffs)
-
package/mini_httpd/files/mini_httpd.default (deleted)
-
package/mini_httpd/files/mini_httpd.init (modified) (1 diff)
-
package/mini_httpd/ipkg/mini-httpd-matrixssl.conffiles (modified) (1 diff)
-
package/mini_httpd/ipkg/mini-httpd-openssl.conffiles (modified) (1 diff)
-
package/mini_httpd/ipkg/mini-httpd.conffiles (modified) (1 diff)
-
package/mini_httpd/ipkg/mini-httpd.postinst (added)
-
package/miredo/Makefile (modified) (3 diffs)
-
package/miredo/files/miredo-server.init (modified) (1 diff)
-
package/miredo/files/miredo.init (modified) (1 diff)
-
package/miredo/ipkg/miredo-server.postinst (added)
-
package/miredo/ipkg/miredo.postinst (added)
-
package/mrd6/Makefile (modified) (2 diffs)
-
package/mrd6/files/mrd6.init (modified) (1 diff)
-
package/mrd6/ipkg/mrd6.control (modified) (1 diff)
-
package/mrd6/ipkg/mrd6.postinst (added)
-
package/mt-daapd/Makefile (modified) (2 diffs)
-
package/mt-daapd/files/mt-daapd.init (modified) (1 diff)
-
package/mt-daapd/ipkg/mt-daapd.postinst (added)
-
package/mtd/Config.in (modified) (1 diff)
-
package/mtd/Makefile (modified) (3 diffs)
-
package/mtd/ipkg/mtd-static.control (deleted)
-
package/netperf/Makefile (modified) (2 diffs)
-
package/netperf/files/netserver.init (modified) (1 diff)
-
package/netperf/ipkg/netperf.control (modified) (1 diff)
-
package/netperf/ipkg/netperf.postinst (added)
-
package/nfs-server/Config.in (modified) (1 diff)
-
package/nfs-server/Makefile (modified) (2 diffs)
-
package/nfs-server/files/nfsd.init (modified) (1 diff)
-
package/nfs-server/ipkg/nfs-server.control (modified) (1 diff)
-
package/nfs-server/ipkg/nfs-server.postinst (added)
-
package/olsrd/Makefile (modified) (2 diffs)
-
package/olsrd/files/olsrd.init (modified) (1 diff)
-
package/olsrd/ipkg/olsrd.postinst (added)
-
package/openntpd/files/ntpd.init (modified) (1 diff)
-
package/openntpd/ipkg/openntpd.postinst (modified) (1 diff)
-
package/openssh/files/sshd.init (modified) (1 diff)
-
package/openvpn/ipkg/openvpn-webif.control (deleted)
-
package/osiris/Makefile (modified) (2 diffs)
-
package/osiris/files/osirisd.init (modified) (1 diff)
-
package/osiris/ipkg/osirisd.postinst (added)
-
package/p910nd/Makefile (modified) (2 diffs)
-
package/p910nd/files/p910nd.default (deleted)
-
package/p910nd/files/p910nd.init (modified) (1 diff)
-
package/p910nd/ipkg/p910nd.conffiles (deleted)
-
package/p910nd/ipkg/p910nd.postinst (added)
-
package/parprouted/Makefile (modified) (2 diffs)
-
package/parprouted/files/parprouted.init (modified) (1 diff)
-
package/parprouted/ipkg/parprouted.conffiles (deleted)
-
package/parprouted/ipkg/parprouted.postinst (added)
-
package/peercast/Makefile (modified) (2 diffs)
-
package/peercast/files/peercast.init (modified) (1 diff)
-
package/peercast/ipkg/peercast.postinst (added)
-
package/peerguardian/Makefile (modified) (2 diffs)
-
package/peerguardian/files/peerguardian.init (modified) (1 diff)
-
package/peerguardian/ipkg/peerguardian.control (modified) (1 diff)
-
package/peerguardian/ipkg/peerguardian.postinst (added)
-
package/php4/Makefile (modified) (2 diffs)
-
package/php4/files/php.init (modified) (1 diff)
-
package/php4/ipkg/php4-fastcgi.conffiles (modified) (1 diff)
-
package/php4/ipkg/php4-fastcgi.postinst (added)
-
package/php5/Makefile (modified) (2 diffs)
-
package/php5/files/php.init (modified) (1 diff)
-
package/php5/ipkg/php5-fastcgi.conffiles (modified) (1 diff)
-
package/php5/ipkg/php5-fastcgi.postinst (added)
-
package/pmacct/files/nfacctd.default (deleted)
-
package/pmacct/files/nfacctd.init (modified) (1 diff)
-
package/pmacct/files/pmacctd.default (deleted)
-
package/pmacct/files/pmacctd.init (modified) (1 diff)
-
package/pmacct/ipkg/nfacctd.conffiles (modified) (1 diff)
-
package/pmacct/ipkg/nfacctd.postinst (added)
-
package/pmacct/ipkg/pmacctd.conffiles (modified) (1 diff)
-
package/pmacct/ipkg/pmacctd.postinst (added)
-
package/portmap/Config.in (modified) (1 diff)
-
package/portmap/Makefile (modified) (2 diffs)
-
package/portmap/files/portmap.init (modified) (1 diff)
-
package/portmap/ipkg/portmap.control (modified) (1 diff)
-
package/pptpd/Makefile (modified) (2 diffs)
-
package/pptpd/files/pptpd.init (modified) (1 diff)
-
package/pptpd/ipkg/pptpd.postinst (added)
-
package/quagga/Makefile (modified) (2 diffs)
-
package/quagga/files/quagga.init (modified) (1 diff)
-
package/radvd/Makefile (modified) (2 diffs)
-
package/radvd/files/radvd.init (modified) (2 diffs)
-
package/radvd/ipkg/radvd.postinst (added)
-
package/rarpd/Makefile (modified) (2 diffs)
-
package/rarpd/files/rarpd.default (deleted)
-
package/rarpd/files/rarpd.init (modified) (1 diff)
-
package/rarpd/ipkg/rarpd.conffiles (deleted)
-
package/rarpd/ipkg/rarpd.postinst (added)
-
package/reaim/Makefile (modified) (2 diffs)
-
package/reaim/files/reaim.init (modified) (1 diff)
-
package/reaim/ipkg/reaim.control (modified) (1 diff)
-
package/reaim/ipkg/reaim.postinst (added)
-
package/rp-pppoe/Makefile (modified) (4 diffs)
-
package/rp-pppoe/files/pppoe-client.init (modified) (1 diff)
-
package/rp-pppoe/files/pppoe-relay.default (deleted)
-
package/rp-pppoe/files/pppoe-relay.init (modified) (1 diff)
-
package/rp-pppoe/files/pppoe-server.default (deleted)
-
package/rp-pppoe/files/pppoe-server.init (modified) (1 diff)
-
package/rp-pppoe/ipkg/pppoe-client.postinst (added)
-
package/rp-pppoe/ipkg/pppoe-relay.conffiles (deleted)
-
package/rp-pppoe/ipkg/pppoe-relay.postinst (added)
-
package/rp-pppoe/ipkg/pppoe-server.conffiles (modified) (1 diff)
-
package/rrdcollect/Makefile (modified) (2 diffs)
-
package/rrdcollect/files/rrdcollect.init (modified) (1 diff)
-
package/rrdcollect/ipkg/rrdcollect.postinst (added)
-
package/samba/Config.in (modified) (2 diffs)
-
package/samba/Makefile (modified) (5 diffs)
-
package/samba/files/samba.init (modified) (2 diffs)
-
package/samba/files/smb.conf (modified) (2 diffs)
-
package/samba/ipkg/samba-client.control (modified) (1 diff)
-
package/samba/ipkg/samba-passwd.control (added)
-
package/samba/patches/100-samba.patch (deleted)
-
package/samba/patches/200-security.patch (deleted)
-
package/samba/patches/250-writex.patch (deleted)
-
package/samba/patches/300-shared_lib_ldflags_fix.patch (deleted)
-
package/samba/patches/301-config_files_path.patch (deleted)
-
package/scanlogd/Makefile (modified) (2 diffs)
-
package/scanlogd/files/scanlogd.init (modified) (1 diff)
-
package/scanlogd/ipkg/scanlogd.postinst (modified) (1 diff)
-
package/setserial/Makefile (modified) (2 diffs)
-
package/setserial/files/serial.init (deleted)
-
package/siproxd/Makefile (modified) (2 diffs)
-
package/siproxd/files/siproxd.init (modified) (1 diff)
-
package/siproxd/ipkg/siproxd.postinst (added)
-
package/snort-wireless/Makefile (modified) (2 diffs)
-
package/snort-wireless/files/snort-wireless.default (deleted)
-
package/snort-wireless/files/snort-wireless.init (modified) (1 diff)
-
package/snort-wireless/ipkg/snort-wireless.conffiles (modified) (1 diff)
-
package/snort-wireless/ipkg/snort-wireless.postinst (added)
-
package/snort/Makefile (modified) (2 diffs)
-
package/snort/files/snort.default (deleted)
-
package/snort/files/snort.init (modified) (1 diff)
-
package/snort/ipkg/snort.conffiles (modified) (1 diff)
-
package/snort/ipkg/snort.postinst (added)
-
package/srelay/Makefile (modified) (2 diffs)
-
package/srelay/files/srelay.init (modified) (1 diff)
-
package/srelay/ipkg/srelay.postinst (modified) (1 diff)
-
package/syslog-ng/Makefile (modified) (2 diffs)
-
package/syslog-ng/files/syslog-ng.init (modified) (1 diff)
-
package/syslog-ng/ipkg/syslog-ng.postinst (added)
-
package/tinyproxy/Makefile (modified) (1 diff)
-
package/tinyproxy/files/tinyproxy.init (modified) (1 diff)
-
package/tinyproxy/ipkg/tinyproxy.postinst (added)
-
package/tor/Makefile (modified) (2 diffs)
-
package/tor/files/tor.init (modified) (1 diff)
-
package/tor/ipkg/tor.postinst (modified) (2 diffs)
-
package/ulogd/Makefile (modified) (2 diffs)
-
package/ulogd/files/ulogd.default (deleted)
-
package/ulogd/files/ulogd.init (modified) (1 diff)
-
package/ulogd/ipkg/ulogd.conffiles (modified) (1 diff)
-
package/ulogd/ipkg/ulogd.postinst (added)
-
package/vnc-reflector/ipkg/vnc-reflector.control (modified) (1 diff)
-
package/vrrpd/Makefile (modified) (2 diffs)
-
package/vrrpd/files/vrrpd.default (deleted)
-
package/vrrpd/files/vrrpd.init (modified) (1 diff)
-
package/vrrpd/ipkg/vrrpd.conffiles (deleted)
-
package/vrrpd/ipkg/vrrpd.postinst (added)
-
package/vsftpd/Makefile (modified) (2 diffs)
-
package/vsftpd/files/vsftpd.init (modified) (1 diff)
-
package/watchdog/files/watchdog.init (modified) (1 diff)
-
package/wifidog/Config.in (modified) (1 diff)
-
package/wifidog/files/wifidog.init (modified) (1 diff)
-
package/wifidog/ipkg/wifidog.postinst (added)
-
package/xinetd/Makefile (modified) (2 diffs)
-
package/xinetd/files/xinetd.init (modified) (1 diff)
-
package/xinetd/ipkg/xinetd.postinst (added)
-
target/linux/Config.in (modified) (3 diffs)
-
target/linux/control/kmod-brcm-wl.control (deleted)
-
target/linux/control/kmod-lp.control (modified) (1 diff)
-
target/linux/control/kmod-parport-splink.control (added)
-
target/linux/control/kmod-parport.control (added)
-
target/linux/control/kmod-ppdev.control (added)
Legend:
- Unmodified
- Added
- Removed
-
mk/modules-2.4.mk
r2f3f542 rd0796d0 5 5 # or at http://www.freewrt.org/license for details. 6 6 7 # parallel port support 8 7 9 $(eval $(call KMOD_template,LP,lp,\ 10 $(MODULES_DIR)/kernel/drivers/char/lp.o \ 11 ,CONFIG_PRINTER,,60,lp)) 12 13 $(eval $(call KMOD_template,PPDEV,ppdev,\ 14 $(MODULES_DIR)/kernel/drivers/char/ppdev.o \ 15 ,CONFIG_PPDEV,,60,ppdev)) 16 17 $(eval $(call KMOD_template,PARPORT,parport,\ 8 18 $(MODULES_DIR)/kernel/drivers/parport/parport.o \ 19 ,CONFIG_PARPORT,,50,parport)) 20 21 $(eval $(call KMOD_template,PARPORT_SPLINK,parport-splink,\ 9 22 $(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \ 10 $(MODULES_DIR)/kernel/drivers/char/lp.o \ 11 $(MODULES_DIR)/kernel/drivers/char/ppdev.o \ 12 ,CONFIG_PARPORT,,50,parport parport_splink lp)) 23 ,CONFIG_PARPORT_SPLINK,,55,parport_splink)) 13 24 14 25 # Networking … … 115 126 # Block devices 116 127 117 $(eval $(call KMOD_template,IDE,ide,\118 $(MODULES_DIR)/kernel/drivers/ide/*.o \119 $(MODULES_DIR)/kernel/drivers/ide/*/*.o \120 ,CONFIG_IDE,,20,pdc202xx_old ide-core ide-detect ide-disk))121 122 128 $(eval $(call KMOD_template,LOOP,loop,\ 123 129 $(MODULES_DIR)/kernel/drivers/block/loop.o \ … … 191 197 192 198 193 # Network devices194 195 $(eval $(call KMOD_template,NET_3C59X,net-3c59x,\196 $(MODULES_DIR)/kernel/drivers/net/3c59x.o \197 ,CONFIG_VORTEX,,10,3c59x))198 199 $(eval $(call KMOD_template,NET_8139TOO,net-8139too,\200 $(MODULES_DIR)/kernel/drivers/net/8139too.o \201 $(MODULES_DIR)/kernel/drivers/net/mii.o \202 ,CONFIG_8139TOO,,10,mii 8139too))203 204 $(eval $(call KMOD_template,NET_AIRO,net-airo,\205 $(MODULES_DIR)/kernel/drivers/net/wireless/airo.o \206 ,CONFIG_AIRO,,10,airo))207 208 $(eval $(call KMOD_template,NET_E100,net-e100,\209 $(MODULES_DIR)/kernel/drivers/net/e100.o \210 ,CONFIG_E100,,10,e100))211 212 $(eval $(call KMOD_template,NET_HERMES,net-hermes,\213 $(MODULES_DIR)/kernel/drivers/net/wireless/hermes.o \214 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco.o \215 ,CONFIG_HERMES,,10,hermes orinoco))216 217 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-pci,\218 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_pci.o \219 ,CONFIG_PCI_HERMES,kmod-net-hermes,11,orinoco_pci))220 221 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-plx,\222 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_plx.o \223 ,CONFIG_PLX_HERMES,kmod-net-hermes,11,orinoco_plx))224 225 $(eval $(call KMOD_template,NET_NATSEMI,net-natsemi,\226 $(MODULES_DIR)/kernel/drivers/net/natsemi.o \227 ,CONFIG_NATSEMI,,10,natsemi))228 229 $(eval $(call KMOD_template,NET_PRISM54,net-prism54,\230 $(MODULES_DIR)/kernel/drivers/net/wireless/prism54/prism54.o \231 ,CONFIG_PRISM54,,10,prism54))232 233 234 199 # PCMCIA/CardBus 235 200 … … 255 220 ,CONFIG_USB_OHCI,kmod-usb-core,60,usb-ohci)) 256 221 257 $(eval $(call KMOD_template,USB_UHCI,usb-uhci,\258 $(MODULES_DIR)/kernel/drivers/usb/host/uhci.o \259 ,CONFIG_USB_UHCI_ALT,kmod-usb-core,60,uhci))260 261 222 $(eval $(call KMOD_template,USB2,usb2,\ 262 223 $(MODULES_DIR)/kernel/drivers/usb/host/ehci-hcd.o \ -
package/Config.in.collections
r2f3f542 rd0796d0 408 408 select FWRT_PACKAGE_OPENVPN_EASY_RSA 409 409 select FWRT_PACKAGE_OSIRISD 410 select FWRT_PACKAGE_OWFS411 410 select FWRT_PACKAGE_P910ND 412 411 select FWRT_PACKAGE_PALANTIR -
package/aiccu/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= aiccu 10 10 PKG_VERSION:= 2005.01.31 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 7c3da5feab3d59fb5a99a45203e0ca56 13 13 PKG_INIT:= 60 -
package/aiccu/files/aiccu.init
r2f3f542 rd0796d0 5 5 case "$1" in 6 6 autostart) 7 test x"$ aiccu" = x"NO" && exit 07 test x"${aiccu:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; -
package/aiccu/ipkg/aiccu.control
r2f3f542 rd0796d0 2 2 Priority: optional 3 3 Section: net 4 Depends: kmod-ipv6, ip,libpthread4 Depends: kmod-ipv6, libpthread 5 5 Description: SixXS Automatic IPv6 Connectivity Client Utility -
package/asterisk/files/asterisk.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ asterisk" = x"NO" && exit 07 test x"${asterisk:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; … … 22 22 ;; 23 23 *) 24 echo "usage: $0 {start | stop restart}"24 echo "usage: $0 {start | stop | restart}" 25 25 exit 1 26 26 ;; -
package/asterisk/ipkg/asterisk-chan-h323.control
r2f3f542 rd0796d0 3 3 Section: net 4 4 Description: H.323 support for Asterisk 5 Depends: asterisk, libpth ead, uclibc++5 Depends: asterisk, libpthread, uclibc++ -
package/bind/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= bind 10 10 PKG_VERSION:= 9.3.1 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 9ff3204eea27184ea0722f37e43fc95d 13 13 PKG_INIT:= 60 -
package/bind/files/named.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 if [ -f /etc/bind/named.conf ]; then 4 named -c /etc/bind/named.conf 5 fi 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"${named:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 if [ -f /etc/bind/named.conf ]; then 12 named -c /etc/bind/named.conf 13 fi 14 ;; 15 stop) 16 killall named 17 ;; 18 restart) 19 $0 stop 20 $0 start 21 ;; 22 *) 23 echo "usage: $0 {start | stop | restart}" 24 exit 1 25 esac 26 exit $? -
package/bitchx/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= bitchx 10 10 PKG_VERSION:= 1.1 11 PKG_RELEASE:= 211 PKG_RELEASE:= 3 12 12 PKG_MD5SUM:= 611d2dda222f00c10140236f4c331572 13 13 PKG_INIT:= 90 -
package/bitchx/files/bitchx.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 # make /tmp/.bitchxrc as many servers ban root 3 if [ ! -e /tmp/.bitchxrc ] 4 then 5 echo "IRCUSER FreeWRT" >/tmp/.bitchxrc 6 echo "IRCNAME FreeWRT User!" >>/tmp/.bitchxrc 7 fi 2 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"${bitchx:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 # make /tmp/.bitchxrc as many servers ban root 12 if [ ! -e /tmp/.bitchxrc ] 13 then 14 echo "IRCUSER FreeWRT" >/tmp/.bitchxrc 15 echo "IRCNAME FreeWRT User!" >>/tmp/.bitchxrc 16 fi 17 ;; 18 stop) 19 rm /tmp/.bitchxrc 20 ;; 21 restart) 22 $0 stop 23 $0 start 24 ;; 25 *) 26 echo "usage: $0 {start | stop | restart}" 27 exit 1 28 esac 29 exit $? -
package/broadcom-nas/Makefile
r2f3f542 rd0796d0 26 26 27 27 $(IPKG_BROADCOM_NAS): 28 $(INSTALL_DIR) $(IDIR_BROADCOM_NAS)/etc/network/if-down.d29 $(INSTALL_DIR) $(IDIR_BROADCOM_NAS)/etc/network/if-up.d30 28 $(INSTALL_DIR) $(IDIR_BROADCOM_NAS)/usr/lib 31 29 $(INSTALL_DIR) $(IDIR_BROADCOM_NAS)/usr/sbin … … 34 32 ln -sf ../sbin/nas $(IDIR_BROADCOM_NAS)/usr/sbin/nas4not 35 33 ln -sf ../sbin/nas $(IDIR_BROADCOM_NAS)/usr/sbin/nas4wds 36 $(CP) ./files/wifi.up $(IDIR_BROADCOM_NAS)/etc/network/if-up.d/wifi37 $(CP) ./files/wifi.down $(IDIR_BROADCOM_NAS)/etc/network/if-down.d/wifi38 34 $(RSTRIP) $(IDIR_BROADCOM_NAS) 39 35 $(IPKG_BUILD) $(IDIR_BROADCOM_NAS) $(PACKAGE_DIR) -
package/broadcom-wl-util/Makefile
r2f3f542 rd0796d0 23 23 $(WRKBUILD)/.built: 24 24 touch $@ 25 25 26 26 $(IPKG_BROADCOM_WL_UTIL): 27 27 $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/usr/sbin 28 $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-down.d 29 $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-up.d 28 30 $(INSTALL_BIN) $(WRKBUILD)/wl $(IDIR_BROADCOM_WL_UTIL)/usr/sbin 29 31 $(IPKG_BUILD) $(IDIR_BROADCOM_WL_UTIL) $(PACKAGE_DIR) 32 $(CP) ./files/wifi-broadcom.up $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-up.d/wifi-broadcom 33 $(CP) ./files/wifi-broadcom.down $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-down.d/wifi-broadcom -
package/broadcom-wl-util/files/wifi-broadcom.down
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 3 [ "$IF_WIFI_TYPE" = "" ] && exit 0 2 # 3 # WiFi configuration script 4 # Copyright (c) 2006 Dirk Nehring <dnehring@freewrt.org> 5 # 6 [ "$IF_WIFI_TYPE" != "broadcom" ] && exit 0 4 7 5 8 wl mac none -
package/busybox/files/crond.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ crond" = x"NO" && exit 07 test x"${crond:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; … … 22 22 *) 23 23 echo "Usage: $0 {start | stop | restart}" 24 exit 1 24 25 ;; 25 26 esac -
package/busybox/files/network.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ network" = x"NO" && exit 07 test x"${network:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; 10 10 start) 11 [ -f /etc/network/interfaces ] || exit 11 [ -f /etc/network/interfaces ] || exit 1 12 12 ifup -a 13 13 ;; … … 21 21 *) 22 22 echo "Usage: $0 {start | stop | restart}" 23 exit 1 23 24 ;; 24 25 esac -
package/busybox/files/syslog.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ syslogd" = x"NO" && exit 07 test x"${syslogd:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; … … 22 22 *) 23 23 echo "Usage: $0 {start | stop | restart}" 24 exit 1 24 25 ;; 25 26 esac -
package/chillispot/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= chillispot 10 10 PKG_VERSION:= 1.0 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 997827a9302a85920cfbc1334092ac0c 13 13 PKG_INIT:= 70 -
package/chillispot/files/chillispot.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 RUN_D=/var/run 4 PID_F=$RUN_D/chilli.pid 3 . /etc/rc.conf 5 4 6 5 case $1 in 7 autostart|start) 8 /sbin/insmod tun >/dev/null 2>&1 9 [ -d $RUN_D ] || mkdir -p $RUN_D 10 /usr/sbin/chilli 11 ;; 12 stop) 13 [ -f $PID_F ] && kill $(cat $PID_F) >/dev/null 2>&1 14 ;; 15 *) 16 echo "usage: $0 (start|stop)" 17 exit 1 6 autostart) 7 test x"${chillispot:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 insmod tun >/dev/null 2>&1 12 chilli 13 ;; 14 stop) 15 killall chilli 16 ;; 17 restart) 18 $0 stop 19 $0 start 20 ;; 21 *) 22 echo "usage: $0 {start | stop | restart}" 23 exit 1 18 24 esac 19 20 25 exit $? -
package/click/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= click 10 10 PKG_VERSION:= cvs.2006.03.02 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 7aed4ba94926010d76febb797b288e98 13 PKG_INIT:= 7014 13 15 14 PKG_SOURCE_URL:= http://pdos.csail.mit.edu/~jbicket/click_snapshots/ 16 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz17 15 18 16 ROOFNET_VERSION:= 0.0.1 … … 76 74 $(CP) $(WRKBUILD)/conf/wifi/read_handler $(IDIR_ROOFNET)/usr/bin 77 75 $(CP) $(WRKBUILD)/conf/wifi/write_handler $(IDIR_ROOFNET)/usr/bin 78 mkdir -p $(IDIR_ROOFNET)/etc/init.d79 install -m 755 ./files/roofnet.init \80 $(IDIR_ROOFNET)/etc/init.d/S$(PKG_INIT)roofnet81 76 $(RSTRIP) $(IDIR_ROOFNET) 82 77 $(IPKG_BUILD) $(IDIR_ROOFNET) $(PACKAGE_DIR) -
package/collectd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= collectd 10 10 PKG_VERSION:= 3.9.4 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 1e5cab09394e0e5a1e5b3f8c923858a3 13 PKG_INIT:= 75 13 14 14 15 PKG_SOURCE_URL:= http://verplant.org/collectd/files 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 95 95 install -d -m0755 $(IDIR_COLLECTD)/var/lib/collectd 96 96 install -d -m0755 $(IDIR_COLLECTD)/var/run 97 $(CP) ./files/collectd.init $(IDIR_COLLECTD)/etc/init.d/S80collectd 97 $(INSTALL_BIN) ./files/collectd.init \ 98 $(IDIR_COLLECTD)/etc/init.d/S$(PKG_INIT)collectd 98 99 $(CP) $(WRKINST)/usr/sbin/collectd $(IDIR_COLLECTD)/usr/sbin/ 99 100 $(CP) $(WRKINST)/usr/lib/collectd/*.so $(IDIR_COLLECTD)/usr/lib/collectd/ -
package/collectd/files/collectd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BINARY="/usr/sbin/collectd" 4 PIDFILE="/var/run/collectd.pid" 5 DATADIR="/var/lib/collectd" 3 . /etc/rc.conf 6 4 7 [ -x "$BINARY" ] || exit 1; 8 9 if [ -e "$PIDFILE" ] 10 then 11 kill $(cat "$PIDFILE") 2>/dev/null 12 sleep 1 13 fi 14 15 [ -d "$DATADIR" ] || mkdir -p "$DATADIR"; 16 17 $BINARY 5 case $1 in 6 autostart) 7 test x"${collectd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 [ -d /var/lib/collectd ] || mkdir -p /var/lib/collectd 12 collectd 13 ;; 14 stop) 15 killall collectd 16 ;; 17 restart) 18 $0 stop 19 $0 start 20 ;; 21 *) 22 echo "Usage: $0 {start | stop | restart}" 23 exit 1 24 ;; 25 esac 26 exit $? -
package/collectd/ipkg/collectd.control
r2f3f542 rd0796d0 2 2 Priority: optional 3 3 Section: console 4 Maintainer: Florian Forster <octo@verplant.org>5 Source: http://verplant.org/collectd/6 4 Description: System statistics collection daemon -
package/cups/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= cups 10 10 PKG_VERSION:= 1.1.23 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 4ce09b1dce09b6b9398af0daae9adf63 13 13 PKG_INIT:= 60 … … 94 94 # install initscript with priority 60 95 95 install -d -m0755 $(IDIR_CUPS)/etc/init.d 96 install -m0755 ./files/cupsd.init $(IDIR_CUPS)/etc/init.d/S$(PKG_INIT)cupsd 96 install -m0755 ./files/cupsd.init \ 97 $(IDIR_CUPS)/etc/init.d/S$(PKG_INIT)cupsd 97 98 find $(IDIR_CUPS) -name CVS | xargs rm -rf 98 99 $(RSTRIP) $(IDIR_CUPS) -
package/cups/files/cupsd.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ cups" = x"NO" && exit 07 test x"${cups:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; -
package/dhcp-forwarder/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= dhcp-forwarder 10 10 PKG_VERSION:= 0.7 11 PKG_RELEASE:= 411 PKG_RELEASE:= 5 12 12 PKG_MD5SUM:= e7f876e615ebc3f96418f6477b4451e2 13 PKG_INIT:= 80 13 14 14 15 PKG_SOURCE_URL:= http://savannah.nongnu.org/download/dhcp-fwd … … 60 61 install -m0644 $(WRKBUILD)/contrib/dhcp-fwd.conf $(IDIR_DHCP_FORWARDER)/etc/ 61 62 install -m0755 -d $(IDIR_DHCP_FORWARDER)/etc/init.d 62 install -m0755 ./files/dhcp-fwd.init $(IDIR_DHCP_FORWARDER)/etc/init.d/dhcp-fwd 63 install -m0755 ./files/dhcp-fwd.init \ 64 $(IDIR_DHCP_FORWARDER)/etc/init.d/S$(PKG_INIT)dhcp-fwd 63 65 install -m0755 -d $(IDIR_DHCP_FORWARDER)/usr/bin 64 66 $(CP) $(WRKINST)/usr/sbin/dhcp-fwd $(IDIR_DHCP_FORWARDER)/usr/bin/ -
package/dhcp-forwarder/files/dhcp-fwd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 LOG_D=/var/log 4 RUN_D=/var/run 5 PID_F=$RUN_D/dhcpd-fwd.pid 3 . /etc/rc.conf 6 4 7 5 case $1 in 8 autostart|start) 9 [ -d $LOG_D ] || mkdir -p $LOG_D 10 [ -d $RUN_D ] || mkdir -p $RUN_D 11 dhcp-fwd 12 ;; 13 stop) 14 [ -f $PID_F ] && kill $(cat $PID_F) 15 ;; 16 *) 17 echo "usage: $0 (start|stop)" 18 exit 1 6 autostart) 7 test x"${dhcp-fwd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 dhcp-fwd 12 ;; 13 stop) 14 killall dhcp-fwd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 19 24 esac 20 21 25 exit $? -
package/dhcp/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= dhcp 10 10 PKG_VERSION:= 3.0.3 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= f91416a0b8ed3fd0601688cf0b7df58f 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= ftp://ftp.isc.org/isc/dhcp/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 44 44 45 45 $(IPKG_DHCP_SERVER): 46 $(INSTALL_DIR) $(IDIR_DHCP_SERVER)/etc/init.d 47 $(INSTALL_BIN) ./files/dhcpd.init \ 48 $(IDIR_DHCP_SERVER)/etc/init.d/S$(PKG_INIT)dhcpd 46 49 install -d -m0755 $(IDIR_DHCP_SERVER)/usr/sbin 47 50 $(CP) $(WRKINST)/usr/sbin/dhcpd $(IDIR_DHCP_SERVER)/usr/sbin/ -
package/dnsmasq/files/dnsmasq.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ dns_dhcp" = x"NO" && exit 07 test x"${dns_dhcp:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; -
package/dropbear/files/dropbear.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ ssh" = x"NO" && exit 07 test x"${ssh:-NO}" = x"NO" && exit 0 8 8 [ -x /usr/sbin/sshd -o x"$openssh" = x"YES" ] && exit 0 9 9 exec $0 start -
package/fakeidentd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= fakeidentd 10 10 PKG_VERSION:= 2.2 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 3aaf9d525da08ae18dd4133de4ff7be3 13 PKG_INIT:= 75 13 14 14 15 PKG_SOURCE_URL:= @openwrt/ … … 27 28 28 29 $(IPKG_FAKEIDENTD): 29 install -d -m0755 $(IDIR_FAKEIDENTD)/usr/sbin \ 30 $(IDIR_FAKEIDENTD)/etc/init.d \ 31 $(IDIR_FAKEIDENTD)/etc/default/ 32 echo $(whoami) > $(IDIR_FAKEIDENTD)/etc/default/$(PKG_NAME) 30 install -d -m0755 $(IDIR_FAKEIDENTD)/usr/sbin 31 install -d -m0755 $(IDIR_FAKEIDENTD)/etc/init.d 33 32 $(CP) $(WRKBUILD)/fakeidentd $(IDIR_FAKEIDENTD)/usr/sbin/ 34 $(CP) ./files/$(PKG_NAME).init $(IDIR_FAKEIDENTD)/etc/init.d/$(PKG_NAME) 33 $(CP) ./files/$(PKG_NAME).init \ 34 $(IDIR_FAKEIDENTD)/etc/init.d/S$(PKG_INIT)$(PKG_NAME) 35 35 $(RSTRIP) $(IDIR_FAKEIDENTD) 36 36 $(IPKG_BUILD) $(IDIR_FAKEIDENTD) $(PACKAGE_DIR) -
package/fakeidentd/files/fakeidentd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 NAME=fakeidentd 3 case "$1" in 4 autostart|start) 5 [ -e $DEFAULT ] && $NAME $DEFAULT 2 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"${fakeidentd:-NO}" = x"NO" && exit 0 8 exec $0 start 6 9 ;; 7 stop)8 killall $NAME 10 start) 11 fakeidentd ${fakeidentd_flags} 9 12 ;; 10 restart) 11 killall $NAME 12 $NAME 13 stop) 14 killall fakeidentd 13 15 ;; 14 *) 15 echo "Usage: $NAME (start|stop|restart)" > 2& 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 16 22 exit 1 17 23 ;; 18 24 esac 25 exit $? -
package/freeradius/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= freeradius 10 10 PKG_VERSION:= 1.1.2 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 6649ac5f9666b4a8cd55a837068ca61e 13 PKG_INIT:= 75 13 14 14 15 PKG_SOURCE_URL:= ftp://ftp.freeradius.org/pub/radius/old \ 15 16 http://freeradius.portal-to-web.de/ \ 16 17 ftp://ftp.uk.freeradius.org/pub/radius/old 17 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz18 18 19 19 PKG_CONFIGURE_OPTIONS := \ … … 187 187 $(IPKG_FREERADIUS): 188 188 install -m0755 -d $(IDIR_FREERADIUS)/etc/init.d 189 install -m0755 ./files/radiusd.init $(IDIR_FREERADIUS)/etc/init.d/radiusd 189 install -m0755 ./files/radiusd.init \ 190 $(IDIR_FREERADIUS)/etc/init.d/S$(PKG_INIT)radiusd 190 191 install -m0755 -d $(IDIR_FREERADIUS)/etc/freeradius 191 192 for f in clients.conf dictionary radiusd.conf; do \ -
package/freeradius/files/radiusd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/radiusd 4 LOG_D=/var/log/radius 5 RUN_D=/var/run 6 PID_F=$RUN_D/radiusd.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 [ -d $LOG_D ] || mkdir -p $LOG_D 12 [ -d $RUN_D ] || mkdir -p $RUN_D 13 radiusd $OPTIONS 14 ;; 15 stop) 16 [ -f $PID_F ] && kill $(cat $PID_F) 17 ;; 18 *) 19 echo "usage: $0 (start|stop)" 20 exit 1 6 autostart) 7 test x"${radiusd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 [ -d /var/log/radius ] || mkdir -p /var/log/radius 12 radiusd 13 ;; 14 stop) 15 killall radiusd 16 ;; 17 restart) 18 $0 stop 19 $0 start 20 ;; 21 *) 22 echo "Usage: $0 {start | stop | restart}" 23 exit 1 24 ;; 21 25 esac 22 23 26 exit $? -
package/freeradius/ipkg/freeradius.conffiles
r2f3f542 rd0796d0 1 1 /etc/freeradius/clients.conf 2 2 /etc/freeradius/radiusd.conf 3 -
package/frickin/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= frickin 10 10 PKG_VERSION:= 1.3 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 5b2e98da2310c71c703d4617b88a173f 13 PKG_INIT:= 75 13 14 14 15 PKG_SOURCE_URL:= @SF/frickin 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 30 30 31 31 $(IPKG_FRICKIN): 32 install -d -m0755 $(IDIR_FRICKIN)/etc/default33 install -m0644 ./files/frickin.default $(IDIR_FRICKIN)/etc/default/frickin34 32 install -d -m0755 $(IDIR_FRICKIN)/etc/init.d 35 install -m0755 ./files/frickin.init $(IDIR_FRICKIN)/etc/init.d/frickin 33 install -m0755 ./files/frickin.init \ 34 $(IDIR_FRICKIN)/etc/init.d/S$(PKG_INIT)frickin 36 35 install -d -m0755 $(IDIR_FRICKIN)/usr/sbin 37 36 install -m0755 $(WRKBUILD)/frickin $(IDIR_FRICKIN)/usr/sbin/ -
package/frickin/files/frickin.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=frickin 4 DEFAULT=/etc/default/$BIN 5 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 6 4 7 5 case $1 in 8 autostart|start) 9 $BIN $OPTIONS & 10 ;; 11 *) 12 echo "usage: $0 (start)" 13 exit 1 6 autostart) 7 test x"${frickin:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 frickin ${frickin_flags} 12 ;; 13 stop) 14 killall frickin 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 14 24 esac 15 16 25 exit $? -
package/gmediaserver/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= gmediaserver 10 10 PKG_VERSION:= 0.9.0 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 93de0f8dcbc1353a0d0dd5b5ab4b3142 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://savannah.nongnu.org/download/gmediaserver/ … … 64 65 65 66 $(IPKG_GMEDIASERVER): 66 install -m0755 -d $(IDIR_GMEDIASERVER)/etc/default67 install -m0644 ./files/gmediaserver.default $(IDIR_GMEDIASERVER)/etc/default/gmediaserver68 67 install -m0755 -d $(IDIR_GMEDIASERVER)/etc/init.d 69 install -m0755 ./files/gmediaserver.init $(IDIR_GMEDIASERVER)/etc/init.d/gmediaserver 68 install -m0755 ./files/gmediaserver.init \ 69 $(IDIR_GMEDIASERVER)/etc/init.d/S$(PKG_INIT)gmediaserver 70 70 install -m0755 -d $(IDIR_GMEDIASERVER)/usr/sbin 71 71 $(CP) $(WRKINST)/usr/bin/gmediaserver $(IDIR_GMEDIASERVER)/usr/sbin/ -
package/gmediaserver/files/gmediaserver.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=gmediaserver 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 $BIN $OPTIONS 12 ;; 13 stop) 14 [ -f $PID_F ] && kill $(cat $PID_F) 15 ;; 16 *) 17 echo "usage: $0 (start|stop)" 18 exit 1 6 autostart) 7 test x"${gmediaserver:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 gmediaserver $gmediaserver_flags 12 ;; 13 stop) 14 killall gmediaserver 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 (start | stop | restart)" 22 exit 1 19 23 esac 20 21 24 exit $? -
package/howl/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= howl 10 10 PKG_VERSION:= 1.0.0 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= c389d3ffba0e69a179de2ec650f1fdcc 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://www.porchdogsoft.com/download/ … … 77 78 install -m0644 ./files/mDNSResponder.conf $(IDIR_MDNSRESPONDER)/etc/mDNSResponder.conf 78 79 install -m0755 -d $(IDIR_MDNSRESPONDER)/etc/init.d 79 install -m0644 ./files/mDNSResponder.init $(IDIR_MDNSRESPONDER)/etc/init.d/mDNSResponder 80 install -m0755 ./files/mDNSResponder.init \ 81 $(IDIR_MDNSRESPONDER)/etc/init.d/S$(PKG_INIT)mdnsresponder 80 82 install -m0755 -d $(IDIR_MDNSRESPONDER)/usr/sbin 81 83 $(CP) $(WRKINST)/usr/bin/mDNSResponder $(IDIR_MDNSRESPONDER)/usr/sbin/ … … 85 87 $(IPKG_AUTOIPD): 86 88 install -m0755 -d $(IDIR_AUTOIPD)/etc/init.d 87 install -m0644 ./files/autoipd.init $(IDIR_AUTOIPD)/etc/init.d/autoipd 89 install -m0755 ./files/autoipd.init \ 90 $(IDIR_AUTOIPD)/etc/init.d/S$(PKG_INIT)autoipd 88 91 install -m0755 -d $(IDIR_AUTOIPD)/usr/sbin 89 92 $(CP) $(WRKINST)/usr/bin/autoipd $(IDIR_AUTOIPD)/usr/sbin/ … … 93 96 $(IPKG_NIFD): 94 97 install -m0755 -d $(IDIR_NIFD)/etc/init.d 95 install -m0644 ./files/nifd.init $(IDIR_NIFD)/etc/init.d/nifd 98 install -m0755 ./files/nifd.init \ 99 $(IDIR_NIFD)/etc/init.d/S$(PKG_INIT)nifd 96 100 install -m0755 -d $(IDIR_NIFD)/usr/sbin 97 101 $(CP) $(WRKINST)/usr/bin/nifd $(IDIR_NIFD)/usr/sbin/ -
package/howl/files/autoipd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/autopid 4 RUN_D=/var/run 5 PID_F=$RUN_D/autoipd.pid 6 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 7 4 8 5 case $1 in 9 autostart|start) 10 [ -d $RUN_D ] || mkdir -p $RUN_D 11 autoipd $OPTIONS 12 ;; 13 stop) 14 [ -f $PID_F ] && kill $(cat $PID_F) 15 ;; 16 *) 17 echo "usage: $0 (start|stop)" 18 exit 1 6 autostart) 7 test x"${autoipd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 autoipd $autoipd_flags 12 ;; 13 stop) 14 killall autoipd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 19 23 esac 20 24 exit $? -
package/howl/files/mDNSResponder.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/mDNSResponder 4 RUN_D=/var/run 5 PID_F=$RUN_D/mDNSResponder.pid 6 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 7 4 8 5 case $1 in 9 autostart|start) 10 [ -d $RUN_D ] || mkdir -p $RUN_D 11 mDNSResponder $OPTIONS 12 ;; 13 stop) 14 [ -f $PID_F ] && kill $(cat $PID_F) 15 ;; 16 *) 17 echo "usage: $0 (start|stop)" 18 exit 1 6 autostart) 7 test x"${mDNSResponder:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 mDNSResponder $mDNSResponder_flags 12 ;; 13 stop) 14 killall mDNSResponder 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 19 23 esac 20 24 exit $? -
package/howl/files/nifd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/nifd 4 RUN_D=/var/run 5 PID_F=$RUN_D/nifd.pid 6 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 [ -d $RUN_D ] || mkdir -p $RUN_D 12 nifd $OPTIONS 13 ;; 14 stop) 15 [ -f $PID_F ] && kill $(cat $PID_F) 16 ;; 17 *) 18 echo "usage: $0 (start|stop)" 19 exit 1 6 autostart) 7 test x"${nifd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 nifd $nifd_flags 12 ;; 13 stop) 14 killall nifd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 20 23 esac 21 24 exit $? -
package/htpdate/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= htpdate 10 10 PKG_VERSION:= 0.9.0 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 12cf883c5619cf4c13a62f77f1a55b54 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://www.clevervest.com/htp/archive/c/ … … 29 30 30 31 $(IPKG_HTPDATE): 31 install -d -m0755 $(IDIR_HTPDATE)/etc/default/32 install -m0644 ./files/htpdate.default $(IDIR_HTPDATE)/etc/default/htpdate33 32 install -d -m0755 $(IDIR_HTPDATE)/etc/init.d/ 34 install -m0755 ./files/htpdate.init $(IDIR_HTPDATE)/etc/init.d/htpdate35 ln -sf htpdate $(IDIR_HTPDATE)/etc/init.d/S49htpdate33 install -m0755 ./files/htpdate.init \ 34 $(IDIR_HTPDATE)/etc/init.d/S$(PKG_INIT)htpdate 36 35 install -d -m0755 $(IDIR_HTPDATE)/usr/sbin 37 36 install -m0755 $(WRKBUILD)/htpdate $(IDIR_HTPDATE)/usr/sbin/ -
package/htpdate/files/htpdate.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=htpdate 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 mkdir -p $RUN_D 12 $BIN -l -s -t $OPTIONS && $BIN -D $OPTIONS 13 ;; 14 stop) 15 [ -f $PID_F ] && kill $(cat $PID_F) 16 ;; 17 *) 18 echo "usage: $0 (start|stop)" 19 exit 1 6 autostart) 7 test x"${htpdate:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 htpdate -l -s -t $htpdate_flags && htpdate -D $htpdate_flags 12 ;; 13 stop) 14 killall htpdate 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 23 20 24 esac 21 22 25 exit $? -
package/iperf/Config.in
r2f3f542 rd0796d0 2 2 prompt "iperf............................. Internet Protocol bandwidth measuring tool" 3 3 tristate 4 default m if CONFIG_DEVEL 4 select FWRT_PACKAGE_UCLIBCXX 5 select FWRT_PACKAGE_LIBGCC 6 default n 5 7 help 6 8 Iperf is a modern alternative for measuring TCP and UDP bandwidth -
package/iptables/files/firewall.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ firewall" = x"NO" && exit 07 test x"${firewall:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; -
package/l2tpd/Makefile
r2f3f542 rd0796d0 10 10 PKG_VERSION:= 0.70pre 11 11 PKG_UPSTREAM_VERSION:= 0.70-pre20031121 12 PKG_RELEASE:= 112 PKG_RELEASE:= 2 13 13 PKG_MD5SUM:= 3f2707b6e16a8cb72e7bf64f574202fa 14 PKG_INIT:= 60 14 15 15 16 PKG_SOURCE_URL:= http://ftp.debian.org/debian/pool/main/l/l2tpd … … 38 39 install -m0644 ./files/options.l2tpd $(IDIR_L2TPD)/etc/ppp/ 39 40 install -d -m0755 $(IDIR_L2TPD)/etc/init.d 40 install -m0755 ./files/l2tpd.init $(IDIR_L2TPD)/etc/init.d/l2tpd 41 install -m0755 ./files/l2tpd.init \ 42 $(IDIR_L2TPD)/etc/init.d/S$(PKG_INIT)l2tpd 41 43 install -d -m0755 $(IDIR_L2TPD)/usr/sbin 42 44 install -m0755 $(WRKBUILD)/$(PKG_NAME) $(IDIR_L2TPD)/usr/sbin/ -
package/l2tpd/files/l2tpd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=l2tpd 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 $BIN $OPTIONS 12 ;; 13 stop) 14 [ -f $PID_F ] && kill $(cat $PID_F) 15 ;; 16 *) 17 echo "usage: $0 (start|stop)" 18 exit 1 6 autostart) 7 test x"${l2tpd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 l2tpd 12 ;; 13 stop) 14 killall l2tpd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 19 23 esac 20 21 24 exit $? -
package/libvorbisidec/Makefile
r2f3f542 rd0796d0 8 8 9 9 PKG_NAME:= libvorbisidec 10 PKG_VERSION:= 1.2.0 -dave11 PKG_RELEASE:= 112 PKG_MD5SUM:= cb8e51aab92ef164f8e0e8853f7164fa10 PKG_VERSION:= 1.2.0 11 PKG_RELEASE:= 2 12 PKG_MD5SUM:= f4a3f6189984014eddfe880c795d2606 13 13 14 PKG_SOURCE_URL:= http://users.tpg.com.au/davico/openwrt/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz 14 PKG_SOURCE_URL:= http://www.freewrt.org/downloads 16 15 17 16 include $(TOPDIR)/mk/package.mk -
package/lighttpd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= lighttpd 10 10 PKG_VERSION:= 1.4.11 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= f55eebb9815c94a7de35906bb557ecd3 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://www.lighttpd.net/download/ … … 118 119 install -m0755 -d $(IDIR_LIGHTTPD)/etc 119 120 install -m0644 ./files/lighttpd.conf $(IDIR_LIGHTTPD)/etc/ 120 install -m0755 -d $(IDIR_LIGHTTPD)/etc/default121 install -m0644 ./files/lighttpd.default $(IDIR_LIGHTTPD)/etc/default/lighttpd122 121 install -m0755 -d $(IDIR_LIGHTTPD)/etc/init.d 123 install -m0755 ./files/lighttpd.init $(IDIR_LIGHTTPD)/etc/init.d/lighttpd 122 install -m0755 ./files/lighttpd.init \ 123 $(IDIR_LIGHTTPD)/etc/init.d/S$(PKG_INIT)lighttpd 124 124 install -m0755 -d $(IDIR_LIGHTTPD)/usr/lib/lighttpd 125 125 for m in dirlisting indexfile staticfile; do \ -
package/lighttpd/files/lighttpd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=lighttpd 4 DEFAULT=/etc/default/$BIN 5 LOG_D=/var/log/$BIN 6 RUN_D=/var/run 7 PID_F=$RUN_D/$BIN.pid 8 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 9 4 10 5 case $1 in 11 autostart|start) 12 mkdir -p $LOG_D 13 mkdir -p $RUN_D 14 $BIN $OPTIONS 15 ;; 16 stop) 17 [ -f $PID_F ] && kill $(cat $PID_F) 18 ;; 19 *) 20 echo "usage: $0 (start|stop)" 21 exit 1 6 autostart) 7 test x"${lighttpd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 lighttpd $lighttpd_flags 12 ;; 13 stop) 14 killall lighttpd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 22 23 esac 23 24 24 exit $? -
package/lighttpd/ipkg/lighttpd-mod-webdav.control
r2f3f542 rd0796d0 2 2 Priority: optional 3 3 Section: net 4 Depends: lighttpd, libxml2, libsqlite 4 5 Description: a webdav module for lighttpd 5 Depends: lighttpd, libxml2, sqlite -
package/lighttpd/ipkg/lighttpd.conffiles
r2f3f542 rd0796d0 1 1 /etc/lighttpd.conf 2 /etc/default/lighttpd3 /etc/init.d/lighttpd -
package/madwifi/Makefile
r2f3f542 rd0796d0 79 79 mkdir -p $(IDIR_KMOD_MADWIFI)/lib/modules/$(KERNEL_VERSION) 80 80 mkdir -p $(IDIR_KMOD_MADWIFI)/usr/sbin 81 mkdir -p $(IDIR_KMOD_MADWIFI)/etc/network/if-down.d 82 mkdir -p $(IDIR_KMOD_MADWIFI)/etc/network/if-up.d 81 83 install -m0644 ./files/madwifi.modules $(IDIR_KMOD_MADWIFI)/etc/modules.d/20-madwifi 82 84 $(CP) $(WRKBUILD)/net80211/wlan*.$(KERNEL_MOD_SUFFIX) \ … … 87 89 $(IDIR_KMOD_MADWIFI)/lib/modules/$(KERNEL_VERSION)/ 88 90 $(CP) $(WRKBUILD)/tools/{madwifi_multi,80211debug,80211stats,athchans,athctrl,athdebug,athkey,athstats,wlanconfig} $(IDIR_KMOD_MADWIFI)/usr/sbin/ 91 $(CP) ./files/wifi-atheros.up $(IDIR_KMOD_MADWIFI)/etc/network/if-up.d/wifi-atheros 92 $(CP) ./files/wifi-atheros.down $(IDIR_KMOD_MADWIFI)/etc/network/if-down.d/wifi-atheros 89 93 $(IPKG_BUILD) $(IDIR_KMOD_MADWIFI) $(PACKAGE_DIR) 90 94 -
package/mini_httpd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= mini-httpd 10 10 PKG_VERSION:= 1.19 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 7c68293ad265ecfe2edea917912f6f1f 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://www.acme.com/software/mini_httpd/ … … 67 68 install -d -m0755 $(IDIR_MINI_HTTPD)/etc 68 69 install -m0644 ./files/mini_httpd.conf $(IDIR_MINI_HTTPD)/etc/mini_httpd.conf 69 install -d -m0755 $(IDIR_MINI_HTTPD)/etc/default70 install -m0644 ./files/mini_httpd.default $(IDIR_MINI_HTTPD)/etc/default/mini_httpd71 70 install -d -m0755 $(IDIR_MINI_HTTPD)/etc/init.d 72 71 install -m0755 ./files/mini_httpd.init $(IDIR_MINI_HTTPD)/etc/init.d/mini_httpd … … 86 85 install -m0644 ./files/mini_httpd-ssl.conf $(IDIR_MINI_HTTPD_MATRIXSSL)/etc/mini_httpd.conf 87 86 install -m0600 ./files/mini_httpd.pem $(IDIR_MINI_HTTPD_MATRIXSSL)/etc/ 88 install -d -m0755 $(IDIR_MINI_HTTPD_MATRIXSSL)/etc/default89 install -m0644 ./files/mini_httpd.default $(IDIR_MINI_HTTPD_MATRIXSSL)/etc/default/mini_httpd90 87 install -d -m0755 $(IDIR_MINI_HTTPD_MATRIXSSL)/etc/init.d 91 88 install -m0755 ./files/mini_httpd.init $(IDIR_MINI_HTTPD_MATRIXSSL)/etc/init.d/mini_httpd … … 99 96 install -m0644 ./files/mini_httpd-ssl.conf $(IDIR_MINI_HTTPD_OPENSSL)/etc/mini_httpd.conf 100 97 install -m0600 ./files/mini_httpd.pem $(IDIR_MINI_HTTPD_OPENSSL)/etc/ 101 install -d -m0755 $(IDIR_MINI_HTTPD_OPENSSL)/etc/default102 install -m0644 ./files/mini_httpd.default $(IDIR_MINI_HTTPD_OPENSSL)/etc/default/mini_httpd103 98 install -d -m0755 $(IDIR_MINI_HTTPD_OPENSSL)/etc/init.d 104 install -m0755 ./files/mini_httpd.init $(IDIR_MINI_HTTPD_OPENSSL)/etc/init.d/mini_httpd 99 install -m0755 ./files/mini_httpd.init \ 100 $(IDIR_MINI_HTTPD_OPENSSL)/etc/init.d/S$(PKG_INIT)mini_httpd 105 101 install -d -m0755 $(IDIR_MINI_HTTPD_OPENSSL)/usr/sbin 106 102 install -m0755 $(WRKBUILD)/mini_httpd-openssl $(IDIR_MINI_HTTPD_OPENSSL)/usr/sbin/mini_httpd -
package/mini_httpd/files/mini_httpd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=mini_httpd 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 [ -d $RUN_D ] || mkdir -p $RUN_D 12 $BIN $OPTIONS 2>/dev/null 13 ;; 14 stop) 15 [ -f $PID_F ] && kill $(cat $PID_F) 16 ;; 17 restart) 18 $0 stop 19 $0 start 20 ;; 21 *) 22 echo "usage: $0 (start|stop|restart)" 23 exit 1 6 autostart) 7 test x"${mini_httpd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 mini_httpd $mini_httpd_flags 12 ;; 13 stop) 14 killall mini_httpd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 24 23 esac 25 26 24 exit $? -
package/mini_httpd/ipkg/mini-httpd-matrixssl.conffiles
r2f3f542 rd0796d0 1 /etc/default/mini_httpd2 1 /etc/mini_httpd.conf 3 2 /etc/mini_httpd.pem -
package/mini_httpd/ipkg/mini-httpd-openssl.conffiles
r2f3f542 rd0796d0 1 /etc/default/mini_httpd2 1 /etc/mini_httpd.conf 3 2 /etc/mini_httpd.pem -
package/mini_httpd/ipkg/mini-httpd.conffiles
r2f3f542 rd0796d0 1 /etc/default/mini_httpd2 1 /etc/mini_httpd.conf -
package/miredo/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= miredo 10 10 PKG_VERSION:= 0.5.3 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= bbbbf60db1346af0bbba6602067ed7ab 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://people.via.ecp.fr/~rem/miredo/v0.5/ … … 73 74 $(CP) $(WRKINST)/etc/miredo.conf-dist $(IDIR_MIREDO)/etc/miredo.conf 74 75 install -d -m0755 $(IDIR_MIREDO)/etc/init.d 75 install -m0755 ./files/miredo.init $(IDIR_MIREDO)/etc/init.d/miredo 76 install -m0755 ./files/miredo.init \ 77 $(IDIR_MIREDO)/etc/init.d/S$(PKG_INIT)miredo 76 78 install -d -m0755 $(IDIR_MIREDO)/usr/sbin 77 79 $(CP) $(WRKINST)/usr/sbin/miredo $(IDIR_MIREDO)/usr/sbin/ … … 83 85 $(CP) $(WRKINST)/etc/miredo-server.conf-dist $(IDIR_MIREDO_SERVER)/etc/miredo-server.conf 84 86 install -d -m0755 $(IDIR_MIREDO_SERVER)/etc/init.d 85 install -m0755 ./files/miredo-server.init $(IDIR_MIREDO_SERVER)/etc/init.d/miredo-server 87 install -m0755 ./files/miredo-server.init \ 88 $(IDIR_MIREDO_SERVER)/etc/init.d/S$(PKG_INIT)miredo-server 86 89 install -d -m0755 $(IDIR_MIREDO_SERVER)/usr/sbin 87 90 $(CP) $(WRKINST)/usr/sbin/miredo-server $(IDIR_MIREDO_SERVER)/usr/sbin/ -
package/miredo/files/miredo-server.init
r2f3f542 rd0796d0 6 6 PID_F=$RUN_D/$BIN.pid 7 7 [ -f $DEFAULT ] && . $DEFAULT 8 . /etc/rc.conf 8 9 9 10 case $1 in 10 autostart|start) 11 [ -d $RUN_D ] || mkdir -p $RUN_D 12 insmod ipv6 13 insmod tun 14 $BIN $OPTIONS 15 ;; 16 stop) 17 [ -f $PID_F ] && kill $(cat $PID_F) 18 ;; 19 restart) 20 $0 stop 21 $0 start 22 ;; 23 *) 24 echo "usage: $0 (start|stop|restart)" 25 exit 1 11 autostart) 12 test x"${miredo-server:-NO}" = x"NO" && exit 0 13 exec $0 start 14 ;; 15 start) 16 insmod ipv6 17 insmod tun 18 miredo-server 19 ;; 20 stop) 21 killall miredo-server 22 ;; 23 restart) 24 $0 stop 25 $0 start 26 ;; 27 *) 28 echo "usage: $0 {start | stop | restart}" 29 exit 1 26 30 esac 27 28 31 exit $? -
package/miredo/files/miredo.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=miredo 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 [ -d $RUN_D ] || mkdir -p $RUN_D 12 insmod ipv6 13 insmod tun 14 $BIN $OPTIONS 15 ;; 16 stop) 17 [ -f $PID_F ] && kill $(cat $PID_F) 18 ;; 19 restart) 20 $0 stop 21 $0 start 22 ;; 23 *) 24 echo "usage: $0 (start|stop|restart)" 25 exit 1 6 autostart) 7 test x"${miredo:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 insmod ipv6 12 insmod tun 13 miredo 14 ;; 15 stop) 16 killall miredo 17 ;; 18 restart) 19 $0 stop 20 $0 start 21 ;; 22 *) 23 echo "usage: $0 {start | stop | restart}" 24 exit 1 26 25 esac 27 28 26 exit $? -
package/mrd6/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= mrd6 10 10 PKG_VERSION:= 0.9.5 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 24a08cf1407000d628a272b08a415dda 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://hng.av.it.pt/mrd6/download/ … … 36 37 install -d -m0755 $(WRKINST)/etc/init.d 37 38 install -m0644 files/$(PKG_NAME).conf $(WRKINST)/etc 38 install -m0755 files/$(PKG_NAME).init $(WRKINST)/etc/init.d/S 60$(PKG_NAME)39 install -m0755 files/$(PKG_NAME).init $(WRKINST)/etc/init.d/S$(PKG_INIT)$(PKG_NAME) 39 40 touch $@ 40 41 -
package/mrd6/files/mrd6.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 . /etc/rc.conf 4 3 5 case $1 in 4 autostart|start) 6 autostart) 7 test x"${mrd6:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 5 11 /sbin/lsmod | grep ipv6 > /dev/null 6 12 if [ "$?" != "0" ] -
package/mrd6/ipkg/mrd6.control
r2f3f542 rd0796d0 3 3 Section: net 4 4 Priority: optional 5 Depends: kmod-ipv6 , libnotimpl5 Depends: kmod-ipv6 6 6 Description: IPv6 multicast routing daemon -
package/mt-daapd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= mt-daapd 10 10 PKG_VERSION:= 0.2.4 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 2e1cdbe6b94ef153e915806f80a28dca 13 PKG_INIT:= 75 13 14 14 15 PKG_SOURCE_URL:= @SF/mt-daapd 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 71 71 install -m0644 $(WRKBUILD)/contrib/mt-daapd.playlist $(IDIR_MT_DAAPD)/etc/ 72 72 install -m0755 -d $(IDIR_MT_DAAPD)/etc/init.d 73 install -m0755 ./files/mt-daapd.init $(IDIR_MT_DAAPD)/etc/init.d/mt-daapd 73 install -m0755 ./files/mt-daapd.init \ 74 $(IDIR_MT_DAAPD)/etc/init.d/S$(PKG_INIT)mt-daapd 74 75 install -m0755 -d $(IDIR_MT_DAAPD)/usr/share 75 76 $(CP) $(WRKINST)/usr/share/mt-daapd $(IDIR_MT_DAAPD)/usr/share/ -
package/mt-daapd/files/mt-daapd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=mt-daapd 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 [ -d $RUN_D ] || mkdir -p $RUN_D 12 $BIN $OPTIONS 13 ;; 14 stop) 15 [ -f $PID_F ] && kill -INT $(cat $PID_F) 16 ;; 17 *) 18 echo "usage: $0 (start|stop)" 19 exit 1 6 autostart) 7 test x"${mt-daapd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 mt-daapd 12 ;; 13 stop) 14 killall mt-daapd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 20 24 esac 21 22 25 exit $? -
package/mtd/Config.in
r2f3f542 rd0796d0 12 12 Update utility for trx firmware images. 13 13 14 config FWRT_PACKAGE_MTD_STATIC15 prompt "mtd-static........................ Update utility for trx firmware images (statically linked)"16 tristate17 default n18 help19 Update utility for trx firmware images (statically linked). To update20 from other firmware or older incompatible releases.21 -
package/mtd/Makefile
r2f3f542 rd0796d0 17 17 18 18 $(eval $(call PKG_template,MTD,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 19 $(eval $(call PKG_template,MTD_STATIC,mtd-static,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))20 19 21 20 $(WRKBUILD)/.prepared: … … 28 27 $(WRKBUILD)/.built: 29 28 $(TARGET_CC) $(TARGET_CFLAGS) -o $(WRKBUILD)/mtd mtd.c 30 $(TARGET_CC) -static $(TARGET_CFLAGS) -o $(WRKBUILD)/mtd-static mtd.c31 29 touch $@ 32 30 … … 36 34 $(RSTRIP) $(IDIR_MTD) 37 35 $(IPKG_BUILD) $(IDIR_MTD) $(PACKAGE_DIR) 38 39 $(IPKG_MTD_STATIC):40 $(INSTALL_DIR) $(IDIR_MTD_STATIC)/sbin41 $(INSTALL_BIN) $(WRKBUILD)/mtd-static $(IDIR_MTD_STATIC)/sbin42 $(RSTRIP) $(IDIR_MTD_STATIC)43 $(IPKG_BUILD) $(IDIR_MTD_STATIC) $(PACKAGE_DIR) -
package/netperf/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= netperf 10 10 PKG_VERSION:= 2.3pl1 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= b74314d78af31cb13516fb9a372d2e86 13 PKG_INIT:= 70 13 14 14 15 PKG_SOURCE_URL:= ftp://ftp.netperf.org/netperf/archive/ \ 15 16 ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/ 16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz17 17 18 18 include $(TOPDIR)/mk/package.mk … … 34 34 $(IPKG_NETPERF): 35 35 install -d -m0755 $(IDIR_NETPERF)/etc/init.d 36 install -m0755 ./files/netserver.init $(IDIR_NETPERF)/etc/init.d/S51netserver 36 install -m0755 ./files/netserver.init \ 37 $(IDIR_NETPERF)/etc/init.d/S$(PKG_INIT)netserver 37 38 install -d -m0755 $(IDIR_NETPERF)/usr/bin 38 39 install -m0755 $(WRKBUILD)/netperf $(IDIR_NETPERF)/usr/bin/ -
package/netperf/files/netserver.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 test -n "$FAILSAFE" && exit 3 /usr/bin/netserver 2 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"${netserver:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 netserver 12 ;; 13 stop) 14 killall netserver 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 24 esac 25 exit $? -
package/netperf/ipkg/netperf.control
r2f3f542 rd0796d0 1 1 Package: netperf 2 2 Priority: optional 3 Version: 2.3pl1 4 Section: network 5 Architecture: mipsel 6 Maintainer: Barnabas Kalman <barnik@vescont.com> 7 Source: ftp://ftp.cup.hp.com/dist/networking/benchmarks/ 3 Section: net 8 4 Description: Program and service to do network performance measurement. 9 -
package/nfs-server/Config.in
r2f3f542 rd0796d0 2 2 prompt "nfs-server........................ User Space NFS server" 3 3 tristate 4 default m if CONFIG_DEVEL4 default n 5 5 select FWRT_PACKAGE_PORTMAP 6 6 help 7 User Space NFS Server 8 7 This package contains all necessary programs to make your Linux machine 8 act as an NFS server, being an NFS daemon (rpc.nfsd), a mount daemon (rpc.mountd). 9 Unlike other NFS daemons, this NFS server runs entirely in user space. This 10 makes it a tad slower than other NFS implementations, and also introduces some 11 awkwardnesses in the semantics (for instance, moving a file to a different 12 directory will render its file handle invalid). There is currently no support 13 for file locking. -
package/nfs-server/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= nfs-server 10 10 PKG_VERSION:= 2.2beta47 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 79a29fe9f79b2f3241d4915767b8c511 13 PKG_INIT:= 65 13 14 14 15 PKG_SOURCE_URL:= http://ftp.debian.org/debian/pool/main/n/nfs-user-server … … 55 56 install -m0644 ./files/nfsd.exports $(IDIR_NFS_SERVER)/etc/exports 56 57 install -d -m0755 $(IDIR_NFS_SERVER)/etc/init.d 57 install -m0755 ./files/nfsd.init $(IDIR_NFS_SERVER)/etc/init.d/S60nfsd 58 install -m0755 ./files/nfsd.init \ 59 $(IDIR_NFS_SERVER)/etc/init.d/S$(PKG_INIT)nfsd 58 60 install -d -m0755 $(IDIR_NFS_SERVER)/usr/sbin 59 61 install -m0755 $(WRKBUILD)/rpc.* $(IDIR_NFS_SERVER)/usr/sbin/ -
package/nfs-server/files/nfsd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 /usr/sbin/portmap 3 /usr/sbin/rpc.mountd -r 4 /usr/sbin/rpc.nfsd 2 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"${nfsd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 /usr/sbin/rpc.mountd -r 12 /usr/sbin/rpc.nfsd 13 ;; 14 stop) 15 killall rpc.nfsd 16 killall rpc.mountd 17 ;; 18 restart) 19 $0 stop 20 $0 start 21 ;; 22 *) 23 echo "Usage: $0 {start | stop | restart}" 24 exit 1 25 ;; 26 esac 27 exit $? -
package/nfs-server/ipkg/nfs-server.control
r2f3f542 rd0796d0 4 4 Depends: portmap 5 5 Description: User space NFS server 6 This package contains all necessary programs to make your Linux machine act7 as an NFS server, being an NFS daemon (rpc.nfsd), a mount daemon (rpc.mountd).8 .9 Unlike other NFS daemons, this NFS server runs entirely in user space. This10 makes it a tad slower than other NFS implementations, and also introduces11 some awkwardnesses in the semantics (for instance, moving a file to a12 different directory will render its file handle invalid).13 .14 There is currently no support for file locking. -
package/olsrd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= olsrd 10 10 PKG_VERSION:= 0.4.10 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 9807d4451e65cb4ec385155eef7bf3cf 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://www.olsr.org/releases/0.4 … … 66 67 $(CP) $(WRKINST)/usr/sbin/olsrd $(IDIR_OLSRD)/usr/sbin/ 67 68 install -d -m0755 $(IDIR_OLSRD)/etc/init.d 68 install -m0755 ./files/olsrd.init $(IDIR_OLSRD)/etc/init.d/S60olsrd 69 install -m0755 ./files/olsrd.init \ 70 $(IDIR_OLSRD)/etc/init.d/S$(PKG_INIT)olsrd 69 71 $(RSTRIP) $(IDIR_OLSRD) 70 72 $(IPKG_BUILD) $(IDIR_OLSRD) $(PACKAGE_DIR) -
package/olsrd/files/olsrd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/olsrd 4 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 5 4 6 5 case $1 in 7 autostart|start) 8 olsrd $OPTIONS 9 ;; 10 *) 11 echo "usage: $0 (start)" 12 exit 1 6 autostart) 7 test x"${olsrd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 olsrd 12 ;; 13 restart) 14 $0 stop 15 $0 start 16 ;; 17 *) 18 echo "usage: $0 {start | stop | restart}" 19 exit 1 13 20 esac 14 15 21 exit $? -
package/openntpd/files/ntpd.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ ntpd_flags" = x"NO" && exit 07 test x"${ntpd:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; 10 10 start) 11 11 mkdir -p /tmp/.ntp 12 [ x"$ntpd_flags" = x"NO" ] ||/usr/sbin/ntpd $ntpd_flags12 /usr/sbin/ntpd $ntpd_flags 13 13 ;; 14 14 stop) -
package/openntpd/ipkg/openntpd.postinst
r2f3f542 rd0796d0 23 23 add_user ntp $(get_next_uid) $gid /tmp/.ntp 24 24 add_service ntp 123/udp 25 add_rcconf openntpd ntpd_flags -s 25 add_rcconf openntpd ntpd NO 26 add_rcconf openntpd ntpd_flags "\"-s\"" -
package/openssh/files/sshd.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ openssh" = x"NO" && exit 07 test x"${openssh:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; -
package/osiris/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= osiris 10 10 PKG_VERSION:= 4.2.0 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= ad30995660e506ee6d1d6460601f6107 13 PKG_INIT:= 75 13 14 14 15 PKG_SOURCE_URL:= http://www.hostintegrity.com/osiris/data/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 66 66 $(IPKG_OSIRISD): 67 67 install -d -m0755 $(IDIR_OSIRISD)/etc/init.d 68 install -m0755 ./files/osirisd.init $(IDIR_OSIRISD)/etc/init.d/osirisd 68 install -m0755 ./files/osirisd.init \ 69 $(IDIR_OSIRISD)/etc/init.d/S$(PKG_INIT)osirisd 69 70 install -d -m0755 $(IDIR_OSIRISD)/usr/sbin 70 71 $(CP) $(WRKINST)/usr/sbin/osirisd $(IDIR_OSIRISD)/usr/sbin/ -
package/osiris/files/osirisd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=osirisd 4 DEFAULT=/etc/default/$BIN 5 LIB_D=/var/lib/osiris 6 RUN_D=/var/run 7 PID_F=$RUN_D/$BIN.pid 8 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 9 4 10 5 case $1 in 11 autostart|start) 12 mkdir -p $LIB_D 13 mkdir -p $RUN_D 14 $BIN $OPTIONS 15 ;; 16 stop) 17 [ -f $PID_F ] && kill $(cat $PID_F) 18 ;; 19 *) 20 echo "usage: $0 (start|stop)" 21 exit 1 6 autostart) 7 test x"${osirisd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 [ -d /var/lib/osiris ] || mkdir -p /var/lib/osiris 12 osirisd 13 ;; 14 stop) 15 killall osirisd 16 ;; 17 restart) 18 $0 stop 19 $0 start 20 ;; 21 *) 22 echo "Usage: $0 {start | stop | restart}" 23 exit 1 24 ;; 22 25 esac 23 26 exit $? -
package/p910nd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= p910nd 10 10 PKG_VERSION:= 0.7 11 PKG_RELEASE:= 211 PKG_RELEASE:= 3 12 12 PKG_MD5SUM:= 7bf752532d26c9106f8039db95df3a6b 13 13 PKG_INIT:= 70 … … 30 30 31 31 $(IPKG_P910ND): 32 install -d -m0755 $(IDIR_P910ND)/etc/default33 install -m0644 ./files/p910nd.default $(IDIR_P910ND)/etc/default/p910nd34 32 install -d -m0755 $(IDIR_P910ND)/etc/init.d 35 install -m0755 ./files/p910nd.init $(IDIR_P910ND)/etc/init.d/S$(PKG_INIT)p910nd 33 install -m0755 ./files/p910nd.init \ 34 $(IDIR_P910ND)/etc/init.d/S$(PKG_INIT)p910nd 36 35 install -d -m0755 $(IDIR_P910ND)/usr/sbin 37 36 $(CP) $(WRKBUILD)/p910nd $(IDIR_P910ND)/usr/sbin -
package/p910nd/files/p910nd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/p910nd 4 RUN_D=/var/run 5 6 _start() { 7 mkdir -p $RUN_D 8 [ -f $DEFAULT ] && ( 9 while read port options; do 10 case "$port" in 11 ""|\#*) 12 continue; 13 esac 14 p910nd $options $port 15 if [ $? -ne 0 ]; then 16 exit 1 17 fi 18 done 19 ) < $DEFAULT 20 exit 0 21 } 22 23 _stop() { 24 [ -f $DEFAULT ] && ( 25 while read port options; do 26 case "$port" in 27 ""|\#*) 28 continue; 29 esac 30 PID_F=$RUN_D/p910${port}d.pid 31 [ -f $PID_F ] && kill $(cat $PID_F) 32 done 33 ) < $DEFAULT 34 } 3 . /etc/rc.conf 35 4 36 5 case $1 in 37 autostart|start) 38 _start 39 ;; 40 stop) 41 _stop 42 ;; 43 *) 44 echo "usage: $0 (start|stop)" 45 exit 1 6 autostart) 7 test x"${p910nd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 p910nd $p910nd_flags 12 ;; 13 stop) 14 killall p910nd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 46 24 esac 47 25 exit $? -
package/parprouted/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= parprouted 10 10 PKG_VERSION:= 0.63 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 12753098a22e82997d1941d6d2284750 13 PKG_INIT:= 75 13 14 14 15 PKG_SOURCE_URL:= http://www.hazard.maks.net/parprouted/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 29 29 30 30 $(IPKG_PARPROUTED): 31 install -d -m0755 $(IDIR_PARPROUTED)/etc/default32 install -m0755 ./files/parprouted.default $(IDIR_PARPROUTED)/etc/default/parprouted33 31 install -d -m0755 $(IDIR_PARPROUTED)/etc/init.d 34 install -m0755 ./files/parprouted.init $(IDIR_PARPROUTED)/etc/init.d/parprouted35 ln -sf parprouted $(IDIR_PARPROUTED)/etc/init.d/S50parpouted32 install -m0755 ./files/parprouted.init \ 33 $(IDIR_PARPROUTED)/etc/init.d/S$(PKG_INIT)parprouted 36 34 install -d -m0755 $(IDIR_PARPROUTED)/usr/sbin 37 35 install -m0755 $(WRKBUILD)/parprouted $(IDIR_PARPROUTED)/usr/sbin/ -
package/parprouted/files/parprouted.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=parprouted 4 DEFAULT=/etc/default/$BIN 5 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 6 4 7 5 case $1 in 8 autostart|start) 9 $BIN $OPTIONS 10 ;; 11 *) 12 echo "usage: $0 (start)" 13 exit 1 6 autostart) 7 test x"${parprouted:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 parprouted ${parprouted_flags} 12 ;; 13 stop) 14 killall parprouted 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 14 24 esac 15 16 25 exit $? -
package/peercast/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= peercast 10 10 PKG_VERSION:= 0.1214 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 4e8449cde7135ad97f788e67e1bd64ee 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://www.cti.ecp.fr/~beauxir5/peercast … … 70 71 install -m0644 ./files/peercast.ini $(IDIR_PEERCAST)/etc/ 71 72 install -m0755 -d $(IDIR_PEERCAST)/etc/init.d 72 install -m0755 ./files/peercast.init $(IDIR_PEERCAST)/etc/init.d/peercast73 ln -sf peercast $(IDIR_PEERCAST)/etc/init.d/S60peercast73 install -m0755 ./files/peercast.init \ 74 $(IDIR_PEERCAST)/etc/init.d/S$(PKG_INIT)peercast 74 75 $(RSTRIP) $(IDIR_PEERCAST) 75 76 $(IPKG_BUILD) $(IDIR_PEERCAST) $(PACKAGE_DIR) -
package/peercast/files/peercast.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 PID_F=/var/run/peercast.pid 3 . /etc/rc.conf 4 4 5 5 case $1 in 6 autostart|start) 7 peercast -d -i /etc/peercast.ini -l /var/log/peercast.log -p $PID_F 8 ;; 9 stop) 10 [ -f $PID_F ] && kill $(cat $PID_F) >/dev/null 2>&1 11 ;; 12 *) 13 echo "usage: $0 (start|stop)" 14 exit 1 6 autostart) 7 test x"${peercast:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 peercast -d -i /etc/peercast.ini -l /var/log/peercast.log 12 ;; 13 stop) 14 killall peercast 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 15 23 esac 16 17 24 exit $? 18 25 -
package/peerguardian/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= peerguardian 10 10 PKG_VERSION:= 1.5beta 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 0fb2bc5501b031604fc56eec3bd35fa4 13 PKG_INIT:= 80 13 14 14 15 PKG_SOURCE_URL:= @SF/peerguardian … … 51 52 install -m0644 $(WRKBUILD)/PG.conf $(WRKINST)/etc/ 52 53 install -m0644 $(WRKBUILD)/p2p.p2b.p2p $(WRKINST)/etc/ 53 install -m0644 files/$(PKG_NAME).init $(WRKINST)/etc/init.d/$(PKG_NAME) 54 install -m0755 files/$(PKG_NAME).init \ 55 $(WRKINST)/etc/init.d/S$(PKG_INIT)$(PKG_NAME) 54 56 touch $@ 55 57 -
package/peerguardian/files/peerguardian.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=pgtext 4 DEFAULT=/etc/default/$BIN 5 [ -f $DEFAULT ] && . $DEFAULT 6 RUN_D=/var/run 7 PID_F=$RUN_D/$BIN_${IF}_${ID}.pid 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 $BIN $OPTIONS 12 ;; 13 stop) 14 [ -f $PID_F ] && kill $(cat $PID_F) >/dev/null 2>&1 15 ;; 16 *) 17 echo "usage: $0 (start|stop)" 18 exit 1 6 autostart) 7 test x"${peerguardian:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 pgtext 12 ;; 13 stop) 14 killall pgtext 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 19 24 esac 20 21 25 exit $? -
package/peerguardian/ipkg/peerguardian.control
r2f3f542 rd0796d0 1 1 Package: peerguardian 2 Architecture: mipsel2 Priority: optional 3 3 Section: net 4 Depends: libpthread, libstdc++4 Depends: libpthread, uclibc++ 5 5 Description: PeerGuardian helps protect your privacy by blocking many ranges of aggressive IPs while you use P2P. 6 Priority: optional -
package/php4/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= php 10 10 PKG_VERSION:= 4.3.11 11 PKG_RELEASE:= 211 PKG_RELEASE:= 3 12 12 PKG_MD5SUM:= fbc67d240812136a9842bc1f2a217b7a 13 PKG_INIT:= 80 13 14 14 15 PKG_SOURCE_URL:= http://fr.php.net/distributions/ … … 278 279 install -m0644 ./files/php.ini $(IDIR_PHP4_FASTCGI)/etc/ 279 280 install -m0755 -d $(IDIR_PHP4_FASTCGI)/etc/init.d 280 install -m0755 ./files/php.init $(IDIR_PHP4_FASTCGI)/etc/init.d/php 281 install -m0755 ./files/php.init \ 282 $(IDIR_PHP4_FASTCGI)/etc/init.d/S$(PKG_INIT)php 281 283 install -m0755 -d $(IDIR_PHP4_FASTCGI)/usr/sbin 282 284 $(CP) $(WRKBUILD)/php-fastcgi $(IDIR_PHP4_FASTCGI)/usr/sbin/php -
package/php4/files/php.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 . /etc/rc.conf 4 3 5 export PHP_FCGI_CHILDREN='' 4 PORT=10265 BIN=/usr/sbin/php6 6 7 7 case $1 in 8 autostart|start) 9 $BIN -b $PORT & 10 ;; 11 stop) 12 kill `pidof php` 13 ;; 14 *) 15 echo "usage: $0 (start|stop)" 16 exit 1 8 autostart) 9 test x"${php:-NO}" = x"NO" && exit 0 10 exec $0 start 11 ;; 12 start) 13 php ${php_flags} & 14 ;; 15 stop) 16 killall php 17 ;; 18 restart) 19 $0 stop 20 $0 start 21 ;; 22 *) 23 echo "Usage: $0 {start | stop | restart}" 24 exit 1 25 ;; 17 26 esac 18 19 27 exit $? -
package/php4/ipkg/php4-fastcgi.conffiles
r2f3f542 rd0796d0 1 1 /etc/php.ini 2 /etc/init.d/php -
package/php5/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= php 10 10 PKG_VERSION:= 5.0.5 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= b5d4ca75bbb11ee5b830fa67213d9f7f 13 PKG_INIT:= 80 13 14 14 15 PKG_SOURCE_URL:= http://fr.php.net/distributions/ … … 282 283 install -m0644 ./files/php.ini $(IDIR_PHP5_FASTCGI)/etc/ 283 284 install -m0755 -d $(IDIR_PHP5_FASTCGI)/etc/init.d 284 install -m0755 ./files/php.init $(IDIR_PHP5_FASTCGI)/etc/init.d/php 285 install -m0755 ./files/php.init \ 286 $(IDIR_PHP5_FASTCGI)/etc/init.d/S$(PKG_INIT)php5 285 287 install -m0755 -d $(IDIR_PHP5_FASTCGI)/usr/sbin 286 288 $(CP) $(WRKBUILD)/php-fastcgi $(IDIR_PHP5_FASTCGI)/usr/sbin/php -
package/php5/files/php.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 . /etc/rc.conf 4 3 5 export PHP_FCGI_CHILDREN='' 4 PORT=10265 BIN=/usr/sbin/php6 6 7 7 case $1 in 8 autostart|start) 9 $BIN -b $PORT & 10 ;; 11 stop) 12 kill `pidof php` 13 ;; 14 *) 15 echo "usage: $0 (start|stop)" 16 exit 1 8 autostart) 9 test x"${php:-NO}" = x"NO" && exit 0 10 exec $0 start 11 ;; 12 start) 13 php ${php_flags} & 14 ;; 15 stop) 16 killall php 17 ;; 18 restart) 19 $0 stop 20 $0 start 21 ;; 22 *) 23 echo "Usage: $0 {start | stop | restart}" 24 exit 1 25 ;; 17 26 esac 18 19 27 exit $? -
package/php5/ipkg/php5-fastcgi.conffiles
r2f3f542 rd0796d0 1 1 /etc/php.ini 2 /etc/init.d/php -
package/pmacct/files/nfacctd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=nfacctd 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 mkdir -p $RUN_D 12 $BIN $OPTIONS 13 ;; 14 stop) 15 [ -f $PID_F ] && kill -INT $(cat $PID_F) 16 ;; 17 *) 18 echo "usage: $0 (start|stop)" 19 exit 1 6 autostart) 7 test x"${nfacctd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 nfacctd $nfaccd_flags 12 ;; 13 stop) 14 killall nfacctd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 20 23 esac 21 22 24 exit $? -
package/pmacct/files/pmacctd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=pmacctd 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 mkdir -p $RUN_D 12 $BIN $OPTIONS 13 ;; 14 stop) 15 [ -f $PID_F ] && kill -INT $(cat $PID_F) 16 ;; 17 *) 18 echo "usage: $0 (start|stop)" 19 exit 1 6 autostart) 7 test x"${pmacctd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 pmacctd $pmacctd_flags 12 ;; 13 stop) 14 killall pmacctd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 20 23 esac 21 22 24 exit $? -
package/pmacct/ipkg/nfacctd.conffiles
r2f3f542 rd0796d0 1 /etc/default/nfacctd2 1 /etc/nfacctd.conf -
package/pmacct/ipkg/pmacctd.conffiles
r2f3f542 rd0796d0 1 /etc/default/pmacctd2 1 /etc/pmacctd.conf -
package/portmap/Config.in
r2f3f542 rd0796d0 2 2 prompt "portmap........................... RPC Portmapper" 3 3 tristate 4 default m if CONFIG_DEVEL 4 default n 5 select FWRT_PACKAGE_LIBWRAP 5 6 help 6 The RPC Portmapper (used by the NFS Server) 7 7 Portmap is a server that converts RPC (Remote Procedure Call) program 8 numbers into DARPA protocol port numbers. It must be running in order 9 to make RPC calls. Services that use RPC include NFS and NIS. -
package/portmap/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= portmap 10 10 PKG_VERSION:= 5beta 11 PKG_RELEASE:= 211 PKG_RELEASE:= 3 12 12 PKG_MD5SUM:= 781e16ed4487c4caa082c6fef09ead4f 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= ftp://ftp.porcupine.org/pub/security … … 34 35 $(IPKG_PORTMAP): 35 36 install -d -m0755 $(IDIR_PORTMAP)/etc/init.d 36 install -m0755 ./files/portmap.init $(IDIR_PORTMAP)/etc/init.d/portmap37 ln -sf portmap $(IDIR_PORTMAP)/etc/init.d/S59portmap37 install -m0755 ./files/portmap.init \ 38 $(IDIR_PORTMAP)/etc/init.d/S$(PKG_INIT)portmap 38 39 install -d -m0755 $(IDIR_PORTMAP)/usr/sbin 39 40 install -m0755 $(WRKBUILD)/portmap $(IDIR_PORTMAP)/usr/sbin/ -
package/portmap/files/portmap.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=portmap 4 DEFAULT=/etc/default/$BIN 5 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 6 4 7 5 case $1 in 8 autostart|start) 9 $BIN $OPTIONS 10 ;; 11 *) 12 echo "usage: $0 start" 13 exit 1 6 autostart) 7 test x"${portmap:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 portmap 12 ;; 13 stop) 14 killall portmap 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 14 24 esac 15 16 25 exit $? -
package/portmap/ipkg/portmap.control
r2f3f542 rd0796d0 2 2 Priority: optional 3 3 Section: net 4 Depends: libwrap 4 5 Description: The RPC Portmapper 5 Portmap is a server that converts RPC (Remote Procedure Call) program6 numbers into DARPA protocol port numbers. It must be running in order7 to make RPC calls.8 .9 Services that use RPC include NFS and NIS. -
package/pptpd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= pptpd 10 10 PKG_VERSION:= 1.3.0 11 PKG_RELEASE:= 211 PKG_RELEASE:= 3 12 12 PKG_MD5SUM:= 75d494e881f7027f4e60b114163f6b67 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= @SF/poptop … … 58 59 install -m0644 ./files/pptpd.conf $(IDIR_PPTPD)/etc/ 59 60 install -d -m0755 $(IDIR_PPTPD)/etc/init.d 60 install -m0755 ./files/pptpd.init $(IDIR_PPTPD)/etc/init.d/pptpd 61 install -m0755 ./files/pptpd.init \ 62 $(IDIR_PPTPD)/etc/init.d/S$(PKG_INIT)pptpd 61 63 install -d -m0755 $(IDIR_PPTPD)/etc/ppp 62 64 install -m0644 ./files/options.pptpd $(IDIR_PPTPD)/etc/ppp/ -
package/pptpd/files/pptpd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=pptpd 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 mkdir -p $RUN_D 12 for m in arc4 sha1 slhc crc-ccitt ppp_generic ppp_async ppp_mppe_mppc; do 13 insmod $m >/dev/null 2>&1 14 done 15 $BIN $OPTIONS 16 ;; 17 stop) 18 [ -f $PID_F ] && kill $(cat $PID_F) 19 ;; 20 *) 21 echo "usage: $0 (start|stop)" 22 exit 1 6 autostart) 7 test x"${pptpd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 for m in arc4 sha1 slhc crc-ccitt ppp_generic ppp_async ppp_mppe_mppc; do 12 insmod $m >/dev/null 2>&1 13 done 14 pptpd 15 ;; 16 stop) 17 killall pptpd 18 ;; 19 restart) 20 $0 stop 21 $0 start 22 ;; 23 *) 24 echo "usage: $0 {start | stop | restart}" 25 exit 1 23 26 esac 24 25 27 exit $? -
package/quagga/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= quagga 10 10 PKG_VERSION:= 0.98.6 11 PKG_RELEASE:= 211 PKG_RELEASE:= 3 12 12 PKG_MD5SUM:= b0d4132039953a0214256873b7d23d68 13 PKG_INIT:= 50 13 14 14 15 PKG_SOURCE_URL:= http://www.quagga.net/download/ \ … … 78 79 chmod 0750 $(IDIR_QUAGGA)/etc/quagga/ 79 80 install -d -m0755 $(IDIR_QUAGGA)/etc/init.d/ 80 install -m0755 ./files/quagga.init $(IDIR_QUAGGA)/etc/init.d/quagga81 ln -sf quagga $(IDIR_QUAGGA)/etc/init.d/S49quagga81 install -m0755 ./files/quagga.init \ 82 $(IDIR_QUAGGA)/etc/init.d/S$(PKG_INIT)quagga 82 83 install -d -m0755 $(IDIR_QUAGGA)/var/run/quagga 83 84 $(RSTRIP) $(IDIR_QUAGGA) -
package/quagga/files/quagga.init
r2f3f542 rd0796d0 117 117 case ${COMMAND} in 118 118 autostart) 119 test x"$ quagga" = x"NO" && exit 0119 test x"${quagga:-NO}" = x"NO" && exit 0 120 120 exec $0 start 121 121 ;; -
package/radvd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= radvd 10 10 PKG_VERSION:= 0.7.3 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 56ce3f8cbf5966a0d531c21813320423 13 PKG_INIT:= 51 13 14 14 15 PKG_SOURCE_URL:= http://v6web.litech.org/radvd/dist \ … … 62 63 install -m0644 ./files/radvd.conf $(IDIR_RADVD)/etc/radvd.conf 63 64 install -d -m0755 $(IDIR_RADVD)/etc/init.d 64 install -m0755 ./files/radvd.init $(IDIR_RADVD)/etc/init.d/S51radvd 65 install -m0755 ./files/radvd.init \ 66 $(IDIR_RADVD)/etc/init.d/S$(PKG_INIT)radvd 65 67 install -d -m0755 $(IDIR_RADVD)/usr/sbin 66 68 install -m 755 $(WRKINST)/usr/sbin/radvd $(IDIR_RADVD)/usr/sbin/ -
package/radvd/files/radvd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 . /etc/rc.conf 4 3 5 case "$1" in 4 autostart|start) 6 autostart) 7 test x"${radvd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 5 11 echo 1 > /proc/sys/net/ipv6/conf/all/forwarding 6 12 mkdir -p /var/log … … 19 25 ;; 20 26 *) 21 echo "Usage: $0 {start |stop|restart}"27 echo "Usage: $0 {start | stop | restart}" 22 28 exit 1 23 ;;24 29 esac 30 exit $? -
package/rarpd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= rarpd 10 10 PKG_VERSION:= 1.1 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 04e2ca849e758d0b88c8281775ec3b58 13 13 PKG_INIT:= 60 … … 67 67 install -d -m0755 $(IDIR_RARPD)/usr/sbin 68 68 $(CP) $(WRKINST)/usr/sbin/rarpd $(IDIR_RARPD)/usr/sbin/ 69 install -d -m0755 $(IDIR_RARPD)/etc/default70 install -m644 ./files/rarpd.default $(IDIR_RARPD)/etc/default/rarpd71 69 install -d -m0755 $(IDIR_RARPD)/etc/init.d 72 70 install -m755 ./files/rarpd.init $(IDIR_RARPD)/etc/init.d/S$(PKG_INIT)rarpd -
package/rarpd/files/rarpd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 RARPD=/usr/sbin/rarpd 4 DEFAULT=/etc/default/rarpd 5 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 6 4 7 $RARPD $OPTIONS 5 case $1 in 6 autostart) 7 test x"${rarpd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 rarpd $rarpd_flags 12 ;; 13 stop) 14 killall rarpd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 23 esac 24 exit $? -
package/reaim/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= reaim 10 10 PKG_VERSION:= 0.8 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 647d2ab72ec454f89294accfb3182c09 13 PKG_INIT:= 75 13 14 14 15 PKG_SOURCE_URL:= @SF/reaim 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 34 34 $(IPKG_REAIM): 35 35 install -d -m0755 $(IDIR_REAIM)/etc/init.d 36 install -m0755 ./files/reaim.init $(IDIR_REAIM)/etc/init.d/reaim37 ln -sf reaim $(IDIR_REAIM)/etc/init.d/S63reaim36 install -m0755 ./files/reaim.init \ 37 $(IDIR_REAIM)/etc/init.d/S$(PKG_INIT)reaim 38 38 install -d -m0755 $(IDIR_REAIM)/usr/sbin 39 39 $(CP) $(WRKINST)/usr/sbin/reaim $(IDIR_REAIM)/usr/sbin/ -
package/reaim/files/reaim.init
r2f3f542 rd0796d0 1 #! /bin/sh1 #!/bin/sh 2 2 3 PATH=/sbin:/bin:/usr/sbin:/usr/bin 4 NAME=reaim 5 DESC="Transparent proxy for IM behind NAT" 6 . /etc/functions.sh 7 WAN=$(nvram get wan_ifname) 3 . /etc/rc.conf 4 8 5 IPT=/usr/sbin/iptables 9 case "$1" in 10 autostart|start) 11 if [ -e /var/run/$NAME.pid ]; then 12 echo "$DESC: $NAME already started." 13 exit 0 14 fi 15 echo -n "Starting $DESC: $NAME" 6 WAN=${reaim_flags} 7 8 case $1 in 9 autostart) 10 test x"${reaim:-NO}" = x"NO" && exit 0 11 exec $0 start 12 ;; 13 start) 16 14 $IPT -A input_rule -i $WAN -p tcp --dport 1863:1864 -j ACCEPT 17 15 $IPT -A input_rule -i $WAN -p tcp --dport 4443 -j ACCEPT 18 16 $IPT -A input_rule -i $WAN -p tcp --dport 5566 -j ACCEPT 19 17 $IPT -A input_rule -i $WAN -p tcp --dport 40000:40099 -j ACCEPT 20 21 test -e /var/run/$NAME.pid || touch /var/run/$NAME.pid 22 /usr/sbin/$NAME 23 echo "." 24 ;; 25 26 stop) 27 if [ ! -e /var/run/$NAME.pid ]; then 28 echo "$DESC: $NAME is not running." 29 exit 0 30 fi 31 echo -n "Stopping $DESC: $NAME" 32 killall $NAME 33 rm -f /var/run/$NAME.pid 34 35 echo "." 36 ;; 37 38 restart|force-reload) 39 if [ ! -e /var/run/$NAME.pid ]; then 40 $0 start 41 exit 0 42 fi 43 echo -n "Restarting $DESC: $NAME" 44 $IPT -A input_rule -i $WAN -p tcp --dport 1863:1864 -j ACCEPT 45 $IPT -A input_rule -i $WAN -p tcp --dport 4443 -j ACCEPT 46 $IPT -A input_rule -i $WAN -p tcp --dport 5566 -j ACCEPT 47 $IPT -A input_rule -i $WAN -p tcp --dport 40000:40099 -j ACCEPT 48 killall $NAME 49 sleep 1 50 /usr/sbin/$NAME 51 echo "." 52 ;; 53 54 *) 55 N=/etc/init.d/$NAME 56 echo "Usage: $N {start|stop|restart|force-reload}" >&2 57 exit 1 58 ;; 59 18 reaim 19 ;; 20 stop) 21 killall reaim 22 ;; 23 restart) 24 $0 stop 25 $0 start 26 ;; 27 *) 28 echo "Usage: $0 {start | stop | restart}" 29 exit 1 30 ;; 60 31 esac 61 62 exit 0 32 exit $? -
package/reaim/ipkg/reaim.control
r2f3f542 rd0796d0 2 2 Priority: optional 3 3 Section: net 4 Depends: 4 Depends: iptables 5 5 Description: A transparent AIM / MSN proxy -
package/rp-pppoe/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= rp-pppoe 10 10 PKG_VERSION:= 3.5 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 97972f8f8f6a3ab9b7070333a6a29c4b 13 PKG_INIT:= 50 13 14 14 15 PKG_SOURCE_URL:= http://roaringpenguin.com/penguin/pppoe/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 62 62 $(IPKG_PPPOE_CLIENT): 63 63 install -d -m0755 $(IDIR_PPPOE_CLIENT)/etc/init.d 64 install -m0755 ./files/pppoe-client.init $(IDIR_PPPOE_CLIENT)/etc/init.d/pppoe-client 64 install -m0755 ./files/pppoe-client.init \ 65 $(IDIR_PPPOE_CLIENT)/etc/init.d/S$(PKG_INIT)pppoe-client 65 66 install -d -m0755 $(IDIR_PPPOE_CLIENT)/etc/ppp 66 67 install -m0644 $(WRKINST)/etc/pppoe.conf $(IDIR_PPPOE_CLIENT)/etc/ … … 72 73 73 74 $(IPKG_PPPOE_RELAY): 74 install -d -m0755 $(IDIR_PPPOE_RELAY)/etc/default75 install -m0755 ./files/pppoe-relay.default $(IDIR_PPPOE_RELAY)/etc/default/pppoe-relay76 75 install -d -m0755 $(IDIR_PPPOE_RELAY)/etc/init.d 77 install -m0755 ./files/pppoe-relay.init $(IDIR_PPPOE_RELAY)/etc/init.d/pppoe-relay 76 install -m0755 ./files/pppoe-relay.init \ 77 $(IDIR_PPPOE_RELAY)/etc/init.d/S$(PKG_INIT)pppoe-relay 78 78 install -d -m0755 $(IDIR_PPPOE_RELAY)/usr/sbin 79 79 $(CP) $(WRKINST)/usr/sbin/pppoe-relay $(IDIR_PPPOE_RELAY)/usr/sbin/ … … 82 82 83 83 $(IPKG_PPPOE_SERVER): 84 install -d -m0755 $(IDIR_PPPOE_SERVER)/etc/default85 install -m0755 ./files/pppoe-server.default $(IDIR_PPPOE_SERVER)/etc/default/pppoe-server86 84 install -d -m0755 $(IDIR_PPPOE_SERVER)/etc/init.d 87 install -m0755 ./files/pppoe-server.init $(IDIR_PPPOE_SERVER)/etc/init.d/pppoe-server 85 install -m0755 ./files/pppoe-server.init \ 86 $(IDIR_PPPOE_SERVER)/etc/init.d/S$(PKG_INIT)pppoe-server 88 87 install -d -m0755 $(IDIR_PPPOE_SERVER)/etc/ppp 89 88 install -m0644 $(WRKINST)/etc/ppp/pppoe-server-options $(IDIR_PPPOE_SERVER)/etc/ppp/ -
package/rp-pppoe/files/pppoe-client.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 case "$1" in 4 autostart|start|stop) 5 adsl-$1 6 ;; 7 *) 8 echo "usage: $0 {start|stop}" 9 exit 1 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"${pppoe_client:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 adsl-start 12 ;; 13 stop) 14 adsl-stop 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 10 24 esac 11 12 25 exit $? -
package/rp-pppoe/files/pppoe-relay.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/pppoe-relay 4 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 5 4 6 5 case $1 in 7 autostart|start) 8 pppoe-relay $OPTIONS 9 ;; 10 *) 11 echo "usage: $0 (start)" 12 exit 1 6 autostart) 7 test x"${pppoe_relay:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 pppoe-relay $pppoe_relay_flags 12 ;; 13 stop) 14 killall pppoe-relay 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 13 24 esac 14 15 25 exit $? -
package/rp-pppoe/files/pppoe-server.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/pppoe-server 4 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 5 4 6 5 case $1 in 7 autostart|start) 8 pppoe-server $OPTIONS 9 ;; 10 *) 11 echo "usage: $0 (start)" 12 exit 1 6 autostart) 7 test x"${pppoe_server:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 pppoe-server 12 ;; 13 stop) 14 killall pppoe-server 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 13 24 esac 14 15 25 exit $? -
package/rp-pppoe/ipkg/pppoe-server.conffiles
r2f3f542 rd0796d0 1 /etc/default/pppoe-server2 1 /etc/ppp/pppoe-server-options -
package/rrdcollect/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= rrdcollect 10 10 PKG_VERSION:= 0.2.3 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 5e4305c612bc3cccbaf802c275c81a11 13 PKG_INIT:= 90 13 14 14 15 PKG_SOURCE_URL:= @SF/rrdcollect 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 ifneq ($(FWRT_PACKAGE_LIBRRD),) … … 81 81 install -m0644 ./files/rrdcollect.conf $(IDIR_RRDCOLLECT_EXAMPLE)/etc/ 82 82 install -d -m0755 $(IDIR_RRDCOLLECT_EXAMPLE)/etc/init.d 83 install -m0755 ./files/rrdcollect.init $(IDIR_RRDCOLLECT_EXAMPLE)/etc/init.d/S98rrdcollect 83 install -m0755 ./files/rrdcollect.init \ 84 $(IDIR_RRDCOLLECT_EXAMPLE)/etc/init.d/S$(PKG_INIT)rrdcollect 84 85 install -d -m0755 $(IDIR_RRDCOLLECT_EXAMPLE)/usr/bin 85 86 install -m0755 ./files/rrd.sh $(IDIR_RRDCOLLECT_EXAMPLE)/usr/bin/ -
package/rrdcollect/files/rrdcollect.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=rrdcollect 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 3 . /etc/rc.conf 4 7 5 LIB_D=/var/lib/rrdcollect 8 6 CGI_S=$LIB_D/rrd.cgi 9 IMG_D=$LIB_D/img10 7 RRD_D=$LIB_D/rrd 11 8 RRD_F=$(find $RRD_D -name "*.rrd" 2>/dev/null) 12 [ -f $DEFAULT ] && . $DEFAULT13 9 14 10 case $1 in 15 autostart|start) 16 mkdir -p $RUN_D 17 mkdir -p $IMG_D 18 mkdir -p $RRD_D 19 [ -n "$RRD_F" ] || /usr/bin/rrd.sh init 20 [ -x $CGI_S ] || /usr/bin/rrd.sh cgi 21 $BIN $OPTIONS 22 ;; 23 stop) 24 [ -f $PID_F ] && kill $(cat $PID_F) 25 ;; 26 *) 27 echo "usage: $0 (start|stop)" 28 exit 1 11 autostart) 12 test x"${rrdcollect:-NO}" = x"NO" && exit 0 13 exec $0 start 14 ;; 15 start) 16 [ -d $LIB_D/img ] || mkdir -p $LIB_D/img 17 [ -n "$RRD_F" ] || /usr/bin/rrd.sh init 18 [ -x $CGI_S ] || /usr/bin/rrd.sh cgi 19 rrdcollect 20 ;; 21 stop) 22 killall rrdcollect 23 ;; 24 restart) 25 $0 stop 26 $0 start 27 ;; 28 *) 29 echo "Usage: $0 {start | stop | restart}" 30 exit 1 31 ;; 29 32 esac 30 31 33 exit $? -
package/samba/Config.in
r2f3f542 rd0796d0 22 22 This package contains the SMB file and print server daemons. 23 23 24 config FWRT_SAMBA_CODEPAGE 25 string "codepage" 26 default "ISO8859-1" 27 depends on FWRT_PACKAGE_SAMBA 28 help 29 which codepage should be added to package 30 24 31 config FWRT_PACKAGE_SAMBA_CLIENT 25 32 prompt "samba-client...................... NetBIOS/SMB simple client" … … 38 45 This package contains a simple command-line SMB client. 39 46 47 config FWRT_PACKAGE_SAMBA_PASSWD 48 prompt "samba-passwd...................... samba password utility" 49 tristate 50 default n 51 select FWRT_COMPILE_SAMBA 52 select FWRT_PACKAGE_LIBGCC 53 help 54 The Samba software suite is a collection of programs that implements the 55 SMB protocol for unix systems, allowing you to serve files and printers to 56 Windows, NT, OS/2 and DOS clients. This protocol is sometimes also referred 57 to as the LanManager or Netbios protocol. 58 59 http://www.samba.org/ 60 61 This package contains a the samba password utility. 62 40 63 #endmenu -
package/samba/Makefile
r2f3f542 rd0796d0 8 8 9 9 PKG_NAME:= samba 10 PKG_VERSION:= 2. 0.1011 PKG_RELEASE:= 212 PKG_MD5SUM:= 54870482fe036b7e69dd48c90661eec610 PKG_VERSION:= 2.2.12 11 PKG_RELEASE:= 1 12 PKG_MD5SUM:= ffda6f5a93635d0b2afb2b2fb17e3bbf 13 13 PKG_INIT:= 80 14 14 15 15 PKG_SOURCE_URL:= ftp://se.samba.org/pub/samba/stable \ 16 16 ftp://ftp.easynet.be/samba/stable 17 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz18 17 19 18 include $(TOPDIR)/mk/package.mk 20 19 20 ifeq ($(FWRT_SAMBA_CODEPAGE),) 21 PKG_CP:=ISO8859-1 22 else 23 PKG_CP:=$(FWRT_SAMBA_CODEPAGE) 24 endif 25 21 26 $(eval $(call PKG_template,SAMBA,samba,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 22 27 $(eval $(call PKG_template,SAMBA_CLIENT,samba-client,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 28 $(eval $(call PKG_template,SAMBA_PASSWD,samba-passwd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 23 29 24 30 $(WRKBUILD)/.configured: … … 38 44 --includedir=/usr/include \ 39 45 --infodir=/usr/share/info \ 40 --libdir=/ usr/lib\46 --libdir=/etc/samba \ 41 47 --libexecdir=/usr/lib \ 42 48 --localstatedir=/var/log/samba \ … … 113 119 --includedir=/usr/include \ 114 120 --infodir=/usr/share/info \ 115 --libdir=/ usr/lib\121 --libdir=/etc/samba \ 116 122 --libexecdir=/usr/lib \ 117 123 --localstatedir=/var/log/samba \ … … 123 129 --with-privatedir=/etc/samba \ 124 130 --with-syslog \ 131 --without-winbind \ 132 --disable-cups \ 133 --with-included-popt \ 125 134 ); 126 135 $(MAKE) -C $(WRKBUILD)/source \ 127 136 $(TARGET_CONFIGURE_OPTS) \ 128 137 CODEPAGEDIR="/usr/share/samba" \ 129 all shared138 all 130 139 (cd $(WRKBUILD)/source/bin ; \ 131 140 mv -f make_smbcodepage.old make_smbcodepage ; touch make_smbcodepage ; \ … … 155 164 install -d -m0755 $(IDIR_SAMBA)/etc/samba 156 165 install -m0644 ./files/smb.conf $(IDIR_SAMBA)/etc/samba/smb.conf 157 install -d -m0755 $(IDIR_SAMBA)/usr/bin158 install -m0755 $(WRKBUILD)/source/bin/smbpasswd.shared $(IDIR_SAMBA)/usr/bin/smbpasswd159 install -d -m0755 $(IDIR_SAMBA)/usr/lib160 install -m0755 $(WRKBUILD)/source/bin/libsmb.so $(IDIR_SAMBA)/usr/lib/161 166 install -d -m0755 $(IDIR_SAMBA)/usr/sbin 162 install -m0755 $(WRKBUILD)/source/bin/nmbd.shared $(IDIR_SAMBA)/usr/sbin/nmbd163 install -m0755 $(WRKBUILD)/source/bin/smbd.shared $(IDIR_SAMBA)/usr/sbin/smbd164 167 install -d -m0755 $(IDIR_SAMBA)/usr/share/samba 165 install -m0644 $(WRKINST)/usr/share/samba/codepage.{437,850} $(IDIR_SAMBA)/usr/share/samba/ 166 install -m0644 $(WRKINST)/usr/share/samba/unicode_map.{437,850} $(IDIR_SAMBA)/usr/share/samba/ 168 $(INSTALL_BIN) $(WRKINST)/usr/bin/{nmbd,smbd} $(IDIR_SAMBA)/usr/sbin 169 install -m0644 $(WRKINST)/usr/share/samba/unicode_map.$(PKG_CP) \ 170 $(IDIR_SAMBA)/usr/share/samba/ 167 171 $(RSTRIP) $(IDIR_SAMBA) 168 172 $(IPKG_BUILD) $(IDIR_SAMBA) $(PACKAGE_DIR) 173 174 $(IPKG_SAMBA_PASSWD): 175 install -d -m0755 $(IDIR_SAMBA_PASSWD)/usr/bin 176 install -m0755 $(WRKINST)/usr/bin/smbpasswd $(IDIR_SAMBA_PASSWD)/usr/bin/ 177 $(RSTRIP) $(IDIR_SAMBA_PASSWD) 178 $(IPKG_BUILD) $(IDIR_SAMBA_PASSWD) $(PACKAGE_DIR) 169 179 170 180 $(IPKG_SAMBA_CLIENT): -
package/samba/files/samba.init
r2f3f542 rd0796d0 2 2 3 3 . /etc/rc.conf 4 5 DEFAULT=/etc/default/samba6 RUN_D=/var/run/samba7 NMBD_PID_F=$RUN_D/nmbd.pid8 SMBD_PID_F=$RUN_D/smbd.pid9 [ -f $DEFAULT ] && . $DEFAULT10 4 11 5 case $1 in … … 15 9 ;; 16 10 start) 17 mkdir -p $RUN_D 18 nmbd -D $NMBD_OPTIONS 19 smbd -D $SMBD_OPTIONS 20 ;; 21 stop) 22 [ -f $SMBD_PID_F ] && kill $(cat $SMBD_PID_F) 23 [ -f $NMBD_PID_F ] && kill $(cat $NMBD_PID_F) 24 ;; 25 *) 26 echo "usage: $0 (start|stop)" 27 exit 1 11 [ -d /var/run/samba ] || mkdir -p /var/run/samba 12 nmbd -D 13 smbd -D 14 ;; 15 stop) 16 killall nmbd 17 killall smbd 18 ;; 19 restart) 20 $0 stop 21 $0 start 22 ;; 23 *) 24 echo "usage: $0 {start | stop | restart}" 25 exit 1 28 26 esac 29 27 exit $? -
package/samba/files/smb.conf
r2f3f542 rd0796d0 1 1 [global] 2 syslog = 02 syslog = 1 3 3 syslog only = yes 4 4 workgroup = FreeWRT … … 9 9 local master = yes 10 10 name resolve order = lmhosts hosts bcast 11 pid directory = /var/run/samba 11 12 12 13 [tmp] -
package/samba/ipkg/samba-client.control
r2f3f542 rd0796d0 2 2 Priority: optional 3 3 Section: net 4 Depends:5 4 Description: NetBIOS/SMB client -
package/scanlogd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= scanlogd 10 10 PKG_VERSION:= 2.2.6 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 7b8187ea718ebe47f22805b921b909ab 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://www.openwall.com/scanlogd/ \ … … 39 40 $(IPKG_SCANLOGD): 40 41 install -d -m0755 $(IDIR_SCANLOGD)/etc/init.d 41 install -m0755 ./files/scanlogd.init $(IDIR_SCANLOGD)/etc/init.d/S60scanlogd 42 install -m0755 ./files/scanlogd.init \ 43 $(IDIR_SCANLOGD)/etc/init.d/S$(PKG_INIT)scanlogd 42 44 install -d -m0755 $(IDIR_SCANLOGD)/usr/sbin 43 45 install -m0755 $(WRKBUILD)/$(PKG_NAME) $(IDIR_SCANLOGD)/usr/sbin/ -
package/scanlogd/files/scanlogd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 mkdir -p `grep "^scanlogd:" /etc/passwd | cut -d: -f6` 3 /usr/sbin/scanlogd 2 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"${scanlogd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 mkdir -p `grep "^scanlogd:" /etc/passwd | cut -d: -f6` 12 scanlogd $scanlogd_flags 13 ;; 14 stop) 15 killall scanlogd 16 ;; 17 restart) 18 $0 stop 19 $0 start 20 ;; 21 *) 22 echo "usage: $0 {start | stop | restart}" 23 exit 1 24 esac 25 exit $? -
package/scanlogd/ipkg/scanlogd.postinst
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 . $IPKG_INSTROOT/etc/functions.sh 3 add_rcconf scanlogd scanlogd NO 4 2 5 3 6 name=scanlogd -
package/setserial/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= setserial 10 10 PKG_VERSION:= 2.17 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= c4867d72c41564318e0107745eb7a0f2 13 13 14 14 PKG_SOURCE_URL:= @SF/setserial 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 15 17 16 include $(TOPDIR)/mk/package.mk … … 50 49 51 50 $(IPKG_SETSERIAL): 52 install -d -m0755 $(IDIR_SETSERIAL)/etc/init.d53 install -m0755 ./files/serial.init $(IDIR_SETSERIAL)/etc/init.d/S15serial54 51 install -d -m0755 $(IDIR_SETSERIAL)/usr/sbin 55 52 install -m0755 $(WRKBUILD)/setserial $(IDIR_SETSERIAL)/usr/sbin/ -
package/siproxd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= siproxd 10 10 PKG_VERSION:= 0.5.12 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 2fa02bd6f83070593bfc2d383ce614fa 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= @SF/siproxd … … 62 63 $(CP) $(WRKINST)/etc/siproxd_passwd.cfg $(IDIR_SIPROXD)/etc/ 63 64 install -d -m0755 $(IDIR_SIPROXD)/etc/init.d 64 install -m0755 files/siproxd.init $(IDIR_SIPROXD)/etc/init.d/siproxd 65 install -m0755 files/siproxd.init \ 66 $(IDIR_SIPROXD)/etc/init.d/S$(PKG_INIT)siproxd 65 67 install -d -m0755 $(IDIR_SIPROXD)/usr/sbin 66 68 $(CP) $(WRKINST)/usr/sbin/siproxd $(IDIR_SIPROXD)/usr/sbin/ -
package/siproxd/files/siproxd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=siproxd 4 DEFAULT=/etc/default/$BIN 5 RUN_D=/var/run 6 PID_F=$RUN_D/$BIN.pid 7 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 mkdir -p $RUN_D 12 $BIN $OPTIONS 13 ;; 14 stop) 15 [ -f $PID_F ] && kill $(cat $PID_F) 16 ;; 17 *) 18 echo "usage: $0 (start|stop)" 19 exit 1 6 autostart) 7 test x"${siproxd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 siproxd 12 ;; 13 stop) 14 killall siproxd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 20 23 esac 21 24 exit $? -
package/snort-wireless/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= snort-wireless 10 10 PKG_VERSION:= 2.4.3-alpha04 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 1aa699ae279bf7a1140cf6cca02f9999 13 PKG_INIT:= 75 13 14 14 15 PKG_SOURCE_URL:= http://www.snort-wireless.org/files/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 110 110 $$(IPKG_$(1)): $(WRKBUILD)/.installed $(WRKBUILD)/$(2) 111 111 install -m0644 ./ipkg/snort-wireless.conffiles $$(IDIR_$(1))/CONTROL/conffiles 112 install -d -m0755 $$(IDIR_$(1))/etc/default113 install -m0644 ./files/snort-wireless.default $$(IDIR_$(1))/etc/default/snort114 112 install -d -m0755 $$(IDIR_$(1))/etc/init.d 115 install -m0755 ./files/snort-wireless.init $$(IDIR_$(1))/etc/init.d/snort 113 install -m0755 ./files/snort-wireless.init \ 114 $$(IDIR_$(1))/etc/init.d/S$(PKG_INIT)snort-wireless 116 115 install -d -m0755 $$(IDIR_$(1))/etc/snort 117 116 install -m0644 $(WRKBUILD)/etc/snort.conf $$(IDIR_$(1))/etc/snort/ -
package/snort-wireless/files/snort-wireless.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/snort 4 LOG_D=/var/log/snort 5 RUN_D=/var/run 6 [ -f $DEFAULT ] && . $DEFAULT 7 PID_F=$RUN_D/snort_$INTERFACE.pid 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 [ -d $LOG_D ] || mkdir -p $LOG_D 12 [ -d $RUN_D ] || mkdir -p $RUN_D 13 snort $OPTIONS 14 ;; 15 stop) 16 [ -f $PID_F ] && kill $(cat $PID_F) 17 ;; 18 *) 19 echo "usage: $0 (start|stop)" 20 exit 1 6 autostart) 7 test x"${snort_wireless:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 [ -d /var/log/snort ] || mkdir -p /var/log/snort 12 snort ${snort_wireless_flags} 13 ;; 14 stop) 15 killall snort 16 ;; 17 restart) 18 $0 stop 19 $0 start 20 ;; 21 *) 22 echo "Usage: $0 {start | stop | restart}" 23 exit 1 24 ;; 21 25 esac 22 23 26 exit $? -
package/snort-wireless/ipkg/snort-wireless.conffiles
r2f3f542 rd0796d0 1 /etc/default/snort2 1 /etc/snort/snort.conf 3 2 /etc/snort/threshold.conf -
package/snort/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= snort 10 10 PKG_VERSION:= 2.4.5 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 108b3c20dcbaf3cdb17ea9203342eaaa 13 PKG_INIT:= 60 13 14 14 15 PKG_SOURCE_URL:= http://www.snort.org/dl/current/ … … 110 111 $$(IPKG_$(1)): $(WRKBUILD)/.installed $(WRKBUILD)/$(2) 111 112 install -m0644 ./ipkg/snort.conffiles $$(IDIR_$(1))/CONTROL/conffiles 112 install -d -m0755 $$(IDIR_$(1))/etc/default113 install -m0644 ./files/snort.default $$(IDIR_$(1))/etc/default/snort114 113 install -d -m0755 $$(IDIR_$(1))/etc/init.d 115 install -m0755 ./files/snort.init $$(IDIR_$(1))/etc/init.d/snort 114 install -m0755 ./files/snort.init \ 115 $$(IDIR_$(1))/etc/init.d/S$(PKG_INIT)snort 116 116 install -d -m0755 $$(IDIR_$(1))/etc/snort 117 117 install -m0644 $(WRKBUILD)/etc/snort.conf $$(IDIR_$(1))/etc/snort/ -
package/snort/files/snort.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/snort 4 LOG_D=/var/log/snort 5 RUN_D=/var/run 6 [ -f $DEFAULT ] && . $DEFAULT 7 PID_F=$RUN_D/snort_$INTERFACE.pid 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 [ -d $LOG_D ] || mkdir -p $LOG_D 12 [ -d $RUN_D ] || mkdir -p $RUN_D 13 snort $OPTIONS 14 ;; 15 stop) 16 [ -f $PID_F ] && kill $(cat $PID_F) 17 ;; 18 *) 19 echo "usage: $0 (start|stop)" 20 exit 1 6 autostart) 7 test x"${snort:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 snort $snort_flags 12 ;; 13 stop) 14 killall snort 15 ;; 16 *) 17 echo "usage: $0 {start | stop | restart}" 18 exit 1 21 19 esac 22 23 20 exit $? -
package/snort/ipkg/snort.conffiles
r2f3f542 rd0796d0 1 /etc/default/snort2 1 /etc/snort/snort.conf 3 2 /etc/snort/threshold.conf -
package/srelay/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= srelay 10 10 PKG_VERSION:= 0.4.6 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 4a9f3298b38d8588f0ffde31b946a47f 13 PKG_INIT:= 6013 PKG_INIT:= 60 14 14 15 15 PKG_SOURCE_URL:= @SF/socks-relay 16 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz17 16 18 17 include $(TOPDIR)/mk/package.mk … … 60 59 $(INSTALL_DIR) $(IDIR_SRELAY)/etc/init.d 61 60 $(INSTALL_BIN) $(WRKINST)/srelay $(IDIR_SRELAY)/usr/bin/ 62 $(INSTALL_BIN) ./files/srelay.init $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT)srelay 61 $(INSTALL_BIN) ./files/srelay.init \ 62 $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT)srelay 63 63 $(INSTALL_DATA) ./files/srelay.conf $(IDIR_SRELAY)/etc 64 64 $(RSTRIP) $(IDIR_SRELAY) -
package/srelay/files/srelay.init
r2f3f542 rd0796d0 5 5 case $1 in 6 6 autostart) 7 test x"$ srelay" = x"NO" && exit 07 test x"${srelay:-NO}" = x"NO" && exit 0 8 8 exec $0 start 9 9 ;; 10 10 start) 11 [ -f /etc/srelay.conf ] || exit 12 srelay -c /etc/srelay.conf -r -s11 [ -f /etc/srelay.conf ] || exit 1 12 srelay ${srelay_flags} 13 13 ;; 14 14 stop) -
package/srelay/ipkg/srelay.postinst
r2f3f542 rd0796d0 2 2 . $IPKG_INSTROOT/etc/functions.sh 3 3 add_rcconf srelay srelay NO 4 4 add_rcconf srelay_flags srelay_flags "\"-c /etc/srelay.conf -r -s\"" -
package/syslog-ng/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= syslog-ng 10 10 PKG_VERSION:= 1.6.11 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 8f9ca6140f428dc9adec9fa1c270a2dd 13 PKG_INIT:= 6013 PKG_INIT:= 05 14 14 15 15 PKG_SOURCE_URL:= http://www.balabit.com/downloads/syslog-ng/stable/src \ 16 16 http://www.balabit.com/downloads/syslog-ng/1.6/src 17 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz18 17 19 18 include $(TOPDIR)/mk/package.mk … … 65 64 $(CP) $(WRKINST)/usr/sbin/syslog-ng $(IDIR_SYSLOG_NG)/usr/sbin/ 66 65 install -d -m0755 $(IDIR_SYSLOG_NG)/etc/init.d 67 install -m0755 ./files/syslog-ng.init $(IDIR_SYSLOG_NG)/etc/init.d/S$(PKG_INIT)syslog-ng 66 install -m0755 ./files/syslog-ng.init \ 67 $(IDIR_SYSLOG_NG)/etc/init.d/S$(PKG_INIT)syslog-ng 68 68 install -d -m0755 $(IDIR_SYSLOG_NG)/etc/syslog-ng 69 69 install -m0644 ./files/syslog-ng.conf $(IDIR_SYSLOG_NG)/etc/syslog-ng/ -
package/syslog-ng/files/syslog-ng.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 syslog_start() { 4 [ -f /etc/syslog-ng/syslog-ng.conf ] || { 5 echo "/etc/syslog-ng/syslog-ng.conf does not exist !"; 6 exit 0; 7 }; 8 [ -d /var/run ] || mkdir -p /var/run 9 [ -x /usr/sbin/syslog-ng ] && /usr/sbin/syslog-ng 10 } 3 . /etc/rc.conf 11 4 12 syslog_stop() { 13 killall syslog-ng 14 } 15 16 case "$1" in 17 autostart|start) 18 syslog_start 5 case $1 in 6 autostart) 7 test x"${syslog_ng:-NO}" = x"NO" && exit 0 8 exec $0 start 19 9 ;; 20 stop) 21 syslog_stop 10 start) 11 [ -f /etc/syslog-ng/syslog-ng.conf ] || { 12 echo "/etc/syslog-ng/syslog-ng.conf does not exist !"; 13 exit 0; 14 }; 15 [ -x /usr/sbin/syslog-ng ] && /usr/sbin/syslog-ng 22 16 ;; 23 restart) 24 syslog_stop 25 sleep 1s 26 syslog_start 17 stop) 18 killall syslog-ng 27 19 ;; 28 reload) 29 kill -HUP `cat /var/run/syslog-ng.pid` &>/dev/null 20 restart) 21 $0 stop 22 $0 start 30 23 ;; 31 *) 32 echo "Usage: $0 <start|stop|restart|reload>" 24 *) 25 echo "Usage: $0 {start | stop | restart}" 26 exit 1 33 27 ;; 34 28 esac 29 exit $? -
package/tinyproxy/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= tinyproxy 10 10 PKG_VERSION:= 1.6.3 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= bd14d029b12621bcfd7ee71b2f4893da 13 13 PKG_INIT:= 70 -
package/tinyproxy/files/tinyproxy.init
r2f3f542 rd0796d0 1 1 #! /bin/sh 2 2 3 PATH=/sbin:/bin:/usr/sbin:/usr/bin 4 NAME=tinyproxy 5 DESC="Tiny HTTP and HTTPS proxy" 3 . /etc/rc.conf 4 6 5 case "$1" in 7 autostart|start) 8 if [ -e /var/run/$NAME.pid ]; then 9 echo "$DESC: $NAME already started." 10 exit 0 11 fi 12 echo -n "Starting $DESC: $NAME" 13 test -e /var/run/$NAME.pid || touch /var/run/$NAME.pid 14 /usr/sbin/$NAME 15 echo "." 16 ;; 6 autostart) 7 test x"${tinyproxy:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 tinyproxy 12 ;; 13 stop) 14 killall tinyproxy 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 17 20 18 stop) 19 if [ ! -e /var/run/$NAME.pid ]; then 20 echo "$DESC: $NAME is not running." 21 exit 0 22 fi 23 echo -n "Stopping $DESC: $NAME" 24 killall $NAME 25 rm -f /var/run/$NAME.pid 26 27 echo "." 28 ;; 29 30 restart|force-reload) 31 if [ ! -e /var/run/$NAME.pid ]; then 32 $0 start 33 exit 0 34 fi 35 echo -n "Restarting $DESC: $NAME" 36 killall $NAME 37 sleep 1 38 /usr/sbin/$NAME 39 echo "." 40 ;; 41 42 *) 43 N=/etc/init.d/$NAME 44 echo "Usage: $N {start|stop|restart|force-reload}" >&2 45 exit 1 46 ;; 47 21 *) 22 echo "usage: $0 {start | stop | restart}" 23 exit 1 48 24 esac 49 50 exit 0 25 exit $? -
package/tor/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= tor 10 10 PKG_VERSION:= 0.1.0.17 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 83c4afe29fa82473afcb2ec7e17771b9 13 13 PKG_INIT:= 80 … … 16 16 http://ftp.se.linux.org/crypto/tor/ \ 17 17 http://tor.meulie.net/ 18 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz19 18 20 19 include $(TOPDIR)/mk/package.mk -
package/tor/files/tor.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=tor 4 DEFAULT=/etc/default/$BIN 5 LOG_D=/var/log/$BIN 6 RUN_D=/var/run 7 PID_F=$RUN_D/$BIN.pid 8 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 9 4 10 5 case $1 in 11 autostart|start) 12 mkdir -p $LOG_D 13 mkdir -p $RUN_D 14 $BIN $OPTIONS 15 ;; 16 stop) 17 [ -f $PID_F ] && kill $(cat $PID_F) 18 ;; 19 *) 20 echo "usage: $0 (start|stop)" 21 exit 1 6 autostart) 7 test x"${tor:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 [ -d /var/log/tor ] || mkdir -p /var/log/tor 12 tor 13 ;; 14 stop) 15 killall tor 16 ;; 17 restart) 18 $0 stop 19 $0 start 20 ;; 21 *) 22 echo "Usage: $0 {start | stop | restart}" 23 exit 1 24 ;; 22 25 esac 23 24 26 exit $? -
package/tor/ipkg/tor.postinst
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 3 name=tor 4 id=52 2 . $IPKG_INSTROOT/etc/functions.sh 3 add_rcconf tor tor NO 5 4 6 5 # do not change below … … 21 20 fi 22 21 23 echo "" 24 if [ -z "$(grep ^\\${name}: ${IPKG_INSTROOT}/etc/group)" ]; then 25 echo "adding group $name to /etc/group" 26 echo "${name}:x:${id}:" >> ${IPKG_INSTROOT}/etc/group 27 fi 28 29 if [ -z "$(grep ^\\${name}: ${IPKG_INSTROOT}/etc/passwd)" ]; then 30 echo "adding user $name to /etc/passwd" 31 echo "${name}:x:${id}:${id}:${name}:/tmp/.${name}:/bin/false" >> ${IPKG_INSTROOT}/etc/passwd 32 fi 33 22 gid=$(get_next_gid) 23 add_group tor $gid 24 add_user tor $(get_next_uid) $gid /tmp/.tor -
package/ulogd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= ulogd 10 10 PKG_VERSION:= 1.24 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 05b4ed2926b9a22aaeaf642917bbf8ff 13 PKG_INIT:= 49 13 14 14 15 PKG_SOURCE_URL:= ftp://ftp.netfilter.org/pub/ulogd/ \ … … 109 110 install -d -m0755 $(IDIR_ULOGD)/etc 110 111 $(CP) $(WRKINST)/etc/ulogd.conf $(IDIR_ULOGD)/etc/ 111 install -d -m0755 $(IDIR_ULOGD)/etc/default112 install -m0644 ./files/ulogd.default $(IDIR_ULOGD)/etc/default/ulogd113 112 install -d -m0755 $(IDIR_ULOGD)/etc/init.d 114 install -m0755 ./files/ulogd.init $(IDIR_ULOGD)/etc/init.d/ulogd115 ln -sf ulogd $(IDIR_ULOGD)/etc/init.d/S49ulogd113 install -m0755 ./files/ulogd.init \ 114 $(IDIR_ULOGD)/etc/init.d/S$(PKG_INIT)ulogd 116 115 install -d -m0755 $(IDIR_ULOGD)/usr/lib/ulogd 117 116 $(CP) $(WRKINST)/usr/lib/ulogd/ulogd_BASE.so $(IDIR_ULOGD)/usr/lib/ulogd/ -
package/ulogd/files/ulogd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=ulogd 4 DEFAULT=/etc/default/$BIN 5 LOG_D=/var/log 6 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 7 4 8 5 case $1 in 9 autostart|start) 10 $BIN $OPTIONS 11 ;; 12 *) 13 echo "usage: $0 (start)" 14 exit 1 6 autostart) 7 test x"${ulogd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 ulogd -d 12 ;; 13 restart) 14 $0 stop 15 $0 start 16 ;; 17 *) 18 echo "usage: $0 {start | stop | restart}" 19 exit 1 15 20 esac 16 17 21 exit $? -
package/ulogd/ipkg/ulogd.conffiles
r2f3f542 rd0796d0 1 /etc/default/ulogd2 1 /etc/ulogd.conf -
package/vnc-reflector/ipkg/vnc-reflector.control
r2f3f542 rd0796d0 1 1 Package: vnc-reflector 2 Depends: jpeg, zlib3 2 Section: net 4 Architecture: mipsel5 3 Priority: optional 4 Depends: libjpeg, zlib 6 5 Description: VNC Reflector is a specialized VNC server which acts as a proxy sitting between real VNC server (a host) and a number of VNC clients. It was designed to work efficiently with large number of clients. -
package/vrrpd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= vrrpd 10 10 PKG_VERSION:= 1.0 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 6d5066ea1a6ced817376ca0f54765447 13 13 PKG_INIT:= 70 … … 32 32 33 33 $(IPKG_VRRPD): 34 install -d -m0755 $(IDIR_VRRPD)/etc/default35 install -m0644 ./files/vrrpd.default $(IDIR_VRRPD)/etc/default/vrrpd36 34 install -d -m0755 $(IDIR_VRRPD)/etc/init.d 37 install -m0755 ./files/vrrpd.init $(IDIR_VRRPD)/etc/init.d/S$(PKG_INIT)vrrpd 35 install -m0755 ./files/vrrpd.init \ 36 $(IDIR_VRRPD)/etc/init.d/S$(PKG_INIT)vrrpd 38 37 install -d -m0755 $(IDIR_VRRPD)/usr/sbin 39 38 install -m0755 $(WRKBUILD)/vrrpd $(IDIR_VRRPD)/usr/sbin/ -
package/vrrpd/files/vrrpd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 BIN=vrrpd 4 DEFAULT=/etc/default/$BIN 5 [ -f $DEFAULT ] && . $DEFAULT 6 RUN_D=/var/run 7 PID_F=$RUN_D/$BIN_${IF}_${ID}.pid 3 . /etc/rc.conf 8 4 9 5 case $1 in 10 autostart|start) 11 $BIN $OPTIONS 12 ;; 13 stop) 14 [ -f $PID_F ] && kill $(cat $PID_F) >/dev/null 2>&1 15 ;; 16 *) 17 echo "usage: $0 (start|stop)" 18 exit 1 6 autostart) 7 test x"${vrrpd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 vrrpd $vrrpd_flags 12 ;; 13 stop) 14 killall vrrpd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 {start | stop | restart}" 22 exit 1 19 23 esac 20 21 24 exit $? -
package/vsftpd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= vsftpd 10 10 PKG_VERSION:= 2.0.5 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 146062e8b2f93af43ff6c2c770feea94 13 13 PKG_INIT:= 70 … … 36 36 install -m0644 ./files/vsftpd.conf $(IDIR_VSFTPD)/etc/vsftpd.conf 37 37 install -d -m0755 $(IDIR_VSFTPD)/etc/init.d 38 install -m0755 ./files/vsftpd.init $(IDIR_VSFTPD)/etc/init.d/S$(PKG_INIT)vsftpd 38 install -m0755 ./files/vsftpd.init \ 39 $(IDIR_VSFTPD)/etc/init.d/S$(PKG_INIT)vsftpd 39 40 install -d -m0755 $(IDIR_VSFTPD)/usr/sbin 40 41 $(CP) $(WRKINST)/usr/sbin/vsftpd $(IDIR_VSFTPD)/usr/sbin/ -
package/vsftpd/files/vsftpd.init
r2f3f542 rd0796d0 3 3 . /etc/rc.conf 4 4 5 RUN_D=/var/run/vsftpd6 7 5 case $1 in 8 6 autostart) 9 test x"$ vsftpd" = x"NO" && exit 07 test x"${vsftpd:-NO}" = x"NO" && exit 0 10 8 exec $0 start 11 9 start) 12 [ -d $RUN_D ] || mkdir -p $RUN_D10 [ -d /var/run/vsftpd ] || mkdir -p /var/run/vsftpd 13 11 vsftpd 14 12 ;; -
package/watchdog/files/watchdog.init
r2f3f542 rd0796d0 4 4 5 5 case $1 in 6 autostart) 7 test x"${watchdog:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 /usr/sbin/watchdog 12 ;; 13 stop) 14 killall watchdog 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 { start | stop | restart }" 22 exit 1 6 autostart) 7 test x"${watchdog:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 /usr/sbin/watchdog 12 ;; 13 stop) 14 killall watchdog 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "usage: $0 { start | stop | restart }" 22 exit 1 23 ;; 23 24 esac 24 25 exit $? -
package/wifidog/Config.in
r2f3f542 rd0796d0 2 2 prompt "wifidog........................... A wireless captive portal solution" 3 3 tristate 4 default m if CONFIG_DEVEL4 default n 5 5 select FWRT_PACKAGE_IPTABLES 6 select FWRT_PACKAGE_IPTABLES_EXTRA7 6 help 8 7 The Wifidog project is a complete and embeddable captive -
package/wifidog/files/wifidog.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 /usr/bin/wifidog-init start3 2 3 . /etc/rc.conf 4 5 case $1 in 6 autostart) 7 test x"${wifidog:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 wifidog-init start 12 ;; 13 stop) 14 wifidog-init stop 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 24 esac 25 exit $? -
package/xinetd/Makefile
r2f3f542 rd0796d0 9 9 PKG_NAME:= xinetd 10 10 PKG_VERSION:= 2.3.13 11 PKG_RELEASE:= 211 PKG_RELEASE:= 3 12 12 PKG_MD5SUM:= 4295b5fe12350f09b5892b363348ac8b 13 PKG_INIT:= 50 13 14 14 15 PKG_SOURCE_URL:= http://www.xinetd.org/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 16 17 17 include $(TOPDIR)/mk/package.mk … … 64 64 install -d -m0755 $(IDIR_XINETD)/etc/xinetd.d 65 65 install -d -m0755 $(IDIR_XINETD)/etc/init.d 66 install -m0755 ./files/xinetd.init $(IDIR_XINETD)/etc/init.d/xinetd 66 install -m0755 ./files/xinetd.init \ 67 $(IDIR_XINETD)/etc/init.d/S$(PKG_INIT)xinetd 67 68 install -d -m0755 $(IDIR_XINETD)/usr/sbin 68 69 $(CP) $(WRKINST)/usr/sbin/xinetd $(IDIR_XINETD)/usr/sbin/ -
package/xinetd/files/xinetd.init
r2f3f542 rd0796d0 1 1 #!/bin/sh 2 2 3 DEFAULT=/etc/default/xinetd 4 RUN_D=/var/run 5 PID_F=$RUN_D/xinetd.pid 6 [ -f $DEFAULT ] && . $DEFAULT 3 . /etc/rc.conf 7 4 8 5 case $1 in 9 autostart|start) 10 [ -d $RUN_D ] || mkdir -p $RUN_D 11 xinetd $OPTIONS 12 ;; 13 stop) 14 [ -f $PID_F ] && kill $(cat $PID_F) 15 ;; 16 *) 17 echo "usage: $0 (start|stop)" 18 exit 1 6 autostart) 7 test x"${xinetd:-NO}" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 xinetd 12 ;; 13 stop) 14 killall xinetd 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 exit 1 23 ;; 19 24 esac 20 21 25 exit $? -
target/linux/Config.in
r2f3f542 rd0796d0 981 981 Bluetooth drivers and network stack 982 982 983 config FWRT_PACKAGE_KMOD_LP984 prompt "kmod-lp........................... Parallel port and lp support"985 tristate986 default n987 help988 Kernel modules for line printer and parallel port support989 990 983 config FWRT_PACKAGE_KMOD_SOFTDOG 991 984 prompt "kmod-softdog...................... Software watchdog" … … 1003 996 found on Soekris net4801 boards 1004 997 1005 endmenu 1006 1007 menu "Additional kernel modules" 998 1008 999 1009 1000 config FWRT_PACKAGE_KMOD_CRYPTO … … 1014 1005 help 1015 1006 Kernel modules for cryptographic algorithms 1007 1008 config FWRT_PACKAGE_KMOD_PARPORT 1009 prompt "kmod-parport...................... generic parallel port support" 1010 tristate 1011 default y if FWRT_LINUX_2_4_BRCM_ASUS_WL500G 1012 default n 1013 depends on FWRT_LINUX_2_4_BRCM_ASUS_WL500G 1014 help 1015 Kernel module for generic parallel port support 1016 1017 config FWRT_PACKAGE_KMOD_PARPORT_SPLINK 1018 prompt "kmod-parport-splink............. parport driver for Asus WL500g" 1019 tristate 1020 default y if FWRT_LINUX_2_4_BRCM_ASUS_WL500G 1021 default n 1022 depends on FWRT_PACKAGE_KMOD_PARPORT 1023 depends on FWRT_LINUX_2_4_BRCM_ASUS_WL500G 1024 help 1025 Kernel module for parallel port on Asus WL500g 1026 1027 config FWRT_PACKAGE_KMOD_LP 1028 prompt "kmod-lp......................... line printer support" 1029 tristate 1030 default n 1031 depends on FWRT_PACKAGE_KMOD_PARPORT 1032 depends on FWRT_LINUX_2_4_BRCM_ASUS_WL500G 1033 help 1034 Kernel module for line printer support 1035 1036 config FWRT_PACKAGE_KMOD_PPDEV 1037 prompt "kmod-ppdev...................... userland parallel port driver" 1038 tristate 1039 default n 1040 depends on FWRT_PACKAGE_KMOD_PARPORT 1041 depends on FWRT_LINUX_2_4_BRCM_ASUS_WL500G 1042 help 1043 Kernel module for userland parallel port access 1044 1045 endmenu 1046 1047 menu "Additional kernel modules" 1016 1048 1017 1049 source package/alsa/Config.in -
target/linux/control/kmod-lp.control
r2f3f542 rd0796d0 2 2 Priority: optional 3 3 Section: sys 4 Description: Kernel module s for parallel port support and line printer4 Description: Kernel module for line printer support
Note:
See TracChangeset
for help on using the changeset viewer.
