Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2016 19:04:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211098] mail/postsrsd should not create / install postsrsd.secret for package
Message-ID:  <bug-211098-13-KLfdPM0vlB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211098-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211098-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211098

--- Comment #2 from Miroslav Lachman <000.fbsd@quip.cz> ---
Created attachment 172531
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D172531&action=
=3Dedit
create postsrsd.secrete from rc script

Attached is patch changing rc.d/postsrsd to generate postsrsd.secret on the
first run (if /usr/local/etc/postsrsd.secret doesn't exist)
Removed postsrsd.secret from plist
And removed set(GENERATE_SRS_SECRET "@GENERATE_SRS_SECRET@") from
postinstall.cmake.in

Please test this.

Built fine in my poudrier:

[00:00:19] =3D=3D=3D=3D>> [01][00:00:04] Status for build mail/postsrsd: pa=
ckage
[00:00:19] =3D=3D=3D=3D>> [01][00:00:04] Finished build of mail/postsrsd: S=
uccess
[00:00:19] =3D=3D=3D=3D>> Stopping 1 builders
10_3_amd64-default-global-job-01: removed
10_3_amd64-default-global-job-01-n: removed
[00:00:20] =3D=3D=3D=3D>> Creating pkgng repository
Creating repository in /tmp/packages: 100%
Packing files for repository: 100%
[00:00:22] =3D=3D=3D=3D>> Committing packages to repository
[00:00:22] =3D=3D=3D=3D>> Removing old packages
[00:00:22] =3D=3D=3D=3D>> Built ports: mail/postsrsd
[10_3_amd64-default-global] [2016-07-14_21h02m50s] [committing:] Queued: 1=
=20
Built: 1  Failed: 0  Skipped: 0  Ignored: 0  Tobuild: 0   Time: 00:00:21

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211098-13-KLfdPM0vlB>