[arch-commits] Commit in kvpnc/repos (8 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 6 06:41:26 EDT 2013


    Date: Monday, May 6, 2013 @ 12:41:26
  Author: spupykin
Revision: 89963

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

Added:
  kvpnc/repos/community-i686/PKGBUILD
    (from rev 89962, kvpnc/trunk/PKGBUILD)
  kvpnc/repos/community-i686/kvpnc.install
    (from rev 89962, kvpnc/trunk/kvpnc.install)
  kvpnc/repos/community-x86_64/PKGBUILD
    (from rev 89962, kvpnc/trunk/PKGBUILD)
  kvpnc/repos/community-x86_64/kvpnc.install
    (from rev 89962, kvpnc/trunk/kvpnc.install)
Deleted:
  kvpnc/repos/community-i686/PKGBUILD
  kvpnc/repos/community-i686/kvpnc.install
  kvpnc/repos/community-x86_64/PKGBUILD
  kvpnc/repos/community-x86_64/kvpnc.install

--------------------------------+
 /PKGBUILD                      |   70 ++++++++++++++++++++++++++
 /kvpnc.install                 |  104 +++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD        |   33 ------------
 community-i686/kvpnc.install   |   52 -------------------
 community-x86_64/PKGBUILD      |   33 ------------
 community-x86_64/kvpnc.install |   52 -------------------
 6 files changed, 174 insertions(+), 170 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-06 10:41:07 UTC (rev 89962)
+++ community-i686/PKGBUILD	2013-05-06 10:41:26 UTC (rev 89963)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Danial Olsen <do at meyl.fo>
-
-pkgname=kvpnc
-pkgver=0.9.6a
-pkgrel=2
-pkgdesc="A KDE Desktop Environment frontend for various vpn clients"
-arch=(i686 x86_64)
-url="http://home.gna.org/kvpnc/"
-license=("GPL")
-depends=('kdelibs' 'hicolor-icon-theme')
-makedepends=('cmake' 'automoc4')
-install=kvpnc.install
-source=(http://download.gna.org/$pkgname/$pkgname-${pkgver}-kde4.tar.bz2)
-md5sums=('bf8b7224284f5d3f8ad5235c599fe9e7')
-
-build() {
-  export LDFLAGS=-lX11
-
-  cd $srcdir
-  mkdir build
-  cd build
-  cmake ../${pkgname}-${pkgver}-kde4 \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release
-  make
-}
-
-package() {
-  cd $srcdir/build
-  make DESTDIR=$pkgdir install
-}

Copied: kvpnc/repos/community-i686/PKGBUILD (from rev 89962, kvpnc/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-06 10:41:26 UTC (rev 89963)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Danial Olsen <do at meyl.fo>
+
+pkgname=kvpnc
+pkgver=0.9.6a
+pkgrel=3
+pkgdesc="A KDE Desktop Environment frontend for various vpn clients"
+arch=(i686 x86_64)
+url="http://home.gna.org/kvpnc/"
+license=("GPL")
+depends=('kdelibs' 'hicolor-icon-theme')
+makedepends=('cmake' 'automoc4' 'optipng')
+install=kvpnc.install
+source=(http://download.gna.org/$pkgname/$pkgname-${pkgver}-kde4.tar.bz2)
+md5sums=('bf8b7224284f5d3f8ad5235c599fe9e7')
+
+build() {
+  cd $srcdir
+  sed -i '1,1i#include <unistd.h>' ${pkgname}-${pkgver}-kde4/src/kvpnc.cpp
+
+  export LDFLAGS=-lX11
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver}-kde4 \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  make
+  find -name '*.png' -exec optipng -quiet -force -fix {} \;
+}
+
+package() {
+  cd $srcdir/build
+  make DESTDIR=$pkgdir install
+}

Deleted: community-i686/kvpnc.install
===================================================================
--- community-i686/kvpnc.install	2013-05-06 10:41:07 UTC (rev 89962)
+++ community-i686/kvpnc.install	2013-05-06 10:41:26 UTC (rev 89963)
@@ -1,52 +0,0 @@
-# arg 1: the new package version
-post_install() {
-  echo "
-You will need a vpn client, these are supported:
------------------------------------------------
-- vpnc >= 0.2-rm+zomb-pre9  Cisco VPN
-- FreeS/WAN (OpenS/WAN too) >= 2.x  IPSec VPN Linux 2.4/2.6
-- racoon (ipsec-tools) > = 1.x  IPSec VPN Linux 2.6
-- pptpclient  PPTP VPN
-- OpenVPN  VPN based on SSL
-
-
-======================================================
-Howto setup KVpnc for use without root password - sudo
-======================================================
-
-1. install sudo
-
-2. edit /etc/sudoers
-
-        #  Cmnd alias specification
-        Cmnd_Alias KVPNC = /usr/bin/kvpnc
-
-        # User privilege specification
-        ALL ALL=NOPASSWD:KVPNC
-
-3. edit desktop link (/usr/share/applications/kde4/kvpnc.desktop)
-
-        replace the folling lines:
-
-        Exec=kvpnc
-        X-KDE-SubstituteUID=true
-
-        with:
-
-        Exec=sudo kvpnc
-        X-KDE-SubstituteUID=false
-"
-  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
-  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-# arg 1: the old package version
-post_remove() {
-  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-

Copied: kvpnc/repos/community-i686/kvpnc.install (from rev 89962, kvpnc/trunk/kvpnc.install)
===================================================================
--- community-i686/kvpnc.install	                        (rev 0)
+++ community-i686/kvpnc.install	2013-05-06 10:41:26 UTC (rev 89963)
@@ -0,0 +1,52 @@
+# arg 1: the new package version
+post_install() {
+  echo "
+You will need a vpn client, these are supported:
+-----------------------------------------------
+- vpnc >= 0.2-rm+zomb-pre9  Cisco VPN
+- FreeS/WAN (OpenS/WAN too) >= 2.x  IPSec VPN Linux 2.4/2.6
+- racoon (ipsec-tools) > = 1.x  IPSec VPN Linux 2.6
+- pptpclient  PPTP VPN
+- OpenVPN  VPN based on SSL
+
+
+======================================================
+Howto setup KVpnc for use without root password - sudo
+======================================================
+
+1. install sudo
+
+2. edit /etc/sudoers
+
+        #  Cmnd alias specification
+        Cmnd_Alias KVPNC = /usr/bin/kvpnc
+
+        # User privilege specification
+        ALL ALL=NOPASSWD:KVPNC
+
+3. edit desktop link (/usr/share/applications/kde4/kvpnc.desktop)
+
+        replace the folling lines:
+
+        Exec=kvpnc
+        X-KDE-SubstituteUID=true
+
+        with:
+
+        Exec=sudo kvpnc
+        X-KDE-SubstituteUID=false
+"
+  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+# arg 1: the old package version
+post_remove() {
+  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-06 10:41:07 UTC (rev 89962)
+++ community-x86_64/PKGBUILD	2013-05-06 10:41:26 UTC (rev 89963)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Danial Olsen <do at meyl.fo>
-
-pkgname=kvpnc
-pkgver=0.9.6a
-pkgrel=2
-pkgdesc="A KDE Desktop Environment frontend for various vpn clients"
-arch=(i686 x86_64)
-url="http://home.gna.org/kvpnc/"
-license=("GPL")
-depends=('kdelibs' 'hicolor-icon-theme')
-makedepends=('cmake' 'automoc4')
-install=kvpnc.install
-source=(http://download.gna.org/$pkgname/$pkgname-${pkgver}-kde4.tar.bz2)
-md5sums=('bf8b7224284f5d3f8ad5235c599fe9e7')
-
-build() {
-  export LDFLAGS=-lX11
-
-  cd $srcdir
-  mkdir build
-  cd build
-  cmake ../${pkgname}-${pkgver}-kde4 \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release
-  make
-}
-
-package() {
-  cd $srcdir/build
-  make DESTDIR=$pkgdir install
-}

Copied: kvpnc/repos/community-x86_64/PKGBUILD (from rev 89962, kvpnc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-06 10:41:26 UTC (rev 89963)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Danial Olsen <do at meyl.fo>
+
+pkgname=kvpnc
+pkgver=0.9.6a
+pkgrel=3
+pkgdesc="A KDE Desktop Environment frontend for various vpn clients"
+arch=(i686 x86_64)
+url="http://home.gna.org/kvpnc/"
+license=("GPL")
+depends=('kdelibs' 'hicolor-icon-theme')
+makedepends=('cmake' 'automoc4' 'optipng')
+install=kvpnc.install
+source=(http://download.gna.org/$pkgname/$pkgname-${pkgver}-kde4.tar.bz2)
+md5sums=('bf8b7224284f5d3f8ad5235c599fe9e7')
+
+build() {
+  cd $srcdir
+  sed -i '1,1i#include <unistd.h>' ${pkgname}-${pkgver}-kde4/src/kvpnc.cpp
+
+  export LDFLAGS=-lX11
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver}-kde4 \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release
+  make
+  find -name '*.png' -exec optipng -quiet -force -fix {} \;
+}
+
+package() {
+  cd $srcdir/build
+  make DESTDIR=$pkgdir install
+}

Deleted: community-x86_64/kvpnc.install
===================================================================
--- community-x86_64/kvpnc.install	2013-05-06 10:41:07 UTC (rev 89962)
+++ community-x86_64/kvpnc.install	2013-05-06 10:41:26 UTC (rev 89963)
@@ -1,52 +0,0 @@
-# arg 1: the new package version
-post_install() {
-  echo "
-You will need a vpn client, these are supported:
------------------------------------------------
-- vpnc >= 0.2-rm+zomb-pre9  Cisco VPN
-- FreeS/WAN (OpenS/WAN too) >= 2.x  IPSec VPN Linux 2.4/2.6
-- racoon (ipsec-tools) > = 1.x  IPSec VPN Linux 2.6
-- pptpclient  PPTP VPN
-- OpenVPN  VPN based on SSL
-
-
-======================================================
-Howto setup KVpnc for use without root password - sudo
-======================================================
-
-1. install sudo
-
-2. edit /etc/sudoers
-
-        #  Cmnd alias specification
-        Cmnd_Alias KVPNC = /usr/bin/kvpnc
-
-        # User privilege specification
-        ALL ALL=NOPASSWD:KVPNC
-
-3. edit desktop link (/usr/share/applications/kde4/kvpnc.desktop)
-
-        replace the folling lines:
-
-        Exec=kvpnc
-        X-KDE-SubstituteUID=true
-
-        with:
-
-        Exec=sudo kvpnc
-        X-KDE-SubstituteUID=false
-"
-  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
-  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-
-# arg 1: the old package version
-post_remove() {
-  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
-}
-

Copied: kvpnc/repos/community-x86_64/kvpnc.install (from rev 89962, kvpnc/trunk/kvpnc.install)
===================================================================
--- community-x86_64/kvpnc.install	                        (rev 0)
+++ community-x86_64/kvpnc.install	2013-05-06 10:41:26 UTC (rev 89963)
@@ -0,0 +1,52 @@
+# arg 1: the new package version
+post_install() {
+  echo "
+You will need a vpn client, these are supported:
+-----------------------------------------------
+- vpnc >= 0.2-rm+zomb-pre9  Cisco VPN
+- FreeS/WAN (OpenS/WAN too) >= 2.x  IPSec VPN Linux 2.4/2.6
+- racoon (ipsec-tools) > = 1.x  IPSec VPN Linux 2.6
+- pptpclient  PPTP VPN
+- OpenVPN  VPN based on SSL
+
+
+======================================================
+Howto setup KVpnc for use without root password - sudo
+======================================================
+
+1. install sudo
+
+2. edit /etc/sudoers
+
+        #  Cmnd alias specification
+        Cmnd_Alias KVPNC = /usr/bin/kvpnc
+
+        # User privilege specification
+        ALL ALL=NOPASSWD:KVPNC
+
+3. edit desktop link (/usr/share/applications/kde4/kvpnc.desktop)
+
+        replace the folling lines:
+
+        Exec=kvpnc
+        X-KDE-SubstituteUID=true
+
+        with:
+
+        Exec=sudo kvpnc
+        X-KDE-SubstituteUID=false
+"
+  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+# arg 1: the old package version
+post_remove() {
+  which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+



More information about the arch-commits mailing list