[arch-commits] Commit in netcount/repos/community-any (4 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Thu May 23 07:16:10 EDT 2013


    Date: Thursday, May 23, 2013 @ 13:16:10
  Author: spupykin
Revision: 91524

archrelease: copy trunk to community-any

Added:
  netcount/repos/community-any/PKGBUILD
    (from rev 91523, netcount/trunk/PKGBUILD)
  netcount/repos/community-any/build.patch
    (from rev 91523, netcount/trunk/build.patch)
Deleted:
  netcount/repos/community-any/PKGBUILD
  netcount/repos/community-any/build.patch

-------------+
 PKGBUILD    |   87 ++++++++++++++++++++++++++----------------------
 build.patch |  104 +++++++++++++++++++++++++++++-----------------------------
 2 files changed, 99 insertions(+), 92 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-23 11:16:00 UTC (rev 91523)
+++ PKGBUILD	2013-05-23 11:16:10 UTC (rev 91524)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=netcount
-pkgver=0.8i
-pkgrel=5
-pkgdesc="network statistic and monitor tools"
-arch=('any')
-url="http://www.hczim.de/software/"
-license=('GPL')
-depends=('python2')
-source=(http://www.hczim.de/software/$pkgname-$pkgver.tar.gz
-	build.patch)
-md5sums=('537d941b6725f17d46b228967b8f6d23'
-         '90dc22e9fce2b1a2fbc6899d23debbde')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  patch -p1 <../build.patch
-  echo -e "#!/bin/sh\necho gentoo">distro-detect.sh
-
-  make files
-
-  mkdir -p $pkgdir/usr/sbin
-  mkdir -p $pkgdir/usr/bin
-  mkdir -p $pkgdir/usr/share/man/man1
-  mkdir -p $pkgdir/etc/logrotate.d
-
-  make \
-	INSTALLDIR=$pkgdir/usr \
-	MANDIR=$pkgdir/usr/share/man \
-	LOGROTATEDIR=$pkgdir/etc/logrotate.d \
-	PPPDIR=$srcdir \
-	CRONDIR=$srcdir \
-	RCRONDIR=$srcdir \
-	INIT_GENTOO=$srcdir \
-	install
-}

Copied: netcount/repos/community-any/PKGBUILD (from rev 91523, netcount/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-05-23 11:16:10 UTC (rev 91524)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=netcount
+pkgver=0.8i
+pkgrel=6
+pkgdesc="network statistic and monitor tools"
+arch=('any')
+url="http://www.hczim.de/software/"
+license=('GPL')
+depends=('python2')
+makedepends=('ppp')
+source=(http://www.hczim.de/software/$pkgname-$pkgver.tar.gz
+	build.patch)
+md5sums=('537d941b6725f17d46b228967b8f6d23'
+         '90dc22e9fce2b1a2fbc6899d23debbde')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  patch -p1 <../build.patch
+  echo -e "#!/bin/sh\necho gentoo">distro-detect.sh
+  sed -i 's|sbin|bin|g' Makefile *.in
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  make files
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  mkdir -p $pkgdir/usr/bin
+  mkdir -p $pkgdir/usr/share/man/man1
+  mkdir -p $pkgdir/etc/logrotate.d
+
+  make \
+	INSTALLDIR=$pkgdir/usr \
+	MANDIR=$pkgdir/usr/share/man \
+	LOGROTATEDIR=$pkgdir/etc/logrotate.d \
+	PPPDIR=$srcdir \
+	CRONDIR=$srcdir \
+	RCRONDIR=$srcdir \
+	INIT_GENTOO=$srcdir \
+	install
+}

Deleted: build.patch
===================================================================
--- build.patch	2013-05-23 11:16:00 UTC (rev 91523)
+++ build.patch	2013-05-23 11:16:10 UTC (rev 91524)
@@ -1,52 +0,0 @@
-diff -ur netcount-0.8i/Makefile netcount-0.8i.my/Makefile
---- netcount-0.8i/Makefile	2004-12-29 13:26:11.000000000 +0000
-+++ netcount-0.8i.my/Makefile	2011-02-22 17:51:57.000000000 +0000
-@@ -280,23 +280,23 @@
- ####### GENTOO
-    else
-     ifeq ($(DIST), gentoo)
--$(IP_UP_GENTOO): netcount-ip-up-local
--      ./add-script.sh $< $@ netcount
--      chmod +x $@
-+#$(IP_UP_GENTOO): netcount-ip-up-local
-+#	./add-script.sh $< $@ netcount
-+#	chmod +x $@
- 
--$(IP_DOWN_GENTOO): netcount-ip-down-local
--      ./add-script.sh $< $@ netcount
--      chmod +x $@
-+#$(IP_DOWN_GENTOO): netcount-ip-down-local
-+#	./add-script.sh $< $@ netcount
-+#	chmod +x $@
- 
--$(INIT_GENTOO): netcount-init
--      ./add-script.sh $< $@ netcount
--      chmod +x $@
-+#$(INIT_GENTOO): netcount-init
-+#	./add-script.sh $< $@ netcount
-+#	chmod +x $@
- 
- dist-objects = $(RCRONDIR)/netcount $(IP_UP_GENTOO) $(IP_DOWN_GENTOO) \
-       $(INIT_GENTOO)
- 
- uninstall:
--      rm -f $(RCRONDIR)/netcount $(common-objects)
-+	rm -f $(RCRONDIR)/netcount $(common-objects)
- 	for i in $(IP_UP_GENTOO) $(IP_DOWN_GENTOO) $(INIT_GENTOO); do\
- 	  echo cleaning up $i;\
- 	  ./add-script.sh /dev/null $i netcount
-diff -ur netcount-0.8i/pytkcheck.sh netcount-0.8i.my/pytkcheck.sh
---- netcount-0.8i/pytkcheck.sh	2004-12-29 13:26:12.000000000 +0000
-+++ netcount-0.8i.my/pytkcheck.sh	2011-02-22 17:50:57.000000000 +0000
-@@ -29,10 +29,7 @@
- 
- ## Things you may want to configure:
- # These names are tried, in that order:
--PYTHONS="python \
--         python2.4 python-2.4 python24 \
--         python2.3 python-2.3 python23 \
--	 python2.2 python-2.2 python22 python2"
-+PYTHONS="python2"
- 
- usage() {
- if [ $# -ne 1 ]; then

Copied: netcount/repos/community-any/build.patch (from rev 91523, netcount/trunk/build.patch)
===================================================================
--- build.patch	                        (rev 0)
+++ build.patch	2013-05-23 11:16:10 UTC (rev 91524)
@@ -0,0 +1,52 @@
+diff -ur netcount-0.8i/Makefile netcount-0.8i.my/Makefile
+--- netcount-0.8i/Makefile	2004-12-29 13:26:11.000000000 +0000
++++ netcount-0.8i.my/Makefile	2011-02-22 17:51:57.000000000 +0000
+@@ -280,23 +280,23 @@
+ ####### GENTOO
+    else
+     ifeq ($(DIST), gentoo)
+-$(IP_UP_GENTOO): netcount-ip-up-local
+-      ./add-script.sh $< $@ netcount
+-      chmod +x $@
++#$(IP_UP_GENTOO): netcount-ip-up-local
++#	./add-script.sh $< $@ netcount
++#	chmod +x $@
+ 
+-$(IP_DOWN_GENTOO): netcount-ip-down-local
+-      ./add-script.sh $< $@ netcount
+-      chmod +x $@
++#$(IP_DOWN_GENTOO): netcount-ip-down-local
++#	./add-script.sh $< $@ netcount
++#	chmod +x $@
+ 
+-$(INIT_GENTOO): netcount-init
+-      ./add-script.sh $< $@ netcount
+-      chmod +x $@
++#$(INIT_GENTOO): netcount-init
++#	./add-script.sh $< $@ netcount
++#	chmod +x $@
+ 
+ dist-objects = $(RCRONDIR)/netcount $(IP_UP_GENTOO) $(IP_DOWN_GENTOO) \
+       $(INIT_GENTOO)
+ 
+ uninstall:
+-      rm -f $(RCRONDIR)/netcount $(common-objects)
++	rm -f $(RCRONDIR)/netcount $(common-objects)
+ 	for i in $(IP_UP_GENTOO) $(IP_DOWN_GENTOO) $(INIT_GENTOO); do\
+ 	  echo cleaning up $i;\
+ 	  ./add-script.sh /dev/null $i netcount
+diff -ur netcount-0.8i/pytkcheck.sh netcount-0.8i.my/pytkcheck.sh
+--- netcount-0.8i/pytkcheck.sh	2004-12-29 13:26:12.000000000 +0000
++++ netcount-0.8i.my/pytkcheck.sh	2011-02-22 17:50:57.000000000 +0000
+@@ -29,10 +29,7 @@
+ 
+ ## Things you may want to configure:
+ # These names are tried, in that order:
+-PYTHONS="python \
+-         python2.4 python-2.4 python24 \
+-         python2.3 python-2.3 python23 \
+-	 python2.2 python-2.2 python22 python2"
++PYTHONS="python2"
+ 
+ usage() {
+ if [ $# -ne 1 ]; then



More information about the arch-commits mailing list