Re: [UPDATE] mail/alpine-2.22
Latest Update for nim-1.2.0 Builds successfully on amd64 Added a configuration argument, now those tools are built. comments, ok's? Index: Makefile === RCS file: /cvs/ports/mail/alpine/Makefile,v retrieving revision 1.46 diff -u -p -r1.46 Makefile --- Makefile20 Mar 2020 16:44:24 - 1.46 +++ Makefile9 Apr 2020 20:43:58 - @@ -10,7 +10,7 @@ COMMENT-pico= UW text editor COMMENT-pilot= UW file system navigator FIX_EXTRACT_PERMISSIONS = Yes -V= 2.21 +V= 2.22 DISTNAME= alpine-${V} EXTRACT_SUFX= .tar.xz @@ -47,7 +47,7 @@ HOMEPAGE= http://alpine.x10host.com/ # Apache 2.0 PERMIT_PACKAGE=Yes -MASTER_SITES= http://alpine.x10host.com/alpine/release/ +MASTER_SITES= http://alpine.x10host.com/alpine/release/src/ MULTI_PACKAGES=-main -c-client -imap -mailutil -pico -pilot @@ -86,7 +86,8 @@ CONFIGURE_ARGS= --with-system-pinerc=${ --without-tcl \ --without-npa \ --enable-quotas \ - --disable-debug + --disable-debug \ + --with-bundled-tools HEADERS= c-client.h dummy.h env.h env_unix.h fdstring.h \ flockcyg.h flocksim.h flstring.h fs.h ftl.h \ Index: distinfo === RCS file: /cvs/ports/mail/alpine/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo25 Apr 2017 09:20:53 - 1.8 +++ distinfo9 Apr 2020 20:43:58 - @@ -1,2 +1,2 @@ -SHA256 (alpine-2.21.tar.xz) = YDC2iBuBaFRnVqs6XkNijY1WRTmwR2V44od3VXOndDg= -SIZE (alpine-2.21.tar.xz) = 4720856 +SHA256 (alpine-2.22.tar.xz) = hJVnwbb3H946qhyXzwV3sSpSXZ4iwOpHeXxL8c0rv9s= +SIZE (alpine-2.22.tar.xz) = 6336604 Index: patches/patch-imap_Makefile === RCS file: /cvs/ports/mail/alpine/patches/patch-imap_Makefile,v retrieving revision 1.3 diff -u -p -r1.3 patch-imap_Makefile --- patches/patch-imap_Makefile 24 Mar 2014 12:54:55 - 1.3 +++ patches/patch-imap_Makefile 9 Apr 2020 20:43:58 - @@ -24,10 +24,11 @@ mtest.c calls gets() $(TOOLS)/$@ "$(LN)" src/ipopd ipopd $(TOOLS)/$@ "$(LN)" src/imapd imapd $(TOOLS)/$@ "$(LN)" src/mailutil mailutil -@@ -713,7 +713,7 @@ rebuildclean: +@@ -716,8 +716,8 @@ rebuildclean: bundled: @echo Building bundled tools... + @echo BUNDLED=$(BUNDLED) - $(CD) mtest;$(MAKE) +# $(CD) mtest;$(MAKE) $(CD) ipopd;$(MAKE) Index: pkg/PLIST-c-client === RCS file: /cvs/ports/mail/alpine/pkg/PLIST-c-client,v retrieving revision 1.2 diff -u -p -r1.2 PLIST-c-client --- pkg/PLIST-c-client 19 Mar 2015 20:25:26 - 1.2 +++ pkg/PLIST-c-client 9 Apr 2020 20:43:58 - @@ -33,5 +33,5 @@ include/c-client/tcp_unix.h include/c-client/unix.h include/c-client/utf8.h include/c-client/utf8aux.h -lib/libc-client.a +@static-lib lib/libc-client.a @lib lib/libc-client.so.${LIBc-client_VERSION}
[UPDATE] lang/nim-1.2.0
Latest Update for nim-1.2.0 Builds successfully on amd64 1 new patch added -> patch-install_sh 4 patches removed -> patch-koch_nim, patch-lib_pure_endians_nim, patch-compiler_extccomp_nim, patch-tests_testament_tester_nim Someone should test this. comments, ok's? Index: Makefile === RCS file: /cvs/ports/lang/nim/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile31 Aug 2019 15:36:56 - 1.10 +++ Makefile9 Apr 2020 18:28:53 - @@ -6,7 +6,7 @@ BROKEN-i386 = hardcodes gcc; see config/ COMMENT = statically typed, imperative programming language -VERSION = 0.16.0 +VERSION = 1.2.0 DISTNAME = nim-${VERSION} EXTRACT_SUFX = .tar.xz REVISION = 0 Index: distinfo === RCS file: /cvs/ports/lang/nim/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo9 Jan 2017 10:32:33 - 1.4 +++ distinfo9 Apr 2020 18:28:53 - @@ -1,2 +1,2 @@ -SHA256 (nim-0.16.0.tar.xz) = nhmYI75Hy6VeYt1pgvAs8KrXMvNpeZ/sQqTYwiZcUWc= -SIZE (nim-0.16.0.tar.xz) = 2907076 +SHA256 (nim-1.2.0.tar.xz) = TpRYOjc5ZYIYBeZl4KBfUvthCRZnbtsJFIlBQVY3xXU= +SIZE (nim-1.2.0.tar.xz) = 5869428 Index: patches/patch-build_sh === RCS file: /cvs/ports/lang/nim/patches/patch-build_sh,v retrieving revision 1.2 diff -u -p -r1.2 patch-build_sh --- patches/patch-build_sh 15 Jun 2016 00:19:59 - 1.2 +++ patches/patch-build_sh 9 Apr 2020 18:28:53 - @@ -1,16 +1,15 @@ $OpenBSD: patch-build_sh,v 1.2 2016/06/15 00:19:59 juanfra Exp $ --- build.sh.orig Tue Jun 7 00:38:53 2016 +++ build.sh Thu Jun 9 19:43:03 2016 -@@ -26,9 +26,9 @@ do - esac - done - --CC="gcc" --LINKER="gcc" --COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} -w -O3 -fno-strict-aliasing$extraBuildArgs" -+#CC="gcc" -+#LINKER="gcc" -+COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} -w -fno-strict-aliasing$extraBuildArgs" - LINK_FLAGS="${LDFLAGS:-} " - PS4="" - # platform detection +@@ -89,6 +89,11 @@ + ;; + *openbsd* ) + myos="openbsd" ++if [ "$ucpu" = "powerpc" ] ; then ++ CC="gcc" ++ else ++ CC="clang" ++fi + LINK_FLAGS="$LINK_FLAGS -lm" + ;; + *netbsd* ) Index: patches/patch-compiler_extccomp_nim === RCS file: patches/patch-compiler_extccomp_nim diff -N patches/patch-compiler_extccomp_nim --- patches/patch-compiler_extccomp_nim 9 Jan 2017 10:32:33 - 1.3 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,47 +0,0 @@ -$OpenBSD: patch-compiler_extccomp_nim,v 1.3 2017/01/09 10:32:33 juanfra Exp $ compiler/extccomp.nim.orig Sun Jan 8 21:33:43 2017 -+++ compiler/extccomp.nim Mon Jan 9 02:22:00 2017 -@@ -21,7 +21,7 @@ import - type - TSystemCC* = enum - ccNone, ccGcc, ccLLVM_Gcc, ccCLang, ccLcc, ccBcc, ccDmc, ccWcc, ccVcc, --ccTcc, ccPcc, ccUcc, ccIcl, asmFasm -+ccTcc, ccPcc, ccUcc, ccIcl, asmFasm, ccEGcc - TInfoCCProp* = enum # properties of the C compiler: - hasSwitchRange, # CC allows ranges in switch statements (GNU C) - hasComputedGoto, # CC has computed goto (GNU C extension) -@@ -69,8 +69,8 @@ compiler gcc: - result = ( - name: "gcc", - objExt: "o", --optSpeed: " -O3 -ffast-math ", --optSize: " -Os -ffast-math ", -+optSpeed: " -O2 ", -+optSize: " -Os ", - compilerExe: "gcc", - cppCompiler: "g++", - compileTmpl: "-c $options $include -o $objfile $file", -@@ -90,6 +90,13 @@ compiler gcc: - props: {hasSwitchRange, hasComputedGoto, hasCpp, hasGcGuard, hasGnuAsm, - hasAttribute}) - -+compiler egcc: -+result = gcc() -+ -+result.name = "egcc" -+result.compilerExe = "egcc" -+result.cppCompiler = "eg++" -+ - # LLVM Frontend for GCC/G++ - compiler llvmGcc: - result = gcc() # Uses settings from GCC -@@ -359,7 +366,8 @@ const - pcc(), - ucc(), - icl(), --fasm()] -+fasm(), -+egcc()] - - hExt* = ".h" - Index: patches/patch-config_nim_cfg === RCS file: /cvs/ports/lang/nim/patches/patch-config_nim_cfg,v retrieving revision 1.3 diff -u -p -r1.3 patch-config_nim_cfg --- patches/patch-config_nim_cfg9 Jan 2017 10:32:33 - 1.3 +++ patches/patch-config_nim_cfg9 Apr 2020 18:28:53 - @@ -1,56 +1,25 @@ $OpenBSD: patch-config_nim_cfg,v 1.3 2017/01/09 10:32:33 juanfra Exp $ --- config/nim.cfg.origSun Jan 8 21:33:42 2017 +++ config/nim.cfg Mon Jan 9 02:28:32 2017 -@@ -76,7 +76,7 @@ path="$lib/pure" - @end - @if bsd or haiku: - # BSD got posix_spawn only recently, so we deactivate it for osproc: --define:useFork -+#define:useFork - # at
[UPDATE] mail/alpine-2.22
Latest Update for alpine-2.22 build tested on amd64 comments, ok's? Index: Makefile === RCS file: /cvs/ports/mail/alpine/Makefile,v retrieving revision 1.46 diff -u -p -r1.46 Makefile --- Makefile20 Mar 2020 16:44:24 - 1.46 +++ Makefile9 Apr 2020 17:05:01 - @@ -10,7 +10,7 @@ COMMENT-pico= UW text editor COMMENT-pilot= UW file system navigator FIX_EXTRACT_PERMISSIONS = Yes -V= 2.21 +V= 2.22 DISTNAME= alpine-${V} EXTRACT_SUFX= .tar.xz @@ -47,7 +47,7 @@ HOMEPAGE= http://alpine.x10host.com/ # Apache 2.0 PERMIT_PACKAGE=Yes -MASTER_SITES= http://alpine.x10host.com/alpine/release/ +MASTER_SITES= http://alpine.x10host.com/alpine/release/src/ MULTI_PACKAGES=-main -c-client -imap -mailutil -pico -pilot @@ -114,12 +114,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/c-client/${SHLIB} ${PREFIX}/lib; \ fi # imap-uw - ${INSTALL_PROGRAM} ${WRKBUILD}/imap/imapd/imapd ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${WRKBUILD}/imap/ipopd/ipop2d ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${WRKBUILD}/imap/ipopd/ipop3d ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${WRKBUILD}/imap/mlock/mlock ${PREFIX}/libexec - ${INSTALL_PROGRAM} ${WRKBUILD}/imap/dmail/dmail ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKBUILD}/imap/tmail/tmail ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/imap/src/{imapd,ipopd}/*.8 \ ${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/imap/src/{dmail,tmail}/*.1 \ @@ -132,7 +126,6 @@ post-install: tar -C ${PREFIX}/share/doc/imap-uw -xf - find ${PREFIX}/share/doc/imap-uw -type f -exec chmod 0644 {} + # mailutil - ${INSTALL_PROGRAM} ${WRKBUILD}/imap/mailutil/mailutil ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/imap/src/mailutil/mailutil.1 ${PREFIX}/man/man1 .include Index: distinfo === RCS file: /cvs/ports/mail/alpine/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo25 Apr 2017 09:20:53 - 1.8 +++ distinfo9 Apr 2020 17:05:01 - @@ -1,2 +1,2 @@ -SHA256 (alpine-2.21.tar.xz) = YDC2iBuBaFRnVqs6XkNijY1WRTmwR2V44od3VXOndDg= -SIZE (alpine-2.21.tar.xz) = 4720856 +SHA256 (alpine-2.22.tar.xz) = hJVnwbb3H946qhyXzwV3sSpSXZ4iwOpHeXxL8c0rv9s= +SIZE (alpine-2.22.tar.xz) = 6336604 Index: patches/patch-imap_Makefile === RCS file: /cvs/ports/mail/alpine/patches/patch-imap_Makefile,v retrieving revision 1.3 diff -u -p -r1.3 patch-imap_Makefile --- patches/patch-imap_Makefile 24 Mar 2014 12:54:55 - 1.3 +++ patches/patch-imap_Makefile 9 Apr 2020 17:05:01 - @@ -24,10 +24,11 @@ mtest.c calls gets() $(TOOLS)/$@ "$(LN)" src/ipopd ipopd $(TOOLS)/$@ "$(LN)" src/imapd imapd $(TOOLS)/$@ "$(LN)" src/mailutil mailutil -@@ -713,7 +713,7 @@ rebuildclean: +@@ -716,8 +716,8 @@ rebuildclean: bundled: @echo Building bundled tools... + @echo BUNDLED=$(BUNDLED) - $(CD) mtest;$(MAKE) +# $(CD) mtest;$(MAKE) $(CD) ipopd;$(MAKE) Index: pkg/PLIST-c-client === RCS file: /cvs/ports/mail/alpine/pkg/PLIST-c-client,v retrieving revision 1.2 diff -u -p -r1.2 PLIST-c-client --- pkg/PLIST-c-client 19 Mar 2015 20:25:26 - 1.2 +++ pkg/PLIST-c-client 9 Apr 2020 17:05:01 - @@ -33,5 +33,5 @@ include/c-client/tcp_unix.h include/c-client/unix.h include/c-client/utf8.h include/c-client/utf8aux.h -lib/libc-client.a +@static-lib lib/libc-client.a @lib lib/libc-client.so.${LIBc-client_VERSION} Index: pkg/PLIST-imap === RCS file: /cvs/ports/mail/alpine/pkg/PLIST-imap,v retrieving revision 1.4 diff -u -p -r1.4 PLIST-imap --- pkg/PLIST-imap 4 Sep 2018 12:46:15 - 1.4 +++ pkg/PLIST-imap 9 Apr 2020 17:05:01 - @@ -4,14 +4,6 @@ @pkgpath mail/imap-uw,-server,plaintext @pkgpath mail/imap-uw,-server @pkgpath mail/re-alpine,-imap -@bin bin/dmail -@bin bin/tmail -@bin libexec/imapd -@bin libexec/ipop2d -@bin libexec/ipop3d -@group _smmsp -@bin libexec/mlock -@group @man man/man1/dmail.1 @man man/man1/tmail.1 @man man/man8/imapd.8 Index: pkg/PLIST-mailutil === RCS file: /cvs/ports/mail/alpine/pkg/PLIST-mailutil,v retrieving revision 1.1 diff -u -p -r1.1 PLIST-mailutil --- pkg/PLIST-mailutil 17 Oct 2013 09:08:13 - 1.1 +++ pkg/PLIST-mailutil 9 Apr 2020 17:05:01 - @@ -1,5 +1,4 @@ @comment $OpenBSD: PLIST-mailutil,v 1.1 2013/10/17 09:08:13 ajacoutot Exp $ @pkgpath mail/imap-uw,-mailutil,plaintext @pkgpath mail/re-alpine,-mailutil -@bin bin/mailutil @man
[new] audio/liblo
liblo = liblo is a lightweight library that provides an easy to use implementation of the OSC protocol. For more information about the OSC protocol, please see: - [OSC at CNMAT](http://www.cnmat.berkeley.edu/OpenSoundControl/) - [opensoundcontrol.org](http://www.opensoundcontrol.org/) The official liblo homepage is here: - [liblo homepage](http://liblo.sourceforge.net/) liblo is portable to most UNIX systems (including OS X) and Windows. It is released under the GNU Lesser General Public Licence (LGPL) v2.1 or later. See COPYING for details. Can't decide name of shared library, so set to 0.0 comments, ok's? liblo-0.31.tar.gz Description: application/gzip
Re: [NEW] security/tripwire-2.4.3.7
security/tripwire-2.4.3.7 run tested on amd64 Read EXAMPLE section of tripwire.8, to setup Tripwire is a tool that aids system administrators and users in monitoring a designated set of files for any changes. Used with system files on a regular (e.g., daily) basis, Tripwire can notify system administrators of corrupted or tampered files, so damage control measures can be taken in a timely manner. WWW: https://sourceforge.net/projects/tripwire/ comments, ok's? tripwire.tar.gz Description: application/gzip
[NEW] security/tripwire-2.4.3.7
security/tripwire-2.4.3.7 run tested on amd64 Read EXAMPLE section of tripwire.8, to setup Tripwire is a tool that aids system administrators and users in monitoring a designated set of files for any changes. Used with system files on a regular (e.g., daily) basis, Tripwire can notify system administrators of corrupted or tampered files, so damage control measures can be taken in a timely manner. WWW: https://sourceforge.net/projects/tripwire/ comments, ok's? Run uudecode on this mail. I don't know how to add attachment using standard OpenBSD mail command. Also I submitted port audio/liblo a week ago(2/4/20), don't know how to decide version of shared library. begin-base64 644 tripwire.tar.gz H4sIA+1be3PiOBLff+NPocqkamYObB6BJMderkIISdghgQNmstmaqoxjC9DF2JxlQ9ip +e7XLcnGmEeyuZ3s3S2qmjGR1Q91t35SS3Lgs/GU+fSH71jy+VL+sFyGZ75wWM4nn1H5obB/UNov l8uHBWxXKBSgrvw9lYpKyAPTB5G/Undju6fe/4+WQPk/d2U+0D5zvkcg5MGZB6XSOv+XCvtJ/2O7 QvGgUPgh/x10WSp/cv+/IXutMXVPu2cVEoWAEdDR2DEDmp2QgnF0SIr5Yj6X388Vi6RwWCkcVfIF Yk2pS+qPY7KnabXW1VX9undMJtRn/RkJhpQwN6ADnwUz4vVFBXLmxHOJSQZsAsR8xkEQ0bRPx4QU jZKxbxxqZ41u77p6VT8mUWTqHuincy/0Larvff30TdPaHy5SbUR9p/6p0W20ro9JHnSq9uoXrU6j 3j0mnFqhUEXT3ly0m5Oi1q53rhq9u3a19qF6AYxuQTVNu7i8q9ZqrY/QlZ2eYo2V7U7rp3oNKlfp hA16VanQjtSv1ro+b1x87NTvur3bZv144IaJumrnAnTSdei/5bl9m/nHORpYuYh5omn9+tPxTq3d Pm9WgWZXP5Ov7s4aneO3u593F+g+7+6+JX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wi5UL5aPTYFfwzSdNDgalsYHQDDxzlaJh7IZcI8 mUbATMa4BQsyTM5M9NgEcABWVOJyqZILGRKmXISbE5zn2UhchhQ6Ym+XlNQysXLoWC8U11KFYTyE dTaHG4axAQPJ4V7caUBohOAJ8AmVRbNkOmTWEAFPLijlBBwMfS8cDBd4im4ZAmH5DJK9R1xSrDEz 45V1A0v2Zr172xKpz8WsLFdb4g6heDk1Z6kkL0ohYZozVfapwOYevQWU8bToh84cQRfXnrdgacR8 eOMmg2LJ3KZcdeFUsdo4LPKmKZIUGDLAF+hGXggPXGOil8WUCItPTv2JcIy6gQ06P1A6jmyRnLXA
Re: do-install hook fails
I can't seem to get /etc/tripwire/twpol-OpenBSD.txt to be a part of package.tgz, after "make fake" twpol-OpenBSD.txt is rightly in ${WRKINST}/etc/tripwire/, but "make package" excludes the configuration file from package.tgz and includes only files within ${PREFIX}. How do I install configuration files which go into /etc? Makefile # $OpenBSD: Makefile.template,v 1.87 2020/03/22 17:18:01 cwen Exp $ COMMENT=verify the integrity of the files on a given system V= 2.4.3.7 DISTNAME= tripwire-open-source-${V} PKGNAME=tripwire-${V} REVISION= 0 CATEGORIES= security # GPLv2 PERMIT_PACKAGE= Yes MASTER_SITES= https://github.com/Tripwire/tripwire-open-source/releases/download/${V}/ CONFIGURE_STYLE=gnu CONFIGURE_ARGS= --sysconfdir=/etc/tripwire do-install: # This package doesn't have a typical make ${INSTALL_TARGET}, so we do it by hand. # #create var/db directories ${INSTALL_DATA_DIR} ${WRKINST}/var/db/tripwire/ ${INSTALL_DATA_DIR} ${WRKINST}/var/db/tripwire/report/ #install bin/binaries ${INSTALL_SCRIPT} ${WRKSRC}/bin/siggen ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/tripwire ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/twadmin ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/twprint ${PREFIX}/bin/ #copy install files for use by user after install, and fix a path ${INSTALL_DATA_DIR} ${PREFIX}/share/tripwire/ ${INSTALL_SCRIPT} ${WRKSRC}/installer/install.sh ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/installer/install.cfg ${PREFIX}/share/tripwire/ sed -i 's#./install/install.cfg#./install.cfg#' ${PREFIX}/share/tripwire/install.sh ${INSTALL_DATA} ${WRKSRC}/policy/policyguide.txt ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/COMMERCIAL ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/ReadMe-2.4.3 ${PREFIX}/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/TRADEMARK ${PREFIX}/share/tripwire/ #install man/man pages ${INSTALL_DATA} ${WRKSRC}/man/man4/*.4 ${PREFIX}/man/man4/ ${INSTALL_DATA} ${WRKSRC}/man/man5/*.5 ${PREFIX}/man/man5/ ${INSTALL_DATA} ${WRKSRC}/man/man8/*.8 ${PREFIX}/man/man8/ #install configuration files ${INSTALL_DATA_DIR} ${WRKINST}/etc/tripwire/ ${INSTALL_DATA} ${WRKSRC}/policy/twpol-OpenBSD.txt ${WRKINST}/etc/tripwire/ .include
do-install hook fails
I'm trying import a package called tripwire. It calls a install-sh script during "make fake" which requires user intervention to set some defaults, which can be done later. To get around I added the following "do-install" part in the Makefile ,but I get an error. I've read the do-install part of bsd.port.mk, It doesn't mention anything related to an operator, besides I looked at another port, and the do-install is similar. Please help me out. *Makefile* # $OpenBSD: Makefile.template,v 1.87 2020/03/22 17:18:01 cwen Exp $ # COMMENT=contains programs used to verify the integrity of the files on a given system V= 2.4.3.7 DISTNAME= tripwire-open-source-${V} PKGNAME=tripwire-${V} REVISION= 0 CATEGORIES= security # GPLv2 PERMIT_PACKAGE= Yes MASTER_SITES= https://github.com/Tripwire/tripwire-open-source/releases/download/${V}/ CONFIGURE_STYLE=simple CONFIGURE_ARGS= --sysconfdir=/etc/tripwire do-install: # This package doesn't have a typical make ${INSTALL_TARGET}, so we do it by hand. # #create var/lib directories ${INSTALL_DATA_DIR} ${PREFIX}/var/db/tripwire ${INSTALL_DATA_DIR} ${PREFIX}/var/db/tripwire/report #install bin/binaries ${INSTALL_SCRIPT} ${WRKSRC}/bin/siggen ${PREFIX}/usr/local/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/tripwire ${PREFIX}/usr/local/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/twadmin ${PREFIX}/usr/local/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/twprint ${PREFIX}/usr/local/bin/ #copy install files for use by user after install, and fix a path ${INSTALL_DATA_DIR} ${WRKSRC}/usr/local/share/tripwire ${INSTALL_SCRIPT} ${WRKSRC}/installer/install.sh ${PREFIX}/usr/local/share/tripwire/ ${INSTALL_DATA} ${WRKSRC}/installer/install.cfg ${PREFIX}/usr/local/share/tripwire/ sed -i 's#./install/install.cfg#./install.cfg#' ${PREFIX}/usr/local/share/tripwire/install.sh #install man/man pages ${INSTALL_DATA} ${WRKSRC}/man/man4/*.4 ${PREFIX}/usr/local/share/man/man4/ ${INSTALL_DATA} ${WRKSRC}/man/man5/*.5 ${PREFIX}/usr/local/share/man/man5/ ${INSTALL_DATA} ${WRKSRC}/man/man8/*.8 ${PREFIX}/usr/local/share/man/man8/ #install configuration files ${INSTALL_DATA_DIR} ${PREFIX}/etc/tripwire ${INSTALL_DATA} ${WRKSRC}/policy/twpol-OpenBSD.txt ${PREFIX}/etc/tripwire/twpol-OpenBSD.txt .include *Error* *** Parse error in /usr/ports/mystuff/security/tripwire: Need an operator in '/var/db/tripwire' (Makefile:18) *** Parse error: Need an operator in '/var/db/tripwire/report' (Makefile:19) *** Parse error: Need an operator in '/usr/local/bin/' (Makefile:22) *** Parse error: Need an operator in '/usr/local/bin/' (Makefile:23) *** Parse error: Need an operator in '/usr/local/bin/' (Makefile:24) *** Parse error: Need an operator in '/usr/local/bin/' (Makefile:25) *** Parse error: Need an operator in '/usr/local/share/tripwire' (Makefile:28) *** Parse error: Need an operator in '/usr/local/share/tripwire/' (Makefile:29) *** Parse error: Need an operator in '/usr/local/share/tripwire/' (Makefile:30) *** Parse error: Need an operator in ''s' (Makefile:31) *** Parse error: Need an operator in '/usr/local/share/man/man4/' (Makefile:34) *** Parse error: Need an operator in '/usr/local/share/man/man5/' (Makefile:35) *** Parse error: Need an operator in '/usr/local/share/man/man8/' (Makefile:36) *** Parse error: Need an operator in '/etc/tripwire' (Makefile:39) *** Parse error: Missing dependency operator (Makefile:40)
[UPDATE] math/abs
Update math/abs 0.8 -> 0.908 Index: Makefile === RCS file: /cvs/ports/math/abs/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile12 Jul 2019 21:02:23 - 1.20 +++ Makefile7 Apr 2020 09:21:30 - @@ -2,16 +2,18 @@ COMMENT= free spreadsheet with graphical user interface -DISTNAME= abs-src-0.8 -PKGNAME= ${DISTNAME:S/-src//} -REVISION= 5 +DISTNAME= abs-src-0908 +PKGNAME= ${DISTNAME:S/-src-0908/-0.908/} +REVISION= 0 CATEGORIES=math PERMIT_PACKAGE=Yes WANTLIB= X11 Xaw Xext Xmu Xpm Xt c>=35 m -MASTER_SITES= http://www.ping.be/bertin/ +MASTER_SITES= http://utenti.gufi.org/~gmarco/files/distfiles/ \ +http://fresh.t-systems-sfr.com/unix/src/privat2/ +WRKDIST= ${WRKDIR}/abs-src-0.908 NO_TEST= Yes do-install: Index: distinfo === RCS file: /cvs/ports/math/abs/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo18 Jan 2015 03:14:26 - 1.4 +++ distinfo7 Apr 2020 09:21:30 - @@ -1,2 +1,2 @@ -SHA256 (abs-src-0.8.tar.gz) = eqAvRsSmIfLVLqfum3iinCs2MA2pakFO8i2UhTrdEpg= -SIZE (abs-src-0.8.tar.gz) = 287965 +SHA256 (abs-src-0908.tar.gz) = iaUlMO85/Rxk+o6ifCmp3d4eZE5D56w7FtlONMSH+V4= +SIZE (abs-src-0908.tar.gz) = 314891 Index: patches/patch-ABV_io_c === RCS file: /cvs/ports/math/abs/patches/patch-ABV_io_c,v retrieving revision 1.1 diff -u -p -r1.1 patch-ABV_io_c --- patches/patch-ABV_io_c 23 Feb 2002 23:32:31 - 1.1 +++ patches/patch-ABV_io_c 7 Apr 2020 09:21:30 - @@ -1,7 +1,7 @@ $OpenBSD: patch-ABV_io_c,v 1.1 2002/02/23 23:32:31 pvalchev Exp $ --- ABV/io.c.orig Wed Nov 15 14:09:54 2000 +++ ABV/io.c Sat Feb 23 16:26:54 2002 -@@ -178,7 +178,7 @@ obj io_input (int unit) +@@ -199,7 +199,7 @@ obj io_input (int unit) obj o; FILE *fp; char buf[256]; Index: patches/patch-Database_cell_c === RCS file: /cvs/ports/math/abs/patches/patch-Database_cell_c,v retrieving revision 1.1 diff -u -p -r1.1 patch-Database_cell_c --- patches/patch-Database_cell_c 3 Apr 2005 16:14:44 - 1.1 +++ patches/patch-Database_cell_c 7 Apr 2020 09:21:30 - @@ -1,51 +1,38 @@ -$OpenBSD: patch-Database_cell_c,v 1.1 2005/04/03 16:14:44 espie Exp $ Database/cell.c.orig Sun Apr 3 18:06:33 2005 -+++ Database/cell.cSun Apr 3 18:07:48 2005 -@@ -1306,47 +1306,6 @@ copymod3 (cell1, cell2, incr) - return 0; +--- Database/cell.c.orig Wed Nov 15 22:10:42 2000 Database/cell.cSun Apr 3 18:06:11 2005 +@@ -1456,7 +1456,7 @@ tolower (char *s) } --char * --tolower (char *s) --{ -- int j; -- int len; -- len = strlen (s); -- for (j = 0; j < len; j++) --if (s[j] >= 'A' && s[j] <= 'Z') -- s[j] = 'a' + s[j] - 'A'; -- return s; --} -- --char * + char * -strcasestr (char *str1, char *str2) --{ -- char *s1; -- char *s2; -- char *pos = NULL; -- int l1; -- s1 = strdup (str1); -- if (s1 == NULL) --return NULL; -- s2 = strdup (str2); -- if (s2 == NULL) --{ -- free (s1); -- return NULL; --} -- -- tolower (s1); -- tolower (s2); -- pos = strstr (s1, s2); -- l1 = pos - s1; -- free (s1); -- free (s2); -- if (pos == NULL) --return NULL; -- -- return str1 + l1; --} -- - int - cell_chgwksname (Cell * cell, char *oldname, char *newname) ++trcasestr (char *str1, char *str2) { + char *s1; + char *s2; +@@ -1504,7 +1464,7 @@ cell_chgwksname (Cell * cell, char *oldname, char *new + return -1; + if (!strcmp (oldname, newname)) + return 0; +- if (strcasestr (cell->formula, oldname) == NULL) ++ if (trcasestr (cell->formula, oldname) == NULL) + return 0; + + +@@ -1512,7 +1472,7 @@ cell_chgwksname (Cell * cell, char *oldname, char *new + old = absmalloc ((strlen (oldname) + 2) * sizeof (char), "cell_chgwksname:old"); + sprintf (old, "%s!", oldname); + +- pos = strcasestr (cell->formula, old); ++ pos = trcasestr (cell->formula, old); + while (pos != NULL) + { + len = strlen (cell->formula); +@@ -1523,7 +1483,7 @@ cell_chgwksname (Cell * cell, char *oldname, char *new + sprintf (newformula, "%s%s%s", cell->formula, newname, end); + absfree (cell->formula, "cell_chgwksname:cell->formula"); + cell->formula = newformula; +- end = strcasestr (cell->formula, old); ++ end = trcasestr (cell->formula, old); + if (end > cell->formula + i) + pos = end; + else Index: patches/patch-Makefile === RCS file: /cvs/ports/math/abs/patches/patch-Makefile,v retrieving revision 1.2 diff -u -p -r1.2 patch-Makefile --- patches/patch-Makefile 3 Apr 2005 16:14:44 -
Unable to set WRKSRC
I'm trying to update math/abs, the lastest distfile is named abs-src-0908.tar.gz, on extraction gives dir abs-src-0.908 (0908->0.908 ) . I guess the WRKSRC by default is set to ${WRKDIR}/${DISTNAME}, as you can see this gives an error when applying patches, resetting WRKSRC = ${WRKDIR}/abs-src-0.908 doesn't work, the error persists. Can anyone explain why WRKSRC can't be set. Makefile # $OpenBSD: Makefile,v 1.20 2019/07/12 21:02:23 sthen Exp $ COMMENT=free spreadsheet with graphical user interface DISTNAME= abs-src-0908 PKGNAME=${DISTNAME:S/-src//} REVISION= 0 CATEGORIES= math PERMIT_PACKAGE= Yes WANTLIB=X11 Xaw Xext Xmu Xpm Xt c>=35 m MASTER_SITES= http://utenti.gufi.org/~gmarco/files/distfiles/ \ http://fresh.t-systems-sfr.com/unix/src/privat2/ WRKSRC= ${WRKDIR}/abs-src-0.908 NO_TEST=Yes do-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/abs ${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/Examples/* ${PREFIX}/share/examples/abs .include One can easily get rid of the error, by renaming the distfile and hosting it on openbsd ftp server, since the earlier version of math/abs is available on it. I've already tried renaming distfile setting DISTNAME=abs-src-0.908, and the update builds successfully.
[new] audio/liblo
I don't know how the version of shared libraries is decided, this is a new port. Can anyone verify this? liblo/Makefile # $OpenBSD: Makefile.template,v 1.87 2020/03/22 17:18:01 cwen Exp $ # COMMENT=Lightweight Open Sound Control implementation DISTNAME= liblo-0.31 CATEGORIES= audio HOMEPAGE= http://liblo.sourceforge.net/ #LGPLv2.1+ PERMIT_PACKAGE= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=liblo/} CONFIGURE_STYLE=simple SHARED_LIBS += lo 0.0 .include
[new] audio/liblo
Minor Change pkg/DESC -> pkg/DESCR Caused error on final 'make install' Run 'uudecode' on the whole mail text begin-base64 644 liblo-0.31.tar.gz H4sIA+1YbW/iOBDu1/pXjNR+aLVtXnht0XEqpSkbLW8icLfc6YRCYsAixJEdYLur/e83 SdkWmvYqrdre7p0fCZKMxzMTjz1+nICNA35qaHlz79VgGAWjXCzi1TDLRWP7+g17Zr5UMEr5fLlU QLlplE1zr/h6Id1jKWNXoMvPNPxHvefaf1IEd/nXW+6cTlhAX9wHptMoFQpP5r9YLD3Mf66Qz+8Z Lx7JI/if5/8ADjsRDS+dqwp8mwBaTBdR4Mb0ZAWmdlaGn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XQhk03PO8W1lOwMm0Lvkvv7wCUXu62Sa4df mvYlmvnN6jl2p/011cdFiBvPhE03epGnqq2CgoKCgoKCgoKCgoKCgoKCwvfjb8U4LTAAKAAA
[new] audio/liblo
liblo = liblo is a lightweight library that provides an easy to use implementation of the OSC protocol. For more information about the OSC protocol, please see: - [OSC at CNMAT](http://www.cnmat.berkeley.edu/OpenSoundControl/) - [opensoundcontrol.org](http://www.opensoundcontrol.org/) The official liblo homepage is here: - [liblo homepage](http://liblo.sourceforge.net/) liblo is portable to most UNIX systems (including OS X) and Windows. It is released under the GNU Lesser General Public Licence (LGPL) v2.1 or later. See COPYING for details. I couldn't fiqure out how to send mime attachments using standard mail command, below is an base64 file made using 'uuencode -m' Just save the mail & run 'uudecode' on the whole mail text. begin-base64 644 liblo-0.31.tar.gz H4sIA+1XbW/iSAzer51fYan90GrbvPHWouNUSlM2Wt5E4G650wmFZIARIRPNBNjuav/7 Omm3haa9Sqe2d6ubR4Iktsd27PHEDtkk5CeGVjDfvRoMo2hUSiW8GmalZGxff+CdWSgXjbJllQqp nGlUjMK70uu5dI+VTDyBJr/Q6G/lnuP/pAjv8q+3vQWdspC+uA1Mp1EuFp/Mf6lUfph/q2jh9cU9 eQT/8/zvw0E3ptGFe1mFHxtAS+gyDr2EHq/B1E4rYBmWoRsF3bLArFTN06phgr+hEdifYzgg+4Q0 uu223RnU9lpsNk82NP2HVDG4fBUF0OBRIngIDBXTJY0SL2E8IuTScQedetuu7d1vRNRWH9jNbt+x 3dqetwoY3yPkQ7dt9+pNlJwnSVzV9WyBJvlK+HTKxYxqEU30PRTdbzV7rbWlme9Jz+63ncG4V298 zNaOqARC2nV3YPfHrjNILRx83Xoeu91hv2FfdftNu1rLbOjf0vfrXDnNYR/5g1HLrsnsRQhxP9T7 9uW45Vy48L4GEHIwNIMQjUV+uAoo/DKRgRZzkWjLxa/k3852Hlv1HzCZsGjKX9xGVv+G8WT9m6Vi rv5Lpqnq/w2AG9gqleHwfh9oGA9t9uUIavDROLMnc2dW6IwWlc68PlywDSuMLsre5YjOVkN/s4kv ztbtz2a9RlznD/sJPeVi4cw6/Q/ufoWt+o8Xs9ex8Q/6P7NYLqr+7w2wm3+918IP8kvbeK7/w+Mh d/4Xyur8fwuc+3yZ9mNbbWC2B47XB+R8wiLAn86lH6yW8Q5B0ijIEdLukdy2Pjp2Ttv32KzNd5/H fhznaKiFeVGeLAQXMkcO+SakaxrmGEvPFzwvj36Ok+uY5jmSijUVyVxQL8gxkcw3eeqtonOZtrP+ CdYS4O+2M/XI/X3okfNdruTawVdsG1HNb3bfdbqdb5k8FqHPoymb3crF/ut+Nh/U/6XtNl7cxjP1 bxrlUq7+LZz/Vf2/PrL8k1oKQrIHYBI83Kn3cxyShSeuIZl7CcSCr1mAY5QXAfUkUjmsJH0w2QGf kmROoes20hUJ93mowRUXsOQChXHMEMsbSW/CVwk8FD4GVOehXklplRCAE/gz5aMHjU67Pvjr8HYM 3Gw2mh+hLm1CxYKG9FqjwUpPT7Ns9LydPPWjGx0c6TKl+zd0DSfHHV2PCeBiMkAH+XTKfOaFcBOo OV/S2JvRNGJzKu783OXeaX98YD3aCns6J3qTkKYxXXKZwLDjfAJ5LXEgl3B4c/qwaIaRgk9HmIGA /M6igG+kBk6SahA0i1oA+AJUZFFtdobQohLPN2jSiAp0v7eahMyHFvNp5FNymM7LR5BOzIAZSid/ oQG4lEKj2xs5nSagvxDQxGOh1Ihq5BUUFBQUFBQUFBQUFBQUFBQUFH4OfAfw/4MvACgAAA==
Re: problems setting up PORTS_PRIVSEP
The man page of bsd.port.mk, particular PORTS_PRIVSEP provides this suggestion 'permit nopass setenv {} user cmd pkg_add' I don't know much about what pkg_add can do, but when building packages with many dependencies, password prompt greets for every dependency, persist option doesn't work across the dependencies for the above command, so it becomes a pain in the ass. I think persist doesn't work because of the setenv part, since it is different for every package/sub-package What do you suggest?
Re: UPDATE: net/toxcore
Updated SHARED_LIBS Can you tell, how one decides the version of a shared library. Index: Makefile === RCS file: /cvs/ports/net/toxcore/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile24 Nov 2019 23:05:10 - 1.7 +++ Makefile31 Mar 2020 05:09:29 - @@ -2,15 +2,15 @@ COMMENT = Tox client library -V =0.2.3 -REVISION = 3 +V =0.2.11 +REVISION = 0 DISTNAME = toxcore-$V GH_ACCOUNT = TokTok GH_PROJECT = c-toxcore GH_TAGNAME = v$V -SHARED_LIBS += toxcore 0.1 # 0.1 +SHARED_LIBS += toxcore 1.0 # 1.0 CATEGORIES = net telephony HOMEPAGE = https://tox.chat/ Index: distinfo === RCS file: /cvs/ports/net/toxcore/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo26 Jun 2018 20:34:04 - 1.2 +++ distinfo31 Mar 2020 05:09:29 - @@ -1,2 +1,2 @@ -SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ= -SIZE (toxcore-0.2.3.tar.gz) = 471336 +SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E= +SIZE (toxcore-0.2.11.tar.gz) = 507476 Index: patches/patch-CMakeLists_txt === RCS file: /cvs/ports/net/toxcore/patches/patch-CMakeLists_txt,v retrieving revision 1.4 diff -u -p -r1.4 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt24 Nov 2019 23:05:10 - 1.4 +++ patches/patch-CMakeLists_txt31 Mar 2020 05:09:29 - @@ -6,54 +6,51 @@ $OpenBSD: patch-CMakeLists_txt,v 1.4 201 Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -171,7 +171,7 @@ if(NOT MSVC) - # Comma at end of enum is supported everywhere we run. - add_cxxflag("-Wno-c++98-compat-pedantic") - # TODO(iphydf): Stop using flexible array members. --add_cxxflag("-Wno-c99-extensions") -+#add_cxxflag("-Wno-c99-extensions") - # We're C-compatible, so use C style casts. - add_cxxflag("-Wno-old-style-cast") - -@@ -463,24 +463,11 @@ if(ANDROID_CPU_FEATURES) - endif() +@@ -381,16 +381,7 @@ endif() + option(AUTOTEST "Enable autotests (mainly for CI)" OFF) function(auto_test target) -- if(NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD")) +- if(AUTOTEST AND NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD")) -add_executable(auto_${target}_test ${CPUFEATURES} - auto_tests/${target}_test.c) --target_link_modules(auto_${target}_test toxcore) +-target_link_modules(auto_${target}_test toxcore misc_tools) -if(NOT ARGV1 STREQUAL "DONT_RUN") - add_test(NAME ${target} COMMAND ${CROSSCOMPILING_EMULATOR} auto_${target}_test) - set_tests_properties(${target} PROPERTIES TIMEOUT "${TEST_TIMEOUT_SECONDS}") - set_property(TEST ${target} PROPERTY ENVIRONMENT "LLVM_PROFILE_FILE=${target}.profraw") -endif() - endif() -+ message (WARNING "Test ${target} not built because it breaks the build with base-gcc and NO_TEST is set") ++ message (WARNING "Test ${target} not build because it breaks the build with base-gcc and NO_TEST is set") endfunction() + auto_test(TCP) +@@ -436,9 +426,6 @@ auto_test(version) + auto_test(save_compatibility) + if(BUILD_TOXAV) - add_definitions(-D__STDC_LIMIT_MACROS=1) -- add_executable(auto_monolith_test ${CPUFEATURES} --auto_tests/monolith_test.cc) -- target_link_libraries(auto_monolith_test ${toxcore_LINK_MODULES}) -- add_test(NAME monolith COMMAND ${CROSSCOMPILING_EMULATOR} auto_monolith_test) +- auto_test(conference_av) +- auto_test(toxav_basic) +- auto_test(toxav_many) endif() - auto_test(TCP) -@@ -593,15 +580,3 @@ if(NOT WIN32 - set_source_files_properties(testing/av_test.c PROPERTIES LANGUAGE CXX) - endif() - endif() + +@@ -495,19 +482,4 @@ endif() + + option(BUILD_MISC_TESTS "Build additional tests" OFF) + if (BUILD_MISC_TESTS) +- add_executable(DHT_test ${CPUFEATURES} +-testing/DHT_test.c) +- target_link_modules(DHT_test toxcore misc_tools) - --add_executable(DHT_test ${CPUFEATURES} -- testing/DHT_test.c) --target_link_modules(DHT_test toxcore) +- add_executable(Messenger_test ${CPUFEATURES} +-testing/Messenger_test.c) +- target_link_modules(Messenger_test toxcore misc_tools) - --add_executable(Messenger_test ${CPUFEATURES} -- testing/Messenger_test.c) --target_link_modules(Messenger_test toxcore) +- add_executable(random_testing ${CPUFEATURES} +-testing/random_testing.cc) +- target_link_modules(random_testing toxcore misc_tools) - --add_executable(random_testing ${CPUFEATURES} -- testing/random_testing.cc) --target_link_modules(random_testing toxcore) +- add_executable(save-generator +-
Re: UPDATE: net/toxcore
I hope this is final, Completed a full build successfully, also ported the patch. Any user can test audio-video. Index: Makefile === RCS file: /cvs/ports/net/toxcore/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile24 Nov 2019 23:05:10 - 1.7 +++ Makefile30 Mar 2020 13:31:09 - @@ -2,8 +2,8 @@ COMMENT = Tox client library -V =0.2.3 -REVISION = 3 +V =0.2.11 +REVISION = 0 DISTNAME = toxcore-$V GH_ACCOUNT = TokTok Index: distinfo === RCS file: /cvs/ports/net/toxcore/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo26 Jun 2018 20:34:04 - 1.2 +++ distinfo30 Mar 2020 13:31:09 - @@ -1,2 +1,2 @@ -SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ= -SIZE (toxcore-0.2.3.tar.gz) = 471336 +SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E= +SIZE (toxcore-0.2.11.tar.gz) = 507476 Index: patches/patch-CMakeLists_txt === RCS file: /cvs/ports/net/toxcore/patches/patch-CMakeLists_txt,v retrieving revision 1.4 diff -u -p -r1.4 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt24 Nov 2019 23:05:10 - 1.4 +++ patches/patch-CMakeLists_txt30 Mar 2020 13:31:09 - @@ -6,54 +6,51 @@ $OpenBSD: patch-CMakeLists_txt,v 1.4 201 Index: CMakeLists.txt --- CMakeLists.txt.orig +++ CMakeLists.txt -@@ -171,7 +171,7 @@ if(NOT MSVC) - # Comma at end of enum is supported everywhere we run. - add_cxxflag("-Wno-c++98-compat-pedantic") - # TODO(iphydf): Stop using flexible array members. --add_cxxflag("-Wno-c99-extensions") -+#add_cxxflag("-Wno-c99-extensions") - # We're C-compatible, so use C style casts. - add_cxxflag("-Wno-old-style-cast") - -@@ -463,24 +463,11 @@ if(ANDROID_CPU_FEATURES) - endif() +@@ -381,16 +381,7 @@ endif() + option(AUTOTEST "Enable autotests (mainly for CI)" OFF) function(auto_test target) -- if(NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD")) +- if(AUTOTEST AND NOT (MSVC AND ARGV1 STREQUAL "MSVC_DONT_BUILD")) -add_executable(auto_${target}_test ${CPUFEATURES} - auto_tests/${target}_test.c) --target_link_modules(auto_${target}_test toxcore) +-target_link_modules(auto_${target}_test toxcore misc_tools) -if(NOT ARGV1 STREQUAL "DONT_RUN") - add_test(NAME ${target} COMMAND ${CROSSCOMPILING_EMULATOR} auto_${target}_test) - set_tests_properties(${target} PROPERTIES TIMEOUT "${TEST_TIMEOUT_SECONDS}") - set_property(TEST ${target} PROPERTY ENVIRONMENT "LLVM_PROFILE_FILE=${target}.profraw") -endif() - endif() -+ message (WARNING "Test ${target} not built because it breaks the build with base-gcc and NO_TEST is set") ++ message (WARNING "Test ${target} not build because it breaks the build with base-gcc and NO_TEST is set") endfunction() + auto_test(TCP) +@@ -436,9 +426,6 @@ auto_test(version) + auto_test(save_compatibility) + if(BUILD_TOXAV) - add_definitions(-D__STDC_LIMIT_MACROS=1) -- add_executable(auto_monolith_test ${CPUFEATURES} --auto_tests/monolith_test.cc) -- target_link_libraries(auto_monolith_test ${toxcore_LINK_MODULES}) -- add_test(NAME monolith COMMAND ${CROSSCOMPILING_EMULATOR} auto_monolith_test) +- auto_test(conference_av) +- auto_test(toxav_basic) +- auto_test(toxav_many) endif() - auto_test(TCP) -@@ -593,15 +580,3 @@ if(NOT WIN32 - set_source_files_properties(testing/av_test.c PROPERTIES LANGUAGE CXX) - endif() - endif() + +@@ -495,19 +482,4 @@ endif() + + option(BUILD_MISC_TESTS "Build additional tests" OFF) + if (BUILD_MISC_TESTS) +- add_executable(DHT_test ${CPUFEATURES} +-testing/DHT_test.c) +- target_link_modules(DHT_test toxcore misc_tools) - --add_executable(DHT_test ${CPUFEATURES} -- testing/DHT_test.c) --target_link_modules(DHT_test toxcore) +- add_executable(Messenger_test ${CPUFEATURES} +-testing/Messenger_test.c) +- target_link_modules(Messenger_test toxcore misc_tools) - --add_executable(Messenger_test ${CPUFEATURES} -- testing/Messenger_test.c) --target_link_modules(Messenger_test toxcore) +- add_executable(random_testing ${CPUFEATURES} +-testing/random_testing.cc) +- target_link_modules(random_testing toxcore misc_tools) - --add_executable(random_testing ${CPUFEATURES} -- testing/random_testing.cc) --target_link_modules(random_testing toxcore) +- add_executable(save-generator +-other/fun/save-generator.c) +- target_link_modules(save-generator toxcore misc_tools) + endif() Index: pkg/PLIST === RCS file:
Re: Generating a PLIST
The build is succesfull without the patch. So delete the patch, and try again. Somehow it doesn't show in the 'cvs diff' correctly as an update, when any file (in my case a patch) is removed. And about REVISION, a guess for my case is that it represents no. of times package of the same version is changed. Is that right? If it is then for toxcore it will 11. Or is it with repect to how many times a package is updated in OpenBSD, then REVISION=4.
Re: UPDATE: net/toxcore
The build is succesfull without the patch, I don't understand why the patch is needed. Is the patch file necessary? I don't know much about the program.
Generating a PLIST
I tried to generate PLIST using 'make update-plist' and was greeted with 'doas: Operation not permitted' /etc/doas.conf 'permit user as root update-plist' didn't work 'permit user as root /usr/infrastructure/bin/update-plist' didn't work 'permit user as root' atleast asked me for a password Can anyone tell me what invocation is sent to doas? Following on 'permit user as root', 'make update-plist' gave following output, is pkglocatedb required? Reading existing plist for 64tass-1.55.2176 Scanning /usr/portsdir/pobj/64tass-1.55.2176/fake-amd64 Removing .debug artefacts Figuring out tie points Tieing loose objects Copying objects Can't look for conflicts, pkglocatedb not installed
Re: UPDATE: net/toxcore
Updated Plist Index: Makefile === RCS file: /cvs/ports/net/toxcore/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile24 Nov 2019 23:05:10 - 1.7 +++ Makefile30 Mar 2020 08:51:33 - @@ -2,8 +2,8 @@ COMMENT = Tox client library -V =0.2.3 -REVISION = 3 +V =0.2.11 +REVISION = 11 DISTNAME = toxcore-$V GH_ACCOUNT = TokTok Index: distinfo === RCS file: /cvs/ports/net/toxcore/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo26 Jun 2018 20:34:04 - 1.2 +++ distinfo30 Mar 2020 08:51:33 - @@ -1,2 +1,2 @@ -SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ= -SIZE (toxcore-0.2.3.tar.gz) = 471336 +SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E= +SIZE (toxcore-0.2.11.tar.gz) = 507476 Index: pkg/PLIST === RCS file: /cvs/ports/net/toxcore/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 PLIST --- pkg/PLIST 29 Apr 2018 11:14:09 - 1.1.1.1 +++ pkg/PLIST 30 Mar 2020 08:51:33 - @@ -1,9 +1,10 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2018/04/29 11:14:09 landry Exp $ +@bin bin/DHT_bootstrap @bin bin/tox-bootstrapd include/tox/ include/tox/tox.h include/tox/toxav.h include/tox/toxencryptsave.h -lib/libtoxcore.a +@static-lib lib/libtoxcore.a @lib lib/libtoxcore.so.${LIBtoxcore_VERSION} lib/pkgconfig/toxcore.pc
UPDATE: net/toxcore
Update net/toxcore to latest version-0.2.11 There was a complaint in the mailing-list about toxcore not being updated, I hope someone will tests this. Index: Makefile === RCS file: /cvs/ports/net/toxcore/Makefile,v retrieving revision 1.7 diff -u -p -r1.7 Makefile --- Makefile24 Nov 2019 23:05:10 - 1.7 +++ Makefile30 Mar 2020 07:10:54 - @@ -2,8 +2,8 @@ COMMENT = Tox client library -V =0.2.3 -REVISION = 3 +V =0.2.11 +REVISION = 11 DISTNAME = toxcore-$V GH_ACCOUNT = TokTok Index: distinfo === RCS file: /cvs/ports/net/toxcore/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo26 Jun 2018 20:34:04 - 1.2 +++ distinfo30 Mar 2020 07:10:54 - @@ -1,2 +1,2 @@ -SHA256 (toxcore-0.2.3.tar.gz) = IsUvKGxG0/gC7baXi88qU/gwE2Pit0V4RhNCejO6OjQ= -SIZE (toxcore-0.2.3.tar.gz) = 471336 +SHA256 (toxcore-0.2.11.tar.gz) = 8REoWwNtd0bOjRMhzwuJ7JO0+tiukHZ6JOUCMLvuJ+E= +SIZE (toxcore-0.2.11.tar.gz) = 507476
update a port
I just mailed a update diff for a package, now how does the diff get accepted, does the project maintainer look into it? Is there a maintainer for all packages? I have never tried this before, but I hope to get into some serious porting. Also can anyone guide me on how to get diff format with the INDEX,RCS,Version,etc.
UPDATE: devel/64tass
Here is an update for devel/64tass, released on March 23, 2020 I have never ported before, those diffs are accurate, but I don't know how to bring about the format. Is there a official way to diff, to produce the fancy output with all the Index,borders,RCS,version info? diff -u Makefile.orig Makefile --- Makefile.orig Sun Jan 12 17:29:17 2020 +++ MakefileFri Mar 27 11:59:56 2020 @@ -2,7 +2,7 @@ COMMENT= turbo assembler compatible cross-assembler for 65xx -DISTNAME= 64tass-1.54.1900-src +DISTNAME= 64tass-1.55.2176-src PKGNAME= ${DISTNAME:S/-src//} EXTRACT_SUFX= .zip CATEGORIES=devel diff -u distinfo.orig distinfo --- distinfoSun Jan 12 17:29:17 2020 +++ distinfoFri Mar 27 12:00:32 2020 @@ -1,2 +1,2 @@ -SHA256 (64tass-1.54.1900-src.zip) = W/KN/MdjGiCj7X4wilD+IZ2KZBetWdHRFig27DoVBu4= -SIZE (64tass-1.54.1900-src.zip) = 700835 +SHA256 (64tass-1.55.2176-src.zip) = F+5i/LXkfHOimrusLCduaEdOQzKtl9FONbpSyQda11k= +SIZE (64tass-1.55.2176-src.zip) = 718764
Re: UPDATE: Tor Browser 9.0.7
Is there a way to push this update to the -stable branch Or does the -stable package version stays constant? Because the 8.0.9 version doesn't work. Not in pkg_add nor in the ports.
Re: UPDATE: Tor Browser 9.0.7
The latest tor-browser in ports is version 8.0.9, then how come this diff contains the version 9.0.6. Can anyone enlighten me on this. Is my ports system lagging?
ports: pkg_add as root
I'm have never tried the ports system before. I have read through the faq and the man pages, but I get stuck at building dependencies. I follow through the fetch,checksum steps and then for 'make prepare' as local user, I'm greeted with following message. This is for the 'rsnapshot' package ===> Building package for rsync-3.1.3 Create /usr/ports/packages/amd64/all/rsync-3.1.3.tgz Creating package rsync-3.1.3 Link to /usr/ports/packages/amd64/ftp/rsync-3.1.3.tgz ===> Cleaning for rsync-3.1.3 ===> Verifying specs: c ===> found c.95.1 ===> Installing rsync-3.1.3 from /usr/ports/packages/amd64/all/ pkg_add: pkg_add must be run as root *** Error 1 in /usr/ports/net/rsync (/usr/ports/infrastructure/mk/bsd.port.mk:2028 '/var/db/pkg/rsync-3.1.3/+CONTENTS': @/usr/bin/env -i PKG...) *** Error 1 in /usr/ports/net/rsync (/usr/ports/infrastructure/mk/bsd.port.mk:2451 'install') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2135 '/usr/ports/pobj/rsnapshot-1.4.2/.dep-net-rsync') *** Error 1 in /usr/ports/net/rsnapshot (/usr/ports/infrastructure/mk/bsd.port.mk:2451 'prepare') I have successfully installed programs with no dependencies using command 'doas make install' as the final step, after fetch,patch,gen,configure,etc. Is this the right way? Why doesn't a make install command as a local user while in 'net/rsnapshot' call doas on it's own?
zynaddsubfx plugin in lmms-1.2.0
I installed lmms-1.2.0 using pkg_add command. And the zynaddsubfx plugin which is supposed to be included in lmms is not there. Opening most demo's yields plugin not found error. For those leeway can be suggested, but zynaddsubfx is a very important plugin. I hope the porters of lmms look into this.