[arch-commits] Commit in iodine/repos (8 files)
Felix Yan
fyan at nymeria.archlinux.org
Tue Nov 26 16:10:21 UTC 2013
Date: Tuesday, November 26, 2013 @ 17:10:21
Author: fyan
Revision: 101503
archrelease: copy trunk to community-i686, community-x86_64
Added:
iodine/repos/community-i686/PKGBUILD
(from rev 101502, iodine/trunk/PKGBUILD)
iodine/repos/community-i686/iodined.conf.d
(from rev 101502, iodine/trunk/iodined.conf.d)
iodine/repos/community-i686/iodined.service
(from rev 101502, iodine/trunk/iodined.service)
iodine/repos/community-x86_64/PKGBUILD
(from rev 101502, iodine/trunk/PKGBUILD)
iodine/repos/community-x86_64/iodined.conf.d
(from rev 101502, iodine/trunk/iodined.conf.d)
iodine/repos/community-x86_64/iodined.service
(from rev 101502, iodine/trunk/iodined.service)
Deleted:
iodine/repos/community-i686/PKGBUILD
iodine/repos/community-x86_64/PKGBUILD
----------------------------------+
/PKGBUILD | 76 +++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 31 ---------------
community-i686/iodined.conf.d | 17 ++++++++
community-i686/iodined.service | 10 ++++
community-x86_64/PKGBUILD | 31 ---------------
community-x86_64/iodined.conf.d | 17 ++++++++
community-x86_64/iodined.service | 10 ++++
7 files changed, 130 insertions(+), 62 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-11-26 16:08:51 UTC (rev 101502)
+++ community-i686/PKGBUILD 2013-11-26 16:10:21 UTC (rev 101503)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Christian Hesse <mail at eworm.de>
-# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
-# Contributor: nofxx <x at nofxx.com>
-
-pkgname=iodine
-pkgver=0.6.0rc1
-pkgrel=2
-pkgdesc='Tunnel IPv4 data through a DNS server'
-arch=('i686' 'x86_64')
-url='http://code.kryo.se/iodine'
-license=('custom:ISC')
-depends=('zlib')
-source=("http://code.kryo.se/${pkgname}/${pkgname}-${pkgver/rc/-rc}.tar.gz")
-
-build() {
- cd ${pkgname}-${pkgver/rc/-rc}/
-
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver/rc/-rc}/
-
- make prefix=/usr sbindir=/usr/bin DESTDIR="${pkgdir}" install
- install -d "${pkgdir}/usr/share/licenses/iodine"
- sed -n '/AUTHORS & LICENSE/,$p' README > "${pkgdir}/usr/share/licenses/iodine/LICENSE"
-}
-
-sha256sums=('dacf950198b68fd1dae09fe980080155b0c75718f581c08e069eee0c1b6c5e60')
Copied: iodine/repos/community-i686/PKGBUILD (from rev 101502, iodine/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-11-26 16:10:21 UTC (rev 101503)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: nofxx <x at nofxx.com>
+
+pkgname=iodine
+pkgver=0.6.0rc1
+pkgrel=3
+pkgdesc='Tunnel IPv4 data through a DNS server'
+arch=('i686' 'x86_64')
+url='http://code.kryo.se/iodine'
+license=('custom:ISC')
+depends=('zlib')
+source=("http://code.kryo.se/${pkgname}/${pkgname}-${pkgver/rc/-rc}.tar.gz"
+ 'iodined.service'
+ 'iodined.conf.d')
+
+build() {
+ cd ${pkgname}-${pkgver/rc/-rc}/
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver/rc/-rc}/
+
+ make prefix=/usr sbindir=/usr/bin DESTDIR="${pkgdir}" install
+ install -d "${pkgdir}/usr/share/licenses/iodine"
+ sed -n '/AUTHORS & LICENSE/,$p' README > "${pkgdir}/usr/share/licenses/iodine/LICENSE"
+
+ install -Dm644 "$srcdir/iodined.service" "$pkgdir/usr/lib/systemd/system/iodined.service"
+ install -Dm644 "$srcdir/iodined.conf.d" "$pkgdir/etc/conf.d/iodined"
+}
+
+sha256sums=('dacf950198b68fd1dae09fe980080155b0c75718f581c08e069eee0c1b6c5e60'
+ '4d2c45ab783ce07911afe48403884edc0ee5ccbb463bc4026f83b511d5dde418'
+ '6babc497d86e7b142f61e529f9facacb95e868e920b15dcf66e039891b02929b')
Copied: iodine/repos/community-i686/iodined.conf.d (from rev 101502, iodine/trunk/iodined.conf.d)
===================================================================
--- community-i686/iodined.conf.d (rev 0)
+++ community-i686/iodined.conf.d 2013-11-26 16:10:21 UTC (rev 101503)
@@ -0,0 +1,17 @@
+# Address and subnet to use for the tunnel (default mask is /27)
+TUN_IP="172.18.42.1/24"
+
+# Password (32 characters max)
+IODINE_PASSWORD="mypassword"
+
+# The domain you control, see documentation.
+TOP_DOMAIN="example.com"
+
+# UDP port iodined should listen on.
+IODINE_PORT="53"
+
+# Local IP address iodined should bind to.
+IODINE_BIND_ADDRESS="0.0.0.0"
+
+# External IP of your iodined server, used in DNS answers.
+IODINE_EXT_IP=""
Copied: iodine/repos/community-i686/iodined.service (from rev 101502, iodine/trunk/iodined.service)
===================================================================
--- community-i686/iodined.service (rev 0)
+++ community-i686/iodined.service 2013-11-26 16:10:21 UTC (rev 101503)
@@ -0,0 +1,10 @@
+[Unit]
+After=network.target
+Requires=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/iodined
+ExecStart=/usr/bin/iodined -f -c -l $IODINE_BIND_ADDRESS -n $IODINE_EXT_IP -p $IODINE_PORT -P $IODINE_PASSWORD $TUN_IP $TOP_DOMAIN
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-11-26 16:08:51 UTC (rev 101502)
+++ community-x86_64/PKGBUILD 2013-11-26 16:10:21 UTC (rev 101503)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Christian Hesse <mail at eworm.de>
-# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
-# Contributor: nofxx <x at nofxx.com>
-
-pkgname=iodine
-pkgver=0.6.0rc1
-pkgrel=2
-pkgdesc='Tunnel IPv4 data through a DNS server'
-arch=('i686' 'x86_64')
-url='http://code.kryo.se/iodine'
-license=('custom:ISC')
-depends=('zlib')
-source=("http://code.kryo.se/${pkgname}/${pkgname}-${pkgver/rc/-rc}.tar.gz")
-
-build() {
- cd ${pkgname}-${pkgver/rc/-rc}/
-
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver/rc/-rc}/
-
- make prefix=/usr sbindir=/usr/bin DESTDIR="${pkgdir}" install
- install -d "${pkgdir}/usr/share/licenses/iodine"
- sed -n '/AUTHORS & LICENSE/,$p' README > "${pkgdir}/usr/share/licenses/iodine/LICENSE"
-}
-
-sha256sums=('dacf950198b68fd1dae09fe980080155b0c75718f581c08e069eee0c1b6c5e60')
Copied: iodine/repos/community-x86_64/PKGBUILD (from rev 101502, iodine/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-11-26 16:10:21 UTC (rev 101503)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: nofxx <x at nofxx.com>
+
+pkgname=iodine
+pkgver=0.6.0rc1
+pkgrel=3
+pkgdesc='Tunnel IPv4 data through a DNS server'
+arch=('i686' 'x86_64')
+url='http://code.kryo.se/iodine'
+license=('custom:ISC')
+depends=('zlib')
+source=("http://code.kryo.se/${pkgname}/${pkgname}-${pkgver/rc/-rc}.tar.gz"
+ 'iodined.service'
+ 'iodined.conf.d')
+
+build() {
+ cd ${pkgname}-${pkgver/rc/-rc}/
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver/rc/-rc}/
+
+ make prefix=/usr sbindir=/usr/bin DESTDIR="${pkgdir}" install
+ install -d "${pkgdir}/usr/share/licenses/iodine"
+ sed -n '/AUTHORS & LICENSE/,$p' README > "${pkgdir}/usr/share/licenses/iodine/LICENSE"
+
+ install -Dm644 "$srcdir/iodined.service" "$pkgdir/usr/lib/systemd/system/iodined.service"
+ install -Dm644 "$srcdir/iodined.conf.d" "$pkgdir/etc/conf.d/iodined"
+}
+
+sha256sums=('dacf950198b68fd1dae09fe980080155b0c75718f581c08e069eee0c1b6c5e60'
+ '4d2c45ab783ce07911afe48403884edc0ee5ccbb463bc4026f83b511d5dde418'
+ '6babc497d86e7b142f61e529f9facacb95e868e920b15dcf66e039891b02929b')
Copied: iodine/repos/community-x86_64/iodined.conf.d (from rev 101502, iodine/trunk/iodined.conf.d)
===================================================================
--- community-x86_64/iodined.conf.d (rev 0)
+++ community-x86_64/iodined.conf.d 2013-11-26 16:10:21 UTC (rev 101503)
@@ -0,0 +1,17 @@
+# Address and subnet to use for the tunnel (default mask is /27)
+TUN_IP="172.18.42.1/24"
+
+# Password (32 characters max)
+IODINE_PASSWORD="mypassword"
+
+# The domain you control, see documentation.
+TOP_DOMAIN="example.com"
+
+# UDP port iodined should listen on.
+IODINE_PORT="53"
+
+# Local IP address iodined should bind to.
+IODINE_BIND_ADDRESS="0.0.0.0"
+
+# External IP of your iodined server, used in DNS answers.
+IODINE_EXT_IP=""
Copied: iodine/repos/community-x86_64/iodined.service (from rev 101502, iodine/trunk/iodined.service)
===================================================================
--- community-x86_64/iodined.service (rev 0)
+++ community-x86_64/iodined.service 2013-11-26 16:10:21 UTC (rev 101503)
@@ -0,0 +1,10 @@
+[Unit]
+After=network.target
+Requires=network.target
+
+[Service]
+EnvironmentFile=/etc/conf.d/iodined
+ExecStart=/usr/bin/iodined -f -c -l $IODINE_BIND_ADDRESS -n $IODINE_EXT_IP -p $IODINE_PORT -P $IODINE_PASSWORD $TUN_IP $TOP_DOMAIN
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list