audio issues with HP 2000 2d27DX laptop

2020-03-27 Thread Hemno Sapients
I am unable to play videos if audio is present. The media keys work
normally and I can fiddle with audio using mixerctl. Removing mic2 from
inputs.mix_source stops a kind of hissing I hear when the headset is
plugged into the laptop. However, when trying to reproduce videos either
with the browser (firefox-esr) or the media players (mplayer; mpv) I get
stuck in a static frame. I can still reproduce videos if no audio output
is specified (e.g. with mplayer -ao null file/url). Audio-only media
cannot be reproduced at all. Rebooting the system sometimes fixes the
issue, but sparingly so. The last time it worked I had gotten audio to
briefly work but shortly after it looped into a frame and crashed the
video. I am indexing the verbose output of mpv, hoping it
helps somehow
 (+) Video --vid=1 (*) (h264 1280x720 30.000fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
AO: [sndio] 44100Hz stereo 2ch s16
VO: [gpu] 1280x720 yuv420p
[ao/sndio] Audio device returned broken buffer state (sent 18081 samples, got 
11025 samples, 441 period)!
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] Audio device returned broken buffer state (sent 7056 samples, got 0 
samples, 441 period)!
[ao/sndio] Audio output is reporting incorrect buffer status.
[ao/sndio] 

Re: npppd pptp hangs

2020-03-27 Thread Vitaliy Makkoveev



> On 24 Mar 2020, at 12:09, Marko Cupać  wrote:
> 
> On Tue, 24 Mar 2020 09:34:09 +0100
> Marko Cupać  wrote:
> 
>> On Tue, 24 Mar 2020 07:13:27 +1000
>> Stuart Longland  wrote:
>> 
>>> On 23/3/20 10:26 pm, Marko Cupać wrote:
 Anything I can do to avoid future hangs?
> 
> I got another hang, this time killing npppd process crashed complete OS
> (sorry for photo, I don't have serial console set up):
> 
> https://oblak.mimar.rs/index.php/s/Cc9J745jH93RK6j
> 
> At the time when npppd wouldn't accept new connections, and npppctl
> won't return anything, but before the crash, i noticed high CPU usage
> in top:
> 
> 45125 _ppp  640 3128K 6340K onproc/3  -39:05 99.85% npppd
> 
> Pehaps bugs@ would be more appropriate list?
> 
> -- 
> Before enlightenment - chop wood, draw water.
> After  enlightenment - chop wood, draw water.
> 
> Marko Cupać
> https://www.mimar.rs/
> 
Can you try latest snapshot? Can you share your npppd.conf?



Unusual threading behavior on single processes

2020-03-27 Thread Stefmorino
I have question about a performance quirk on OpenBSD, but I'm not really sure
how to address it, or what the root cause even is; that being how multithreaded
applications (libpthread?) behave (notably, games).

I have tested many applications, the behavior is the same in all of them, but
I'll talk about OpenMW (an open-source game engine for morrowind) since I have
the most useful information about how this program is threaded. By default,
OpenMW uses 4 threads (cited here:
https://openmw.readthedocs.io/en/stable/reference/modding/settings/cells.html),
one for main/generic processing, one for graphics, one for audio, and one for
preloading terrain. You can see this if you look at the thread usage under top
while running the game; however, this is exactly where my question comes into
play. Instead of each thread processing the game independently with their own
limits, each thread is "capped" to the total limit of one thread (I.E. instead
of openmw's process using 100% of 4 threads, or 400% cpu in top, instead the
process uses 25% across 4 threads, or 100% cpu in top). I tested this using
GENERIC instead of GENERIC.MP as well, and get identical performance on the one
thread; it's almost like pthreads is acting as a placeholder of sorts and not
actually improving performance where it should.

Is it a lock (spin is at 0)? A placeholder? A limitation of how Ryzen SMP is
implemented?

I'd be happy to do any additional testing, I have a fresh -current source tree
ready

dmesg
OpenBSD 6.6-current (GENERIC.MP) #75: Tue Mar 24 12:56:37 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16603250688 (15834MB)
avail mem = 16087437312 (15342MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.1 @ 0x986ec000 (62 entries)
bios0: vendor LENOVO version "R0UET76W (1.56 )" date 11/05/2019
bios0: LENOVO 20KVCTO1WW
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT SSDT CRAT CDIT UEFI MSDM BATB HPET APIC MCFG SBST 
WSMT IVRS FPDT SSDT SSDT SSDT UEFI SSDT
acpi0: wakeup devices GPP0(S3) GPP1(S3) GPP2(S3) GPP3(S3) GPP4(S3) GPP5(S3) 
GPP6(S3) GP17(S3) XHC0(S3) XHC1(S3) GP18(S3) LID_(S3) SLPB(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.61 MHz, 17-11-00
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 24MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.23 MHz, 17-11-00
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.23 MHz, 17-11-00
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line 
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: DTLB 

Re: pf.conf assistance

2020-03-27 Thread Stuart Henderson
On 2020-03-27, Dirk Coetzee  wrote:
> Hi All,
>
> Without *block return label "block stateless traffic"* and *pass # establish 
> keep-state*, my NAT / redirect rules from external into LAN do not work. 
> Neither do rules that permit RDP to Windows Workstations on Tun0 interface. 
> FWIW: Wireguard uses this tun0 interface.

Without a "block" at the top of the ruleset you're likely to have some
traffic passed by the implicit default rule which is equivalent to
"pass flags any no state" which will cause some confusion.

You don't usually need a "pass" rule near the top though. I'd start with
block, then have whatever rules you want.

> TCPDump shows the destination IP sending a RST packet. Although the Internal 
> LAN interface shows no packet passing. That does not quite make sense to me - 
> but that is what happens. 
>
> I have read online and man pages etc, and all say that the "block return" and 
> "pass" rules are not necessary. In fact the example given at 
> https://www.openbsd.org/faq/pf/filter.html does not have these two initial 
> rules. These default rules were carried over from the /etc/example/pf.conf 

The PF faq pages haven't been touched very much in years, across many
major changes to PF. You're better off looking at the pf.conf(5) manual
and testing.




pf.conf assistance

2020-03-27 Thread Dirk Coetzee
Hi All,

Without *block return label "block stateless traffic"* and *pass # establish 
keep-state*, my NAT / redirect rules from external into LAN do not work. 
Neither do rules that permit RDP to Windows Workstations on Tun0 interface. 
FWIW: Wireguard uses this tun0 interface.

TCPDump shows the destination IP sending a RST packet. Although the Internal 
LAN interface shows no packet passing. That does not quite make sense to me - 
but that is what happens. 

I have read online and man pages etc, and all say that the "block return" and 
"pass" rules are not necessary. In fact the example given at 
https://www.openbsd.org/faq/pf/filter.html does not have these two initial 
rules. These default rules were carried over from the /etc/example/pf.conf 

Event moving the *block return* default rule to lower in the rulebase - results 
in the same symptoms. Syn packets pass out of Tun0 but Rst sent back almost 
immediately. 

Any assistance greatly appreciated. (Public IP addresses mangled. Only retained 
for readability)

Regards
dirk

___

mrac-prx01# cat /etc/pf.conf
#   $OpenBSD: pf.conf,v 1.55 2017/12/03 20:40:04 sthen Exp $
#
# See pf.conf(5) and /etc/examples/pf.conf

# ---== Skip firewalling on these interfaces ===---
set skip on { lo lo0 }

# ---=== Default Policy ===---
block return  label "block stateless traffic"
block in quick log from urpf-failed # block reverse patch verify failures
block in quick log from no-route to any # block non routable traffic
block in log (all, to pflog0)   # block traffic not matched explicitly 
below
pass# establish keep-state

# ---=== Global Options ===---
match in  all scrub (reassemble tcp no-df max-mss 1450)
match out all scrub (random-id)
set reassemble yes
set limit { tables 1 table-entries 100 states 40 frags 10 
src-nodes 1 }
set block-policy drop
set loginterface pflog0
set optimization high-latency
set state-policy if-bound
set syncookies adaptive (start 25%, end 12%)
set timeout { adaptive.start 6000, adaptive.end 12000 }
set ruleset-optimization basic
set fingerprints "/etc/pf.os"
antispoof log quick for { lo0 re0 vl60 vl61 tun0 }
#antispoof log quick for em0

# ---=== Macros ===---
ext_if   = "{ re0 }"
ext_ip   = "{ re0:0 }"
int_if   = "{ em0 }"
int_ip   = "{ 192.168.50.1 192.168.50.24 }"
int_net  = em0:network
tun0_if  = "{ tun0 }"
tun0_ip  = "{ tun0:0 }"
tun0_net = tun0:network
vl60_if  = "{ vlan60 }"
vl60_ip  = "{ vlan60:0 }"
vl60_net = "{ vlan60 }"
vl61_if  = "{ vlan61 }"
vl61_ip  = "{ vlan61:0 }"
vl61_net = "{ vlan61 }"

# ---=== Alias IP ===---
best_bme  = "{ 222.172.111.114, 115.170.122.119 }"
best_knx  = "{ 211.118.196.174 }"
monitoring= "{ 135.201.115.116 }"
bcastnet  = "{ 192.168.50.255, 255.255.255.255, 224.0.0.0/24, 
239.255.255.250, 239.255.255.253 }"
mrac_dc   = "{ 192.168.50.21 }"

# ---=== Alias Protocols ===---
bcastprt  = "{ 287, 68:69,137:139, 168, 546:547, 1900, 1947, 3702, 5353, 
5355, 5678, 7680, 10001 }"
icmp_required = "{ echoreq, timex, paramprob, unreach code needfrag }"

# ---=== Tables ===---
table  persist
table  { kaspersky-labs.com }
table  { wanada.epiccloud.com.au }
table  persist file "/etc/pf.files/bruteforcers.txt"
table  persist file "/etc/pf.files/blockedcountries.txt"
table  persist file "/etc/pf.files/blockedbadhosts.txt"
# table  const { 0.0.0.0/8 10.0.0.0/8 127.0.0.0/8 169.254.0.0/16 
172.16.0.0/12 192.0.0.0/24 192.0.2.0/24 192.168.0.0/16 198.18.0.0/15 
198.51.100.0/24 203.0.113.0/24 224.0.0.0/3 }

# ---=== Block SSH Access from Abusers ===---
block quick log on any proto { tcp udp icmp } from  label 
"BlockSshAbusers"

# ---=== Blocked Countries and malicious hosts ===---
block quick log from  label "From Blocked_Countries"
block quick log tolabel "To Blocked_Countries"
block quick log from   label "From Blocked_Badhosts"
block quick log to label "To Blocked_Badhosts"

# ---=== Outbound from Firewall to anywhere on any interface ===---
block return in on ! lo0 proto tcp   to port 6000:6010  # By default, do not 
permit remote connections to X11
block return out log proto {tcp udp} user _pbuild   # Port build user does 
not need network
pass out quick on any from self to any modulate state

# ---=== Outbound Port-NAT Rules ===---
match out on $ext_if  from $int_net  nat-to $ext_ip source-hash
match out on $vl60_if from $int_net  nat-to $ext_ip source-hash
match out on $vl61_if from $int_net  nat-to $ext_ip source-hash

# ---=== Inbound from External Interface Port Redirect through Firewall ===---
# block in  quick log on $ext_if inet  proto tcp from any   
  os "NMAP" label "NMAPScanHost"
# block in  quick log on $ext_if inet6 proto tcp from any   
  os "NMAP" label "NMAPScanHost"
pass  in  quick log on $ext_if 

Re: update a port

2020-03-27 Thread Alex Naumov
On Fri, Mar 27, 2020 at 9:09 AM  wrote:

> I just mailed a update diff for a package,
> now how does the diff get accepted, does
> the project maintainer look into it?
>

If port has an maintainer, diff should be sent to maintainer, not to the
mailing list.


> Is there a maintainer for all packages?
>
No.
$ make show=MAINTAINER


>
> 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.
>

https://www.openbsd.org/faq/ports/index.html


Re: IPv6 Neighbor Discovery Issue

2020-03-27 Thread Fernando Gont

Alexander,

It would be easier for us if you could provide a network diagram with 
more syntetic information and/or the corresponding ifconfig -a and route 
show.


That said, you configuration is clearly incorrect. From starters, your 
em1 interface configuration covers the same prefix that you've assigned 
to em0.


Normally, you configure /64s on IPv6 interfaces -- not /56s.

So you'd configure, say, 2a02:::cc00::2/64 on em1, and any 
subnet *other than 2a02:::cc00::/64* on em0 et al.


From the pov of your provider, its expected to assume that 
2a02:::cc00::/64 is employed to connect to you, and then have 
another 2a02:::cc00::/56 route directed to you (so that your 
system can route subnets other than 2a02:::cc00::/64).


Please let me know if the above solves your problem. If not, please send 
more specific information, as suggested above.


Thanks,
Fernando




On 26/3/20 15:44, Alexander Mischke wrote:

Hello,


I am currently facing the following problem:

I have a server with two interfaces:

- em1 (Outbound / facing the Internet)
- em0 (Internal use / LAN)
   (additionally: vlan1000 - parentdev is em0)

The server runs OpenBSD 6.6-stable with the latest
syspatches installed and rebooted to the patched kernel.


I assigned one address of the /56 my provider gave me
to em1. Let's say it looks like this (obfuscated):


Prefix = 2a02:::cc00::/56
Gateway (provider) = 2a02:::cc00::1


I assigned to em1:

2a02:::cc00::2/56


### /etc/hostname.em1 ###

inet6 2a02:::cc00::2 56
!route add -inet6 default 2a02:::cc00::1
-soii

---


This far, everything works (inbound and outbound IPv6 connectivity).



In the next step I took a /64 from that range and assigned an address to
the vlan1000 interface:


2a02:::ccff:dead::1


### /etc/hostname.em0 ###

up

---

### /etc/hostname.vlan1000 ###

inet 10.20.30.40 255.255.255.0 vnetid 1000 parent em0
inet6 2a02:::ccff:dead::1 64

---


This worked "somehow" (e.g. for a short period of time)
"Worked" means: This address was reachable from the outside world
and vice versa.

After it stopped working I did a reboot and then it worked again
(for a limited amount of time)


All i can see (from tcpdump) is that the provider gateway sends NDP
solicitations, asking for 2a02:::ccff:dead::1
But no replies are appearing.

The same behaviour occurs independently from either

- pf disabled
or
- allowing anything IPv6 related (icmp-v6 etc.)


I already enabled net.inet6.icmp6.nd6_debug but nothing shows up in
dmesg.



Has anyone encountered this as well and/or has hints on
how to solve this?


Thank you very much for your time.


Best regards,

Alex





--
Fernando Gont
e-mail: ferna...@gont.com.ar || fg...@si6networks.com
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1





Re: List of binary packages which needs update.

2020-03-27 Thread Ján Rusnák

Dňa 27. 3. 2020 o 9:52 Peter N. M. Hansteen napísal(a):

Is there a simple command to list update canditates of binary packages for

latest release? (For cron script). Something similar to 'syspatch -c' for
base system or m:tier 'openup -c'. 'pkg_add -us' is simulation of upgrade.
pkg_info may be suitable command for such feature.


would 'pkg_add -un' be suitable?I think not, tool should be simple comparator of local installed and 

repository version of packages, not 'reporting the steps'.
-n  Don't actually install a package, just !report the steps! that
would be taken if it was.

To this time I alway use 'openup -c' from cron, but now openup is not 
for actual version of system.


--
JR
+421 903 550345



Re: List of binary packages which needs update.

2020-03-27 Thread Marcus MERIGHI
pe...@bsdly.net (Peter N. M. Hansteen), 2020.03.27 (Fri) 09:52 (CET):
> On Fri, Mar 27, 2020 at 08:07:03AM +0100, Ján Rusnák wrote:
>  
> > Is there a simple command to list update canditates of binary packages for
> > latest release? (For cron script). Something similar to 'syspatch -c' for
> > base system or m:tier 'openup -c'. 'pkg_add -us' is simulation of upgrade.
> > pkg_info may be suitable command for such feature.
> 
> would 'pkg_add -un' be suitable?

I use "pkg_add -us | grep -v 'quirks-.* signed on '", because 
"pkg_add -un" behaves differently when run from cron(8).

Marcus



Re: List of binary packages which needs update.

2020-03-27 Thread Peter N. M. Hansteen
On Fri, Mar 27, 2020 at 08:07:03AM +0100, Ján Rusnák wrote:
 
> Is there a simple command to list update canditates of binary packages for
> latest release? (For cron script). Something similar to 'syspatch -c' for
> base system or m:tier 'openup -c'. 'pkg_add -us' is simulation of upgrade.
> pkg_info may be suitable command for such feature.

would 'pkg_add -un' be suitable?

- Peter

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



List of binary packages which needs update.

2020-03-27 Thread Ján Rusnák

Hi,

Is there a simple command to list update canditates of binary packages 
for latest release? (For cron script). Something similar to 'syspatch 
-c' for base system or m:tier 'openup -c'. 'pkg_add -us' is simulation 
of upgrade. pkg_info may be suitable command for such feature.


--
JR
+421 903 550345



update a port

2020-03-27 Thread putridsoul66
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.