Bug 260191

Summary: [NEW PORT] databases/php74-sqlsrv Official MS SQL Server PHP Database Driver
Product: Ports & Packages Reporter: amistry
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed Feedback Timeout    
Severity: Affects Only Me CC: bofh, chris
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
New Port shar none

Description amistry 2021-12-03 22:05:42 UTC
Created attachment 229863 [details]
New Port shar
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-16 21:48:22 UTC
*** Bug 260192 has been marked as a duplicate of this bug. ***
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-16 21:55:41 UTC
This is the wrong way of doing this.

You have to use pecl. Look at a port which has pecl extension or that starts with pecl-.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-16 21:56:31 UTC
Also add git diff rather than shar file.
Comment 4 amistry 2022-02-16 21:58:43 UTC
shar is still a valid way to submit according to the docs:
https://docs.freebsd.org/en/books/porters-handbook/quick-porting/#porting-submitting

If that is no longer a valid method it needs to be removed from the documentation.
Comment 5 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-16 22:08:00 UTC
(In reply to amistry from comment #4)
Yes but the preferred method is not that.

Plus while creating a new port it should be added to the <CATEGORY>/Makefile which cannot be done in shar method. So we expect git method; easier to handle.
Comment 6 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-16 22:21:36 UTC
Looks like it's not in pecl. Have a look at one of this ports:

https://www.freshports.org/search.php?stype=name&method=prefix&query=php-&num=10&orderby=category&orderbyupdown=asc&search=Search&format=plaintext&branch=head