debian/0000755000000000000000000000000012252706351007171 5ustar debian/reconf-inetd/0000755000000000000000000000000012153453346011551 5ustar debian/reconf-inetd/nyancat-server.tcp60000644000000000000000000000022012153453346015302 0ustar service telnet { socket_type = stream protocol = tcp6 wait = no user = nobody server = /usr/bin/nyancat-server server_args = nyancat -t } debian/reconf-inetd/nyancat-server.tcp0000644000000000000000000000021712153453346015222 0ustar service telnet { socket_type = stream protocol = tcp wait = no user = nobody server = /usr/bin/nyancat-server server_args = nyancat -t } debian/nyancat-server.install0000644000000000000000000000017712153453346013532 0ustar debian/reconf-inetd/nyancat-server.tcp usr/share/reconf-inetd/ debian/reconf-inetd/nyancat-server.tcp6 usr/share/reconf-inetd/ debian/get-git-source.sh0000755000000000000000000000153712153453346012377 0ustar #!/bin/sh BASE_REL=$(dpkg-parsechangelog 2>/dev/null | sed -ne 's/Version: \([0-9.]\+\)+\?.*/\1/p') OLDDIR=${PWD} GOS_DIR=${OLDDIR}/get-orig-source GIT_COMMIT='git log --no-color -1 --oneline | cut -d" " -f1' GIT_DATE='git log --no-color -1 --date=iso | sed -ne "s/Date:\s\+\(.*\).*/\1/p" | cut -d" " -f1 | tr -d "-"' if [ -z ${BASE_REL} ]; then echo 'Please run this script from the sources root directory.' exit 1 fi rm -rf ${GOS_DIR} mkdir ${GOS_DIR} && cd ${GOS_DIR} git clone git://github.com/klange/nyancat.git cd nyancat/ NYANCAT_GIT_COMMIT=$(eval "${GIT_COMMIT}") NYANCAT_GIT_DATE=$(eval "${GIT_DATE}") cd .. && tar cf \ ${OLDDIR}/nyancat_${BASE_REL}+git${NYANCAT_GIT_DATE}.${NYANCAT_GIT_COMMIT}.orig.tar \ nyancat --exclude-vcs && gzip -9fn \ ${OLDDIR}/nyancat_${BASE_REL}+git${NYANCAT_GIT_DATE}.${NYANCAT_GIT_COMMIT}.orig.tar rm -rf ${GOS_DIR} debian/patches/0000755000000000000000000000000012153453346010623 5ustar debian/patches/series0000644000000000000000000000003312153453346012034 0ustar 01-nyancat-debhelper.patch debian/patches/01-nyancat-debhelper.patch0000644000000000000000000000137012153453346015450 0ustar Description: Makefile fixes Add $(DESTDIR) to install path. Debhelper doesn't like hardcoded install paths. . Debhelper already installs the manpage for us. No need for second install in Makefile. Author: Jonathan McCrohan Date: Tue, 17 Apr 2012 13:32:20 +0100 Last-Update: 2013-03-12 --- --- nyancat-0.1+git20120401.5a88b86.orig/Makefile +++ nyancat-0.1+git20120401.5a88b86/Makefile @@ -33,7 +33,6 @@ distcheck: $(distdir).tar.gz @echo "*** Package $(distdir).tar.gz is ready for distribution." install: all - install src/nyancat /usr/bin/${package} - gzip -9 -c < nyancat.1 > /usr/share/man/man1/nyancat.1.gz + install -Dm 0755 src/nyancat $(DESTDIR)/usr/bin/${package} .PHONY: FORCE all clean check dist distcheck install debian/copyright0000644000000000000000000000521212153453346011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: nyancat Source: https://github.com/klange/nyancat Files: * Copyright: 2011-2012 Kevin Lange 2011 Peter Hazenberg 2011 Aaron Peschel License: NCSA Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. 3. Neither the names of the Association for Computing Machinery, Kevin Lange, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. Files: debian/* Copyright: 2012 Jonathan McCrohan License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/nyancat.install0000644000000000000000000000002012153453346012211 0ustar usr/bin/nyancat debian/control0000644000000000000000000000174312252705344010602 0ustar Source: nyancat Section: misc Priority: extra Maintainer: Jonathan McCrohan Build-Depends: debhelper (>= 9) Standards-Version: 3.9.5 Homepage: https://github.com/klange/nyancat Package: nyancat Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Animated terminal Nyancat nyancat is a program to display an animated poptart cat in your terminal. . This is a standalone program only. To serve nyancat to many users, the nyancat-server package is required. Package: nyancat-server Architecture: all Depends: nyancat (>= ${source:Version}), openbsd-inetd | inet-superserver, reconf-inetd, ${misc:Depends} Conflicts: telnetd Description: Animated terminal Nyancat server configurations nyancat-server contains the configuations required to quickly set up a nyancat server. This allows the animated poptart cat to be served to many users via telnet. . Installing this package will automatically configure and activate a nyancat telnet server. debian/rules0000755000000000000000000000023612153453346010255 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 get-orig-source: debian/get-git-source.sh %: dh $@ debian/watch0000644000000000000000000000011112164401060010202 0ustar version=3 https://github.com/klange/nyancat/tags .*/(\d[\d\.]+)\.tar\.gz debian/source/0000755000000000000000000000000012164401060010460 5ustar debian/source/format0000644000000000000000000000001412153453346011702 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212153453346010372 0ustar 9 debian/changelog0000644000000000000000000000444412252706351011051 0ustar nyancat (1.2.2-1) unstable; urgency=medium * New upstream release - Upstream homepage has changed; Replace references to miku.acm.uiuc.edu with nyancat.dakko.us * Bump Standards-Version to 3.9.5 - No changes required -- Jonathan McCrohan Fri, 13 Dec 2013 22:40:41 +0000 nyancat (1.2.1-1) unstable; urgency=low * New upstream release - Fix hyphen-used-as-minus-sign errors in manpage. Thanks to Jakub Wilk for reporting. * Remove debian/nyancat.1 - Nyancat manpage has been pushed upstream -- Jonathan McCrohan Thu, 04 Jul 2013 00:57:22 +0100 nyancat (1.2-1) unstable; urgency=low * New upstream release - Remove support for toaruos - Rename animation.h to animation.c * Upload to unstable * Switch from git snapshots to upstream tarball releases - Add debian/watch, remove old watchfile lintian override * Bump Standards-Version to 3.9.4 - No changes required -- Jonathan McCrohan Mon, 01 Jul 2013 23:05:20 +0100 nyancat (1.1+git20130307.43097eb-1) experimental; urgency=low * New upstream snapshot - Add support for the Suckless terminal - Changed color palette to 256 color mode - Fix potential bug in option processing code - Add CHANGELOG file * Update 01-nyancat-debhelper.patch to reflect upstream Makefile changes -- Jonathan McCrohan Thu, 14 Mar 2013 22:20:45 +0000 nyancat (1.0+git20120523.99dc310-1) unstable; urgency=low * New upstream snapshot - Fixes buildflags being incorrectly passed - Pushed nyancat manpage upstream; Removed Debian copy * Switch to debhelper v9 * Use reconf-inetd to provide nyancat-server configs - Provide nyancat-server as symlink to nyancat - Add versioned dependency on nyancat - Remove now redundant nyancat-server manpage and postrm - Update package description to reflect this switch - Update postinst to aid transition to reconf-inetd - Add IPv6 support -- Jonathan McCrohan Tue, 05 Jun 2012 02:40:11 +0100 nyancat (0.1+git20120401.5a88b86-1) unstable; urgency=low * Initial release (Closes: #661565) - Many thanks to Jakub Wilk for sponsoring this package. -- Jonathan McCrohan Thu, 19 Apr 2012 23:01:49 +0100 debian/nyancat-server.postinst0000644000000000000000000000142012153453346013737 0ustar #!/bin/sh set -e OLD_NYANCAT_ENTRY="telnet stream tcp nowait nobody /usr/bin/nyancat nyancat -t" RELEASE="1.0+git20120523.99dc310-1" case "$1" in configure) # if upgrading from previous non reconf-inetd version if dpkg --compare-versions "$2" lt-nl "$RELEASE"; then # remove previous update-inetd entry if unmodified if fgrep -qx "## $OLD_NYANCAT_ENTRY" /etc/inetd.conf || \ fgrep -qx "$OLD_NYANCAT_ENTRY" /etc/inetd.conf; then if [ -x /usr/sbin/update-inetd ]; then # remove nyancat reconf-inetd entries update-inetd --multi --pattern nyancat --remove telnet || true if [ -x /usr/sbin/reconf-inetd ]; then # add the nyancat-server entries back again reconf-inetd || true fi fi fi fi ;; esac #DEBHELPER# debian/nyancat-server.links0000644000000000000000000000016012153453346013174 0ustar usr/bin/nyancat usr/bin/nyancat-server /usr/share/man/man1/nyancat.1.gz /usr/share/man/man1/nyancat-server.1.gz debian/nyancat.manpages0000644000000000000000000000001212153453346012337 0ustar nyancat.1 debian/docs0000644000000000000000000000001212153453346010040 0ustar README.md