Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
F
FreeBSD ports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
FreeBSD
FreeBSD ports
Commits
7f7b6399
Commit
7f7b6399
authored
2 years ago
by
baptiste daroussin
Browse files
Options
Downloads
Patches
Plain Diff
security/cvechecker: use pkg-message to show message on remove
parent
47d42875
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
security/cvechecker/Makefile
+2
-0
2 additions, 0 deletions
security/cvechecker/Makefile
security/cvechecker/files/pkg-message.in
+8
-9
8 additions, 9 deletions
security/cvechecker/files/pkg-message.in
with
10 additions
and
9 deletions
security/cvechecker/Makefile
+
2
−
0
View file @
7f7b6399
...
...
@@ -14,6 +14,8 @@ LIB_DEPENDS= libargp.so:devel/argp-standalone \
RUN_DEPENDS
=
bash:shells/bash
MAKE_ENV
+=
LDADD
=
-largp
SUB_FILES
=
pkg-message
SUB_LIST
=
PORTNAME
=
${
PORTNAME
}
USES
=
autoreconf pkgconfig shebangfix
...
...
This diff is collapsed.
Click to expand it.
security/cvechecker/
pkg-deinstall
→
security/cvechecker/
files/pkg-message.in
+
8
−
9
View file @
7f7b6399
#!/bin/sh
PORTNAME
=
${
1
%-*
}
[
"
$2
"
=
DEINSTALL
]
&&
cat
<<
***
EOM
[
{ type : remove
message: <<EOM
------------------------------------------------------------------------------
If you are no longer using the
$
PORTNAME
port,
then
manually delete
If you are no longer using the
%%
PORTNAME
%%
port, then manually delete
the following directory and all its contents:
/var/db/
$
PORTNAME
/var/db/
%%
PORTNAME
%%
------------------------------------------------------------------------------
***
EOM
exit
0
EOM
}
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment