|
From: <abe...@us...> - 2011-10-17 17:08:52
|
Revision: 5203
http://astlinux.svn.sourceforge.net/astlinux/?rev=5203&view=rev
Author: abelbeck
Date: 2011-10-17 17:08:45 +0000 (Mon, 17 Oct 2011)
Log Message:
-----------
asterisk addon modules, build fix to keep them from always rebuilding
Modified Paths:
--------------
branches/1.0/package/asterisk-app_notify/asterisk-app_notify.mk
branches/1.0/package/asterisk-app_nvfax/asterisk-app_nvfax.mk
branches/1.0/package/asterisk-app_waituntil/asterisk-app_waituntil.mk
branches/1.0/package/asterisk-func_devstate/asterisk-func_devstate.mk
branches/1.0/package/asterisk-func_extstate/asterisk-func_extstate.mk
Modified: branches/1.0/package/asterisk-app_notify/asterisk-app_notify.mk
===================================================================
--- branches/1.0/package/asterisk-app_notify/asterisk-app_notify.mk 2011-10-17 16:08:17 UTC (rev 5202)
+++ branches/1.0/package/asterisk-app_notify/asterisk-app_notify.mk 2011-10-17 17:08:45 UTC (rev 5203)
@@ -10,7 +10,7 @@
APPNOTIFY_SITE:=http://www.mezzo.net/asterisk
APPNOTIFY_DIR:=$(BUILD_DIR)/app_notify-$(APPNOTIFY_VER)
APPNOTIFY_CAT:=zcat
-APPNOTIFY_TARGET_DIR=$(TARGET_DIR)/$(ASTERISK_MODULE_DIR)
+APPNOTIFY_TARGET_DIR=$(TARGET_DIR)/usr/lib/asterisk/modules
$(DL_DIR)/$(APPNOTIFY_SOURCE):
$(WGET) -P $(DL_DIR) $(APPNOTIFY_SITE)/$(APPNOTIFY_SOURCE)
Modified: branches/1.0/package/asterisk-app_nvfax/asterisk-app_nvfax.mk
===================================================================
--- branches/1.0/package/asterisk-app_nvfax/asterisk-app_nvfax.mk 2011-10-17 16:08:17 UTC (rev 5202)
+++ branches/1.0/package/asterisk-app_nvfax/asterisk-app_nvfax.mk 2011-10-17 17:08:45 UTC (rev 5203)
@@ -5,9 +5,9 @@
##############################################################
APP_NVFAX_DIR := $(BUILD_DIR)/app_nvfax
APP_NVFAXDETECT_BINARY := app_nv_faxdetect.so
-APP_NVFAXDETECT_TARGET_BINARY = $(ASTERISK_MODULE_DIR)/$(APP_NVFAXDETECT_BINARY)
+APP_NVFAXDETECT_TARGET_BINARY = usr/lib/asterisk/modules/$(APP_NVFAXDETECT_BINARY)
APP_NVBACKGROUNDDETECT_BINARY := app_nv_backgrounddetect.so
-APP_NVBACKGROUNDDETECT_TARGET_BINARY = $(ASTERISK_MODULE_DIR)/$(APP_NVBACKGROUNDDETECT_BINARY)
+APP_NVBACKGROUNDDETECT_TARGET_BINARY = usr/lib/asterisk/modules/$(APP_NVBACKGROUNDDETECT_BINARY)
$(APP_NVFAX_DIR)/app_nv_faxdetect.c:
mkdir -p $(APP_NVFAX_DIR)
Modified: branches/1.0/package/asterisk-app_waituntil/asterisk-app_waituntil.mk
===================================================================
--- branches/1.0/package/asterisk-app_waituntil/asterisk-app_waituntil.mk 2011-10-17 16:08:17 UTC (rev 5202)
+++ branches/1.0/package/asterisk-app_waituntil/asterisk-app_waituntil.mk 2011-10-17 17:08:45 UTC (rev 5203)
@@ -5,7 +5,7 @@
##############################################################
APP_WAITUNTIL_DIR := $(BUILD_DIR)/app_waituntil
APP_WAITUNTIL_BINARY := app_waituntil.so
-APP_WAITUNTIL_TARGET_BINARY = $(ASTERISK_MODULE_DIR)/$(APP_WAITUNTIL_BINARY)
+APP_WAITUNTIL_TARGET_BINARY = usr/lib/asterisk/modules/$(APP_WAITUNTIL_BINARY)
$(APP_WAITUNTIL_DIR)/app_waituntil.c:
mkdir -p $(APP_WAITUNTIL_DIR)
Modified: branches/1.0/package/asterisk-func_devstate/asterisk-func_devstate.mk
===================================================================
--- branches/1.0/package/asterisk-func_devstate/asterisk-func_devstate.mk 2011-10-17 16:08:17 UTC (rev 5202)
+++ branches/1.0/package/asterisk-func_devstate/asterisk-func_devstate.mk 2011-10-17 17:08:45 UTC (rev 5203)
@@ -5,7 +5,7 @@
##############################################################
FUNC_DEVSTATE_DIR := $(BUILD_DIR)/func_devstate
FUNC_DEVSTATE_BINARY := func_devstate.so
-FUNC_DEVSTATE_TARGET_BINARY = $(ASTERISK_MODULE_DIR)/$(FUNC_DEVSTATE_BINARY)
+FUNC_DEVSTATE_TARGET_BINARY = usr/lib/asterisk/modules/$(FUNC_DEVSTATE_BINARY)
$(FUNC_DEVSTATE_DIR)/func_devstate.c:
mkdir -p $(FUNC_DEVSTATE_DIR)
Modified: branches/1.0/package/asterisk-func_extstate/asterisk-func_extstate.mk
===================================================================
--- branches/1.0/package/asterisk-func_extstate/asterisk-func_extstate.mk 2011-10-17 16:08:17 UTC (rev 5202)
+++ branches/1.0/package/asterisk-func_extstate/asterisk-func_extstate.mk 2011-10-17 17:08:45 UTC (rev 5203)
@@ -5,7 +5,7 @@
##############################################################
FUNC_EXTSTATE_DIR := $(BUILD_DIR)/func_extstate
FUNC_EXTSTATE_BINARY := func_extstate.so
-FUNC_EXTSTATE_TARGET_BINARY = $(ASTERISK_MODULE_DIR)/$(FUNC_EXTSTATE_BINARY)
+FUNC_EXTSTATE_TARGET_BINARY = usr/lib/asterisk/modules/$(FUNC_EXTSTATE_BINARY)
$(FUNC_EXTSTATE_DIR)/func_extstate.c:
mkdir -p $(FUNC_EXTSTATE_DIR)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2011-12-31 21:52:33
|
Revision: 5345
http://astlinux.svn.sourceforge.net/astlinux/?rev=5345&view=rev
Author: abelbeck
Date: 2011-12-31 21:52:20 +0000 (Sat, 31 Dec 2011)
Log Message:
-----------
build system, fixup old references to SOURCEFORGE_MIRROR
Modified Paths:
--------------
branches/1.0/package/apcupsd/apcupsd.mk
branches/1.0/package/fxload/fxload.mk
branches/1.0/package/pptpd/pptpd.mk
Modified: branches/1.0/package/apcupsd/apcupsd.mk
===================================================================
--- branches/1.0/package/apcupsd/apcupsd.mk 2011-12-31 21:08:05 UTC (rev 5344)
+++ branches/1.0/package/apcupsd/apcupsd.mk 2011-12-31 21:52:20 UTC (rev 5345)
@@ -5,7 +5,7 @@
#############################################################
APCUPSD_VERSION:=3.14.9
APCUPSD_SOURCE:=apcupsd-$(APCUPSD_VERSION).tar.gz
-APCUPSD_SITE:=http://$(SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/apcupsd
+APCUPSD_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/apcupsd
APCUPSD_DIR:=$(BUILD_DIR)/apcupsd-$(APCUPSD_VERSION)
APCUPSD_CAT:=zcat
APCUPSD_BINARY:=src/apcupsd
Modified: branches/1.0/package/fxload/fxload.mk
===================================================================
--- branches/1.0/package/fxload/fxload.mk 2011-12-31 21:08:05 UTC (rev 5344)
+++ branches/1.0/package/fxload/fxload.mk 2011-12-31 21:52:20 UTC (rev 5345)
@@ -5,7 +5,7 @@
#############################################################
FXLOAD_VERSION:=2008_10_13
FXLOAD_SOURCE:=fxload-$(FXLOAD_VERSION).tar.gz
-FXLOAD_SITE:=http://$(SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/linux-hotplug/fxload/$(FXLOAD_VERSION)
+FXLOAD_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/linux-hotplug/fxload/$(FXLOAD_VERSION)
FXLOAD_DIR:=$(BUILD_DIR)/fxload-$(FXLOAD_VERSION)
FXLOAD_CAT:=zcat
FXLOAD_BINARY:=fxload
Modified: branches/1.0/package/pptpd/pptpd.mk
===================================================================
--- branches/1.0/package/pptpd/pptpd.mk 2011-12-31 21:08:05 UTC (rev 5344)
+++ branches/1.0/package/pptpd/pptpd.mk 2011-12-31 21:52:20 UTC (rev 5345)
@@ -5,7 +5,7 @@
#############################################################
PPTPD_VERSION = 1.3.4
-PPTPD_SITE = http://$(SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/poptop/
+PPTPD_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/poptop/
PPTPD_CONF_OPT += \
--sysconfdir=/etc
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-01-02 21:16:29
|
Revision: 5351
http://astlinux.svn.sourceforge.net/astlinux/?rev=5351&view=rev
Author: abelbeck
Date: 2012-01-02 21:16:22 +0000 (Mon, 02 Jan 2012)
Log Message:
-----------
build system, update primary site URL's, Thanks Ingmar
Modified Paths:
--------------
branches/1.0/package/mdnsresponder/mdnsresponder.mk
branches/1.0/package/vsftpd/vsftpd.mk
Modified: branches/1.0/package/mdnsresponder/mdnsresponder.mk
===================================================================
--- branches/1.0/package/mdnsresponder/mdnsresponder.mk 2012-01-01 17:20:31 UTC (rev 5350)
+++ branches/1.0/package/mdnsresponder/mdnsresponder.mk 2012-01-02 21:16:22 UTC (rev 5351)
@@ -5,7 +5,7 @@
##############################################################
MDNSRESPONDER_VERSION := 107.6
MDNSRESPONDER_SOURCE := mDNSResponder-$(MDNSRESPONDER_VERSION).tar.gz
-MDNSRESPONDER_SITE := http://www.opensource.apple.com/tarballs
+MDNSRESPONDER_SITE := http://www.opensource.apple.com/tarballs/mDNSResponder
MDNSRESPONDER_DIR := $(BUILD_DIR)/mDNSResponder-$(MDNSRESPONDER_VERSION)
MDNSRESPONDER_BINARY := mDNSPosix/build/prod/mDNSProxyResponderPosix
MDNSRESPONDER_TARGET_BINARY := usr/sbin/mDNSProxyResponderPosix
Modified: branches/1.0/package/vsftpd/vsftpd.mk
===================================================================
--- branches/1.0/package/vsftpd/vsftpd.mk 2012-01-01 17:20:31 UTC (rev 5350)
+++ branches/1.0/package/vsftpd/vsftpd.mk 2012-01-02 21:16:22 UTC (rev 5351)
@@ -5,7 +5,7 @@
#############################################################
VSFTPD_VERSION = 2.3.4
VSFTPD_SOURCE = vsftpd-$(VSFTPD_VERSION).tar.gz
-VSFTPD_SITE = ftp://vsftpd.beasts.org/users/cevans
+VSFTPD_SITE = https://security.appspot.com/downloads
VSFTPD_LIBS = -lcrypt
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-01-04 15:19:50
|
Revision: 5355
http://astlinux.svn.sourceforge.net/astlinux/?rev=5355&view=rev
Author: abelbeck
Date: 2012-01-04 15:19:42 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
asterisk, version bump to 1.8.8.1, also use the more direct 'downloads.asterisk.org' URL for asterisk related sites
Modified Paths:
--------------
branches/1.0/package/asterisk/asterisk.mk
branches/1.0/package/dahdi-linux/dahdi-linux.mk
branches/1.0/package/dahdi-tools/dahdi-tools.mk
branches/1.0/package/libpri/libpri.mk
Modified: branches/1.0/package/asterisk/asterisk.mk
===================================================================
--- branches/1.0/package/asterisk/asterisk.mk 2012-01-03 17:17:31 UTC (rev 5354)
+++ branches/1.0/package/asterisk/asterisk.mk 2012-01-04 15:19:42 UTC (rev 5355)
@@ -10,14 +10,14 @@
ASTERISK_VERSION := 1.6.2.21
else
ifeq ($(BR2_PACKAGE_ASTERISK_v1_8),y)
-ASTERISK_VERSION := 1.8.8.0
+ASTERISK_VERSION := 1.8.8.1
else
ASTERISK_VERSION := 10.0.0
endif
endif
endif
ASTERISK_SOURCE := asterisk-$(ASTERISK_VERSION).tar.gz
-ASTERISK_SITE := http://downloads.digium.com/pub/asterisk/releases
+ASTERISK_SITE := http://downloads.asterisk.org/pub/telephony/asterisk/releases
ASTERISK_DIR := $(BUILD_DIR)/asterisk-$(ASTERISK_VERSION)
ASTERISK_BINARY := main/asterisk
ASTERISK_TARGET_BINARY := usr/sbin/asterisk
Modified: branches/1.0/package/dahdi-linux/dahdi-linux.mk
===================================================================
--- branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-01-03 17:17:31 UTC (rev 5354)
+++ branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-01-04 15:19:42 UTC (rev 5355)
@@ -5,7 +5,7 @@
##############################################################
DAHDI_LINUX_VERSION := 2.4.1.1
DAHDI_LINUX_SOURCE := dahdi-linux-$(DAHDI_LINUX_VERSION).tar.gz
-DAHDI_LINUX_SITE := http://downloads.digium.com/pub/telephony/dahdi-linux/releases
+DAHDI_LINUX_SITE := http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases
DAHDI_LINUX_DIR := $(BUILD_DIR)/dahdi-linux-$(DAHDI_LINUX_VERSION)
DAHDI_LINUX_DRIVERS_DIR := $(DAHDI_LINUX_DIR)/drivers/dahdi
DAHDI_LINUX_BINARY := dahdi.ko
Modified: branches/1.0/package/dahdi-tools/dahdi-tools.mk
===================================================================
--- branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-01-03 17:17:31 UTC (rev 5354)
+++ branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-01-04 15:19:42 UTC (rev 5355)
@@ -5,7 +5,7 @@
##############################################################
DAHDI_TOOLS_VERSION := 2.4.1
DAHDI_TOOLS_SOURCE := dahdi-tools-$(DAHDI_TOOLS_VERSION).tar.gz
-DAHDI_TOOLS_SITE := http://downloads.digium.com/pub/telephony/dahdi-tools/releases
+DAHDI_TOOLS_SITE := http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases
DAHDI_TOOLS_DIR := $(BUILD_DIR)/dahdi-tools-$(DAHDI_TOOLS_VERSION)
DAHDI_TOOLS_BINARY := dahdi_cfg
DAHDI_TOOLS_TARGET_BINARY := usr/sbin/dahdi_cfg
Modified: branches/1.0/package/libpri/libpri.mk
===================================================================
--- branches/1.0/package/libpri/libpri.mk 2012-01-03 17:17:31 UTC (rev 5354)
+++ branches/1.0/package/libpri/libpri.mk 2012-01-04 15:19:42 UTC (rev 5355)
@@ -6,7 +6,7 @@
LIBPRI_VERSION = 1.4.12
LIBPRI_SOURCE = libpri-$(LIBPRI_VERSION).tar.gz
-LIBPRI_SITE = http://downloads.digium.com/pub/libpri/releases
+LIBPRI_SITE = http://downloads.asterisk.org/pub/telephony/libpri/releases
LIBPRI_INSTALL_STAGING = YES
LIBPRI_INSTALL_TARGET = YES
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-01-10 23:05:27
|
Revision: 5368
http://astlinux.svn.sourceforge.net/astlinux/?rev=5368&view=rev
Author: abelbeck
Date: 2012-01-10 23:05:20 +0000 (Tue, 10 Jan 2012)
Log Message:
-----------
dahdi-linux and dahdi-tools, auto-select versions based on rhino, wanpipe, zaphfc or none
Modified Paths:
--------------
branches/1.0/package/dahdi-linux/dahdi-linux.mk
branches/1.0/package/dahdi-tools/dahdi-tools.mk
Modified: branches/1.0/package/dahdi-linux/dahdi-linux.mk
===================================================================
--- branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-01-10 22:15:57 UTC (rev 5367)
+++ branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-01-10 23:05:20 UTC (rev 5368)
@@ -3,7 +3,19 @@
# dahdi-linux
#
##############################################################
+ifeq ($(BR2_PACKAGE_RHINO),y)
DAHDI_LINUX_VERSION := 2.4.1.1
+else
+ ifeq ($(BR2_PACKAGE_DAHDI_ZAPHFC),y)
+DAHDI_LINUX_VERSION := 2.4.1.1
+ else
+ ifeq ($(BR2_PACKAGE_WANPIPE),y)
+DAHDI_LINUX_VERSION := 2.4.1.1
+ else
+DAHDI_LINUX_VERSION := 2.6.0
+ endif
+ endif
+endif
DAHDI_LINUX_SOURCE := dahdi-linux-$(DAHDI_LINUX_VERSION).tar.gz
DAHDI_LINUX_SITE := http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases
DAHDI_LINUX_DIR := $(BUILD_DIR)/dahdi-linux-$(DAHDI_LINUX_VERSION)
Modified: branches/1.0/package/dahdi-tools/dahdi-tools.mk
===================================================================
--- branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-01-10 22:15:57 UTC (rev 5367)
+++ branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-01-10 23:05:20 UTC (rev 5368)
@@ -3,7 +3,19 @@
# dahdi-tools
#
##############################################################
+ifeq ($(BR2_PACKAGE_RHINO),y)
DAHDI_TOOLS_VERSION := 2.4.1
+else
+ ifeq ($(BR2_PACKAGE_DAHDI_ZAPHFC),y)
+DAHDI_TOOLS_VERSION := 2.4.1
+ else
+ ifeq ($(BR2_PACKAGE_WANPIPE),y)
+DAHDI_TOOLS_VERSION := 2.4.1
+ else
+DAHDI_TOOLS_VERSION := 2.6.0
+ endif
+ endif
+endif
DAHDI_TOOLS_SOURCE := dahdi-tools-$(DAHDI_TOOLS_VERSION).tar.gz
DAHDI_TOOLS_SITE := http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases
DAHDI_TOOLS_DIR := $(BUILD_DIR)/dahdi-tools-$(DAHDI_TOOLS_VERSION)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-01-12 15:53:33
|
Revision: 5371
http://astlinux.svn.sourceforge.net/astlinux/?rev=5371&view=rev
Author: abelbeck
Date: 2012-01-12 15:53:22 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
wanpipe, use DAHDI 2.5.0.2 if rhino and zaphfc is not defined, mostly for testing
Modified Paths:
--------------
branches/1.0/package/dahdi-linux/dahdi-linux.mk
branches/1.0/package/dahdi-tools/dahdi-tools.mk
Modified: branches/1.0/package/dahdi-linux/dahdi-linux.mk
===================================================================
--- branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-01-11 20:53:36 UTC (rev 5370)
+++ branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-01-12 15:53:22 UTC (rev 5371)
@@ -10,7 +10,7 @@
DAHDI_LINUX_VERSION := 2.4.1.1
else
ifeq ($(BR2_PACKAGE_WANPIPE),y)
-DAHDI_LINUX_VERSION := 2.4.1.1
+DAHDI_LINUX_VERSION := 2.5.0.2
else
DAHDI_LINUX_VERSION := 2.6.0
endif
Modified: branches/1.0/package/dahdi-tools/dahdi-tools.mk
===================================================================
--- branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-01-11 20:53:36 UTC (rev 5370)
+++ branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-01-12 15:53:22 UTC (rev 5371)
@@ -10,7 +10,7 @@
DAHDI_TOOLS_VERSION := 2.4.1
else
ifeq ($(BR2_PACKAGE_WANPIPE),y)
-DAHDI_TOOLS_VERSION := 2.4.1
+DAHDI_TOOLS_VERSION := 2.5.0.2
else
DAHDI_TOOLS_VERSION := 2.6.0
endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-01-12 16:52:19
|
Revision: 5373
http://astlinux.svn.sourceforge.net/astlinux/?rev=5373&view=rev
Author: abelbeck
Date: 2012-01-12 16:52:13 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
DAHDI, specify version 2.5.0.2 for rhino
Modified Paths:
--------------
branches/1.0/package/dahdi-linux/dahdi-linux.mk
branches/1.0/package/dahdi-tools/dahdi-tools.mk
Modified: branches/1.0/package/dahdi-linux/dahdi-linux.mk
===================================================================
--- branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-01-12 16:47:10 UTC (rev 5372)
+++ branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-01-12 16:52:13 UTC (rev 5373)
@@ -3,11 +3,11 @@
# dahdi-linux
#
##############################################################
-ifeq ($(BR2_PACKAGE_RHINO),y)
+ifeq ($(BR2_PACKAGE_DAHDI_ZAPHFC),y)
DAHDI_LINUX_VERSION := 2.4.1.1
else
- ifeq ($(BR2_PACKAGE_DAHDI_ZAPHFC),y)
-DAHDI_LINUX_VERSION := 2.4.1.1
+ ifeq ($(BR2_PACKAGE_RHINO),y)
+DAHDI_LINUX_VERSION := 2.5.0.2
else
ifeq ($(BR2_PACKAGE_WANPIPE),y)
DAHDI_LINUX_VERSION := 2.5.0.2
Modified: branches/1.0/package/dahdi-tools/dahdi-tools.mk
===================================================================
--- branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-01-12 16:47:10 UTC (rev 5372)
+++ branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-01-12 16:52:13 UTC (rev 5373)
@@ -3,11 +3,11 @@
# dahdi-tools
#
##############################################################
-ifeq ($(BR2_PACKAGE_RHINO),y)
+ifeq ($(BR2_PACKAGE_DAHDI_ZAPHFC),y)
DAHDI_TOOLS_VERSION := 2.4.1
else
- ifeq ($(BR2_PACKAGE_DAHDI_ZAPHFC),y)
-DAHDI_TOOLS_VERSION := 2.4.1
+ ifeq ($(BR2_PACKAGE_RHINO),y)
+DAHDI_TOOLS_VERSION := 2.5.0.2
else
ifeq ($(BR2_PACKAGE_WANPIPE),y)
DAHDI_TOOLS_VERSION := 2.5.0.2
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-01-26 22:12:32
|
Revision: 5414
http://astlinux.svn.sourceforge.net/astlinux/?rev=5414&view=rev
Author: abelbeck
Date: 2012-01-26 22:12:24 +0000 (Thu, 26 Jan 2012)
Log Message:
-----------
sqlite, version bump to 3.7.10
sudo, version bump to 1.7.8p1
Modified Paths:
--------------
branches/1.0/package/sqlite/sqlite.mk
branches/1.0/package/sudo/sudo.mk
Modified: branches/1.0/package/sqlite/sqlite.mk
===================================================================
--- branches/1.0/package/sqlite/sqlite.mk 2012-01-26 21:15:57 UTC (rev 5413)
+++ branches/1.0/package/sqlite/sqlite.mk 2012-01-26 22:12:24 UTC (rev 5414)
@@ -4,7 +4,7 @@
#
#############################################################
-SQLITE_VERSION = 3070900
+SQLITE_VERSION = 3071000
SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_VERSION).tar.gz
SQLITE_SITE = http://www.sqlite.org
SQLITE_INSTALL_STAGING = YES
Modified: branches/1.0/package/sudo/sudo.mk
===================================================================
--- branches/1.0/package/sudo/sudo.mk 2012-01-26 21:15:57 UTC (rev 5413)
+++ branches/1.0/package/sudo/sudo.mk 2012-01-26 22:12:24 UTC (rev 5414)
@@ -4,7 +4,7 @@
#
#############################################################
-SUDO_VERSION = 1.7.7
+SUDO_VERSION = 1.7.8p1
SUDO_SITE = http://www.sudo.ws/sudo/dist
SUDO_CONF_OPT = \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-02-06 04:16:42
|
Revision: 5438
http://astlinux.svn.sourceforge.net/astlinux/?rev=5438&view=rev
Author: abelbeck
Date: 2012-02-06 04:16:35 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
php, version bump to 5.3.10
r8168, version bump to 8.028.00
spandsp, version bump to 0.0.6pre20
Revision Links:
--------------
http://astlinux.svn.sourceforge.net/astlinux/?rev=8168&view=rev
Modified Paths:
--------------
branches/1.0/package/php/php.mk
branches/1.0/package/r8168/r8168.mk
branches/1.0/package/spandsp/spandsp.mk
Modified: branches/1.0/package/php/php.mk
===================================================================
--- branches/1.0/package/php/php.mk 2012-02-04 16:07:07 UTC (rev 5437)
+++ branches/1.0/package/php/php.mk 2012-02-06 04:16:35 UTC (rev 5438)
@@ -4,7 +4,7 @@
#
#############################################################
-PHP_VERSION = 5.3.9
+PHP_VERSION = 5.3.10
PHP_SOURCE = php-$(PHP_VERSION).tar.bz2
PHP_SITE = http://www.php.net/distributions
PHP_INSTALL_STAGING = YES
Modified: branches/1.0/package/r8168/r8168.mk
===================================================================
--- branches/1.0/package/r8168/r8168.mk 2012-02-04 16:07:07 UTC (rev 5437)
+++ branches/1.0/package/r8168/r8168.mk 2012-02-06 04:16:35 UTC (rev 5438)
@@ -4,7 +4,7 @@
#
#############################################################
-R8168_VERSION = 8.027.00
+R8168_VERSION = 8.028.00
R8168_SOURCE:=r8168-$(R8168_VERSION).tar.bz2
R8168_SITE = http://files.astlinux.org
R8168_DEPENDENCIES = linux
Modified: branches/1.0/package/spandsp/spandsp.mk
===================================================================
--- branches/1.0/package/spandsp/spandsp.mk 2012-02-04 16:07:07 UTC (rev 5437)
+++ branches/1.0/package/spandsp/spandsp.mk 2012-02-06 04:16:35 UTC (rev 5438)
@@ -3,7 +3,7 @@
# spandsp
#
#############################################################
-SPANDSP_VERSION = 0.0.6pre19
+SPANDSP_VERSION = 0.0.6pre20
SPANDSP_SITE = http://www.soft-switch.org/downloads/spandsp
SPANDSP_SOURCE:=spandsp-$(SPANDSP_VERSION).tgz
SPANDSP_INSTALL_STAGING = YES
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-02-07 19:58:44
|
Revision: 5443
http://astlinux.svn.sourceforge.net/astlinux/?rev=5443&view=rev
Author: abelbeck
Date: 2012-02-07 19:58:37 +0000 (Tue, 07 Feb 2012)
Log Message:
-----------
asterisk, add app_notify.c v2.1 for Asterisk 1.8, app_notify v2.0rc1 is used for Asterisk 1.4/1.6
Modified Paths:
--------------
branches/1.0/package/asterisk/asterisk.mk
branches/1.0/package/asterisk-app_notify/asterisk-app_notify.mk
Added Paths:
-----------
branches/1.0/package/asterisk/app_notify-2-1.c
Added: branches/1.0/package/asterisk/app_notify-2-1.c
===================================================================
--- branches/1.0/package/asterisk/app_notify-2-1.c (rev 0)
+++ branches/1.0/package/asterisk/app_notify-2-1.c 2012-02-07 19:58:37 UTC (rev 5443)
@@ -0,0 +1,158 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ */
+
+/*! \file
+ *
+ * \brief Network Notification Application Module for Asterisk
+ *
+ * \author Sven Slezak <su...@me...>
+ *
+ * \ingroup applications
+ */
+
+/*** MODULEINFO
+ <support_level>core</support_level>
+ ***/
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision: $")
+
+#include "asterisk/channel.h"
+#include "asterisk/module.h"
+#include "asterisk/app.h"
+
+
+
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <netdb.h>
+#include <sys/time.h> /* select() */
+
+#define DEFAULT_PORT 40000
+
+static char *app = "Notify";
+
+int notify(const char *text, const char *host, int port);
+
+/*** DOCUMENTATION
+ <application name="Notify" language="en_US">
+ <synopsis>
+ Network Notification Application Module for Asterisk
+ </synopsis>
+ <syntax>
+ <parameter name="text" required="true">
+ <para>The message to send.</para>
+ </parameter>
+ <parameter name="host_port" required="true">
+ <para>The Host to send the message to.</para>
+ </parameter>
+ </syntax>
+ <description>
+ <para>This application sends network notifications from Asterisk to a given host.</para>
+ </description>
+ </application>
+ ***/
+
+static const char notify_app[] = "Notify";
+
+
+int notify(const char *text, const char *host, int port)
+{
+ int sock;
+ int broadcast = 1;
+ struct sockaddr_in servAddr;
+ struct hostent *hp;
+ struct ast_hostent ahp;
+
+ if(option_verbose > 2)
+ ast_verbose (VERBOSE_PREFIX_3 "Notify: sending '%s' to %s:%d \n", text, host, port);
+
+ if ((sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0) {
+ ast_log(LOG_ERROR, "cannot open socket\n");
+ return -1;
+ }
+
+ if(setsockopt(sock, SOL_SOCKET, SO_BROADCAST, &broadcast, sizeof(broadcast)) < 0) {
+ ast_log(LOG_ERROR, "setsockopt error.\n");
+ }
+
+ memset(&servAddr, 0, sizeof(struct sockaddr_in));
+ servAddr.sin_family = AF_INET;
+ servAddr.sin_port = htons(port);
+
+ if((servAddr.sin_addr.s_addr = inet_addr(host)) == -1) {
+ hp = ast_gethostbyname(host, &ahp);
+ if(hp == (struct hostent *)0) {
+ ast_log(LOG_ERROR, "unknown host: %s\n", host);
+ return -1;
+ }
+ memcpy(&servAddr.sin_addr, hp->h_addr_list[0], hp->h_length);
+ }
+
+ if (sendto(sock, text, strlen(text)+1, 0, (struct sockaddr *)&servAddr, sizeof(servAddr)) < 0) {
+ ast_log(LOG_ERROR, "cannot send text\n");
+ close(sock);
+ return -1;
+ }
+
+ close(sock);
+ return 0;
+}
+
+
+static int notify_exec(struct ast_channel *chan, const char *data)
+{
+ AST_DECLARE_APP_ARGS(args,
+ AST_APP_ARG(text);
+ AST_APP_ARG(host_port);
+ );
+ char *parse, *tmp;
+ char *host;
+ int port = DEFAULT_PORT;
+
+ if (ast_strlen_zero(data)) {
+ ast_log(LOG_WARNING, "%s requires an argument (text,host[:port])\n", app);
+ return -1;
+ }
+
+ parse = ast_strdupa(data);
+ AST_STANDARD_APP_ARGS(args, parse);
+
+ if (!ast_strlen_zero(args.text)) {
+ ast_log(LOG_NOTICE, "message is : %s\n", args.text);
+ }
+
+ if (!ast_strlen_zero(args.host_port)) {
+ host = args.host_port;
+ ast_log(LOG_NOTICE, "host_port is : %s\n", args.host_port);
+ if(strchr(args.host_port, ':')) {
+ tmp = strsep(&args.host_port, ":");
+ port = atoi(strsep(&args.host_port, "\0"));
+ host = tmp;
+ }
+
+ ast_log(LOG_NOTICE, "send: '%s' to %s:%d\n", args.text, host, port);
+
+ notify(args.text, host, port);
+ }
+
+ return 0;
+}
+
+static int unload_module(void)
+{
+ return ast_unregister_application(notify_app);
+}
+
+static int load_module(void)
+{
+ if (ast_register_application_xml(notify_app, notify_exec))
+ return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_SUCCESS;
+}
+
+AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Network Notifications for Asterisk");
Modified: branches/1.0/package/asterisk/asterisk.mk
===================================================================
--- branches/1.0/package/asterisk/asterisk.mk 2012-02-06 18:30:23 UTC (rev 5442)
+++ branches/1.0/package/asterisk/asterisk.mk 2012-02-07 19:58:37 UTC (rev 5443)
@@ -158,6 +158,15 @@
endif
endif
+ifeq ($(strip $(BR2_PACKAGE_ASTERISK_APP_NOTIFY)),y)
+ ifneq ($(ASTERISK_VERSION_TUPLE),1.4)
+ ifneq ($(ASTERISK_VERSION_TUPLE),1.6)
+ # Source: http://www.mezzo.net/asterisk/app_notify.html
+ cp -p package/asterisk/app_notify-2-1.c $(ASTERISK_DIR)/apps/app_notify.c
+ endif
+ endif
+endif
+
ifeq ($(strip $(BR2_PACKAGE_ASTERISK_ILBC)),y)
zcat package/asterisk/ilbc-codec.tar.gz | tar -C $(ASTERISK_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(ASTERISK_DIR) package/asterisk/ ilbc-codec-\*.patch
Modified: branches/1.0/package/asterisk-app_notify/asterisk-app_notify.mk
===================================================================
--- branches/1.0/package/asterisk-app_notify/asterisk-app_notify.mk 2012-02-06 18:30:23 UTC (rev 5442)
+++ branches/1.0/package/asterisk-app_notify/asterisk-app_notify.mk 2012-02-07 19:58:37 UTC (rev 5443)
@@ -55,6 +55,12 @@
#
#############################################################
ifeq ($(strip $(BR2_PACKAGE_ASTERISK_APP_NOTIFY)),y)
+ ifeq ($(BR2_PACKAGE_ASTERISK_v1_4),y)
TARGETS+=asterisk-app_notify
+ else
+ ifeq ($(BR2_PACKAGE_ASTERISK_v1_6),y)
+TARGETS+=asterisk-app_notify
+ endif
+ endif
endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-02-23 23:03:22
|
Revision: 5467
http://astlinux.svn.sourceforge.net/astlinux/?rev=5467&view=rev
Author: abelbeck
Date: 2012-02-23 23:03:16 +0000 (Thu, 23 Feb 2012)
Log Message:
-----------
wanpipe, version bump to 3.5.25 supporting DAHDI 2.6.0
Modified Paths:
--------------
branches/1.0/package/dahdi-linux/dahdi-linux.mk
branches/1.0/package/dahdi-tools/dahdi-tools.mk
branches/1.0/package/wanpipe/wanpipe.mk
Modified: branches/1.0/package/dahdi-linux/dahdi-linux.mk
===================================================================
--- branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-02-23 16:04:57 UTC (rev 5466)
+++ branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-02-23 23:03:16 UTC (rev 5467)
@@ -10,7 +10,7 @@
DAHDI_LINUX_VERSION := 2.5.0.2
else
ifeq ($(BR2_PACKAGE_WANPIPE),y)
-DAHDI_LINUX_VERSION := 2.5.0.2
+DAHDI_LINUX_VERSION := 2.6.0
else
DAHDI_LINUX_VERSION := 2.6.0
endif
Modified: branches/1.0/package/dahdi-tools/dahdi-tools.mk
===================================================================
--- branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-02-23 16:04:57 UTC (rev 5466)
+++ branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-02-23 23:03:16 UTC (rev 5467)
@@ -10,7 +10,7 @@
DAHDI_TOOLS_VERSION := 2.5.0.2
else
ifeq ($(BR2_PACKAGE_WANPIPE),y)
-DAHDI_TOOLS_VERSION := 2.5.0.2
+DAHDI_TOOLS_VERSION := 2.6.0
else
DAHDI_TOOLS_VERSION := 2.6.0
endif
Modified: branches/1.0/package/wanpipe/wanpipe.mk
===================================================================
--- branches/1.0/package/wanpipe/wanpipe.mk 2012-02-23 16:04:57 UTC (rev 5466)
+++ branches/1.0/package/wanpipe/wanpipe.mk 2012-02-23 23:03:16 UTC (rev 5467)
@@ -3,7 +3,7 @@
# wanpipe
#
#############################################################
-WANPIPE_VER:=3.5.24
+WANPIPE_VER:=3.5.25
WANPIPE_SITE:= ftp://ftp.sangoma.com/linux/current_wanpipe
WANPIPE_SOURCE:=wanpipe-$(WANPIPE_VER).tgz
WANPIPE_DIR:=$(BUILD_DIR)/wanpipe-$(WANPIPE_VER)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-05-22 21:53:18
|
Revision: 5545
http://astlinux.svn.sourceforge.net/astlinux/?rev=5545&view=rev
Author: abelbeck
Date: 2012-05-22 21:53:12 +0000 (Tue, 22 May 2012)
Log Message:
-----------
DAHDI, version bump dahdi-linux 2.6.1 and dahdi-tools 2.6.1
Modified Paths:
--------------
branches/1.0/package/dahdi-linux/dahdi-linux.mk
branches/1.0/package/dahdi-tools/dahdi-tools.mk
Added Paths:
-----------
branches/1.0/package/dahdi-linux/oslec-2.6.1-echocan_oslec.patch
branches/1.0/package/dahdi-linux/oslec-pre2.6.1-echocan_oslec.patch
Removed Paths:
-------------
branches/1.0/package/dahdi-linux/dahdi-linux-2.4.0-echocan_oslec.patch
Deleted: branches/1.0/package/dahdi-linux/dahdi-linux-2.4.0-echocan_oslec.patch
===================================================================
--- branches/1.0/package/dahdi-linux/dahdi-linux-2.4.0-echocan_oslec.patch 2012-05-21 22:39:36 UTC (rev 5544)
+++ branches/1.0/package/dahdi-linux/dahdi-linux-2.4.0-echocan_oslec.patch 2012-05-22 21:53:12 UTC (rev 5545)
@@ -1,15 +0,0 @@
---- dahdi-linux-2.4.0/drivers/dahdi/Kbuild.orig 2011-02-08 10:50:50.000000000 -0600
-+++ dahdi-linux-2.4.0/drivers/dahdi/Kbuild 2011-02-08 10:52:58.000000000 -0600
-@@ -38,7 +38,11 @@
- # A quick and dirty way to build OSLEC, if you happened to place it
- # yourself in the dahdi source tree. This is experimental. See README
- # regarding OSLEC.
--#obj-m += ../staging/echo/
-+ifneq (,$(wildcard $(src)/../staging/echo/echo.c))
-+obj-$(DAHDI_BUILD_ALL) += ../staging/echo/echo.o
-+obj-m += dahdi_echocan_oslec.o
-+obj-m += ../staging/echo/
-+endif
-
- CFLAGS_MODULE += -I$(DAHDI_INCLUDE) -I$(src)
-
Modified: branches/1.0/package/dahdi-linux/dahdi-linux.mk
===================================================================
--- branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-05-21 22:39:36 UTC (rev 5544)
+++ branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-05-22 21:53:12 UTC (rev 5545)
@@ -7,9 +7,9 @@
DAHDI_LINUX_VERSION := 2.5.0.2
else
ifeq ($(BR2_PACKAGE_WANPIPE),y)
-DAHDI_LINUX_VERSION := 2.6.0
+DAHDI_LINUX_VERSION := 2.6.1
else
-DAHDI_LINUX_VERSION := 2.6.0
+DAHDI_LINUX_VERSION := 2.6.1
endif
endif
DAHDI_LINUX_SOURCE := dahdi-linux-$(DAHDI_LINUX_VERSION).tar.gz
@@ -31,6 +31,11 @@
ifeq ($(strip $(BR2_PACKAGE_DAHDI_OSLEC)),y)
mkdir -p $(DAHDI_LINUX_DIR)/drivers/staging/echo
cp -a $(BUILD_DIR)/linux-$(LINUX_VERSION)/drivers/staging/echo/* $(DAHDI_LINUX_DIR)/drivers/staging/echo
+ ifeq ($(strip $(DAHDI_LINUX_VERSION)),2.5.0.2)
+ toolchain/patch-kernel.sh $(DAHDI_LINUX_DIR) package/dahdi-linux/ oslec-pre2.6.1\*.patch
+ else
+ toolchain/patch-kernel.sh $(DAHDI_LINUX_DIR) package/dahdi-linux/ oslec-2.6.1\*.patch
+ endif
endif
ifeq ($(strip $(BR2_PACKAGE_DAHDI_HFCS)),y)
mkdir -p $(DAHDI_LINUX_DIR)/drivers/dahdi/hfcs
Added: branches/1.0/package/dahdi-linux/oslec-2.6.1-echocan_oslec.patch
===================================================================
--- branches/1.0/package/dahdi-linux/oslec-2.6.1-echocan_oslec.patch (rev 0)
+++ branches/1.0/package/dahdi-linux/oslec-2.6.1-echocan_oslec.patch 2012-05-22 21:53:12 UTC (rev 5545)
@@ -0,0 +1,10 @@
+--- dahdi-linux-2.6.1/drivers/dahdi/Kbuild.orig 2012-05-22 16:22:09.000000000 -0500
++++ dahdi-linux-2.6.1/drivers/dahdi/Kbuild 2012-05-22 16:23:11.000000000 -0500
+@@ -37,6 +37,7 @@
+ # drivers/staging/echo . The DAHDI OSLEC echo canceller will be built as
+ # well:
+ ifneq (,$(wildcard $(src)/../staging/echo/echo.c))
++obj-$(DAHDI_BUILD_ALL) += ../staging/echo/echo.o
+ obj-m += dahdi_echocan_oslec.o
+ obj-m += ../staging/echo/
+ endif
Copied: branches/1.0/package/dahdi-linux/oslec-pre2.6.1-echocan_oslec.patch (from rev 5544, branches/1.0/package/dahdi-linux/dahdi-linux-2.4.0-echocan_oslec.patch)
===================================================================
--- branches/1.0/package/dahdi-linux/oslec-pre2.6.1-echocan_oslec.patch (rev 0)
+++ branches/1.0/package/dahdi-linux/oslec-pre2.6.1-echocan_oslec.patch 2012-05-22 21:53:12 UTC (rev 5545)
@@ -0,0 +1,15 @@
+--- dahdi-linux-2.4.0/drivers/dahdi/Kbuild.orig 2011-02-08 10:50:50.000000000 -0600
++++ dahdi-linux-2.4.0/drivers/dahdi/Kbuild 2011-02-08 10:52:58.000000000 -0600
+@@ -38,7 +38,11 @@
+ # A quick and dirty way to build OSLEC, if you happened to place it
+ # yourself in the dahdi source tree. This is experimental. See README
+ # regarding OSLEC.
+-#obj-m += ../staging/echo/
++ifneq (,$(wildcard $(src)/../staging/echo/echo.c))
++obj-$(DAHDI_BUILD_ALL) += ../staging/echo/echo.o
++obj-m += dahdi_echocan_oslec.o
++obj-m += ../staging/echo/
++endif
+
+ CFLAGS_MODULE += -I$(DAHDI_INCLUDE) -I$(src)
+
Modified: branches/1.0/package/dahdi-tools/dahdi-tools.mk
===================================================================
--- branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-05-21 22:39:36 UTC (rev 5544)
+++ branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-05-22 21:53:12 UTC (rev 5545)
@@ -7,9 +7,9 @@
DAHDI_TOOLS_VERSION := 2.5.0.2
else
ifeq ($(BR2_PACKAGE_WANPIPE),y)
-DAHDI_TOOLS_VERSION := 2.6.0
+DAHDI_TOOLS_VERSION := 2.6.1
else
-DAHDI_TOOLS_VERSION := 2.6.0
+DAHDI_TOOLS_VERSION := 2.6.1
endif
endif
DAHDI_TOOLS_SOURCE := dahdi-tools-$(DAHDI_TOOLS_VERSION).tar.gz
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-07-03 21:08:06
|
Revision: 5585
http://astlinux.svn.sourceforge.net/astlinux/?rev=5585&view=rev
Author: abelbeck
Date: 2012-07-03 21:07:59 +0000 (Tue, 03 Jul 2012)
Log Message:
-----------
miniupnpd, initial checkin provided by David Kerr. For custom builds.
Added Paths:
-----------
branches/1.0/package/miniupnpd/
branches/1.0/package/miniupnpd/Config.in
branches/1.0/package/miniupnpd/miniupnpd-config.patch
branches/1.0/package/miniupnpd/miniupnpd-iptables.patch
branches/1.0/package/miniupnpd/miniupnpd.init
branches/1.0/package/miniupnpd/miniupnpd.mk
Added: branches/1.0/package/miniupnpd/Config.in
===================================================================
--- branches/1.0/package/miniupnpd/Config.in (rev 0)
+++ branches/1.0/package/miniupnpd/Config.in 2012-07-03 21:07:59 UTC (rev 5585)
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_MINIUPNPD
+ bool "miniupnpd"
+ help
+ Implements UPnP and NAT-PMP protocols.
+
+ http://miniupnp.free.fr/
Added: branches/1.0/package/miniupnpd/miniupnpd-config.patch
===================================================================
--- branches/1.0/package/miniupnpd/miniupnpd-config.patch (rev 0)
+++ branches/1.0/package/miniupnpd/miniupnpd-config.patch 2012-07-03 21:07:59 UTC (rev 5585)
@@ -0,0 +1,27 @@
+--- miniupnpd-1.6.20120509-orig/genconfig.sh 2012-05-09 06:40:34.000000000 -0400
++++ miniupnpd-1.6.20120509/genconfig.sh 2012-05-24 21:13:04.412605721 -0400
+@@ -56,6 +56,12 @@
+ OS_VERSION=$(cat ./os.openwrt)
+ fi
+
++# AstLinux special case
++if [ -f ./os.astlinux ]; then
++ OS_NAME=AstLinux
++ OS_VERSION=$(cat ./os.astlinux)
++fi
++
+ # Tomato USB special case
+ if [ -f ../shared/tomato_version ]; then
+ OS_NAME=Tomato
+@@ -223,6 +229,11 @@
+ echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE}
+ FW=netfilter
+ ;;
++ AstLinux)
++ OS_URL=http://www.astlinux.org/
++ echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE}
++ FW=netfilter
++ ;;
+ Tomato)
+ OS_NAME=UPnP
+ OS_URL=http://tomatousb.org/
Added: branches/1.0/package/miniupnpd/miniupnpd-iptables.patch
===================================================================
--- branches/1.0/package/miniupnpd/miniupnpd-iptables.patch (rev 0)
+++ branches/1.0/package/miniupnpd/miniupnpd-iptables.patch 2012-07-03 21:07:59 UTC (rev 5585)
@@ -0,0 +1,129 @@
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/ip6tables_display.sh miniupnpd-1.6.20120509/netfilter/ip6tables_display.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/ip6tables_display.sh 2012-04-24 18:13:41.000000000 -0400
++++ miniupnpd-1.6.20120509/netfilter/ip6tables_display.sh 2012-05-25 17:54:38.840942612 -0400
+@@ -1,6 +1,6 @@
+ #! /bin/sh
+ # $Id: ip6tables_display.sh,v 1.1 2012/04/24 22:13:41 nanard Exp $
+-IPTABLES=/sbin/ip6tables
++IPTABLES=/usr/sbin/ip6tables
+
+ #display all chains relative to miniupnpd
+ $IPTABLES -v -n -t filter -L FORWARD
+Only in miniupnpd-1.6.20120509/netfilter: ip6tables_display.sh~
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/ip6tables_flush.sh miniupnpd-1.6.20120509/netfilter/ip6tables_flush.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/ip6tables_flush.sh 2012-04-24 18:13:41.000000000 -0400
++++ miniupnpd-1.6.20120509/netfilter/ip6tables_flush.sh 2012-05-25 17:54:52.905319865 -0400
+@@ -1,6 +1,6 @@
+ #! /bin/sh
+ # $Id: ip6tables_flush.sh,v 1.1 2012/04/24 22:13:41 nanard Exp $
+-IPTABLES=/sbin/ip6tables
++IPTABLES=/usr/sbin/ip6tables
+
+ #flush all rules owned by miniupnpd
+ $IPTABLES -t filter -F MINIUPNPD
+Only in miniupnpd-1.6.20120509/netfilter: ip6tables_flush.sh~
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/ip6tables_init_and_clean.sh miniupnpd-1.6.20120509/netfilter/ip6tables_init_and_clean.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/ip6tables_init_and_clean.sh 2012-04-24 18:13:41.000000000 -0400
++++ miniupnpd-1.6.20120509/netfilter/ip6tables_init_and_clean.sh 2012-05-25 17:55:16.889967350 -0400
+@@ -4,8 +4,8 @@
+ # Checks for state of filter before doing anything..
+
+ EXTIF=eth0
+-IPTABLES=/sbin/ip6tables
+-FDIRTY="`LC_ALL=C /sbin/ip6tables -t filter -L -n | grep 'MINIUPNPD' | awk '{printf $1}'`"
++IPTABLES=/usr/sbin/ip6tables
++FDIRTY="`LC_ALL=C /usr/sbin/ip6tables -t filter -L -n | grep 'MINIUPNPD' | awk '{printf $1}'`"
+
+ if [[ $FDIRTY = "MINIUPNPDChain" ]]; then
+ echo "Filter table dirty; Cleaning..."
+Only in miniupnpd-1.6.20120509/netfilter: ip6tables_init_and_clean.sh~
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/ip6tables_init.sh miniupnpd-1.6.20120509/netfilter/ip6tables_init.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/ip6tables_init.sh 2012-04-24 18:13:41.000000000 -0400
++++ miniupnpd-1.6.20120509/netfilter/ip6tables_init.sh 2012-05-25 17:55:02.149567735 -0400
+@@ -1,6 +1,6 @@
+ #! /bin/sh
+ # $Id: ip6tables_init.sh,v 1.1 2012/04/24 22:13:41 nanard Exp $
+-IPTABLES=/sbin/ip6tables
++IPTABLES=/usr/sbin/ip6tables
+
+ #change this parameters :
+ EXTIF=eth0
+Only in miniupnpd-1.6.20120509/netfilter: ip6tables_init.sh~
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/ip6tables_removeall.sh miniupnpd-1.6.20120509/netfilter/ip6tables_removeall.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/ip6tables_removeall.sh 2012-04-24 18:13:41.000000000 -0400
++++ miniupnpd-1.6.20120509/netfilter/ip6tables_removeall.sh 2012-05-25 17:55:32.962400684 -0400
+@@ -1,6 +1,6 @@
+ #! /bin/sh
+ # $Id: ip6tables_removeall.sh,v 1.1 2012/04/24 22:13:41 nanard Exp $
+-IPTABLES=/sbin/ip6tables
++IPTABLES=/usr/sbin/ip6tables
+
+ #change this parameters :
+ EXTIF=eth0
+Only in miniupnpd-1.6.20120509/netfilter: ip6tables_removeall.sh~
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/iptables_display.sh miniupnpd-1.6.20120509/netfilter/iptables_display.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/iptables_display.sh 2011-05-16 08:42:29.000000000 -0400
++++ miniupnpd-1.6.20120509/netfilter/iptables_display.sh 2012-05-25 17:52:43.781837854 -0400
+@@ -1,6 +1,6 @@
+ #! /bin/sh
+ # $Id: iptables_display.sh,v 1.4 2011/05/16 12:11:37 nanard Exp $
+-IPTABLES=/sbin/iptables
++IPTABLES=/usr/sbin/iptables
+
+ #display all chains relative to miniupnpd
+ $IPTABLES -v -n -t nat -L PREROUTING
+Only in miniupnpd-1.6.20120509/netfilter: iptables_display.sh~
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/iptables_flush.sh miniupnpd-1.6.20120509/netfilter/iptables_flush.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/iptables_flush.sh 2011-05-16 08:42:29.000000000 -0400
++++ miniupnpd-1.6.20120509/netfilter/iptables_flush.sh 2012-05-25 17:52:57.810213703 -0400
+@@ -1,6 +1,6 @@
+ #! /bin/sh
+ # $Id: iptables_flush.sh,v 1.3 2011/05/16 12:11:37 nanard Exp $
+-IPTABLES=/sbin/iptables
++IPTABLES=/usr/sbin/iptables
+
+ #flush all rules owned by miniupnpd
+ $IPTABLES -t nat -F MINIUPNPD
+Only in miniupnpd-1.6.20120509/netfilter: iptables_flush.sh~
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/iptables_init_and_clean.sh miniupnpd-1.6.20120509/netfilter/iptables_init_and_clean.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/iptables_init_and_clean.sh 2012-03-05 15:37:13.000000000 -0500
++++ miniupnpd-1.6.20120509/netfilter/iptables_init_and_clean.sh 2012-05-25 17:53:50.411635052 -0400
+@@ -4,10 +4,10 @@
+ # Checks for state of filter before doing anything..
+
+ EXTIF=eth0
+-IPTABLES=/sbin/iptables
++IPTABLES=/usr/sbin/iptables
+ EXTIP="`LC_ALL=C /sbin/ifconfig $EXTIF | grep 'inet ' | awk '{print $2}' | sed -e 's/.*://'`"
+-NDIRTY="`LC_ALL=C /sbin/iptables -t nat -L -n | grep 'MINIUPNPD' | awk '{printf $1}'`"
+-FDIRTY="`LC_ALL=C /sbin/iptables -t filter -L -n | grep 'MINIUPNPD' | awk '{printf $1}'`"
++NDIRTY="`LC_ALL=C /usr/sbin/iptables -t nat -L -n | grep 'MINIUPNPD' | awk '{printf $1}'`"
++FDIRTY="`LC_ALL=C /usr/sbin/iptables -t filter -L -n | grep 'MINIUPNPD' | awk '{printf $1}'`"
+ echo "External IP = $EXTIP"
+
+ if [[ $NDIRTY = "MINIUPNPDChain" ]]; then
+Only in miniupnpd-1.6.20120509/netfilter: iptables_init_and_clean.sh~
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/iptables_init.sh miniupnpd-1.6.20120509/netfilter/iptables_init.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/iptables_init.sh 2012-01-02 05:46:25.000000000 -0500
++++ miniupnpd-1.6.20120509/netfilter/iptables_init.sh 2012-05-25 17:53:13.634643345 -0400
+@@ -1,6 +1,6 @@
+ #! /bin/sh
+ # $Id: iptables_init.sh,v 1.6 2012/01/02 09:55:20 nanard Exp $
+-IPTABLES=/sbin/iptables
++IPTABLES=/usr/sbin/iptables
+
+ #change this parameters :
+ EXTIF=eth0
+Only in miniupnpd-1.6.20120509/netfilter: iptables_init.sh~
+diff -rup miniupnpd-1.6.20120509-orig/netfilter/iptables_removeall.sh miniupnpd-1.6.20120509/netfilter/iptables_removeall.sh
+--- miniupnpd-1.6.20120509-orig/netfilter/iptables_removeall.sh 2012-01-02 05:46:25.000000000 -0500
++++ miniupnpd-1.6.20120509/netfilter/iptables_removeall.sh 2012-05-25 17:54:02.151949940 -0400
+@@ -1,6 +1,6 @@
+ #! /bin/sh
+ # $Id: iptables_removeall.sh,v 1.6 2012/01/02 09:55:20 nanard Exp $
+-IPTABLES=/sbin/iptables
++IPTABLES=/usr/sbin/iptables
+
+ #change this parameters :
+ EXTIF=eth0
+Only in miniupnpd-1.6.20120509/netfilter: iptables_removeall.sh~
Added: branches/1.0/package/miniupnpd/miniupnpd.init
===================================================================
--- branches/1.0/package/miniupnpd/miniupnpd.init (rev 0)
+++ branches/1.0/package/miniupnpd/miniupnpd.init 2012-07-03 21:07:59 UTC (rev 5585)
@@ -0,0 +1,127 @@
+#!/bin/sh
+
+# If Astlinux GUI support added then some or all of these may come from rc.conf
+UPNP_ENABLE_NATPMP=yes
+UPNP_ENABLE_UPNP=yes
+UPNP_BITRATE_UP=1000000
+UPNP_BITRATE_DOWN=10000000
+UPNP_SECURE_MODE=no
+INTUPNP=yes
+INT2UPNP=yes
+INT3UPNP=yes
+DMZUPNP=yes
+
+. /etc/rc.conf
+
+MINIUPNPD=/usr/sbin/miniupnpd
+MINIUPNPD_CONF=/tmp/etc/miniupnpd.conf
+IPTABLES_CREATE=/etc/miniupnpd/iptables_init.sh
+IPTABLES_REMOVE=/etc/miniupnpd/iptables_removeall.sh
+
+is_interface_enabled()
+{
+ # args: IF, IP, NM
+ if [ -n "$1" -a "$1" != "none" -a -n "$2" -a -n "$3" ]; then
+ return 0
+ fi
+ return 1
+}
+
+get_cidr()
+{
+ # args: IP, NM
+ local NETWORK PREFIX
+ eval $(ipcalc -np $1 $2)
+
+ echo "$NETWORK/$PREFIX"
+}
+
+init () {
+ local RULES=""
+ if [ -z "$UUID" ]; then
+ # Use the UUID assigned to the asturw filesystem.
+ UUID=$(blkid | sed -n -r -e 's/^.*: LABEL="ASTURW" UUID="([^"]*)" .*$/\1/p')
+ fi
+
+ echo "## Auto generated file. Do not edit.
+## see miniupnpd init.d script
+ext_ifname=$EXTIF" > $MINIUPNPD_CONF
+ if [ "$INTUPNP" = "yes" ] && is_interface_enabled "$INTIF" "$INTIP" "$INTNM"; then
+ echo "listening_ip=$INTIF" >> $MINIUPNPD_CONF
+ RULES="$RULES${RULES:+\n}allow 1024-65535 $(get_cidr $INTIP $INTNM) 1024-65535"
+ fi
+ if [ "$INT2UPNP" = "yes" ] && is_interface_enabled "$INT2IF" "$INT2IP" "$INT2NM"; then
+ echo "listening_ip=$INT2IF" >> $MINIUPNPD_CONF
+ RULES="$RULES${RULES:+\n}allow 1024-65535 $(get_cidr $INT2IP $INT2NM) 1024-65535"
+ fi
+ if [ "$INT3UPNP" = "yes" ] && is_interface_enabled "$INT3IF" "$INT3IP" "$INT3NM"; then
+ echo "listening_ip=$INT3IF" >> $MINIUPNPD_CONF
+ RULES="$RULES${RULES:+\n}allow 1024-65535 $(get_cidr $INT3IP $INT3NM) 1024-65535"
+ fi
+ if [ "$DMZUPNP" = "yes" ] && is_interface_enabled "$DMZIF" "$DMZIP" "$DMZNM"; then
+ echo "listening_ip=$DMZIF" >> $MINIUPNPD_CONF
+ RULES="$RULES${RULES:+\n}allow 1024-65535 $(get_cidr $DMZIP $DMZNM) 1024-65535"
+ fi
+ echo "port=0
+enable_natpmp=$UPNP_ENABLE_NATPMP
+enable_upnp=$UPNP_ENABLE_UPNP
+bitrate_up=$UPNP_BITRATE_UP
+bitrate_down=$UPNP_BITRATE_DOWN
+secure_mode=$UPNP_SECURE_MODE
+system_uptime=yes
+notify_interval=60
+clean_ruleset_interval=600
+uuid=$UUID
+friendly_name=AstLinux Router
+serial=000001
+model_number=$(cat /etc/astlinux-release)" >> $MINIUPNPD_CONF
+ echo -e "$RULES" >> $MINIUPNPD_CONF
+ echo "deny 0-65535 0.0.0.0/0 0-65535" >> $MINIUPNPD_CONF
+}
+
+start () {
+ if [ "$UPNP_ENABLE_NATPMP" = "yes" -o "$UPNP_ENABLE_UPNP" = "yes" ]; then
+ if [ "$INTUPNP" = "yes" -o "$INT2UPNP" = "yes" -o "$INT3UPNP" = "yes" -o "$DMZUPNP" = "yes" ]; then
+ echo "Starting miniupnpd..."
+ $IPTABLES_CREATE > /dev/null 2>&1
+ $MINIUPNPD -f $MINIUPNPD_CONF
+ fi
+ fi
+}
+
+stop () {
+ if [ -f /var/run/miniupnpd.pid ]; then
+ echo "Stopping miniupnpd..."
+ kill $(cat /var/run/miniupnpd.pid) >/dev/null 2>&1
+ rm -f /var/run/miniupnpd.pid
+ $IPTABLES_REMOVE > /dev/null 2>&1
+ fi
+}
+
+
+case $1 in
+
+start)
+ start
+ ;;
+
+stop)
+ stop
+ ;;
+
+init)
+ init
+ start
+ ;;
+
+restart)
+ stop
+ sleep 2
+ start
+ ;;
+
+*)
+ echo "Usage: start|stop|restart"
+ ;;
+
+esac
Added: branches/1.0/package/miniupnpd/miniupnpd.mk
===================================================================
--- branches/1.0/package/miniupnpd/miniupnpd.mk (rev 0)
+++ branches/1.0/package/miniupnpd/miniupnpd.mk 2012-07-03 21:07:59 UTC (rev 5585)
@@ -0,0 +1,36 @@
+#############################################################
+#
+# miniupnpd
+#
+#############################################################
+
+MINIUPNPD_VERSION = 1.7
+MINIUPNPD_SOURCE = miniupnpd-$(MINIUPNPD_VERSION).tar.gz
+MINIUPNPD_SITE = http://miniupnp.free.fr/files
+MINIUPNPD_DEPENDENCIES = iptables
+
+define MINIUPNPD_CONFIGURE_CMDS
+# add this to make for IPv6... CONFIG_OPTIONS="--ipv6"
+ echo -n "AstLinux/" >$(@D)/os.astlinux
+ cat $(RUNFS_DIR)/os/ver | tr \(\)\ _ >>$(@D)/os.astlinux
+ $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" CFLAGS="$(TARGET_CFLAGS)" \
+ -f Makefile.linux -C $(@D) config.h
+endef
+
+define MINIUPNPD_BUILD_CMDS
+ $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \
+ CFLAGS="$(TARGET_CFLAGS) -I$(BUILD_DIR)/iptables-$(IPTABLES_VERSION)/include/ -DIPTABLES_143" \
+ LIBS="$(TARGET_DIR)/usr/lib/libiptc.so $(TARGET_DIR)/usr/lib/libip4tc.so $(TARGET_DIR)/usr/lib/libip6tc.so" \
+ -f Makefile.linux -C $(@D) miniupnpd
+endef
+
+define MINIUPNPD_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 package/miniupnpd/miniupnpd.init $(TARGET_DIR)/etc/init.d/miniupnpd
+ $(INSTALL) -D $(@D)/miniupnpd $(TARGET_DIR)/usr/sbin/miniupnpd
+ -mkdir $(TARGET_DIR)/etc/miniupnpd
+# $(INSTALL) -D package/miniupnpd/miniupnpd.conf -m 0644 $(TARGET_DIR)/etc/miniupnpd/miniupnpd.conf
+ $(INSTALL) -D $(@D)/netfilter/iptables_*.sh $(TARGET_DIR)/etc/miniupnpd/
+# $(INSTALL) -D $(@D)/netfilter/ip6tables_*.sh $(TARGET_DIR)/etc/miniupnpd/
+endef
+
+$(eval $(call GENTARGETS,package,miniupnpd))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-07-05 02:57:27
|
Revision: 5590
http://astlinux.svn.sourceforge.net/astlinux/?rev=5590&view=rev
Author: abelbeck
Date: 2012-07-05 02:57:21 +0000 (Thu, 05 Jul 2012)
Log Message:
-----------
miniupnpd, add AIF plugin to manage iptables
Modified Paths:
--------------
branches/1.0/package/arnofw/arnofw.mk
branches/1.0/package/arnofw/arnofw.serial
branches/1.0/package/miniupnpd/miniupnpd.init
branches/1.0/package/miniupnpd/miniupnpd.mk
Added Paths:
-----------
branches/1.0/package/arnofw/miniupnpd/
branches/1.0/package/arnofw/miniupnpd/50miniupnpd.plugin.sh
branches/1.0/package/arnofw/miniupnpd/miniupnpd-astlinux.conf
Modified: branches/1.0/package/arnofw/arnofw.mk
===================================================================
--- branches/1.0/package/arnofw/arnofw.mk 2012-07-04 19:35:09 UTC (rev 5589)
+++ branches/1.0/package/arnofw/arnofw.mk 2012-07-05 02:57:21 UTC (rev 5590)
@@ -118,6 +118,13 @@
$(TARGET_DIR)$(ARNOFW_PLUGIN_SCRIPT_DIR)/50pptp-vpn.plugin
$(INSTALL) -m 0644 package/arnofw/pptp-vpn/pptp-vpn-astlinux.conf \
$(TARGET_DIR)/stat$(ARNOFW_PLUGIN_CONFIG_DIR)/pptp-vpn.conf
+ @echo
+ @echo "Install local version of miniupnpd plugin."
+ @echo
+ $(INSTALL) -m 0644 package/arnofw/miniupnpd/50miniupnpd.plugin.sh \
+ $(TARGET_DIR)$(ARNOFW_PLUGIN_SCRIPT_DIR)/50miniupnpd.plugin
+ $(INSTALL) -m 0644 package/arnofw/miniupnpd/miniupnpd-astlinux.conf \
+ $(TARGET_DIR)/stat$(ARNOFW_PLUGIN_CONFIG_DIR)/miniupnpd.conf
arnofw: $(TARGET_DIR)$(ARNOFW_TARGET_BINARY)
Modified: branches/1.0/package/arnofw/arnofw.serial
===================================================================
--- branches/1.0/package/arnofw/arnofw.serial 2012-07-04 19:35:09 UTC (rev 5589)
+++ branches/1.0/package/arnofw/arnofw.serial 2012-07-05 02:57:21 UTC (rev 5590)
@@ -1 +1 @@
-0002~0014~0000~0000~0000~
+0002~0015~0000~0000~0000~
Added: branches/1.0/package/arnofw/miniupnpd/50miniupnpd.plugin.sh
===================================================================
--- branches/1.0/package/arnofw/miniupnpd/50miniupnpd.plugin.sh (rev 0)
+++ branches/1.0/package/arnofw/miniupnpd/50miniupnpd.plugin.sh 2012-07-05 02:57:21 UTC (rev 5590)
@@ -0,0 +1,145 @@
+# ------------------------------------------------------------------------------
+# -= Arno's iptables firewall - MiniUPnPd plugin =-
+#
+PLUGIN_NAME="MiniUPnPd plugin"
+PLUGIN_VERSION="1.0"
+PLUGIN_CONF_FILE="miniupnpd.conf"
+#
+# Last changed : July 4, 2012
+# Requirements : AIF 2.0.0+ with miniupnpd daemon
+# Comments : Setup of the iptables chains that the miniupnpd daemon manages
+#
+# Author : (C) Copyright 2012 by Lonnie Abelbeck & Arno van Amersfoort
+# Homepage : http://rocky.eld.leidenuniv.nl/
+# Freshmeat homepage : http://freshmeat.net/projects/iptables-firewall/?topic_id=151
+# Email : a r n o v a AT r o c k y DOT e l d DOT l e i d e n u n i v DOT n l
+# (note: you must remove all spaces and substitute the @ and the .
+# at the proper locations!)
+# ------------------------------------------------------------------------------
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# version 2 as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# ------------------------------------------------------------------------------
+
+# Plugin start function
+plugin_start()
+{
+ ip4tables -t nat -N MINIUPNPD 2>/dev/null
+ ip4tables -t nat -F MINIUPNPD
+
+ ip4tables -N MINIUPNPD 2>/dev/null
+ ip4tables -F MINIUPNPD
+
+ plugin_restart
+
+ return 0
+}
+
+
+# Plugin restart function
+plugin_restart()
+{
+ local IFS
+
+ # Skip plugin_stop on a restart
+ # Reconnect both MINIUPNPD chains, flushed on a restart
+
+ IFS=' ,'
+ for eif in $EXT_IF; do
+ ip4tables -t nat -A NAT_PREROUTING_CHAIN -i $eif -j MINIUPNPD
+
+ ip4tables -A FORWARD_CHAIN -i $eif ! -o $eif -j MINIUPNPD
+ done
+
+ return 0
+}
+
+
+# Plugin stop function
+plugin_stop()
+{
+ local IFS
+
+ IFS=' ,'
+ for eif in $EXT_IF; do
+ ip4tables -t nat -D NAT_PREROUTING_CHAIN -i $eif -j MINIUPNPD
+
+ ip4tables -D FORWARD_CHAIN -i $eif ! -o $eif -j MINIUPNPD
+ done
+
+ ip4tables -t nat -F MINIUPNPD
+ ip4tables -t nat -X MINIUPNPD 2>/dev/null
+
+ ip4tables -F MINIUPNPD
+ ip4tables -X MINIUPNPD 2>/dev/null
+
+ return 0
+}
+
+
+# Plugin status function
+plugin_status()
+{
+ return 0
+}
+
+
+# Check sanity of eg. environment
+plugin_sanity_check()
+{
+ return 0
+}
+
+
+############
+# Mainline #
+############
+
+# Check where to find the config file
+CONF_FILE=""
+if [ -n "$PLUGIN_CONF_PATH" ]; then
+ CONF_FILE="$PLUGIN_CONF_PATH/$PLUGIN_CONF_FILE"
+fi
+
+# Check if the config file exists
+if [ ! -e "$CONF_FILE" ]; then
+ printf "NOTE: Config file \"$CONF_FILE\" not found!\n Plugin \"$PLUGIN_NAME v$PLUGIN_VERSION\" ignored!\n" >&2
+ PLUGIN_RET_VAL=0
+else
+ # Source the plugin config file
+ . "$CONF_FILE"
+
+ if [ "$ENABLED" = "1" -a "$PLUGIN_CMD" != "stop-restart" ] ||
+ [ "$ENABLED" = "0" -a "$PLUGIN_CMD" = "stop-restart" ] ||
+ [ -n "$PLUGIN_LOAD_FILE" -a "$PLUGIN_CMD" = "stop" ] ||
+ [ -n "$PLUGIN_LOAD_FILE" -a "$PLUGIN_CMD" = "status" ]; then
+ # Show who we are:
+ echo "${INDENT}$PLUGIN_NAME v$PLUGIN_VERSION"
+
+ # Increment indention
+ INDENT="$INDENT "
+
+ # Only proceed if environment ok
+ if plugin_sanity_check; then
+ case $PLUGIN_CMD in
+ start|'') plugin_start; PLUGIN_RET_VAL=$?;;
+ restart ) plugin_restart; PLUGIN_RET_VAL=$?;;
+ stop|stop-restart) plugin_stop; PLUGIN_RET_VAL=$?;;
+ status ) plugin_status; PLUGIN_RET_VAL=$?;;
+ * ) PLUGIN_RET_VAL=1; printf "\033[40m\033[1;31m ERROR: Invalid plugin option \"$PLUGIN_CMD\"!\033[0m\n" >&2;;
+ esac
+ fi
+ else
+ PLUGIN_RET_VAL=0
+ fi
+fi
+
Added: branches/1.0/package/arnofw/miniupnpd/miniupnpd-astlinux.conf
===================================================================
--- branches/1.0/package/arnofw/miniupnpd/miniupnpd-astlinux.conf (rev 0)
+++ branches/1.0/package/arnofw/miniupnpd/miniupnpd-astlinux.conf 2012-07-05 02:57:21 UTC (rev 5590)
@@ -0,0 +1,20 @@
+# ------------------------------------------------------------------------------
+# -= Arno's iptables firewall - MiniUPnPd plugin =-
+# ------------------------------------------------------------------------------
+
+# To actually enable this plugin make ENABLED=1:
+# ------------------------------------------------------------------------------
+ENABLED=0
+
+# ------------------------------------------------------------------------------
+# *** Do Not Edit Below Here ***
+# AstLinux specific mappings, either edit your /mnt/kd/rc.conf.d/user.conf file
+# or, use the Network tab from the web interface.
+# ------------------------------------------------------------------------------
+# Indent script section so script variables won't be merged
+
+ ENABLED=0
+ if [ "$UPNP_ENABLE_NATPMP" = "yes" -o "$UPNP_ENABLE_UPNP" = "yes" ]; then
+ ENABLED=1
+ fi
+
Modified: branches/1.0/package/miniupnpd/miniupnpd.init
===================================================================
--- branches/1.0/package/miniupnpd/miniupnpd.init 2012-07-04 19:35:09 UTC (rev 5589)
+++ branches/1.0/package/miniupnpd/miniupnpd.init 2012-07-05 02:57:21 UTC (rev 5590)
@@ -16,8 +16,6 @@
MINIUPNPD=/usr/sbin/miniupnpd
MINIUPNPD_CONF=/tmp/etc/miniupnpd.conf
-IPTABLES_CREATE=/etc/miniupnpd/iptables_init.sh
-IPTABLES_REMOVE=/etc/miniupnpd/iptables_removeall.sh
is_upnp_enabled()
{
@@ -110,7 +108,6 @@
start () {
if [ -f $MINIUPNPD_CONF ]; then
echo "Starting miniupnpd..."
- $IPTABLES_CREATE > /dev/null 2>&1
$MINIUPNPD -f $MINIUPNPD_CONF
fi
}
@@ -120,7 +117,6 @@
echo "Stopping miniupnpd..."
kill $(cat /var/run/miniupnpd.pid) >/dev/null 2>&1
# /var/run/miniupnpd.pid automatically removed by killed process
- $IPTABLES_REMOVE > /dev/null 2>&1
fi
}
Modified: branches/1.0/package/miniupnpd/miniupnpd.mk
===================================================================
--- branches/1.0/package/miniupnpd/miniupnpd.mk 2012-07-04 19:35:09 UTC (rev 5589)
+++ branches/1.0/package/miniupnpd/miniupnpd.mk 2012-07-05 02:57:21 UTC (rev 5590)
@@ -33,8 +33,8 @@
define MINIUPNPD_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 package/miniupnpd/miniupnpd.init $(TARGET_DIR)/etc/init.d/miniupnpd
$(INSTALL) -D $(@D)/miniupnpd $(TARGET_DIR)/usr/sbin/miniupnpd
- -mkdir $(TARGET_DIR)/etc/miniupnpd
- $(INSTALL) -D $(@D)/netfilter/iptables_*.sh $(TARGET_DIR)/etc/miniupnpd/
+# -mkdir $(TARGET_DIR)/etc/miniupnpd
+# $(INSTALL) -D $(@D)/netfilter/iptables_*.sh $(TARGET_DIR)/etc/miniupnpd/
# $(INSTALL) -D $(@D)/netfilter/ip6tables_*.sh $(TARGET_DIR)/etc/miniupnpd/
ln -snf ../../init.d/miniupnpd $(TARGET_DIR)/etc/runlevels/default/S54miniupnpd
ln -snf ../../init.d/miniupnpd $(TARGET_DIR)/etc/runlevels/default/K09miniupnpd
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-07-06 19:11:37
|
Revision: 5594
http://astlinux.svn.sourceforge.net/astlinux/?rev=5594&view=rev
Author: abelbeck
Date: 2012-07-06 19:11:31 +0000 (Fri, 06 Jul 2012)
Log Message:
-----------
miniupnpd, tightly couple in the AIF miniupnpd.plugin, starting and stopping the miniupnpd service will now also handle the iptables MINIUPNPD chains using the AIF miniupnpd.plugin code
Modified Paths:
--------------
branches/1.0/package/arnofw/miniupnpd/50miniupnpd.plugin.sh
branches/1.0/package/miniupnpd/miniupnpd.init
Modified: branches/1.0/package/arnofw/miniupnpd/50miniupnpd.plugin.sh
===================================================================
--- branches/1.0/package/arnofw/miniupnpd/50miniupnpd.plugin.sh 2012-07-06 13:39:37 UTC (rev 5593)
+++ branches/1.0/package/arnofw/miniupnpd/50miniupnpd.plugin.sh 2012-07-06 19:11:31 UTC (rev 5594)
@@ -33,6 +33,12 @@
# Plugin start function
plugin_start()
{
+ # Check to see if started outside of AIF
+ if ip4tables -n -L MINIUPNPD >/dev/null 2>&1; then
+ echo "${INDENT}Note: MINIUPNPD chains already created"
+ return 0
+ fi
+
ip4tables -t nat -N MINIUPNPD 2>/dev/null
ip4tables -t nat -F MINIUPNPD
@@ -51,6 +57,12 @@
{
local eif IFS
+ # Check to see if stopped outside of AIF
+ if ! ip4tables -n -L MINIUPNPD >/dev/null 2>&1; then
+ echo "${INDENT}Note: MINIUPNPD chains do not exist"
+ return 0
+ fi
+
# Skip plugin_stop on a restart
# Reconnect both MINIUPNPD chains, flushed on a restart
@@ -70,6 +82,12 @@
{
local eif IFS
+ # Check to see if stopped outside of AIF
+ if ! ip4tables -n -L MINIUPNPD >/dev/null 2>&1; then
+ echo "${INDENT}Note: MINIUPNPD chains already removed"
+ return 0
+ fi
+
IFS=' ,'
for eif in $EXT_IF; do
ip4tables -t nat -D POST_NAT_PREROUTING_CHAIN -i $eif -j MINIUPNPD
Modified: branches/1.0/package/miniupnpd/miniupnpd.init
===================================================================
--- branches/1.0/package/miniupnpd/miniupnpd.init 2012-07-06 13:39:37 UTC (rev 5593)
+++ branches/1.0/package/miniupnpd/miniupnpd.init 2012-07-06 19:11:31 UTC (rev 5594)
@@ -18,6 +18,49 @@
MINIUPNPD_CONF=/tmp/etc/miniupnpd.conf
MINIUPNPD_LEASEFILE=/var/db/upnp.leases
+aif_miniupnpd_plugin()
+{
+ local action="$1"
+
+ if [ "$FWVERS" != "arno" ]; then
+ return
+ fi
+
+ (
+ plugin_file="/usr/share/arno-iptables-firewall/plugins/50miniupnpd.plugin"
+ if [ -f "$plugin_file" ]; then
+ tmp_source="$(mktemp "/var/tmp/aif_miniupnpd.XXXXXX")"
+ sed -n '1,/^# Mainline #/ p' "$plugin_file" > "$tmp_source"
+ echo '
+ip4tables()
+{
+ /usr/sbin/iptables "$@"
+}
+' >> "$tmp_source"
+
+ # Source only plugin functions from AIF Plugin
+ . "$tmp_source"
+
+ # Setup needed AIF variables
+ EXT_IF=""
+ for intf in $EXTIF $EXT2IF; do
+ EXT_IF="$EXT_IF${EXT_IF:+ }$intf"
+ done
+
+ case $action in
+ start)
+ plugin_start
+ ;;
+ stop)
+ plugin_stop
+ ;;
+ esac
+
+ rm "$tmp_source"
+ fi
+ )
+}
+
is_upnp_enabled()
{
# args: IF_Name
@@ -110,6 +153,7 @@
start () {
if [ -f $MINIUPNPD_CONF ]; then
echo "Starting miniupnpd..."
+ aif_miniupnpd_plugin start >/dev/null 2>&1
touch $MINIUPNPD_LEASEFILE
$MINIUPNPD -f $MINIUPNPD_CONF
fi
@@ -120,6 +164,7 @@
echo "Stopping miniupnpd..."
kill $(cat /var/run/miniupnpd.pid) >/dev/null 2>&1
# /var/run/miniupnpd.pid automatically removed by killed process
+ aif_miniupnpd_plugin stop >/dev/null 2>&1
fi
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-07-11 03:58:07
|
Revision: 5604
http://astlinux.svn.sourceforge.net/astlinux/?rev=5604&view=rev
Author: abelbeck
Date: 2012-07-11 03:57:57 +0000 (Wed, 11 Jul 2012)
Log Message:
-----------
fonulator, add missed tweaks from Michael
Modified Paths:
--------------
branches/1.0/package/fbflash/fbflash.mk
branches/1.0/package/fonulator/fonulator.mk
Modified: branches/1.0/package/fbflash/fbflash.mk
===================================================================
--- branches/1.0/package/fbflash/fbflash.mk 2012-07-10 22:35:37 UTC (rev 5603)
+++ branches/1.0/package/fbflash/fbflash.mk 2012-07-11 03:57:57 UTC (rev 5604)
@@ -6,8 +6,6 @@
FBFLASH_VERSION:=2.0.0
FBFLASH_SITE:=http://support.red-fone.com/fb_flash/
FBFLASH_SOURCE:=fb_flash-$(FBFLASH_VERSION).tar.gz
-FBFLASH_INSTALL_STAGING = YES
-FBFLASH_INSTALL_TARGET = YES
FBFLASH_CONF_OPT = \
--with-shared-libfb \
--without-readline
@@ -15,9 +13,9 @@
FBFLASH_DEPENDENCIES = libfb
define FBFLASH_INSTALL_TARGET_CMDS
- cp -a $(STAGING_DIR)/usr/bin/fb_flash_util $(TARGET_DIR)/usr/sbin/
- cp -a $(STAGING_DIR)/usr/bin/fb_reflector $(TARGET_DIR)/usr/sbin/
- cp -a $(STAGING_DIR)/usr/bin/fb_udp $(TARGET_DIR)/usr/sbin/
+ cp -a $(@D)/fb_flash_util $(TARGET_DIR)/usr/sbin/
+ cp -a $(@D)/fb_reflector $(TARGET_DIR)/usr/sbin/
+ cp -a $(@D)/fb_udp $(TARGET_DIR)/usr/sbin/
endef
define FBFLASH_UNINSTALL_TARGET_CMDS
Modified: branches/1.0/package/fonulator/fonulator.mk
===================================================================
--- branches/1.0/package/fonulator/fonulator.mk 2012-07-10 22:35:37 UTC (rev 5603)
+++ branches/1.0/package/fonulator/fonulator.mk 2012-07-11 03:57:57 UTC (rev 5604)
@@ -6,8 +6,6 @@
FONULATOR_VERSION:=2.0.3
FONULATOR_SITE:=http://support.red-fone.com/downloads/fonulator
FONULATOR_SOURCE:=fonulator-$(FONULATOR_VERSION).tar.gz
-FONULATOR_INSTALL_STAGING = YES
-FONULATOR_INSTALL_TARGET = YES
FONULATOR_DEPENDENCIES = libargtable2 libfb
@@ -19,7 +17,8 @@
--with-shared-libfb
define FONULATOR_INSTALL_TARGET_CMDS
- cp -a $(STAGING_DIR)/usr/bin/fonulator $(TARGET_DIR)/usr/bin/
+ $(INSTALL) -D $(@D)/fonulator $(TARGET_DIR)/usr/sbin/
+ $(INSTALL) -D $(@D)/redfone_sample.conf $(TARGET_DIR)/stat/etc/redfone.conf.sample
$(INSTALL) -D -m 0755 package/fonulator/fonulator.init $(TARGET_DIR)/etc/init.d/fonulator
# $(INSTALL) -D -m 0755 package/fonulator/setup-redfone.sh $(TARGET_DIR)/usr/sbin/setup-redfone
ln -sf /tmp/etc/redfone.conf $(TARGET_DIR)/etc/redfone.conf
@@ -29,7 +28,8 @@
endef
define FONULATOR_UNINSTALL_TARGET_CMDS
- rm -f $(TARGET_DIR)/usr/bin/fonulator
+ rm -f $(TARGET_DIR)/usr/sbin/fonulator
+ rm -f $(TARGET_DIR)/stat/etc/redfone.conf.sample
rm -f $(TARGET_DIR)/etc/init.d/fonulator
# rm -f $(TARGET_DIR)/usr/sbin/setup-redfone
rm -f $(TARGET_DIR)/etc/redfone.conf
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-07-14 05:49:41
|
Revision: 5610
http://astlinux.svn.sourceforge.net/astlinux/?rev=5610&view=rev
Author: abelbeck
Date: 2012-07-14 05:49:34 +0000 (Sat, 14 Jul 2012)
Log Message:
-----------
tinyproxy, initial checkin of new package, not hooked-up with menuconfig yet, Thanks to Michael
Added Paths:
-----------
branches/1.0/package/tinyproxy/
branches/1.0/package/tinyproxy/Config.in
branches/1.0/package/tinyproxy/tinyproxy.init
branches/1.0/package/tinyproxy/tinyproxy.mk
Added: branches/1.0/package/tinyproxy/Config.in
===================================================================
--- branches/1.0/package/tinyproxy/Config.in (rev 0)
+++ branches/1.0/package/tinyproxy/Config.in 2012-07-14 05:49:34 UTC (rev 5610)
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_TINYPROXY
+ bool "tinyproxy"
+ default n
+ help
+ Tinyproxy is a light-weight HTTP/HTTPS proxy daemon.
+
+ https://banu.com/tinyproxy/
+
Added: branches/1.0/package/tinyproxy/tinyproxy.init
===================================================================
--- branches/1.0/package/tinyproxy/tinyproxy.init (rev 0)
+++ branches/1.0/package/tinyproxy/tinyproxy.init 2012-07-14 05:49:34 UTC (rev 5610)
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+. /etc/rc.conf
+
+init () {
+
+ if [ -f /mnt/kd/tinyproxy.conf ]; then
+ ln -sf /mnt/kd/tinyproxy.conf /tmp/etc/tinyproxy.conf
+ fi
+}
+
+start () {
+
+ if [ "$TINYPROXY_START" = "yes" ] && [ -f /mnt/kd/tinyproxy.conf ]; then
+ echo "Starting tinyproxy..."
+
+ /usr/sbin/tinyproxy
+ fi
+}
+
+stop () {
+
+ if [ -f /var/run/tinyproxy.pid ]; then
+ echo "Stopping tinyproxy..."
+
+ kill $(cat /var/run/tinyproxy.pid)
+ fi
+}
+
+if [ ! -x /usr/sbin/tinyproxy ]; then
+ exit
+fi
+
+case $1 in
+
+start)
+ start
+ ;;
+
+stop)
+ stop
+ ;;
+
+init)
+ init
+ start
+ ;;
+
+restart)
+ stop
+ sleep 2
+ start
+ ;;
+
+*)
+ echo "Usage: start|stop|restart"
+ ;;
+
+esac
+
Added: branches/1.0/package/tinyproxy/tinyproxy.mk
===================================================================
--- branches/1.0/package/tinyproxy/tinyproxy.mk (rev 0)
+++ branches/1.0/package/tinyproxy/tinyproxy.mk 2012-07-14 05:49:34 UTC (rev 5610)
@@ -0,0 +1,47 @@
+#############################################################
+#
+# tinyproxy
+#
+#############################################################
+TINYPROXY_VERSION:=1.8.3
+TINYPROXY_SITE:=http://www.banu.com/pub/tinyproxy/1.8
+TINYPROXY_SOURCE:=tinyproxy-$(TINYPROXY_VERSION).tar.bz2
+
+# Workaround for missing a2x on host, disables docs
+TINYPROXY_CONF_ENV = \
+ ac_cv_path_A2X=/bin/true
+
+TINYPROXY_CONF_OPT = \
+ --enable-filter \
+ --enable-reverse \
+ --enable-transparent \
+ --disable-regexcheck
+
+define TINYPROXY_INSTALL_TARGET_CMDS
+ $(INSTALL) -D $(@D)/src/tinyproxy $(TARGET_DIR)/usr/sbin/
+ -mkdir $(TARGET_DIR)/usr/share/tinyproxy
+ cp -a $(@D)/data/templates/*.html $(TARGET_DIR)/usr/share/tinyproxy/
+ $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D)/data/templates install
+ $(INSTALL) -D -m 0644 $(@D)/etc/tinyproxy.conf $(TARGET_DIR)/stat/etc/
+ $(INSTALL) -D -m 0755 package/tinyproxy/tinyproxy.init $(TARGET_DIR)/etc/init.d/tinyproxy
+ ln -sf /tmp/etc/tinyproxy.conf $(TARGET_DIR)/etc/tinyproxy.conf
+ ln -sf ../../init.d/tinyproxy $(TARGET_DIR)/etc/runlevels/default/S33tinyproxy
+ ln -sf ../../init.d/tinyproxy $(TARGET_DIR)/etc/runlevels/default/K25tinyproxy
+endef
+
+define TINYPROXY_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/sbin/tinyproxy
+ rm -rf $(TARGET_DIR)/usr/share/tinyproxy
+ rm -f $(TARGET_DIR)/stat/etc/tinyproxy.conf
+ rm -f $(TARGET_DIR)/etc/init.d/tinyproxy
+ rm -f $(TARGET_DIR)/etc/tinyproxy.conf
+ rm -f $(TARGET_DIR)/etc/runlevels/default/S33tinyproxy
+ rm -f $(TARGET_DIR)/etc/runlevels/default/K25tinyproxy
+endef
+
+define TINYPROXY_UNINSTALL_STAGING_CMDS
+ @echo "Skip Staging Uninstall..."
+endef
+
+
+$(eval $(call AUTOTARGETS,package,tinyproxy))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-12-03 19:10:44
|
Revision: 5783
http://astlinux.svn.sourceforge.net/astlinux/?rev=5783&view=rev
Author: abelbeck
Date: 2012-12-03 19:10:37 +0000 (Mon, 03 Dec 2012)
Log Message:
-----------
asterisk-codec-silk, new package for Asterisk 11 adding the SILK CODEC x86 binary licensed by Digium
Modified Paths:
--------------
branches/1.0/package/Config.in
Added Paths:
-----------
branches/1.0/package/asterisk-codec-silk/
branches/1.0/package/asterisk-codec-silk/Config.in
branches/1.0/package/asterisk-codec-silk/asterisk-codec-silk.mk
Modified: branches/1.0/package/Config.in
===================================================================
--- branches/1.0/package/Config.in 2012-12-02 08:51:51 UTC (rev 5782)
+++ branches/1.0/package/Config.in 2012-12-03 19:10:37 UTC (rev 5783)
@@ -9,6 +9,7 @@
source "package/asterisk-app_notify/Config.in"
source "package/asterisk-app_nvfax/Config.in"
source "package/asterisk-app_waituntil/Config.in"
+source "package/asterisk-codec-silk/Config.in"
source "package/asterisk-func_devstate/Config.in"
source "package/asterisk-func_extstate/Config.in"
source "package/asterisk-gui/Config.in"
Added: branches/1.0/package/asterisk-codec-silk/Config.in
===================================================================
--- branches/1.0/package/asterisk-codec-silk/Config.in (rev 0)
+++ branches/1.0/package/asterisk-codec-silk/Config.in 2012-12-03 19:10:37 UTC (rev 5783)
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_ASTERISK_CODEC_SILK
+ bool "asterisk-codec-silk"
+ default n
+ depends on BR2_PACKAGE_ASTERISK && BR2_PACKAGE_ASTERISK_v11
+ help
+ SILK CODEC developed by Skype (owned by Microsoft)
+ License supplied by Digium in x86 binary form.
+
+ https://developer.skype.com/resources/SILKDataSheet.pdf
+ http://en.wikipedia.org/wiki/SILK
Added: branches/1.0/package/asterisk-codec-silk/asterisk-codec-silk.mk
===================================================================
--- branches/1.0/package/asterisk-codec-silk/asterisk-codec-silk.mk (rev 0)
+++ branches/1.0/package/asterisk-codec-silk/asterisk-codec-silk.mk 2012-12-03 19:10:37 UTC (rev 5783)
@@ -0,0 +1,43 @@
+#############################################################
+#
+# asterisk-codec-silk
+#
+##############################################################
+ifeq ($(BR2_PACKAGE_ASTERISK_v11),y)
+ASTERISK_CODEC_SILK_VERSION := 11.0_1.0.0-i686_32
+ASTERISK_CODEC_SILK_SITE := http://downloads.digium.com/pub/telephony/codec_silk/asterisk-11.0/x86-32
+endif
+ASTERISK_CODEC_SILK_SOURCE := codec_silk-$(ASTERISK_CODEC_SILK_VERSION).tar.gz
+ASTERISK_CODEC_SILK_DIR := $(BUILD_DIR)/codec_silk-$(ASTERISK_CODEC_SILK_VERSION)
+ASTERISK_CODEC_SILK_BINARY := usr/lib/asterisk/modules/codec_silk.so
+
+$(DL_DIR)/$(ASTERISK_CODEC_SILK_SOURCE):
+ifeq ($(ASTERISK_CODEC_SILK_VERSION),)
+ @echo "Asterisk SILK CODEC not supported with the selected version of Asterisk"
+ @exit 1
+endif
+ $(WGET) -P $(DL_DIR) $(ASTERISK_CODEC_SILK_SITE)/$(ASTERISK_CODEC_SILK_SOURCE)
+
+$(ASTERISK_CODEC_SILK_DIR)/.source: $(DL_DIR)/$(ASTERISK_CODEC_SILK_SOURCE)
+ zcat $(DL_DIR)/$(ASTERISK_CODEC_SILK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ touch $@
+
+$(TARGET_DIR)/$(ASTERISK_CODEC_SILK_BINARY): $(ASTERISK_CODEC_SILK_DIR)/.source | asterisk
+ $(INSTALL) -D -m 0755 $(ASTERISK_CODEC_SILK_DIR)/codec_silk.so $(TARGET_DIR)/$(ASTERISK_CODEC_SILK_BINARY)
+
+asterisk-codec-silk: $(TARGET_DIR)/$(ASTERISK_CODEC_SILK_BINARY)
+
+asterisk-codec-silk-clean:
+ rm -f $(TARGET_DIR)/$(ASTERISK_CODEC_SILK_BINARY)
+
+asterisk-codec-silk-dirclean:
+ rm -rf $(ASTERISK_CODEC_SILK_DIR)
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_ASTERISK_CODEC_SILK)),y)
+TARGETS+=asterisk-codec-silk
+endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-12-15 17:58:48
|
Revision: 5809
http://astlinux.svn.sourceforge.net/astlinux/?rev=5809&view=rev
Author: abelbeck
Date: 2012-12-15 17:58:42 +0000 (Sat, 15 Dec 2012)
Log Message:
-----------
libusb / libusb-compat, version bump to 1.0.9 / 0.1.4
Modified Paths:
--------------
branches/1.0/package/libusb/libusb.mk
branches/1.0/package/libusb-compat/libusb-compat.mk
Modified: branches/1.0/package/libusb/libusb.mk
===================================================================
--- branches/1.0/package/libusb/libusb.mk 2012-12-15 17:31:32 UTC (rev 5808)
+++ branches/1.0/package/libusb/libusb.mk 2012-12-15 17:58:42 UTC (rev 5809)
@@ -3,7 +3,7 @@
# libusb
#
#############################################################
-LIBUSB_VERSION = 1.0.8
+LIBUSB_VERSION = 1.0.9
LIBUSB_SOURCE = libusb-$(LIBUSB_VERSION).tar.bz2
LIBUSB_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/libusb/libusb-1.0/libusb-$(LIBUSB_VERSION)
LIBUSB_DEPENDENCIES = host-pkg-config
Modified: branches/1.0/package/libusb-compat/libusb-compat.mk
===================================================================
--- branches/1.0/package/libusb-compat/libusb-compat.mk 2012-12-15 17:31:32 UTC (rev 5808)
+++ branches/1.0/package/libusb-compat/libusb-compat.mk 2012-12-15 17:58:42 UTC (rev 5809)
@@ -3,9 +3,9 @@
# libusb-compat
#
#############################################################
-LIBUSB_COMPAT_VERSION = 0.1.3
+LIBUSB_COMPAT_VERSION = 0.1.4
LIBUSB_COMPAT_SOURCE = libusb-compat-$(LIBUSB_COMPAT_VERSION).tar.bz2
-LIBUSB_COMPAT_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-$(LIBUSB_COMPAT_VERSION)
+LIBUSB_COMPAT_SITE = http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-$(LIBUSB_COMPAT_VERSION)
LIBUSB_COMPAT_DEPENDENCIES = host-pkg-config libusb
LIBUSB_COMPAT_INSTALL_STAGING = YES
LIBUSB_COMPAT_INSTALL_TARGET = YES
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-12-16 15:08:00
|
Revision: 5810
http://astlinux.svn.sourceforge.net/astlinux/?rev=5810&view=rev
Author: abelbeck
Date: 2012-12-16 15:07:52 +0000 (Sun, 16 Dec 2012)
Log Message:
-----------
tcpdump, version bump to 4.3.0
libpcap, version bump to 1.3.0
Note: Must disable CANUSB in libpcap, causes USB related kernel panics, and --disable-canusb or --enable-canusb=no do not work so a patch is necessary to disable canusb
Modified Paths:
--------------
branches/1.0/package/libpcap/libpcap.mk
branches/1.0/package/tcpdump/tcpdump.mk
Added Paths:
-----------
branches/1.0/package/libpcap/libpcap-disable-canusb.patch
Added: branches/1.0/package/libpcap/libpcap-disable-canusb.patch
===================================================================
--- branches/1.0/package/libpcap/libpcap-disable-canusb.patch (rev 0)
+++ branches/1.0/package/libpcap/libpcap-disable-canusb.patch 2012-12-16 15:07:52 UTC (rev 5810)
@@ -0,0 +1,16 @@
+--- libpcap-1.3.0/configure.in.orig 2012-12-16 08:12:01.000000000 -0600
++++ libpcap-1.3.0/configure.in 2012-12-16 08:15:17.000000000 -0600
+@@ -1395,10 +1395,10 @@
+ fi
+
+ AC_ARG_ENABLE([canusb],
+-[AC_HELP_STRING([--enable-canusb],[enable canusb support @<:@default=yes, if support available@:>@])]
+-,enable_canusb=yes)
++[AC_HELP_STRING([--enable-canusb],[enable canusb support @<:@default=no, if support available@:>@])]
++,enable_canusb=no)
+
+-if test "x$enable_canusb" != "xno" ; then
++if test "x$enable_canusb" = "xyes" ; then
+ dnl check for canusb support
+ case "$host_os" in
+ linux*)
Modified: branches/1.0/package/libpcap/libpcap.mk
===================================================================
--- branches/1.0/package/libpcap/libpcap.mk 2012-12-15 17:58:42 UTC (rev 5809)
+++ branches/1.0/package/libpcap/libpcap.mk 2012-12-16 15:07:52 UTC (rev 5810)
@@ -4,15 +4,21 @@
#
#############################################################
-LIBPCAP_VERSION = 1.2.1
+LIBPCAP_VERSION = 1.3.0
LIBPCAP_SITE = http://www.tcpdump.org/release
LIBPCAP_SOURCE = libpcap-$(LIBPCAP_VERSION).tar.gz
LIBPCAP_INSTALL_STAGING = YES
-# doesn't have an install-strip
-LIBPCAP_INSTALL_TARGET_OPT= DESTDIR="$(TARGET_DIR)" \
- $(if $(BR2_PREFER_STATIC_LIB),install,install-shared)
-LIBPCAP_INSTALL_STAGING_OPT= DESTDIR="$(STAGING_DIR)" install \
- $(if $(BR2_PREFER_STATIC_LIB),,install-shared)
+
+# The configure.in file contains the necessary code to handle
+# --enable-shared/--disable-shared properly, but the configure script
+# bundled with the libpcap tarball is not up-to-date with the
+# configure.in file. In order to get proper handling of
+# --enable-shared/--disable-shared, which is needed when doing a
+# static library build, we autoreconfigure this package. This can be
+# removed when bumping libpcap, after checking that the bundled
+# configure script correctly handles --enable-shared/--disable-shared.
+LIBPCAP_AUTORECONF = YES
+
LIBPCAP_DEPENDENCIES = zlib
LIBPCAP_CONF_ENV = ac_cv_linux_vers=2 \
ac_cv_header_linux_wireless_h=yes # configure misdetects this
Modified: branches/1.0/package/tcpdump/tcpdump.mk
===================================================================
--- branches/1.0/package/tcpdump/tcpdump.mk 2012-12-15 17:58:42 UTC (rev 5809)
+++ branches/1.0/package/tcpdump/tcpdump.mk 2012-12-16 15:07:52 UTC (rev 5810)
@@ -6,10 +6,11 @@
# Copyright (C) 2001-2003 by Erik Andersen <and...@co...>
# Copyright (C) 2002 by Tim Riker <Ti...@Ri...>
-TCPDUMP_VERSION = 4.2.1
+TCPDUMP_VERSION = 4.3.0
TCPDUMP_SITE = http://www.tcpdump.org/release
TCPDUMP_SOURCE = tcpdump-$(TCPDUMP_VERSION).tar.gz
-TCPDUMP_CONF_ENV = ac_cv_linux_vers=2
+
+TCPDUMP_CONF_ENV = ac_cv_linux_vers=2 td_cv_buggygetaddrinfo=no
TCPDUMP_CONF_OPT = --without-crypto \
$(if $(BR2_PACKAGE_TCPDUMP_SMB),--enable-smb,--disable-smb)
TCPDUMP_DEPENDENCIES = zlib libpcap
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-12-24 21:44:20
|
Revision: 5835
http://astlinux.svn.sourceforge.net/astlinux/?rev=5835&view=rev
Author: abelbeck
Date: 2012-12-24 21:44:09 +0000 (Mon, 24 Dec 2012)
Log Message:
-----------
allow perl and microperl to coexist, giving priority to perl if we have to choose
Note: none of these changes effect package options we use, simply for consistency
Modified Paths:
--------------
branches/1.0/package/autoconf/Config.in
branches/1.0/package/autoconf/autoconf.mk
branches/1.0/package/automake/Config.in
branches/1.0/package/automake/automake.mk
branches/1.0/package/cups/cups.mk
branches/1.0/package/ntp/Config.in
branches/1.0/package/samba/Config.in
Modified: branches/1.0/package/autoconf/Config.in
===================================================================
--- branches/1.0/package/autoconf/Config.in 2012-12-24 21:08:37 UTC (rev 5834)
+++ branches/1.0/package/autoconf/Config.in 2012-12-24 21:44:09 UTC (rev 5835)
@@ -1,6 +1,6 @@
config BR2_PACKAGE_AUTOCONF
bool "autoconf"
- select BR2_PACKAGE_MICROPERL
+ select BR2_PACKAGE_PERL
help
Extensible program for developing configure scripts. These
scripts handle all the mundane system/feature detection.
Modified: branches/1.0/package/autoconf/autoconf.mk
===================================================================
--- branches/1.0/package/autoconf/autoconf.mk 2012-12-24 21:08:37 UTC (rev 5834)
+++ branches/1.0/package/autoconf/autoconf.mk 2012-12-24 21:44:09 UTC (rev 5835)
@@ -10,7 +10,7 @@
AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no
-AUTOCONF_DEPENDENCIES = microperl host-m4
+AUTOCONF_DEPENDENCIES = perl host-m4
HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no
Modified: branches/1.0/package/automake/Config.in
===================================================================
--- branches/1.0/package/automake/Config.in 2012-12-24 21:08:37 UTC (rev 5834)
+++ branches/1.0/package/automake/Config.in 2012-12-24 21:44:09 UTC (rev 5835)
@@ -1,7 +1,7 @@
config BR2_PACKAGE_AUTOMAKE
bool "automake"
select BR2_PACKAGE_AUTOCONF
- select BR2_PACKAGE_MICROPERL
+ select BR2_PACKAGE_PERL
help
Tool for automatically generating Makefile's for input to
configure scripts (made by autoconf).
Modified: branches/1.0/package/automake/automake.mk
===================================================================
--- branches/1.0/package/automake/automake.mk 2012-12-24 21:08:37 UTC (rev 5834)
+++ branches/1.0/package/automake/automake.mk 2012-12-24 21:44:09 UTC (rev 5835)
@@ -7,7 +7,7 @@
AUTOMAKE_SOURCE = automake-$(AUTOMAKE_VERSION).tar.bz2
AUTOMAKE_SITE = $(BR2_GNU_MIRROR)/automake
-AUTOMAKE_DEPENDENCIES = host-autoconf autoconf microperl
+AUTOMAKE_DEPENDENCIES = host-autoconf autoconf perl
HOST_AUTOMAKE_DEPENDENCIES = host-autoconf
Modified: branches/1.0/package/cups/cups.mk
===================================================================
--- branches/1.0/package/cups/cups.mk 2012-12-24 21:08:37 UTC (rev 5834)
+++ branches/1.0/package/cups/cups.mk 2012-12-24 21:44:09 UTC (rev 5835)
@@ -27,10 +27,10 @@
CUPS_CFLAGS = $(TARGET_CFLAGS)
-ifeq ($(BR2_PACKAGE_PERL),disabled) # We do not provide perl (yet)
+ifeq ($(BR2_PACKAGE_PERL),y)
CUPS_CONF_ENV += ac_cv_path_perl=$(STAGING_DIR)/usr/bin/perl
CUPS_CONF_OPT += --with-perl
- CUPS_DEPENDENCIES += microperl
+ CUPS_DEPENDENCIES += perl
else
CUPS_CONF_OPT += --disable-perl
endif
Modified: branches/1.0/package/ntp/Config.in
===================================================================
--- branches/1.0/package/ntp/Config.in 2012-12-24 21:08:37 UTC (rev 5834)
+++ branches/1.0/package/ntp/Config.in 2012-12-24 21:44:09 UTC (rev 5835)
@@ -20,7 +20,7 @@
config BR2_PACKAGE_NTP_NTP_WAIT
bool "ntp-wait"
- depends on BR2_PACKAGE_MICROPERL
+ depends on BR2_PACKAGE_PERL || BR2_PACKAGE_MICROPERL
depends on BR2_PACKAGE_NTP
help
ntp-wait waits until the locally running ntpd is in state 4
@@ -59,7 +59,7 @@
config BR2_PACKAGE_NTP_NTPTRACE
bool "ntptrace"
- depends on BR2_PACKAGE_MICROPERL
+ depends on BR2_PACKAGE_PERL || BR2_PACKAGE_MICROPERL
depends on BR2_PACKAGE_NTP
help
ntptrace is a perl script that uses the ntpq utility program to
Modified: branches/1.0/package/samba/Config.in
===================================================================
--- branches/1.0/package/samba/Config.in 2012-12-24 21:08:37 UTC (rev 5834)
+++ branches/1.0/package/samba/Config.in 2012-12-24 21:44:09 UTC (rev 5835)
@@ -33,12 +33,12 @@
default y
depends on BR2_PACKAGE_SAMBA_SMBCLIENT
depends on BR2_PACKAGE_SAMBA_NMBLOOKUP
- depends on BR2_PACKAGE_MICROPERL
+ depends on BR2_PACKAGE_PERL || BR2_PACKAGE_MICROPERL
help
Script to browse network
comment "findsmb - disabled (requires nmblookup, smbclient and perl)"
- depends on !BR2_PACKAGE_SAMBA_SMBCLIENT || !BR2_PACKAGE_SAMBA_NMBLOOKUP || !BR2_PACKAGE_MICROPERL
+ depends on !BR2_PACKAGE_SAMBA_SMBCLIENT || !BR2_PACKAGE_SAMBA_NMBLOOKUP || !(BR2_PACKAGE_PERL || BR2_PACKAGE_MICROPERL)
config BR2_PACKAGE_SAMBA_NET
bool "net"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2012-12-24 22:39:02
|
Revision: 5836
http://astlinux.svn.sourceforge.net/astlinux/?rev=5836&view=rev
Author: abelbeck
Date: 2012-12-24 22:38:55 +0000 (Mon, 24 Dec 2012)
Log Message:
-----------
dahdi-linux and dahdi-tools, set PERLLIBDIR to a known target location, not based on the host as before
Modified Paths:
--------------
branches/1.0/package/dahdi-linux/dahdi-linux.mk
branches/1.0/package/dahdi-tools/dahdi-tools.mk
Modified: branches/1.0/package/dahdi-linux/dahdi-linux.mk
===================================================================
--- branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-12-24 21:44:09 UTC (rev 5835)
+++ branches/1.0/package/dahdi-linux/dahdi-linux.mk 2012-12-24 22:38:55 UTC (rev 5836)
@@ -18,7 +18,7 @@
DAHDI_LINUX_DRIVERS_DIR := $(DAHDI_LINUX_DIR)/drivers/dahdi
DAHDI_LINUX_BINARY := dahdi.ko
DAHDI_LINUX_TARGET_BINARY := etc/udev/rules.d/dahdi.rules
-PERLLIBDIR := $(shell eval `perl -V:sitelib`; echo "$$sitelib")
+PERLLIBDIR := /usr/local/share/perl
DAHDI_LINUX_PREREQS := linux libusb udev
DAHDI_LINUX_CONFIGURE_ARGS :=
DEPMOD := $(HOST_DIR)/usr/sbin/depmod
@@ -60,14 +60,14 @@
install-include
$(TARGET_DIR)/$(DAHDI_LINUX_TARGET_BINARY): $(DAHDI_LINUX_DRIVERS_DIR)/$(DAHDI_LINUX_BINARY)
- mkdir -p $(TARGET_DIR)/$(PERLLIBDIR)
+ mkdir -p $(TARGET_DIR)$(PERLLIBDIR)
$(MAKE1) -C $(DAHDI_LINUX_DIR) \
HOSTCC=gcc CC=$(TARGET_CC) ARCH=$(KERNEL_ARCH) \
DESTDIR=$(TARGET_DIR) KVERS=$(LINUX_VERSION_PROBED) \
KSRC=$(LINUX_DIR) PWD=$(DAHDI_LINUX_DIR) \
+ PERLLIBDIR=$(PERLLIBDIR) \
install
rm -rf $(TARGET_DIR)/usr/include
- rm -rf $(TARGET_DIR)/$(PERLLIBDIR)
$(DEPMOD) -ae -F $(LINUX_DIR)/System.map -b $(TARGET_DIR) -r $(LINUX_VERSION_PROBED)
dahdi-linux: $(TARGET_DIR)/$(DAHDI_LINUX_TARGET_BINARY) \
Modified: branches/1.0/package/dahdi-tools/dahdi-tools.mk
===================================================================
--- branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-12-24 21:44:09 UTC (rev 5835)
+++ branches/1.0/package/dahdi-tools/dahdi-tools.mk 2012-12-24 22:38:55 UTC (rev 5836)
@@ -17,7 +17,7 @@
DAHDI_TOOLS_DIR := $(BUILD_DIR)/dahdi-tools-$(DAHDI_TOOLS_VERSION)
DAHDI_TOOLS_BINARY := dahdi_cfg
DAHDI_TOOLS_TARGET_BINARY := usr/sbin/dahdi_cfg
-PERLLIBDIR := $(shell eval `perl -V:sitelib`; echo "$$sitelib")
+PERLLIBDIR := /usr/local/share/perl
DAHDI_TOOLS_PREREQS := libusb newt dahdi-linux
DAHDI_TOOLS_CONFIGURE_ARGS :=
@@ -60,10 +60,10 @@
$(MAKE) -C $(DAHDI_TOOLS_DIR) HOSTCC=gcc CC=$(TARGET_CC)
$(TARGET_DIR)/$(DAHDI_TOOLS_TARGET_BINARY): $(DAHDI_TOOLS_DIR)/$(DAHDI_TOOLS_BINARY)
- mkdir -p $(TARGET_DIR)/$(PERLLIBDIR)
+ mkdir -p $(TARGET_DIR)$(PERLLIBDIR)
rm -rf $(TARGET_DIR)/etc/dahdi
$(MAKE1) -C $(DAHDI_TOOLS_DIR) HOSTCC=gcc CC=$(TARGET_CC) \
- PERLLIBDIR=/usr/local/share/perl \
+ PERLLIBDIR=$(PERLLIBDIR) \
install DESTDIR=$(TARGET_DIR)
@rm -rf $(TARGET_DIR)/stat/etc/dahdi
mv $(TARGET_DIR)/etc/dahdi $(TARGET_DIR)/stat/etc/dahdi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2013-01-06 06:38:18
|
Revision: 5867
http://astlinux.svn.sourceforge.net/astlinux/?rev=5867&view=rev
Author: abelbeck
Date: 2013-01-06 06:38:11 +0000 (Sun, 06 Jan 2013)
Log Message:
-----------
luaexpat, new package - not added to menuconfig yet
Added Paths:
-----------
branches/1.0/package/luaexpat/
branches/1.0/package/luaexpat/Config.in
branches/1.0/package/luaexpat/luaexpat.mk
Added: branches/1.0/package/luaexpat/Config.in
===================================================================
--- branches/1.0/package/luaexpat/Config.in (rev 0)
+++ branches/1.0/package/luaexpat/Config.in 2013-01-06 06:38:11 UTC (rev 5867)
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LUAEXPAT
+ bool "luaexpat"
+ select BR2_PACKAGE_EXPAT
+ help
+ LuaExpat is a SAX XML parser based on the Expat library.
+
+ http://matthewwild.co.uk/projects/luaexpat/
Added: branches/1.0/package/luaexpat/luaexpat.mk
===================================================================
--- branches/1.0/package/luaexpat/luaexpat.mk (rev 0)
+++ branches/1.0/package/luaexpat/luaexpat.mk 2013-01-06 06:38:11 UTC (rev 5867)
@@ -0,0 +1,38 @@
+#############################################################
+#
+# luaexpat
+#
+#############################################################
+
+LUAEXPAT_VERSION = 1.2.0
+LUAEXPAT_SITE = http://matthewwild.co.uk/projects/luaexpat
+LUAEXPAT_DEPENDENCIES = lua expat
+
+
+LUAEXPAT_MFLAGS += LUA_VERSION_NUM=501
+LUAEXPAT_MFLAGS += LUA_INC=$(STAGING_DIR)/usr/include/lua
+LUAEXPAT_MFLAGS += EXPAT_INC=$(STAGING_DIR)/usr/include
+LUAEXPAT_MFLAGS += LIBNAME=lxp.so
+LUAEXPAT_MFLAGS += LIB_OPTION="-shared -fPIC $(TARGET_CFLAGS)"
+LUAEXPAT_MFLAGS += CC="$(TARGET_CC) -fPIC $(TARGET_CFLAGS)"
+
+
+define LUAEXPAT_BUILD_CMDS
+ $(MAKE) -C $(@D) $(LUAEXPAT_MFLAGS)
+endef
+
+define LUAEXPAT_INSTALL_TARGET_CMDS
+ $(INSTALL) -D $(@D)/src/lxp.so $(TARGET_DIR)/usr/lib/lua/lxp.so
+ $(INSTALL) -D -m 0644 $(@D)/src/lxp/lom.lua $(TARGET_DIR)/usr/share/lua/lxp/lom.lua
+endef
+
+define LUAEXPAT_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/lib/lua/lxp.so
+ rm -f $(TARGET_DIR)/usr/share/lua/lxp/lom.lua
+endef
+
+define LUAEXPAT_CLEAN_CMDS
+ $(MAKE) -C $(@D) $(LUAEXPAT_MFLAGS) clean
+endef
+
+$(eval $(call GENTARGETS,package,luaexpat))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2013-01-06 06:38:50
|
Revision: 5868
http://astlinux.svn.sourceforge.net/astlinux/?rev=5868&view=rev
Author: abelbeck
Date: 2013-01-06 06:38:44 +0000 (Sun, 06 Jan 2013)
Log Message:
-----------
luasec, new package - not added to menuconfig yet
Added Paths:
-----------
branches/1.0/package/luasec/
branches/1.0/package/luasec/Config.in
branches/1.0/package/luasec/luasec.mk
Added: branches/1.0/package/luasec/Config.in
===================================================================
--- branches/1.0/package/luasec/Config.in (rev 0)
+++ branches/1.0/package/luasec/Config.in 2013-01-06 06:38:44 UTC (rev 5868)
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LUASEC
+ bool "luasec"
+ help
+ LuaSec is a binding for OpenSSL library to provide TLS/SSL communication.
+
+ https://github.com/brunoos/luasec/wiki
+
Added: branches/1.0/package/luasec/luasec.mk
===================================================================
--- branches/1.0/package/luasec/luasec.mk (rev 0)
+++ branches/1.0/package/luasec/luasec.mk 2013-01-06 06:38:44 UTC (rev 5868)
@@ -0,0 +1,37 @@
+#############################################################
+#
+# luasec
+#
+#############################################################
+
+LUASEC_VERSION = 0.4.1
+LUASEC_SOURCE = luasec-$(LUASEC_VERSION).tar.gz
+LUASEC_SITE = http://files.astlinux.org
+LUASEC_DEPENDENCIES = lua openssl luasocket
+
+define LUASEC_BUILD_CMDS
+ $(MAKE) -C $(@D)/src linux \
+ INCDIR="-I$(STAGING_DIR)/usr/include/" \
+ LIBDIR="-L$(STAGING_DIR)/usr/lib/" \
+ CFLAGS="$(TARGET_CFLAGS) -fpic" \
+ CC="$(TARGET_CC)" \
+ LD="$(TARGET_LD) -shared"
+endef
+
+define LUASEC_INSTALL_TARGET_CMDS
+ $(MAKE) -C $(@D)/src \
+ LUACPATH="$(TARGET_DIR)/usr/lib/lua" \
+ LUAPATH="$(TARGET_DIR)/usr/share/lua" install
+endef
+
+define LUASEC_UNINSTALL_TARGET_CMDS
+ rm -rf "$(TARGET_DIR)/usr/share/lua/ssl"
+ rm -f "$(TARGET_DIR)/usr/share/lua/ssl.lua"
+ rm -f "$(TARGET_DIR)/usr/lib/lua/ssl.so"
+endef
+
+define LUASEC_CLEAN_CMDS
+ $(MAKE) -C $(@D) -f makefile clean
+endef
+
+$(eval $(call GENTARGETS,package,luasec))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <abe...@us...> - 2013-01-06 06:39:50
|
Revision: 5869
http://astlinux.svn.sourceforge.net/astlinux/?rev=5869&view=rev
Author: abelbeck
Date: 2013-01-06 06:39:43 +0000 (Sun, 06 Jan 2013)
Log Message:
-----------
prosody, new package - not added to menuconfig yet
Added Paths:
-----------
branches/1.0/package/prosody/
branches/1.0/package/prosody/Config.in
branches/1.0/package/prosody/prosody.mk
Added: branches/1.0/package/prosody/Config.in
===================================================================
--- branches/1.0/package/prosody/Config.in (rev 0)
+++ branches/1.0/package/prosody/Config.in 2013-01-06 06:39:43 UTC (rev 5869)
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PROSODY
+ bool "prosody"
+ default n
+ help
+ Prosody is a modern flexible communications server for Jabber/XMPP written in Lua
+
+ http://prosody.im/
+
Added: branches/1.0/package/prosody/prosody.mk
===================================================================
--- branches/1.0/package/prosody/prosody.mk (rev 0)
+++ branches/1.0/package/prosody/prosody.mk 2013-01-06 06:39:43 UTC (rev 5869)
@@ -0,0 +1,28 @@
+#############################################################
+#
+# prosody
+#
+#############################################################
+
+PROSODY_VERSION = 0.8.2
+PROSODY_SOURCE = prosody-$(PROSODY_VERSION).tar.gz
+PROSODY_SITE = http://prosody.im/downloads/source
+PROSODY_DEPENDENCIES = host-lua lua libidn openssl luafilesystem luaexpat luasocket luasec
+
+define PROSODY_CONFIGURE_CMDS
+ # this is *NOT* GNU autoconf stuff
+ (cd $(@D); \
+ ./configure \
+ --prefix=/usr \
+ --with-lua="$(HOST_DIR)/usr" \
+ --with-lua-include="$(STAGING_DIR)/usr/include" \
+ --with-lua-lib="$(STAGING_DIR)/usr/lib" \
+ --cflags="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -fPIC -std=gnu99" \
+ --ldflags="$(TARGET_LDFLAGS) -shared" \
+ --datadir="/etc/prosody/data" \
+ --c-compiler='$(TARGET_CC)' \
+ --linker='$(TARGET_LD)' \
+ )
+endef
+
+$(eval $(call AUTOTARGETS,package,prosody))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|