<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[HyperForum — [vlock] Package to be fixed being reported not fully working]]></title>
	<link rel="self" href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=796&amp;type=atom" />
	<updated>2023-01-06T12:40:18Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.hyperbola.info/viewtopic.php?id=796</id>
		<entry>
			<title type="html"><![CDATA[Re: [vlock] Package to be fixed being reported not fully working]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5475#p5475" />
			<content type="html"><![CDATA[<p>It would be good not to use this thread for such: Please open another one. Also important: Is there a BSD-port for that possible? <img src="https://forums.hyperbola.info/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />Closing this one for the moment. Okay, there is one: <a href="https://openports.se/editors/ted">https://openports.se/editors/ted</a></p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2023-01-06T12:40:18Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5475#p5475</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [vlock] Package to be fixed being reported not fully working]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5474#p5474" />
			<content type="html"><![CDATA[<p>Nice. I found another gem: the Ted word processor. Less features than Abiword, but complete enough.<br />It uses the RTF format.</p><p>And far less dependencies, too.</p><p>The GTK2 build it&#039;s recommended for internationalization. Also, spelling and dictionaries<br />for different languages than English can be in another separate package.</p><p><a href="https://nllgg.nl/Ted/">https://nllgg.nl/Ted/</a></p><p>For printing, it uses PostScript as the output. Hyperbola has no PostScript viewer, but<br />GV (./configure --enable-international it&#039;s recommended for localized menues) just <br />requires xaw3D and ghostscript. Maybe &#039;gsfonts&#039; as recommended for complete<br />compatibilty.</p>]]></content>
			<author>
				<name><![CDATA[anthk]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=568</uri>
			</author>
			<updated>2023-01-06T12:06:23Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5474#p5474</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [vlock] Package to be fixed being reported not fully working]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5473#p5473" />
			<content type="html"><![CDATA[<p>Super, thanks for approval.<br />Will be getting a commit then today within <strong>core</strong> so marked also for the next build.</p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2023-01-06T11:34:22Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5473#p5473</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [vlock] Package to be fixed being reported not fully working]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5472#p5472" />
			<content type="html"><![CDATA[<p>It works both logged as root and with doas.</p>]]></content>
			<author>
				<name><![CDATA[anthk]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=568</uri>
			</author>
			<updated>2023-01-06T10:58:13Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5472#p5472</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[vlock] Package to be fixed being reported not fully working]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5471#p5471" />
			<content type="html"><![CDATA[<p>Hey together,</p><p>yesterday we have got the report that <strong>vlock</strong> is not working as it should. So here is a first draft for fixing to tryout. Please give feedback when possible thanks.</p><div class="codebox"><pre><code># Maintainer: Márcio Silva &lt;coadde@hyperbola.info&gt;
# Contributor: Tobias Dausend &lt;throgh@hyperbola.info&gt;

pkgname=vlock
pkgver=2.2.2
_debver=$pkgver
_debrel=10
pkgrel=2
pkgdesc=&quot;Virtual Console locking program&quot;
arch=(&#039;i686&#039; &#039;x86_64&#039;)
url=&#039;https://packages.debian.org/source/bullseye/$pkgname&#039;
license=(&#039;GPL-2&#039;)
depends=(&#039;shadow&#039;)
makedepends=(&#039;quilt&#039;)
source=(&quot;https://deb.debian.org/debian/pool/main/v/$pkgname/${pkgname}_${pkgver}.orig.tar.gz&quot;
        &quot;https://deb.debian.org/debian/pool/main/v/$pkgname/${pkgname}_${_debver}-${_debrel}.debian.tar.xz&quot;)
sha512sums=(&#039;694da52fba3a73f342c4217f6e3556e8c49cab6a991f0a3b96f6adfdb4a718e8e66ce9b5cc83f74475675a9d31d3956545acd11decf9e3b2db61df53ae863b52&#039;
            &#039;5aabc89f111f6a08f868aa2d3dd37fd7a09a8f0245850cccd7a1c1f2bbc3eeeb13c45222f4cfd6bf7f3a35d1dce910ed53103aae27da16195185a88597247499&#039;)

prepare() {
  cd ${srcdir}/${pkgname}-${pkgver}
  if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
    # Debian patches
    export QUILT_PATCHES=debian/patches
    export QUILT_REFRESH_ARGS=&#039;-p ab --no-timestamps --no-index&#039;
    export QUILT_DIFF_ARGS=&#039;--no-timestamps&#039;

    mv &quot;$srcdir&quot;/debian .

    quilt push -av
  fi
}

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure \
    VLOCK_GROUP=root \
    --prefix=/usr \
    --enable-shadow
  sed -i &#039;s/new\.so//&#039; config.mk
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  # current makefile contains errors
  make DESTDIR=${pkgdir} install

  # fix modules permissions
  chmod 0755 ${pkgdir}/usr/lib/vlock/modules/*.so

  # license
  install -Dm644 COPYING -t ${pkgdir}/usr/share/licenses/${pkgname}
}</code></pre></div><p>When package is working fully, we can close this thread marking the problem aslo as solved. Sure the issue-tracker is also a place to do. But binding in all the community is nevertheless a point to go. <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2023-01-05T21:33:02Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5471#p5471</id>
		</entry>
</feed>
