[arch-commits] Commit in udpxy/repos (12 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon Mar 24 07:46:34 UTC 2014


    Date: Monday, March 24, 2014 @ 08:46:34
  Author: spupykin
Revision: 108157

archrelease: copy trunk to community-i686, community-x86_64

Added:
  udpxy/repos/community-i686/PKGBUILD
    (from rev 108156, udpxy/trunk/PKGBUILD)
  udpxy/repos/community-i686/pidfile.patch
    (from rev 108156, udpxy/trunk/pidfile.patch)
  udpxy/repos/community-i686/udpxy.service
    (from rev 108156, udpxy/trunk/udpxy.service)
  udpxy/repos/community-x86_64/PKGBUILD
    (from rev 108156, udpxy/trunk/PKGBUILD)
  udpxy/repos/community-x86_64/pidfile.patch
    (from rev 108156, udpxy/trunk/pidfile.patch)
  udpxy/repos/community-x86_64/udpxy.service
    (from rev 108156, udpxy/trunk/udpxy.service)
Deleted:
  udpxy/repos/community-i686/PKGBUILD
  udpxy/repos/community-i686/pidfile.patch
  udpxy/repos/community-i686/udpxy.service
  udpxy/repos/community-x86_64/PKGBUILD
  udpxy/repos/community-x86_64/pidfile.patch
  udpxy/repos/community-x86_64/udpxy.service

--------------------------------+
 /PKGBUILD                      |   74 ++++++++++++++++++++++++++++++
 /pidfile.patch                 |   96 +++++++++++++++++++++++++++++++++++++++
 /udpxy.service                 |   22 ++++++++
 community-i686/PKGBUILD        |   37 ---------------
 community-i686/pidfile.patch   |   48 -------------------
 community-i686/udpxy.service   |   11 ----
 community-x86_64/PKGBUILD      |   37 ---------------
 community-x86_64/pidfile.patch |   48 -------------------
 community-x86_64/udpxy.service |   11 ----
 9 files changed, 192 insertions(+), 192 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-03-24 07:46:19 UTC (rev 108156)
+++ community-i686/PKGBUILD	2014-03-24 07:46:34 UTC (rev 108157)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Konstantin Shabanov <kes.eclipse at gmail.com>
-# Contributor: Evka
-# Maintainer: Jose Riha <jose 1711 gmail com>
-
-pkgname=udpxy
-pkgver=1.0.23.0
-_pkgver=1.0.23-0
-pkgrel=2
-pkgdesc="small-footprint UNIX/Linux daemon to relay multicast UDP traffic to client's TCP (HTTP) connection."
-arch=(i686 x86_64)
-url="http://udpxy.sf.net"
-license=('GPL3')
-source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/Chipmunk-1.0/$pkgname.${_pkgver}-prod.tar.gz
-	$pkgname.service
-	pidfile.patch)
-md5sums=('3dd99ba264078e873cbe1d98369ed423'
-         '19d76e6fbd876b5a7cdaa3e69cecdb0e'
-         '7a268f58ee964895377c95d16c9c633a')
-
-prepare() {
-  cd "$srcdir/$pkgname-${_pkgver}"
-  patch -Np1 -i "${srcdir}/pidfile.patch"
-  sed -i '/ln -s $(INSTALLROOT)\/bin\/$(EXEC) $(INSTALLROOT)\/bin\/$(UDPXREC/s%$(INSTALLROOT)%/usr%' Makefile
-}
-
-build() {
-  cd "$srcdir/$pkgname-${_pkgver}"
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-${_pkgver}"
-  make INSTALLROOT="$pkgdir/usr" install
-  install -D -m644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
-}

Copied: udpxy/repos/community-i686/PKGBUILD (from rev 108156, udpxy/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-03-24 07:46:34 UTC (rev 108157)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Konstantin Shabanov <kes.eclipse at gmail.com>
+# Contributor: Evka
+# Maintainer: Jose Riha <jose 1711 gmail com>
+
+pkgname=udpxy
+pkgver=1.0.23.0
+_pkgver=1.0.23-0
+pkgrel=3
+pkgdesc="small-footprint UNIX/Linux daemon to relay multicast UDP traffic to client's TCP (HTTP) connection."
+arch=(i686 x86_64)
+url="http://udpxy.sf.net"
+license=('GPL3')
+source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/Chipmunk-1.0/$pkgname.${_pkgver}-prod.tar.gz
+	$pkgname.service
+	pidfile.patch)
+md5sums=('3dd99ba264078e873cbe1d98369ed423'
+         'f47aeec41aa03acd4b61a6bfa03b0dff'
+         '7a268f58ee964895377c95d16c9c633a')
+
+prepare() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  patch -Np1 -i "${srcdir}/pidfile.patch"
+  sed -i '/ln -s $(INSTALLROOT)\/bin\/$(EXEC) $(INSTALLROOT)\/bin\/$(UDPXREC/s%$(INSTALLROOT)%/usr%' Makefile
+}
+
+build() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  make INSTALLROOT="$pkgdir/usr" install
+  install -D -m644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
+}

Deleted: community-i686/pidfile.patch
===================================================================
--- community-i686/pidfile.patch	2014-03-24 07:46:19 UTC (rev 108156)
+++ community-i686/pidfile.patch	2014-03-24 07:46:34 UTC (rev 108157)
@@ -1,48 +0,0 @@
-diff --git a/udpxy.c b/udpxy.c
-index 43f213a..8f0e30d 100644
---- a/udpxy.c
-+++ b/udpxy.c
-@@ -1423,7 +1423,7 @@ udpxy_main( int argc, char* const argv[] )
-                 }
-             }
- 
--            rc = set_pidfile( g_udpxy_app, port, pidfile, sizeof(pidfile) );
-+            rc = set_pidfile( g_udpxy_app, pidfile, sizeof(pidfile) );
-             if( 0 != rc ) {
-                 mperror( g_flog, errno, "set_pidfile" );
-                 rc = ERR_INTERNAL; break;
-diff --git a/util.c b/util.c
-index 0ad34bb..6b7daf8 100644
---- a/util.c
-+++ b/util.c
-@@ -302,7 +302,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log )
-  * (fail if destination directory is not writable)
-  */
- int
--set_pidfile( const char* appname, int port, char* buf, size_t len )
-+set_pidfile( const char* appname, char* buf, size_t len )
- {
-     int n = -1;
- 
-@@ -311,7 +311,7 @@ set_pidfile( const char* appname, int port, char* buf, size_t len )
-     if( -1 == access(PIDFILE_DIR, W_OK ) )
-         return -1;
- 
--    n = snprintf( buf, len, "%s/%s%d.pid", PIDFILE_DIR, appname, port );
-+    n = snprintf( buf, len, "%s/%s.pid", PIDFILE_DIR, appname );
-     if( n < 0 ) return EXIT_FAILURE;
- 
-     buf[ len - 1 ] = '\0';
-diff --git a/util.h b/util.h
-index f274c7b..64a10d1 100644
---- a/util.h
-+++ b/util.h
-@@ -66,7 +66,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log );
-  * (fail of destination directory is not writable)
-  */
- int
--set_pidfile( const char* appname, int port, char* buf, size_t len );
-+set_pidfile( const char* appname, char* buf, size_t len );
- 
- /* write buffer to designated socket/file
-  * return number of bytes read/written or one of the error

Copied: udpxy/repos/community-i686/pidfile.patch (from rev 108156, udpxy/trunk/pidfile.patch)
===================================================================
--- community-i686/pidfile.patch	                        (rev 0)
+++ community-i686/pidfile.patch	2014-03-24 07:46:34 UTC (rev 108157)
@@ -0,0 +1,48 @@
+diff --git a/udpxy.c b/udpxy.c
+index 43f213a..8f0e30d 100644
+--- a/udpxy.c
++++ b/udpxy.c
+@@ -1423,7 +1423,7 @@ udpxy_main( int argc, char* const argv[] )
+                 }
+             }
+ 
+-            rc = set_pidfile( g_udpxy_app, port, pidfile, sizeof(pidfile) );
++            rc = set_pidfile( g_udpxy_app, pidfile, sizeof(pidfile) );
+             if( 0 != rc ) {
+                 mperror( g_flog, errno, "set_pidfile" );
+                 rc = ERR_INTERNAL; break;
+diff --git a/util.c b/util.c
+index 0ad34bb..6b7daf8 100644
+--- a/util.c
++++ b/util.c
+@@ -302,7 +302,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log )
+  * (fail if destination directory is not writable)
+  */
+ int
+-set_pidfile( const char* appname, int port, char* buf, size_t len )
++set_pidfile( const char* appname, char* buf, size_t len )
+ {
+     int n = -1;
+ 
+@@ -311,7 +311,7 @@ set_pidfile( const char* appname, int port, char* buf, size_t len )
+     if( -1 == access(PIDFILE_DIR, W_OK ) )
+         return -1;
+ 
+-    n = snprintf( buf, len, "%s/%s%d.pid", PIDFILE_DIR, appname, port );
++    n = snprintf( buf, len, "%s/%s.pid", PIDFILE_DIR, appname );
+     if( n < 0 ) return EXIT_FAILURE;
+ 
+     buf[ len - 1 ] = '\0';
+diff --git a/util.h b/util.h
+index f274c7b..64a10d1 100644
+--- a/util.h
++++ b/util.h
+@@ -66,7 +66,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log );
+  * (fail of destination directory is not writable)
+  */
+ int
+-set_pidfile( const char* appname, int port, char* buf, size_t len );
++set_pidfile( const char* appname, char* buf, size_t len );
+ 
+ /* write buffer to designated socket/file
+  * return number of bytes read/written or one of the error

Deleted: community-i686/udpxy.service
===================================================================
--- community-i686/udpxy.service	2014-03-24 07:46:19 UTC (rev 108156)
+++ community-i686/udpxy.service	2014-03-24 07:46:34 UTC (rev 108157)
@@ -1,11 +0,0 @@
-[Unit]
-Description=UDP multicast to TCP (HTTP) relay proxy
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/udpxy.pid
-ExecStart=/usr/bin/udpxy -T -S -p 4022 -B 256kb
-
-[Install]
-WantedBy=multi-user.target

Copied: udpxy/repos/community-i686/udpxy.service (from rev 108156, udpxy/trunk/udpxy.service)
===================================================================
--- community-i686/udpxy.service	                        (rev 0)
+++ community-i686/udpxy.service	2014-03-24 07:46:34 UTC (rev 108157)
@@ -0,0 +1,11 @@
+[Unit]
+Description=UDP multicast to TCP (HTTP) relay proxy
+After=network.target
+
+[Service]
+Type=simple
+PIDFile=/run/udpxy.pid
+ExecStart=/usr/bin/udpxy -T -S -p 4022 -B 256kb
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-03-24 07:46:19 UTC (rev 108156)
+++ community-x86_64/PKGBUILD	2014-03-24 07:46:34 UTC (rev 108157)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Konstantin Shabanov <kes.eclipse at gmail.com>
-# Contributor: Evka
-# Maintainer: Jose Riha <jose 1711 gmail com>
-
-pkgname=udpxy
-pkgver=1.0.23.0
-_pkgver=1.0.23-0
-pkgrel=2
-pkgdesc="small-footprint UNIX/Linux daemon to relay multicast UDP traffic to client's TCP (HTTP) connection."
-arch=(i686 x86_64)
-url="http://udpxy.sf.net"
-license=('GPL3')
-source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/Chipmunk-1.0/$pkgname.${_pkgver}-prod.tar.gz
-	$pkgname.service
-	pidfile.patch)
-md5sums=('3dd99ba264078e873cbe1d98369ed423'
-         '19d76e6fbd876b5a7cdaa3e69cecdb0e'
-         '7a268f58ee964895377c95d16c9c633a')
-
-prepare() {
-  cd "$srcdir/$pkgname-${_pkgver}"
-  patch -Np1 -i "${srcdir}/pidfile.patch"
-  sed -i '/ln -s $(INSTALLROOT)\/bin\/$(EXEC) $(INSTALLROOT)\/bin\/$(UDPXREC/s%$(INSTALLROOT)%/usr%' Makefile
-}
-
-build() {
-  cd "$srcdir/$pkgname-${_pkgver}"
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-${_pkgver}"
-  make INSTALLROOT="$pkgdir/usr" install
-  install -D -m644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
-}

Copied: udpxy/repos/community-x86_64/PKGBUILD (from rev 108156, udpxy/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-03-24 07:46:34 UTC (rev 108157)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Konstantin Shabanov <kes.eclipse at gmail.com>
+# Contributor: Evka
+# Maintainer: Jose Riha <jose 1711 gmail com>
+
+pkgname=udpxy
+pkgver=1.0.23.0
+_pkgver=1.0.23-0
+pkgrel=3
+pkgdesc="small-footprint UNIX/Linux daemon to relay multicast UDP traffic to client's TCP (HTTP) connection."
+arch=(i686 x86_64)
+url="http://udpxy.sf.net"
+license=('GPL3')
+source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/Chipmunk-1.0/$pkgname.${_pkgver}-prod.tar.gz
+	$pkgname.service
+	pidfile.patch)
+md5sums=('3dd99ba264078e873cbe1d98369ed423'
+         'f47aeec41aa03acd4b61a6bfa03b0dff'
+         '7a268f58ee964895377c95d16c9c633a')
+
+prepare() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  patch -Np1 -i "${srcdir}/pidfile.patch"
+  sed -i '/ln -s $(INSTALLROOT)\/bin\/$(EXEC) $(INSTALLROOT)\/bin\/$(UDPXREC/s%$(INSTALLROOT)%/usr%' Makefile
+}
+
+build() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  make INSTALLROOT="$pkgdir/usr" install
+  install -D -m644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
+}

Deleted: community-x86_64/pidfile.patch
===================================================================
--- community-x86_64/pidfile.patch	2014-03-24 07:46:19 UTC (rev 108156)
+++ community-x86_64/pidfile.patch	2014-03-24 07:46:34 UTC (rev 108157)
@@ -1,48 +0,0 @@
-diff --git a/udpxy.c b/udpxy.c
-index 43f213a..8f0e30d 100644
---- a/udpxy.c
-+++ b/udpxy.c
-@@ -1423,7 +1423,7 @@ udpxy_main( int argc, char* const argv[] )
-                 }
-             }
- 
--            rc = set_pidfile( g_udpxy_app, port, pidfile, sizeof(pidfile) );
-+            rc = set_pidfile( g_udpxy_app, pidfile, sizeof(pidfile) );
-             if( 0 != rc ) {
-                 mperror( g_flog, errno, "set_pidfile" );
-                 rc = ERR_INTERNAL; break;
-diff --git a/util.c b/util.c
-index 0ad34bb..6b7daf8 100644
---- a/util.c
-+++ b/util.c
-@@ -302,7 +302,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log )
-  * (fail if destination directory is not writable)
-  */
- int
--set_pidfile( const char* appname, int port, char* buf, size_t len )
-+set_pidfile( const char* appname, char* buf, size_t len )
- {
-     int n = -1;
- 
-@@ -311,7 +311,7 @@ set_pidfile( const char* appname, int port, char* buf, size_t len )
-     if( -1 == access(PIDFILE_DIR, W_OK ) )
-         return -1;
- 
--    n = snprintf( buf, len, "%s/%s%d.pid", PIDFILE_DIR, appname, port );
-+    n = snprintf( buf, len, "%s/%s.pid", PIDFILE_DIR, appname );
-     if( n < 0 ) return EXIT_FAILURE;
- 
-     buf[ len - 1 ] = '\0';
-diff --git a/util.h b/util.h
-index f274c7b..64a10d1 100644
---- a/util.h
-+++ b/util.h
-@@ -66,7 +66,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log );
-  * (fail of destination directory is not writable)
-  */
- int
--set_pidfile( const char* appname, int port, char* buf, size_t len );
-+set_pidfile( const char* appname, char* buf, size_t len );
- 
- /* write buffer to designated socket/file
-  * return number of bytes read/written or one of the error

Copied: udpxy/repos/community-x86_64/pidfile.patch (from rev 108156, udpxy/trunk/pidfile.patch)
===================================================================
--- community-x86_64/pidfile.patch	                        (rev 0)
+++ community-x86_64/pidfile.patch	2014-03-24 07:46:34 UTC (rev 108157)
@@ -0,0 +1,48 @@
+diff --git a/udpxy.c b/udpxy.c
+index 43f213a..8f0e30d 100644
+--- a/udpxy.c
++++ b/udpxy.c
+@@ -1423,7 +1423,7 @@ udpxy_main( int argc, char* const argv[] )
+                 }
+             }
+ 
+-            rc = set_pidfile( g_udpxy_app, port, pidfile, sizeof(pidfile) );
++            rc = set_pidfile( g_udpxy_app, pidfile, sizeof(pidfile) );
+             if( 0 != rc ) {
+                 mperror( g_flog, errno, "set_pidfile" );
+                 rc = ERR_INTERNAL; break;
+diff --git a/util.c b/util.c
+index 0ad34bb..6b7daf8 100644
+--- a/util.c
++++ b/util.c
+@@ -302,7 +302,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log )
+  * (fail if destination directory is not writable)
+  */
+ int
+-set_pidfile( const char* appname, int port, char* buf, size_t len )
++set_pidfile( const char* appname, char* buf, size_t len )
+ {
+     int n = -1;
+ 
+@@ -311,7 +311,7 @@ set_pidfile( const char* appname, int port, char* buf, size_t len )
+     if( -1 == access(PIDFILE_DIR, W_OK ) )
+         return -1;
+ 
+-    n = snprintf( buf, len, "%s/%s%d.pid", PIDFILE_DIR, appname, port );
++    n = snprintf( buf, len, "%s/%s.pid", PIDFILE_DIR, appname );
+     if( n < 0 ) return EXIT_FAILURE;
+ 
+     buf[ len - 1 ] = '\0';
+diff --git a/util.h b/util.h
+index f274c7b..64a10d1 100644
+--- a/util.h
++++ b/util.h
+@@ -66,7 +66,7 @@ make_pidfile( const char* fpath, pid_t pid, FILE* log );
+  * (fail of destination directory is not writable)
+  */
+ int
+-set_pidfile( const char* appname, int port, char* buf, size_t len );
++set_pidfile( const char* appname, char* buf, size_t len );
+ 
+ /* write buffer to designated socket/file
+  * return number of bytes read/written or one of the error

Deleted: community-x86_64/udpxy.service
===================================================================
--- community-x86_64/udpxy.service	2014-03-24 07:46:19 UTC (rev 108156)
+++ community-x86_64/udpxy.service	2014-03-24 07:46:34 UTC (rev 108157)
@@ -1,11 +0,0 @@
-[Unit]
-Description=UDP multicast to TCP (HTTP) relay proxy
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/udpxy.pid
-ExecStart=/usr/bin/udpxy -T -S -p 4022 -B 256kb
-
-[Install]
-WantedBy=multi-user.target

Copied: udpxy/repos/community-x86_64/udpxy.service (from rev 108156, udpxy/trunk/udpxy.service)
===================================================================
--- community-x86_64/udpxy.service	                        (rev 0)
+++ community-x86_64/udpxy.service	2014-03-24 07:46:34 UTC (rev 108157)
@@ -0,0 +1,11 @@
+[Unit]
+Description=UDP multicast to TCP (HTTP) relay proxy
+After=network.target
+
+[Service]
+Type=simple
+PIDFile=/run/udpxy.pid
+ExecStart=/usr/bin/udpxy -T -S -p 4022 -B 256kb
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list