debian/0000755000000000000000000000000012237016752007173 5ustar debian/control0000644000000000000000000000656212237016731010604 0ustar # $MirOS: contrib/hosted/tg/deb/jupp/debian/control,v 1.34 2013/11/07 23:10:17 tg Exp $ # Source: jupp Section: editors Priority: optional Maintainer: Thorsten Glaser Homepage: https://www.mirbsd.org/jupp.htm # Just drop B-D on autotools-dev or libselinux1-dev if needed, # as they are optional and autodetected. Build-Depends: debhelper (>= 5), autotools-dev, # libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libselinux1-dev [linux-any], libtinfo-dev | libncurses-dev Standards-Version: 3.9.5 # First word is the $CVSROOT (-d arg) string, second word the module. Vcs-CVS: :ext:_anoncvs@anoncvs.mirbsd.org:/cvs contrib/hosted/tg/deb/jupp Vcs-Browser: http://cvs.mirbsd.de/contrib/hosted/tg/deb/jupp/ Package: jupp Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: joe (<< 3.7-2.3~) Provides: editor Description: user friendly full screen text editor Joe, the Joe's Own Editor, has the feel of most PC text editors: the key sequences are reminiscent of WordStar and Turbo C editors, but the feature set is much larger than of those. Joe has all of the features a Unix user should expect: full use of termcap/terminfo, complete VI-style Unix integration, a powerful configuration file, and regular expression search system. It also has eight help reference cards which are always available, and an intuitive, simple, and well thought-out user interface. . Joe has a great screen update optimisation algorithm, multiple windows (through/between which you can scroll) and lacks the confusing notion of named buffers. It has command history, TAB expansion in file selection menus, undo and redo functions, (un)indenting and paragraph formatting, filtering highlighted blocks through any external Unix command, editing a pipe into or out of a command, block move, copy, delete or filter, a bracketed paste mode automatically enabled on xterm-xfree86 and decimal and hexadecimal gotos for lines, columns, and file offsets. . Through simple QEdit-style configuration files, Joe can be set up to emulate editors such as Pico and Emacs, along with a complete imitation of WordStar, and a restricted mode version (lets you edit only the files specified on the command line). Joe also has a deferred screen update to handle typeahead, and it ensures that deferral is not bypassed by tty buffering. It's usable even at 2400 baud, and it will work on any kind of sane terminal. Furthermore, it supports SELinux context copying on Debian systems with the Linux kernel. . This version of JOE only comes with the Jupp flavour, to not conflict with the Debian joe package, activated. The resource files and executable links and menu entries for the other flavours are still available, though, in the joe-jupp package. Package: joe-jupp Priority: extra Architecture: all Depends: ${misc:Depends}, jupp (>= 3.1.25) Conflicts: joe Provides: joe Replaces: joe Description: reimplement the joe Debian package using jupp This package contains symbolic links to replace the Debian joe package using the jupp package and implementation (both binaries and manpages). It also contains the appropriate conffiles and, in contrast to Debian's joe flavour, supports SELinux context copying (on Debian systems with the Linux kernel), and has many bugs fixed and makes some of jupps new features available to the joe, jstar, jmacs, jpico and rjoe flavours. debian/changelog0000644000000000000000000002061212237016613011042 0ustar jupp (3.1.26-1) unstable; urgency=low * New upstream release “OpenRheinRuhr” * Policy 3.9.5.0 (no changes required) -- Thorsten Glaser Thu, 07 Nov 2013 23:09:42 +0000 jupp (3.1.25-1) unstable; urgency=high * New upstream release “FrogLabs / FrOSCon” * Fixes data corruption bug on pipe command (LP#1198221) * Fix segfault on terminal resize (found by Eike Jesinghaus and Dominik George, thanks!) * Improve handling of the xterm bracketed paste mode * Sanitise tempfile handling somewhat more -- Thorsten Glaser Mon, 19 Aug 2013 23:30:35 +0000 jupp (3.1.24-1) unstable; urgency=medium * New upstream release “MirMinze” -- Thorsten Glaser Sat, 05 Jan 2013 22:31:19 +0000 jupp (3.1.23-1) unstable; urgency=low * New upstream release “halmaturus” (Closes: #691255) * Policy 3.9.4.0 (no changes required since static linkage is disabled by default for Debian builds) * Cease installing developer-only documentation files -- Thorsten Glaser Sun, 30 Dec 2012 22:36:11 +0000 jupp (3.1.22-1) unstable; urgency=low * New upstream release “BSD: rather slow than incorrect” -- Thorsten Glaser Mon, 03 Sep 2012 19:39:38 +0000 jupp (3.1.21-1) unstable; urgency=medium * New upstream release “with omalloc, this would not have happened” - critical bugfixes wrt. uninitialised memory and buffer underflow (reported crash on wheezy/i386 by a user) - uses automake version fixing CVE-2012-3386 * Small improvements to package description and d/rules comments -- Thorsten Glaser Wed, 18 Jul 2012 17:37:12 +0000 jupp (3.1.20-1) unstable; urgency=medium * New upstream release “nik” - fixes including unbreak hex edit mode with -guesscrlf - enable Large File Support * Drop explicit versioned dpkg-dev B-D, use what we get -- Thorsten Glaser Fri, 08 Jun 2012 20:42:09 +0000 jupp (3.1.19-2) unstable; urgency=low * Apply upstream fix for stupid mistakes in ctime() for klibc -- Thorsten Glaser Fri, 08 Jun 2012 02:10:38 +0000 jupp (3.1.19-1) unstable; urgency=low * New upstream release “Eike” - improved support for dietlibc, klibc, hurd * Update watch file for new file extension of distfiles (.tgz) * Use cross-gcc automatically when compiler not set * Support diet and klibc in DEB_BUILD_OPTIONS to switch C libraries (default to static linkage; allow overriding via CC) and debug to re-enable compiling with -g3 (diet/klibc normally disable -g) * Support static in DEB_BUILD_OPTIONS to link statically with eglibc * Support nopwnam in DEB_BUILD_OPTIONS for all three, omits code that may not work well when linking statically or for rescue systems * Note: dietlibc/klibc imply no SSP/PIE; static means no PIE hardening -- Thorsten Glaser Fri, 08 Jun 2012 00:11:36 +0000 jupp (3.1.18-3) unstable; urgency=low * Adjust joe-jupp Priority from optional to extra (debcheck) * debian/rules: Clean up and modernise; enable +all hardening, --as-needed, and some gmake magic to properly escape variables * Quieten lintian * Policy 3.9.3 (no relevant changes) * debian/control: Use architecture wildcards for SELinux -- Thorsten Glaser Sun, 25 Mar 2012 17:40:11 +0000 jupp (3.1.18-2) unstable; urgency=low * Also drop an old editorrc alternative if this package has never been configured before (Closes: #644481) * Only link /etc/jupp/editorrc on upgrade from old version or on a fresh install, as suggested by Josip Rodin * Update version numbers for the joe/jupp conflicts -- Thorsten Glaser Thu, 06 Oct 2011 08:58:39 +0000 jupp (3.1.18-1) unstable; urgency=low * New upstream release “waga” * dh_prep needs debhelper 7.0.0 * Improve coexistence of joe and jupp: move the editorrc symlink to /var/lib/misc/editorrc and make it an update-alternatives slave to editor (agreed by Raphaël Hertzog, Josip Rodin) ⇒ Fixes piuparts for jupp * Formalise maintainer scripts and sync with Policy and triggers * Drop dh_installdirs call, it’s only for making empty directories * Use dpkg/buildflags.mk, but make that an optional build dependency * Convert to use libtinfo, keep libncurses-dev an alternative though -- Thorsten Glaser Wed, 05 Oct 2011 21:15:18 +0000 jupp (3.1.17-4) unstable; urgency=low * Work also when joe is not installed (Really Closes: #636147) -- Thorsten Glaser Mon, 01 Aug 2011 20:08:11 +0000 jupp (3.1.17-3) unstable; urgency=low * Do not take over the location of the editorrc alternative, symlink to it instead and collaborate with joe managing it (Closes: #636147) -- Thorsten Glaser Mon, 01 Aug 2011 15:54:28 +0000 jupp (3.1.17-2) unstable; urgency=low [ Mike O'Connor ] * Reproduce strlfun.c copyright notice and licence in d/copyright * Add non-virtual alternative for libncurses-dev build dependency -- Thorsten Glaser Thu, 28 Jul 2011 00:08:14 +0000 jupp (3.1.17-1) unstable; urgency=low * Do not call "update-alternatives --remove" on upgrade (cf. #568299) * New upstream version * Keep original source unpacked, not a cpio-in-tarball format * Upload to Debian on independent requests from several users -- Thorsten Glaser Wed, 27 Jul 2011 20:08:05 +0000 jupp (3.1.15-0wtf1) wtf; urgency=low * jupp can do Multi-Arch: foreign as requested by vorlon * Add Origin and Bugs headers * Allow mircpio or pax or (GNU) cpio as build dependency * Bump Policy to 3.9.2 - GPLv1 is installed in the filesystem already * Update comments * Drop use of libbsd (jupp is self-contained, libbsd is not compatible across all versions we encounter) * Rename build directory to builddir to not use a PHONY name * Disable warning flags in build by default, revisit later * Re-enable accidentally disabled curses dependency * Add build-arch build-indep and change binary-arch binary-indep targets in d/rules to always run the common path because we currently cannot build them separately * Install NEWS as upstream changelog * Remove redundant files from joe-jupp by symlinking to jupp * Use autotools-dev for up-to-date config.{guess,sub} -- Thorsten Glaser Sun, 03 Jul 2011 01:56:45 +0000 jupp (3.1.14-0wtf1) unstable; urgency=low * New upstream version; ChangeLog: - Update diff syntax file from joe-current - New option (L)ast in search-and-replace - Backport some bugfixes from joe-current - Let execmd cmd accept macros, not just commands - Let macros cmd escape backslash correctly - Flag --disable-getpwnam to link statically with eglibc - Compiler warning cleanup * Bump Standards-Version, no relevant change * debian/source/format: Enforce "1.0" manually, for now * debian/control: Remove DMUA, I'm a DD now * debian/control: Add ${misc:Depends} to joe-jupp (lintian) * Simplify backport instructions; the sid package builds on lenny -- Thorsten Glaser Thu, 08 Apr 2010 21:09:53 +0000 jupp (3.1.12-0wtf1) unstable; urgency=low * More warnings disabled * New upstream version * Allow pax ipv cpio, like mksh -- Thorsten Glaser Mon, 19 Oct 2009 10:19:41 +0000 jupp (3.1.11-0wtf2) unstable; urgency=low * Add lintian override for help-system.html (not doc-base suitable) * Add missing libbsd-dev dependency, oops… * debian/control, debian/rules: add notes on how to do backports * debian/rules: don’t “-include /usr/include/bsd/*.h” any more * Backport fixes and libbsd support from upstream * Generate the debian/copyright file dynamically * Get rid of __attribute__((bounded (…))) related warnings * Support SELinux on !hurd !kfreebsd architectures -- Thorsten Glaser Tue, 06 Oct 2009 10:27:15 +0000 jupp (3.1.11-0wtf1) unstable; urgency=low * Completely new packaging, based on mksh and mirdate * New upstream version joe-3.1jupp11 * Split into jupp and joe-jupp packages -- Thorsten Glaser Wed, 16 Sep 2009 13:38:38 +0000 jupp (3.1.10-1) experimental; urgency=low * Initial package of joe-3.1jupp10 as jupp-3.1.10, so that it does not conflict with the Debian joe package (from 3.5-2) * WTF Edition * Use colon instead of dot to separate chown args, as per SUSv3 -- Thorsten Glaser Sat, 06 Sep 2008 18:45:29 +0000 debian/jupp.preinst0000644000000000000000000000205311643267015011557 0ustar #!/bin/sh # $MirOS: contrib/hosted/tg/deb/jupp/debian/jupp.preinst,v 1.5 2011/10/06 08:59:57 tg Exp $ set -e # This maintainer script can be called the following ways: # # * new-preinst "install" [$old_version] # * new-preinst "upgrade" [$old_version] # * old-preinst "abort-upgrade" $new_version # Essential packages and Pre-Depends are available. Pre-Depends have # been configured once, but may be unpacked or Half-Configured only, # or, for "abort-upgrade", Half-Installed if their upgrade failed. case $1 in install|upgrade) # drop old editorrc (master alternative and symlink file both) if test -z "$2" || \ dpkg --compare-versions "$2" lt '3.1.18-2~'; then # this will noisily pass if editorrc was already removed, # but not remove a slave alternative (update-alternatives --remove-all editorrc 2>/dev/null || :) fi ;; abort-upgrade) ;; *) echo >&2 "preinst called with unknown subcommand '$1'" exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/joe-jupp.menu0000644000000000000000000000122411254156677011622 0ustar # $MirOS: contrib/hosted/tg/deb/jupp/debian/joe-jupp.menu,v 1.1 2009/09/16 12:44:47 tg Exp $ #- ?package(joe-jupp):needs="text" \ section="Applications/Editors" \ title="jmacs" longtitle="JOE's Own Emacs" \ command="/usr/bin/jmacs" ?package(joe-jupp):needs="text" \ section="Applications/Editors" \ title="joe" longtitle="JOE's Own Editor" \ command="/usr/bin/joe" ?package(joe-jupp):needs="text" \ section="Applications/Editors" \ title="jpico" longtitle="JOE's Own PICO" \ command="/usr/bin/jpico" ?package(joe-jupp):needs="text" \ section="Applications/Editors" \ title="jstar" longtitle="JOE's Own *star" \ command="/usr/bin/jstar" debian/joe-jupp.postinst0000644000000000000000000000315511631476613012540 0ustar #!/bin/sh # $MirOS: contrib/hosted/tg/deb/jupp/debian/joe-jupp.postinst,v 1.7 2011/09/06 20:07:39 tg Exp $ set -e # This maintainer script can be called the following ways: # # * new-postinst "configure" [$most_recently_configured_version] # The package is unpacked; all dependencies are unpacked and, when there # are no circular dependencies, configured. # # * old-postinst "abort-upgrade" $new_version # * conflictors-postinst "abort-remove" "in-favour" $package # $new_version # * postinst "abort-remove" # * deconfigureds-postinst "abort-deconfigure" "in-favour" # $failed_install_package $fip_version ["removing" # $conflicting_package $cp_version] # The package is unpacked; all dependencies are at least Half-Installed, # previously been configured, and not removed. In some error situations, # dependencies may not be even fully unpacked. # # * postinst "triggered" "${triggers[*]}" # For trigger-only calls, i.e. if "configure" is not called. case $1 in configure) for whatall in jstar:98 joe:97 jpico:96 jmacs:95; do whateditor=${whatall%:*} whatlevel=${whatall##*:} update-alternatives --install /usr/bin/editor editor \ /usr/bin/${whateditor} $whatlevel \ --slave /var/lib/misc/editorrc editorrc /etc/jupp/${whateditor}rc \ --slave /usr/share/man/man1/editor.1.gz editor.1.gz \ /usr/share/man/man1/${whateditor}.1.gz done ;; abort-upgrade|abort-remove|abort-deconfigure) ;; triggered) ;; *) echo >&2 "postinst called with unknown subcommand '$1'" exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/jupp.menu0000644000000000000000000000034011254156677011045 0ustar # $MirOS: contrib/hosted/tg/deb/jupp/debian/jupp.menu,v 1.1 2009/09/16 12:44:47 tg Exp $ #- ?package(jupp):needs="text" \ section="Applications/Editors" \ title="jupp" longtitle="Jupp Editor" \ command="/usr/bin/jupp" debian/rules0000755000000000000000000001303312070141255010243 0ustar #!/usr/bin/make -f # $MirOS: contrib/hosted/tg/deb/jupp/debian/rules,v 1.25 2012/12/30 22:39:41 tg Exp $ #- # Possible flavourisation (in addition to stock Debian rules): # export DEB_BUILD_OPTIONS=diet # export DEB_BUILD_OPTIONS=klibc # export DEB_BUILD_OPTIONS=klibc CC='klcc -shared' # export DEB_BUILD_OPTIONS='diet debug' (or 'klibc debug') # export DEB_BUILD_OPTIONS=static (for eglibc) # All can be combined with 'nopwnam' (aids static linkage). # The 'nostrip' and 'parallel=n' options are supported as well. # # Setting diet or klibc disables -O0/-O2 and -g and, if unset, # sets CC. Adding debug enables -g3. Cross-compiling also sets # CC if unset. # # Statically linking violates the Policy requirement of having a # Built-Using header, but since that is only used in local rebuilds # and not in the Debian archive, it constitutes no Policy violation. shellescape='$(subst ','\'',$(1))' shellexport=$(1)=$(call shellescape,${$(1)}) ifeq (,$(findstring diet,${DEB_BUILD_OPTIONS})) ifeq (,$(findstring klibc,${DEB_BUILD_OPTIONS})) USE_LIBC:=system else USE_LIBC:=klibc endif else USE_LIBC:=dietlibc endif DEB_BUILD_ARCH=$(shell dpkg-architecture -qDEB_BUILD_ARCH) DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) # is ${CC} defined anywhere (other than implicit rules?) ifneq (,$(findstring $(origin CC),default undefined)) # no - then default to gcc (or cross-gcc) ifneq (${DEB_BUILD_ARCH},${DEB_HOST_ARCH}) CC= ${DEB_HOST_GNU_TYPE}-gcc else ifeq (,$(findstring diet,${DEB_BUILD_OPTIONS})) ifeq (,$(findstring klibc,${DEB_BUILD_OPTIONS})) CC= gcc else # export CC='klcc -shared' manually if you want that CC= klcc endif else CC= diet -Os gcc endif endif endif EXTRA_CFLAGS+= -Wall -Wformat EXTRA_CFLAGS+= -fno-omit-frame-pointer -fwrapv -fno-strict-aliasing # adjust when backporting EXTRA_CFLAGS+= -Wextra -Wno-pointer-sign -Wno-unused-parameter \ -Wno-missing-field-initializers \ -Wno-old-style-definition -Wno-strict-prototypes \ -Wno-cast-qual \ -Wno-missing-prototypes -Wno-missing-declarations EXTRA_LDFLAGS= -Wl,--as-needed ifneq (${USE_LIBC},system) ifneq (,$(findstring debug,${DEB_BUILD_OPTIONS})) EXTRA_CFLAGS+= -g3 endif # SSP currently works with neither dietlibc nor klibc EXTRA_CFLAGS+= -fno-stack-protector else ifneq (,$(findstring static,${DEB_BUILD_OPTIONS})) EXTRA_LDFLAGS+= -static endif endif ifneq (,$(wildcard /usr/share/dpkg/buildflags.mk)) # dpkg-dev (>= 1.16.1~) DEB_CFLAGS_MAINT_APPEND=${EXTRA_CFLAGS} DEB_LDFLAGS_MAINT_APPEND=${EXTRA_LDFLAGS} ifneq (${USE_LIBC},system) # the diet and klcc wrappers take care of optimisation for us DEB_CFLAGS_MAINT_STRIP=-O0 -O1 -O2 -O3 -Os -g -g1 -g2 -g3 -ggdb -gdwarf -gstabs # do not use PIE with strange libcs, either DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie else ifneq (,$(findstring static,${DEB_BUILD_OPTIONS})) # cannot mix PIE with static linkage DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie else DEB_BUILD_MAINT_OPTIONS=hardening=+all endif endif include /usr/share/dpkg/buildflags.mk else # old-fashioned way to determine build flags ifneq (${USE_LIBC},system) CFLAGS= else CFLAGS= -O$(if $(findstring noopt,${DEB_BUILD_OPTIONS}),0,2) -g endif CFLAGS+= ${EXTRA_CFLAGS} LDFLAGS+= ${EXTRA_LDFLAGS} endif ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS= $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS+= -j${NUMJOBS} endif CONFIGURE_ARGS= --sysconfdir=/etc \ --prefix=/usr \ --mandir=/usr/share/man \ --disable-dependency-tracking \ --disable-termidx ifneq (${USE_LIBC},system) # prevent picking up system libraries linked against the system C library CONFIGURE_ARGS+= --disable-search-libs endif ifneq (,$(findstring nopwnam,${DEB_BUILD_OPTIONS})) CONFIGURE_ARGS+= --disable-getpwnam endif debian/.configure_stamp: dh_testdir -rm -f debian/.*_stamp -rm -rf builddir # apply autotools-dev if it exists for x in config.guess config.sub; do \ test -e /usr/share/misc/$$x || continue; \ rm -f $$x; \ cp /usr/share/misc/$$x .; \ done mkdir builddir cd builddir && env \ $(foreach i,CC CFLAGS CPPFLAGS LDFLAGS,$(call shellexport,$i)) \ sh ../configure ${CONFIGURE_ARGS} @:>$@ debian/.build_stamp: debian/.configure_stamp dh_testdir cd builddir && ${MAKE} sysconfjoesubdir=/jupp ln -f builddir/joe builddir/jupp ln -f builddir/joe.1 builddir/jupp.1 @:>$@ build: build-arch build-indep build-arch: debian/.build_stamp build-indep: debian/.configure_stamp clean: dh_testdir -rm -f debian/.*_stamp -rm -rf builddir # unapply autotools-dev if it exists for x in config.guess config.sub; do \ test -e /usr/share/misc/$$x || continue; \ rm -f $$x; \ done dh_clean binary-indep: build-indep dh_testdir dh_testroot if test -x "$$(which dh_prep)"; then dh_prep -i; else dh_clean -i -k; fi dh_installchangelogs -i -Njupp dh_install -i dh_installmenu -i # will be replaced by links to jupp rm -rf debian/joe-jupp/usr/share/doc/joe-jupp dh_link -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # no -Njupp because that's the only arch:any package binary-arch: build-arch dh_testdir dh_testroot if test -x "$$(which dh_prep)"; then dh_prep -a; else dh_clean -a -k; fi dh_installchangelogs -pjupp -k NEWS dh_installdocs -a dh_install -a dh_installmenu -a dh_installman -a dh_link -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-arch binary-indep .PHONY: binary binary-arch binary-indep build build-arch build-indep clean debian/joe-jupp.prerm0000644000000000000000000000206111631476613011775 0ustar #!/bin/sh # $MirOS: contrib/hosted/tg/deb/jupp/debian/joe-jupp.prerm,v 1.4 2011/09/06 20:07:39 tg Exp $ set -e # This maintainer script can be called the following ways: # # * prerm "remove" # * old-prerm "upgrade" $new_version # * conflictors-prerm "remove" "in-favour" $package $new_version # * deconfigureds-prerm "deconfigure" "in-favour" # $package_being_installed $pbi_version ["removing" # $conflicting_package $cp_version] # The package and dependencies are at least Half-Installed; dependencies # have previously been configured and not removed. # # * new-prerm "failed-upgrade" $old_version # Called when 'old-prerm "upgrade"' fails; new package not unpacked, all # other constraints the same as above. case $1 in remove|deconfigure) for x in jmacs jpico joe jstar; do update-alternatives --remove editor /usr/bin/$x done ;; upgrade|failed-upgrade) ;; *) echo >&2 "prerm called with unknown subcommand '$1'" exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/compat0000644000000000000000000000000211254156676010401 0ustar 5 debian/jupp.prerm0000644000000000000000000000200411631476613011217 0ustar #!/bin/sh # $MirOS: contrib/hosted/tg/deb/jupp/debian/jupp.prerm,v 1.4 2011/09/06 20:07:39 tg Exp $ set -e # This maintainer script can be called the following ways: # # * prerm "remove" # * old-prerm "upgrade" $new_version # * conflictors-prerm "remove" "in-favour" $package $new_version # * deconfigureds-prerm "deconfigure" "in-favour" # $package_being_installed $pbi_version ["removing" # $conflicting_package $cp_version] # The package and dependencies are at least Half-Installed; dependencies # have previously been configured and not removed. # # * new-prerm "failed-upgrade" $old_version # Called when 'old-prerm "upgrade"' fails; new package not unpacked, all # other constraints the same as above. case $1 in remove|deconfigure) update-alternatives --remove editor /usr/bin/jupp ;; upgrade|failed-upgrade) ;; *) echo >&2 "prerm called with unknown subcommand '$1'" exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/source/0000755000000000000000000000000012237015110010456 5ustar debian/source/format0000644000000000000000000000001411764236567011715 0ustar 3.0 (quilt) debian/jupp.manpages0000644000000000000000000000016011603743177011667 0ustar # $MirOS: contrib/hosted/tg/deb/jupp/debian/jupp.manpages,v 1.2 2011/07/03 01:31:43 tg Exp $ #- builddir/jupp.1 debian/joe-jupp.links0000644000000000000000000000106311614065230011757 0ustar # $MirOS: contrib/hosted/tg/deb/jupp/debian/joe-jupp.links,v 1.1 2011/07/27 19:44:24 tg Exp $ #- usr/bin/jupp usr/bin/jmacs usr/bin/jupp usr/bin/joe usr/bin/jupp usr/bin/jpico usr/bin/jupp usr/bin/jstar usr/bin/jupp usr/bin/rjoe usr/share/doc/jupp usr/share/doc/joe-jupp usr/share/man/man1/jupp.1.gz usr/share/man/man1/jmacs.1.gz usr/share/man/man1/jupp.1.gz usr/share/man/man1/joe.1.gz usr/share/man/man1/jupp.1.gz usr/share/man/man1/jpico.1.gz usr/share/man/man1/jupp.1.gz usr/share/man/man1/jstar.1.gz usr/share/man/man1/jupp.1.gz usr/share/man/man1/rjoe.1.gz debian/watch0000644000000000000000000000033211764231222010215 0ustar # $MirOS: contrib/hosted/tg/deb/jupp/debian/watch,v 1.3 2012/06/07 23:00:34 tg Exp $ version=3 opts="uversionmangle=s/^([0-9]+)\.([0-9]+)jupp([0-9]+)$/$1.$2.$3/" \ http://www.mirbsd.org/MirOS/dist/jupp/ joe-(.*)\.tgz debian/joe-jupp.install0000644000000000000000000000034711614070114012306 0ustar # $MirOS: contrib/hosted/tg/deb/jupp/debian/joe-jupp.install,v 1.4 2011/07/27 20:08:44 tg Exp $ #- builddir/jmacsrc etc/jupp/ builddir/joerc etc/jupp/ builddir/jpicorc etc/jupp/ builddir/jstarrc etc/jupp/ builddir/rjoerc etc/jupp/ debian/jupp.postinst0000644000000000000000000000315611643267015011763 0ustar #!/bin/sh # $MirOS: contrib/hosted/tg/deb/jupp/debian/jupp.postinst,v 1.11 2011/10/06 08:59:57 tg Exp $ set -e # This maintainer script can be called the following ways: # # * new-postinst "configure" [$most_recently_configured_version] # The package is unpacked; all dependencies are unpacked and, when there # are no circular dependencies, configured. # # * old-postinst "abort-upgrade" $new_version # * conflictors-postinst "abort-remove" "in-favour" $package # $new_version # * postinst "abort-remove" # * deconfigureds-postinst "abort-deconfigure" "in-favour" # $failed_install_package $fip_version ["removing" # $conflicting_package $cp_version] # The package is unpacked; all dependencies are at least Half-Installed, # previously been configured, and not removed. In some error situations, # dependencies may not be even fully unpacked. # # * postinst "triggered" "${triggers[*]}" # For trigger-only calls, i.e. if "configure" is not called. case $1 in configure) update-alternatives --install /usr/bin/editor editor /usr/bin/jupp 99 \ --slave /var/lib/misc/editorrc editorrc /etc/jupp/jupprc \ --slave /usr/share/man/man1/editor.1.gz editor.1.gz \ /usr/share/man/man1/jupp.1.gz if test -z "$2" || \ dpkg --compare-versions "$2" lt '3.1.18-2~'; then rm -f /etc/jupp/editorrc ln -sf ../../var/lib/misc/editorrc /etc/jupp/editorrc fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; triggered) ;; *) echo >&2 "postinst called with unknown subcommand '$1'" exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/copyright0000644000000000000000000001371312237015405011125 0ustar This package was debianised by Thorsten Glaser on Wed Sep 16 12:17:14 UTC 2009 based on the mksh package, with some texts taken from the joe package. It was downloaded from: https://www.mirbsd.org/MirOS/dist/jupp/joe-3.1jupp26.tgz Copyright (c) 1992-2013 by Joseph Allen Marek 'Marx' Grac Thorsten "mirabilos" Glaser and their contributors, among others: Larry Foard (entropy@world.std.com) Gary Gray (ggray@world.std.com) Dirk Schenkewitz Tomas Szepe Malte Thoma (thoma@uni-muenster.de) Andreas Totlis (atotlis@t-online.de) Jupp is available under the GNU General Public License, version 1, whose complete text is in '/usr/share/common-licenses/GPL-1' on Debian systems; linking with work under any GPL version permitted. Several source files are covered by GPL-compatible licences, as reproduced below (merged): * Copyright © 2004, 2005, 2006, 2007, 2008, 2011, 2012, 2013 * Thorsten “mirabilos” Glaser * * Provided that these terms and disclaimer and all copyright notices * are retained or reproduced in an accompanying document, permission * is granted to deal in this work without restriction, including un‐ * limited rights to use, publicly perform, distribute, sell, modify, * merge, give away, or sublicence. * * This work is provided “AS IS” and WITHOUT WARRANTY of any kind, to * the utmost extent permitted by applicable law, neither express nor * implied; without malicious intent or gross negligence. In no event * may a licensor, author or contributor be held liable for indirect, * direct, other damage, loss, or other issues arising in any way out * of dealing in the work, even if advised of the possibility of such * damage or existence of a defect, except proven that it results out * of said person’s immediate fault when using the work as intended. * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software written by Ken Arnold and * published in UNIX Review, Vol. 6, No. 8. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * Copyright (c) 1998 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, # 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # Free Software Foundation, Inc. # Parts by Fran,cois Pinard , 1996. # Parts by Noah Friedman # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in 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: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # 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 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. debian/jupp.install0000644000000000000000000000032112067444567011547 0ustar # $MirOS: contrib/hosted/tg/deb/jupp/debian/jupp.install,v 1.6 2012/12/29 01:37:59 tg Exp $ #- builddir/charmaps/* etc/jupp/charmaps/ builddir/jupp usr/bin/ builddir/syntax/* etc/jupp/syntax/ jupprc etc/jupp/ debian/jupp.postrm0000644000000000000000000000236011631476613011423 0ustar #!/bin/sh # $MirOS: contrib/hosted/tg/deb/jupp/debian/jupp.postrm,v 1.2 2011/09/06 20:07:39 tg Exp $ set -e # This maintainer script can be called the following ways: # # * postrm "remove" # * postrm "purge" # * old-postrm "upgrade" $new_version # * disappearers-postrm "disappear" $overwriter $o_version # The package's files have been removed or replaced; only Essential pak- # kages may be available; skip gracefully actions requiring Depends. # # * new-postrm "failed-upgrade" $old_version # Called when 'old-postrm "upgrade"' fails; the new package is unpacked, # Essential packages and Pre-Depends are available; the latter have been # configured and never removed but may be Unpacked or Half-Configured. # # * new-postrm "abort-install" [$old_version] # * new-postrm "abort-upgrade" $old_version # Called when preinst fails; package is not unpacked. Essential packages # and (unpacked or Half-Configured) Pre-Depends are available. case $1 in remove) ;; purge) rm -rf /etc/jupp ;; upgrade|disappear|failed-upgrade|abort-install|abort-upgrade) ;; *) echo >&2 "postrm called with unknown subcommand '$1'" exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/jupp.docs0000644000000000000000000000016312067444567011035 0ustar # $MirOS: contrib/hosted/tg/deb/jupp/debian/jupp.docs,v 1.4 2012/12/29 01:37:59 tg Exp $ #- HINTS INFO LIST README