[arch-commits] Commit in ckermit/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 3 17:37:43 UTC 2018
Date: Sunday, June 3, 2018 @ 17:37:42
Author: felixonmars
Revision: 339462
archrelease: copy trunk to community-x86_64
Added:
ckermit/repos/community-x86_64/PKGBUILD
(from rev 339461, ckermit/trunk/PKGBUILD)
ckermit/repos/community-x86_64/lockdir.patch
(from rev 339461, ckermit/trunk/lockdir.patch)
Deleted:
ckermit/repos/community-x86_64/PKGBUILD
ckermit/repos/community-x86_64/lockdir.patch
---------------+
PKGBUILD | 82 +++++++++++++++++++++++------------------------
lockdir.patch | 96 ++++++++++++++++++++++++++++----------------------------
2 files changed, 89 insertions(+), 89 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-03 17:37:28 UTC (rev 339461)
+++ PKGBUILD 2018-06-03 17:37:42 UTC (rev 339462)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Maintainer: Brian Bidulock <bidulock at openss7.org>
-# Contributor: Ryan Corder <ryanc at greengrey.org>
-# Contributor: Samuel Tardieu <sam at rfc1149.net>
-
-pkgname=ckermit
-pkgver=9.0.302
-pkgrel=6
-pkgdesc="Portable scriptable network and serial communication software"
-arch=('i686' 'x86_64')
-license=('custom')
-depends=('ncurses')
-url="http://www.columbia.edu/kermit/ck90.html"
-#source=('ftp://kermit.columbia.edu/kermit/archives/cku302.tar.gz' 'lockdir.patch')
-source=('ftp://ftp.kermitproject.org/kermit/archives/cku302.tar.gz'
- 'lockdir.patch')
-md5sums=('eac4dbf18b45775e4cdee5a7c74762b0'
- '5968e55dd472b2efb0e31cb3a6fb1655')
-
-prepare() {
- cd $srcdir
- chmod -R og-rwx ./
- patch -p1 < lockdir.patch
-}
-
-build() {
- cd $srcdir
- make linux
- echo "#!/usr/bin/ckermit" > _tmp.ini
- cat ckermit.ini >> _tmp.ini
-}
-
-package() {
- cd $srcdir
- install -Dm0755 wermit $pkgdir/usr/bin/ckermit
- ln -s /usr/bin/ckermit $pkgdir/usr/bin/ckermit-sshsub
- install -Dm0644 ckuker.nr $pkgdir/usr//share/man/man1/ckermit.1
- install -Dm0644 COPYING.TXT $pkgdir/usr/share/licenses/$pkgname/License.txt
- install -Dm0755 _tmp.ini $pkgdir/usr/bin/ckermit.ini
-}
Copied: ckermit/repos/community-x86_64/PKGBUILD (from rev 339461, ckermit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-03 17:37:42 UTC (rev 339462)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Brian Bidulock <bidulock at openss7.org>
+# Contributor: Ryan Corder <ryanc at greengrey.org>
+# Contributor: Samuel Tardieu <sam at rfc1149.net>
+
+pkgname=ckermit
+pkgver=9.0.302
+pkgrel=7
+pkgdesc="Portable scriptable network and serial communication software"
+arch=('x86_64')
+license=('custom')
+depends=('ncurses')
+url="http://www.columbia.edu/kermit/ck90.html"
+#source=('ftp://kermit.columbia.edu/kermit/archives/cku302.tar.gz' 'lockdir.patch')
+source=('ftp://ftp.kermitproject.org/kermit/archives/cku302.tar.gz'
+ 'lockdir.patch')
+sha512sums=('2cfc264e5262d29618fdf218fd3407fd9049b16110972cdddb03d114703b7a0ea13c4b0a354f50c2a9f70d4727732fe4d1920b5c656f969bc56c1eb9dc3c43fa'
+ 'daa67abcbd408486d7bdb790b7756d939ee0d8a99b36c09f781bebf3407a19e35c1367a19e1b98efa3c30d4b649a07b45ab4e154a4fea16aed8d59cfee754fc5')
+
+prepare() {
+ cd "$srcdir"
+ chmod -R og-rwx ./
+ patch -p1 < lockdir.patch
+}
+
+build() {
+ cd "$srcdir"
+ make linux
+ echo "#!/usr/bin/ckermit" > _tmp.ini
+ cat ckermit.ini >> _tmp.ini
+}
+
+package() {
+ cd "$srcdir"
+ install -Dm0755 wermit "$pkgdir"/usr/bin/ckermit
+ ln -s /usr/bin/ckermit "$pkgdir"/usr/bin/ckermit-sshsub
+ install -Dm0644 ckuker.nr "$pkgdir"/usr//share/man/man1/ckermit.1
+ install -Dm0644 COPYING.TXT "$pkgdir"/usr/share/licenses/$pkgname/License.txt
+ install -Dm0755 _tmp.ini "$pkgdir"/usr/bin/ckermit.ini
+}
Deleted: lockdir.patch
===================================================================
--- lockdir.patch 2018-06-03 17:37:28 UTC (rev 339461)
+++ lockdir.patch 2018-06-03 17:37:42 UTC (rev 339462)
@@ -1,48 +0,0 @@
-commit f956d739e9b1451eff1592fa640358877dcf958c
-Author: Samuel Tardieu <sam at rfc1149.net>
-Date: Thu Jul 19 20:53:24 2012 +0200
-
- Use LOCK_DIR environment variable if defined instead of /var/lock
-
-diff --git a/ckutio.c b/ckutio.c
-index 05564de..14b11cd 100644
---- a/ckutio.c
-+++ b/ckutio.c
-@@ -4971,6 +4971,11 @@ ttglckdir() { /* Get Lockfile directory name */
- #endif /* __OpenBSD__ */
- }
-
-+char *get_lockdir() {
-+ char *lockdir = getenv("LOCK_DIR");
-+ return lockdir ? lockdir : LOCK_DIR;
-+}
-+
- static int
- ttlock(ttdev) char *ttdev; {
-
-@@ -5077,8 +5082,7 @@ ttlock(ttdev) char *ttdev; {
- char symlock[LFNAML]; /* Name for symlink lockfile name */
- #endif /* CKSYMLINK */
- char tmpnam[LFNAML+30]; /* Temporary lockfile name. */
-- char *lockdir = LOCK_DIR; /* Defined near top of this file, */
-- /* or on cc command line. */
-+ char *lockdir = get_lockdir();
- haslock = 0; /* Not locked yet. */
- *flfnam = '\0'; /* Lockfile name is empty. */
- lock2[0] = '\0'; /* Clear secondary lockfile name. */
-diff --git a/ckuus4.c b/ckuus4.c
-index 946603a..ba9afaf 100644
---- a/ckuus4.c
-+++ b/ckuus4.c
-@@ -13882,8 +13882,9 @@ nvlook(s) char *s; {
- #ifdef UNIX
- case VN_LCKDIR: {
- #ifndef NOUUCP
-- extern char * uucplockdir;
-- ckstrncpy(vvbuf,uucplockdir,VVBUFL);
-+ extern char *get_lockdir();
-+ char * lockdir = get_lockdir();
-+ ckstrncpy(vvbuf,lockdir,VVBUFL);
- x = strlen(vvbuf);
- if (x > 0) {
- if (vvbuf[x-1] != '/') {
Copied: ckermit/repos/community-x86_64/lockdir.patch (from rev 339461, ckermit/trunk/lockdir.patch)
===================================================================
--- lockdir.patch (rev 0)
+++ lockdir.patch 2018-06-03 17:37:42 UTC (rev 339462)
@@ -0,0 +1,48 @@
+commit f956d739e9b1451eff1592fa640358877dcf958c
+Author: Samuel Tardieu <sam at rfc1149.net>
+Date: Thu Jul 19 20:53:24 2012 +0200
+
+ Use LOCK_DIR environment variable if defined instead of /var/lock
+
+diff --git a/ckutio.c b/ckutio.c
+index 05564de..14b11cd 100644
+--- a/ckutio.c
++++ b/ckutio.c
+@@ -4971,6 +4971,11 @@ ttglckdir() { /* Get Lockfile directory name */
+ #endif /* __OpenBSD__ */
+ }
+
++char *get_lockdir() {
++ char *lockdir = getenv("LOCK_DIR");
++ return lockdir ? lockdir : LOCK_DIR;
++}
++
+ static int
+ ttlock(ttdev) char *ttdev; {
+
+@@ -5077,8 +5082,7 @@ ttlock(ttdev) char *ttdev; {
+ char symlock[LFNAML]; /* Name for symlink lockfile name */
+ #endif /* CKSYMLINK */
+ char tmpnam[LFNAML+30]; /* Temporary lockfile name. */
+- char *lockdir = LOCK_DIR; /* Defined near top of this file, */
+- /* or on cc command line. */
++ char *lockdir = get_lockdir();
+ haslock = 0; /* Not locked yet. */
+ *flfnam = '\0'; /* Lockfile name is empty. */
+ lock2[0] = '\0'; /* Clear secondary lockfile name. */
+diff --git a/ckuus4.c b/ckuus4.c
+index 946603a..ba9afaf 100644
+--- a/ckuus4.c
++++ b/ckuus4.c
+@@ -13882,8 +13882,9 @@ nvlook(s) char *s; {
+ #ifdef UNIX
+ case VN_LCKDIR: {
+ #ifndef NOUUCP
+- extern char * uucplockdir;
+- ckstrncpy(vvbuf,uucplockdir,VVBUFL);
++ extern char *get_lockdir();
++ char * lockdir = get_lockdir();
++ ckstrncpy(vvbuf,lockdir,VVBUFL);
+ x = strlen(vvbuf);
+ if (x > 0) {
+ if (vvbuf[x-1] != '/') {
More information about the arch-commits
mailing list