[oe] [PATCH] New package: siproxd

Roman I Khimov khimov at altell.ru
Tue Feb 17 12:25:28 UTC 2009


Otavio Salvador:
> Roman I Khimov <khimov at altell.ru> writes:
> > Marcin Juszkiewicz:
> >> On Friday 13 of February 2009 22:35:13 Roman I Khimov wrote:
> >> > diff --git a/packages/siproxd/siproxd.inc
> >> >
> >> > +RDEPENDS = "libosip2"
> >> >
> >> > diff --git a/packages/siproxd/siproxd_0.7.1.bb
> >> >
> >> > +PR = "r0"
> >>
> >> Drop those two lines. You should not add libs to RDEPENDS (OE takes
> >> care of it) and "r0" is default PR value.
> >
> > OK.
>
> It would be quite nice if you could send a git exported patch since it
> makes the life eaiser for anyone going to apply your commit (locally or
> for pushing it) and also keeps the credit for you.

OK, let me try to embed it here first, then I'll try to send raw format-patch
output for other patches. I've also fixed config files installation with this one.

From d6e5e440e1083455a916964f2da6695337fcffe6 Mon Sep 17 00:00:00 2001
From: Roman I Khimov <khimov at altell.ru>
Date: Mon, 16 Feb 2009 19:03:48 +0300
Subject: [PATCH] siproxd: new package

---
 conf/checksums.ini                |    4 ++++
 packages/siproxd/siproxd.inc      |   17 +++++++++++++++++
 packages/siproxd/siproxd_0.7.1.bb |    1 +
 3 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 packages/siproxd/siproxd.inc
 create mode 100644 packages/siproxd/siproxd_0.7.1.bb

diff --git a/conf/checksums.ini b/conf/checksums.ini
index e867c6e..e198cae 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -19754,6 +19754,10 @@ sha256=928fa03d1b8a2329f5e71dd9190080146b5275119e28c19c36fdd57e788d84ba
 md5=597d7ff7edb42a18421c806ffd18a136
 sha256=7faaccb6f17296399051bd076a7f41e0f6d95a28eda3e30468f1bd7cf45898e1
 
+[http://downloads.sourceforge.net/siproxd/siproxd-0.7.1.tar.gz]
+md5=45e5a44803181e2bf3361d562060c904
+sha256=9e702c1fe770815ed87cf2a2b1d1d1d87551573d
+
 [http://download.berlios.de/sipsak/sipsak-0.9.6-1.tar.gz]
 md5=c4eb8e282902e75f4f040f09ea9d99d5
 sha256=5064c56d482a080b6a4aea71821b78c21b59d44f6d1aa14c27429441917911a9
diff --git a/packages/siproxd/siproxd.inc b/packages/siproxd/siproxd.inc
new file mode 100644
index 0000000..c4ac144
--- /dev/null
+++ b/packages/siproxd/siproxd.inc
@@ -0,0 +1,17 @@
+DESCRIPTION = "SIP proxy/masquerading daemon"
+SECTION = "net"
+DEPENDS = "libosip2"
+LICENSE = "GPL"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/siproxd/siproxd-${PV}.tar.gz"
+
+do_install_append() {
+	mv ${D}/${sysconfdir}/siproxd.conf{.example,}
+}
+
+CONFFILES_${PN} = " \
+	${sysconfdir}/siproxd.conf \
+	${sysconfdir}/siproxd_passwd.cfg \
+	"
+
+inherit autotools
diff --git a/packages/siproxd/siproxd_0.7.1.bb b/packages/siproxd/siproxd_0.7.1.bb
new file mode 100644
index 0000000..760a8b6
--- /dev/null
+++ b/packages/siproxd/siproxd_0.7.1.bb
@@ -0,0 +1 @@
+require siproxd.inc
-- 
1.6.1.3

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the Openembedded-devel mailing list