home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / pub / public_html / debian / ckermit_211-1.diff.gz / ckermit_211-1.diff
Text File  |  2004-04-14  |  23KB  |  690 lines

  1. --- ckermit-211.orig/makefile
  2. +++ ckermit-211/makefile
  3. @@ -998,7 +998,7 @@
  4.      echo "RmF $(DESTDIR)$(BINDIR)/kermit-sshsub" >&3;\
  5.      echo "RmF $(DESTDIR)$(BINDIR)/kermit" >&3;\
  6.      if test -f ckermit.ini; then\
  7. -        echo "#!$(DESTDIR)$(BINDIR)/kermit" >\
  8. +        echo "#!$(BINDIR)/kermit" >\
  9.              $(DESTDIR)$(BINDIR)/_tmp.ini;\
  10.          cat ckermit.ini >> $(DESTDIR)$(BINDIR)/_tmp.ini;\
  11.          mv $(DESTDIR)$(BINDIR)/_tmp.ini\
  12. @@ -1019,20 +1019,20 @@
  13.      echo " for details.";\
  14.      echo;\
  15.      echo MANDIR=$(MANDIR);\
  16. -    if test -n "$(MANDIR)"; then\
  17. -        if test -d $(MANDIR); then\
  18. -            echo  "$(MANDIR) exists...";\
  19. +    if test -n "$(DESTDIR)$(MANDIR)"; then\
  20. +        if test -d $(DESTDIR)$(MANDIR); then\
  21. +            echo  "$(DESTDIR)$(MANDIR) exists...";\
  22.          else\
  23. -            echo "Creating $(MANDIR)...";\
  24. -            mkdir $(MANDIR) || exit 1;\
  25. -            chmod 755 $(MANDIR) || exit 1;\
  26. +            echo "Creating $(DESTDIR)$(MANDIR)...";\
  27. +            mkdir $(DESTDIR)$(MANDIR) || exit 1;\
  28. +            chmod 755 $(DESTDIR)$(MANDIR) || exit 1;\
  29.          fi;\
  30.          echo "Installing man page...";\
  31. -        rm -f $(MANDIR)/kermit.$(MANEXT);\
  32. -        cp    ckuker.nr $(MANDIR)/kermit.$(MANEXT) || exit 1;\
  33. -        chmod 644       $(MANDIR)/kermit.$(MANEXT) || exit 1;\
  34. +        rm -f $(DESTDIR)$(MANDIR)/kermit.$(MANEXT);\
  35. +        cp    ckuker.nr $(DESTDIR)$(MANDIR)/kermit.$(MANEXT) || exit 1;\
  36. +        chmod 644       $(DESTDIR)$(MANDIR)/kermit.$(MANEXT) || exit 1;\
  37.          echo 'set flag=f\nPrC Removing man pages' >&3;\
  38. -        echo "RmF $(MANDIR)/kermit.$(MANEXT)" >&3;\
  39. +        echo "RmF $(DESTDIR)$(MANDIR)/kermit.$(MANEXT)" >&3;\
  40.          echo 'EfM' >&3;\
  41.          echo;\
  42.      else\
  43. --- ckermit-211.orig/debian/changelog
  44. +++ ckermit-211/debian/changelog
  45. @@ -0,0 +1,33 @@
  46. +ckermit (211-1) unstable; urgency=low
  47. +
  48. +  * New Maintainer (Closes: #143649).
  49. +  * New upstream version (Closes: #58634).
  50. +  * Ack NMU (Closes: #54901).
  51. +  * Add -DTIMEH to KFLAGS, replacing NMU patch (Closes: #91281).
  52. +  * Sorted out docs dir (Closes: #229309).
  53. +  * errno problem should be fixed by this recompile (Closes: #222096, #228728).
  54. +  * Kerberos 4/5 support with MIT libs (Closes: #95135).
  55. +  * Support for Socks4 (libsocksd), openssl, pam, shadow passwds and IKSD.
  56. +  * Converted to po-debconf.
  57. +  * Added support for /etc/kermit/kermrc (Closes: #123336).
  58. +  * Attempt to remove /etc/kermit/ on purge in postrm.
  59. +  * debian/control: changed Section: to non-US/non-free
  60. +
  61. + -- Ian Beckwith <ianb@nessie.mcc.ac.uk>  Wed, 14 Apr 2004 03:17:56 +0100
  62. +
  63. +ckermit (196-1.1) unstable; urgency=low
  64. +
  65. +  * Non-maintainer Upload
  66. +  * As part of BSP, fixing RC bug 91281. Added compiler directive to
  67. +    sense <time.h>
  68. +  * Added Build-Depends forestalling possible RC bugs in future
  69. +
  70. + -- Gopal Narayanan <gopal@debian.org>  Sat, 14 Apr 2001 00:17:22 +0000
  71. +
  72. +ckermit (196-1) unstable; urgency=low
  73. +
  74. +  * Initial Release.
  75. +
  76. + -- Vaidhyanathan G Mayilrangam <vaidhy@debian.org>  Tue,  4 Jan 2000 15:22:47 -0500
  77. +
  78. +
  79. --- ckermit-211.orig/debian/copyright
  80. +++ ckermit-211/debian/copyright
  81. @@ -0,0 +1,126 @@
  82. +This package was (re)debianized by Ian Beckwith <ianb@nessie.mcc.ac.uk> on
  83. +Mon, 24 Nov 2003 13:02:10 +0000.
  84. +
  85. +An earlier version was debianized and maintained by Vaidhyanathan G
  86. +Mayilrangam <vaidhy@debian.org>
  87. +
  88. +It was downloaded from http://www.columbia.edu/kermit/ckermit.html
  89. +
  90. +Upstream Authors: Kermit Team at Columbia University
  91. +
  92. +Copyright: Copyright (C) 1985, 2002,
  93. +  The Trustees of Columbia University in the City of New York.
  94. +  All rights reserved.
  95. +
  96. +copied from the COPYING.TXT supplied with the tarball.
  97. +Also available at:
  98. +
  99. +ftp://ftp.kermit.columbia.edu/kermit/f/COPYING.TXT
  100. +
  101. +
  102. +THE C-KERMIT 7.0 AND 8.0 LICENSE
  103. +
  104. +  Last update: Thu Feb  8 17:41:07 2002
  105. +
  106. +This is the new C-Kermit 7.0 and 8.0 license.  The intention is to allow
  107. +C-Kermit to be distributed with "free" operating systems such as GNU/Linux,
  108. +FreeBSD, NetBSD, OpenBSD, The Hurd, etc, even when the distributions
  109. +themselves (such as Red Hat or Caldera) might be sold and/or might include
  110. +applications that are not free, and yet still require a license to include
  111. +C-Kermit in or with "non-free" products such as commercial OS's, commercial
  112. +software packages, embedded systems, and hardware (other than general-purpose
  113. +computers preloaded with "free" operating systems), since these licenses
  114. +furnish a large portion of the Kermit Project's funding.
  115. +
  116. +There have been some questions about the provision in Clause (A) that:
  117. +
  118. +                                                                  The
  119. +    C-Kermit source code may not be changed without the consent of the
  120. +    Kermit Project, which will not be unreasonably withheld (this is
  121. +    simply a matter of keeping a consistent and supportable code base).
  122. +
  123. +The intention of this clause is primarily to make sure that anybody who
  124. +makes modifications sends them back to us, since we are the ones have to
  125. +support C-Kermit, and so we can carry them through to future releases (so
  126. +you don't have to make the same changes again and again).
  127. +
  128. +Secondarily it is to protect Columbia University in the unlikely event of
  129. +modifications made with deliberate intent to offend or cause damage.
  130. +
  131. +Any redistributor of C-Kermit under Clause (A) below should rest assured
  132. +there is no intention of preventing them from constructing a distribution in
  133. +the appropriate format (RPM or whatever) for their product or from issuing
  134. +any patches required for their products; we simply want to be informed so we
  135. +can maintain a consistent code base and a solid, supportable software
  136. +package.  We are happy to work with any redistributor an any issues that
  137. +concern them.  If you have questions, send them to kermit@columbia.edu.
  138. +
  139. +Note: All changes to this file since 1 January 2000 (the C-Kermit 7.0
  140. +release date) are above; the license itself has not changed, except to
  141. +update the most recent copyright date.
  142. +
  143. +(Begin)
  144. +
  145. +Copyright (C) 1985, 2002,
  146. +  The Trustees of Columbia University in the City of New York.
  147. +  All rights reserved.
  148. +
  149. +PERMISSIONS:
  150. +
  151. +The C-Kermit software may be obtained directly from the Kermit Project at
  152. +Columbia University (or from any source explicitly licensed by the Kermit
  153. +Project or implicitly licensed by Clause (A) below) by any individual for
  154. +his or her OWN USE, and by any company or other organization for its own
  155. +INTERNAL DISTRIBUTION and use, including installation on servers that are
  156. +accessed by customers or clients, WITHOUT EXPLICIT LICENSE.
  157. +
  158. +Conditions for REDISTRIBUTION are as follows:
  159. +
  160. +(A) The C-Kermit software, in source and/or binary form, may be
  161. +    included WITHOUT EXPLICIT LICENSE in distributions of OPERATING
  162. +    SYSTEMS that have OSI (Open Source Initiative, www.opensource.org)
  163. +    approved licenses, even if non-Open-Source applications (but not
  164. +    operating systems) are included in the same distribution.  Such
  165. +    distributions include, but are not limited to, CD-ROM, FTP site,
  166. +    Web site, or preinstalled software on a new GENERAL-PURPOSE
  167. +    computer, as long as the primary character of the distribution is
  168. +    an Open Source operating system with accompanying utilities.  The
  169. +    C-Kermit source code may not be changed without the consent of the
  170. +    Kermit Project, which will not be unreasonably withheld (this is
  171. +    simply a matter of keeping a consistent and supportable code base).
  172. +
  173. +(B) Inclusion of C-Kermit software in whole or in part, in any form, in
  174. +    or with any product not covered by Clause (A), or its distribution
  175. +    by any commercial enterprise to its actual or potential customers
  176. +    or clients except as in Clause (A), requires a license from the
  177. +    Kermit Project, Columbia University; contact kermit@columbia.edu.
  178. +
  179. +The name of Columbia University may not be used to endorse or promote
  180. +products derived from or including the C-Kermit software without specific
  181. +prior written permission.
  182. +
  183. +DISCLAIMER:
  184. +
  185. +  THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
  186. +  TRUSTEES OF COLUMBIA UNIVERSITY IN THE CITY OF NEW YORK AS TO ITS
  187. +  FITNESS FOR ANY PURPOSE, AND WITHOUT WARRANTY BY THE TRUSTEES OF
  188. +  COLUMBIA UNIVERSITY IN THE CITY OF NEW YORK OF ANY KIND, EITHER
  189. +  EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
  190. +  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  191. +  THE TRUSTEES OF COLUMBIA UNIVERSITY IN THE CITY OF NEW YORK SHALL NOT
  192. +  BE LIABLE FOR ANY DAMAGES, INCLUDING SPECIAL, INDIRECT, INCIDENTAL,
  193. +  OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR
  194. +  IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS
  195. +  HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.  YOU SHALL
  196. +  INDEMNIFY AND HOLD HARMLESS THE TRUSTEES OF COLUMBIA UNIVERSITY IN
  197. +  THE CITY OF NEW YORK, ITS EMPLOYEES AND AGENTS FROM AND AGAINST ANY
  198. +  AND ALL CLAIMS, DEMANDS, LOSS, DAMAGE OR EXPENSE (INCLUDING
  199. +  ATTORNEYS' FEES) ARISING OUT OF YOUR USE OF THIS SOFTWARE.
  200. +
  201. +The above copyright notice, permissions notice, and disclaimer may not be
  202. +removed, altered, or obscured and shall be included in all copies of the
  203. +C-Kermit software.  The Trustees of Columbia University in the City of
  204. +New York reserve the right to revoke this permission if any of the terms
  205. +of use set forth above are breached.
  206. +
  207. +(End)
  208. --- ckermit-211.orig/debian/dirs
  209. +++ ckermit-211/debian/dirs
  210. @@ -0,0 +1,5 @@
  211. +etc/kermit
  212. +usr/bin
  213. +usr/sbin
  214. +usr/share/man/man1
  215. +usr/share/doc/ckermit
  216. --- ckermit-211.orig/debian/control
  217. +++ ckermit-211/debian/control
  218. @@ -0,0 +1,17 @@
  219. +Source: ckermit
  220. +Section: non-US/non-free
  221. +Priority: extra
  222. +Maintainer: Ian Beckwith <ianb@nessie.mcc.ac.uk>
  223. +Build-Depends: libncurses5-dev, debhelper (>= 4.1.16), libssl-dev (>=0.9.7-1), libkrb5-dev, libpam0g-dev, libsocksd-dev
  224. +Standards-Version: 3.6.1
  225. +
  226. +Package: ckermit
  227. +Architecture: any
  228. +Pre-Depends: debconf (>=0.2.17)
  229. +Depends: ${shlibs:Depends}
  230. +Recommends: ssh | ssh-krb5 
  231. +Description: a serial and network communications package
  232. + C-Kermit is a combined serial and network communication software package 
  233. + offering a consistent, medium-independent, cross-platform approach to 
  234. + connection establishment, terminal sessions, file transfer, 
  235. + character-set translation, and automation of communication tasks.
  236. --- ckermit-211.orig/debian/rules
  237. +++ ckermit-211/debian/rules
  238. @@ -0,0 +1,114 @@
  239. +#!/usr/bin/make -f
  240. +# -*- makefile -*-
  241. +# debian/rules for ckermit
  242. +# GNU copyright 1997 to 1999 by Joey Hess.
  243. +# modified for ckermit by Ian Beckwith <ianb@nessie.mcc.ac.uk>
  244. +
  245. +# Uncomment this to turn on verbose mode.
  246. +#export DH_VERBOSE=1
  247. +
  248. +BUILDDIR=`pwd`/debian/ckermit
  249. +
  250. +CFLAGS = -g -DCK_SYSINI=\\\"/etc/kermit/kermrc\\\"    \
  251. +            -DIKSDCONF=\\\"/etc/kermit/iksd.conf\\\"  \
  252. +            -DOPENSSL_097 -DCK_INI_B -DTIMEH -DCK_SOCKS \
  253. +            -DX509_SUBJECT_ALT_NAME_TO_USER
  254. +
  255. +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
  256. +    CFLAGS += -O0
  257. +else
  258. +    CFLAGS += -O2
  259. +endif
  260. +
  261. +MAKEOPTS=-f makefile DESTDIR=\"$(BUILDDIR)\" BINDIR=/usr/bin MANDIR=/usr/share/man/man1 INFODIR=/usr/share/doc/ckermit KFLAGS='$(CFLAGS)' LNKFLAGS="-lsocksd"
  262. +
  263. +MAKETARGET=linux+krb5+krb4+openssl+shadow+pam
  264. +
  265. +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
  266. +    INSTALL_PROGRAM += -s
  267. +endif
  268. +
  269. +configure: configure-stamp
  270. +configure-stamp:
  271. +    dh_testdir
  272. +    # Add here commands to configure the package.
  273. +
  274. +    touch configure-stamp
  275. +
  276. +
  277. +build: build-stamp
  278. +
  279. +build-stamp: configure-stamp 
  280. +    dh_testdir
  281. +
  282. +    # Add here commands to compile the package.
  283. +    $(MAKE) $(MAKEOPTS) $(MAKETARGET)
  284. +
  285. +    touch build-stamp
  286. +
  287. +clean:
  288. +    dh_testdir
  289. +    dh_testroot
  290. +    rm -f build-stamp configure-stamp
  291. +
  292. +    # Add here commands to clean up after the build process.
  293. +    -$(MAKE) $(MAKEOPTS) clean
  294. +    -rm -f UNINSTALL 
  295. +    dh_clean 
  296. +
  297. +install: build
  298. +    dh_testdir
  299. +    dh_testroot
  300. +    dh_clean -k 
  301. +    dh_installdirs
  302. +
  303. +    # Add here commands to install the package into debian/ckermit.
  304. +    $(MAKE) $(MAKEOPTS) install
  305. +    # move aside full config file (later linked to by dh_link)
  306. +    mv "$(BUILDDIR)/usr/bin/ckermit.ini" "$(BUILDDIR)/etc/kermit/kermrc.full"
  307. +    # install conf files
  308. +    install -m 0644  -g 0 -o 0 debian/kermrc "$(BUILDDIR)/etc/kermit/"
  309. +    install -m 0644  -g 0 -o 0 debian/iksd.conf "$(BUILDDIR)/etc/kermit/"
  310. +    # link is recreated properly by dh_link
  311. +    rm "$(BUILDDIR)/usr/bin/kermit-sshsub"
  312. +    # duplicated in /usr/share/doc/ckermit/copyright
  313. +    rm "$(BUILDDIR)/usr/share/doc/ckermit/COPYING.TXT"
  314. +
  315. +# Build architecture-independent files here.
  316. +binary-indep: build install
  317. +# We have nothing to do by default.
  318. +
  319. +# Build architecture-dependent files here.
  320. +binary-arch: build install
  321. +    dh_testdir
  322. +    dh_testroot
  323. +    dh_installchangelogs -k ckc211.txt
  324. +    dh_installdocs
  325. +#    dh_installexamples
  326. +    dh_installdirs 
  327. +#    dh_install
  328. +    dh_installmenu
  329. +    dh_installdebconf    
  330. +#    dh_installlogrotate
  331. +#    dh_installemacsen
  332. +    dh_installpam --name=kermit
  333. +#    dh_installmime
  334. +#    dh_installinit
  335. +#    dh_installcron
  336. +#    dh_installinfo
  337. +    dh_installman
  338. +    dh_link
  339. +    dh_strip
  340. +    dh_compress
  341. +    dh_fixperms
  342. +#    dh_perl
  343. +#    dh_python
  344. +    dh_makeshlibs
  345. +    dh_installdeb
  346. +    dh_shlibdeps
  347. +    dh_gencontrol
  348. +    dh_md5sums
  349. +    dh_builddeb
  350. +
  351. +binary: binary-indep binary-arch
  352. +.PHONY: build clean binary-indep binary-arch binary install configure
  353. --- ckermit-211.orig/debian/docs
  354. +++ ckermit-211/debian/docs
  355. @@ -0,0 +1,9 @@
  356. +ckaaaa.txt
  357. +ckcbwr.txt
  358. +ckccfg.txt
  359. +ckcplm.txt
  360. +ckermit70.txt
  361. +ckermit80.txt
  362. +ckubwr.txt
  363. +ckuins.txt
  364. +ckututor.txt
  365. --- ckermit-211.orig/debian/compat
  366. +++ ckermit-211/debian/compat
  367. @@ -0,0 +1 @@
  368. +4
  369. --- ckermit-211.orig/debian/links
  370. +++ ckermit-211/debian/links
  371. @@ -0,0 +1,7 @@
  372. +usr/bin/kermit usr/bin/kermit-sshsub
  373. +usr/bin/kermit usr/sbin/iksd
  374. +etc/kermit/kermrc.full usr/bin/kermrc 
  375. +usr/share/man/man1/kermit.1.gz usr/share/man/man1/kermrc.1.gz
  376. +usr/share/man/man1/kermit.1.gz usr/share/man/man1/kermit-sshsub.1.gz
  377. +usr/share/man/man1/kermit.1.gz usr/share/man/man1/iksd.1.gz
  378. +usr/share/doc/ckermit/ckaaaa.txt.gz usr/share/doc/ckermit/README.gz
  379. --- ckermit-211.orig/debian/watch
  380. +++ ckermit-211/debian/watch
  381. @@ -0,0 +1,6 @@
  382. +# Example watch control file for uscan
  383. +# Rename this file to "watch" and then you can run the "uscan" command
  384. +# to check for upstream updates and more.
  385. +# Site        Directory        Pattern            Version    Script
  386. +version=2
  387. +ftp://ftp.columbia.edu/kermit/archives/cku(\d+)\.tar\.gz    debian    uupdate
  388. --- ckermit-211.orig/debian/menu
  389. +++ ckermit-211/debian/menu
  390. @@ -0,0 +1 @@
  391. +?package(ckermit):needs="text" section="Apps/Net" title="kermit" command="/usr/bin/kermit"
  392. --- ckermit-211.orig/debian/postrm
  393. +++ ckermit-211/debian/postrm
  394. @@ -0,0 +1,14 @@
  395. +#!/bin/sh -e
  396. +case "$1" in
  397. +remove)
  398. +    [ -e /usr/sbin/update-inetd ] && update-inetd --remove "kermit"
  399. +    [ -e /var/run/iksd ] && rm -f /var/run/iksd.db
  400. +    ;;
  401. +purge)
  402. +    rmdir /etc/kermit &>/dev/null || true
  403. +    ;;
  404. +esac
  405. +
  406. +#DEBHELPER#
  407. +
  408. +exit 0
  409. --- ckermit-211.orig/debian/iksd.conf
  410. +++ ckermit-211/debian/iksd.conf
  411. @@ -0,0 +1,9 @@
  412. +; This is iksd.conf, the ckermit configuration file run by
  413. +; IKSD, the Internet Kermit Services Daemon
  414. +; See "man kermit" and http://www.kermit-project.org/uiksd.html
  415. +; for details on configuring this file.
  416. +
  417. +; If you want commands to be run only by anonymous users,
  418. +; place them in etc/kermit/iksd-anon.conf under the anonymous chroot
  419. +; (eg /home/ftp/etc/kermit/iksd-anon.conf )
  420. +
  421. --- ckermit-211.orig/debian/kermrc
  422. +++ ckermit-211/debian/kermrc
  423. @@ -0,0 +1,21 @@
  424. +; This is /etc/kermit/kermrc
  425. +; It is executed on startup if ~/.kermrc is not found.
  426. +; See "man kermit" and http://www.kermit-project.org/ for details on
  427. +; configuring this file, and /etc/kermit/kermrc.full
  428. +; for an example of a complex configuration file
  429. +
  430. +; If you want to run additional user-specific customisations in
  431. +; addition to this file, place them in ~/.mykermrc
  432. +
  433. +; Execute user's personal customization file (named in environment var
  434. +; CKERMOD or ~/.mykermrc)
  435. +; 
  436. +
  437. +if def \$(CKERMOD) assign _myinit \$(CKERMOD)
  438. +if not def _myinit assign _myinit \v(home).mykermrc
  439. +
  440. +xif exist \m(_myinit)  {        ; If it exists,
  441. +    echo Executing \m(_myinit)...    ; print message,
  442. +    take \m(_myinit)            ; and TAKE the file.
  443. +}
  444. +
  445. --- ckermit-211.orig/debian/templates
  446. +++ ckermit-211/debian/templates
  447. @@ -0,0 +1,28 @@
  448. +Template: ckermit/iksd
  449. +Type: boolean
  450. +Default: false
  451. +_Description: Enable Internet Kermit Service Daemon (IKSD) in inetd.conf?
  452. + The Internet Kermit Service daemon (IKSD) is the C-Kermit program running
  453. + as an Internet service, similar to an FTP or Telnet server.  It executes
  454. + Telnet protocol just like a Telnet server and it transfers files like an
  455. + FTP server.  But unlike an FTP server, IKSD uses the Kermit file transfer
  456. + protocol (which is more powerful and flexible) and allows both FTP-like
  457. + client/server connections as well as direct keyboard interaction.  Secure
  458. + authentication methods and encrypted sessions are available, as well as a
  459. + wide range of file transfer and management functions, which can be
  460. + scripted to automate arbitrarily complex tasks.
  461. +
  462. +Template: ckermit/iksd-anon
  463. +Type: boolean
  464. +Default: false
  465. +_Description: Enable anonymous IKSD logins?
  466. + IKSD supports anonymous logins (using chroot), similar to anonymous ftp.
  467. +
  468. +Template: ckermit/iksd-anondir
  469. +Type: string
  470. +_Default: /home/ftp
  471. +_Description: Directory for anonymous IKSD logins
  472. + Enter directory for anonymous IKSD logins. A chroot() will be performed
  473. + into this directory on login. This directory will NOT be created.
  474. + .
  475. + The default is /home/ftp (same as wu-ftpd)
  476. --- ckermit-211.orig/debian/config
  477. +++ ckermit-211/debian/config
  478. @@ -0,0 +1,27 @@
  479. +#!/bin/sh -e
  480. +
  481. +. /usr/share/debconf/confmodule
  482. +
  483. +db_input medium ckermit/iksd || true
  484. +db_go || true
  485. +
  486. +db_get ckermit/iksd || true
  487. +
  488. +if [ "$RET"    = true ]
  489. +then
  490. +    db_input medium ckermit/iksd-anon || true
  491. +    db_go || true
  492. +        
  493. +    db_get ckermit/iksd-anon || true
  494. +    if [ "$RET" = true ]
  495. +    then
  496. +        db_input medium ckermit/iksd-anondir || true
  497. +        db_go || true
  498. +    fi
  499. +fi
  500. +
  501. +#DEBHELPER#
  502. +
  503. +exit 0
  504. +
  505. +
  506. --- ckermit-211.orig/debian/kermit.pam
  507. +++ ckermit-211/debian/kermit.pam
  508. @@ -0,0 +1,4 @@
  509. +auth    required    pam_unix_auth.so shadow nullok
  510. +account    required    pam_unix_acct.so
  511. +session    required    pam_unix_session.so
  512. +
  513. --- ckermit-211.orig/debian/postinst
  514. +++ ckermit-211/debian/postinst
  515. @@ -0,0 +1,33 @@
  516. +#!/bin/sh -e
  517. +
  518. +. /usr/share/debconf/confmodule
  519. +
  520. +anon='off'
  521. +prefix='#<off>#'
  522. +dir='/home/ftp'
  523. +inetdentry='kermit    stream    tcp    nowait    root    /usr/sbin/tcpd    /usr/sbin/iksd'
  524. +iksd_args='-A --initfile:/etc/kermit/iksd-anon.conf --dbfile:/var/run/iksd.db --syslog:5'
  525. +
  526. +if [ "$1" = "configure" ]
  527. +then
  528. +        db_get ckermit/iksd || true
  529. +        if [ "$RET" = true ]
  530. +        then
  531. +                prefix=""
  532. +                db_get ckermit/iksd-anon || true
  533. +                if [ "$RET" = true ]
  534. +                then
  535. +                        anon="on"
  536. +                        db_get ckermit/iksd-anondir || true
  537. +                        dir="$RET"
  538. +                fi
  539. +        fi
  540. +        
  541. +        iksd_args="$iksd_args --root:$dir --anonymous:$anon"
  542. +        update-inetd --remove "kermit"
  543. +        update-inetd --add "$prefix$inetdentry $iksd_args"
  544. +fi
  545. +
  546. +#DEBHELPER#
  547. +
  548. +exit 0
  549. --- ckermit-211.orig/debian/README.Debian
  550. +++ ckermit-211/debian/README.Debian
  551. @@ -0,0 +1,35 @@
  552. +ckermit for Debian
  553. +------------------
  554. +
  555. +The site for ckermit, which has lots more documentation, is at:
  556. +
  557. +http://www.columbia.edu/kermit/
  558. +
  559. +On startup, kermit looks for .kermrc in your home directory.
  560. +If this is not found, it uses /etc/kermit/kermrc. This in
  561. +turn looks for .mykermrc in your home directory.
  562. +
  563. +Kermit scripts can be run with shebang (#!) notation, i.e. by making
  564. +the script executable and setting the first line to
  565. +
  566. +#!/usr/bin/kermit
  567. +
  568. +As most users do not need the full config file, a minimal config file
  569. +is installed by default. If you wish to run kermit with the full
  570. +config file, run it as "kermrc".
  571. +
  572. +/usr/bin/kermrc is a symbolic link to /etc/kermit/kermrc.full,
  573. +which can be edited to taste.
  574. +
  575. +iksd (the Internet Kermit Service Daemon) can be enabled or disabled
  576. +using:
  577. +
  578. +dpkg-reconfigure ckermit
  579. +
  580. +iksd uses /etc/kermit/iksd.conf on startup.  If you have enabled
  581. +anonymous use, it uses /etc/kermit/iksd-anon.conf *within* the
  582. +anonymous chroot, so if you use the default, it will look for
  583. +
  584. +/home/ftp/etc/kermit/iksd-anon.conf
  585. +
  586. + -- Ian Beckwith <ianb@nessie.mcc.ac.uk>, Wed Jan  7 02:04:37 2004
  587. --- ckermit-211.orig/debian/po/POTFILES.in
  588. +++ ckermit-211/debian/po/POTFILES.in
  589. @@ -0,0 +1 @@
  590. +[type: gettext/rfc822deb] templates
  591. --- ckermit-211.orig/debian/po/templates.pot
  592. +++ ckermit-211/debian/po/templates.pot
  593. @@ -0,0 +1,96 @@
  594. +#
  595. +#    Translators, if you are not familiar with the PO format, gettext
  596. +#    documentation is worth reading, especially sections dedicated to
  597. +#    this format, e.g. by running:
  598. +#         info -n '(gettext)PO Files'
  599. +#         info -n '(gettext)Header Entry'
  600. +#
  601. +#    Some information specific to po-debconf are available at
  602. +#            /usr/share/doc/po-debconf/README-trans
  603. +#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
  604. +#
  605. +#    Developers do not need to manually edit POT or PO files.
  606. +#
  607. +#, fuzzy
  608. +msgid ""
  609. +msgstr ""
  610. +"Project-Id-Version: PACKAGE VERSION\n"
  611. +"Report-Msgid-Bugs-To: \n"
  612. +"POT-Creation-Date: 2004-02-11 00:35+0000\n"
  613. +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  614. +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  615. +"Language-Team: LANGUAGE <LL@li.org>\n"
  616. +"MIME-Version: 1.0\n"
  617. +"Content-Type: text/plain; charset=CHARSET\n"
  618. +"Content-Transfer-Encoding: 8bit\n"
  619. +
  620. +#. Type: boolean
  621. +#. Description
  622. +#: ../templates:4
  623. +msgid "Enable Internet Kermit Service Daemon (IKSD) in inetd.conf?"
  624. +msgstr ""
  625. +
  626. +#. Type: boolean
  627. +#. Description
  628. +#: ../templates:4
  629. +msgid ""
  630. +"The Internet Kermit Service daemon (IKSD) is the C-Kermit program running as "
  631. +"an Internet service, similar to an FTP or Telnet server.  It executes Telnet "
  632. +"protocol just like a Telnet server and it transfers files like an FTP "
  633. +"server.  But unlike an FTP server, IKSD uses the Kermit file transfer "
  634. +"protocol (which is more powerful and flexible) and allows both FTP-like "
  635. +"client/server connections as well as direct keyboard interaction.  Secure "
  636. +"authentication methods and encrypted sessions are available, as well as a "
  637. +"wide range of file transfer and management functions, which can be scripted "
  638. +"to automate arbitrarily complex tasks."
  639. +msgstr ""
  640. +
  641. +#. Type: boolean
  642. +#. Description
  643. +#: ../templates:4
  644. +msgid ""
  645. +"IKSD can be accessed by any Telnet client. If file transfer is required, the "
  646. +"Telnet client must include Kermit file transfer protocol.  Best results are "
  647. +"obtained when the client implements the Telnet Kermit Option (as do Kermit "
  648. +"95 for Windows and C-Kermit for Unix) for \"tight coupling\" of client and "
  649. +"server."
  650. +msgstr ""
  651. +
  652. +#. Type: boolean
  653. +#. Description
  654. +#: ../templates:24
  655. +msgid "Enable anonymous IKSD logins?"
  656. +msgstr ""
  657. +
  658. +#. Type: boolean
  659. +#. Description
  660. +#: ../templates:24
  661. +msgid ""
  662. +"IKSD supports anonymous logins (using chroot), similar to anonymous ftp."
  663. +msgstr ""
  664. +
  665. +#. Type: string
  666. +#. Default
  667. +#: ../templates:29
  668. +msgid "/home/ftp"
  669. +msgstr ""
  670. +
  671. +#. Type: string
  672. +#. Description
  673. +#: ../templates:30
  674. +msgid "Directory for anonymous IKSD logins"
  675. +msgstr ""
  676. +
  677. +#. Type: string
  678. +#. Description
  679. +#: ../templates:30
  680. +msgid ""
  681. +"Enter directory for anonymous IKSD logins. A chroot() will be performed into "
  682. +"this directory on login. This directory will NOT be created."
  683. +msgstr ""
  684. +
  685. +#. Type: string
  686. +#. Description
  687. +#: ../templates:30
  688. +msgid "The default is /home/ftp (same as wu-ftpd)"
  689. +msgstr ""
  690.