CVS: cvs.openbsd.org: ports

2018-02-28 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2018/03/01 00:16:48

Modified files:
x11/xfce4/xfce4-settings: Makefile distinfo 
x11/xfce4/xfce4-settings/pkg: PLIST 

Log message:
Update to xfce4-settings 4.12.2.

See https://mail.xfce.org/pipermail/xfce-announce/2018-March/000584.html



[new] sysutils/rest-server

2018-02-28 Thread Aaron Bieber
Hio!

Here is a port of a restic (backup tool) backend.

>From DESCR:
  Rest Server is a high performance HTTP server that implements restic's REST
  backend API.

The readme file is basically pulled form their README.md file and
tweaked to work with httpd in base.

Makefile is in order :P

OK?

Cheers,
Aaron

--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE


rest-server-0.9.7.tgz
Description: Binary data


Re: [new] sysutils/restic

2018-02-28 Thread Aaron Bieber
On Sun, Feb 18, 2018 at 01:56:32PM -0700, Aaron Bieber wrote:
> Hi!
>
> Here is a nifty backup tool written in Go and BSD licensed. It supports
> a grip of backends:
>
>  - Local directory
>  - sftp server (via SSH)
>  - HTTP REST server (protocol rest-server)
>  - AWS S3 (either from Amazon or using the Minio server)
>  - OpenStack Swift
>  - BackBlaze B2
>  - Microsoft Azure Blob Storage
>  - Google Cloud Storage
>
> I also have a port for the "rest-server" backend - but I am waiting on a
> new release that will incude support for bcrypt'd password (so we can
> use htpasswd from base).
>
> Clue sticks? OKs?
>
> The version in openbsd-wip is the same as attached.
>
> Cheers,
> Aaron
>
> --
> PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE

Here is an updated version with some fixes sthen@ and bket@ pointed out!

--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE


restic-0.8.3.tgz
Description: Binary data


[update] shells/fish to 2.7.1

2018-02-28 Thread Aaron Bieber
Hio!

Here is a fairly trivial update that brings fish to the latest.

The tarballs are no longer hosted on fish's site, so pull them from
github. OK?

Index: Makefile
===
RCS file: /cvs/ports/shells/fish/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile28 Dec 2017 19:57:22 -  1.2
+++ Makefile1 Mar 2018 00:03:35 -
@@ -2,7 +2,7 @@

 COMMENT =  friendly interactive shell

-V =2.7.0
+V =2.7.1
 DISTNAME = fish-$V

 CATEGORIES =   shells
@@ -14,7 +14,7 @@ PERMIT_PACKAGE_CDROM =Yes

 WANTLIB += ${COMPILER_LIBCXX} c curses intl m pcre2-32

-MASTER_SITES = https://fishshell.com/files/$V/
+MASTER_SITES = 
https://github.com/fish-shell/fish-shell/releases/download/${V}/

 # C++11
 COMPILER = base-clang ports-gcc ports-clang
Index: distinfo
===
RCS file: /cvs/ports/shells/fish/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo16 Dec 2017 05:14:32 -  1.1.1.1
+++ distinfo1 Mar 2018 00:03:35 -
@@ -1,2 +1,2 @@
-SHA256 (fish-2.7.0.tar.gz) = Ona3yukvn4iGPDXIMtJCf7ZggvmOkqAiA9yQC4+oe8s=
-SIZE (fish-2.7.0.tar.gz) = 5760470
+SHA256 (fish-2.7.1.tar.gz) = 5CuxnHWGNWkFpYV4GQvnkt+WD6gd417/scpaWpgfDFo=
+SIZE (fish-2.7.1.tar.gz) = 5760550

--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Adam Wolk
CVSROOT:/cvs
Module name:ports
Changes by: aw...@cvs.openbsd.org   2018/02/28 15:52:53

Modified files:
devel/zeal : Makefile distinfo 

Log message:
devel/zeal 0.5.0 => 0.6.0

OK abieber@



Re: UPDATE: burp -> 2.0/2.0.54, stable (2.1.28)

2018-02-28 Thread Jiri B
On Wed, Feb 28, 2018 at 10:05:57PM +, Stuart Henderson wrote:
> > I hope I finally was successful to make diff for burp.
> 
> Diff only has one of the two versions. Can you just send a tar?

OK, new diff and tarball attached.

> > - moving current port version into '2.0' subdir
> > - adding 'stable' subdir for 2.1.28
> 
> 2.0 and 'stable' doesn't seem very natural. I think this would
> be better named 2.0 and 2.1.
> 
> > - I would love to know how to build -static flavor so I could use burp
> >   for disaster recovery from ramdisk env.
> 
> You're into custom ramdisks then really, which is beyond the scope of
> ports. It would probably need to be non-PIE as well as static. I think
> you'd have less trouble with a USB stick or netboot installation
> rather than ramdisk for DR.

I was using install and restore over it in the past - although on RHEL -
and I was not very happy about it, too much fragile IMO.

Thank you for help.

Jiri

diff --git sysutils/burp/2.0/Makefile sysutils/burp/2.0/Makefile
new file mode 100644
index 000..ceb51612cbf
--- /dev/null
+++ sysutils/burp/2.0/Makefile
@@ -0,0 +1,13 @@
+# $OpenBSD: Makefile,v 1.3 2018/02/09 10:41:45 nigel Exp $
+
+VERSION =  2.0.54
+REVISION = 1
+
+post-patch:
+   ${SUBST_CMD} ${WRKSRC}/src/client/monitor/status_client_ncurses.c
+
+post-install:
+   @rm -Rf ${WRKINST}/${SYSCONFDIR}/burp/autoupgrade
+   @mv ${WRKINST}/${SYSCONFDIR}/burp ${PREFIX}/share/examples/burp
+
+.include 
diff --git sysutils/burp/distinfo sysutils/burp/2.0/distinfo
similarity index 100%
rename from sysutils/burp/distinfo
rename to sysutils/burp/2.0/distinfo
diff --git sysutils/burp/patches/patch-Makefile_in 
sysutils/burp/2.0/patches/patch-Makefile_in
similarity index 100%
rename from sysutils/burp/patches/patch-Makefile_in
rename to sysutils/burp/2.0/patches/patch-Makefile_in
diff --git sysutils/burp/patches/patch-configs_client_burp_conf_in 
sysutils/burp/2.0/patches/patch-configs_client_burp_conf_in
similarity index 100%
rename from sysutils/burp/patches/patch-configs_client_burp_conf_in
rename to sysutils/burp/2.0/patches/patch-configs_client_burp_conf_in
diff --git sysutils/burp/patches/patch-configs_server_burp_conf_in 
sysutils/burp/2.0/patches/patch-configs_server_burp_conf_in
similarity index 100%
rename from sysutils/burp/patches/patch-configs_server_burp_conf_in
rename to sysutils/burp/2.0/patches/patch-configs_server_burp_conf_in
diff --git sysutils/burp/patches/patch-configs_server_timer_script 
sysutils/burp/2.0/patches/patch-configs_server_timer_script
similarity index 100%
rename from sysutils/burp/patches/patch-configs_server_timer_script
rename to sysutils/burp/2.0/patches/patch-configs_server_timer_script
diff --git 
sysutils/burp/patches/patch-src_client_monitor_status_client_ncurses_c 
sysutils/burp/2.0/patches/patch-src_client_monitor_status_client_ncurses_c
similarity index 100%
rename from 
sysutils/burp/patches/patch-src_client_monitor_status_client_ncurses_c
rename to 
sysutils/burp/2.0/patches/patch-src_client_monitor_status_client_ncurses_c
diff --git sysutils/burp/pkg/DESCR sysutils/burp/2.0/pkg/DESCR
similarity index 100%
rename from sysutils/burp/pkg/DESCR
rename to sysutils/burp/2.0/pkg/DESCR
diff --git sysutils/burp/pkg/PLIST sysutils/burp/2.0/pkg/PLIST
similarity index 98%
rename from sysutils/burp/pkg/PLIST
rename to sysutils/burp/2.0/pkg/PLIST
index 767d2faa6e1..71f076924f1 100644
--- sysutils/burp/pkg/PLIST
+++ sysutils/burp/2.0/pkg/PLIST
@@ -1,4 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2017/11/03 11:31:01 landry Exp $
+@option is-branch
+@conflict burp-*
 @newgroup _burp:794
 @newuser _burp:794:794:daemon:BackUp and Recovery 
Daemon:/var/empty:/sbin/nologin
 @bin bin/vss_strip
diff --git sysutils/burp/pkg/burp.rc sysutils/burp/2.0/pkg/burp.rc
similarity index 100%
rename from sysutils/burp/pkg/burp.rc
rename to sysutils/burp/2.0/pkg/burp.rc
diff --git sysutils/burp/Makefile sysutils/burp/Makefile
index c7292cb155d..abe55ff38ee 100644
--- sysutils/burp/Makefile
+++ sysutils/burp/Makefile
@@ -1,34 +1,7 @@
-# $OpenBSD: Makefile,v 1.3 2018/02/09 10:41:45 nigel Exp $
+# $OpenBSD$
 
-COMMENT =  BackUp and Restore Program
-DISTNAME = burp-2.0.54
-REVISION = 1
+SUBDIR =
+SUBDIR += 2.0
+SUBDIR += stable
 
-CATEGORIES =   sysutils
-HOMEPAGE = http://burp.grke.org/
-
-# AGPLv3
-PERMIT_PACKAGE_CDROM = Yes
-
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=burp/}
-EXTRACT_SUFX = .tar.bz2
-
-CONFIGURE_STYLE =  gnu
-INSTALL_TARGET =   install-all
-
-# check is used for tests but detected at configure time
-BUILD_DEPENDS =devel/uthash \
-   devel/check
-LIB_DEPENDS =  net/librsync
-RUN_DEPENDS =  shells/bash
-WANTLIB += b2 c crypto m curses rsync ssl z
-
-SUBST_VARS +=  TRUEPREFIX
-post-patch:
-   ${SUBST_CMD} ${WRKSRC}/src/client/monitor/status_client_ncurses.c
-
-post-install:
-   @rm -Rf ${WRKINST}/${SYSCONFDIR}/burp/autoupgrade
-   @mv ${WRKINST}/${SYSCONFDIR}/burp 

Re: UPDATE: burp -> 2.0/2.0.54, stable (2.1.28)

2018-02-28 Thread Stuart Henderson
On 2018/02/28 16:43, Jiri B wrote:
> On Thu, Feb 22, 2018 at 08:08:02PM -0500, Jiri B wrote:
> > I have no idea how to solve this - no conflict, thus one could have
> > old server and would like to install new client or vice-versa.
> > What to do with configuration files? I have no opinion.
> 
> Hi,
> 
> I hope I finally was successful to make diff for burp.

Diff only has one of the two versions. Can you just send a tar?

> - moving current port version into '2.0' subdir
> - adding 'stable' subdir for 2.1.28

2.0 and 'stable' doesn't seem very natural. I think this would
be better named 2.0 and 2.1.

> - I would love to know how to build -static flavor so I could use burp
>   for disaster recovery from ramdisk env.

You're into custom ramdisks then really, which is beyond the scope of
ports. It would probably need to be non-PIE as well as static. I think
you'd have less trouble with a USB stick or netboot installation
rather than ramdisk for DR.

> - If there would be pledge restrictions, it would be great too...

As a starting point: run it under ktrace, exercise as many options
as possible, figure out somewhere you can draw a line as "program has
initialised", and see which system calls it uses after that point.

> Question: I could not do 'make fetch' in 'stable' subdir, it was
> showing error that distinfo does not exist, no idea what's going on?!

make makesum, but you might still have problems until sourceforge
is a bit more mended.



UPDATE: burp -> 2.0/2.0.54, stable (2.1.28)

2018-02-28 Thread Jiri B
On Thu, Feb 22, 2018 at 08:08:02PM -0500, Jiri B wrote:
> I have no idea how to solve this - no conflict, thus one could have
> old server and would like to install new client or vice-versa.
> What to do with configuration files? I have no opinion.

Hi,

I hope I finally was successful to make diff for burp.

- moving current port version into '2.0' subdir
- adding 'stable' subdir for 2.1.28
- customizing Makefile and adding Makefile.inc
- making both ports 'conflict' and have '@option is-branch'

IIUC, both ports can be installed with something like:

  env PKG_DBDIR= pkg_add -B  

- I would love to know how to build -static flavor so I could use burp
  for disaster recovery from ramdisk env.
- If there would be pledge restrictions, it would be great too...

Question: I could not do 'make fetch' in 'stable' subdir, it was
showing error that distinfo does not exist, no idea what's going on?!

Jiri


diff --git Makefile Makefile
new file mode 100644
index 000..ceb51612cbf
--- /dev/null
+++ Makefile
@@ -0,0 +1,13 @@
+# $OpenBSD: Makefile,v 1.3 2018/02/09 10:41:45 nigel Exp $
+
+VERSION =  2.0.54
+REVISION = 1
+
+post-patch:
+   ${SUBST_CMD} ${WRKSRC}/src/client/monitor/status_client_ncurses.c
+
+post-install:
+   @rm -Rf ${WRKINST}/${SYSCONFDIR}/burp/autoupgrade
+   @mv ${WRKINST}/${SYSCONFDIR}/burp ${PREFIX}/share/examples/burp
+
+.include 
diff --git distinfo distinfo
new file mode 100644
index 000..8261a2d01ba
--- /dev/null
+++ distinfo
@@ -0,0 +1,2 @@
+SHA256 (burp-2.0.54.tar.bz2) = rhBHBYbx/uRVbqrls8UreM/A6sQQn0uCU8VJ5/8ADYY=
+SIZE (burp-2.0.54.tar.bz2) = 754566
diff --git patches/patch-Makefile_in patches/patch-Makefile_in
new file mode 100644
index 000..045e0419c45
--- /dev/null
+++ patches/patch-Makefile_in
@@ -0,0 +1,14 @@
+$OpenBSD: patch-Makefile_in,v 1.1.1.1 2017/11/03 11:31:01 landry Exp $
+
+Index: Makefile.in
+--- Makefile.in.orig
 Makefile.in
+@@ -625,7 +625,7 @@ sbindir = @sbindir@
+ scriptdir = @scriptdir@
+ sharedstatedir = @sharedstatedir@
+ srcdir = @srcdir@
+-sysconfdir = @sysconfdir@
++sysconfdir = @sysconfdir@/burp
+ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
diff --git patches/patch-configs_client_burp_conf_in 
patches/patch-configs_client_burp_conf_in
new file mode 100644
index 000..4b0fe24292f
--- /dev/null
+++ patches/patch-configs_client_burp_conf_in
@@ -0,0 +1,14 @@
+$OpenBSD: patch-configs_client_burp_conf_in,v 1.1.1.1 2017/11/03 11:31:01 
landry Exp $
+
+Index: configs/client/burp.conf.in
+--- configs/client/burp.conf.in.orig
 configs/client/burp.conf.in
+@@ -11,7 +11,7 @@ cname = testclient
+ # with a pseudo mirrored storage on the server and optional rsync). 2 forces
+ # protocol2 mode (inline deduplication with variable length blocks).
+ # protocol = 0
+-pidfile = @runstatedir@/burp.client.pid
++pidfile = @runstatedir@/burp/client.pid
+ syslog = 0
+ stdout = 1
+ progress_counter = 1
diff --git patches/patch-configs_server_burp_conf_in 
patches/patch-configs_server_burp_conf_in
new file mode 100644
index 000..e40588384a1
--- /dev/null
+++ patches/patch-configs_server_burp_conf_in
@@ -0,0 +1,26 @@
+$OpenBSD: patch-configs_server_burp_conf_in,v 1.1.1.1 2017/11/03 11:31:01 
landry Exp $
+
+Index: configs/server/burp.conf.in
+--- configs/server/burp.conf.in.orig
 configs/server/burp.conf.in
+@@ -22,7 +22,7 @@ clientconfdir = @sysconfdir@/clientconfdir
+ # Like many other settings, this can be set per client in the clientconfdir
+ # files.
+ # protocol = 0
+-pidfile = @runstatedir@/burp.server.pid
++pidfile = @runstatedir@/burp/server.pid
+ hardlinked_archive = 0
+ working_dir_recovery_method = delete
+ max_children = 5
+@@ -68,8 +68,9 @@ keep = 7
+ # keep = 6
+ 
+ # Run as different user/group.
+-# user=graham
+-# group=nogroup
++user=_burp
++group=_burp
++dedup_group=_burp
+ 
+ # CA options.
+ # If you want your server to be a certificate authority and generate its own
diff --git patches/patch-configs_server_timer_script 
patches/patch-configs_server_timer_script
new file mode 100644
index 000..1b1d569ea9f
--- /dev/null
+++ patches/patch-configs_server_timer_script
@@ -0,0 +1,42 @@
+$OpenBSD: patch-configs_server_timer_script,v 1.1.1.1 2017/11/03 11:31:01 
landry Exp $
+
+https://github.com/grke/burp/issues/627
+
+Index: configs/server/timer_script
+--- configs/server/timer_script.orig
 configs/server/timer_script
+@@ -77,29 +77,12 @@ get_intervals()
+ 
+   read junk ts < "$timestamp"
+ 
+-  if   ! secs=$(LANG=C LC_TIME=C date +%s -d "$ts") \
+-|| ! now=$(LANG=C LC_TIME=C date +"%Y-%m-%d %H:%M:%S") \
+-|| ! nowsecs=$(LANG=C LC_TIME=C date +%s -d "$now")
+-  then
+-  echo "$0: Date command returned error for $client."
+-  return 0
+-  fi
+-
++  mts=$(echo $ts | sed -e 's/-//g; s/ //; s/://; s/:/./')
++  secs=$(LANG=C LC_TIME=C date -j "$mts" +%s)
++  now=$(LANG=C 

CVS: cvs.openbsd.org: ports

2018-02-28 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2018/02/28 12:39:50

Modified files:
net/openafs: Makefile 
net/openafs/patches: patch-src_config_afs_sysnames_h 

Log message:
recognize OpenBSD 6.3



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2018/02/28 12:30:15

Modified files:
devel/py-gobject3: Makefile 

Log message:
OSREV is no longer referenced in PLIST



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/02/28 12:23:56

Modified files:
devel/libf2c   : Makefile 
editors/xemacs21/stable: Makefile 
lang/g77   : Makefile 
lang/gcc/4.6   : Makefile 
lang/gcc/4.9   : Makefile 
lang/pcc   : Makefile 
lang/swi-prolog: Makefile 
math/octave: Makefile 
x11/e17/e  : Makefile 
x11/e17/elementary: Makefile 
x11/e17/emotion: Makefile 
x11/e17/evas   : Makefile 

Log message:
bump; plist changes now we are at 6.3-beta



Re: [UPDATE] devel/arduino 1.8.5

2018-02-28 Thread Brian Conway
Please ignore for now, an include/library path issue slipped through.

Brian Conway
Software Engineer, Owner
RCE Software, LLC


On Tue, Feb 27, 2018 at 1:30 PM, Brian Conway  wrote:
> Greetings. This update builds on the work done by Edd Barrett in 2015:
>
> https://marc.info/?t=14283152151=1=2
>
> Let me apologize in advance for failing to get `cvs diff` working
> appropriately, I've attached a `diff -pruN` against head and a tarball
> of the same.
>
> Changes since the 1.6.3 attempt include:
> - Update Arduino to 1.8.5 and reference.zip (docs) to 1.6.6-3.
> - Move from GH* tags to releases, per the recent thread.
> - Set the default UPLOAD_RATE in the template Makefile to 57600. My
> Nano clones (CH341 chip) all bomb out with 'avrdude: stk500_recv():
> programmer is not responding' when connecting at 115200. Perhaps this
> is a more compatible default?
> - Regenerate alibs.mk.
> - As noted in the previous discussion, some libraries and hardware
> (SAM) were moved out of the core Arduino package. I have not made any
> attempt to re-add them here.
>
> This port works well for me, but I have limited hardware to test it
> with. Help testing and/or pointers appreciated!
>
> Brian Conway
> Software Engineer, Owner
> RCE Software, LLC



Re: Porters, please read re GitHub auto-generated tarballs vs releases

2018-02-28 Thread Stuart Henderson
On 2018/02/28 18:03, Remi Pointel wrote:

Most of them look ok, but for plaso:

> -SHA256 (plaso-20180127.tar.gz) = i7wASIbQIw3HtlYU9DatjwI3/DYyx5S/zDGVzsgx1L8=
> -SIZE (plaso-20180127.tar.gz) = 110251128
> +SHA256 (plaso-20180127.tar.gz) = kA10e1j2UrkTxhSf3YnSGTPf++3KaktvT5W2OE+C8nU=
> +SIZE (plaso-20180127.tar.gz) = 109492062


- Forwarded message from Stuart Henderson  -

From: Stuart Henderson 
Date: Tue, 27 Feb 2018 22:36:51 +
To: Thomas Frohwein 
Cc: ports@openbsd.org
User-Agent: Mutt/1.9.3 (2018-01-21)
Subject: Re: fs2open - switch to release
Mail-Followup-To: Thomas Frohwein , ports@openbsd.org

On 2018/02/27 10:16, Thomas Frohwein wrote:
> This diff switches fs2open to the release tarball. Simplifies things a ton
> because now it doesn't need to fetch the git submodules separately. Includes
> REVISION bump and new HOMEPAGE line.
> 
> Builds and runs as before on a quick test run.

This is a big improvement imho. Only problem is that the distfile name
is unchanged which isn't handled very well in bulk builds at the moment
(distfiles are shared between multiple arches, which are building from
different versions of the tree - we could easily have 2 or 3 fast-arch
builds, then a slow arch tries to build it and wants the old version,
then fast arches build again, then another slow one, etc).

Obviously this is not just going to affect fs2open but some other ports
which are moved to /releases too, so let's pick a standard method to
handle it before proceeding.

> +DISTFILES =  ${DISTNAME}${EXTRACT_SUFX}

This line is the default so could normally be removed. But due to the
distfile issue above I would propose this instead for now, and remove at
next update:

DISTFILES = ${DISTNAME}_1{${DISTNAME}}${EXTRACT_SUFX}

And with this the distinfo would change to:

SHA256 (fs2_open_3_8_0-source-Unix_1.tar.gz) = 
0m/4tma9rh6fQquvL0mNs2EJPyKJ2nhVXx9vu6dWIic=
SIZE (fs2_open_3_8_0-source-Unix_1.tar.gz) = 9040907

Does that make sense?


- End forwarded message -



Re: Porters, please read re GitHub auto-generated tarballs vs releases

2018-02-28 Thread Remi Pointel

Le 27-02-2018 13:28, Stuart Henderson a écrit :


security/plaso
security/py-dfdatetime
security/py-dfvfs
security/py-dfwinreg


Hello,

these are the diff for these 4 ports.

Ok?

Cheers,

Remi.
Index: Makefile
===
RCS file: /cvs/ports/security/plaso/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile	1 Feb 2018 13:25:08 -	1.5
+++ Makefile	28 Feb 2018 16:35:34 -
@@ -4,6 +4,7 @@ COMMENT =		engine and tools to automate 
 
 MODPY_EGG_VERSION =	20180127
 DISTNAME =		plaso-${MODPY_EGG_VERSION}
+REVISION =		0
 
 CATEGORIES =		security
 
@@ -14,9 +15,9 @@ MAINTAINER =		Remi Pointel 
+
+MASTER_SITES =	https://github.com/log2timeline/dfdatetime/releases/download/${MODPY_EGG_VERSION}/
 
 # Apachev2
 PERMIT_PACKAGE_CDROM =	Yes
Index: distinfo
===
RCS file: /cvs/ports/security/py-dfdatetime/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo	1 Feb 2018 13:22:27 -	1.5
+++ distinfo	28 Feb 2018 16:40:51 -
@@ -1,2 +1,2 @@
-SHA256 (py-dfdatetime-20180110.tar.gz) = 9cgyvh7RiMFHZfTGMHPoou6L6DH3UkRubFAEEqzjsCo=
-SIZE (py-dfdatetime-20180110.tar.gz) = 42827
+SHA256 (dfdatetime-20180110.tar.gz) = arQdWIqe2UbHmIXDsPJNd5mcaV8dU2Qzxf8a8wn7yKE=
+SIZE (dfdatetime-20180110.tar.gz) = 36075
Index: Makefile
===
RCS file: /cvs/ports/security/py-dfvfs/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile	6 Jan 2018 10:09:18 -	1.6
+++ Makefile	28 Feb 2018 17:00:57 -
@@ -3,16 +3,16 @@
 COMMENT =	Digital Forensics Virtual File System (dfVFS)
 
 MODPY_EGG_VERSION = 20171230
-DISTNAME =	py-dfvfs-${MODPY_EGG_VERSION}
-
-GH_ACCOUNT =	log2timeline
-GH_PROJECT =	dfvfs
-GH_TAGNAME =	${MODPY_EGG_VERSION}
+DISTNAME =	dfvfs-${MODPY_EGG_VERSION}
+PKGNAME =	py-${DISTNAME}
+REVISION =	0
 
 CATEGORIES =	security
 
 HOMEPAGE =	https://github.com/log2timeline/dfvfs/wiki
 
+MASTER_SITES =	https://github.com/log2timeline/dfvfs/releases/download/${MODPY_EGG_VERSION}/
+
 MAINTAINER =	Remi Pointel 
 
 # Apachev2
@@ -40,6 +40,7 @@ RUN_DEPENDS +=	devel/py-construct \
 		sysutils/libvslvm
 
 do-test:
+	touch ${WRKSRC}/utils/__init__.py
 	cd ${WRKSRC} && LC_CTYPE='en_US.UTF-8' ${MODPY_BIN} run_tests.py
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/security/py-dfvfs/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo	6 Jan 2018 10:09:18 -	1.6
+++ distinfo	28 Feb 2018 17:00:57 -
@@ -1,2 +1,2 @@
-SHA256 (py-dfvfs-20171230.tar.gz) = +xm1mn8GfEAJE7YjUQKVl0/G+ZmhAkfbKXPZfPp2AzE=
-SIZE (py-dfvfs-20171230.tar.gz) = 77712183
+SHA256 (dfvfs-20171230.tar.gz) = ngD71BjLMimHEch+eGexsu1eXXX24NXDvQZkRsSBrR0=
+SIZE (dfvfs-20171230.tar.gz) = 77713170
Index: Makefile
===
RCS file: /cvs/ports/security/py-dfwinreg/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile	14 Nov 2017 06:52:19 -	1.2
+++ Makefile	28 Feb 2018 17:03:05 -
@@ -3,16 +3,16 @@
 COMMENT =	Digital Forensics Windows Registry (dfWinReg)
 
 MODPY_EGG_VERSION = 20170706
-DISTNAME =	py-dfwinreg-${MODPY_EGG_VERSION}
-
-GH_ACCOUNT =	log2timeline

Re: Porters, please read re GitHub auto-generated tarballs vs releases

2018-02-28 Thread Antoine Jacoutot
On Wed, Feb 28, 2018 at 01:49:44PM +, Rafael Sadowski wrote:
> On Tue Feb 27, 2018 at 12:28:07PM +, Stuart Henderson wrote:
> > 
> > archivers/deutex
> > astro/stellarium
> > textproc/enchant
> > textproc/libical
> 

Please keep your changes to a minimum. i.e only the github stuff changes.


> 
> > 
> 
> 
> Index: textproc/enchant/Makefile
> ===
> RCS file: /cvs/ports/textproc/enchant/Makefile,v
> retrieving revision 1.39
> diff -u -p -r1.39 Makefile
> --- textproc/enchant/Makefile 29 Dec 2017 08:30:05 -  1.39
> +++ textproc/enchant/Makefile 28 Feb 2018 13:45:20 -
> @@ -5,15 +5,8 @@ PORTROACH=   limit:^1
>  COMMENT= generic spell checking library
>  
>  V=   1.6.1
> -GH_ACCOUNT=  AbiWord
> -GH_PROJECT=  enchant
> -GH_TAGNAME=  enchant-${V:S/./-/g}
> -REVISION=1
> -
> -# XXX needed for portroach (DISTNAME must match the GH_PROJECT-GH_TAGNAME)
> -MASTER_SITES=
> https://github.com/AbiWord/enchant/releases/download/${GH_PROJECT}-${V:S/./-/g}/
> -DISTNAME=${GH_PROJECT}-${V}
> -WRKDIST= ${WRKDIR}/${DISTNAME}
> +DISTNAME =   enchant-${V}
> +REVISION=2
>  
>  SHARED_LIBS +=  enchant  6.1  # 7.1
>  
> @@ -29,6 +22,9 @@ PERMIT_PACKAGE_CDROM=   Yes
>  WANTLIB += aspell c glib-2.0 gmodule-2.0 hunspell-1.6 iconv intl
>  WANTLIB += m pcre pthread ${LIBCXX}
>  
> +MASTER_SITES=
> https://github.com/AbiWord/enchant/releases/download/${DISTNAME:S/./-/g}/
> +WRKDIST= ${WRKDIR}/${DISTNAME}
> +
>  # c++11
>  COMPILER =   base-clang ports-gcc
>  
> @@ -50,7 +46,7 @@ CONFIGURE_ARGS= --with-aspell-prefix=${
>   --disable-uspell \
>   --disable-hspell
>  
> -###
> +
>  AUTOCONF_VERSION=2.69
>  AUTOMAKE_VERSION=1.15
>  BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
> @@ -62,7 +58,6 @@ pre-configure:
>   AUTOCONF_VERSION=${AUTOCONF_VERSION} \
>   AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
>   autoreconf -fi
> -###
>  
>  post-install:
>   rm ${PREFIX}/lib/enchant/*.{a,la}
> Index: textproc/libical/Makefile
> ===
> RCS file: /cvs/ports/textproc/libical/Makefile,v
> retrieving revision 1.32
> diff -u -p -r1.32 Makefile
> --- textproc/libical/Makefile 18 Feb 2018 08:53:50 -  1.32
> +++ textproc/libical/Makefile 28 Feb 2018 13:45:20 -
> @@ -3,12 +3,13 @@
>  COMMENT-main=implementation of the iCalendar protocols and 
> data units
>  COMMENT-glib=GObject wrapper for libical library
>  
> -GH_ACCOUNT=  libical
> -GH_PROJECT=  libical
> -GH_TAGNAME=  v3.0.2
> +V=   3.0.2
> +DISTNAME =   libical-${V}
>  
> -PKGNAME-main=${PKGNAME}
> -PKGNAME-glib=${GH_PROJECT}-glib-${GH_TAGNAME:C/^v//}
> +DISTNAME-main=   ${DISTNAME}
> +DISTNAME-glib=   libical-glib-${V}
> +REVISION-glib=   0
> +REVISION-main=   0
>  
>  SHARED_LIBS +=  ical 4.0
>  SHARED_LIBS +=  icalss   4.0
> @@ -19,16 +20,18 @@ SHARED_LIBS +=  ical-glib0.0
>  
>  CATEGORIES=  textproc
>  
> -MAINTAINER=  Antoine Jacoutot 
> -
>  HOMEPAGE=https://libical.github.io/libical/
>  
> +MAINTAINER=  Antoine Jacoutot 
> +
>  # dual MPLv2, LGPLv2.1
>  PERMIT_PACKAGE_CDROM=Yes
>  
>  WANTLIB += icui18n icuuc
>  WANTLIB-main += ${WANTLIB} ${COMPILER_LIBCXX} m lib/db4/db
>  WANTLIB-glib += ${WANTLIB} ical glib-2.0 gobject-2.0 intl pthread
> +
> +MASTER_SITES =   
> https://github.com/libical/libical/releases/download/v${V}/
>  
>  MULTI_PACKAGES=  -main -glib
>  
> Index: textproc/libical/distinfo
> ===
> RCS file: /cvs/ports/textproc/libical/distinfo,v
> retrieving revision 1.10
> diff -u -p -r1.10 distinfo
> --- textproc/libical/distinfo 18 Feb 2018 08:53:50 -  1.10
> +++ textproc/libical/distinfo 28 Feb 2018 13:45:20 -
> @@ -1,2 +1,2 @@
> -SHA256 (libical-3.0.2.tar.gz) = +Wmb6FIeGuoZCnyHgCgF0ziOCj9Zqbn67exJD1loB6A=
> +SHA256 (libical-3.0.2.tar.gz) = DLw/1jCWbh2u0t0cONI2Ig0WbBSfJFv9o8itdF4rZA4=
>  SIZE (libical-3.0.2.tar.gz) = 865856
> Index: archivers/deutex/Makefile
> ===
> RCS file: /cvs/ports/archivers/deutex/Makefile,v
> retrieving revision 1.2
> diff -u -p -r1.2 Makefile
> --- archivers/deutex/Makefile 16 Jan 2018 08:51:34 -  1.2
> +++ archivers/deutex/Makefile 28 Feb 2018 13:45:21 -
> @@ -5,6 +5,7 @@ COMMENT = WAD composer for Doom, Heretic
>  GH_ACCOUNT = Doom-Utils
>  GH_PROJECT = deutex

Re: Porters, please read re GitHub auto-generated tarballs vs releases

2018-02-28 Thread Stuart Henderson
> -SHA256 (libical-3.0.2.tar.gz) = +Wmb6FIeGuoZCnyHgCgF0ziOCj9Zqbn67exJD1loB6A=
> +SHA256 (libical-3.0.2.tar.gz) = DLw/1jCWbh2u0t0cONI2Ig0WbBSfJFv9o8itdF4rZA4=

Same problem again.

> -SHA256 (stellarium-0.17.0.tar.gz) = 
> xb4nP4gN4GvwLQQy0sr44r64sWlb7ahs5+t1mI8jdDY=
> -SIZE (stellarium-0.17.0.tar.gz) = 252733565
> +SHA256 (stellarium-0.17.0.tar.gz) = 
> zCHi2vVDOwuZxugRARcbR9p7J4tsPk5DPN5FVbQbyzQ=
> +SIZE (stellarium-0.17.0.tar.gz) = 252377198

And again.



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2018/02/28 08:34:08

Modified files:
math   : Makefile 

Log message:
Add p5-Math-Int128.



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2018/02/28 08:31:42

Log message:
Import math/p5-Math-Int128.

This module adds support for 128 bit integers, signed and unsigned, to Perl.

OK giovanni@

Status:

Vendor Tag: fcambus
Release Tags:   fcambus_20180228

N ports/math/p5-Math-Int128/Makefile
N ports/math/p5-Math-Int128/distinfo
N ports/math/p5-Math-Int128/pkg/PLIST
N ports/math/p5-Math-Int128/pkg/DESCR

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Giovanni Bechis
CVSROOT:/cvs
Module name:ports
Changes by: giova...@cvs.openbsd.org2018/02/28 08:11:26

Modified files:
net: Makefile 

Log message:
+p5-IP-Country-DB_File



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Giovanni Bechis
CVSROOT:/cvs
Module name:ports
Changes by: giova...@cvs.openbsd.org2018/02/28 08:06:17

Log message:
Import IP::Country::DB_File, a module that translates IPv4
and IPv6 addresses to countries using DB_File.

ok sthen@

pkg/DESCR:
IP::Country::DB_File is a light-weight module for fast IP address
to country translation based on DB_File. The country code database
is stored in a Berkeley DB file. You have to build the database
using build_ipcc.pl or IP::Country::DB_File::Builder before you can
lookup country codes.

This module tries to be API compatible with the other IP::Country
modules.

Status:

Vendor Tag: giovanni
Release Tags:   giovanni_20180228

N ports/net/p5-IP-Country-DB_File/Makefile
N ports/net/p5-IP-Country-DB_File/distinfo
N ports/net/p5-IP-Country-DB_File/pkg/PLIST
N ports/net/p5-IP-Country-DB_File/pkg/DESCR

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/02/28 08:02:22

Modified files:
math/calc  : Makefile distinfo 

Log message:
update to calc-2.12.6.6



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2018/02/28 08:01:08

Modified files:
net/librenms   : Makefile 

Log message:
unbreak do-install, extra librenms/ in rm path. reported by naddy@



Re: CVS: cvs.openbsd.org: ports

2018-02-28 Thread Stuart Henderson
On 2018/02/28 05:48, Rafael Sadowski wrote:
> CVSROOT:  /cvs
> Module name:  ports
> Changes by:   rsadow...@cvs.openbsd.org   2018/02/28 05:48:01
> 
> Modified files:
>   x11/compton: Makefile distinfo 
>   x11/xdotool: Makefile distinfo 
>   x11/xwallpaper : Makefile distinfo 
> 
> Log message:
> Switch from GitHub auto-generated tarballs to MASTER_SITES.
> 
> ok landry@
> 

xdotool and xwallpaper are not ok with me..



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Nigel Taylor
CVSROOT:/cvs
Module name:ports
Changes by: ni...@cvs.openbsd.org   2018/02/28 07:08:36

Modified files:
multimedia/get_flash_videos: Makefile distinfo 
multimedia/get_flash_videos/pkg: PLIST 

Log message:
Update version and stop using GitHub autogenerated tarball
Ok sthen@



Re: Porters, please read re GitHub auto-generated tarballs vs releases

2018-02-28 Thread Rafael Sadowski
On Tue Feb 27, 2018 at 12:28:07PM +, Stuart Henderson wrote:
> 
> archivers/deutex
> astro/stellarium
> textproc/enchant
> textproc/libical
> 


Index: textproc/enchant/Makefile
===
RCS file: /cvs/ports/textproc/enchant/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- textproc/enchant/Makefile   29 Dec 2017 08:30:05 -  1.39
+++ textproc/enchant/Makefile   28 Feb 2018 13:45:20 -
@@ -5,15 +5,8 @@ PORTROACH= limit:^1
 COMMENT=   generic spell checking library
 
 V= 1.6.1
-GH_ACCOUNT=AbiWord
-GH_PROJECT=enchant
-GH_TAGNAME=enchant-${V:S/./-/g}
-REVISION=  1
-
-# XXX needed for portroach (DISTNAME must match the GH_PROJECT-GH_TAGNAME)
-MASTER_SITES=  
https://github.com/AbiWord/enchant/releases/download/${GH_PROJECT}-${V:S/./-/g}/
-DISTNAME=  ${GH_PROJECT}-${V}
-WRKDIST=   ${WRKDIR}/${DISTNAME}
+DISTNAME = enchant-${V}
+REVISION=  2
 
 SHARED_LIBS +=  enchant  6.1  # 7.1
 
@@ -29,6 +22,9 @@ PERMIT_PACKAGE_CDROM= Yes
 WANTLIB += aspell c glib-2.0 gmodule-2.0 hunspell-1.6 iconv intl
 WANTLIB += m pcre pthread ${LIBCXX}
 
+MASTER_SITES=  
https://github.com/AbiWord/enchant/releases/download/${DISTNAME:S/./-/g}/
+WRKDIST=   ${WRKDIR}/${DISTNAME}
+
 # c++11
 COMPILER = base-clang ports-gcc
 
@@ -50,7 +46,7 @@ CONFIGURE_ARGS=   --with-aspell-prefix=${
--disable-uspell \
--disable-hspell
 
-###
+
 AUTOCONF_VERSION=  2.69
 AUTOMAKE_VERSION=  1.15
 BUILD_DEPENDS +=   ${MODGNU_AUTOCONF_DEPENDS} \
@@ -62,7 +58,6 @@ pre-configure:
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
autoreconf -fi
-###
 
 post-install:
rm ${PREFIX}/lib/enchant/*.{a,la}
Index: textproc/libical/Makefile
===
RCS file: /cvs/ports/textproc/libical/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- textproc/libical/Makefile   18 Feb 2018 08:53:50 -  1.32
+++ textproc/libical/Makefile   28 Feb 2018 13:45:20 -
@@ -3,12 +3,13 @@
 COMMENT-main=  implementation of the iCalendar protocols and data units
 COMMENT-glib=  GObject wrapper for libical library
 
-GH_ACCOUNT=libical
-GH_PROJECT=libical
-GH_TAGNAME=v3.0.2
+V= 3.0.2
+DISTNAME = libical-${V}
 
-PKGNAME-main=  ${PKGNAME}
-PKGNAME-glib=  ${GH_PROJECT}-glib-${GH_TAGNAME:C/^v//}
+DISTNAME-main= ${DISTNAME}
+DISTNAME-glib= libical-glib-${V}
+REVISION-glib= 0
+REVISION-main= 0
 
 SHARED_LIBS +=  ical 4.0
 SHARED_LIBS +=  icalss   4.0
@@ -19,16 +20,18 @@ SHARED_LIBS +=  ical-glib0.0
 
 CATEGORIES=textproc
 
-MAINTAINER=Antoine Jacoutot 
-
 HOMEPAGE=  https://libical.github.io/libical/
 
+MAINTAINER=Antoine Jacoutot 
+
 # dual MPLv2, LGPLv2.1
 PERMIT_PACKAGE_CDROM=  Yes
 
 WANTLIB += icui18n icuuc
 WANTLIB-main += ${WANTLIB} ${COMPILER_LIBCXX} m lib/db4/db
 WANTLIB-glib += ${WANTLIB} ical glib-2.0 gobject-2.0 intl pthread
+
+MASTER_SITES = 
https://github.com/libical/libical/releases/download/v${V}/
 
 MULTI_PACKAGES=-main -glib
 
Index: textproc/libical/distinfo
===
RCS file: /cvs/ports/textproc/libical/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- textproc/libical/distinfo   18 Feb 2018 08:53:50 -  1.10
+++ textproc/libical/distinfo   28 Feb 2018 13:45:20 -
@@ -1,2 +1,2 @@
-SHA256 (libical-3.0.2.tar.gz) = +Wmb6FIeGuoZCnyHgCgF0ziOCj9Zqbn67exJD1loB6A=
+SHA256 (libical-3.0.2.tar.gz) = DLw/1jCWbh2u0t0cONI2Ig0WbBSfJFv9o8itdF4rZA4=
 SIZE (libical-3.0.2.tar.gz) = 865856
Index: archivers/deutex/Makefile
===
RCS file: /cvs/ports/archivers/deutex/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- archivers/deutex/Makefile   16 Jan 2018 08:51:34 -  1.2
+++ archivers/deutex/Makefile   28 Feb 2018 13:45:21 -
@@ -5,6 +5,7 @@ COMMENT =   WAD composer for Doom, Heretic
 GH_ACCOUNT =   Doom-Utils
 GH_PROJECT =   deutex
 GH_TAGNAME =   v5.1.1
+REVISION = 0
 
 CATEGORIES =   archivers
 
@@ -24,9 +25,7 @@ AUTOCONF_VERSION =2.69
 AUTOMAKE_VERSION = 1.15
 
 pre-configure:
-   cd ${WRKDIST} && \
-   AUTOCONF_VERSION="${AUTOCONF_VERSION}" \
-   AUTOMAKE_VERSION="${AUTOMAKE_VERSION}" \
-   autoreconf -i
+   cd ${WRKSRC} && ${SETENV} AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
+   

Re: [New] pkgconf 1.4.2

2018-02-28 Thread Adam Steen
‐‐‐ Original Message ‐‐‐

On February 28, 2018 12:26 PM, Adam Steen  wrote:

> ​​
> 
> ‐‐‐ Original Message ‐‐‐
> 
> On February 23, 2018 12:37 PM, Stuart Henderson s...@spacehopper.org wrote:
> 
> > On 2018/02/23 06:46, Adam Steen wrote:
> > 
> > > Thank you that worked perfectly, now for some testing.
> > > 
> > > Please note
> > > 
> > > pkg-config -> https://www.freedesktop.org/wiki/Software/pkg-config/
> > > 
> > > is different from
> > > 
> > > pkgconf -> https://github.com/pkgconf/pkgconf
> > > 
> > > Cheers
> > > 
> > > Adam
> > 
> > Yes, I realise, but pkgconf just copied pkg.m4 from pkg-config.
> 
> Hi Stuart
> 
> Thank you, I didn't realise.
> 
> Hi Ports
> 
> Here is a new port "devel/pkgconf", it is needed are part of my long term
> 
> goal to port MirageOS/Solo5 to OpenBSD/vmm.
> 
> After using it pgfconf over the weekend on my laptop, it appears to be working
> 
> fine.
> 
> I hope to get this committed to ports.
> 
> Cheers
> 
> Adam

and attached.


pkgconf-1.4.2.tar.gz
Description: application/gzip


CVS: cvs.openbsd.org: ports

2018-02-28 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2018/02/28 06:43:30

Modified files:
x11/xwallpaper : Makefile 

Log message:
unbreak build

Switch from `autoreconf -i` to `autoreconf -fiv`. Regenerate provided auticonf
configure script.



Re: Porters, please read re GitHub auto-generated tarballs vs releases

2018-02-28 Thread Stuart Henderson
> -SHA256 (xdotool-3.20150503.1.tar.gz) = 
> sJfvDjiX0aJOP0Xw+u1YMpdC09lDS5tG65frEED5mb8=
> +SHA256 (xdotool-3.20150503.1.tar.gz) = 
> 6DJog71ekb7eczbL7hhubpFD9As/thyEr8m7Mbh+ltE=

> -SHA256 (xwallpaper-0.3.0.tar.gz) = 
> QZOfr3su+ShuOYX71hR8507BOYwR7IUUVK2+9aNulsU=
> +SHA256 (xwallpaper-0.3.0.tar.gz) = 
> DdInuQftzZjwlY6MdDo0L8PYWExaMO+M+Yc59O0oRgA=

For these, please see my mail about distfiles changing under the same name.



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Rafael Sadowski
CVSROOT:/cvs
Module name:ports
Changes by: rsadow...@cvs.openbsd.org   2018/02/28 05:48:01

Modified files:
x11/compton: Makefile distinfo 
x11/xdotool: Makefile distinfo 
x11/xwallpaper : Makefile distinfo 

Log message:
Switch from GitHub auto-generated tarballs to MASTER_SITES.

ok landry@



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2018/02/28 05:34:00

Modified files:
graphics/ansilove: Makefile 

Log message:
Switch from GitHub auto-generated tarballs to MASTER_SITES.



Re: [New] pkgconf 1.4.2

2018-02-28 Thread Adam Steen
‐‐‐ Original Message ‐‐‐

On February 23, 2018 12:37 PM, Stuart Henderson  wrote:

> ​​
> 
> On 2018/02/23 06:46, Adam Steen wrote:
> 
> > Thank you that worked perfectly, now for some testing.
> > 
> > Please note
> > 
> > pkg-config -> https://www.freedesktop.org/wiki/Software/pkg-config/
> > 
> > is different from
> > 
> > pkgconf -> https://github.com/pkgconf/pkgconf
> > 
> > Cheers
> > 
> > Adam
> 
> Yes, I realise, but pkgconf just copied pkg.m4 from pkg-config.

Hi Stuart

Thank you, I didn't realise.

Hi Ports

Here is a new port "devel/pkgconf", it is needed are part of my long term
goal to port MirageOS/Solo5 to OpenBSD/vmm.

After using it pgfconf over the weekend on my laptop, it appears to be working
fine.

I hope to get this committed to ports.

Cheers
Adam



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2018/02/28 04:07:16

Modified files:
astro/ansiweather: Makefile 

Log message:
Switch from GitHub auto-generated tarballs to MASTER_SITES.



CVS: cvs.openbsd.org: ports

2018-02-28 Thread Frederic Cambus
CVSROOT:/cvs
Module name:ports
Changes by: fcam...@cvs.openbsd.org 2018/02/28 03:52:43

Modified files:
emulators/mame : Makefile distinfo 
emulators/mame/patches: patch-makefile patch-scripts_genie_lua 

Log message:
Update mame to 0.195.



Re: Porters, please read re GitHub auto-generated tarballs vs releases

2018-02-28 Thread Rafael Sadowski
On Tue Feb 27, 2018 at 12:28:07PM +, Stuart Henderson wrote:
> Many ports are using github's on-the-fly generated source-code tarballs
> via the GH_ variables in Makefiles.
> 
> These are *not* guaranteed to be stable, they can change as github
> update software and caches expire (this has happened at some point over
> the last few months so we have been seeing a number of hash failures
> recently). Due to local caches at the github clusters, these files
> can be different depending on which cluster you're connecting to,
> so if you regenerate distinfo to match the file which you see
> locally, it may cause breakage elsewhere in the world.
> 
> :   "It is not meant to be reliable or a way to distribute software
> :   releases and nothing in the software stack is made to try to
> :   produce consistent archives."
> 
> Sometimes upstream *only* provides these auto generated files, but in
> other cases they use github's releases infrastructure and upload "normal"
> generated distfiles which are not then subject to change.
> 
> To identify this, go to the project's "releases" page.
> Using an example of a port I've just fixed:
> 
> https://github.com/rdoeffinger/iec16022/releases/.
> 
> Under "Assets" on this page, you might see files with a "box" icon
> which are uploads.
> 
> On the iec16022 page I'm using as an example, Assets has these:
> 
> iec16022-0.3.0.exe<- uploaded windows binary
> iec16022-0.3.0.tar.xz <- uploaded source tarball
> iec16022-0.3.0.tar.xz.asc <- uploaded gpg sig
> Source code (zip) <- auto generated
> Source code (tar.gz)  <- auto generated
> 
> If there are only entries for "Source code (zip)" and "Source code
> (tar.gz)" the only options are to use GH_TAGNAME or ask upstream to
> upload a file.
> 
> But in the case above, a proper distfile is available, so I've
> switched the graphics/iec16022 port across to use it.
> 
> This is done by avoiding the GH_* variables and reducing the amount
> of magic in the ports Makefile: just use DISTNAME and MASTER_SITES
> as standard, and set HOMEPAGE if needed (it's provided automatically
> when GH_* are set).
> 
> You will also often find that these uploaded tarballs have autoconf
> scripts etc. generated, whereas they aren't present in the auto-
> generated tarballs, so you may be able to remove make targets and
> dependencies needed to generate these.
> 
> If you are publishing your own software to github, please do use
> the releases infrastructure and upload distfiles that you have
> generated yourself!
> 
> I've done a query of the github releases API for all ports that are
> currently using GH_TAGNAME and looked at assets for these. I have skipped
> the ones where the assets are clearly only for distributing binaries and
> listed the others: it is quite likely that the following ports do have
> source tarballs available which can be used instead of the auto-generated
> ones.
> 
> x11/compton
> x11/xdotool
> x11/xwallpaper
> 

ok for x11?

Index: compton/Makefile
===
RCS file: /cvs/ports/x11/compton/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- compton/Makefile23 May 2015 16:34:40 -  1.3
+++ compton/Makefile28 Feb 2018 10:47:39 -
@@ -2,13 +2,14 @@
 
 COMMENT =  lightweight compositor for X, forked from xcompmgr-dana
 
-VERSION =  0.1_beta2
-GH_ACCOUNT =   chjj
-GH_PROJECT =   compton
-GH_TAGNAME =   v${VERSION}
-DISTNAME = compton-${VERSION:S/_//}
+V =0.1_beta2
+PKGNAME =  compton-${V}
+DISTNAME = compton-git-v0.1_beta2-2013-10-21
+REVISION = 1
+
 CATEGORIES =   x11
-REVISION = 0
+
+HOMEPAGE = https://github.com/chjj/compton
 
 MAINTAINER =   Sunil Nimmagadda 
 
@@ -18,6 +19,9 @@ PERMIT_PACKAGE_CDROM =Yes
 WANTLIB += GL X11 Xcomposite Xdamage Xext Xfixes Xinerama Xrandr
 WANTLIB += Xrender c config dbus-1 m pcre pthread
 
+MASTER_SITES = https://github.com/chjj/compton/releases/download/v${V}/
+EXTRACT_SUFX = .tar.xz
+
 BUILD_DEPENDS =textproc/asciidoc
 RUN_DEPENDS =  devel/desktop-file-utils
 LIB_DEPENDS =  devel/libconfig \
@@ -26,7 +30,7 @@ LIB_DEPENDS = devel/libconfig \
 
 USE_GMAKE =Yes
 MAKE_FLAGS =   CC="${CC}" \
-   COMPTON_VERSION="${VERSION}" \
+   COMPTON_VERSION="${V}" \
APPDIR="${PREFIX}/share/applications" \
BINDIR="${PREFIX}/bin" \
MANDIR="${PREFIX}/man/man1"
Index: compton/distinfo
===
RCS file: /cvs/ports/x11/compton/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- compton/distinfo27 Oct 2014 11:21:49 -  1.1.1.1
+++ compton/distinfo28 Feb 2018 10:47:39 -
@@ -1,2 +1,2 @@

[UPDATE] databases/p5-DBI

2018-02-28 Thread Solene Rapenne
Update p5-DBI from 1.633 to 1.640, it pass all the tests using make test

Changelog : https://metacpan.org/changes/distribution/DBI

Notable changes : FAQ module removed and Mem module added.

Index: Makefile
===
RCS file: /cvs/ports/databases/p5-DBI/Makefile,v
retrieving revision 1.65
diff -u -p -r1.65 Makefile
--- Makefile25 Nov 2017 13:27:48 -  1.65
+++ Makefile28 Feb 2018 08:35:11 -
@@ -3,7 +3,7 @@
 COMMENT =  unified perl interface for database access

 MODULES =  cpan
-DISTNAME = DBI-1.633
+DISTNAME = DBI-1.640
 FIX_EXTRACT_PERMISSIONS =  Yes
 CATEGORIES =   databases

Index: distinfo
===
RCS file: /cvs/ports/databases/p5-DBI/distinfo,v
retrieving revision 1.27
diff -u -p -r1.27 distinfo
--- distinfo19 Jan 2015 07:14:29 -  1.27
+++ distinfo28 Feb 2018 08:35:11 -
@@ -1,2 +1,2 @@
-SHA256 (DBI-1.633.tar.gz) = 4sG63Mn2cr8xYws27NIw9+sE2/BV5tr37e7Q6evPXuc=
-SIZE (DBI-1.633.tar.gz) = 592307
+SHA256 (DBI-1.640.tar.gz) = Mn4b2SzYyiU5swe22MnZUn5ecH2pm4fVICCEG8BJoUo=
+SIZE (DBI-1.640.tar.gz) = 603787
cvs server: Diffing pkg
Index: pkg/PLIST
===
RCS file: /cvs/ports/databases/p5-DBI/pkg/PLIST,v
retrieving revision 1.34
diff -u -p -r1.34 PLIST
--- pkg/PLIST   19 Jan 2015 07:14:29 -  1.34
+++ pkg/PLIST   28 Feb 2018 08:35:11 -
@@ -25,6 +25,7 @@ ${P5ARCH}/DBD/Gofer/Transport/corostream
 ${P5ARCH}/DBD/Gofer/Transport/null.pm
 ${P5ARCH}/DBD/Gofer/Transport/pipeone.pm
 ${P5ARCH}/DBD/Gofer/Transport/stream.pm
+${P5ARCH}/DBD/Mem.pm
 ${P5ARCH}/DBD/NullP.pm
 ${P5ARCH}/DBD/Proxy.pm
 ${P5ARCH}/DBD/Sponge.pm
@@ -44,7 +45,6 @@ ${P5ARCH}/DBI/DBD/SqlEngine/
 ${P5ARCH}/DBI/DBD/SqlEngine.pm
 ${P5ARCH}/DBI/DBD/SqlEngine/Developers.pod
 ${P5ARCH}/DBI/DBD/SqlEngine/HowTo.pod
-${P5ARCH}/DBI/FAQ.pm
 ${P5ARCH}/DBI/Gofer/
 ${P5ARCH}/DBI/Gofer/Execute.pm
 ${P5ARCH}/DBI/Gofer/Request.pm
@@ -103,6 +103,7 @@ ${P5ARCH}/dbixs_rev.pl
 @man man/man3p/DBD::Gofer::Transport::null.3p
 @man man/man3p/DBD::Gofer::Transport::pipeone.3p
 @man man/man3p/DBD::Gofer::Transport::stream.3p
+@man man/man3p/DBD::Mem.3p
 @man man/man3p/DBD::Proxy.3p
 @man man/man3p/DBD::Sponge.3p
 @man man/man3p/DBI.3p
@@ -115,7 +116,6 @@ ${P5ARCH}/dbixs_rev.pl
 @man man/man3p/DBI::DBD::SqlEngine.3p
 @man man/man3p/DBI::DBD::SqlEngine::Developers.3p
 @man man/man3p/DBI::DBD::SqlEngine::HowTo.3p
-@man man/man3p/DBI::FAQ.3p
 @man man/man3p/DBI::Gofer::Execute.3p
 @man man/man3p/DBI::Gofer::Request.3p
 @man man/man3p/DBI::Gofer::Response.3p



Re: [NEW] math/p5-Math-Int128

2018-02-28 Thread Giovanni Bechis
On 02/25/18 16:12, Frederic Cambus wrote:
> Hi ports@,
> 
> Here is a new port: math/p5-Math-Int128
> 
> This is a dependency for an upcoming port.
> 
> It doesn't build on i386 and the documention hints at a 64-bit architecture
> requirement, so I'm only targetting 64-bit architectures.
> 
> From DESCR:
> 
> This module adds support for 128 bit integers, signed and unsigned, to Perl.
> 
> Comments? OK?
> 
use ONLY_FOR_ARCHS = ${LP64_ARCHS} instead of hardcoding,
then ok giovanni@
 Cheers
  Giovanni



Re: NEW: net/p5-IP-Country-DB_File

2018-02-28 Thread Giovanni Bechis
ping...

On 02/07/18 19:07, Giovanni Bechis wrote:
> pkg/DESCR:
> IP::Country::DB_File is a light-weight module for fast IP address
> to country translation based on DB_File. The country code database
> is stored in a Berkeley DB file. You have to build the database
> using build_ipcc.pl or IP::Country::DB_File::Builder before you can
> lookup country codes.
> 
> This module tries to be API compatible with the other IP::Country
> modules.
> 
> 
> 
> Other than that generating the database does not need 3G ram as with 
> IP::Country::Fast and
> it's in standard Berkeley DB format.
> Comments ? Ok ?
>  Cheers
>   Giovanni
>