From dbc832583b1f06cbff546871bb965821932e679d Mon Sep 17 00:00:00 2001 From: Ypnose Date: Fri, 3 Jan 2014 22:19:29 +0100 Subject: [PATCH 1/3] dropbear: add required /etc/dropbear required for keys --- srcpkgs/dropbear/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/dropbear/template b/srcpkgs/dropbear/template index b96442bb39c..d39629b9b76 100644 --- a/srcpkgs/dropbear/template +++ b/srcpkgs/dropbear/template @@ -1,10 +1,11 @@ # Template file for 'dropbear' pkgname=dropbear version=2013.62 -revision=1 +revision=2 build_style="gnu-configure" configure_args="--sbindir=/usr/bin --enable-zlib" makedepends="zlib-devel" +make_dirs="/etc/dropbear 0755 root root" short_desc="Small SSH server and client." maintainer="Ypnose " license="MIT" From 4756725cd5e759ced0eff857f283500091bc3008 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sat, 4 Jan 2014 13:23:38 +0100 Subject: [PATCH 2/3] mksh: add dot.mkshrc and remove lksh --- srcpkgs/mksh/files/TaC-mksh.txt | 17 +++++++++-------- srcpkgs/mksh/template | 6 +++--- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/srcpkgs/mksh/files/TaC-mksh.txt b/srcpkgs/mksh/files/TaC-mksh.txt index 206d1bce4dd..fe7b7b39e04 100644 --- a/srcpkgs/mksh/files/TaC-mksh.txt +++ b/srcpkgs/mksh/files/TaC-mksh.txt @@ -95,14 +95,15 @@ libbsd package. The files are not compiled into the resulting binary if their respective functionality is already provided. -The following files belong to mksh in a less close way, as they pro- -vide additional functionality less closely coupled or not always de- -sired. These are not included in the mksh distfile: +The following files belong to mksh in a less close way, as the files +provide additional functionality less closely coupled, or not always +desired. These are not included in the mksh distfile: - source code - * src/usr.bin/printf/printf.c (slightly modified UCB printf utili- - ty code - for the optional, undesired printf(1) builtin) - *DO NOT* INCLUDE printf AS A SHELL BUILT-IN UNLESS YOU ABSOLUTE- - LY MUST (otherwise, the preferrable /usr/bin/printf is called) + * src/usr.bin/printf/printf.c (UCB printf(1) utility that has been + slightly modified, for the optional, undesired printf builtin) + + *DO NOT* INCLUDE printf AS A SHELL BUILT-IN UNLESS IT ABSOLUTELY + IS REQUIRED (or else the preferable /usr/bin/printf gets called) The printf.c file is covered by the UCB three-clause BSD licence, as shown in Appendix B below. @@ -242,4 +243,4 @@ possible, the text shown above is to be included. __________________________________________________________________ -$MirOS: www/files/TaC-mksh.txt,v 1.17 2013/08/12 18:38:29 tg Exp $ +$MirOS: www/files/TaC-mksh.txt,v 1.18 2013/09/10 16:12:59 tg Exp $ diff --git a/srcpkgs/mksh/template b/srcpkgs/mksh/template index 2906672997c..f99df1d0147 100644 --- a/srcpkgs/mksh/template +++ b/srcpkgs/mksh/template @@ -1,7 +1,7 @@ # Template file for 'mksh' pkgname=mksh version=R48b -revision=2 +revision=3 wrksrc=mksh register_shell="/bin/mksh" short_desc="The MirBSD Korn Shell" @@ -12,12 +12,12 @@ distfiles="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$version.tgz" checksum="e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792" do_build() { - sh ./Build.sh + sh ./Build.sh -r -c lto } do_install() { vinstall mksh 755 usr/bin vinstall mksh.1 644 usr/share/man/man1 - vinstall lksh.1 644 usr/share/man/man1 + vinstall dot.mkshrc 644 usr/share/doc/$pkgname/examples vinstall ${FILESDIR}/TaC-mksh.txt 644 usr/share/licenses/$pkgname } From 56f1c8aebcf267e000d61ad43564b3aebcfc4798 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sat, 4 Jan 2014 14:06:38 +0100 Subject: [PATCH 3/3] New package: jupp-3.1jupp26 --- srcpkgs/jupp/template | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/jupp/template diff --git a/srcpkgs/jupp/template b/srcpkgs/jupp/template new file mode 100644 index 00000000000..9d66c243322 --- /dev/null +++ b/srcpkgs/jupp/template @@ -0,0 +1,32 @@ +# Template file for 'jupp' +pkgname=jupp +version=3.1jupp26 +revision=1 +build_style=gnu-configure +configure_args="--disable-dependency-tracking --disable-termidx" +makedepends="ncurses-devel" +wrksrc="jupp" +conf_files=" + /etc/joe/joerc + /etc/joe/rjoerc + /etc/joe/jpicorc + /etc/joe/jmacsrc + /etc/joe/jstarrc + /etc/joe/jupprc" +short_desc="Portable version of JOE’s Own Editor" +maintainer="Ypnose " +license="GPL-1" +homepage="https://www.mirbsd.org/jupp.htm" +distfiles="https://www.mirbsd.org/MirOS/dist/${pkgname}/joe-${version}.tgz" +checksum=99985d6f0db5cc59ba45b30291ce6c3ef9626637f0cca039b2e03484cf5dda42 + +pre_configure() { + chmod +x configure +} + +post_install() { + vinstall COPYING 644 usr/share/licenses/${pkgname}/LICENSE + vinstall INFO 644 usr/share/doc/${pkgname} + vinstall LIST 644 usr/share/doc/${pkgname} + vinstall NEWS 644 usr/share/doc/${pkgname} +}